Commit Graph

233 Commits

Author SHA1 Message Date
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
yz-yu
4e9e565bd7
Merge pull request #80 from webzard-io/feat/editor-init
init editor
2021-09-30 12:48:48 +08:00
Bowen Tan
1bcf089af3 fix test ci 2021-09-28 15:37:49 +08:00
Bowen Tan
688065cb95 add component Form 2021-09-28 14:23:52 +08:00
Bowen Tan
69955e6f62 add editor eventBus 2021-09-28 10:28:34 +08:00
Bowen Tan
f0052aab11 impletement create and undo 2021-09-27 18:00:34 +08:00
Bowen Tan
584d7b1798 split App.tsx & combine ImplWrapper props 2021-09-27 15:03:53 +08:00
Bowen Tan
6d1712de67 add selected component wrapper 2021-09-27 13:43:55 +08:00
Bowen Tan
6c7ad81e03 decouple apiService 2021-09-27 10:14:28 +08:00
Bowen Tan
1cbc257e75 decouple globalHandlerMap 2021-09-26 15:25:13 +08:00
Bowen Tan
85134a4c73 decouple stateStore 2021-09-26 15:17:16 +08:00
Bowen Tan
0c8c97ef91 decouple registry 2021-09-26 12:02:22 +08:00
Bowen Tan
41ec9c1910 add componentList & structureTree 2021-09-26 10:45:58 +08:00
Bowen Tan
21471d0abf use jsxImportSource in tsconfig 2021-09-24 10:11:11 +08:00
Bowen Tan
92a11a1458 support cross package import @mata-io/runtime 2021-09-24 10:06:09 +08:00