249 Commits

Author SHA1 Message Date
xzdry
d6aba768a3 refactor(arco/Tabs): remove placehoder
In some cases, tabs may not always have slots, so there is no need for placeholders here
2022-09-05 10:42:27 +08:00
xzdry
da5d342ef6 feat(arco/Table): add slot key 2022-09-05 09:31:07 +08:00
yz-yu
27bc77129e
Merge pull request #575 from smartxworks/build/dyanmic-import
Optimize bundle size
2022-09-03 21:51:52 +08:00
xzdry
1d6dc154fc feat(arco-lib/table): add default value 2022-09-01 13:17:29 +08:00
xzdry
9cb7ffcaad feat(arco-lib): add slot key 2022-09-01 09:58:50 +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
81c6d03b54 refactor(runtime): refactor utilMethodFactory type 2022-08-24 14:42:15 +08:00
Bowen Tan
6d06bb8514 refactor(*): beautify code 2022-08-23 15:22:02 +08:00
Yanzhen Yu
1c505334c7 refactor(runtime): temporary hack the list component with the new slot system 2022-08-23 10:28:08 +08:00
Bowen Tan
b2fb394031 build(dyamic-import): make some editor files dynamic import 2022-08-19 14:02:58 +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
Bowen Tan
e76b1571a6 Merge branch 'develop' into build/visualize
* develop:
  refactor(runtime): remove full import of lodash
  fix: fix clicking outside can't close the popover widget
  fix(PopoverWidget): compatible with the React 16
  feat(Select): add title to select option
  fix(stateManager): don't console.error expression errors by default
  feat(booleanWidget): auto convert non-boolean value to boolean
  feat(numberWidget): auto convert non-number value to number
  feat(expressionWidget): don't auto convert string to other type
  feat(stateManager): don't auto convert string to number or boolean
  feat(ArrayWidget): arrayWidget will try to eval value before render it

# Conflicts:
#	yarn.lock
2022-08-16 14:50:27 +08:00
MrWindlike
5216fd1e3c fix: fix the exampleProperties type errors 2022-08-16 11:52:16 +08:00
Bowen Tan
d272576087 build(chakra): split chakra widgets and lib 2022-08-16 10:49:17 +08:00
Bowen Tan
2f0ff46278 build(arco): split arco's lib and widgets 2022-08-12 10:49:47 +08:00
xzdry
55dd952d0e feat(Select): add title to select option 2022-08-08 17:56:17 +08:00
MrWindlike
9d4b93412a refactor: let the \deepEval\ support eval the expression string 2022-08-01 08:57:42 +08:00
Bowen Tan
ce63076747 fix(editor): import chakra arco widgets correctly 2022-07-27 16:34:01 +08:00
tanbowensg
0ea1a9edbd
Merge pull request #529 from smartxworks/feat/arco-widget
support for automatic generation of `rowKey` or setting from columns
2022-07-25 13:49:59 +08:00
xzdry
739ab07ee9 refactor(Table): remove auto-generated rowkey 2022-07-25 11:31:02 +08:00
tanbowensg
2ebdf5772e
Merge pull request #540 from smartxworks/main
Main
2022-07-21 14:45:03 +08:00
Bowen Tan
7d3bb7079f chore(*): publish
- @sunmao-ui/arco-lib@0.3.4
 - @sunmao-ui/chakra-ui-lib@0.5.4
 - @sunmao-ui/editor-sdk@0.3.4
 - @sunmao-ui/editor@0.7.4
2022-07-20 14:39:53 +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
xzdry
265ba4a6c1 feat(arco/Table): support for automatic generation of rowKey or setting from columns 2022-07-17 17:16:25 +08:00
xzdry
9d0e732163 feat(arco): add arco TablePrimaryKeyWidget 2022-07-17 17:09:46 +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
MrWindlike
2b74ce4848 feat: check the exampleProperties type 2022-07-14 14:42:49 +08:00
Bowen Tan
bf9911f67c docs(*): replace webzard-io with smartxworks 2022-07-13 14:59:19 +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
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
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
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
MrWindlike
4f84872e33 fix: fix the tests fail 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
Bowen Tan
0c898dadb6 feat(runtime): add isInEditor property 2022-07-01 18:27:51 +08:00
xzdry
50c5390202 feat(Link): add slot to link components 2022-07-01 10:24:59 +08:00