Commit Graph

167 Commits

Author SHA1 Message Date
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
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
Bowen Tan
6a67a3a787 add keyboard event 2021-10-14 10:01:36 +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
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
Bowen Tan
634e1f063a support choose component in view 2021-10-11 15:49:38 +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
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
Bowen Tan
0546d60a2f init editor project 2021-09-24 10:06:07 +08:00
Bowen Tan
c3429e19bb editor init 2021-09-24 10:05:45 +08:00
Bowen Tan
35f33e0073 cancel trait side effect 2021-09-24 10:04:43 +08:00
ShenWen Yin
06d8f66f7e update ci test configuration 2021-09-23 09:38:28 +08:00
Yanzhen Yu
102853a777 hotfix: revert the change to value initialization 2021-09-20 17:09:13 +08:00
Yanzhen Yu
6d8f7d5fc1 migrate all the code to new props type
related to #54
2021-09-20 17:00:54 +08:00
Yanzhen Yu
2bcb02491b update component and trait props type to JSONSchemaObject
related to #54
2021-09-20 16:02:17 +08:00
Yanzhen Yu
084eb33a76 fix component props eval: deep eval only once 2021-09-20 15:55:58 +08:00
yz-yu
3c8b6db9b2
Merge pull request #73 from webzard-io/feat/form
Complete Form Component
2021-09-20 15:54:04 +08:00
Bowen Tan
ae981541bd change form control to horizontal 2021-09-18 18:06:31 +08:00
Bowen Tan
8eaec48b97 add dialog form 2021-09-18 14:38:04 +08:00
Bowen Tan
288a432923 integrate form, table and api 2021-09-18 10:32:53 +08:00