Commit Graph

696 Commits

Author SHA1 Message Date
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
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
07akioni
986c0be876 refactor: sync type exports 2021-09-04 14:38:48 +08:00
equt
424f1cd1c0
feat: add missing export types in documentation (#1066)
* feat: export UploadFile

* doc(upload): update CHANGELOG

* feat(dropdown): export `DropdownDivider` type

* feat(cascader): alias CascaderOption option

* feat(mention): export `MentionOption` type

* feat(transfer): export `TransferOption` type

* feat(pagination): add `PaginationInfo` type

* feat(data-table): add `CreateSummary` type

* fix: export missing `DropdownDivider`

* feat(dropdown): add `DropdownGroup` & `DropdownSubmenu` type

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 14:12:34 +08:00
afocus
02b8d0ccad
feat(code): xadd inline prop (#1000)
* feat(code): options add inline prop

* fix(code): option inline default prop

* optimize code

* docs(code) Upgrade the use case of code component to Composition API

* docs(code) Upgrade the use case of code component to Composition API

* Apply suggestions from code review

* fix(code):修复非高亮下inline无效的问题,修复inline下css强制block的问题

* Apply suggestions from code review

Co-authored-by: wangyinliang <wangyinliang@parkingwang.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 14:01:30 +08:00
doom-9
25b8b9fde1
feat(description): remove warning on v-if (#1084) 2021-09-04 13:31:11 +08:00
07akioni
140bbace41 fix(tree-select): clean code related to check strategy 2021-09-03 01:59:24 +08:00
小魔王
6ccbe869c1
feat(tree-select): add check-strategy prop (#758)
* feat(tree-select): 增加勾选指定中策略属性

* feat(tree-select): 更新日志

* feat(tree): update treemate to add check strategy

* feat(select): disabled option hide close iocn

* feat(tree): 兼容合并leaf-only与子策略属性

* feat: 回显值跟随策略优化

* feat: 优化回显结果

* Update TreeSelect.tsx

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-03 01:16:57 +08:00
doom-9
a715dfd545
feat(data-table): support shiftKey check (#1026)
* 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(data-table): wip

* feat: fix code

* feat: fix code

* feat: update changelog

* feat: update changelog

* feat: fix code

* feat: fix code
2021-09-03 01:00:20 +08:00
kalykun
bbddd13084
feat(tree, tree-select): add children-field prop (#1040)
* feat(tree&tree-select): add children-field prop

* chore: update docs & deps
2021-09-03 00:42:47 +08:00
07akioni
0c1bb8e825 refactor(dropdown): clean codes 2021-09-02 00:59:56 +08:00
jesi
499c9a1b7d
feat(dropdown): options add on-click prop (#951)
* feat(dropdown): options add onClick prop

* refactor(dropdown): options add props prop

* refactor(dropdown): add props prop to options

* fix(dropdown): changelog docs

* fix(dropdown): trigger both methods

* docs(dropdown): rename demo

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-02 00:50:18 +08:00
07akioni
3db73a53f5 fix(input): Chinese input method not correct while mouse leave the input in clearable is true, closes #905, closes #979 2021-09-02 00:40:47 +08:00
daipeng
5b65408400
fix(cascader): click tag to delete the sub option in multi selection mode, and the tree option is not updated (#1038)
* fix(cascader):fixed handleDeleteOption.the tree option is not updated

* Apply suggestions from code review

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-02 00:26:36 +08:00
Yugang Cao
aa47a1dfe7
fix(input-number): precision (#1008)
* fix: input-number add error

* fix: floating point decimal precision

* fix: add test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-31 18:58:35 +08:00
Kev1nzh
da1646570d
feat(upload): add list type (#785)
* feat(upload): add `list-type`, `show-preview-button`, `on-preview` and `preview-file` props, thumbail style and some tests (#393)

* docs(upload): add thumbail api (#393)

* docs(upload): add CHANGELOG (#393)

* docs(upload): add fix CHANGELOG (#393)

* fix(upload): fix husky file

* Update .husky/pre-commit

* Update src/upload/demos/enUS/picture-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/index.demo-entry.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/src/Upload.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/src/styles/index.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>

* feat(upload): update variable name and fix style (#393)

* docs(upload): add preview-file prop api and fix CHANGELOG (#393)

* feat(upload): fix component attribute (#393)

* feat(upload):  change create thumnail url and fix bug

* feat(upload): change code location (#393)

* docs(upload): change demo and CHANGELOG (#393)

* feat(upload): fix husky(#393)

* Update src/upload/src/UploadFile.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/picture-card-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/picture-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* feat(upload): fix preview animation error, preview ref and picture style (#393)

* feat(upload): add image group to the file list (#393)

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-31 01:12:38 +08:00
07akioni
2cd46a4890 feat(tree, tree-select): add label-field prop 2021-08-30 01:51:32 +08:00
kalykun
5f26ecf0e1
feat(tree, tree-select): add nodeKey prop (#998)
* feat(tree,tree-select): add nodeKey prop

* fix code

* docs: format
2021-08-30 01:01:25 +08:00
Yugang Cao
70fafa6e64
feat(data-table): add hide in renderFilterMenu (#985)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:42:08 +08:00
Yugang Cao
32b30ff2e2
fix(layout-sider): placement right does not work (#996)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:06:08 +08:00
XieZongChen
1cfa229e89
feat(cascader): add onUpdateValue prop (#997)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:00:35 +08:00
Yugang Cao
a018945240
feat(auto-complete): add onUpdateValue prop (#999) 2021-08-27 23:56:43 +08:00
07akioni
ac9e0a219c 2.16.7 2021-08-27 00:49:05 +08:00
Mr.Bai
2e6f72feae
fix(tree): node can not be expanded (#975)
* fix(tree): node can not expanded

* Update CHANGELOG.zh-CN.md

* Update src/tree/src/Tree.tsx

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-27 00:23:09 +08:00
07akioni
1c3da53ecd fix(mention): menu is too far from text in input mode 2021-08-27 00:17:29 +08:00
jesi
2b55b2c58d
feat(mention): add focus and blur methods (#973)
* feat(mention): add focus and blur methods

* test(mention): focus and blur methods
2021-08-26 23:56:40 +08:00
07akioni
529f63850f 2.16.6 2021-08-26 01:08:06 +08:00
07akioni
51633e5fe6 feat(timeline): n-timeline-item add color prop 2021-08-26 00:49:02 +08:00
07akioni
97150211aa fix(data-table): flex-height not working without scroll-x, closes #952 2021-08-26 00:34:36 +08:00
jesi
ed73168dcc
fix(tree): throw exception when onLoad callback does not add children (#786)
* fix(tree): throw exception when onLoad callback does not add children

* refactor(tree): not expand when node has no children

* refactor(tree): handle no-children expand error

* Update src/tree/src/Tree.tsx

* Update src/tree/src/TreeNode.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-26 00:11:12 +08:00
doom-9
673a593eee
feat(image): add preview prop (#939) 2021-08-25 23:33:45 +08:00
Mr.Bai
97e4013008
feat(dynamic-tags): add input slot (#734)
* feat(dynamic-tags): support input and add slot

* feat(dynamic-tags): optimization

* optimization

* update changelog

* optimization

* fix: optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-08-25 23:28:09 +08:00
Mr.Bai
dd928899f8
fix(input): placeholder glitch when value is 0 (#918)
* fix(input): placeholder bug

* update changelog

* update doc

* feat(input): optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-25 13:14:59 +08:00
doom-9
3d2736fb61
feat(timeline): add horizontal prop (#932)
* feat(timeline): `item-placement` add `horizontal` prop

* feat: fix code

* feat: add test

* feat: fix code

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-23 00:17:10 +08:00
07akioni
b59975d7d6 fix(data-table): loading is not centered, closes #929 2021-08-21 00:24:40 +08:00
Kev1nzh
4d6f28eba7
fix(image): Initialize rotate before switching, closes #921 (#928)
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
2021-08-21 00:17:48 +08:00
07akioni
e9fb97e87d 2.16.5 2021-08-20 03:51:27 +08:00
07akioni
7c03adccc5 fix(ellpisis): doesn't work after content is updated, closes #776 2021-08-20 03:39:41 +08:00
07akioni
fa063b9aec fix(popover): arrow's misplacement when placed in nested popovers with different placement, closes #916 2021-08-20 02:51:02 +08:00
07akioni
ee83140dd4 fix(dropdown): inner link click trigger area is not the entire option, closes #823 2021-08-20 02:40:10 +08:00
07akioni
74df68485f fix(tabs): style glitches when different types tabs are nested, closes #850 2021-08-20 02:29:42 +08:00
Kev1nzh
b401ff4793
feat(form): add show-label prop (#865)
* feat(form): add show-label prop and test (#858)

* docs(form): add show-label doc and fix form item label desc (#858)

* Update CHANGELOG.en-US.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* feat(form): rewrite show-label and add tests (#858)

* docs(form): add show-label demo (#858)

* feat(form): change show-label computed  (#858)

* feat(form): fix show-label (#858)

* feat(form): fix bug (#858)

* feat(form): update show-label scripts (#858)

* docs(form): update show-label order and label description (#858)

* Apply suggestions from code review

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
Co-authored-by: kev1nzh_ark <kevin@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-20 01:39:44 +08:00
Yugang Cao
672ed322a3
fix(notification): NotificationReactive is not writable (#878)
* fix(notification): NotificationReactive cannot write

* fix: use mutable to remove readonly

* fix: notification test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-17 00:29:48 +08:00
XieZongChen
7ef5b8d0a8
feat(input-number): add clearable prop (#868)
* feat(NInputNumber): add clearable prop

* feat: optimization

* feat(NInputNumber): add on-clear

* feat: optimization
2021-08-17 00:09:35 +08:00
07akioni
3c68817b8b fix(locale): ruRU locale exports 2021-08-16 03:24:58 +08:00
07akioni
466d5a1419 2.16.3 2021-08-16 03:06:25 +08:00
07akioni
1484e0be2d docs(changelog): fix 2021-08-16 03:00:19 +08:00
07akioni
d8324b0133
Merge pull request #883 from TuSimple/docs
Docs
2021-08-16 02:47:54 +08:00
07akioni
608917b70c chore(date-picker): clean codes 2021-08-16 02:40:51 +08:00
07akioni
86156c2bb9 docs(changelog): message class change 2021-08-16 02:18:51 +08:00
Wanli Song
dd013ed8d1
feat(date-picker): add shortcuts prop (#444)
* feat(date-picker): add shortcuts prop

* doc(date-picker): remove ranges demo

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-16 02:17:59 +08:00
Mr.Bai
2cc526dcb2
fix(space): use v-if render a empty placeholder (#828)
* fix(space): use v-if render a empty placeholder

* fix(space): filter comment

* feat(space): add test

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-16 02:07:01 +08:00
doom-9
3d7f96dd00
feat(message-provider): add placement prop (#851)
* 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(message provider): add placement prop(wip)

* feat(message provider): add placement prop

* feat: add demo

* feat: fix demo code

* feat: fix code

* feat: fix code

* Update CHANGELOG.en-US.md

* feat: fix style code
2021-08-16 01:15:06 +08:00
Artem
a164170505
feat: ru-RU locale (#863)
* feat(locale): add Ru locale

* fix(locale): add export for ru locale

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-13 22:08:21 +08:00
Rafael Hengles
35d76dcf4d
feat(message): Add container-style prop to n-message-provider (#831)
* feat(message): Add `container-style` prop to `n-message-provider`

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Remove default value from containerStyle

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-08-12 23:06:51 +08:00
07akioni
5dd5cc55fd
Merge pull request #846 from TuSimple/main
sync main
2021-08-12 00:30:27 +08:00
CJ
c5b440569e
docs(changelog): fix typos (#841) 2021-08-11 23:05:18 +08:00
doom-9
427003d82b
fix(rate): half star overlays star background in dark mode (#818)
* 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.

* Update index.cssr.ts

* feat: fix code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-11 01:26:41 +08:00
Yugang Cao
1116c77280
fix(menu): renderIcon render error when return true (#827)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-11 01:21:41 +08:00
07akioni
58b92e30eb 2.16.2 2021-08-09 00:43:29 +08:00
07akioni
632a96dc6e docs(changelog): format 2021-08-09 00:33:37 +08:00
07akioni
843ac44fbd docs(changelog): color picker #749 2021-08-09 00:31:17 +08:00
aisen
91942e73ce
fix(color-picker): fix on-complete parameter value is not updated in time (#749)
* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): change setTimeout to nextTick
2021-08-09 00:29:06 +08:00
kalykun
b62bda5127
fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows (#781)
* fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows

* fix(data-table): code optimization

* fix(data-table): code optimization
2021-08-07 20:36:20 +08:00
zoomdong
60448314c2
feat(tree-select): support showPath (#805)
* feat: treeSelect support showPath

* chore: add CHANGELOG

* chore: add test case

* chore: update doc

* chore: update code

* chore: update type

* chore: upadte code

* chore: add dots

* chore: adjust code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 20:27:10 +08:00
jesi
ccb0dedd1b
feat(layout): sider-position (#657)
* feat(layout): sider-position

* docs(layout): sider-position in en-US

* fix(layout): sider placement

* fix(layout): transform sider when sider is placed right

* fix(layout): set flex-direction of container

* fix(layout): remove useless computed property

* fix(layout): toggleBar, toggleButton style

* refactor(layout-sider): toggle style

* refactor(layout-sider): remove useless className

* fix(layout): transform width

* Update src/layout/src/styles/layout-sider.cssr.ts

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 16:35:02 +08:00
Mr.Bai
3d5daa517b
fix(select): filter break bug (#756)
* fix(select): filter break

* changelog update

* fix(select): use another way to solve this problem

* fix(select): optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:35:29 +08:00
sudongyu
593f940f75
fix(avatar): scale value is incorrect (#796)
* fix(avatar): scale value is incorrect while use v-show

* chore(avatar): docs format & code clean

* chore

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:16:51 +08:00
Yugang Cao
8d04c9b37d
fix(menu): click menu show background on mobile (#800)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 23:52:54 +08:00
jesi
079e0e25c6
feat(popconfirm): support no actions (#782)
* feat(popconfirm): add actions prop

* docs(popconfirm): remove useless props

* refactor(popconfirm): display actions  by judging positiveTest and negetiveTest
2021-08-06 23:22:29 +08:00
Yugang Cao
25cb8cb58c
feat(message-provider): add closable prop (#797)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-06 23:09:02 +08:00
07akioni
648392b8c4 2.16.1 2021-08-06 02:38:28 +08:00
07akioni
d129cf2476 docs(changelog): fixes 2021-08-06 02:28:51 +08:00
07akioni
4d926eecd4 fix(modal): can't be closed when using custom content, closes #788 2021-08-06 02:25:40 +08:00
小魔王
149481e420
fix(select): tag should hide close icon when option is disabled (#784)
* fix(select): tag should hide close icon when option is disabled

* fix(select): update log

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 00:09:14 +08:00
XieZongChen
2de677dd58
fix(progress): fix percentage prop exception in default (#767)
* fix(NProgress): fix percentage prop exception in default

* feat: optimize
2021-08-04 23:35:32 +08:00
XieZongChen
5ae1538ac4
feat(button): add text-color prop (#762)
* feat(NButton): add text-color prop

* feat: optimization

* feat: optimization

* feat: optimize

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-04 23:28:05 +08:00
Yugang Cao
cf38115b80
feat(form): export ValidationError (#755)
* feat(form): export ValidationError

* fix: export FormValidationError

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-04 23:23:33 +08:00
Mr.Bai
05ef8cba49
fix(data-table): onUpdatePage and onUpdatePageSize not triggered in jsx (#768)
* fix(data-table): onUpdatePage and onUpdatePageSize not triggered

* update change log

* Update CHANGELOG.en-US.md

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-04 00:39:52 +08:00
jesi
7802c788b1
feat(loading-bar): add start-color and end-color props (#683)
* feat(loading-bar): add start-color and end-color props

* refactor(loading-bar): add loading-bar-style prop

* refactor(loading-bar): inject style

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-03 01:05:58 +08:00
feng
85de0ec37b
fix(slider): fix floating point decimal precision (#750)
* fix(slider): fix floating point decimal precision

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/slider/src/Slider.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* fix(slider): fix floating point decimal precision

* fix(slider): update changelog

* Update CHANGELOG.en-US.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-08-03 00:24:40 +08:00
07akioni
a1a353519a 2.16.0 2021-08-02 01:33:25 +08:00
07akioni
a1eaa27da5 docs(changelog): fix 2021-08-02 01:25:28 +08:00
Yugang Cao
e38f4cef54
fix(modal): cannot add custom classes (#747)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-02 01:07:38 +08:00
Yugang Cao
8b0a0769d9
fix(cascader): cascader menu width bug (#731)
* fix: menuWidth prop

* fix: cascader menu width show error

* fix: cascader width

* fix: fix use css-render

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-02 01:05:58 +08:00
gangG
4aa75b0726
feat(dynamic-tags): add max prop (#745) 2021-08-02 01:04:16 +08:00
Loner
495b63ccca
fix(input): type of input element errors (#743)
* fix(input): type of input element errors

* fix(input): input type errors

* fix(input): type of input element errors

* fix(input): type of input element errors

* fix(mention): type of input errors

* test(NInput): fix input type test cases

* test(NInput): fix input type test cases
2021-08-02 00:53:51 +08:00
小魔王
d35ff882f2
feat(dropdown): show-arrow prop (#656)
* feat:
-dropdown add show-arrow prop

* feat: update snapshot

* feat(dropdown): dropdown add show-arrow

* feat(dropdown): dropdown add show-arrow

* feat(dropdown): 更新快照

* feat(dropdown): 添加箭头优化代码

* feat(dropdown): 添加箭头优化代码

* feat: 箭头公用函数提出增加dropdown demo

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-31 00:01:24 +08:00
kalykun
777f13f808
feat(form): add disabled prop (#608)
* feat(form): add disabled prop(wip)

* feat(form): select

* refactor: mergedDisabled

* fix: code

* wip: fix code

* wip: fix code

* wip: cascader

* wip: checkbox & checkbox-group & datepicker

* wip: input-number & switch & time-picker

* wip: transfer & RadioGroup & radio & slider

* wip: tree-select

* wip: dynamicTags & autoComplete & upload & docs

* fix: types

* fix: types

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 23:39:46 +08:00
XieZongChen
187e462297
fix(dropdown): fix click exception when using v-for (#735) 2021-07-30 22:59:44 +08:00
07akioni
6d73888865 docs(changelog): fixes 2021-07-30 00:22:54 +08:00
XieZongChen
4994ec45c5
feat(menu): add render-extra prop (#723)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 00:18:30 +08:00
XieZongChen
f1c7d7c5b6
feat(loading): refactor finish logic (#725)
Now eaah finish needs a start.
2021-07-30 00:17:07 +08:00
07akioni
7cb72375aa docs(changelog): menu render-icon change 2021-07-30 00:05:17 +08:00
Yugang Cao
ed833ebf7b
feat(scrollbar): add some variables (#679)
* feat(scrollbar): add some variables

* feat(scrollbar): add some variables

* Update CHANGELOG.zh-CN.md

* fix: remote some position vars

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 23:33:22 +08:00
07akioni
ce8ff038cd fix(data-table): pagination error 2021-07-29 09:09:41 +08:00
07akioni
ea5ae8725d 2.15.10 2021-07-29 02:16:59 +08:00
07akioni
dd0ecdbcf8 refactor(pagination): clean codes 2021-07-29 02:08:09 +08:00
gangG
ec8558f8ca
feat(pagination): add prev and next slots (#659)
* test(pagination): add fast-prev and fast-next slots

* feat(pagination): add fast-prev and fast-next slots

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 01:42:50 +08:00
kalykun
d50fda1c85
fix(upload): operation buttons displayed when has file-list & disabled props (#669)
* fix(upload): operation buttons displayed when has file-list & disabled props

* style(upload): cursor

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 01:33:19 +08:00
07akioni
0a006ae49a refactor(tag, dynamic-tags): remove text-color prop, use object as color 2021-07-29 01:29:22 +08:00
Yugang Cao
a4b3ee17ab
feat(tag, dynamic-tags): add color and textColor props (#707)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 01:04:34 +08:00
07akioni
05d1c20ede docs(changelog): fix 2021-07-29 00:56:16 +08:00
Yugang Cao
12a8381236
feat(pagination): add total of PaginationInfo (#644)
* feat(pagination): add total of PaginationInfo

* fix: update total to itemCount
2021-07-29 00:54:22 +08:00
Mr.Bai
4e45f5d9c2
fix(select): incorrect when disabled and filterable (#699)
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 00:49:16 +08:00
XieZongChen
966918ad57
feat(timer-picker):optimizing the now button logic (#695)
* feat(NTimePicker): NTimePicker optimization now logic

* feat: optimization

* Update src/time-picker/src/utils.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 00:44:26 +08:00
XieZongChen
3bd2379ef7
fix(timeline): fix NTimeline header slot (#706)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 00:20:41 +08:00
Yugang Cao
b019866aa3
fix(message): message destroyAll bug (#696)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-29 00:19:16 +08:00
07akioni
d86e879408 2.15.9 2021-07-28 01:59:25 +08:00
XieZongChen
d16a7fb995
feat(input-number): add NInputNumber slots (#626)
* feat(inputNumber): add NInputNumber slots

* feat: optimization

* feat: rebase changelog

* feat: optimization
2021-07-28 00:40:48 +08:00
07akioni
f12d4082da fix(message): options' duration prop doesn't work 2021-07-27 23:56:22 +08:00