Commit Graph

53 Commits

Author SHA1 Message Date
OrbisK
9c381ef1c3
feat(docs): add support for <script setup> (#4190)
* feat(docs): add support for script setup

* docs: add changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-12-19 00:16:50 +08:00
07akioni
d22cc39ed1 chore: code padding 2022-11-12 12:31:45 +08:00
07akioni
f7e3f107e2 feat(equation): new component 2022-11-12 12:31:45 +08:00
07akioni
a2fe580ff2 feat(slider): adds markFontSize theme variable, closes #3820 2022-10-05 19:31:31 +08:00
07akioni
8b56cfc4c3 fix: lint 2022-05-17 20:10:43 +08:00
Yugang Cao
9b9ab497cc
fix: remove extra class (#2246) 2022-01-23 16:00:19 +08:00
Yugang Cao
fd08e7fa69
chore: add component api anchor (#2190)
* chore: add demos api anchor

* fix: use ellipsis

* fix: remove NEllipsis

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2022-01-22 20:02:53 +08:00
Yugang Cao
0fccebae1c
fix: vue demo cannot resolve slot template (#1986)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-12-26 03:25:12 +08:00
Yugang Cao
172a6bf058
refactor: optimized vite-demo plugin code (#1844)
* feat: optimized vite-demo plugin code

* fix: update

* fix: update

* fix: vue not ts does not generate tsCode

* fix: cannot anchor link

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-12-22 01:26:53 +08:00
07akioni
bb22a65afa fix: vue demo style indent 2021-12-14 03:37:15 +08:00
07akioni
caddde9a76 fix: vue demo template indent 2021-12-14 03:35:24 +08:00
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
07a9a771a6 build: do not precompile code demo highlight 2021-02-05 16:03:31 +08:00
07akioni
33b67676cb fix(md-loader): code is compiled to dynamic content 2021-01-21 16:35:58 +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
75153646d1 refactor: remove all install scripts of components, prepare for tree-shaking 2020-12-06 23:41:08 +08:00
07akioni
2ac1fb0678 site: fix api-table margin bottom 2020-11-30 22:20:01 +08:00