Commit Graph

1512 Commits

Author SHA1 Message Date
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
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
MrWindlike
31eba59e65 refactor: move the codes of importing the arco styles 2022-07-11 17:14:31 +08:00
Bowen Tan
6cdcc2ace4 chore(*): replace MIT with apache 2.0 2022-07-11 16:34:18 +08:00
MrWindlike
4b4f729674 refactor: split the appendTo of component model 2022-07-11 14:58:44 +08:00
Bowen Tan
3efcc68371 chore(*): remove spec folder 2022-07-11 14:48:46 +08:00
Bowen Tan
1d4e286e59 docs(*): add architecture folder 2022-07-11 14:48:30 +08:00
Bowen Tan
3e0bdf64a6 chore(*): add NOTICE.md 2022-07-11 14:25:10 +08:00
Bowen Tan
8aefa1104b chore(*): update license to apache 2.0 in package.json 2022-07-11 14:17:59 +08:00
xzdry
3400d5c783 docs(module): add comment 2022-07-11 11:51:57 +08:00
tanbowensg
918be82351
Merge pull request #502 from smartxworks/fix/windlike-dev
fix: change the logic of the expression transform
2022-07-11 11:42:17 +08:00
tanbowensg
7d94249b45
Merge pull request #503 from smartxworks/refactor/arco
Refactor/arco
2022-07-11 11:41:54 +08:00
tanbowensg
fec5486dde
Merge pull request #505 from smartxworks/fix/arco-menu
fix(arco/Menu): fix a bug where the collapse button doesn't work
2022-07-11 11:41:16 +08:00