Commit Graph

1547 Commits

Author SHA1 Message Date
Bowen Tan
81f2239076 render modal in custom container in editor 2021-10-18 18:06:41 +08:00
yz-yu
e3f1bc1412
Merge pull request #89 from webzard-io/feat/structure-tree
Improve Structure Tree
2021-10-18 16:21:04 +08:00
Bowen Tan
be279c0079 can drop component on root 2021-10-18 15:46:48 +08:00
Bowen Tan
e7e479f32d change default slot name to 'content' 2021-10-18 13:58:40 +08:00
Bowen Tan
7198022b1e add drop style 2021-10-18 13:40:44 +08:00
yz-yu
4314b4fa5b
Merge pull request #88 from webzard-io/feat/style
fixed a lot of style bugs of components
2021-10-18 11:27:47 +08:00
Bowen Tan
7ab90ca6ec structure tree can toggle show children & hide slotName 2021-10-18 11:22:58 +08:00
Bowen Tan
259db6be0f can add component to root 2021-10-18 11:22:57 +08:00
Bowen Tan
45753ee0af refactor structureTree 2021-10-18 11:22:13 +08:00
Bowen Tan
ef869d5ad6 Merge branch 'main' into feat/style
# Conflicts:
#	packages/editor/src/components/ComponentForm/ComponentForm.tsx
#	packages/editor/src/components/Editor.tsx
#	packages/editor/src/operations/AppModelManager.ts
2021-10-18 11:06:09 +08:00
tanbowensg
c2fe8d7231
Merge pull request #87 from Yuyz0112/main
Improve Editor UX
2021-10-18 10:32:11 +08:00
Yanzhen Yu
688b23b058 improve Editor UI and add Editor headaer 2021-10-17 17:28:49 +08:00
Yanzhen Yu
d210160c21 improve component list UI 2021-10-17 16:04:38 +08:00
Yanzhen Yu
9f6724ff91 fix property generation and improve default id format 2021-10-16 20:45:24 +08:00
Bowen Tan
73ecc54b31 hover and select component will not cause app rerender 2021-10-15 18:08:31 +08:00
Bowen Tan
8244bb122f fix form checkboxGroup and radioGroup bug 2021-10-15 18:00:43 +08:00
Bowen Tan
7489707c08 improve form style 2021-10-15 18:00:43 +08:00
Bowen Tan
3d15554f74 improve table style 2021-10-15 18:00:43 +08:00
Bowen Tan
09129a2ab0 add datasource and support edit trait properties 2021-10-15 18:00:42 +08:00
Bowen Tan
040b778229 fix some components style 2021-10-15 18:00:42 +08:00
Bowen Tan
d73f46269f fix text bug 2021-10-15 18:00:42 +08:00
Bowen Tan
56bed840ae highlight selectedComponent in structure tree 2021-10-15 18:00:42 +08:00
Bowen Tan
288886ce63 improve componentId generate method 2021-10-15 18:00:42 +08:00
Bowen Tan
90d52adb71 fix image size bug 2021-10-15 18:00:42 +08:00
Bowen Tan
b95b5177bf use pseudo element implement hover border 2021-10-15 18:00:42 +08:00
Bowen Tan
eceec4b4c6 add grid bg and use react-resize-detector 2021-10-15 18:00:42 +08:00
Bowen Tan
522c85bc2a add hover component style 2021-10-15 18:00:42 +08:00
yz-yu
95d2d8550d
Merge pull request #84 from webzard-io/feat/update-spec
Update Component Spec
2021-10-15 16:53:44 +08:00
Bowen Tan
6e394ad3c1 change event trait property 2021-10-15 14:13:38 +08:00
Bowen Tan
f3d6d9b76e add exampleSize metadata 2021-10-15 10:17:57 +08:00
Bowen Tan
09cf22f5c4 change button event 'click' to 'onClick' 2021-10-15 10:17:57 +08:00
Bowen Tan
111ebf79de update spec 2021-10-15 10:17:57 +08:00
yz-yu
52aa74b965
Merge pull request #86 from webzard-io/feat/keyboard
add keyboard event to undo and remove component
2021-10-14 12:18:02 +08:00
Bowen Tan
6a67a3a787 add keyboard event 2021-10-14 10:01:36 +08:00
yz-yu
99234c2cf2
Merge pull request #85 from webzard-io/feat/create-component
support drag component to tree to create
2021-10-14 09:43:49 +08:00
Bowen Tan
6b51cde840 support drag componen to tree to create 2021-10-12 10:57:26 +08:00
Bowen Tan
6da304e286 decouple use appModel 2021-10-12 10:57:26 +08:00
yz-yu
e564525381
Merge pull request #82 from webzard-io/refactor/expand-metadata
Add new component metadata
2021-10-12 10:30:17 +08:00
Bowen Tan
f131a5e3b7 defaultProperties -> exampleProperties 2021-10-11 17:37:14 +08:00
Bowen Tan
141af3ffd6 add defaultProperties for components 2021-10-11 17:07:26 +08:00
Bowen Tan
90f6fc6c2d add metadata 2021-10-11 17:07:26 +08:00
yz-yu
3d504ff014
Merge pull request #83 from webzard-io/feat/choose-component
support choose component in view
2021-10-11 16:36:41 +08:00
Bowen Tan
634e1f063a support choose component in view 2021-10-11 15:49:38 +08:00
yz-yu
cd8df2208a
Merge pull request #81 from webzard-io/feat/grid
implement basic grid drag interaction
2021-09-30 16:36:50 +08:00
Bowen Tan
cb713bd477 rename mModules to services 2021-09-30 15:59:33 +08:00
Bowen Tan
42449ef130 button support grid 2021-09-30 14:45:42 +08:00
Bowen Tan
2d237e5da7 implement create component by drag into grid 2021-09-30 13:42:56 +08:00
Bowen Tan
8f649099d9 add gridCallbacks 2021-09-30 13:42:56 +08:00
Bowen Tan
038ad783af refactor runtime props type 2021-09-30 13:42:56 +08:00
Bowen Tan
c1b1c65029 wip init grid onLayoutChange 2021-09-30 13:42:56 +08:00