Commit Graph

72 Commits

Author SHA1 Message Date
caoyugang_1
9c4997b461
fix(loading-bar): throws error when no provider found and export some type (#511)
* fix: n-loading-bar use error and export some type

* Apply suggestions from code review

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-15 00:07:02 +08:00
07akioni
f1f116626a chore(dialog): clean codes 2021-07-09 00:40:27 +08:00
caoyugang_1
b8f0e583c3
fix(dialog): calling destory throws error (#373)
* fix(dialog): dialog use hide error

* fix: add dialog test

* fix: add test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-09 00:36:57 +08:00
07akioni
8ddb39f110 docs(dialog): fix prop name 2021-07-08 23:43:38 +08:00
kalykun
d35570093c
feat(dialog): add maskClosable to useDialog option (#433)
* fix(dialog): fixed type

* feat(dialog): add dialog-mask-closable prop.

* feat(dialog): fix code

* docs: format

* docs: typo & position

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-08 23:40:18 +08:00
caoyugang_1
ad14dce495
docs(dialog): add descriptions (#372) 2021-07-05 12:50:00 +08:00
07akioni
3f1ebe119c
feat(select): add render-label prop (#190)
* feat(select): add `render-label` prop, `option.label` supports render function

* docs: changelog

* fix: type

* test: update snap
2021-06-19 01:08:54 +08:00
07akioni
b6c5134f71
Merge pull request #116 from TuSimple/docs
chore: sync main with docs
2021-06-14 23:35:29 +08:00
07akioni
53bbbba717 chore(dialog): fix changelog & optimize codes 2021-06-14 09:15:25 +08:00
djkloop
fc09a36d8c
fix(dialog): add dialog destroyAll methods (#104)
* fix(dialog):add  dialog destroyAll methods

* update changelog
2021-06-14 09:12:55 +08:00
07akioni
9450e72956 docs(dialog): api table 2021-06-13 19:10:58 +08:00
07akioni
fa03dd513f refactor(use-config): rename return fields 2021-04-24 13:45:13 +08:00
07akioni
009c324dfc docs: use VNodeChild in types 2021-04-22 00:40:49 +08:00
07akioni
3945844b06 refactor(dialog): remove provide(reactive pattern 2021-04-21 23:56:54 +08:00
07akioni
6870bb2777 docs(dialog, table): small fixes 2021-04-21 19:15:43 +08:00
07akioni
728a9bb71d refactor(config-provider): remove provide(reactive) pattern 2021-04-20 23:36:37 +08:00
07akioni
bd4b340128 refactor: dedupe theme vars generation 2021-04-20 12:37:18 +08:00
07akioni
d17dc5da01 refactor: cPrefix => mergedClsPrefix 2021-04-19 01:11:05 +08:00
07akioni
1bd97b972e feat(dialog): clsPrefix 2021-04-16 15:40:58 +08:00
07akioni
6620d1836c fix: update to vue 3.0.10 to fix teleport is unmounted twice & remove redundant vnode type casting 2021-04-01 15:24:12 +08:00
07akioni
ecb690f0df refactor: remove demo entry loader, dynamic import zh & en doc pages 2021-03-23 19:46:32 +08:00
07akioni
d66e00eede docs: fix all callback [=> any] to [ => void] 2021-03-18 15:30:12 +08:00
07akioni
f64a0d9fc5 feat(modal): custom position 2021-03-17 02:45:01 +08:00
07akioni
0f3d8633c0 docs(modal): make dialog demo closable 2021-03-17 00:08:18 +08:00
07akioni
bc0c888d23 docs(message, notification, dialog): fix prequisite docs 2021-03-17 00:02:54 +08:00
07akioni
bce76e4b9b refactor(theme): remove remove all overlay colors 2021-03-03 00:58:23 +08:00
07akioni
6a70895021 test: add basic test for all comps 2021-02-17 16:33:29 +08:00
07akioni
1936b6bea8 feat: tusimple theme useDialog 2021-02-11 18:23:51 +08:00
07akioni
14e29a6a89 fix(config-provider): component props 2021-02-10 22:38:35 +08:00
07akioni
28915eaf1a feat(config-provider): component options 2021-02-09 14:17:01 +08:00
07akioni
8b7adabe26 docs(dialog): composables 2021-02-05 18:24:48 +08:00
07akioni
d0c2cc4f96 feat(message, notification, dialog, loading-bar): use-* hooks 2021-02-05 17:25:43 +08:00
07akioni
b57938c52f refactor(use-theme): rename theme props, make origin theme props as legacy-theme 2021-02-02 01:04:10 +08:00
07akioni
937c785f8b refactor(use-theme): robust type 2021-02-02 00:59:16 +08:00
07akioni
7863d6d28e refactor: optimize types 2021-02-01 18:16:47 +08:00
07akioni
9f8f1c9b07 refactor: move _base to _internal, fix theme types error 2021-02-01 17:38:42 +08:00
07akioni
feab839761 refactor(dialog): ts 2021-01-22 16:52:04 +08:00
07akioni
ee931c25c3 refactor(modal): ts 2021-01-22 01:04:38 +08:00
07akioni
2be9642430 docs: move component docs in src/ 2021-01-12 19:58:41 +08:00
07akioni
c49162a661 refactor: unify close icon using base-close 2021-01-10 00:46:54 +08:00
07akioni
960a7f1c38 refactor: all components adapt new theme 2021-01-09 16:56:49 +08:00
07akioni
b6d06171fe refactor(icon): new theme 2021-01-04 00:40:31 +08:00
07akioni
41d62c15b9 refactor(dialog): new theme 2021-01-03 00:16:06 +08:00
07akioni
cc9143bdd1 refactor: use global font-size 2020-12-15 23:15:40 +08:00
07akioni
82f8036f1e refactor: use global line-height 2020-12-15 17:48:10 +08:00
07akioni
1c032d2279 chore: prettier 2020-12-12 13:47:04 +08:00
07akioni
8c7c2f5dc6 refactor: remove styles in each component index 2020-12-11 22:14:44 +08:00
07akioni
2da974a3b3 feat: add style deps for every component 2020-12-11 22:03:38 +08:00
07akioni
f0893770ee test: add scaffold for all components 2020-12-11 13:32:33 +08:00
07akioni
488bfc5b7d feat(data-table, table): tusimple theme 2020-12-11 12:34:40 +08:00