Commit Graph

5541 Commits

Author SHA1 Message Date
07akioni
37eaa309f5 docs(changelog): fix sequence 2021-09-11 21:29:44 +08:00
07akioni
68e1681828 refactor(auto-complete): clean code 2021-09-11 21:28:57 +08:00
XieZongChen
0621c178e2 fix(date-picker): fix type of actions prop (#1146)
* fix(date-picker): Fix n-date-picker‘s type of actions prop

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 21:27:41 +08:00
07akioni
30253a6829 docs(font): add caveat on using lato and open sans from vfonts 2021-09-11 21:18:08 +08:00
07akioni
920aa6a535 docs: add time format string date-fns link 2021-09-11 21:10:27 +08:00
equt
7dc040b489
fix(auto-complete): children option type and export types (#1149)
* fix(auto-complete): `n-auto-complete` group should support common option

* feat(auto-complete): export `AutoCompleteOption(s)` & `AutoCompleteGroupOption`

* doc(auto-complete): update changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:58:08 +08:00
07akioni
1eb55b41e8 build: don't fix lint on ci 2021-09-11 20:49:20 +08:00
Yugang Cao
310c06ff04
fix(select): cannot override n-empty theme vars (#1151)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:41:50 +08:00
Yugang Cao
8a92c5c40e
test(loading-bar): add test cases (#1157) 2021-09-11 20:38:45 +08:00
FerricIon
488a891ea3
fix(dynamic-tags): add button not disabled (#1153)
* fix(dynamic-tags): add button not disabled

* update changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:37:15 +08:00
songjianet
8673f31be0
test(affix): add test (#1145)
* test(affix): Add affix component test

* test(affix): Update affix component test

* test(affix): Update affix component test
2021-09-11 20:09:22 +08:00
07akioni
c13b27bb20 fix(select): closes menu when enter key is pressed in filterable mode without options data 2021-09-11 19:54:09 +08:00
07akioni
1864eb5e61 feat(select): add on-update:show prop 2021-09-11 19:45:37 +08:00
XieZongChen
c9f157fce5
test(date-picker): update test (#1156) 2021-09-11 10:09:04 +08:00
XieZongChen
b64d923408
test(time-picker): update test (#1150) 2021-09-10 10:38:30 +08:00
kalykun
5e7fafa39f
feat(config-provider): add global config of the Empty component (#1118)
* feat(config-provider): add golbal config of the Empty component

* Fix code

* Code optimization

* Code optimization

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 22:48:34 +08:00
doom-9
583846accc
test(rate): add some test case (#1147)
* test(rate): add allowHalf prop test case

* Update Rate.spec.ts
2021-09-09 22:36:13 +08:00
XieZongChen
1b910006db
test(time-picker): add test (#1143) 2021-09-09 11:25:13 +08:00
07akioni
2d1019488d fix(time): hope ci not failing 2021-09-09 04:13:46 +09:00
07akioni
19ea7b3153 fix(time): test ci error 2021-09-09 02:47:59 +08:00
07akioni
5537d59f92 fix(time): make test stable 2021-09-09 02:43:07 +08:00
07akioni
b731e52dfc fix(p): warns when depth is number 2021-09-09 02:42:58 +08:00
songjianet
a61efd370a
test(time): add test (#1139)
* test(time): Add time component test

* test(time): Update test

* test(time): Update test
2021-09-09 00:31:49 +08:00
XieZongChen
411d2d9bbd
feat(time-picker): add input-readonly prop (#1140)
* feat(time-picker): add inputReadonly prop

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:28:01 +08:00
07akioni
c5098a0e5f docs(date-picker): fix typo 2021-09-09 00:24:18 +08:00
XieZongChen
fd381b50e7
feat(date-picker): add input-readonly prop (#1138)
* feat(date-picker): add inputReadonly prop

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:21:12 +08:00
07akioni
3b50cc4c68 refactor(cascader): clean code 2021-09-09 00:17:18 +08:00
kalykun
305538f402
feat(cascader): show Empty component when options prop is empty (#1121)
* feat(cascader): show Empty component when options prop is empty

* Code optimization

* Changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:09:51 +08:00
Yugang Cao
55dc22820f
test(dynamic-tag): add test cases (#1134)
* test(dynamic-tag): add dynamic-tag test case

* fix: remove tag-style test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-09-09 00:03:56 +08:00
07akioni
daafa7d133 docs(tree): check-strategy 2021-09-08 23:44:02 +08:00
07akioni
86e59b762e docs(changelog): fix typo 2021-09-08 23:38:05 +08:00
小魔王
70a669a86d
feat(tree): add check-strategy prop (#1122)
* docs(tree): add checkStrategy prop

* docs(tree): add log

* feat(n-tree): 属性更新

* feat(n-tree): update the description of docs

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-08 23:37:21 +08:00
songjianet
a4d1fbef7a
docs(customize-theme): Upgrade the use case of customize-theme to Composition API (#1130) 2021-09-08 14:34:01 +08:00
songjianet
336fcf98c3
docs(theme): Upgrade the use case of theme to Composition API (#1131) 2021-09-08 14:33:27 +08:00
songjianet
1e2ca008ff
docs(usage-sfc): Upgrade the use case of usage-sfc to Composition API (#1132) 2021-09-08 14:32:46 +08:00
XieZongChen
ff13ab6997
test(cascader): update test (#1129) 2021-09-08 10:14:22 +08:00
07akioni
fa0ce8e98d
Merge pull request #1128 from TuSimple/main
sync main
2021-09-08 02:38:24 +08:00
07akioni
057b0b5e25 2.18.1 2021-09-08 02:37:39 +08:00
07akioni
18d817917f
Merge pull request #1127 from TuSimple/docs
Docs
2021-09-08 02:34:54 +08:00
Yugang Cao
635d35bd96
fix(input-number): cannot input decimal (#1117)
* fix: input-number cannot enter decimal

* fix: add more case

* Update src/input-number/src/InputNumber.tsx

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-08 02:30:18 +08:00
07akioni
2325842eac feat(timeline): add icon-size prop 2021-09-08 02:18:17 +08:00
小魔王
7fd2ca5dde
feat(timeline): add icon slot (#1103)
* feat(n-timeline): add 'icon' slot

* feat(n-timeline): add dark style

* feat: icon优化

* feat: timeline icon优化

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-08 01:38:14 +08:00
XieZongChen
0a4872df9a
fix(step): fix steps doesn't work with v-for children (#1119)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-08 01:22:00 +08:00
07akioni
6f985e810c refactor(dialog): useDialog style option 2021-09-08 00:58:36 +08:00
Yugang Cao
3c5ea1503a
feat(dialog): useDialog add style option (#1124)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-09-08 00:11:55 +08:00
songjianet
db65d66293
docs(form): composition api (#1115) 2021-09-08 00:01:53 +08:00
07akioni
a1e88aec3a test(cascader): clean code 2021-09-08 00:00:56 +08:00
songjianet
090155250b
docs(cascader): composition api (#1123) 2021-09-07 23:56:05 +08:00
songjianet
b79f482145
docs(radio): Upgrade the use case of radio component to Composition API (#1113) 2021-09-07 15:23:33 +08:00
songjianet
9b87263f7d
docs(date-picker): Upgrade the use case of date-picker component to Composition API (#1116) 2021-09-07 15:21:46 +08:00