Commit Graph

89 Commits

Author SHA1 Message Date
Sczlog
a5fafc4798 add chakra-ui toast. 2021-09-16 18:51:25 +08:00
chenenpei
7d59bdeb0a feat: add more props for checkbox 2021-09-15 14:22:38 +08:00
chenenpei
0157206207 feat: impl select component 2021-09-15 14:22:37 +08:00
Bowen Tan
cad28f5af5 fix dialog import ColorSchemePropertySchema bug 2021-09-13 17:10:14 +08:00
Shengjie Yang
034073d770 fix: use initialValue to replace async setValue 2021-09-13 10:25:44 +08:00
Shengjie Yang
50b07210ed feat: impl dialog component 2021-09-13 10:25:43 +08:00
Bowen Tan
f7da7a15b0 add style trait 2021-09-13 10:09:17 +08:00
yz-yu
646fdf2c89
Merge pull request #53 from webzard-io/feat/list
implement List component
2021-09-12 18:15:15 +08:00
Bowen Tan
25525f9951 implement tooltip component 2021-09-10 17:15:39 +08:00
Bowen Tan
6bba9eb620 fix jest test 2021-09-07 17:27:01 +08:00
Bowen Tan
6566734282 fix parseExpression bug 2021-09-07 17:09:27 +08:00
Bowen Tan
ae564e926b add parseExpression unit test 2021-09-07 13:47:32 +08:00
Bowen Tan
84748086e6 add parseType util file 2021-09-07 11:15:57 +08:00
Chu Bin
e3b38a79e5 feat: chakra image component 2021-09-06 17:57:39 +08:00
Bowen Tan
4fc48f6570 chore: fix code style 2021-09-06 16:16:09 +08:00
Bowen Tan
b799120fd3 remove methods when component destory 2021-09-06 16:13:13 +08:00
Bowen Tan
d05f736a9e complete simple todo list 2021-09-06 14:05:00 +08:00
Bowen Tan
16f07c20f9 add arrayState Trait 2021-09-06 14:05:00 +08:00
Bowen Tan
a2860b1ea9 fix "Cannot update a component while rendering a different component" warning 2021-09-06 14:05:00 +08:00
Bowen Tan
d878fbc5f2 add listItem memo 2021-09-06 14:05:00 +08:00
Bowen Tan
9cec11d180 add create and delete button 2021-09-06 14:05:00 +08:00
Bowen Tan
237446e1b3 uncouple List with createApplication 2021-09-06 14:05:00 +08:00
Bowen Tan
45e5c48f89 support using $listItem in {{}} expression 2021-09-06 14:05:00 +08:00
Bowen Tan
bb0b463ef3 support multiple {{}} in expression 2021-09-06 14:05:00 +08:00
Bowen Tan
1c9e1c9a99 implement list custom template 2021-09-06 14:05:00 +08:00
Bowen Tan
b9de19bd56 init list 2021-09-06 14:04:59 +08:00
Bowen Tan
500b8fcb54 support any event name 2021-09-03 10:21:29 +08:00
yz-yu
c2670c9a50
Merge pull request #47 from webzard-io/refactor/trait
Refactor trait new implementation
2021-09-02 22:02:12 +08:00
chenenpei
84e5250c8c implement chakra checkbox group #5 2021-09-02 10:08:39 +08:00
Bowen Tan
3563b0af25 add noUnusedLocals to tsconfig 2021-09-01 10:58:09 +08:00
Bowen Tan
fd3f27a9e9 restore setValue and support 2 parameters 2021-08-31 14:50:32 +08:00
Bowen Tan
878eb6b318 fix merge code bug 2021-08-31 14:17:11 +08:00
Bowen Tan
7361aa38a2 refactor fetch trait 2021-08-31 14:05:18 +08:00
Bowen Tan
25d780747e eval trait properties and run trait at the same time 2021-08-31 14:05:06 +08:00
Bowen Tan
50c07a19e6 refactor state trait 2021-08-31 14:05:04 +08:00
Bowen Tan
bdfe076e65 refactor event trait 2021-08-31 14:03:58 +08:00
Bowen Tan
88b1aad48e complete validation trait with new trait 2021-08-31 14:01:32 +08:00
Bowen Tan
f50d201b0d refactor hidden 2021-08-31 14:01:32 +08:00
Bowen Tan
ba37d56b45 input support style property 2021-08-31 14:01:28 +08:00
Bowen Tan
e9ba677dc4 refactor trait implementation 2021-08-31 14:01:04 +08:00
Bowen Tan
983d97715a format all code 2021-08-31 11:18:11 +08:00
Sczlog
5eeac0bcca replace route trait by slot trait
1. replace route trait by slot trait
2. update example
2021-08-25 10:57:19 +08:00
Sczlog
6acd38906b refactor router component
1. refactor most of the component from wouter.
2. add support for route parameter
3. add support for strict and exact matching
4. modify the createRouter function of wouter to remove the top level RouterProvider
5. move matcher to route level not the top level
2021-08-24 16:34:11 +08:00
Sczlog
5bfc886b31 misc update on router
1. update example page's title
2. pass params to ImplWrapper(currently not pass it to the component, need discussion on it)
2021-08-23 15:32:09 +08:00
Sczlog
619e86e526 implement nested hash router 2021-08-23 15:32:09 +08:00
Sczlog
c993c0eb86 hash router
1. update example with hash router
(not work good with nested hash router)
2021-08-23 15:31:55 +08:00
Sczlog
575e999785 implement nested router 2021-08-12 18:44:49 +08:00
Sczlog
61b9e897c6 fix redirect and implement default
1. fix redirect
2. implement default route
2021-08-12 16:29:03 +08:00
Sczlog
197f043a52 implement router function
1. router component
2. route trait
2021-08-12 15:33:18 +08:00
Yanzhen Yu
a7a863930c define UI API service, related to #9
Implemented the API service feature on top of event emitter with
a concise protocol.
The protocol will use JSON as message format and only have one
type 'uiMethod' at this moment.
2021-08-11 17:13:58 +08:00