Commit Graph

1139 Commits

Author SHA1 Message Date
xzdry
0074be8b0d fix: refreshing the StateView when switching between module and app 2022-07-04 14:38:37 +08:00
xzdry
e1e90f170e refactor(Link): use openInNewTab instead of target 2022-06-29 10:05:34 +08:00
xzdry
1cdd7c6705 Merge branch 'develop' of github.com:webzard-io/sunmao-ui into feat/arco 2022-06-29 09:59:44 +08:00
MrWindlike
296a0ab6c4 fix: increase the hidden trait style priority 2022-06-24 10:14:17 +08:00
tanbowensg
16d129a4bb
Merge pull request #478 from webzard-io/feat/perfomance
perf: improve the struct tree performance
2022-06-23 17:47:44 +08:00
tanbowensg
632fe26e9a
Merge pull request #474 from webzard-io/feat/slotprops-memo
Use shallowCompare to compare slotProps
2022-06-23 17:42:25 +08:00
Bowen Tan
ea65948c6c chore(shared): move shallowCompare to object.ts 2022-06-23 17:36:13 +08:00
MrWindlike
7aa96ebb19 perf: improve the struct tree performance 2022-06-23 15:00:43 +08:00
Bowen Tan
54a757995d Merge branch 'develop' into test/runtime
* develop:
  chore: add the comments
  refactor(trait): use `implementRuntimeTrait` to implement the transformer trait
  fix(mask): fix the bug that mask location is wrong position when editor is scrolled
  feat(runtime, editor): support raw body in fetch trait
  fix(FormSection): fix  the property section not covering the code mirror window
  fix(Checkbox): synchronize the initial state of isCheckedAll & add the disabled property
  feat(arco): don't trigger onRowClicked method when clicking table's radios or checkboxs
  fix: css style string is parsed to char array accidently
  feat(runtime): remove react-grid-layout
  fix: the renaming, types and tests stuffs
  feat: a more comprehensive select component based on rc-select
  feat(editor): chagne the component id reference properties' values when changing the component id
  feat(operation): change the reference expressions when changing the component id

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper/ImplWrapperMain.tsx
2022-06-23 10:43:34 +08:00
tanbowensg
f97b20555f
Merge pull request #472 from webzard-io/fix/widget
refactor(trait): use `implementRuntimeTrait` to implement the transformer trait
2022-06-22 17:34:24 +08:00
tanbowensg
db7a6936f3
Merge pull request #448 from webzard-io/feat/windlike-patch
feat: change the reference properties when changing the component id
2022-06-22 17:19:58 +08:00
Bowen Tan
9cfb133adc perf(ImplWrapper): use shallowCompare to compare slotProps 2022-06-22 17:08:51 +08:00
MrWindlike
29e415fd1d chore: add the comments 2022-06-22 17:00:10 +08:00
MrWindlike
9bddf6ccb4 refactor(trait): use implementRuntimeTrait to implement the transformer trait 2022-06-22 16:23:14 +08:00
yz-yu
0508c1d4b9
Merge pull request #470 from webzard-io/yz-patch
feat(runtime, editor): support raw body in fetch trait
2022-06-22 14:48:08 +08:00
yz-yu
b6c1f34967
Merge pull request #471 from webzard-io/fix/mask-scroll
fix(mask): fix the bug that mask location is wrong position when editor is scrolled
2022-06-22 14:39:14 +08:00
Bowen Tan
9fa6e886dd fix(mask): fix the bug that mask location is wrong position when editor is scrolled 2022-06-22 14:25:02 +08:00
Yanzhen Yu
320f527edb feat(runtime, editor): support raw body in fetch trait 2022-06-22 14:18:01 +08:00
Bowen Tan
644a070ed0 Merge branch 'main' into feat/merge-rc-select
* main:
  feat: a more comprehensive select component based on rc-select

