Commit Graph

599 Commits

Author SHA1 Message Date
07akioni
152b6d85b7 feat(card): embedded prop 2021-09-14 02:19:45 +08:00
07akioni
f0e7f5cdc7 refactor(popselect): on-update:value prop add option info 2021-09-14 02:19:45 +08:00
XieZongChen
ff88100e0b
feat(select): on-update:value prop add option info (#1003)
* feat(select): on-update:value function add option params

* feat(pop-select): on-update:value function add params

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-14 00:45:09 +08:00
XieZongChen
6b39acabe3
feat(tree-select): on-update:value prop add option info (#1004)
* feat(tree-select): on-update:value function add params

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-14 00:20:35 +08:00
XieZongChen
86412299d1
feat(cascader): on-update:value prop add option info (#1158) 2021-09-13 23:45:06 +08:00
07akioni
cf29465775 feat(select): support variadic height option render 2021-09-13 23:35:01 +08:00
doom-9
d4ae009a69
feat(page-header): support rtl (#1154)
* feat:n-input Support hidden password

* feat(form): support require-mark-placement(#171)

* Revert "feat(form): support require-mark-placement(#171)"

This reverts commit 0627777693.

* Revert "feat:n-input Support hidden password"

This reverts commit ea6491783d.

* feat(page-header): support rtl

* add en demo

* fix code

* fix code

* fix code
2021-09-12 22:09:18 +08:00
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
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
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
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
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
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
07akioni
b731e52dfc fix(p): warns when depth is number 2021-09-09 02:42:58 +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
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
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
07akioni
057b0b5e25 2.18.1 2021-09-08 02:37:39 +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
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
07akioni
d701cacd48 2.18.0 2021-09-07 02:44:57 +08:00
07akioni
4e516da220 fix(cascader): check-strategy="child" doesn't behaves the same as previous leaf-only 2021-09-07 02:40:25 +08:00
Yugang Cao
32c2957472
fix(radio-group): on-update-value type (#1062)
* fix: radioGroup type

* fix: update radio type

* fix: radioGroup type

* fix: update branch rebase

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-07 00:27:04 +08:00
Mr.Bai
249d2c913f
feat(form): split require-mark-placement and show-require-mark (#1104)
* feat(form): split require-mark-placement and show-require-mark

* Apply suggestions from code review

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-06 23:44:14 +08:00
07akioni
3f71a7a0f5 feat(drawer): add on-mask-click prop 2021-09-06 23:26:25 +08:00
07akioni
51cfde9000 fix(radio-group): on-update:value and on-update-value can't be array 2021-09-06 23:26:25 +08:00
07akioni
f81415f66b fix(step): must be passed with internal-index 2021-09-06 23:26:25 +08:00
07akioni
95703aa04e docs(changelog): fix 2021-09-06 10:05:36 +08:00
07akioni
69219446c8
fix(tree): show path
Fix tree show path
2021-09-06 10:03:14 +08:00
unknown
7d87ef7427 fix(tree-select): add log 2021-09-06 09:57:09 +08:00
07akioni
3380c7f521 fix(cascader): menu not showing correct checked keys 2021-09-06 09:56:19 +08:00
07akioni
41f79ce285 2.17.0 2021-09-05 15:21:12 +08:00
07akioni
70399bcd4b fix(calendar): text color of disabled date 2021-09-05 14:11:25 +08:00
07akioni
ec1efe318d fix(popselect): default placement & padding 2021-09-05 13:55:14 +08:00
07akioni
348fb0c805 feat(cascader): add children-field, label-field, value-field props 2021-09-05 13:53:11 +08:00
07akioni
8c39476046 feat(cascader): add check-strategy prop 2021-09-05 12:36:42 +08:00
07akioni
fc1fdba064
refactor(upload): make list-type work (#1016)
* refactor(upload): picture type, wip

* refactor(upload): make list-type work

* fix(upload): remove useless prop

* chore(upload): clean code
2021-09-05 11:39:15 +08:00
07akioni
829ded4727 feat(input): add show-password-on prop 2021-09-04 18:25:57 +08:00
小魔王
98ccbaba15
feat(collapse): add header-extra slot (#1064)
* feat(collapse): add 'header-extra' slot

* feat(collapse): add test

* feat(collapse): 优化样式

* feat(collapse): 优化样式

* feat(collapse): 优化样式

* feat: add test

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 16:52:07 +08:00
Mr.Bai
4ac6287697
feat(message): add keepAliveOnHover option (#1039)
* feat(message): hover message not auto close

* feat(message): update docs

* feat(n-message): optimization

* update changelog

* Apply suggestions from code review

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 15:07:49 +08:00