Commit Graph

84 Commits

Author SHA1 Message Date
Bowen Tan
fd60c796db chore(*): publish
- @sunmao-ui/arco-lib@0.3.0
 - @sunmao-ui/chakra-ui-lib@0.5.0
 - @sunmao-ui/core@0.7.0
 - @sunmao-ui/editor-sdk@0.3.0
 - @sunmao-ui/editor@0.7.0
 - @sunmao-ui/runtime@0.7.0
 - @sunmao-ui/shared@0.2.0
2022-06-20 10:49:51 +08:00
xzdry
a62283eeec feat(StyleTraitForm): add padding and margin widget 2022-06-17 18:42:30 +08:00
MrWindlike
ec0797bc12 fix: use the isHidden to hide a property instead of shouldRender 2022-06-13 16:33:52 +08:00
tanbowensg
3a3ea8c446
Merge pull request #428 from webzard-io/feat/style-trait-widget
add font style widget
2022-06-13 10:14:12 +08:00
tanbowensg
0f3a4ff4c1
Merge pull request #441 from webzard-io/feat/slot-if-condition
feat(editor): add the slot trait form
2022-06-13 10:13:58 +08:00
Bowen Tan
3da918ce7f fix(FontWidget): improve font widget 2022-06-10 14:05:22 +08:00
MrWindlike
3b4c2e038c fix(EventWidget): fix the parameters init problem 2022-06-10 14:02:01 +08:00
MrWindlike
67d4e49f5b feat(editor): add the slot trait form
ISSUES CLOSED: #440
2022-06-10 09:58:35 +08:00
Bowen Tan
07b6375790 build(package.json): remove 'git add' from lint-staged 2022-06-06 15:28:43 +08:00
Bowen Tan
61731f998e Merge branch 'main' into feat/style-trait-widget
* main:
  feat(widget): add the color widget
  fix: fix the type errors
  fix(widget): fix the crash problem when opening the event tab
  refactor(slot): slotSchema -> SlotSpec
  chore(examples): change the util method's examples
  refactor(arco): fix type
  update the collapse component impl
  refine slotElements interface to avoid re-mount
  memomize slotElements to avoid extra re-mount
  adapt new slots spec in editor
  migrate all in-tree components to the new slot spec
  impl #388, support slot props and apply to tabs component

# Conflicts:
#	packages/editor-sdk/src/components/Widgets/StyleWidgets/SizeWidget.tsx
#	packages/editor-sdk/src/components/Widgets/index.ts
#	packages/editor/src/components/ComponentForm/StyleTraitForm/StyleTraitForm.tsx
2022-06-06 10:33:52 +08:00
yz-yu
6e5a1e19cb
Merge pull request #430 from webzard-io/feat/windlike-patch
feat(widget): add the color widget
2022-06-03 22:06:07 +08:00
MrWindlike
d1da6e64fa feat(widget): add the color widget 2022-06-02 13:51:25 +08:00
MrWindlike
98f2a432a2 fix(widget): fix the crash problem when opening the event tab
1. remove circle denpendencies
2. use `parseTypeBox` to generate the params default value
2022-06-01 18:07:57 +08:00
Bowen Tan
efa6773be4 feat(ComponentForm): add text align field 2022-06-01 16:26:54 +08:00
Bowen Tan
db8ec36364 Merge branch 'main' into yz-patch
* main:
  chore(examples): change the util method's examples
  feat(table): support for custom filtering, sorting and paging
  change size widget props type
  improve component form style
  support size widget
  add cssProperties in style trait
  style widget
2022-06-01 16:18:32 +08:00
Bowen Tan
297ad3c0ec feat(ComponentForm): add font widget 2022-06-01 15:08:41 +08:00
yz-yu
6372c81a06
Merge pull request #420 from webzard-io/feat/style-widget
Refactor Component Form
2022-06-01 11:46:31 +08:00
Bowen Tan
744e75cd03 Merge branch 'main' into yz-patch
* main:
  fix(editorMask): mask does'nt work because onHTMLElementsUpdated  doesn't run in init
  feat(PreviewModal): fix the length of the component in the PreviewModal exceeds the modal
  fix(ArrayTable): fix the problem of length exceeding the table
  feat(Select): add filter by text
  chore: fix typo
  feat(utilMethod): add spec to utilMethod

