101 Commits

Author SHA1 Message Date
MrWindlike
48471bdc2d chore(*): publish
- @sunmao-ui/arco-lib@0.10.8
 - @sunmao-ui/chakra-ui-lib@0.10.8
 - @sunmao-ui/core@0.10.5
 - @sunmao-ui/editor-sdk@0.10.8
 - @sunmao-ui/editor@0.10.8
 - @sunmao-ui/runtime@0.10.7
 - @sunmao-ui/shared@0.10.5
 - @sunmao-ui/vite-plugin-fs@0.1.4
 - @sunmao-ui/vite-plugins@1.1.4
2023-04-18 13:19:55 +08:00
MrWindlike
b22e97c4ad chore(*): publish
- @sunmao-ui/arco-lib@0.10.6
 - @sunmao-ui/chakra-ui-lib@0.10.6
 - @sunmao-ui/core@0.10.4
 - @sunmao-ui/editor-sdk@0.10.6
 - @sunmao-ui/editor@0.10.6
 - @sunmao-ui/runtime@0.10.5
 - @sunmao-ui/shared@0.10.4
 - @sunmao-ui/vite-plugin-fs@0.1.3
 - @sunmao-ui/vite-plugins@1.1.3
2023-04-18 12:47:14 +08:00
MrWindlike
695277ffcb chore(*): publish
- @sunmao-ui/arco-lib@0.10.4
 - @sunmao-ui/chakra-ui-lib@0.10.4
 - @sunmao-ui/core@0.10.3
 - @sunmao-ui/editor-sdk@0.10.4
 - @sunmao-ui/editor@0.10.4
 - @sunmao-ui/runtime@0.10.4
 - @sunmao-ui/shared@0.10.3
 - @sunmao-ui/vite-plugin-fs@0.1.2
 - @sunmao-ui/vite-plugins@1.1.2
2023-04-18 12:47:14 +08:00
MrWindlike
55e0a3971f chore(*): publish
- @sunmao-ui/arco-lib@0.10.3
- @sunmao-ui/chakra-ui-lib@0.10.3
- @sunmao-ui/editor-sdk@0.10.3
- @sunmao-ui/editor@0.10.3
- @sunmao-ui/runtime@0.10.3
- @sunmao-ui/shared@0.10.2
2023-04-18 12:46:56 +08:00
MrWindlike
80bb8cb8e3 chore(*): publish
- @sunmao-ui/arco-lib@0.10.4
 - @sunmao-ui/chakra-ui-lib@0.10.4
 - @sunmao-ui/core@0.10.3
 - @sunmao-ui/editor-sdk@0.10.4
 - @sunmao-ui/editor@0.10.4
 - @sunmao-ui/runtime@0.10.4
 - @sunmao-ui/shared@0.10.3
 - @sunmao-ui/vite-plugin-fs@0.1.2
 - @sunmao-ui/vite-plugins@1.1.2
2023-04-18 12:45:54 +08:00
MrWindlike
0daacaa1f1 chore(*): publish
- @sunmao-ui/arco-lib@0.10.3
- @sunmao-ui/chakra-ui-lib@0.10.3
- @sunmao-ui/editor-sdk@0.10.3
- @sunmao-ui/editor@0.10.3
- @sunmao-ui/runtime@0.10.3
- @sunmao-ui/shared@0.10.2
2023-04-18 12:45:54 +08:00
Bowen Tan
a33f545b38 feat: editor supports module method 2023-03-30 15:58:27 +08:00
Bowen Tan
17e8439294 feat: support listening module events by event trait 2023-03-29 16:47:24 +08:00
Bowen Tan
b0a503e9f3 chore(*): publish
- @sunmao-ui/arco-lib@0.10.1
 - @sunmao-ui/chakra-ui-lib@0.10.1
 - @sunmao-ui/core@0.10.1
 - @sunmao-ui/editor-sdk@0.10.1
 - @sunmao-ui/editor@0.10.1
 - @sunmao-ui/runtime@0.10.1
 - @sunmao-ui/shared@0.10.1
