Commit Graph

1002 Commits

Author SHA1 Message Date
xzdry
cecf2fddb8 fix: change the import path 2022-05-07 11:04:37 +08:00
MrWindlike
0c3016c29a fix: fix the changing api form's tab problem 2022-05-06 15:34:51 +08:00
MrWindlike
ea5c930e83 fix: fix the datasource update problems 2022-05-06 15:18:33 +08:00
MrWindlike
0da6af815a chore: make the data type datasource informations as constants 2022-05-06 15:18:10 +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
e55820be71 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-05-05 17:32:23 +08:00
MrWindlike
12faf330f3 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/transformer 2022-05-05 17:28:20 +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
yz-yu
df14fe5e1f
Merge pull request #387 from webzard-io/improve-ui
Improve UI Style
2022-04-29 14:10:59 +08:00
Bowen Tan
5dd5e6885d auto select first component when app first renders 2022-04-29 10:59:38 +08:00
Bowen Tan
b291089c62 improve left tree style 2022-04-28 19:06:13 +08:00
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