Commit Graph

563 Commits

Author SHA1 Message Date
Bowen Tan
1f6090868e revert build to es5 2022-01-06 16:31:57 +08:00
tanbowensg
4a1b2bc5f4
Merge pull request #196 from webzard-io/bundle
manage editor styles in a single CSS
2022-01-04 17:04:27 +08:00
Yanzhen Yu
262c212015 extract styles in runtime package 2022-01-04 15:37:28 +08:00
tanbowensg
9f0f9ef7f0
Merge pull request #198 from xzdry/fix-187
add key to SchemaField component to keep input state independent
2022-01-04 15:12:50 +08:00
xzdry
3f60e5ba12 add key to SchemaField component to keep input state independent 2022-01-04 14:25:10 +08:00
Yanzhen Yu
be72b98f24 manage editor styles in a single CSS
Some frameworks like Next.js does not like global CSS from node
modules, so we are going to bundle CSS into a single file with
postcss.

ref: https://github.com/vercel/next.js/discussions/27953
2022-01-04 13:44:30 +08:00
yz-yu
95459ecee6
Merge pull request #180 from webzard-io/type-safe
Live in a safer world:  type-safe component for sunmao-ui
2022-01-04 10:28:21 +08:00
Bowen Tan
02dc6e979e remove version 2 2021-12-31 14:53:55 +08:00
Bowen Tan
b698e1e5d2 update chakra-ui-lib slot 2021-12-31 10:54:19 +08:00
Bowen Tan
cca2930a2c fix chakra-ui-lib hooks lint 2021-12-30 17:56:24 +08:00
Bowen Tan
93fa2244d4 refactor chakra-ui-lib 2021-12-30 17:44:22 +08:00
Bowen Tan
70dad17dee refactor core components 2021-12-30 17:44:22 +08:00
Yanzhen Yu
c3834ae3ef type safe component: types and migrate one component 2021-12-30 17:44:21 +08:00
tanbowensg
cf2efa658f
Merge pull request #193 from webzard-io/refactor/react-hook-lint
add react hooks lint
2021-12-30 14:16:01 +08:00
Bowen Tan
959d3049b5 add react hooks lint 2021-12-30 13:54:19 +08:00
tanbowensg
9752aa03c2
Merge pull request #178 from webzard-io/module-parse-bug
fix module parsing bug
2021-12-29 10:45:45 +08:00
yz-yu
c88b600953
Merge pull request #182 from webzard-io/model
Add model for component and trait
2021-12-28 17:15:16 +08:00
yz-yu
56153a84b5
Merge pull request #184 from webzard-io/readme
update readme
2021-12-28 17:14:35 +08:00
Bowen Tan
5b805b715a fix code 2021-12-28 15:19:16 +08:00
Bowen Tan
607ea3361b update readme 2021-12-28 14:11:13 +08:00
Bowen Tan
70d4a1587f fix code style 2021-12-28 11:18:18 +08:00
Bowen Tan
27b5a3eb60 add validator tests 2021-12-27 17:32:55 +08:00
Bowen Tan
6bcee65a54 move appModel to root dir 2021-12-27 15:26:46 +08:00
Bowen Tan
26300bff0c refactor validator 2021-12-27 15:13:44 +08:00
Bowen Tan
3cbf92b720 add unit tests 2021-12-24 17:14:33 +08:00
Bowen Tan
97caa02d9e reactor model name 2021-12-24 17:06:16 +08:00
Bowen Tan
22ef4d12b9 refactor oprationmanager 2021-12-24 17:06:16 +08:00
Bowen Tan
c7cec729c0 add model operations 2021-12-24 17:06:16 +08:00
Bowen Tan
5c59f7d88c add some operations 2021-12-24 17:06:16 +08:00
Bowen Tan
3a505db5e2 add AppModel 2021-12-24 17:06:16 +08:00
yz-yu
3d51429240
Merge pull request #171 from webzard-io/validate
Schema Validator
2021-12-24 15:21:35 +08:00
tanbowensg
aab1292a0c
Merge pull request #179 from webzard-io/es5
upgrade tsup and compile to es5
2021-12-23 10:58:37 +08:00
Bowen Tan
38803c634a fix test 2021-12-23 10:25:44 +08:00
Yanzhen Yu
d4957b0096 upgrade tsup and compile to es5 2021-12-22 14:38:34 +08:00
Yanzhen Yu
3e7dab1bf9 add test case 2021-12-22 13:55:24 +08:00
Bowen Tan
b65cf04880 format code 2021-12-22 11:00:39 +08:00
Bowen Tan
b3497a8faf add "Save anyway" button 2021-12-22 11:00:39 +08:00
Bowen Tan
50614ab04a add module validator 2021-12-22 11:00:39 +08:00
Bowen Tan
c56de04500 split validator rules file 2021-12-22 11:00:38 +08:00
Bowen Tan
04dcdd9f8c fix cannot change event type bug 2021-12-22 11:00:38 +08:00
Bowen Tan
45e5d478fb add eventHandler validator rule 2021-12-22 11:00:38 +08:00
Bowen Tan
29c5054b6e refactor validator 2021-12-22 11:00:38 +08:00
Bowen Tan
15f0d704aa add error list ui 2021-12-22 11:00:38 +08:00
Bowen Tan
71e0d79095 make some components property option 2021-12-22 11:00:38 +08:00
Bowen Tan
2364e7aee6 make trait spec optional 2021-12-22 11:00:38 +08:00
Bowen Tan
2362940bb5 make spec of create functions optional 2021-12-22 11:00:38 +08:00
Bowen Tan
451590b581 change some components' property to optional 2021-12-22 11:00:38 +08:00
Bowen Tan
30d1932d2e add schema validator 2021-12-22 11:00:36 +08:00
tanbowensg
c910f635b3
Merge pull request #175 from webzard-io/lib-chakra
Lib chakra-ui
2021-12-22 10:58:11 +08:00
Yanzhen Yu
52d2534948 remove chakra-ui dependencies from runtime package 2021-12-21 21:04:39 +08:00