Commit Graph

1139 Commits

Author SHA1 Message Date
Bowen Tan
ef5b5873c0 add code mode modal 2022-04-28 17:21:24 +08:00
xzdry
632e20ff97 improve core stack component 2022-04-27 14:00:46 +08:00
xzdry
36ef824714 change some property title 2022-04-27 11:18:57 +08:00
xzdry
1416699bc8 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-27 09:18:49 +08:00
xzdry
67d843e319 feat: add grid components and remove the layout property of formcontrol 2022-04-26 21:07:02 +08:00
xzdry
4eb334a5d1 fix: improve timeline property and make the state of treeSelect correct 2022-04-26 17:04:03 +08:00
xzdry
5be9a68f6d feat(table): add onRowClick event 2022-04-26 16:46:45 +08:00
xzdry
1a4b6ee713 remove form and using conditional rendering improve table property 2022-04-26 16:36:59 +08:00
MrWindlike
4d54d8a4c2 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-26 15:59:18 +08:00
tanbowensg
f70feb15ab
Merge pull request #384 from webzard-io/refactor/localstorage
refactor localstorage trait
2022-04-26 15:40:35 +08:00
MrWindlike
f304529899 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-26 14:09:17 +08:00
xzdry
b3a2d62f8a fix: make the value of mergeState up-to-date & fix ref reference error 2022-04-26 11:36:31 +08:00
Bowen Tan
aad0600d92 fix tests && hasUnmount -> beforeRender 2022-04-26 11:35:53 +08:00
MrWindlike
f000c653fb chore: use the constant as the widget name 2022-04-26 10:44:23 +08:00
xzdry
c6ae78b1e9 refactor localstorage trait 2022-04-26 09:48:55 +08:00
Bowen Tan
56e14a0524 improve code style 2022-04-25 18:08:16 +08:00
Bowen Tan
68fb739ed3 add unmount trait annotation 2022-04-25 17:32:51 +08:00
Bowen Tan
79cab1d333 complete hidden 2022-04-25 17:32:51 +08:00
Bowen Tan
0da51400bc add HiddenImplWrapper 2022-04-25 17:32:51 +08:00
MrWindlike
d0da83c546 chore: export RegistryInterface instead of Registry 2022-04-25 17:18:42 +08:00
MrWindlike
e881722aa7 chore: improve the fetch trait 2022-04-25 17:01:03 +08:00
MrWindlike
ee73f0fe25 fix: change the wrong traits' names 2022-04-25 17:00:35 +08:00
MrWindlike
d8dc5d4a6e chore: use the constants as the component names 2022-04-25 16:38:08 +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
xzdry
093abf0108 refactor: improve select and radio 2022-04-25 14:38:16 +08:00
xzdry
fc15befa56 feat: improve progress and add animation property 2022-04-25 13:20:31 +08:00
xzdry
79168b6eda refactor: improve popover and tooltip 2022-04-25 13:19:36 +08:00
xzdry
d37986a19d feat: optimise modal and pagination 2022-04-25 13:17:55 +08:00
xzdry
a49e7d0d53 feat: add events to mentions & add defaultOpen property to modal 2022-04-24 18:42:08 +08:00
xzdry
b127c703e9 feat: add events to input components 2022-04-24 17:44:38 +08:00
xzdry
a03489e2c8 feat: add image group & optimise dropdown 2022-04-24 16:46:39 +08:00
Bowen Tan
134180ac95 fix: component does not change after its traits being modified in editor 2022-04-24 16:24:05 +08:00
Bowen Tan
05e0ad34aa add clear functions to componentDidUpdate and componentDidMount 2022-04-24 16:04:10 +08:00
xzdry
0efb3824ea Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-24 13:37:20 +08:00
xzdry
c83a1bf4ac feat: add descriptions component & add dropdown demo 2022-04-24 13:17:01 +08:00
Bowen Tan
63af70dccb improve code style 2022-04-22 18:30:00 +08:00
Bowen Tan
f74040cc50 add useUnmount and useUpdate 2022-04-22 18:00:55 +08:00
Bowen Tan
8964ffd45e improve merge trait result method 2022-04-22 17:14:52 +08:00
Bowen Tan
0edbfdb6e7 Merge branch 'main' into feat/new-trait
* main:
  Publish
  fix: fix changing wrong tab when drag the component
  feat: add refresh button

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper.tsx
#	packages/runtime/src/components/core/Dummy.tsx
#	packages/runtime/src/traits/core/State.tsx
#	packages/runtime/src/types/trait.ts
2022-04-22 16:33:36 +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
a66f95cfc1 fix: fix changing wrong tab when drag the component 2022-04-21 10:25:10 +08:00
MrWindlike
b64777f1ca Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-21 10:23:27 +08:00
Bowen Tan
487d810156 refactor ImplWrapper 2022-04-20 18:56:29 +08:00
Bowen Tan
882581a8b6 wip: disable hidden trait wrapper 2022-04-20 16:50:09 +08:00
Bowen Tan
9542720895 move hooks into ImplWrapper 2022-04-20 11:18:51 +08:00
Bowen Tan
89777796c1 add lifecycle hooks 2022-04-18 17:25:29 +08:00
xzdry
1ae52e24ca feat: add divider demo & add new properties to collapse 2022-04-18 10:53:10 +08:00
xzdry
8e8eebb9c7 refactor: make type safe 2022-04-15 17:56:05 +08:00
Bowen Tan
a14b6ed1e3 add HiddenImplWrapper 2022-04-15 17:19:37 +08:00
xzdry
d1312f4d2d refactor(collapse): remove collapseItem component & make type safe 2022-04-15 16:43:21 +08:00
xzdry
9caf29b74a fix(checkbox):fix the bug that events are displayed incorrectly and setCheckedValues does not work 2022-04-15 16:40:20 +08:00
yz-yu
6051753393
Merge pull request #369 from webzard-io/feat/module
Recover explorer and fix module's bugs
2022-04-15 11:57:40 +08:00
tanbowensg
c6975f6a9e
Merge pull request #376 from webzard-io/feat/fetch-trait
Remove hasFetched in fetch trait and add disabled property
2022-04-15 10:28:35 +08:00
tanbowensg
f74b5bfccf
Merge pull request #378 from webzard-io/feat/arco
Feat/arco
2022-04-15 10:28:11 +08:00
xzdry
7267ad4992 add uiProps to initSunmaoEditor 2022-04-14 18:00:16 +08:00
Bowen Tan
f280d54fa8 Merge branch 'main' into feat/module
* main:
  fix: deep make value to be undefined when eval errors
  fix: Not evaled when it isn't an expression
  fix(sdk): display key when property spec has no title

