Commit Graph

503 Commits

Author SHA1 Message Date
Bowen Tan
9ae0623a7a change style trait params to array 2021-12-20 11:36:33 +08:00
yz-yu
736ef98bd0
Merge pull request #165 from webzard-io/feat/drag-to-reorder
drag component into view & move components across level
2021-12-20 11:31:05 +08:00
Bowen Tan
7f9e2d0e7c Merge branch 'main' into feat/drag-to-reorder
* main:
  update module examples
  rename module components -> impl

# Conflicts:
#	packages/editor/src/AppStorage.ts
2021-12-20 10:05:07 +08:00
yz-yu
1d0dd1a145
Merge pull request #169 from webzard-io/refactor/module-impl
rename module components -> impl
2021-12-19 22:46:30 +08:00
Bowen Tan
b6ee7b4d6e update module examples 2021-12-17 10:18:14 +08:00
Bowen Tan
1343a8d246 Merge branch 'main' into feat/drag-to-reorder
* main:
  improve the Slot component 1. bypass props to children 2. render null when slot not set

# Conflicts:
#	packages/runtime/src/components/_internal/Slot.tsx
#	packages/runtime/src/components/chakra-ui/Tabs.tsx
2021-12-16 16:21:33 +08:00
Bowen Tan
99e80768a6 rename module components -> impl 2021-12-16 15:57:43 +08:00
tanbowensg
4c3d75daa3
Merge pull request #168 from webzard-io/editor-ex
improve the Slot component
2021-12-16 15:01:48 +08:00
Bowen Tan
15d48fd8c8 remove console 2021-12-16 11:25:56 +08:00
Yanzhen Yu
9c5bc4a0ac improve the Slot component
1. bypass props to children
2. render null when slot not set
2021-12-15 16:51:28 +08:00
Bowen Tan
a87f746c24 Merge branch 'main' into feat/drag-to-reorder
* main:
  introduce widgets and impl module widget

# Conflicts:
#	packages/editor/src/components/ComponentForm/ComponentForm.tsx
2021-12-15 16:25:44 +08:00
tanbowensg
5b7b21655b
Merge pull request #167 from webzard-io/editor-ex
introduce widgets and impl module widget
2021-12-15 16:20:17 +08:00
Yanzhen Yu
abbddda5e4 introduce widgets and impl module widget 2021-12-14 15:54:00 +08:00
Bowen Tan
dae1197ce2 Merge branch 'main' into feat/drag-to-reorder
* main:
  improve json schema fields UX
  impl style trait form

# Conflicts:
#	packages/editor/src/components/ComponentForm/ComponentForm.tsx
2021-12-14 10:49:42 +08:00
tanbowensg
d6360422fc
Merge pull request #164 from webzard-io/editor-ex
improve component form
2021-12-14 10:41:14 +08:00
Bowen Tan
65dec7e5e3 Merge branch 'main' into feat/drag-to-reorder
* main:
  remove CutOperation
  complete copy cut paste
  add cut paste
  can paste
  customize editor theme to a more compact style
  change path to relative
  Revert "add vite-tsconfig-path plugin"
  Revert "replace runtime relative path to absolute"
  Revert "replace editor relative path to absolute"
  improve editor style
  export Editor as component

