Bowen Tan
668fd07c99
remove runtime emotion/react
2021-12-20 11:35:43 +08:00
Bowen Tan
4ac96e3d66
remove editor @emotion/react
2021-12-20 11:33:54 +08:00
Bowen Tan
7ed3712125
Revert "add vite-tsconfig-path plugin"
...
This reverts commit 504f8118ea
.
2021-12-09 10:10:37 +08:00
Bowen Tan
504f8118ea
add vite-tsconfig-path plugin
2021-12-03 09:52:23 +08:00
Bowen Tan
c85008204a
add mobx
2021-11-30 13:59:54 +08:00
Yanzhen Yu
705b5bb293
update yarn lock
2021-11-30 11:04:56 +08:00
Bowen Tan
14e1b0256c
remove antd tree select from runtime
2021-11-24 15:02:02 +08:00
Yanzhen Yu
09211db07b
refactor code namings to sunmao-ui
...
also upgrade typescript and typebox to latest version
2021-11-21 14:38:33 +08:00
Bowen Tan
22c8eef4e4
update chakra to 1.7.1 & close dark mode
2021-11-15 13:41:38 +08:00
Bowen Tan
2bf2ae1517
make some changes for add for user center
2021-11-11 10:03:50 +08:00
Yanzhen Yu
111f1d062e
fix editor typings and add bundle scripts
2021-11-10 21:26:14 +08:00
Bowen Tan
4424b5281a
add moduleContainer component
2021-11-04 16:00:13 +08:00
Bowen Tan
c9efa513e6
update vite version
2021-11-01 17:16:18 +08:00
Yanzhen Yu
16db03786d
update dependencies
...
1. update react-markdown to fix https://github.com/vitejs/vite/issues/3592
2. use lodash-es to replace lodash
2021-10-31 16:33:56 +08:00
Yanzhen Yu
fd86d9cc0e
fork @vue-reactivity/watch to fix bundler issue
...
@vue-reactivity/watch use tsup as its bundler, which create .mjs
file as the ES module output.
But webpack4 do not like .mjs extension which cause tools like
create-react-app failed when using meta-ui. Even users can add some
trick to let webpack4 bundle .mjs file, the watch function still
not working.
Refs:
1. https://github.com/facebook/create-react-app/issues/10356
2. https://github.com/formatjs/formatjs/issues/1395#issuecomment-518823361
2021-10-27 14:11:02 +08:00
Yanzhen Yu
53c71b05b0
use tsup to bundle core and runtime packages
2021-10-27 11:45:19 +08:00
Bowen Tan
bba8919c6b
use formik implement event form
2021-10-20 14:46:24 +08:00
Chu Bin
a99262d1ea
fix: replace initProps to render field
2021-10-19 18:33:40 +08:00
Yanzhen Yu
3be10c22a7
introduce CodeMirror to implement code editors
2021-10-19 00:14:44 +08:00
Bowen Tan
eceec4b4c6
add grid bg and use react-resize-detector
2021-10-15 18:00:42 +08:00
Bowen Tan
42449ef130
button support grid
2021-09-30 14:45:42 +08:00
Bowen Tan
2d237e5da7
implement create component by drag into grid
2021-09-30 13:42:56 +08:00
Bowen Tan
f0052aab11
impletement create and undo
2021-09-27 18:00:34 +08:00
Bowen Tan
21471d0abf
use jsxImportSource in tsconfig
2021-09-24 10:11:11 +08:00
Sczlog
39f3517d50
update lock file
...
change to public registry
2021-09-23 09:48:51 +08:00
ShenWen Yin
06d8f66f7e
update ci test configuration
2021-09-23 09:38:28 +08:00
yinshenwen
e6d3b08597
1. update yarn.lock to public registry
...
2. update ci workflow to use yarn.
2021-09-23 09:38:28 +08:00
Bowen Tan
ae981541bd
change form control to horizontal
2021-09-18 18:06:31 +08:00
Bowen Tan
36cbe2ae25
add eslint
2021-09-17 09:48:40 +08:00
Bowen Tan
6bba9eb620
fix jest test
2021-09-07 17:27:01 +08:00
Bowen Tan
ae564e926b
add parseExpression unit test
2021-09-07 13:47:32 +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
Yanzhen Yu
f8898c39ce
experimental editor component
2021-08-11 13:33:20 +08:00
Yanzhen Yu
e790ab1604
impl expression evalutaion v2 #30
...
Use @vue/reactivity lib to implement a runtime proxy-based state
store.
With the new state store, we can get rid of the limitations React
hook. As a result, we can do the evalutaion of props in the
<ImplWrapper> component.
2021-08-10 15:42:29 +08:00
Yanzhen Yu
011ccde187
impl basic grid layout
2021-08-03 16:31:33 +08:00
Yanzhen Yu
6be1af76dc
add dayjs to eval context
2021-07-29 11:11:31 +08:00
Yanzhen Yu
f2ec51c866
update yarn.lock
2021-07-26 13:45:06 +08:00
Yanzhen Yu
6cf4619168
trait: trait framework, state trait, event trait
2021-07-18 23:07:24 +08:00
Yanzhen Yu
a7cb7176e2
impl basic component method
2021-07-07 15:01:07 +08:00
Yanzhen Yu
26a32c6269
impl basic state management with zustand
2021-07-05 18:33:36 +08:00
Yanzhen Yu
07f7a9a8fa
impl plain button, text and app
2021-07-05 14:49:45 +08:00
Yanzhen Yu
a200468dbb
update lock file
2021-07-02 16:55:40 +08:00
Yanzhen Yu
cd8014c4eb
init core package
2021-07-02 16:06:02 +08:00
Yanzhen Yu
322e72b1ef
add lerna monorepo
2021-06-30 22:25:51 +08:00