Commit Graph

147 Commits

Author SHA1 Message Date
Yugang Cao
7f0dfb108c
chore(site): optimized ts to js build code (#1831)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-12-14 01:48:45 +08:00
Yugang Cao
99bc46685a
docs: ts and js language switch (#1616)
* feat: add ts/js check

* feat: add ts/js checkout

* fix: update dependencies

* fix: markdown support ts

* feat: change to vue

* fix: update

* feat: compatiable vue and md of demo

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-12-13 03:55:41 +08:00
07akioni
7bd91cb292 deps: update marked 2021-11-21 17:40:42 +08:00
07akioni
1a7d941205 site: fix anchor height 2021-10-15 03:33:51 +08:00
07akioni
e3ef366a3a site: make anchor scrollable 2021-10-14 03:21:30 +08:00
d46698884e
feat(anchor): make it scrollable, just a internal feature now (#1323)
* feat: add naive-scoller on anchor

* test: add test

* fix: wrong package import

* docs: changelog

* test: anchor debug

* chore: code style

* fix(anchor): remove `scrollbarProps`

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-14 03:11:19 +08:00
07akioni
7769a20c2d site: add api section for components 2021-10-06 23:51:58 +08:00
07akioni
ac85b32eda fix(upload): can't upload 2021-09-21 00:28:48 +08:00
07akioni
4114fdd85a refactor(anchor): rename variant to type (for consistency) 2021-09-19 20:42:27 +08:00
07akioni
3a2d7975be feat(anchor): add variant prop 2021-09-19 02:17:10 +08:00
XieZongChen
1546907f96
feat(dropdown): add render-icon prop, optimization render-label prop (#517)
* feat(dropdown): add render-icon prop, optimization render-label prop

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-20 00:05:26 +08:00
Wanli Song
9409936398
docs: add naive ui design download url (#71)
* feat(doc): add naive ui design download url

* feat(loader); modify convert-md-to-doc loader for component

* doc(readme): change readme

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
2021-07-07 00:12:02 +08:00
07akioni
2317e1ea21
feat(n-a): remove to prop (#162) 2021-06-16 23:06:21 +08:00
07akioni
66ba55e326 site: refactor responsive related logic 2021-06-05 12:11:17 +08:00
07akioni
d547c50614 site: open in codesandbox 2021-06-02 17:51:13 +08:00
07akioni
14f1b93c86 refactor(anchor): listen to global scroll & add offset-target prop 2021-05-27 12:43:12 +08:00
07akioni
5d2c57578d site: refactor demo loader to support comma css selector 2021-05-26 16:03:17 +08:00
07akioni
651df6c81e site: reduce nested level of layout 2021-05-26 14:39:33 +08:00
07akioni
a36ee45bca site: add footer 2021-05-04 02:27:16 +08:00
07akioni
61dda125fc feat(data-table): summary prop 2021-04-21 14:47:24 +08:00
07akioni
ad1df28019 feat(data-table): make rows with common cell hover state same 2021-04-17 11:14:17 +08:00
07akioni
61e434ed0d docs(customize-theme) 2021-04-07 01:44:02 +08:00
07akioni
7226568f80 site: only show debug anchor in debug mode 2021-04-06 18:15:36 +08:00
07akioni
55982babf0 site: full site responsive 2021-04-06 01:31:09 +08:00
07akioni
ab65cfa31f site: optimize scroll behavior of table & code 2021-04-06 00:17:14 +08:00
07akioni
257233398d build: unify doc loader & md loader 2021-04-05 14:38:39 +08:00
07akioni
fac18e857a fix(highlight): deprecated highlight api
https://github.com/highlightjs/highlight.js/issues/2277
2021-03-29 01:15:08 +08:00
07akioni
ecb690f0df refactor: remove demo entry loader, dynamic import zh & en doc pages 2021-03-23 19:46:32 +08:00
07akioni
3824247184 chore: fix some lint 2021-03-15 15:25:11 +08:00
07akioni
730b313d3a site: refactor to unify tusimple demo 2021-02-17 23:31:56 +08:00
07akioni
07a9a771a6 build: do not precompile code demo highlight 2021-02-05 16:03:31 +08:00
07akioni
cccaa35f21 build: fix build site script 2021-02-03 21:38:43 +08:00
07akioni
e672f41e71 build: replace define after build 2021-02-03 20:20:00 +08:00
07akioni
da0c8f78b4 build: add collect vars script 2021-02-03 17:09:12 +08:00
07akioni
d659a420c0 fix(code): style 2021-02-03 16:39:00 +08:00
07akioni
fdad7bed50 feat(create-theme): create global theme from component themes 2021-02-03 11:32:40 +08:00
07akioni
26d5c312e5 build: terse cssr output after tsc 2021-02-03 01:45:56 +08:00
07akioni
43658733e4 build: ts build 2021-02-03 00:48:31 +08:00
07akioni
f5e029fbed fix: demo no scoped style 2021-02-02 13:11:34 +08:00
07akioni
33b67676cb fix(md-loader): code is compiled to dynamic content 2021-01-21 16:35:58 +08:00
07akioni
187381b175 build: terse cssr use babel 2021-01-13 18:20:47 +08:00
Jiwen Bai
8131aa343c chore: migrate to Vite2 (#347)
* chore: migrate to vite2

* styles: remove unsed code

* chore: update package.json

Co-authored-by: Volankey <jiwen.bai@tusimple.ai>
2021-01-12 13:17:26 +08:00
07akioni
c51895d254 fix: md-loader code no line wrap 2021-01-04 01:03:09 +08:00
07akioni
f658334a89 refactor(code): new theme 2021-01-02 16:33:23 +08:00
07akioni
b33a4394e9 docs: change a v-slot to # 2020-12-24 00:29:04 +08:00
07akioni
4448456056 chore: change all v-slot to # 2020-12-16 02:24:35 +08:00
07akioni
b430614f91 refactor: use comment node as script slot for component demo template 2020-12-16 02:20:11 +08:00
07akioni
d22d925656 build: remove stylelint 2020-12-16 02:16:59 +08:00
07akioni
7a5e3f9bcc fix: external fonts are not included (due to side effects https://github.com/rollup/plugins/issues/692) 2020-12-07 23:49:32 +08:00
07akioni
fc418f72ad build: simplify build steps 2020-12-07 16:26:33 +08:00