Commit Graph

65 Commits

Author SHA1 Message Date
炒米粉
14ac195f37
chore(validator): remove a log-line 2022-07-28 11:19:00 +08:00
炒米粉
c20a02ed61 chore(validator): comment out a log-line 2022-07-28 01:54:59 +08:00
Bowen Tan
d9671e6515 fix(validator): if a object json schema does not have specific properties, treat it as any type 2022-07-27 17:58:40 +08:00
Bowen Tan
cf62b867ba fix(validator): allow using question mask in expression 2022-07-27 17:13:33 +08:00
Bowen Tan
d21e1526f6 fix(validator): add AnyTypePlaceholder for nester object 2022-07-26 18:07:42 +08:00
Bowen Tan
1ddb111a0d fix(shared): use default value instead of undefined when generate default value from spec 2022-07-22 18:15:54 +08:00
tanbowensg
2ebdf5772e
Merge pull request #540 from smartxworks/main
Main
2022-07-21 14:45:03 +08:00
Bowen Tan
5c6db91554 chore(*): publish
- @sunmao-ui/arco-lib@0.3.3
 - @sunmao-ui/chakra-ui-lib@0.5.3
 - @sunmao-ui/core@0.7.3
 - @sunmao-ui/editor-sdk@0.3.3
 - @sunmao-ui/editor@0.7.3
 - @sunmao-ui/runtime@0.7.3
 - @sunmao-ui/shared@0.2.3
 - @sunmao-ui/vite-plugin-fs@0.0.3
 - @sunmao-ui/vite-plugins@1.0.5
2022-07-18 17:27:57 +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
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
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
MrWindlike
2b74ce4848 feat: check the exampleProperties type 2022-07-14 14:42:49 +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
dcff01f801 feat(validator): auto fix missing property error 2022-07-13 17:42:45 +08:00
Bowen Tan
158c462a95 fix(validator): add expression keywords list 2022-07-13 17:42:44 +08:00
Bowen Tan
bf9911f67c docs(*): replace webzard-io with smartxworks 2022-07-13 14:59:19 +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
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
Bowen Tan
8aefa1104b chore(*): update license to apache 2.0 in package.json 2022-07-11 14:17:59 +08:00
xzdry
98c98547bc Merge branch 'develop' of github.com:webzard-io/sunmao-ui into feat/module-spec 2022-07-07 09:32:18 +08:00
xzdry
9833797959 Merge branch 'develop' of github.com:webzard-io/sunmao-ui into refactor/parseTypebox 2022-07-06 11:29:47 +08:00
xzdry
cd1cf3d576 refactor: rename the parseTypebox to generateDefaultValueFromSpec and refactor it
1. use spec.required to judge optional properties
2. rename the parseTypebox to
generateDefaultValueFromSpec
2022-07-06 11:27:05 +08:00
MrWindlike
e70c2d5ea4 refactor: move the type definitions to the suitable packages 2022-07-05 10:00:44 +08:00
MrWindlike
b313ee5731 refactor: change the file name 2022-07-05 10:00:44 +08:00
MrWindlike
442c7711c3 feat: auto detect the raw properties types 2022-07-05 09:56:58 +08:00
MrWindlike
cd3f10c35e refactor: move the type definitions to the suitable packages 2022-07-05 09:51:54 +08:00
MrWindlike
172474042d refactor: change the file name 2022-07-05 09:51:54 +08:00
MrWindlike
9b54bd17cb feat(widget): complete the widget type detecting 2022-07-05 09:51:51 +08:00
MrWindlike
a25a86b48d feat: auto detect the raw properties types 2022-07-05 09:29:19 +08:00
xzdry
6fd3320332 refactor: refactor parserTypebox 2022-07-04 17:53:03 +08:00
tanbowensg
ee61b65a62
Merge pull request #476 from webzard-io/ssr
Make runtime ssr ready
2022-07-01 09:55:43 +08:00
xzdry
26caa7f1b3 feat(Module): dynamically add module spec 2022-06-28 15:51:26 +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
Bowen Tan
6652f9aa02 chore(package.json): update peerdependencies 2022-06-23 16:32:40 +08:00
MrWindlike
7aa96ebb19 perf: improve the struct tree performance 2022-06-23 15:00:43 +08:00
Bowen Tan
492927864a chore(*): make runtime support ssr 2022-06-23 14:12:59 +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
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
xzdry
a62283eeec feat(StyleTraitForm): add padding and margin widget 2022-06-17 18:42:30 +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
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
Bowen Tan
3da918ce7f fix(FontWidget): improve font widget 2022-06-10 14:05:22 +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
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
MrWindlike
6e22f1f852 feat: add the iframe component
ISSUES CLOSED: #396
2022-06-07 14:17:46 +08:00