109 Commits

Author SHA1 Message Date
xzdry
6aa2d0480c refactor(ComponentSearch): remove choc-ui and replace it with select 2023-03-22 11:38:08 +08:00
Bowen Tan
46e8bf43e4 feat(editor-sdk): breadcrumb widget 2023-02-13 17:10:09 +08:00
Bowen Tan
b9bc122bce feat(editor): auto detect no ref component dom element 2022-11-10 09:52:20 +08:00
Bowen Tan
78169e981e fix(editor): update codemirror to fix bug
see: https://github.com/codemirror/codemirror5/issues/6982
2022-09-22 16:58:36 +08:00
Bowen Tan
a881fce9e3 build(all): build bundle with React.createElement 2022-09-20 13:46:17 +08:00
Bowen Tan
462787183e build(editor-sdk): remove emotion/react 2022-09-16 16:04:06 +08:00
yz-yu
5eb5551a24
Merge pull request #599 from smartxworks/build/update-emotion
build(*): update emotion/react
2022-09-09 08:33:58 +08:00
Bowen Tan
e286c3683f build(*): update emotion/styled & emotion/react 2022-09-08 17:59:49 +08:00
Bowen Tan
73242820fa fix(build): downgrade framer-motion from 4 to 3 2022-09-07 16:12:09 +08:00
Bowen Tan
373cfb9ba9 refactor(editor): replace codemirror with react-codemirror2 2022-08-23 13:56:44 +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
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
Bowen Tan
d272576087 build(chakra): split chakra widgets and lib 2022-08-16 10:49:17 +08:00
Bowen Tan
789058e1e3 refactor(runtime): remove full import of lodash 2022-08-15 18:30:04 +08:00
Bowen Tan
2f0ff46278 build(arco): split arco's lib and widgets 2022-08-12 10:49:47 +08:00
Bowen Tan
adf789811b build(visualize): add visualize 2022-08-10 11:08:46 +08:00
Bowen Tan
f60bcfe73b fix(runtime): remove react-markdown 2022-07-13 14:56:54 +08:00
xzdry
e90d452a24 Merge branch 'develop' of github.com:webzard-io/sunmao-ui into feat/module-spec 2022-07-07 11:09:05 +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
MrWindlike
d713b6e13c feat: add @sunmao-ui/vite-plugin-fs 2022-07-06 16:49:07 +08:00
MrWindlike
41520f9f6b fix: avoid scrollIntoView affect the parent page when the editor is inserted as iframe 2022-07-01 17:05:57 +08:00
xzdry
408ef3691e chore: add @optum/json-schema-editor package 2022-06-28 15:53:45 +08:00
Bowen Tan
6652f9aa02 chore(package.json): update peerdependencies 2022-06-23 16:32:40 +08:00
Bowen Tan
492927864a chore(*): make runtime support ssr 2022-06-23 14:12:59 +08:00
Bowen Tan
54a757995d Merge branch 'develop' into test/runtime
* develop:
  chore: add the comments
  refactor(trait): use `implementRuntimeTrait` to implement the transformer trait
  fix(mask): fix the bug that mask location is wrong position when editor is scrolled
  feat(runtime, editor): support raw body in fetch trait
  fix(FormSection): fix  the property section not covering the code mirror window
  fix(Checkbox): synchronize the initial state of isCheckedAll & add the disabled property
  feat(arco): don't trigger onRowClicked method when clicking table's radios or checkboxs
  fix: css style string is parsed to char array accidently
  feat(runtime): remove react-grid-layout
  fix: the renaming, types and tests stuffs
  feat: a more comprehensive select component based on rc-select
  feat(editor): chagne the component id reference properties' values when changing the component id
  feat(operation): change the reference expressions when changing the component id

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper/ImplWrapperMain.tsx
2022-06-23 10:43:34 +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
644a070ed0 Merge branch 'main' into feat/merge-rc-select
* main:
  feat: a more comprehensive select component based on rc-select

# Conflicts:
#	yarn.lock
2022-06-22 10:24:13 +08:00
Bowen Tan
7a6a843f79 refactor(runtime): fix eslint
- @sunmao-ui/arco-lib@0.3.0-alpha.2
- @sunmao-ui/chakra-ui-lib@0.5.0-alpha.2
-
@sunmao-ui/editor-sdk@0.3.0-alpha.2
- @sunmao-ui/editor@0.7.0-alpha.2
-
@sunmao-ui/runtime@0.7.0-alpha.2
- @sunmao-ui/shared@0.2.0-alpha.2
2022-06-21 11:17:46 +08:00
Bowen Tan
92bcbfbfe8 test(runtime): add async merge state test 2022-06-21 10:46:29 +08:00
Bowen Tan
e18d3120b8 test(runtime): add single component test
* main:
feat: add the `requestFullscreen` method to the iframe component
feat: add the iframe
component
2022-06-21 10:46:28 +08:00
Bowen Tan
f58411bb83 test(runtime): init runtime test 2022-06-21 10:46:28 +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
xzdry
e5d6ead30e feat: a more comprehensive select component based on rc-select 2022-06-13 17:44:08 +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
5910e9d2d7
Merge pull request #432 from webzard-io/feat/arco
Feat/arco
2022-06-06 14:51:27 +08:00
xzdry
7f42012e09 chore: update arco version 2022-06-06 12:09:16 +08:00
MrWindlike
d1da6e64fa feat(widget): add the color widget 2022-06-02 13:51:25 +08:00
tanbowensg
6cec7d7a88
Merge pull request #415 from webzard-io/feat/module
feat(editor): add module mock properties in the editor
2022-05-26 10:22:33 +08:00
MrWindlike
8e455ce184 feat: add the module mock properties 2022-05-23 21:32:02 +08:00
MrWindlike
92526a7501 chore: change the commitlint versions 2022-05-23 15:49:24 +08:00
MrWindlike
ccad1f4fe2 chore: add commit lint and script 2022-05-23 15:48:47 +08:00
MrWindlike
8a68726348 feat: add the component searching 2022-05-19 15:41:40 +08:00
xzdry
b76957da70 feat(table): add ellipsis and change column width functions 2022-04-06 14:12:50 +08:00
xzdry
50f4545e10 add react-resizable to runtime 2022-03-28 15:14:30 +08:00
Bowen Tan
208737c98f add peer dependencies 2022-03-03 11:03:34 +08:00
Bowen Tan
ef0383e8e9 import arco lib 2022-03-01 18:30:07 +08:00
Bowen Tan
3c93faf1b8 fix: the deepeval watch method generates mutable object 2022-02-24 18:03:31 +08:00
Bowen Tan
8df35c22bf fix text component cannot be selected bug 2022-02-17 15:24:44 +08:00
tanbowensg
70873a491f
Merge pull request #244 from webzard-io/yanzhen-patch-2
improve state viewer UX
2022-02-07 10:59:09 +08:00