# Conflicts:
#	packages/core/src/index.ts
#	packages/editor-sdk/src/components/Widgets/EventWidget.tsx
2022-05-31 17:05:58 +08:00
tanbowensg
6bf70f85ea
Merge pull request #424 from webzard-io/improve/xzdry
Fix some style problems
2022-05-31 13:45:13 +08:00
xzdry
f7edb19709 fix(ArrayTable): fix the problem of length exceeding the table 2022-05-31 11:40:40 +08:00
Bowen Tan
a092fceda4 Merge branch 'yz-patch'
* yz-patch:
  update the collapse component impl
  refine slotElements interface to avoid re-mount
  memomize slotElements to avoid extra re-mount
  adapt new slots spec in editor
  migrate all in-tree components to the new slot spec
  impl #388, support slot props and apply to tabs component

# Conflicts:
#	packages/arco-lib/src/components/Descriptions.tsx
#	packages/arco-lib/src/components/Progress.tsx
#	packages/arco-lib/src/components/Tabs.tsx
#	packages/runtime/src/components/_internal/ImplWrapper/ImplWrapperMain.tsx
#	packages/runtime/src/services/StateManager.ts
2022-05-30 18:59:00 +08:00
MrWindlike
cc919a94a0 feat(utilMethod): add spec to utilMethod
ISSUES CLOSED: #354

BREAKING CHANGE:
use `type` to replace `name` when calling the method

ISSUES CLOSED: #248
2022-05-30 13:01:50 +08:00
Bowen Tan
beb035431e change size widget props type 2022-05-27 16:38:09 +08:00
Bowen Tan
23be46b9f3 improve component form style 2022-05-27 10:46:26 +08:00
Bowen Tan
c4490d789c support size widget 2022-05-26 15:12:22 +08:00
Bowen Tan
2c913a1d61 style widget 2022-05-26 14:57:03 +08:00
MrWindlike
8e455ce184 feat: add the module mock properties 2022-05-23 21:32:02 +08:00
Bowen Tan
4761ee242e Publish
- @sunmao-ui/arco-lib@0.2.0
 - @sunmao-ui/chakra-ui-lib@0.4.0
 - @sunmao-ui/core@0.6.0
 - @sunmao-ui/editor-sdk@0.2.0
 - @sunmao-ui/editor@0.6.0
 - @sunmao-ui/runtime@0.6.0
 - @sunmao-ui/shared@0.1.0
2022-05-23 10:11:58 +08:00
yz-yu
e52b6648e9
Merge pull request #409 from webzard-io/publish
Publish
2022-05-19 10:16:41 +08:00
tanbowensg
7fe0cb8343
Merge pull request #401 from webzard-io/feat/windlike-patch
feat: improve the editor performance
2022-05-18 16:45:00 +08:00
Bowen Tan
c63a94509a Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.3
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.3
 - @sunmao-ui/core@0.6.0-alpha.3
 - @sunmao-ui/editor-sdk@0.2.0-alpha.3
 - @sunmao-ui/editor@0.6.0-alpha.3
 - @sunmao-ui/runtime@0.6.0-alpha.3
 - @sunmao-ui/shared@0.1.0-alpha.3
2022-05-18 16:11:17 +08:00
Bowen Tan
a6851b804d Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.2
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.2
 - @sunmao-ui/core@0.6.0-alpha.2
 - @sunmao-ui/editor-sdk@0.2.0-alpha.2
 - @sunmao-ui/editor@0.6.0-alpha.2
 - @sunmao-ui/runtime@0.6.0-alpha.2
 - @sunmao-ui/shared@0.1.0-alpha.2
2022-05-17 13:48:33 +08:00
MrWindlike
67fb8a0065 feat: improve the editor's performance
avoid the unnecessary render and add the lazy load to some widgets
2022-05-13 17:02:50 +08:00
Bowen Tan
d251c480c8 Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.1
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.1
 - @sunmao-ui/core@0.6.0-alpha.1
 - @sunmao-ui/editor-sdk@0.2.0-alpha.1
 - @sunmao-ui/editor@0.6.0-alpha.1
 - @sunmao-ui/runtime@0.6.0-alpha.1
 - @sunmao-ui/shared@0.1.0-alpha.1
