Commit Graph

1091 Commits

Author SHA1 Message Date
MrWindlike
b6b7083e15 feat(editor): chagne the component id reference properties' values when changing the component id
add the `isComponentId` into spec options to declare a property is whether refer to a component id

ISSUES CLOSED: #106
2022-06-13 14:56:47 +08:00
MrWindlike
d85ed7dc53 feat(operation): change the reference expressions when changing the component id
ISSUES CLOSED: #106
2022-06-13 14:56:17 +08:00
tanbowensg
3a3ea8c446
Merge pull request #428 from webzard-io/feat/style-trait-widget
add font style widget
2022-06-13 10:14:12 +08:00
tanbowensg
0f3a4ff4c1
Merge pull request #441 from webzard-io/feat/slot-if-condition
feat(editor): add the slot trait form
2022-06-13 10:13:58 +08:00
xzdry
3126ff9fab Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-06-13 09:57:49 +08:00
xzdry
37a163f3f1 fix(Table): fix the problem that selectedRow has no value 2022-06-13 09:57:02 +08:00
Bowen Tan
3da918ce7f fix(FontWidget): improve font widget 2022-06-10 14:05:22 +08:00
MrWindlike
3b4c2e038c fix(EventWidget): fix the parameters init problem 2022-06-10 14:02:01 +08:00
MrWindlike
19be7d30d6 test: fix the tests failure 2022-06-10 10:26:11 +08:00
MrWindlike
67d4e49f5b feat(editor): add the slot trait form
ISSUES CLOSED: #440
2022-06-10 09:58:35 +08:00
Bowen Tan
870fc9144a chore(examples): translate and change text in examples
- @sunmao-ui/arco-lib@0.3.0-alpha.1
- @sunmao-ui/chakra-ui-lib@0.5.0-alpha.1
-
@sunmao-ui/editor-sdk@0.3.0-alpha.1
- @sunmao-ui/editor@0.7.0-alpha.1
-
@sunmao-ui/runtime@0.7.0-alpha.1
- @sunmao-ui/shared@0.2.0-alpha.1
2022-06-09 18:26:12 +08:00
tanbowensg
9d2af48058
Merge pull request #433 from webzard-io/chore/gitadd
fix bug: fail to release pacakge because of commitlint
2022-06-09 17:46:49 +08:00
Bowen Tan
86d5513927 fix(FormSection): change z-index 2022-06-09 11:14:17 +08:00
xzdry
08376c41ae Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-06-09 10:39:31 +08:00
xzdry
792e5f4880 fix: fix some arco bugs
Remove useless attributes
Fix slot-related bugs
Fix popover wrong display of controlled mode
2022-06-09 10:38:50 +08:00
Bowen Tan
987453374e Merge branch 'main' into feat/rendercomponent
* main:
  feat: add the `requestFullscreen` method to the iframe component
  feat: add the iframe component

