MrWindlike
|
45fcf0d20d
|
fix: remove calling onChange in the useEffect of widgets
|
2022-03-03 23:58:55 +08:00 |
|
MrWindlike
|
f93c69af9c
|
feat: add the editor SDK package
|
2022-03-03 22:28:26 +08:00 |
|
MrWindlike
|
bae327d20e
|
feat: chang the widgets according to the proposal
|
2022-03-02 18:29:59 +08:00 |
|
yz-yu
|
6c67c735a7
|
Merge pull request #315 from webzard-io/fix/warning
fix the warning in console when create a new component
|
2022-02-28 18:14:36 +08:00 |
|
Bowen Tan
|
370c73c496
|
fix the warning in console when create a new component
|
2022-02-28 17:24:14 +08:00 |
|
Bowen Tan
|
8256c8ef8b
|
fix the bug that expression will re-eval everytime after store updating
|
2022-02-28 16:18:53 +08:00 |
|
Bowen Tan
|
339be0fb41
|
add generic type for eval functions
|
2022-02-25 15:49:41 +08:00 |
|
yz-yu
|
d19d665e2b
|
Merge pull request #307 from webzard-io/feat/event-payload
Make sure event handler is called in sync order and with the lateset state.
|
2022-02-25 14:16:06 +08:00 |
|
Bowen Tan
|
fe7a719211
|
convert proxy to raw object in deepEvalAndWatch & fix examples
|
2022-02-25 13:59:43 +08:00 |
|
Bowen Tan
|
a6b765d34f
|
eval handler before send event to keep the hanlder is the latest
|
2022-02-24 18:04:23 +08:00 |
|
Bowen Tan
|
9bb7fba7b3
|
fix: event is async when wait.time is 0
|
2022-02-24 18:03:31 +08:00 |
|
Bowen Tan
|
3c93faf1b8
|
fix: the deepeval watch method generates mutable object
|
2022-02-24 18:03:31 +08:00 |
|
MrWindlike
|
c46dfb102b
|
feat: support tab to change form focus
make tab key down in the compact expression editor to change form focus
|
2022-02-24 16:05:27 +08:00 |
|
MrWindlike
|
b8bb57f188
|
feat: set max height for ExpressionWidget
|
2022-02-24 15:59:39 +08:00 |
|
yz-yu
|
82104673c2
|
Merge pull request #299 from webzard-io/feat/datasource
feat: improve datasource[fix #289]
|
2022-02-24 14:23:35 +08:00 |
|
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 |
|
MrWindlike
|
bb573e9a80
|
fix: change the conditions to show expression btn
don't show button when schema type is `array` or `object`
|
2022-02-24 11:50:02 +08:00 |
|
MrWindlike
|
83fefbfd1d
|
chore: expose setCode from ExpressionEditor
|
2022-02-24 11:43:00 +08:00 |
|
xzdry
|
d982fb098a
|
feat: add and export PRESET_PROPERTY_CATEGORY
|
2022-02-24 10:27: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 |
|
MrWindlike
|
f8875ec486
|
fix: improve KeyValueEditor style
make the height of `StringField` input in the `KeyValueEditor` fixed
|
2022-02-22 14:26:56 +08:00 |
|
Bowen Tan
|
1a23dde524
|
fix: component should not be drop to its self or children
|
2022-02-22 14:16:11 +08:00 |
|
MrWindlike
|
8e5f079d7b
|
fix(editor): change prop defaultCode to code for ExpressionEditor
|
2022-02-22 13:01:26 +08:00 |
|
MrWindlike
|
2667383969
|
feat(editor): improve datasource and event form
support expression input and schema filed for datasource and event form
|
2022-02-22 12:06:33 +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 |
|
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 |
|
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 |
|
MrWindlike
|
0a7e91e8c8
|
Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/datasource
|
2022-02-21 14:06:17 +08:00 |
|
xzdry
|
0a2b2fa3b6
|
feat: add a preset order to property categories
|
2022-02-21 13:42:41 +08:00 |
|
MrWindlike
|
b0eb0921e2
|
fix(editor): prevent API and state form keyboard events to accidentally trigger operation shortcut
|
2022-02-21 11:22:56 +08:00 |
|
MrWindlike
|
da29f5a8cd
|
fix(runtime): remove executing trait from useState
|
2022-02-21 10:15:22 +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 |
|
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 |
|
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 |
|
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 |
|