Commit Graph

1547 Commits

Author SHA1 Message Date
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
MrWindlike
7e5242d37d refactor: change and add the validation trait examples 2022-07-11 13:59:34 +08:00
MrWindlike
dc76d8b550 feat: refactor the validation trait 2022-07-11 13:58:45 +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
tanbowensg
cc3f699407
Merge pull request #507 from smartxworks/feat/arco
Add NumberInput、Tag、Carousel component
2022-07-11 11:41:02 +08:00
xzdry
1767423c6c refactor(module): move module exampleProperties to metadata 2022-07-11 11:12:45 +08:00
tanbowensg
7336967e15
Merge pull request #506 from smartxworks/fix/arco-spec
fix: fix incorrect methods spec
2022-07-11 11:01:58 +08:00
xzdry
89ff09c6ea feat(arco/NumberInput): add NumberInput component 2022-07-08 18:13:26 +08:00
xzdry
350a149a3a feat(arco/Carousel): add Carousel component 2022-07-08 18:10:38 +08:00
xzdry
611070edd3 feat(arco/Tag): add Tag component 2022-07-08 18:08:48 +08:00
xzdry
de51f2c25e fix: fix incorrect methods spec 2022-07-08 17:05:25 +08:00
xzdry
2c0110a89f fix(arco/Menu): fix a bug where the collapse button doesn't work 2022-07-08 11:48:28 +08:00
xzdry
d717cc2a8c fix(arco/Input): fix a bug where inserting a slot causes it to be unselected 2022-07-08 11:41:29 +08:00
xzdry
d1f78caaa0 refactor(arco-lib): refining component properties 2022-07-08 11:18:12 +08:00
xzdry
ebea4d4eeb refactor(Skeleton): remove union type 2022-07-07 17:54:34 +08:00
yz-yu
639c873a97
Merge pull request #496 from webzard-io/doc/en
docs(*): add english version documents
2022-07-07 17:48:34 +08:00
MrWindlike
29876f491e fix: change the logic of the expression transform 2022-07-07 17:00:31 +08:00
tanbowensg
28ab2f4a3f
Merge pull request #498 from webzard-io/refactor/arco
feat(SpecWidget): spec description support markdown
2022-07-07 15:23:11 +08:00
MrWindlike
40a591e48b feat: make the slot more compact 2022-07-07 13:59:28 +08:00