xzdry
632e20ff97
improve core stack component
2022-04-27 14:00:46 +08:00
tanbowensg
f70feb15ab
Merge pull request #384 from webzard-io/refactor/localstorage
...
refactor localstorage trait
2022-04-26 15:40:35 +08:00
Bowen Tan
aad0600d92
fix tests && hasUnmount -> beforeRender
2022-04-26 11:35:53 +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
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
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
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
Bowen Tan
a14b6ed1e3
add HiddenImplWrapper
2022-04-15 17:19:37 +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
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
Bowen Tan
13a5894be3
remove hasFetched in fetch trait and add disabled property
2022-04-13 17:58:41 +08:00
Bowen Tan
b36927778c
remove move fetch component to the end logic
2022-04-13 17:36:39 +08:00
MrWindlike
2ffb4cc84b
feat: add refresh button
2022-04-13 15:43:50 +08:00
MrWindlike
462db2b8d5
fix: deep make value to be undefined when eval errors
2022-04-11 10:12:57 +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
141f3b1b54
Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch
2022-04-07 18:01:01 +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
Bowen Tan
9efee4e512
fix module bug in list
2022-04-07 15:13:57 +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
MrWindlike
3d58314d38
feat: handle the expression errors
2022-04-02 16:30:34 +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
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
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
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