# Conflicts:
#	packages/runtime/src/components/_internal/ModuleRenderer.tsx
#	packages/runtime/src/services/StateManager.ts
2022-04-14 17:34:00 +08:00
Bowen Tan
dfb86b3102 Merge branch 'main' into feat/fetch-trait
* main:
  fix: deep make value to be undefined when eval errors
  fix: Not evaled when it isn't an expression
  fix(sdk): display key when property spec has no title

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper.tsx
2022-04-14 17:06:10 +08:00
xzdry
af04c66ace format 2022-04-14 11:06:01 +08:00
Bowen Tan
13a5894be3 remove hasFetched in fetch trait and add disabled property 2022-04-13 17:58:41 +08:00
Bowen Tan
d4d3309c04 Merge branch 'main' into feat/module
* main:
  let tooltip show on top of modal
  fix schema editor width
  feat(table): add ellipsis and change column width functions
  pref: use re-resizable instead of react-resizable

# Conflicts:
#	packages/editor/src/components/Editor.tsx
2022-04-13 17:44:40 +08:00
Bowen Tan
b36927778c remove move fetch component to the end logic 2022-04-13 17:36:39 +08:00
xzdry
b738f85cc6 feat(badge): use conditional rendering 2022-04-13 17:18:40 +08:00
xzdry
f1ea2edbd2 refactor: refactor the alert component and add events to the alert and avatar components 2022-04-13 16:34:50 +08:00
MrWindlike
99c5c9abcb Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-04-13 16:14:37 +08:00
MrWindlike
6fe611bbaa Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-13 15:48:09 +08:00
MrWindlike
2ffb4cc84b feat: add refresh button 2022-04-13 15:43:50 +08:00
xzdry
dc463c2651 keep mounted of tab panels' content when not active 2022-04-13 13:18:39 +08:00
Bowen Tan
40466ce565 fix can not delete module bug 2022-04-13 11:23:02 +08:00
Yanzhen Yu
d2b6b189a0 let tooltip show on top of modal 2022-04-13 00:59:11 +08:00
Yanzhen Yu
4579029dd6 fix schema editor width 2022-04-13 00:58:57 +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
462db2b8d5 fix: deep make value to be undefined when eval errors 2022-04-11 10:12:57 +08:00
xzdry
178de9c1f3 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-11 09:33:58 +08:00
Bowen Tan
370ca60d52 add ignoreError param to evalExp function 2022-04-08 12:12:45 +08:00
Bowen Tan
dfce6b7594 Merge branch 'main' into feat/module
* main:
  fix: fix the `CategoryWidget` errors
  refactor avatar component
  Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch
  chore: fix the eslint errors
  feat: improve the event form performance
  feat: make event handlers collapsable
  feat: add handlers sort
  chore: rename variable
  chore: change widgets' name
  chore(arco): change var names from `schema` to `spec`
  chore: change some var names from `schema` to `spec`
  feat(expression): improve the codes
  feat: console the expression errors in `deepEval`
  feat: console the expression errors
  fix: remove the stateManager from the schema validator
  feat: improve the form performance
  style: fix the KeyValueWidth style when string too long
  feat: handle the expression errors