# Conflicts:
#	packages/editor/src/components/ComponentForm/ComponentForm.tsx
#	packages/editor/src/components/Editor.tsx
#	packages/editor/src/components/KeyboardEventWrapper.tsx
#	packages/editor/src/components/StructureTree/StructureTree.tsx
#	packages/editor/src/operations/index.ts
#	packages/editor/src/operations/leaf/component/pasteComponentLeafOperation.ts
2021-12-14 10:36:36 +08:00
tanbowensg
7d4c238758
Merge pull request #155 from webzard-io/feat/copy
Implement copy, cut and paste
2021-12-13 18:26:38 +08:00
Bowen Tan
d4a348619a remove CutOperation 2021-12-13 18:26:15 +08:00
Bowen Tan
cb5c6173c6 complete copy cut paste 2021-12-13 18:26:14 +08:00
Bowen Tan
e24d97b0aa add cut paste 2021-12-13 18:25:21 +08:00
Bowen Tan
42e955b40d can paste 2021-12-13 18:25:21 +08:00
Yanzhen Yu
e6c8cf1026 improve json schema fields UX 2021-12-12 20:25:48 +08:00
Yanzhen Yu
d508119e7f impl style trait form 2021-12-10 15:55:59 +08:00
tanbowensg
bc90fe70d3
Merge pull request #163 from webzard-io/editor-ex
customize editor theme to a more compact style
2021-12-10 10:07:22 +08:00
Yanzhen Yu
6a63d08753 customize editor theme to a more compact style 2021-12-09 11:02:01 +08:00
yz-yu
d428d3c12d
Merge pull request #162 from webzard-io/revert/ts-path
Revert absolute path change
2021-12-09 10:56:01 +08:00
Bowen Tan
b246663c5d change path to relative 2021-12-09 10:20:50 +08:00
Bowen Tan
7ed3712125 Revert "add vite-tsconfig-path plugin"
This reverts commit 504f8118ea.
2021-12-09 10:10:37 +08:00
Bowen Tan
56db5e7a7a Revert "replace runtime relative path to absolute"
This reverts commit f6144477be.
2021-12-09 10:10:10 +08:00
Bowen Tan
8722f4af54 Revert "replace editor relative path to absolute"
This reverts commit 8aff310bf5.
2021-12-09 10:09:34 +08:00
tanbowensg
c3aba3d2e4
Merge pull request #161 from webzard-io/editor-ex
export Editor component and improve editor style
2021-12-09 09:59:11 +08:00
Yanzhen Yu
4ceb2999af improve editor style 2021-12-08 23:02:36 +08:00
Yanzhen Yu
4724711b7c export Editor as component 2021-12-08 23:02:14 +08:00
Bowen Tan
6a697c0d33 fix keyboard event cannot trigger in tab bug 2021-12-08 09:58:27 +08:00
Bowen Tan
b6ca418880 add componentWrapper id label 2021-12-08 09:58:27 +08:00
Bowen Tan
987b749b97 add empty slot placeholder 2021-12-08 09:58:27 +08:00
Bowen Tan
afd60ffba2 fix move to root bug 2021-12-08 09:58:27 +08:00
Bowen Tan
12a43325fd add error boundary in editor 2021-12-08 09:58:27 +08:00
Bowen Tan
d315927842 divide components and datasources 2021-12-08 09:58:26 +08:00
Bowen Tan
8399579b1d add moveComponent Operation 2021-12-08 09:58:26 +08:00
Bowen Tan
d0df4c9259 add drag componentItem event 2021-12-08 09:58:26 +08:00
Bowen Tan
368a613223 fix mobx 'Dynamic observable objects cannot be frozen' bug 2021-12-08 09:58:26 +08:00
Bowen Tan
cbe43a0bef support creating component by dragging component to canvas 2021-12-08 09:58:26 +08:00
Bowen Tan
db9f77a576 complete copy cut paste 2021-12-08 09:58:13 +08:00
Bowen Tan
5cc864db4d add cut paste 2021-12-08 09:58:12 +08:00
Bowen Tan
bbe97dc486 can paste 2021-12-08 09:58:12 +08:00
yz-yu
ee058a7b0b
Merge pull request #151 from webzard-io/fix/module-bug
fix module bugs
2021-12-07 18:46:28 +08:00
yz-yu
c3b8f67337
Merge pull request #159 from webzard-io/publish
Publish
2021-12-07 18:45:27 +08:00
Bowen Tan
f725f61dfe Publish
- @sunmao-ui/editor@0.3.5
 - @sunmao-ui/runtime@0.3.5
2021-12-07 18:07:50 +08:00
Bowen Tan
02c255e492 fix registry path bug 2021-12-07 18:07:14 +08:00