2023-02-16 17:30:34 +08:00
Bowen Tan
7825171526 chore(*): update all to 0.10.0 2023-02-16 17:29:32 +08:00
Bowen Tan
a2ef9cd676 Merge branch 'develop' into publish 2023-02-16 17:28:16 +08:00
Bowen Tan
46e8bf43e4 feat(editor-sdk): breadcrumb widget 2023-02-13 17:10:09 +08:00
tanbowensg
a09b65955c
Merge pull request #669 from smartxworks/feat/event-widget-form
Editor support emit and listen module's event
2023-01-18 10:03:54 +08:00
Bowen Tan
096bc5d1c6 chore(*): publish
- @sunmao-ui/arco-lib@0.6.0-alpha.0
 - @sunmao-ui/chakra-ui-lib@0.8.0-alpha.0
 - @sunmao-ui/core@0.10.0-alpha.0
 - @sunmao-ui/editor-sdk@0.6.0-alpha.0
 - @sunmao-ui/editor@0.10.0-alpha.0
 - @sunmao-ui/runtime@0.10.0-alpha.0
 - @sunmao-ui/shared@0.5.0-alpha.0
2023-01-17 16:43:32 +08:00
Bowen Tan
5725cb7481 Merge branch 'feat/extract-module' into publish
* feat/extract-module:
  feat(editor): add extract module feature
  feat(editor): add view state button in component action menu
  refactor(module): the type of events is rolled back to string[]
  fix(ModuleWidget): no need to check if it is an expression
  style(RecordEditor): change the background of the record wiget's key
  style(EditorMask): change the z index value of the editor mask
  feat: add the default values of properties for the core traits
  fix(module): fix type error
  refactor(ModuleWidget): spec generation inferred from example properties
  refactor(Editor): refactoring module forms
  feat: support default value for property spec
  fix(arco): fix incorrect path import
  fix(Editor): fix modal going out of the middle area
  fix(localStorage): set initial value when value is empty
  feat: display the `$slot` hint
  feat(editor): add Component Relationship View Modal

# Conflicts:
#	packages/editor/src/components/StructureTree/ComponentNode.tsx
2023-01-17 16:41:54 +08:00
Bowen Tan
19b7c03881 feat(editor): add extract module feature 2023-01-13 14:13:35 +08:00
Bowen Tan
0c6dfdd06b feat(editor): event widget support choose $module as target 2023-01-10 14:02:22 +08:00
MrWindlike
0fc2b176b1 feat: support default value for property spec 2023-01-10 11:35:25 +08:00
Bowen Tan
270feb6eca chore(*): publish
- @sunmao-ui/arco-lib@0.5.0
 - @sunmao-ui/chakra-ui-lib@0.7.0
 - @sunmao-ui/core@0.9.0
 - @sunmao-ui/editor-sdk@0.5.0
 - @sunmao-ui/editor@0.9.0
 - @sunmao-ui/runtime@0.9.0
 - @sunmao-ui/shared@0.4.0
2022-12-27 10:27:37 +08:00
Bowen Tan
ace4cb1da1 chore(*): publish
- @sunmao-ui/arco-lib@0.5.0-alpha.3
 - @sunmao-ui/chakra-ui-lib@0.7.0-alpha.3
 - @sunmao-ui/core@0.9.0-alpha.1
 - @sunmao-ui/editor-sdk@0.5.0-alpha.3
 - @sunmao-ui/editor@0.9.0-alpha.4
 - @sunmao-ui/runtime@0.9.0-alpha.2
 - @sunmao-ui/shared@0.3.2-alpha.0
2022-12-14 14:05:47 +08:00
Bowen Tan
112d7014ae Merge branch 'feat/relationship' into publish
* feat/relationship:
  feat(editor): add Component Relationship View Modal
  test(runtime): add slot trait test
  feat(runtime): support Component DataSource
  fix(editor): hide deprecated component is component list
  feat(core): add deprecated metadata field
  style: change the style of the expression hint
  feat(EventForm): show event name of event handler
  feat(ExpressionEditor): allow pressing tab to switch field input
  feat(Descriptions): add title, label, value slots
  feat(PopoverWidget): add appendToParent option
  fix(PopoverWidget): add padding to popover bottom
  feat(PopoverWidget): add appentToBody option