# Conflicts:
#	packages/runtime/src/components/_internal/ModuleRenderer.tsx
#	packages/runtime/src/services/StateManager.ts
2022-04-08 11:17:22 +08:00
MrWindlike
b9da57c8ad fix: Not evaled when it isn't an expression 2022-04-08 11:09:03 +08:00
tanbowensg
e3f7c4ea62
Merge pull request #370 from webzard-io/feat/handler-sort
Feat/handler sort
2022-04-08 10:59:21 +08:00
MrWindlike
1850625d98 fix: fix the CategoryWidget errors 2022-04-08 10:57:18 +08:00
tanbowensg
da07bd7c84
Merge pull request #371 from webzard-io/feat/avatar
refactor avatar component
2022-04-08 10:45:01 +08:00
MrWindlike
1bedbfdf02 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/handler-sort 2022-04-08 10:42:25 +08:00
xzdry
f802302f5a Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/avatar 2022-04-08 10:08:58 +08:00
xzdry
49cbe94781 refactor avatar component 2022-04-08 10:02:46 +08:00
MrWindlike
bb93949b8e Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/handler-sort 2022-04-08 09:35:04 +08:00
MrWindlike
203b78d086 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-07 18:06:47 +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
MrWindlike
19c2b89809 chore: fix the eslint errors 2022-04-07 17:44:37 +08:00
MrWindlike
9beae266b6 feat: improve the event form performance 2022-04-07 17:43:29 +08:00
MrWindlike
99388ad587 feat: make event handlers collapsable 2022-04-07 17:01:58 +08:00
MrWindlike
04efd82f1d feat: add handlers sort 2022-04-07 16:40:41 +08:00
Bowen Tan
511fd33051 add comments 2022-04-07 15:38:48 +08:00
MrWindlike
0f0dc5827c chore: rename variable 2022-04-07 15:21:38 +08:00
MrWindlike
12c000add5 chore: change widgets' name 2022-04-07 15:15:01 +08:00
Bowen Tan
9efee4e512 fix module bug in list 2022-04-07 15:13:57 +08:00
MrWindlike
4c4efa1cca chore(arco): change var names from schema to spec 2022-04-07 15:10:15 +08:00
MrWindlike
05cf597854 chore: change some var names from schema to spec 2022-04-07 15:02:26 +08:00
MrWindlike
6306cc0340 feat(expression): improve the codes 2022-04-07 14:37:55 +08:00
MrWindlike
388429aa25 feat: console the expression errors in deepEval 2022-04-07 09:14:57 +08:00
MrWindlike
2727dd5716 feat: console the expression errors 2022-04-06 22:46:47 +08:00
MrWindlike
20552960f5 fix: remove the stateManager from the schema validator 2022-04-06 22:40:03 +08:00
Bowen Tan
131bedd97c fix: module will add duplicated moduleId after save meta data 2022-04-06 19:24:03 +08:00
Bowen Tan
0e251fe986 fix moduleContainer mask bug 2022-04-06 17:28:50 +08:00
Bowen Tan
d593a1b2e2 recover explorer 2022-04-06 17:28:34 +08:00
xzdry
b76957da70 feat(table): add ellipsis and change column width functions 2022-04-06 14:12:50 +08:00
xzdry
af0b314a1f pref: use re-resizable instead of react-resizable 2022-04-06 13:39:42 +08:00
MrWindlike
ed9b2c1b7a feat: improve the form performance 2022-04-06 11:24:36 +08:00
MrWindlike
53c5bdb663 style: fix the KeyValueWidth style when string too long 2022-04-02 17:54:50 +08:00
MrWindlike
3d58314d38 feat: handle the expression errors 2022-04-02 16:30:34 +08:00
MrWindlike
badcb92401 feat: implement conditional render 2022-03-30 23:08:25 +08:00
MrWindlike
6eed3fc308 fix(sdk): display key when property spec has no title 2022-03-30 14:26:49 +08:00
xzdry
b6476c5a60 fix: fix incorrect width of tool menu 2022-03-29 13:40:42 +08:00
Yanzhen Yu
428630c1b3 Publish
- @sunmao-ui/arco-lib@0.1.7
 - @sunmao-ui/chakra-ui-lib@0.3.7
 - @sunmao-ui/editor-sdk@0.1.8
 - @sunmao-ui/editor@0.5.8
 - @sunmao-ui/runtime@0.5.6
