Commit Graph

80 Commits

Author SHA1 Message Date
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
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
MrWindlike
47d8d11901 chore: use the enum to replace the constants 2022-05-05 22:44:56 +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
f000c653fb chore: use the constant as the widget name 2022-04-26 10:44:23 +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
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
MrWindlike
462db2b8d5 fix: deep make value to be undefined when eval errors 2022-04-11 10:12:57 +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
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
badcb92401 feat: implement conditional render 2022-03-30 23:08:25 +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
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
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
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
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
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
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
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
MrWindlike
8ff97f2190 feat: add the popover widget 2022-03-08 13:57:40 +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
Bowen Tan
fe7a719211 convert proxy to raw object in deepEvalAndWatch & fix examples 2022-02-25 13:59:43 +08:00
Bowen Tan
a6b765d34f eval handler before send event to keep the hanlder is the latest 2022-02-24 18:04:23 +08:00
yz-yu
82104673c2
Merge pull request #299 from webzard-io/feat/datasource
feat: improve datasource[fix #289]
2022-02-24 14:23:35 +08:00
MrWindlike
2667383969 feat(editor): improve datasource and event form
support expression input and schema filed for datasource and event form
2022-02-22 12:06:33 +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
Bowen Tan
4bed7d5aae add chakra switch component 2022-02-17 17:44:32 +08:00
Bowen Tan
8df35c22bf fix text component cannot be selected bug 2022-02-17 15:24:44 +08:00
Bowen Tan
46137aa8d2 Fix the bug that page cannot scroll when chakra dialog is openning. 2022-02-16 10:53:06 +08:00
MrWindlike
79c4c29e95 chore: fix test cases and change some properties' spec 2022-02-15 15:19:05 +08:00
MrWindlike
fc15a2dc50 feat(lib): change properties spec 2022-02-15 13:49:36 +08:00
Bowen Tan
4cbb6f187c rename and add test 2022-02-10 18:17:05 +08:00
Bowen Tan
f40c42fa8a add ref to chakra-ui components 2022-02-10 15:34:10 +08:00
Bowen Tan
cb3d7e9dd2 refine code 2022-02-10 15:34:10 +08:00
Bowen Tan
1e29658fef drag component to mask 2022-02-10 15:34:10 +08:00
Bowen Tan
5aecab13b3 use resize observer 2022-02-10 15:34:09 +08:00
Bowen Tan
07a0a0af61 add drop slot area 2022-02-10 15:34:09 +08:00