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
Yugang Cao
2501817488
feat(message): add message destroyAll method ( #687 )
...
* feat: addd destroyAll
* feat(message): add destroyAll method
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-27 23:30:49 +08:00
07akioni
5264adc48d
2.15.8
2021-07-27 01:05:42 +08:00
07akioni
6118576361
chore: fix typo
2021-07-27 00:50:34 +08:00
Yugang Cao
18780c7ec3
feat(menu): add expand-icon prop ( #666 )
...
* feat(menu): add expand-icon prop
* feat: add test
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-27 00:38:10 +08:00
Wanli Song
5eee8cff55
feat(descriptions): add label-style, content-style prop ( #661 )
...
Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-27 00:21:41 +08:00
Mr.Bai
6797557535
fix(data-table): spin style penetration ( #662 )
...
* fix(data-table): spin style penetration
* Update CHANGELOG.en-US.md
* Update CHANGELOG.zh-CN.md
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-07-26 23:38:16 +08:00
07akioni
aec0dd161f
2.15.7
2021-07-25 22:13:57 +08:00
07akioni
3f06e9bd80
fix(data-table): header and body's scrollings are not sync
2021-07-25 20:36:03 +08:00
07akioni
cc482bde99
feat(data-table): add flex-height
prop, closes #596
2021-07-25 20:21:19 +08:00
07akioni
78c3845f5e
fix(data-table): not showing scrollbar when table-layout is auto, closes #518
2021-07-25 18:23:51 +08:00
07akioni
8314e674e7
docs(changelog): input #600
2021-07-25 15:43:45 +08:00
07akioni
8f0b432c60
refactor(message-provider): rename max-visible to max
2021-07-25 15:28:52 +08:00
kalykun
a4cfbc839b
fix(slider): prop disabled doesn't work ( #642 )
...
* fix(slider): prop disabled doesn't work
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-25 14:59:39 +08:00
XieZongChen
403da07bff
feat(mention): add renderLabel prop ( #627 )
...
* feat(mention): NMention add renderLabel prop
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-25 14:54:17 +08:00
Wanli Song
e52ab7a6dd
feat(message-provider): add duration & maxVisible props ( #375 )
...
Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-25 14:37:42 +08:00
07akioni
c11fd7658d
feat(popover): trigger
prop support 'focus'
, closes #477
2021-07-25 14:34:13 +08:00
07akioni
a78c6de0d3
feat: n-select, n-tree-select, n-cascader pressing arrow down can open menu, ref #300
2021-07-25 14:11:01 +08:00
07akioni
7b7877b7b5
fix(layout-sider): width
prop can't be string, closes #607
2021-07-25 13:57:02 +08:00
doom-9
f66287b910
fix(carousel):arrow buttons cannot be displayed in a specific browser ( #631 )
...
* fix(carousel): issue 625
* fix(carousel): issue 625
* Update CHANGELOG.en-US.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-24 23:42:22 +08:00
07akioni
5957803022
feat(switch): add loading
prop, closes #301
2021-07-24 23:38:27 +08:00
07akioni
6942dbe1cc
feat(switch): add checked
, unchecked
slots
2021-07-24 22:49:44 +08:00
kalykun
5833df0875
feat(date-picker): add close-on-select prop. ( #577 )
...
* feat(date-picker): add close-on-selected prop.
* feat(date-picker): fix code
* Revert "Merge branch 'main' into fix/541"
This reverts commit 6420680336
, reversing
changes made to 2b0e637425
.
* Revert "Revert "Merge branch 'main' into fix/541""
This reverts commit 23c20ac101
.
2021-07-24 00:04:21 +08:00
Mr.Bai
036cff0c90
feat(time-picker): add actions prop ( #463 )
...
* feat(time-picker): add actions prop
* feat(time-picker): add confirm
* fix(change-log): time-picker zh
* Update CHANGELOG.en-US.md
* Update CHANGELOG.zh-CN.md
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 23:26:55 +08:00
07akioni
9570c5629f
2.15.6
2021-07-23 02:34:12 +08:00
07akioni
0243412ab4
docs(dialog): clean demos
2021-07-23 02:14:00 +08:00
07akioni
c7924dfb79
docs(changelog): color-picker actions prop
2021-07-23 02:03:15 +08:00
jesi
e35aa5d2e5
feat(dialog): add prop action ( #581 )
...
* fix(data-table): cover container width by table content width
* feat(dialog): add prop action
* docs: add issue link in CHANGELOG
* fix(data-table): remove useless change
* fix(dialog): slot demo
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 02:01:13 +08:00
XieZongChen
a833d9cfee
feat(menu): add render-icon prop ( #569 )
...
* feat(menu): n-menu add render-icon prop
* feat: optimization
2021-07-23 01:58:16 +08:00
XieZongChen
5d7ae9ea18
feat(mention): In n-mention’s options prop, the label prop support ca… ( #593 )
...
* feat(mention): In n-mention’s options prop, the label prop support callback function.
* feat: optimization
2021-07-23 01:55:43 +08:00
ZenQuan
a2cf8c9420
fix(data-table): after scroll-x property is set, the table content width is not full of the container width ( #575 )
...
* fix(DataTable): fix after the DataTable scroll-x property is set, the table content width is not full of the container width
* fix(DataTable): fix after the DataTable scroll-x property is set, the table content width is not full of the container width
* fix(DataTable): fix after the DataTable scroll-x property is set, the table content width is not full of the container width
* fix(DataTable): fix after the DataTable scroll-x property is set, the table content width is not full of the container width
2021-07-23 01:49:15 +08:00
Yugang Cao
a4fbbacd69
feat(dialog): useDialog add onMaskClick ( #561 )
...
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 01:46:30 +08:00
Yugang Cao
3c687c7d8e
fix(data-table): pagination endIndex ( #589 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 01:43:27 +08:00
Yugang Cao
7991169f08
fix(data-table): rowClassName does not work ( #592 )
...
* fix(n-data-table): rowClassName does not work
* Update CHANGELOG.zh-CN.md
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 01:31:46 +08:00
07akioni
180d802d1f
docs(changelog): space justify prop
2021-07-22 01:21:41 +08:00
07akioni
dab555da64
fix(dialog): display an empty button when positive-text
is not set, fix #549
2021-07-22 01:06:46 +08:00
Yugang Cao
108c382826
fix(descriptions): cannot use v-for render child ( #565 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-22 00:13:51 +08:00
07akioni
34d62a559a
docs(changelog): fix format
2021-07-20 00:06:57 +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
07akioni
18c88ae655
fix(space): inner display: grid
element breaks item height, closes #546
2021-07-19 23:38:43 +08:00
Yugang Cao
f968e1c179
feat(mention): add empty slot ( #552 )
...
* feat: mention add empty slot
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-19 23:35:48 +08:00
Kev1nzh
4df9813126
feat(upload): add show-file-list
prop
...
* docs(upload): add `show-file-list` docs (#507 )
* feat(upload): add `show-file-list` props
* docs(upload): update CHANGELOG (#507 )
* feat(upload): add `show-file-list` props tests (#507 )
* docs(upload): fix CHANGELOG (#507 )
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: kev1nzh_ark <kevin@app-ark.com>
2021-07-18 22:50:01 +08:00
doom-9
cb929ff479
feat(checkbox-group): add min max prop ( #491 )
...
* 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(checkboxGroup): add min max prop WIP
* feat(checkboxGroup): add min max prop WIP
* feat(checkboxGroup): add min max prop
* Update CHANGELOG.zh-CN.md
* Update CheckboxGroup.tsx
* feat(checkboxGroup): fix code
* Update Checkbox.spec.ts
* feat(checkboxGroup): fix code
2021-07-16 23:30:34 +08:00
07akioni
5cbbf07e20
2.15.5
2021-07-16 01:50:51 +08:00
07akioni
e1d0ab7afb
feat(menu): expands all the ascendant of selected item by default
...
close https://github.com/TuSimple/naive-ui/issues/481
2021-07-16 01:45:11 +08:00
07akioni
d13bea8d65
chore: update docs
2021-07-16 01:45:11 +08:00
XieZongChen
5b4dcf7803
feat(tree): add render-label
, render-prefix
and render-suffix
props. ( #484 )
...
* feat(tree): add , and props.
* feat(tree): optimization
* feat: optimization
2021-07-16 00:56:51 +08:00
XieZongChen
ac3df20bc7
fix(calendar): default-value prop cannot be used ( #519 )
...
* fix(calendar): fix n-calendar's default-value prop cannot be used
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-16 00:18:32 +08:00
caoyugang_1
9bf7e031f1
fix(tag): type prop add primary type ( #521 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-15 23:57:31 +08:00
XieZongChen
346ef47fa1
feat(time-picker): step ( #498 )
...
* feat:add seconds , minutes, hours prop
* fix: modify according to conversation
* fix: modify according to conversation
* fix: modify according to conversation
* feat: optimization changelog
* Update src/time-picker/demos/zhCN/index.demo-entry.md
Co-authored-by: wuchouchou <w1301625107@gmail.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-15 00:21:06 +08:00
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
caoyugang_1
95270c3f98
feat(image, avatar): add onError and objectFit props ( #485 )
...
* feat: add onError and object-fit
* fix: change objectFit to fill
* fix: onError add event and objectFit set default value
* fix: change some error
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-14 23:46:47 +08:00
Mr.Bai
172290fb2c
feat(upload): add event in on-finish callback ( #479 )
...
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-12 23:01:46 +08:00
doom-9
b4a1ab63c8
feat(rate): add disabled prop and clean code ( #474 )
...
* 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(rate): add disabled prop and clean code
* feat(rate): add test
* feat(rate): fix code
* feat(rate): fix code
* feat(rate): fix test
2021-07-12 22:37:57 +08:00
doom-9
9dd2633951
feat(slider): add format-tooltip prop ( #468 )
...
* feat(slider): add format-tooltip prop
* feat(slider): fix code
* Update src/slider/demos/enUS/index.demo-entry.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-10 22:44:10 +08:00
Mr.Bai
4b635be5d4
fix(scrollbar): content style width can override default width ( #461 )
...
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-10 01:46:14 +08:00
07akioni
7981f6ca0d
refactor(carousel): clean code
2021-07-10 01:45:33 +08:00
XieZongChen
a8f54a0f9d
fix(select): placeholder & label transition ( #458 )
...
* feat(select): optimize select animation
* feat: fix changelog
* feat(select): optimize
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-10 01:44:41 +08:00
doom-9
b3a3497de8
feat(carousel): add arrow prop ( #451 )
...
* 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
.
* WIP
* feat(carousel): add arrow prop
* feat(carousel): fix code
* feat(carousel): fix code and add test
* feat(carousel): fix style
* feat(carousel): add test
2021-07-10 01:24:31 +08:00
07akioni
47761e3605
fix(pagination): page count is not correct when item-count
is 0
2021-07-10 01:20:21 +08:00
doom-9
675cee20a6
feat(rate): add allow-half prop ( #426 )
...
* 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(n-rate): add allow-half prop
* feat(rate): add docs and fix code
* feat(rate): fix code
* feat(rate): fix doc
* feat(rate): fix doc
2021-07-10 00:47:14 +08:00
07akioni
f64d37a84a
2.15.4
2021-07-09 01:01:05 +08:00
07akioni
5300db0634
docs(changelog): reorganize changelog
2021-07-09 00:55:55 +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
e9ea8a2d07
fix(select): options are not updated properly, closes #441
2021-07-09 00:35:14 +08:00
XieZongChen
edeca80b83
feat(steps): steps add custom icon ( #445 )
2021-07-08 23:53:48 +08:00
小魔王
846e0ec610
fix(image-group): n-image-group zoom scale initialied ( #430 )
...
* fix: n-image-group zoom scale initialied
* fix: set image button test
* Update CHANGELOG.en-US.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update Image.spec.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-08 23:48:24 +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
64f2b02188
fix(drawer-content): header style ( #453 )
...
* fix: tsconfig support ts
* fix: drawer-content header-style error
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-08 23:21:33 +08:00
07akioni
bb7c8fdde7
fix(select): clear button is too big in n-spin
, closes #454
2021-07-08 23:04:18 +08:00
07akioni
e693ceec75
fix(tab-pane): throws error when there's no children
2021-07-08 09:34:01 +08:00
caoyugang_1
f64a650721
fix(result): result svg cannot show ( #429 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-08 00:10:31 +08:00
07akioni
cfff4e8b82
fix(image): doesn't accept attributes, set border-radius not working, closes #427
2021-07-08 00:04:13 +08:00
kalykun
74ad69138c
fix(input): fix clearable position ( #431 )
...
* fix(input): fix clearable position
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-07 23:48:51 +08:00
07akioni
fcea84742a
fix(carousel): when autoplay
dot active status isn't displayed correctly, closes #434
2021-07-07 23:43:42 +08:00
caoyugang_1
84f74a8f80
feat(empty): export empty icon slot ( #405 )
...
* fix: tsconfig support ts
* feat(empty): empty export icon slot
2021-07-07 00:02:16 +08:00