Commit Graph

326 Commits

Author SHA1 Message Date
Yanzhen Yu
8835e93a34 build playground either 2021-11-06 15:35:57 +08:00
Yanzhen Yu
cdfbc49cd8 add playground to editor 2021-11-06 15:28:28 +08:00
Yanzhen Yu
b7207db8b0 refactor global variables to instance 2021-11-06 14:26:43 +08:00
Yanzhen Yu
196922d9f8 move virtual example plugin to a standalone package 2021-11-06 13:43:17 +08:00
yz-yu
f8de16f35c
Merge pull request #114 from webzard-io/runtime
migrate HTML examples to JSON
2021-11-06 11:39:26 +08:00
Yanzhen Yu
9fe48f6159 migrate html examples to json 2021-11-06 11:22:01 +08:00
Yanzhen Yu
ace258079e implement virtual example plugin
This vite plugin will read from the examples directory and compose
all the example manifests into a JSON.
2021-11-06 10:08:21 +08:00
yz-yu
6d99180145
Merge pull request #112 from webzard-io/feat/module
Feat/module
2021-11-06 09:25:15 +08:00
Bowen Tan
7ef978a677 modify module spec 2021-11-04 18:16:51 +08:00
Bowen Tan
4424b5281a add moduleContainer component 2021-11-04 16:00:13 +08:00
Bowen Tan
d73276546c refactor module renderer 2021-11-03 10:02:53 +08:00
Bowen Tan
264a90b0be fix component tree overflow style 2021-11-02 14:55:47 +08:00
Bowen Tan
2da6130d6f td support module 2021-11-02 14:43:02 +08:00
Bowen Tan
47b8fa120d modify module schema 2021-11-02 11:40:18 +08:00
Bowen Tan
d885b3672d improve module demo 2021-11-02 11:40:18 +08:00
Bowen Tan
4949903976 implement module event 2021-11-02 11:40:18 +08:00
Bowen Tan
a0a75aca02 module can expose state 2021-11-02 11:40:18 +08:00
Bowen Tan
aee0af21db add module renderer 2021-11-02 11:40:18 +08:00
Bowen Tan
c682e3b360 add basic module 2021-11-02 11:40:18 +08:00
tanbowensg
8363143459
Merge pull request #101 from webzard-io/runtime
transform ES modules in node_modules
2021-11-02 10:18:26 +08:00
Yanzhen Yu
bdd12a3d09 transform ES modules in node_modules 2021-11-01 23:43:27 +08:00
yz-yu
2d7d22a9f8
Merge pull request #100 from webzard-io/user-center
Some small features
2021-11-01 17:23:34 +08:00
Bowen Tan
c9efa513e6 update vite version 2021-11-01 17:16:18 +08:00
Bowen Tan
ee41abef8c update default schema 2021-11-01 15:50:53 +08:00
Bowen Tan
309b689cc9 add link component 2021-11-01 15:50:53 +08:00
Bowen Tan
46b0483a0b change tabs to static slot name 2021-11-01 15:50:53 +08:00
Bowen Tan
ae90ca1675 add dayjs 2021-11-01 15:50:51 +08:00
Bowen Tan
21ef34082b use string to set style trait 2021-11-01 15:50:22 +08:00
Bowen Tan
8fe946fcf0 hide stack border 2021-11-01 15:50:22 +08:00
Bowen Tan
52ccb12c93 add divider 2021-11-01 15:50:22 +08:00
Bowen Tan
b24b46f251 add link td type 2021-11-01 15:50:22 +08:00
Bowen Tan
1d4b05942d fix table crash bug 2021-11-01 15:50:20 +08:00
yz-yu
c1acdfff34
Merge pull request #99 from webzard-io/runtime
add preview deploy
2021-10-31 16:41:06 +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
23af6c4c35 add unique name to react plugin, corret me if this is not the best practise 2021-10-31 12:13:40 +08:00
Yanzhen Yu
6b35a56110 fix typings config and runtime error 2021-10-31 12:11:01 +08:00
tanbowensg
5fe5163733
Merge pull request #98 from webzard-io/runtime
Bundle and Publish
2021-10-27 14:52:13 +08:00
Yanzhen Yu
ccaac9b9ae Publish
- @meta-ui/editor@0.2.4
 - @meta-ui/runtime@0.2.4
2021-10-27 14:15:18 +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
aa6a643bf3 Publish
- @meta-ui/editor@0.2.3
 - @meta-ui/runtime@0.2.3
2021-10-27 11:52:03 +08:00
Yanzhen Yu
fc7c46d7a5 inject react jsx runtime 2021-10-27 11:51:46 +08:00
Yanzhen Yu
ba6cdf7cda Publish
- @meta-ui/core@0.2.1
 - @meta-ui/editor@0.2.2
 - @meta-ui/runtime@0.2.2
2021-10-27 11:45:51 +08:00
Yanzhen Yu
53c71b05b0 use tsup to bundle core and runtime packages 2021-10-27 11:45:19 +08:00
Yanzhen Yu
883a8983eb Publish
- @meta-ui/editor@0.2.1
 - @meta-ui/runtime@0.2.1
2021-10-27 00:39:46 +08:00
Yanzhen Yu
ac1cb05c8b target ES6 for better compatibility 2021-10-27 00:39:28 +08:00
Yanzhen Yu
d68f2e3cf9 Publish
- @meta-ui/core@0.2.0
 - @meta-ui/editor@0.2.0
 - @meta-ui/runtime@0.2.0
2021-10-27 00:27:49 +08:00
Yanzhen Yu
01f356a215 switch to general release 2021-10-27 00:25:44 +08:00
Yanzhen Yu
eef445a320 test release canary version 2021-10-27 00:20:51 +08:00
Yanzhen Yu
87b0552ff3 add release dev version script 2021-10-27 00:12:19 +08:00
tanbowensg
7c30abf7c3
Merge pull request #96 from webzard-io/ysj/dev
feat: component tree sorting is supported
2021-10-26 11:02:25 +08:00