Commit Graph

808 Commits

Author SHA1 Message Date
tanbowensg
2636bd8a8f
Merge pull request #293 from webzard-io/feat/property-classification
feat: add a preset order to property categories
2022-02-24 13:44:38 +08:00
xzdry
d982fb098a feat: add and export PRESET_PROPERTY_CATEGORY 2022-02-24 10:27:14 +08:00
yz-yu
456a1c5121
Merge pull request #303 from webzard-io/fix/code-mode
fix: cannot save changes from code mode
2022-02-23 15:07:14 +08:00
Bowen Tan
bb997b2ac2 fix: cannot save changes from code mode 2022-02-23 15:00:55 +08:00
yz-yu
f0099ab245
Merge pull request #300 from webzard-io/fix/component-tree
fix component tree bug and improve interaction
2022-02-23 13:48:25 +08:00
xzdry
33a4ed2592 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/property-classification 2022-02-23 10:47:54 +08:00
tanbowensg
76d3a749cc
Merge pull request #298 from webzard-io/yz-patch
fix tsconfig to emit declaration files
2022-02-22 14:29:17 +08:00
Bowen Tan
1a23dde524 fix: component should not be drop to its self or children 2022-02-22 14:16:11 +08:00
Bowen Tan
ea42b336cc feat: If you drag a component after an expanded component, this component will be append to its child. 2022-02-22 11:19:37 +08:00
Yanzhen Yu
28f556de09 fix tsconfig to emit declaration files 2022-02-22 11:14:08 +08:00
tanbowensg
5a4d58c44a
Merge pull request #297 from webzard-io/yz-patch
improve the expression parser
2022-02-22 09:58:44 +08:00
Yanzhen Yu
1c0d843240 improve the expression parser
By introducing a looking ahead algorithm,
now we can correctly parse expressions like:
{{{a: 1}}}
2022-02-21 19:49:31 +08:00
yz-yu
29b315e403
Merge pull request #295 from webzard-io/yz-patch
small changes
2022-02-21 19:47:47 +08:00
Yanzhen Yu
473458abe3 export local storage manager 2022-02-21 19:13:43 +08:00
yz-yu
51a7de0fb3
Merge pull request #296 from webzard-io/fix/copy-bug
Fix pasting component bug & support pasting component to root level
2022-02-21 19:12:39 +08:00
Bowen Tan
6b5c170691 Support coping component to root level when no component is selected. 2022-02-21 18:18:03 +08:00
Bowen Tan
315f4945ad fix typo 2022-02-21 18:04:20 +08:00
Bowen Tan
abeccd45b4 fix the bug that a component cannot be copied multiple times 2022-02-21 17:54:25 +08:00
Yanzhen Yu
04ec9e6845 remove plain button component 2022-02-21 15:35:13 +08:00
xzdry
0a2b2fa3b6 feat: add a preset order to property categories 2022-02-21 13:42:41 +08:00
tanbowensg
2459bd6c34
Merge pull request #290 from webzard-io/fix/windlike-patch
fix(runtime): remove executing trait from `useState`
2022-02-21 11:10:55 +08:00
MrWindlike
da29f5a8cd fix(runtime): remove executing trait from useState 2022-02-21 10:15:22 +08:00
yz-yu
42759fd157
Merge pull request #288 from webzard-io/publish
Publish
2022-02-17 18:22:40 +08:00
Bowen Tan
7ca0781393 Publish
- @sunmao-ui/chakra-ui-lib@0.2.0
 - @sunmao-ui/core@0.4.0
 - @sunmao-ui/editor@0.4.0
 - @sunmao-ui/runtime@0.4.0
2022-02-17 18:04:31 +08:00
tanbowensg
4c9cd90d95
Merge pull request #287 from webzard-io/fix/bugs
fix 2 bugs and  add chakra switch component
2022-02-17 17:58:11 +08:00
Bowen Tan
a7e4f3e5f7 remove empty application template 2022-02-17 17:54:44 +08:00
Bowen Tan
4bed7d5aae add chakra switch component 2022-02-17 17:44:32 +08:00
Bowen Tan
6bb6acc617 fix bug that new created component is not observed resize 2022-02-17 16:26:43 +08:00
Bowen Tan
8df35c22bf fix text component cannot be selected bug 2022-02-17 15:24:44 +08:00
Bowen Tan
f782e68ae3 register lib in PreviewModal 2022-02-17 15:13:49 +08:00
yz-yu
16f18772fc
Merge pull request #286 from webzard-io/fix/mask-scroll
fix: mask position calculation is wrong after scrolling
2022-02-17 12:19:40 +08:00
Bowen Tan
f360632a06 fix: mask position calculation is wrong after scrolling 2022-02-17 11:49:54 +08:00
yz-yu
dfb2b66a0e
Merge pull request #283 from webzard-io/fix/bugs
fix some small bugs
2022-02-16 16:35:09 +08:00
Bowen Tan
19a0d7292f hide explorer 2022-02-16 15:16:13 +08:00
tanbowensg
878af2eeeb
Merge pull request #284 from webzard-io/fix/windlike-patch
fix(editor): fix setting API's body
2022-02-16 15:14:14 +08:00
MrWindlike
535e19bd9f fix(editor): fix setting API's body 2022-02-16 14:39:48 +08:00
Bowen Tan
b6fd5c1512 fix the bug that cannot drag component to a selected component 2022-02-16 11:25:05 +08:00
Bowen Tan
2df5395665 fix typo: hanlder => handler 2022-02-16 11:02:22 +08:00
Bowen Tan
46137aa8d2 Fix the bug that page cannot scroll when chakra dialog is openning. 2022-02-16 10:53:06 +08:00
tanbowensg
47a63e00c5
Merge pull request #282 from webzard-io/fix/windlike-patch
fix(runtime): fix deleting state in the wrong time
2022-02-15 17:02:50 +08:00
MrWindlike
363af1b817 fix(runtime): fix deleting state in the wrong time 2022-02-15 16:55:54 +08:00
yz-yu
61d97fc55a
Merge pull request #280 from webzard-io/fix/disable-save-anyway
validation error will not block save anymore
2022-02-15 15:44:01 +08:00
tanbowensg
114babd865
Merge pull request #281 from webzard-io/feat/chakra-properties-category
feat(lib): change properties spec
2022-02-15 15:43:03 +08:00
yz-yu
da43750319
Merge pull request #276 from webzard-io/feat/property-classification
fix: fix bugs with incorrect setting values and incorrect sorting
2022-02-15 15:27:56 +08:00
MrWindlike
79c4c29e95 chore: fix test cases and change some properties' spec 2022-02-15 15:19:05 +08:00
xzdry
0aa55c7ad0 fix: use advance instead of basic and put it at the bottom 2022-02-15 15:12:35 +08:00
MrWindlike
fc15a2dc50 feat(lib): change properties spec 2022-02-15 13:49:36 +08:00
Bowen Tan
f6cafef182 validation error will not block save anymore 2022-02-15 10:22:44 +08:00
tanbowensg
5c13455f44
Merge pull request #279 from webzard-io/yz-patch
use auto refresh addon in code mirror
2022-02-15 09:52:12 +08:00
Yanzhen Yu
dc271becd9 use auto refresh addon in code mirror 2022-02-14 23:27:07 +08:00