# Conflicts:
#	yarn.lock
2022-06-22 10:24:13 +08:00
tanbowensg
e6dc6561c3
Merge pull request #452 from webzard-io/feat/rc-select
feat: a more comprehensive select component based on rc-select
2022-06-22 10:15:13 +08:00
tanbowensg
3da6c6d07f
Merge pull request #465 from webzard-io/feat/arco-fix
fix(Checkbox): synchronize the initial state of isCheckedAll & add disabled property
2022-06-22 10:14:08 +08:00
xzdry
66b9c0214c fix(FormSection): fix the property section not covering the code mirror window 2022-06-21 18:20:01 +08:00
xzdry
531f2be215 fix(Checkbox): synchronize the initial state of isCheckedAll & add the disabled property 2022-06-21 18:14:40 +08:00
xzdry
ec17b8de31 feat(Link): add target property 2022-06-21 18:02:02 +08:00
yz-yu
5d4d506aee
Merge pull request #462 from Mark-Fenng/main
fix:  css style string is parsed to char array accidentally
2022-06-21 11:20:13 +08:00
Bowen Tan
7a6a843f79 refactor(runtime): fix eslint
- @sunmao-ui/arco-lib@0.3.0-alpha.2
- @sunmao-ui/chakra-ui-lib@0.5.0-alpha.2
-
@sunmao-ui/editor-sdk@0.3.0-alpha.2
- @sunmao-ui/editor@0.7.0-alpha.2
-
@sunmao-ui/runtime@0.7.0-alpha.2
- @sunmao-ui/shared@0.2.0-alpha.2
2022-06-21 11:17:46 +08:00
Bowen Tan
38eb90e567 test(moduleRenderer): add module renderer tests 2022-06-21 10:46:29 +08:00
Bowen Tan
8f51facb64 test(list): add core list tests 2022-06-21 10:46:29 +08:00
Bowen Tan
92bcbfbfe8 test(runtime): add async merge state test 2022-06-21 10:46:29 +08:00
Bowen Tan
3381d0b412 test(runtime): add merge state test 2022-06-21 10:46:29 +08:00
Bowen Tan
da066b4519 test(runtime): add hidden trait test
* main:
feat: add the `requestFullscreen` method to the iframe component
feat: add
the
iframe
component
2022-06-21 10:46:29 +08:00
Bowen Tan
bf54a0c4e9 test(runtime): add component schema change test
* main:
feat: add the `requestFullscreen` method to the iframe component
feat: add the
iframe
component
2022-06-21 10:46:28 +08:00
Bowen Tan
e18d3120b8 test(runtime): add single component test
* main:
feat: add the `requestFullscreen` method to the iframe component
feat: add the iframe
component
2022-06-21 10:46:28 +08:00
Bowen Tan
f58411bb83 test(runtime): init runtime test 2022-06-21 10:46:28 +08:00
Yun Feng
75dff38d8a feat(arco): don't trigger onRowClicked method when clicking table's radios or checkboxs 2022-06-21 01:45:03 +10:00
Yun Feng
6f1f5eb3ec fix: css style string is parsed to char array accidently 2022-06-21 01:28:33 +10: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
tanbowensg
61a3fb79c7
Merge pull request #437 from webzard-io/feat/SpaceWidget
feat(StyleTraitForm): add SpaceWidget
2022-06-20 10:22:16 +08:00
xzdry
a62283eeec feat(StyleTraitForm): add padding and margin widget 2022-06-17 18:42:30 +08:00
Yun Feng
63d8c45c0c feat(arco): expose 'setInputValue' method for TextArea component 2022-06-17 00:22:54 +10:00
Yun Feng
130cce9532 feat(arco): expose 'setInputValue' method for Input component 2022-06-16 23:48:15 +10:00
Yun Feng
7dc33f0478 feat(arco): enable to customize button content of Dropdown component 2022-06-14 13:29:32 +10:00
MrWindlike
b0c88fd872 fix: the renaming, types and tests stuffs 2022-06-14 11:09:18 +08:00
tanbowensg
d2daf17b13
Merge pull request #450 from Mark-Fenng/main
fix: trait form is covered by section titles
2022-06-13 17:45:49 +08:00
xzdry
e5d6ead30e feat: a more comprehensive select component based on rc-select 2022-06-13 17:44:08 +08:00
Yun Feng
8fbffabe22 fix: trait form is covered by section titles 2022-06-13 19:31:06 +10:00
MrWindlike
ec0797bc12 fix: use the isHidden to hide a property instead of shouldRender 2022-06-13 16:33:52 +08:00
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