2022-03-29 00:13:37 +08:00
yz-yu
7817abe300
Merge pull request #360 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-29 00:11:48 +08:00
MrWindlike
8887031539 fix: don't clear data when refetch 2022-03-28 18:11:00 +08:00
MrWindlike
7a85121e7a chore: add comments 2022-03-28 16:50:08 +08:00
MrWindlike
06dd2bc0c7 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-03-28 16:47:22 +08:00
MrWindlike
bf046a7d42 fix: eval the raw handler when trigger the events 2022-03-28 16:46:43 +08:00
MrWindlike
c2bdc7a880 fix: avoid the immer errors 2022-03-28 16:28:44 +08:00
xzdry
50f4545e10 add react-resizable to runtime 2022-03-28 15:14:30 +08:00
Yanzhen Yu
aaaf553a65 Publish
- @sunmao-ui/arco-lib@0.1.6
 - @sunmao-ui/chakra-ui-lib@0.3.6
 - @sunmao-ui/core@0.5.4
 - @sunmao-ui/editor-sdk@0.1.7
 - @sunmao-ui/editor@0.5.7
 - @sunmao-ui/runtime@0.5.5
2022-03-28 12:22:41 +08:00
xzdry
bbc484adf2 Merge branch 'main' of github.com:webzard-io/sunmao-ui into improve/xzdry-patch 2022-03-28 11:13:59 +08:00
xzdry
4249192936 feat(tree): add path state 2022-03-28 10:50:38 +08:00
xzdry
026ce4eade feat: add resize function to the menu 2022-03-28 10:49:57 +08:00
Bowen Tan
675ad0d505 Publish
- @sunmao-ui/arco-lib@0.1.5
 - @sunmao-ui/chakra-ui-lib@0.3.5
 - @sunmao-ui/editor-sdk@0.1.6
 - @sunmao-ui/editor@0.5.6
 - @sunmao-ui/runtime@0.5.4
2022-03-25 10:09:40 +08:00
Bowen Tan
d597f934ae Merge branch 'main' into publish
* main:
  trim expression before eval
  fix: add typebox into dependencies
  fix: hide the event type in the API form's handlers
  fix: move the fetch trait components to the last

# Conflicts:
#	packages/editor/package.json
2022-03-25 10:02:43 +08:00
tanbowensg
2a4d4d9dba
Merge pull request #351 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-25 09:59:11 +08:00
Bowen Tan
5d18607d3f trim expression before eval 2022-03-23 16:54:51 +08:00
MrWindlike
ed9905dd88 chore: add @sinclair/typebox to peerDependencies 2022-03-22 15:50:57 +08:00
MrWindlike
44e7eefa6e fix: add typebox into dependencies
prevent inject typebox's codes into production files
2022-03-21 11:25:48 +08:00
MrWindlike
16824e29f7 fix: hide the event type in the API form's handlers 2022-03-18 10:54:38 +08:00
MrWindlike
1b1df68fc9 fix: move the fetch trait components to the last
fetch trait executed unexpectedly when it depends on the state behind it
2022-03-18 10:52:44 +08:00
Bowen Tan
57b69914d3 Publish
- @sunmao-ui/arco-lib@0.1.4
 - @sunmao-ui/chakra-ui-lib@0.3.4
 - @sunmao-ui/editor-sdk@0.1.5
 - @sunmao-ui/editor@0.5.5
