Commit Graph

261 Commits

Author SHA1 Message Date
Bowen Tan
a259fbd729 add remove event trait 2021-10-20 16:14:24 +08:00
Bowen Tan
8a5a57d335 improve component form style 2021-10-20 15:32:44 +08:00
Bowen Tan
bba8919c6b use formik implement event form 2021-10-20 14:46:24 +08:00
Bowen Tan
3763fbe46e fix style bug 2021-10-20 10:43:34 +08:00
Bowen Tan
abb0a9d175 can add event trait 2021-10-20 10:28:48 +08:00
tanbowensg
785b0ad38a
Merge pull request #93 from webzard-io/cb/editor-form
feat: component form modify  nested properties & traits
2021-10-20 09:48:11 +08:00
Chu Bin
a99262d1ea fix: replace initProps to render field 2021-10-19 18:33:40 +08:00
Chu Bin
0b66372bec feat: modify nested properties & traits 2021-10-19 15:50:36 +08:00
tanbowensg
61d86f6cc8
Merge pull request #92 from Yuyz0112/main
introduce CodeMirror to implement code editors
2021-10-19 10:21:41 +08:00
yz-yu
6d633e6f2c
Merge pull request #91 from webzard-io/feat/drag-grid-placeholder
show placeholder of exampleSize when drag component to grid
2021-10-19 10:17:37 +08:00
Bowen Tan
454e8b8c43 add placeholder when drag component to grid 2021-10-19 10:15:24 +08:00
Yanzhen Yu
52359f7d29 make state editor read only 2021-10-19 00:20:05 +08:00
Yanzhen Yu
3be10c22a7 introduce CodeMirror to implement code editors 2021-10-19 00:14:44 +08:00
yz-yu
54fbe286ed
Merge pull request #90 from webzard-io/feat/dialog
render modal in editor view instead of full screen
2021-10-18 18:40:12 +08:00
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