Commit Graph

96 Commits

Author SHA1 Message Date
MrWindlike
e70c2d5ea4 refactor: move the type definitions to the suitable packages 2022-07-05 10:00:44 +08:00
MrWindlike
3f57100abc feat(widget): complete the widget type detecting 2022-07-05 10:00:41 +08:00
MrWindlike
442c7711c3 feat: auto detect the raw properties types 2022-07-05 09:56:58 +08:00
MrWindlike
cd3f10c35e refactor: move the type definitions to the suitable packages 2022-07-05 09:51:54 +08:00
MrWindlike
9b54bd17cb feat(widget): complete the widget type detecting 2022-07-05 09:51:51 +08:00
MrWindlike
a25a86b48d feat: auto detect the raw properties types 2022-07-05 09:29:19 +08:00
Bowen Tan
6652f9aa02 chore(package.json): update peerdependencies 2022-06-23 16:32:40 +08:00
Bowen Tan
492927864a chore(*): make runtime support ssr 2022-06-23 14:12:59 +08:00
Bowen Tan
fe68def8da feat(runtime): remove react-grid-layout
BREAKING CHANGE:
remove core/v1/grid-layout component

BREAKING CHANGE:
remove core/v1/grid-layout component (+1 squashed commit)
Squashed commits:
[549fea0] feat(remove react-grid-layout): wip

BREAKING CHANGE:
remove core/v1/grid-layout component
2022-06-20 18:30:30 +08:00
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
Bowen Tan
59e1e213c7 refactor(slot): slotSchema -> SlotSpec 2022-06-01 16:16:28 +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
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
db6e26b067 chore: fix typo 2022-05-30 18:44:07 +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
MrWindlike
0537bb60dd chore: fix the type error 2022-05-25 13:49:21 +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
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
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
Yanzhen Yu
74bfc5ebf4 migrate all in-tree components to the new slot spec 2022-05-12 11:52:22 +08:00
Yanzhen Yu
9b4cf9be0c impl #388, support slot props and apply to tabs component 2022-05-12 11:51:26 +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
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
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
Bowen Tan
68fb739ed3 add unmount trait annotation 2022-04-25 17:32:51 +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
Bowen Tan
9efee4e512 fix module bug in list 2022-04-07 15:13:57 +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
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
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
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
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
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
Yanzhen Yu
28f556de09 fix tsconfig to emit declaration files 2022-02-22 11:14:08 +08:00
Bowen Tan
7ca0781393 Publish
- @sunmao-ui/chakra-ui-lib@0.2.0
 - @sunmao-ui/core@0.4.0
 - @sunmao-ui/editor@0.4.0
 - @sunmao-ui/runtime@0.4.0
2022-02-17 18:04:31 +08:00
Yanzhen Yu
a722dcc34a extend metadata and set category annotation to core components 2022-02-09 12:50:51 +08:00
Bowen Tan
7c7dca7834 Publish
- @sunmao-ui/chakra-ui-lib@0.1.4
 - @sunmao-ui/core@0.3.6
 - @sunmao-ui/editor@0.3.10
 - @sunmao-ui/runtime@0.3.10
2022-01-26 17:24:58 +08:00
Bowen Tan
dff5ba60c9 move addModuleId to editor 2022-01-20 17:52:49 +08:00
Bowen Tan
9182bb61f4 Publish
- @sunmao-ui/chakra-ui-lib@0.1.3
 - @sunmao-ui/core@0.3.5
 - @sunmao-ui/editor@0.3.9
 - @sunmao-ui/runtime@0.3.9
2022-01-11 16:38:26 +08:00
Bowen Tan
3c78ac2116 Publish
- @sunmao-ui/chakra-ui-lib@0.1.2
 - @sunmao-ui/core@0.3.4
 - @sunmao-ui/editor@0.3.8
 - @sunmao-ui/runtime@0.3.8
2022-01-11 16:38:01 +08:00
Bowen Tan
c5be99ffcf rename types in core and runtime 2022-01-07 14:05:57 +08:00
yz-yu
432314c61e
Merge pull request #203 from webzard-io/refactor/slot
refactor slot and ImplWrapper to cache render result
2022-01-07 08:49:26 +08:00
yz-yu
a3af4b8252
Merge pull request #202 from webzard-io/revert/es5
revert build to es5
2022-01-07 08:47:11 +08:00
Bowen Tan
1f6090868e revert build to es5 2022-01-06 16:31:57 +08:00
Yanzhen Yu
8ab13e3c66 Publish
- @sunmao-ui/chakra-ui-lib@0.1.1
 - @sunmao-ui/core@0.3.3
 - @sunmao-ui/editor@0.3.7
 - @sunmao-ui/runtime@0.3.7
2022-01-05 15:09:01 +08:00