2022-03-18 09:52:12 +08:00
Bowen Tan
d7f3b7f11a Merge branch 'main' into publish
* main:
  chore: remove `renderField`
  fix: show the state type by real initial value
  feat: improve the trait form
  fix: change the expression styles
  fix: fix no event type in the event widget
  adjust the editor area
  feat(table): add row click
  feat: add the TableColumn widget

# Conflicts:
#	packages/chakra-ui-lib/package.json
2022-03-18 09:45:34 +08:00
tanbowensg
58156b8da3
Merge pull request #350 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-18 09:44:01 +08:00
MrWindlike
b85d3583c3 chore: remove renderField 2022-03-18 09:24:20 +08:00
MrWindlike
4b174d6f52 fix: show the state type by real initial value 2022-03-17 20:24:32 +08:00
MrWindlike
7d03a2dd51 feat: improve the trait form 2022-03-17 17:41:52 +08:00
MrWindlike
f7513c1a07 fix: change the expression styles 2022-03-17 15:31:54 +08:00
tanbowensg
250f9eea72
Merge pull request #348 from webzard-io/improve/xzdry-patch
improve table component and editor area
2022-03-17 11:46:01 +08:00
tanbowensg
91a393bac5
Merge pull request #347 from webzard-io/feat/custom-widget
feat: add the TableColumn widget
2022-03-16 17:08:28 +08:00
MrWindlike
726fca3815 fix: fix no event type in the event widget 2022-03-16 16:48:27 +08:00
xzdry
44b11cda6f adjust the editor area 2022-03-16 13:23:28 +08:00
xzdry
94d17f2643 feat(table): add row click 2022-03-16 13:19:51 +08:00
Bowen Tan
d72bd0c806 Publish
- @sunmao-ui/arco-lib@0.1.3
 - @sunmao-ui/chakra-ui-lib@0.3.3
 - @sunmao-ui/core@0.5.3
 - @sunmao-ui/editor-sdk@0.1.4
 - @sunmao-ui/editor@0.5.4
 - @sunmao-ui/runtime@0.5.3
2022-03-16 11:27:08 +08:00
MrWindlike
320e7ac6bb feat: add the TableColumn widget 2022-03-16 09:30:24 +08:00
tanbowensg
4f5b764c15
Merge pull request #346 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-15 16:09:27 +08:00
MrWindlike
7b92fe5030 fix: fix the crashing when the component id is wrong 2022-03-15 15:28:07 +08:00
MrWindlike
be4a9758d5 feat: add setValue method to localStorage trait 2022-03-15 15:26:43 +08:00
MrWindlike
733b965fd2 feat: support expression for API form's body 2022-03-15 15:05:46 +08:00
MrWindlike
b27bc72011 feat: improve the event and fetch traits
make the `disabled` can be expression
2022-03-15 13:44:27 +08:00
MrWindlike
f5fb8b9ffb fix: make the widgets change value correctly 2022-03-15 11:15:12 +08:00
Bowen Tan
d5f2e5bc5e Publish
- @sunmao-ui/arco-lib@0.1.2
 - @sunmao-ui/chakra-ui-lib@0.3.2
 - @sunmao-ui/core@0.5.2
 - @sunmao-ui/editor-sdk@0.1.3
 - @sunmao-ui/editor@0.5.3
 - @sunmao-ui/runtime@0.5.2
2022-03-10 18:39:08 +08:00
tanbowensg
e29e58dbb4
Merge pull request #344 from webzard-io/feat/custom-widget
fix: fix the widget change value wrong
2022-03-10 18:35:21 +08:00
MrWindlike
c41f533f8e fix: fix the widget change value wrong 2022-03-10 18:27:55 +08:00
tanbowensg
a08294d72e
Merge pull request #338 from webzard-io/feat/localstorage
feat: add localstorage to datasource
2022-03-10 17:10:20 +08:00
tanbowensg
a53744da49
Merge pull request #335 from webzard-io/feat/custom-widget
feat: add the popover widget
2022-03-10 17:07:11 +08:00
Bowen Tan
8e7ab37c7f Publish
- @sunmao-ui/arco-lib@0.1.1
 - @sunmao-ui/chakra-ui-lib@0.3.1
 - @sunmao-ui/core@0.5.1
 - @sunmao-ui/editor-sdk@0.1.2
 - @sunmao-ui/editor@0.5.2
 - @sunmao-ui/runtime@0.5.1