# Conflicts:
#	packages/runtime/src/services/Registry.tsx
2022-06-08 14:22:32 +08:00
Bowen Tan
90ec91f55b fix(arco-table): change displayValue contidition 2022-06-08 14:21:25 +08:00
MrWindlike
942fc6c75a feat: add the requestFullscreen method to the iframe component 2022-06-08 11:04:53 +08:00
MrWindlike
6e22f1f852 feat: add the iframe component
ISSUES CLOSED: #396
2022-06-07 14:17:46 +08:00
Bowen Tan
63971a46ae feat(arco-table): support render component and update example 2022-06-06 16:42:19 +08:00
Bowen Tan
07b6375790 build(package.json): remove 'git add' from lint-staged 2022-06-06 15:28:43 +08:00
Bowen Tan
ab9d8fd96f test(list): update list examples 2022-06-06 14:57:20 +08:00
Bowen Tan
51c1ec448f feat(chakra): add component table column 2022-06-06 14:57:20 +08:00
Bowen Tan
0c1b602fcb feat(runtime): use slot pass component 2022-06-06 14:57:18 +08:00
Bowen Tan
de105e3230 add componentRenderer 2022-06-06 14:55:45 +08:00
Bowen Tan
e763766d75 rename ModuleRenderSpec 2022-06-06 14:55:45 +08:00
tanbowensg
5910e9d2d7
Merge pull request #432 from webzard-io/feat/arco
Feat/arco
2022-06-06 14:51:27 +08:00
xzdry
7f42012e09 chore: update arco version 2022-06-06 12:09:16 +08:00
xzdry
6e72d046f3 feat(Message): add Message utils 2022-06-06 12:02:55 +08:00
xzdry
e75db74dc3 feat(TimePicker): add TimePicker component 2022-06-06 12:02:11 +08:00
xzdry
9c7317df9b fix(DatePicker): fix incorrect slots and some other bugs 2022-06-06 12:01:08 +08:00
Bowen Tan
61731f998e Merge branch 'main' into feat/style-trait-widget
* main:
  feat(widget): add the color widget
  fix: fix the type errors
  fix(widget): fix the crash problem when opening the event tab
  refactor(slot): slotSchema -> SlotSpec
  chore(examples): change the util method's examples
  refactor(arco): fix type
  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/editor-sdk/src/components/Widgets/StyleWidgets/SizeWidget.tsx
#	packages/editor-sdk/src/components/Widgets/index.ts
#	packages/editor/src/components/ComponentForm/StyleTraitForm/StyleTraitForm.tsx
2022-06-06 10:33:52 +08:00
yz-yu
6e5a1e19cb
Merge pull request #430 from webzard-io/feat/windlike-patch
feat(widget): add the color widget
2022-06-03 22:06:07 +08:00
MrWindlike
d1da6e64fa feat(widget): add the color widget 2022-06-02 13:51:25 +08:00
xzdry
34b801cb84 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-06-02 09:56:27 +08:00
xzdry
35acaa6021 feat(table): multi-selection support across pages 2022-06-01 18:17:13 +08:00
MrWindlike
90209876c9 fix: fix the type errors 2022-06-01 18:08:22 +08:00
MrWindlike
98f2a432a2 fix(widget): fix the crash problem when opening the event tab
1. remove circle denpendencies
2. use `parseTypeBox` to generate the params default value
2022-06-01 18:07:57 +08:00
Bowen Tan
efa6773be4 feat(ComponentForm): add text align field 2022-06-01 16:26:54 +08:00
Bowen Tan
db8ec36364 Merge branch 'main' into yz-patch
* main:
  chore(examples): change the util method's examples
  feat(table): support for custom filtering, sorting and paging
  change size widget props type
  improve component form style
  support size widget
  add cssProperties in style trait
  style widget
2022-06-01 16:18:32 +08:00
Bowen Tan
59e1e213c7 refactor(slot): slotSchema -> SlotSpec 2022-06-01 16:16:28 +08:00
Bowen Tan
297ad3c0ec feat(ComponentForm): add font widget 2022-06-01 15:08:41 +08:00
yz-yu
6372c81a06
Merge pull request #420 from webzard-io/feat/style-widget
Refactor Component Form
2022-06-01 11:46:31 +08:00
tanbowensg
914acdf084
Merge pull request #421 from webzard-io/feat/arco
feat(table): support for custom filtering, sorting and paging
2022-06-01 11:09:01 +08:00
xzdry
2477277ed5 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-06-01 10:16:28 +08:00
xzdry
98e9795a52 feat(table): support for custom filtering, sorting and paging 2022-06-01 09:57:55 +08:00
Bowen Tan
05aefc5371 refactor(arco): fix type 2022-05-31 17:39:24 +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
yz-yu
3dd246874b
Merge pull request #425 from webzard-io/refactor/mask-elementfrompoint
fix an editor mask bug
2022-05-31 14:59:11 +08:00
Bowen Tan
dde21fd556 fix(editorMask): mask does'nt work because onHTMLElementsUpdated doesn't run in init 2022-05-31 14:37:23 +08:00