Commit Graph

754 Commits

Author SHA1 Message Date
MrWindlike
79c4c29e95 chore: fix test cases and change some properties' spec 2022-02-15 15:19:05 +08:00
MrWindlike
fc15a2dc50 feat(lib): change properties spec 2022-02-15 13:49:36 +08:00
tanbowensg
a0a5a653a2
Merge pull request #270 from webzard-io/feat/datasource
feat: make the DataSource as an independent panel
2022-02-14 14:01:21 +08:00
tanbowensg
8567a83e28
Merge pull request #273 from webzard-io/feat/property-classification
feat: classify the properties of the components
2022-02-14 10:41:46 +08:00
MrWindlike
82eec7dcd2 fix(runtime): delete the component state when unmounting 2022-02-14 09:49:19 +08:00
yz-yu
558b834321
Merge pull request #274 from webzard-io/auto-complete
Auto complete: improve DX
2022-02-13 14:26:55 +08:00
Yanzhen Yu
7290a721d5 improve overlay mode and impl editor modal 2022-02-13 14:09:15 +08:00
Yanzhen Yu
b4e1ea2dc3 improve expression editor with codemirror multiplexing and overlay 2022-02-12 15:46:33 +08:00
xzdry
1a03f331e3 feat: classify the properties of the components 2022-02-12 14:21:06 +08:00
yz-yu
7ab7afa6a7
Merge pull request #271 from webzard-io/fix/wrapper-drop-bug
fix can not drop component in mask bug
2022-02-12 00:10:29 +08:00
MrWindlike
13c6196205 chore: eslint fixed 2022-02-11 17:48:31 +08:00
MrWindlike
7e14b0b2c5 chore(DataSource): improve the codes 2022-02-11 17:43:37 +08:00
tanbowensg
1304083729
Merge pull request #272 from webzard-io/fix/windlike-patch
fix(editor): auto change selected component id after id changed
2022-02-11 16:39:03 +08:00
Bowen Tan
64deb7ef42 fix can not drop component in mask bug 2022-02-11 16:21:33 +08:00
MrWindlike
d670694361 fix(editor): auto change selected component id after id changed
ISSUE: https://github.com/webzard-io/sunmao-ui/issues/264
2022-02-11 16:18:17 +08:00
MrWindlike
cfa14078c4 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-02-11 11:34:20 +08:00
MrWindlike
5fededd409 feat(editor): improve UI 2022-02-11 10:31:18 +08:00
MrWindlike
7d06ca61e1 fix(editor): fix the API DataSource params replaced wrong 2022-02-11 10:03:41 +08:00
MrWindlike
f27a1b6a64 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/datasource 2022-02-11 09:59:56 +08:00
MrWindlike
4ee2dea836 feat(editor): improve UI interaction 2022-02-11 09:45:01 +08:00
yz-yu
c7b91c24ca
Merge pull request #269 from webzard-io/auto-complete
do not reset value when original value is undefined
2022-02-10 23:39:52 +08:00
Yanzhen Yu
75cf9d0128 do not reset value when original value is undefined 2022-02-10 23:33:20 +08:00
yz-yu
0b41f3dc0a
Merge pull request #268 from webzard-io/feat/absolute-wrapper
Remove `ComponentWrapper` and add `EditorMaskWrapper` in `Editor`.
2022-02-10 18:58:00 +08:00
Bowen Tan
4cbb6f187c rename and add test 2022-02-10 18:17:05 +08:00
MrWindlike
5642fde8dc Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/datasource 2022-02-10 18:12:38 +08:00
MrWindlike
69a1f7cd35 feat: make the DataSource as an independent panel 2022-02-10 18:05:05 +08:00
Bowen Tan
f40c42fa8a add ref to chakra-ui components 2022-02-10 15:34:10 +08:00
Bowen Tan
cb3d7e9dd2 refine code 2022-02-10 15:34:10 +08:00
Bowen Tan
1e29658fef drag component to mask 2022-02-10 15:34:10 +08:00
Bowen Tan
5aecab13b3 use resize observer 2022-02-10 15:34:09 +08:00
Bowen Tan
07a0a0af61 add drop slot area 2022-02-10 15:34:09 +08:00
Bowen Tan
053ca3bc63 add lifecycles 2022-02-10 15:34:09 +08:00
Bowen Tan
9f8a23902d detect mouse position 2022-02-10 15:34:09 +08:00
Bowen Tan
5d182f9a0a render border 2022-02-10 15:34:09 +08:00
yz-yu
90cd805437
Merge pull request #267 from webzard-io/auto-complete
Auto complete: reset field value when change from code mode to simple mode
2022-02-10 00:11:21 +08:00
Yanzhen Yu
5d2418f8dd improve #225, reset field value when type miss match 2022-02-10 00:02:08 +08:00
Yanzhen Yu
f0810a09f1 customize state viewer theme 2022-02-09 23:49:48 +08:00
yz-yu
5ddf475b9c
Merge pull request #266 from webzard-io/auto-complete
component category annotation
2022-02-09 16:12:32 +08:00
Yanzhen Yu
f46df01acc add category annotation to chakra ui lib 2022-02-09 14:50:33 +08:00
Yanzhen Yu
31bfa1fc32 refactor component list with category annotation 2022-02-09 13:41:04 +08:00
Yanzhen Yu
a722dcc34a extend metadata and set category annotation to core components 2022-02-09 12:50:51 +08:00
yz-yu
f68207c91c
Merge pull request #265 from webzard-io/auto-complete
impl #225 trigger auto-complete when typing
2022-02-09 09:36:51 +08:00
Yanzhen Yu
c683619a86 impl #225 trigger auto-complete when typing 2022-02-08 18:27:02 +08:00
yz-yu
96d5bfc76e
Merge pull request #243 from webzard-io/improve/xzdry
feat: change selected componet will automatically jump to the inspect…
2022-02-08 18:25:37 +08:00
yz-yu
a361a1b4d1
Merge pull request #262 from webzard-io/auto-complete
put prettier eslint config to the last
2022-02-08 18:08:20 +08:00
Yanzhen Yu
8b84fb4863 put prettier eslint config to the last 2022-02-08 13:50:10 +08:00
tanbowensg
ed913afc94
Merge pull request #260 from webzard-io/feat/windlike-patch
feat(editor): auto-complete the parameters of the method
2022-02-08 11:00:34 +08:00
yz-yu
ba8c5dfa2e
Merge pull request #259 from webzard-io/fix/fix-module-bug
fix bug that the editor will crash after switching module
2022-02-07 17:43:28 +08:00
MrWindlike
ac1c09e98f feat(editor): auto-complete the parameters of the method 2022-02-07 17:24:44 +08:00
xzdry
727718010b fix: use @typescript-eslint/no-unused-vars instead of no-unused-vars to support typescript 2022-02-07 15:58:30 +08:00