2022-03-10 10:55:53 +08:00
Bowen Tan
50a68c77f8 remove stack border and minHeight minWidth 2022-03-10 10:54:07 +08:00
MrWindlike
fe664a4005 feat: improve the display of API's response 2022-03-09 22:26:48 +08:00
MrWindlike
5f3e365225 chore(sdk): improve the codes 2022-03-09 20:20:02 +08:00
Bowen Tan
60ae70e4ea Publish
- @sunmao-ui/editor-sdk@0.1.1
 - @sunmao-ui/editor@0.5.1
2022-03-09 17:12:05 +08:00
Bowen Tan
be0b3f7a98 modify editor-sdk package.json 2022-03-09 17:09:27 +08:00
Bowen Tan
c2510d7767 Publish
- @sunmao-ui/arco-lib@0.1.0
 - @sunmao-ui/chakra-ui-lib@0.3.0
 - @sunmao-ui/core@0.5.0
 - @sunmao-ui/editor-sdk@0.1.0
 - @sunmao-ui/editor@0.5.0
 - @sunmao-ui/runtime@0.5.0
2022-03-09 17:02:14 +08:00
yz-yu
d1671d5f63
Merge pull request #329 from webzard-io/improve-arco
Improve arco components
2022-03-09 16:52:24 +08:00
tanbowensg
05275637db
Merge pull request #340 from webzard-io/fix/xzdry-patch
fix: fix tabs not displaying properly
2022-03-09 16:46:56 +08:00
xzdry
c571dc357b fix: fix tabs not displaying properly 2022-03-09 11:38:26 +08:00
yz-yu
ae5ee1a623
Merge pull request #339 from webzard-io/feat/form-type
show component type in form
2022-03-09 10:57:21 +08:00
Bowen Tan
6a8b2217a0 show component type in form 2022-03-09 10:49:37 +08:00
xzdry
04c68b77bc feat: add localstorage to datasource 2022-03-09 09:48:06 +08:00
MrWindlike
3770aa9e5d Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-08 21:16:43 +08:00
tanbowensg
4c00b8b38c
Merge pull request #336 from webzard-io/feat/upload-file
Add FileInput Component
2022-03-08 18:14:37 +08:00
Yanzhen Yu
c414381563 fix stringify undefined value 2022-03-08 15:58:17 +08:00
Bowen Tan
d6490a7788 improve input & select 2022-03-08 14:54:41 +08:00
Bowen Tan
6c96da9722 imporve checkbox & radio 2022-03-08 14:54:39 +08:00
Bowen Tan
1159ef3ee1 add default style for stack 2022-03-08 14:51:23 +08:00
Bowen Tan
07d4f3a48e improve FileInput 2022-03-08 14:21:33 +08:00
Bowen Tan
74081ea612 implement FileUploader & fetch trait supports bodyType 2022-03-08 14:12:19 +08:00
MrWindlike
8ff97f2190 feat: add the popover widget 2022-03-08 13:57:40 +08:00
MrWindlike
8ad33d6938 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-07 19:04:23 +08:00
MrWindlike
4eca2c342c fix: fix some widgets' problems 2022-03-07 18:52:32 +08:00
yz-yu
797db6bde1
Merge pull request #332 from webzard-io/feat/trait-factory
add TraitImplFactory
2022-03-07 18:37:04 +08:00
Bowen Tan
8acdefa4a5 improve editor mask label 2022-03-07 16:07:18 +08:00
Bowen Tan
b19010e9ae add TraitImplFactory 2022-03-07 14:42:33 +08:00
MrWindlike
5ec71b1fcd Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-07 11:19:41 +08:00
xzdry
326f692821 fix: fix a bug where two updates to the store do not trigger a view refresh 2022-03-07 10:05:46 +08:00
xzdry
630fc87ea6 feat: implement localstorage trait 2022-03-07 09:59:52 +08:00
MrWindlike
213cd7cf7f Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-07 09:10:05 +08:00
MrWindlike
95fd1cf3c6 chore: import components from chakra instead of SDK 2022-03-07 09:03:59 +08:00
MrWindlike
45fcf0d20d fix: remove calling onChange in the useEffect of widgets 2022-03-03 23:58:55 +08:00
MrWindlike
f93c69af9c feat: add the editor SDK package 2022-03-03 22:28:26 +08:00
yz-yu
85f88b5ec3
Merge pull request #328 from webzard-io/improve-arco
Improve arco components & add examples
2022-03-03 21:37:05 +08:00
Bowen Tan
94098eda4e rename table rowSelectionType 2022-03-03 18:16:13 +08:00
Bowen Tan
9543d3e3e1 improve table & add table examples 2022-03-03 17:52:22 +08:00
Bowen Tan
e7b5c293f1 improve tab component and add example 2022-03-03 17:03:08 +08:00
tanbowensg
28ee98f2d7
Merge pull request #327 from webzard-io/fix/windlike-patch
fix(editor): fix the API's response doesn't display
2022-03-03 15:29:03 +08:00
Bowen Tan
41764fc209 improve menu and layout component & add layout with menu example 2022-03-03 15:27:08 +08:00
Bowen Tan
10d0447299 add postcss for arco-lib 2022-03-03 15:18:18 +08:00
MrWindlike
eba99423c3 fix(editor): fix the API's response doesn't display 2022-03-03 14:04:36 +08:00
Bowen Tan
3d1b1549c5 remove editor from arco-lib's dependencies 2022-03-03 11:18:51 +08:00
Bowen Tan
208737c98f add peer dependencies 2022-03-03 11:03:34 +08:00
MrWindlike
bae327d20e feat: chang the widgets according to the proposal 2022-03-02 18:29:59 +08:00
Bowen Tan
b359f8c37d Publish
- @sunmao-ui/arco-lib@0.0.7
 - @sunmao-ui/chakra-ui-lib@0.2.1
 - @sunmao-ui/core@0.4.1
 - @sunmao-ui/editor@0.4.1
 - @sunmao-ui/runtime@0.4.1
