Yanzhen Yu
acbbf4eb24
fix(runtime): only teardown state when the component is not hidden before this check
...
when we are using slot's ifCondition, the slot may have
unmount traits result multiple times
2022-07-19 19:47:35 +08:00
yz-yu
58c3d9848f
Merge pull request #535 from smartxworks/fix/paste-slot
...
fix(paste): paste component into the first slot instead of 'content' slot
2022-07-19 16:43:02 +08:00
xzdry
4d2ae0da38
feat(select): put popup to body
2022-07-19 15:22:40 +08:00
Bowen Tan
63b3a04935
fix(paste): paste component into the first slot instead of 'content' slot
2022-07-19 14:17:42 +08:00
yz-yu
267ab40b37
Merge pull request #522 from smartxworks/feat/windlike-dev
...
feat: check the `exampleProperties` type
2022-07-16 19:27:23 +08:00
yz-yu
14bc96fb54
Merge pull request #527 from smartxworks/fix/typo
...
fix(docs): fix typo and replace logo.png
2022-07-15 16:28:26 +08:00
Bowen Tan
d778f69919
fix(docs): fix typo and replace logo.png
2022-07-15 16:23:15 +08:00
yz-yu
6fe7b0e6c0
Merge pull request #526 from smartxworks/main
...
Main
2022-07-15 15:01:11 +08:00
yz-yu
a06a0636dc
Merge pull request #525 from smartxworks/pub/0.7.2
...
Pub/0.7.2
2022-07-15 14:51:54 +08:00
Bowen Tan
7b39aceece
fix(docs): fix type
2022-07-15 14:49:51 +08:00
Bowen Tan
9291609fb0
chore(*): publish
...
- @sunmao-ui/arco-lib@0.3.2
- @sunmao-ui/chakra-ui-lib@0.5.2
- @sunmao-ui/core@0.7.2
- @sunmao-ui/editor-sdk@0.3.2
- @sunmao-ui/editor@0.7.2
- @sunmao-ui/runtime@0.7.2
- @sunmao-ui/shared@0.2.2
- @sunmao-ui/vite-plugin-fs@0.0.2
- @sunmao-ui/vite-plugins@1.0.4
2022-07-15 13:58:25 +08:00
tanbowensg
c150cf03cd
Merge pull request #524 from smartxworks/develop
...
Merge develop to master
2022-07-15 13:56:34 +08:00
yz-yu
f34bc59d80
Merge pull request #519 from smartxworks/merge-validator
...
fix validator bugs
2022-07-15 11:56:30 +08:00
Bowen Tan
aeaa083486
Merge branch 'develop' into merge-validator
...
* develop:
feat(docs): update readme
feat(docs): compress logo image
feat(docs): add sunmao start link in readme
feat(runtime): use render set to check all the slot elements hidden or not
fix(styleTraitForm): fix nested button warning
feat(runtime): pass slot fallback into slot elements
docs(*): replace webzard-io with smartxworks
fix(runtime): remove react-markdown
# Conflicts:
# yarn.lock
2022-07-15 11:34:22 +08:00
Bowen Tan
b9f9be0e68
feat(validator): add util method prameters validation
2022-07-15 11:26:57 +08:00
yz-yu
9eb6aba830
Merge pull request #520 from smartxworks/docs
...
feat(docs): update readme
2022-07-14 15:19:46 +08:00
MrWindlike
2b74ce4848
feat: check the exampleProperties
type
2022-07-14 14:42:49 +08:00
Bowen Tan
f78a95f021
fix(validator): hide fix
2022-07-14 14:35:19 +08:00
tanbowensg
c3f5f5ae57
Merge pull request #515 from smartxworks/slot-fallback
...
feat(runtime): pass slot fallback into slot elements
2022-07-14 13:41:38 +08:00
Bowen Tan
ac7e643939
feat(docs): update readme
2022-07-14 12:03:37 +08:00
Bowen Tan
9c273a49d5
feat(docs): compress logo image
2022-07-14 12:03:02 +08:00
Bowen Tan
5fc9025663
feat(docs): add sunmao start link in readme
2022-07-14 12:03:02 +08:00
yz-yu
617d4e0963
Merge pull request #518 from smartxworks/fix/button-warning
...
fix(styleTraitForm): fix nested button warning
2022-07-14 11:35:20 +08:00
yz-yu
4035e70ce9
Merge pull request #516 from smartxworks/remove-react-markdown
...
fix(runtime): remove react-markdown
2022-07-14 10:54:44 +08:00
Yanzhen Yu
bae3f5d5b7
feat(runtime): use render set to check all the slot elements hidden or not
...
only attach fallback element to the last hidden slot
2022-07-13 22:22:55 +08:00
Bowen Tan
12802c1354
fix(validator): treat dynamic state from trait as any type
2022-07-13 17:55:48 +08:00
Bowen Tan
4d02ab35d3
fix(validator): can not validate array element whose index is bigger than 0
2022-07-13 17:42:45 +08:00
Bowen Tan
dcff01f801
feat(validator): auto fix missing property error
2022-07-13 17:42:45 +08:00
Bowen Tan
f62c6ce384
fix(validator): validator will not warn local variables in iife in expression
2022-07-13 17:42:45 +08:00
Bowen Tan
1be10f0423
fix(numberField): number field now will save on blur
2022-07-13 17:42:44 +08:00
Bowen Tan
52171ede0d
fix(validator): improve event trait validator rule
2022-07-13 17:42:44 +08:00
Bowen Tan
158c462a95
fix(validator): add expression keywords list
2022-07-13 17:42:44 +08:00
Bowen Tan
5f8da1bc0e
fix(validator): validator can not detect dynamic state from trait
2022-07-13 17:42:44 +08:00
Bowen Tan
7205a1ebdb
fix(styleTraitForm): fix nested button warning
2022-07-13 17:37:42 +08:00
Yanzhen Yu
01404a2d20
feat(runtime): pass slot fallback into slot elements
...
Previously, we introduce if condition to the slot trait, which helps
render slot element conditionally. But it is not easy for a component
developer to implement fallback UI of a slot, because neither the
if condition is true or false, the slot elements function will return
the ImplWrapperMain component.
This patch bring a new way to implement fallback UI, by passing the
fallback UI as the second parameter of the slot elements function.
2022-07-13 16:51:47 +08:00
yz-yu
5b68572a5c
Merge pull request #517 from smartxworks/remove-webzard
...
docs(*): replace webzard-io with smartxworks
2022-07-13 15:37:38 +08:00
Bowen Tan
bf9911f67c
docs(*): replace webzard-io with smartxworks
2022-07-13 14:59:19 +08:00
Bowen Tan
f60bcfe73b
fix(runtime): remove react-markdown
2022-07-13 14:56:54 +08:00
tanbowensg
3f94a694e0
Merge pull request #504 from smartxworks/feat/arco-slider
...
feat(arco/Slider): add formatTooltip slot
2022-07-13 10:41:56 +08:00
xzdry
d300c2ba3a
feat(arco/Slider): add tooltip slot
2022-07-13 10:14:02 +08:00
tanbowensg
3db323e41e
Merge pull request #499 from smartxworks/feat/windlike-dev
...
feat: make the slot more compact
2022-07-13 10:08:08 +08:00
tanbowensg
43fb32713d
Merge pull request #484 from smartxworks/feat/module-spec
...
Dynamically add module spec
2022-07-13 10:07:27 +08:00
MrWindlike
9aceb6fd6b
refactor: revert the codes of appendTo
2022-07-12 10:01:03 +08:00
yz-yu
ec5de53eaf
Merge pull request #514 from smartxworks/pub/0.7.1
...
Publish 0.7.1
2022-07-11 18:51:37 +08:00
Bowen Tan
042c0b4b98
chore(*): publish
...
- @sunmao-ui/arco-lib@0.3.1
- @sunmao-ui/chakra-ui-lib@0.5.1
- @sunmao-ui/core@0.7.1
- @sunmao-ui/editor-sdk@0.3.1
- @sunmao-ui/editor@0.7.1
- @sunmao-ui/runtime@0.7.1
- @sunmao-ui/shared@0.2.1
- @sunmao-ui/vite-plugin-fs@0.0.1
- @sunmao-ui/vite-plugins@1.0.3
2022-07-11 18:02:12 +08:00
tanbowensg
e3eeb0987f
Merge pull request #513 from smartxworks/develop
...
Merge develop branch to main
2022-07-11 18:00:00 +08:00
tanbowensg
2accbfc9e7
Merge pull request #512 from smartxworks/fix/solve-conlict
...
solve conflict from main to develop
2022-07-11 17:54:15 +08:00
Bowen Tan
17fc520bde
Merge branch 'main' into develop
...
* main:
style(editor): fix the `DataForm` styles
# Conflicts:
# packages/editor-sdk/src/components/Widgets/ObjectField.tsx
2022-07-11 17:38:31 +08:00
tanbowensg
b9ed09dc4c
Merge pull request #510 from smartxworks/fix/windlike-dev
...
refactor: move the codes of importing the arco styles
2022-07-11 17:24:26 +08:00
yz-yu
fa73f5e1ee
Merge pull request #509 from smartxworks/chore/docs
...
update license and docs
2022-07-11 17:18:03 +08:00