Commit Graph

489 Commits

Author SHA1 Message Date
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
tanbowensg
6a26e1a4e3
Merge pull request #419 from webzard-io/feat/windlike-patch
feat: increasing the customStyle's priority
2022-05-26 14:27:38 +08:00
MrWindlike
11eb61bea7 feat: increasing the customStyle's priority
ISSUES CLOSED: #354
2022-05-26 13:56:43 +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
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
tanbowensg
533ab4723e
Merge pull request #408 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-05-18 12:07:31 +08:00
MrWindlike
5fc7b84803 fix: fallback to undefined when evaluating the expressions fail 2022-05-18 11:15:52 +08:00
MrWindlike
8f13e161d4 fix: reregister the traits when the editor refresh 2022-05-18 11:14:24 +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
Bowen Tan
7626c3c28a use concat method when merging customStyles 2022-05-13 17:37:40 +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
tanbowensg
4dd67e7d31
Merge pull request #395 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-05-10 17:08:21 +08:00
yz-yu
2048d3047e
Merge pull request #394 from webzard-io/refactor/init-function
refactor init functions' parameters
2022-05-10 14:08:25 +08:00
Bowen Tan
f088608fe9 set the default value of debugStore and debugEvent to be false 2022-05-10 14:02:08 +08:00
Bowen Tan
56b22d81e8 fix test 2022-05-10 13:56:43 +08:00
MrWindlike
357b233897 fix: improve the expression result display 2022-05-10 10:19:15 +08:00
Bowen Tan
a6c76f0d24 refactor init functions parameters 2022-05-09 18:51:45 +08:00
MrWindlike
f89cf583b2 feat: add the clear method to the fetch trait 2022-05-09 15:35:50 +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
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
xzdry
632e20ff97 improve core stack component 2022-04-27 14:00:46 +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
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
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
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
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