# Conflicts:
#	packages/core/src/metadata.ts
#	packages/editor/src/components/ComponentsList/ComponentList.tsx
#	packages/runtime/src/index.ts
2022-12-14 14:01:21 +08:00
Bowen Tan
f85421e4e7 feat(core): add deprecated metadata field 2022-12-13 18:32:16 +08:00
Bowen Tan
d5ea4f1b4f chore(*): publish
- @sunmao-ui/arco-lib@0.4.1
 - @sunmao-ui/chakra-ui-lib@0.6.1
 - @sunmao-ui/core@0.8.1
 - @sunmao-ui/editor-sdk@0.4.1
 - @sunmao-ui/editor@0.8.1
 - @sunmao-ui/runtime@0.8.1
 - @sunmao-ui/shared@0.3.1
 - @sunmao-ui/vite-plugin-fs@0.1.1
 - @sunmao-ui/vite-plugins@1.1.1
2022-11-16 10:18:24 +08:00
Bowen Tan
4d34f6b46c chore(*): publish
- @sunmao-ui/arco-lib@0.4.0
 - @sunmao-ui/chakra-ui-lib@0.6.0
 - @sunmao-ui/core@0.8.0
 - @sunmao-ui/editor-sdk@0.4.0
 - @sunmao-ui/editor@0.8.0
 - @sunmao-ui/runtime@0.8.0
 - @sunmao-ui/shared@0.3.0
 - @sunmao-ui/vite-plugin-fs@0.1.0
 - @sunmao-ui/vite-plugins@1.1.0
2022-11-04 18:19:47 +08:00
Bowen Tan
2c1c2dba78 fix(runtime): remove $listItem 2022-10-14 16:36:44 +08:00
Bowen Tan
8e882c9c11 feat(runtime): add component life cycle events to Event Trait 2022-09-29 17:12:25 +08:00
Bowen Tan
801cd3c4b5 build(shared): add init ajv function 2022-09-22 15:39:03 +08:00
Bowen Tan
a881fce9e3 build(all): build bundle with React.createElement 2022-09-20 13:46:17 +08:00
xzdry
8f079d7731 fix: supplement test for generateDefaultValueFromSpec 2022-09-13 10:52:05 +08:00
xzdry
5c2e03d8f7 fix: generate array items defaults only when generating state examples 2022-09-13 10:15:30 +08:00
Bowen Tan
8e2a7d580f Merge branch 'develop' into build/dyanmic-import
* develop:
  fix(ValidationTrait): don't clear existing errors
  fix(StateManager): fix the can't deep eval the nest array issues
  feat(runtime): add style for ErrorBoundary
  feat(runtime): add ErrorBoundary to ImplWrapper
  refactor(runtime): refactor utilMethodFactory type
  refactor(runtime): add slot receiver to app services
  refactor(runtime): temporary hack the list component with the new slot system
  refactor(runtime): remove slot props from event trait
  perf(runtime): implement slot receiver to avoid of re-render when passing fallback elements
  perf(runtime): refactor the slot's props and fallback implementation
  fix(SpaceWidget): fix padding display misalignment
  fix: fix selecting component would change the properties' values issue
  refactor: remove the shared package from core
  fix: fix the `exampleProperties` type errors

# Conflicts:
#	packages/chakra-ui-lib/src/index.ts
2022-08-31 14:09:21 +08:00
Bowen Tan
1a084e115d build(dynamic-import): editor-sdk dynamic import succussfully 2022-08-18 16:28:05 +08:00
Bowen Tan
5dcde6c377 build(dynamic-import): dynamic import component success 2022-08-17 17:57:44 +08:00
tanbowensg
87074162c9
Merge pull request #568 from smartxworks/fix/windlike-dev
fix: fix the `exampleProperties` type errors
2022-08-16 15:39:06 +08:00
MrWindlike
5216fd1e3c fix: fix the exampleProperties type errors 2022-08-16 11:52:16 +08:00
Bowen Tan
789058e1e3 refactor(runtime): remove full import of lodash 2022-08-15 18:30:04 +08:00
炒米粉
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