2022-03-02 18:09:31 +08:00
tanbowensg
ea9f331fa7
Merge pull request #322 from webzard-io/feat/arco-form
feat: implement FormStack and FormControl
2022-03-02 17:41:49 +08:00
xzdry
dfb4993941 refactor: Optimised form styles 2022-03-02 17:27:22 +08:00
Bowen Tan
af76eb8609 add utilMethodManager 2022-03-02 16:39:20 +08:00
Bowen Tan
9f5d9147ec add scrollToComponent utilMethod 2022-03-02 16:08:02 +08:00
tanbowensg
e119fcb60a
Merge pull request #311 from webzard-io/feat/space
feat: implement core space component
2022-03-02 13:47:39 +08:00
xzdry
f69f6bbac2 feat: add arco lib 2022-03-02 13:33:55 +08:00
xzdry
1a4cd734b9 feat: implement FormStack and FormControl 2022-03-02 13:26:48 +08:00
yz-yu
bb6aba3f83
Merge pull request #320 from webzard-io/feat/dialog-mask
EditorMask support components in dialog
2022-03-02 10:36:57 +08:00
Bowen Tan
ba25194287 change hook didDomUpdate name 2022-03-02 10:09:43 +08:00
Bowen Tan
ef0383e8e9 import arco lib 2022-03-01 18:30:07 +08:00
tanbowensg
809bfa5015 Merge pull request #37 from webzard-io/table
add displayValue for table column & eval $listItem for td
2022-03-01 17:51:47 +08:00
tanbowensg
91958f9364 Merge pull request #38 from webzard-io/feat/modal
update modal for new EditorMask
2022-03-01 17:51:47 +08:00
tanbowensg
75b3778f48 Merge pull request #36 from webzard-io/form
add tabs component
2022-03-01 17:51:47 +08:00
tanbowensg
f12d05de8e Merge pull request #35 from webzard-io/example
table example
2022-03-01 17:51:47 +08:00
tanbowensg
4581d2a7f7 Merge pull request #34 from webzard-io/yz-patch
refine layout component
2022-03-01 17:51:46 +08:00
tanbowensg
ee47da58fd Merge pull request #33 from webzard-io/example
refactor: use expression widget to show data
2022-03-01 17:51:46 +08:00
xzdry
f58cd197c9 Merge pull request #32 from webzard-io/feat/tree
add tree component
2022-03-01 17:51:46 +08:00
tanbowensg
38c4ee0c29 Merge pull request #31 from webzard-io/improve
Improve components
2022-03-01 17:51:46 +08:00
Bowen Tan
585a412c45 v0.0.6 2022-03-01 17:51:46 +08:00
tanbowensg
64a798ecf2 Merge pull request #28 from webzard-io/fix/arco-ref
fix some components ref bug
2022-03-01 17:51:46 +08:00
tanbowensg
78056ad930 Merge pull request #27 from webzard-io/improve
fix some bugs
2022-03-01 17:51:46 +08:00
tanbowensg
ab5d437d73 Merge pull request #26 from webzard-io/arco-ref
add ref for arco components
2022-03-01 17:51:46 +08:00
tanbowensg
3b15fc4e33 Merge pull request #25 from webzard-io/improve
expand components property spec
2022-03-01 17:51:45 +08:00
MrWindlike
19f09a7067 Merge pull request #24 from webzard-io/improve
feat(table): expand properties spec
2022-03-01 17:51:45 +08:00
xzdry
69ba766ab6 Merge pull request #22 from webzard-io/improve
Improve component and component props
2022-03-01 17:51:45 +08:00
MrWindlike
f78ce70b4a Merge pull request #19 from webzard-io/component-improve
refactor: improve some components
2022-03-01 17:51:45 +08:00
MrWindlike
d6f9bc26f1 Merge pull request #21 from webzard-io/bugfix
fix(table): add pagesize
2022-03-01 17:51:45 +08:00
xzdry
62a4723956 Merge pull request #20 from webzard-io/radio
feat(Radio): add Radio component
2022-03-01 17:51:45 +08:00
Bowen Tan
7e8bfff6c6 0.0.5 2022-03-01 17:51:45 +08:00
tanbowensg
8bdbb81470 Merge pull request #18 from webzard-io/bugfix
key of the table should support string type & fix treeselect schema
2022-03-01 17:51:45 +08:00
Bowen Tan
74190264ca 0.0.4 2022-03-01 17:51:45 +08:00
tanbowensg
9721130538 Merge pull request #17 from webzard-io/bugfix
fix(table): use sunmao runtime's module and event schmea
2022-03-01 17:51:45 +08:00
Bowen Tan
e8f371aaf9 0.0.3 2022-03-01 17:51:45 +08:00
tanbowensg
a10e6f7345 Merge pull request #16 from webzard-io/bugfix
Fixed a bug that reset all states when canceling one of the multiple selections
2022-03-01 17:51:45 +08:00
Bowen Tan
7c8731405b 0.0.2 2022-03-01 17:51:44 +08:00
tanbowensg
64750873e1 Merge pull request #15 from webzard-io/component-table
Component table
2022-03-01 17:51:44 +08:00
tanbowensg
a96d6d583d Merge pull request #13 from webzard-io/component-pagination
feat: implement pagination
2022-03-01 17:51:44 +08:00
tanbowensg
289ed6598a Merge pull request #14 from webzard-io/checkbox
feat(Checkbox): implement checkbox
2022-03-01 17:51:44 +08:00
Bowen Tan
c837077f33 add lib in package 2022-03-01 17:51:44 +08:00
Bowen Tan
ace3a8ed1c prepare publish 2022-03-01 17:51:44 +08:00
xzdry
7847a36587 Merge pull request #11 from webzard-io/feat/demo
add button demo
2022-03-01 17:51:44 +08:00
tanbowensg
31a8c74a7c Merge pull request #12 from webzard-io/component-steps
feat: implement steps
2022-03-01 17:51:44 +08:00
tanbowensg
b4fa03a442 Merge pull request #10 from webzard-io/component-modal
feat: implement modal
2022-03-01 17:51:44 +08:00
tanbowensg
78473df7fe Merge pull request #8 from webzard-io/dropdown
feat: implement dropdown
2022-03-01 17:51:44 +08:00
tanbowensg
79a9d5c30e Merge pull request #5 from webzard-io/improve
refactor: remove unnecessary component states and optimize components
2022-03-01 17:51:44 +08:00
Bowen Tan
0fd1f30e5d fix string union type 2022-03-01 17:51:44 +08:00
tanbowensg
f5d3ffdcc7 Merge pull request #6 from webzard-io/component-treelike
implement treeselect & timeline
2022-03-01 17:51:43 +08:00
tanbowensg
4d6b95ab48 Merge pull request #9 from webzard-io/feat/icon
add Icon Component
2022-03-01 17:51:43 +08:00