2022-05-12 12:23:10 +08:00
Bowen Tan
56712f18ad Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.0
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.0
 - @sunmao-ui/core@0.6.0-alpha.0
 - @sunmao-ui/editor-sdk@0.2.0-alpha.0
 - @sunmao-ui/editor@0.6.0-alpha.0
 - @sunmao-ui/runtime@0.6.0-alpha.0
 - @sunmao-ui/shared@0.1.0-alpha.0
2022-05-10 17:50:20 +08:00
Bowen Tan
67f7f683c6 Merge branch 'main' into publish
* main: (24 commits)
  set the default value of debugStore and debugEvent to be false
  fix test
  feat: scroll the tree item into view when select the component
  fix: switch the scale buttons
  fix: improve the expression result display
  refactor init functions parameters
  feat: add the `clear` method to the fetch trait
  feat(tree): add onSelect events
  fix: correct splicing url
  fix(module): change the widget of property to display correct
  fix: select component to add non-empty judgement
  fix: change the import path
  fix: fix the changing api form's tab problem
  fix: fix the datasource update problems
  chore: make the data type datasource informations as constants
  chore: use the enum to replace the constants
  chore: change `GLOBAL_UTILS_ID` to `GLOBAL_UTIL_METHOD_ID`
  feat: add transformer trait
  chore: use the constant as the widget name
  chore: export `RegistryInterface` instead of `Registry`
  ...

# Conflicts:
#	packages/arco-lib/package.json
#	packages/editor-sdk/package.json
#	packages/editor/package.json
#	packages/runtime/package.json
2022-05-10 17:33:42 +08:00
MrWindlike
357b233897 fix: improve the expression result display 2022-05-10 10:19:15 +08:00
MrWindlike
302ab28abc Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/transformer 2022-05-09 10:30:25 +08:00
MrWindlike
47d8d11901 chore: use the enum to replace the constants 2022-05-05 22:44:56 +08:00
MrWindlike
71d9c81cb3 chore: change GLOBAL_UTILS_ID to GLOBAL_UTIL_METHOD_ID 2022-05-05 17:35:10 +08:00
MrWindlike
ff056772dd feat: add transformer trait 2022-05-05 17:15:35 +08:00
Bowen Tan
3b14a36148 Publish
- @sunmao-ui/arco-lib@0.1.9
 - @sunmao-ui/chakra-ui-lib@0.3.9
 - @sunmao-ui/core@0.5.6
 - @sunmao-ui/editor-sdk@0.1.10
 - @sunmao-ui/editor@0.5.10
 - @sunmao-ui/runtime@0.5.8
2022-04-29 17:16:17 +08:00
MrWindlike
d0da83c546 chore: export RegistryInterface instead of Registry 2022-04-25 17:18:42 +08:00
MrWindlike
bc2b9ae154 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-25 16:36:08 +08:00
MrWindlike
3903fdc6f7 feat: add @sunmao-ui/shared 2022-04-25 16:15:46 +08:00
Bowen Tan
2a9fc72c59 Publish
- @sunmao-ui/arco-lib@0.1.8
 - @sunmao-ui/chakra-ui-lib@0.3.8
 - @sunmao-ui/core@0.5.5
 - @sunmao-ui/editor-sdk@0.1.9
 - @sunmao-ui/editor@0.5.9
 - @sunmao-ui/runtime@0.5.7
2022-04-21 17:53:12 +08:00
MrWindlike
62a7932a37 Merge branch 'fix/windlike-patch' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-04-11 10:26:04 +08:00
MrWindlike
b9da57c8ad fix: Not evaled when it isn't an expression 2022-04-08 11:09:03 +08:00
MrWindlike
1850625d98 fix: fix the CategoryWidget errors 2022-04-08 10:57:18 +08:00
MrWindlike
141f3b1b54 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-07 18:01:01 +08:00