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
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
XieZongChen
533f67c418
fix(select): fix NSelect bug in using custom label ( #382 )
...
* fix(select): fix NSelect bug in using custom label
* feat: optimization
* feat: optimization
* feat: fix changelog
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-06 23:47:16 +08:00
07akioni
e4af935c65
fix(data-table): fixed column box-shadow doesn't update
...
1. when there is only on side fixed
2. when `props.scrollX` is not set but each column's width is set
2021-07-06 17:07:17 +08:00
07akioni
b1075e01ae
feat(tree): exports TreeDragInfo & TreeDropInfo type
2021-07-06 16:17:39 +08:00
07akioni
1593b37d10
chore
2021-07-05 17:14:06 +08:00
07akioni
e407d54a5a
2.15.3
2021-07-05 17:02:15 +08:00
07akioni
263bbf7b67
feat(input): add loading
prop ( #384 )
...
* feat(input): add `loading` prop
* fix(input): type error
2021-07-05 16:28:12 +08:00
Wanli Song
f0a4b3c0fd
feat(auto-complete): add loading
prop ( #257 )
...
* feat(auto-complete): add loading prop
* doc(changelog)
* test(auto-complete): add test
* fix(auto-complete): refact loading prop
Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-05 15:21:23 +08:00
07akioni
e8b1b4ad07
fix(data-table): fixed column shadow doesn't work when max-height
is set, closes #376
2021-07-05 15:17:02 +08:00
Ryan Wang
5a25b0cfe3
fix(popconfirm): popover internalExtraClass prop type error in popconfirm. ( #381 )
...
* fix: popover internalExtraClass prop type error in popconfirm.
* doc: update CHANGELOG.zh-CN.md
Co-authored-by: wangruiyuan <wangruiyuan@dgg.net>
2021-07-05 14:50:21 +08:00
07akioni
6262b6fdf8
feat(slider): add tooltip
prop, closes #362
2021-07-05 14:23:51 +08:00
Mr.Bai
b2d3816346
fix(form): label-align not work ( #220 )
...
* fix(form): label-align not work
* fix(form): label align when placement is top,align is right
* fix(form): naming problem
* changelog: update pending fix
* fix(form): label-align in cssvar
Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-05 13:07:57 +08:00
doom-9
85c0bae815
feat:(carousel): add dot-position prop ( #366 )
...
* 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-carousel): add dotPosition prop
* feat:(n-carousel): add test and fix code
* feat:(n-carousel): fix code
* feat:(n-carousel): fix code
* feat:(n-carousel): fix code and remove console
2021-07-05 12:45:57 +08:00
XieZongChen
ead038eb29
feat(tree): n-tree
add prefix
and suffix
in TreeOption ( #353 )
...
* feat(tree): add and in TreeOption
* feat(tree): add test for prefix and suffix
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
2021-07-04 20:27:14 +08:00
07akioni
58897a73bf
fix(carousel): doesn't work with v-for
children
2021-07-04 20:16:33 +08:00
07akioni
8aef306a10
fix(menu): tooltip's inner <a />
's style
2021-07-04 01:00:58 +08:00
07akioni
cba70a3c3f
fix(dropdown): inner <a />
's style
2021-07-04 00:30:55 +08:00
Pengsha Ying
0c2489e0a2
feat: Add native title attributes where necessary ( #365 )
...
* feat(Link): add the title attribute
* feat(Badge): Add the title attribute
* feat(Calendar): Add the title attribute
* feat(Transfer): Add the title attribute
* feat(Upload): Add the title attribute
* feat(Selection): Add the title attribute
* Replace the title assignment with `getTitleAttribute`
* fix(UploadFile): remove UploadFile title attribute
* update ChangeLog
2021-07-04 00:04:56 +08:00
cyn
4e994cc37f
fix(menu): render-label not working for dropdown in collapsed mode ( #364 )
...
* fix(menu): render-label not working for dropdown in collapsed mode
* feat(menu): typo demo
2021-07-04 00:02:35 +08:00
07akioni
616003762b
fix(upload): multiple=false
doesn't work for drag & drop ( #369 )
2021-07-03 23:41:15 +08:00
doom-9
4191aaeb54
feat:(image): add img-props
prop ( #349 )
...
* 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:(image): add test
* feat:(image): add test
* WIP
* WIP
* feat(image): add imgProps prop and add test
* feat(image): add imgProps type
2021-07-03 11:35:17 +08:00
seafronthu
3b6f4219fa
feat(loading-bar): export LoadingBarApi ( #354 )
...
* 对外导出 LoadingBarApiInjection
* changlog
* change log export type
* 修改为LoadingBarApi
* Apply suggestions from code review
* Update CHANGELOG.en-US.md
Co-authored-by: hhf <1170533231@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-03 00:08:53 +08:00
07akioni
1fd2a6d919
2.15.2
2021-07-02 18:23:17 +08:00
07akioni
04e1a4b120
fix(tag): lacks on-update-checked
prop
2021-07-02 17:54:37 +08:00
07akioni
d7c9e8b751
docs(changelog): fix
2021-07-02 17:15:59 +08:00
07akioni
aea1a71870
fix(modal): still closes when on-negative-click
returns false
2021-07-02 17:14:36 +08:00
小魔王
27e703f465
fix(collapse): defaultExpandedNames doesn't work in accrodion mode ( #351 )
2021-07-02 17:14:23 +08:00
07akioni
49c3f587c5
fix(tab-pane): throws error when using v-if
2021-07-02 10:59:22 +08:00
07akioni
30d0299e0d
fix(select): doesn't scroll to selected item when menu is opened ( #348 )
2021-07-02 01:35:10 +08:00
cyn
8564f95031
feat(dropdown): add render-label prop ( #321 )
...
* feat(dropdown): add render-label prrop
* feat(dropdown): opt code
* feat(dropdown): add render-label test
* feat(dropdown): update snapshot
* feat(dropdown): optimaze test case
* Update src/dropdown/tests/Dropdown.spec.ts
* Update src/dropdown/tests/Dropdown.spec.ts
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-02 00:43:46 +08:00
Wanli Song
21698de271
feat(spin): icon slot, rotate prop ( #289 )
...
* feat(spin): add icon slot
* doc(changelog
* fix(spin): icon slot logic
* test(spin): add icon slot test
* fix(spin): refact code
* feat(spin): add rotate prop
Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-01 23:57:16 +08:00
07akioni
1a354081ba
fix(loading-bar): disappears unexpectly ( #347 )
...
* fix(loading-bar): disappears unexpectly
* docs: changelog
2021-07-01 23:52:57 +08:00
doom-9
322bf2ca33
feat(image): add alt prop ( #335 )
...
* 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(input): add alt prop
* feat(input): add alt prop
* feat(input): add alt prop
2021-07-01 23:45:00 +08:00
caoyugang_1
efc0ba1e58
feat(form): export FormItemRule and FormRules ( #345 )
...
* fix: tsconfig support ts
* feat: form export FormItemRule and FormRules type
2021-07-01 22:41:29 +08:00
XieZongChen
cff915f954
feat(select): add render-tag prop ( #270 )
...
* feat: select add render-tag prop
* feat: fix changelog
* feat: add select render tag prop test
* feat: optimization
* feat: optimization
* feat: optimization
2021-07-01 11:32:08 +08:00
07akioni
0442b4fa39
docs(changelog): numeric keypad enter
2021-07-01 11:16:36 +08:00
kalykun
362d2c29e7
feat(carousel): add trigger prop ( #339 )
...
* feat(carousel): add trigger prop
* chore(carousel): use onMouseenter instead of onMouseover
2021-07-01 11:12:54 +08:00
07akioni
df8600f4d3
docs(changelog): n-upload before-upload prop
2021-07-01 00:55:01 +08:00
07akioni
e7cadff23d
refactor(menu): rename placement to dropdown-placement
2021-07-01 00:52:41 +08:00
Nic_
7b3821eb08
feat(menu): add placement prop ( #316 )
...
* feat(menu): add placement prop
* feat(menu): add placement prop
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-01 00:47:10 +08:00
07akioni
83ecc1870b
docs(changelog): fix
2021-07-01 00:12:48 +08:00
liicos
8920de8cef
fix(calendar): remove useless console.log ( #334 )
...
* 去除calendar组件的console.log
* 更新changelog.md
Co-authored-by: liaojinping <liaojinping@mail>
2021-07-01 00:11:18 +08:00
07akioni
846c339d9b
fix(log): warn on highlight.js when no language is set, closes #327
2021-07-01 00:03:21 +08:00
07akioni
3dc4e7c8ba
2.15.1
2021-06-30 21:04:13 +08:00
07akioni
f50976ad83
2.15.0
2021-06-29 23:56:28 +08:00
07akioni
c1b0fe12a3
feat(select): add render-option
prop, label
support render function ( #325 )
...
* feat(select): add `render-option` prop, `label` support render function
* fix: type
* docs(data-table): fix caveat
* fix: type & test
* chore
* test
* fix(cascader, auto-complete, mention): related types
2021-06-29 23:40:50 +08:00
07akioni
0104a280c6
refactor(popover): remove title prop & fix docs
2021-06-29 23:03:38 +08:00
caoyugang_1
dc46ba15dd
feat:(popover): popover add header slot ( #274 )
...
* fix: tsconfig support ts
* feat(popover): add header slot
* fix: change some comment and add test
* fix: change test
* fix: change header paddingTop
* fix: spec
* fix: remove spec async
* fix: change popoverBody hasHeader
* fix: hasHeader remove ref
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-29 22:31:14 +08:00
doom-9
a379334f00
feat(tree, tree-select): add leaf-only prop ( #313 )
...
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* feat(tree and tree-select): add leaf-only prop
* Update src/tree/src/TreeNode.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-29 15:26:09 +08:00
07akioni
6433a0d783
fix(dropdown): can't render n-popover
in option ( #311 )
2021-06-28 01:17:36 +08:00
07akioni
fb0d3b0758
feat(web-types): add web-types.json ( #310 )
2021-06-28 00:29:29 +08:00
cyn
c47bd3fd09
fix(menu): tooltip content doesn't follow render-label when collapsed ( #308 )
...
* fix(menu): render-label on collapsed
* docs: add changelog
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 21:30:25 +08:00
XieZongChen
3d48a7c711
fix(carousel): fix navigate to current item ( #302 )
...
* fix(carousel): fix carousel click triggering button bug
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 15:59:34 +08:00
Mr.Bai
4401d4954f
feat:(message): add useMessage usage link of prerequisite ( #304 )
...
* feat:(message): add useMessage usage link of prerequisite
* Update src/message/src/use-message.ts
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 15:51:57 +08:00
07akioni
21a132241d
feat(select): rename option.render => option.renderLabel ( #296 )
2021-06-25 23:08:45 +08:00
Delowar Hossain
4cefd10bab
fix(input): clear button placeholder prevent clicking on actual component [ #288 ] ( #292 )
...
* Fix: input clear button placeholder prevents clicking inside input #288
* changelog added
* Fix: input clear button placeholder prevents clicking inside input #288
* Fix: input clear button placeholder prevents clicking inside input #288
* TimePicer Fix #288
2021-06-25 22:57:36 +08:00
寻
fa0a51ee14
feat(input): add input-props
prop ( #204 )
...
* fix: add some lost form props
* chore: remove ts expect error
* feat: add `input-props`
* chore: update docs
* revert: clearable demo
* chore: typo
* chore: remove blank line
* fix: docs & props
* docs: update
* chore: changelog
2021-06-25 22:39:07 +08:00
Mr.Bai
287c804519
fix(date-picker): provider pass date-locale doesn't work ( #286 )
...
* fix(date-picker): provider pass date-locale not work
* changelog: update fix #250
Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
2021-06-24 19:37:31 +08:00
07akioni
870386ee38
feat(carousel): touch operation ( #275 )
...
* feat(carousel): touch operation
* chore: fix comment
2021-06-24 01:17:59 +08:00
07akioni
6309ca13e0
2.14.0
2021-06-23 15:31:24 +08:00
Wanli Song
fc955ff9d4
feat(upload): add on-update:file-list
prop ( #243 )
...
* feat(upload): add v-model:file-list
* doc(changelog)
* fix(upload): change the timing of doUpdateFileList call
Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-23 14:50:19 +08:00
07akioni
44946ecc9a
fix(data-table): expand trigger's cursor is not pointer, closes #261
2021-06-23 14:21:04 +08:00
cyn
06d0387ebc
feat(date-picker): add update-value-on-close
prop ( #231 )
...
* feat(date-picker): add update-value-on-close prop (#156 )
* feat(date-picker): add update-value-on-close prop
* feat(date-picker): lint style
* feat(date-picker): optimazate demo & docs
* feat(date-picker): optimaze docs
* feat(date-picker): lint date-picker code
* feat(date-picker): update prop desc
Co-authored-by: 07akioni <07akioni2@gmail.com>
* feat(date-picker): disable update-value-on-close when handle button click
* feat(date-picker): OnClose type
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-23 14:03:19 +08:00
07akioni
4ebecee456
fix(input-number): many fixes ( #259 )
...
* fix(input-number): many fixes
- Fix `n-input-number` lacks `on-update-value` prop.
- Fix `n-input-number`'s value can't be null.
- Fix `n-input-number`'s button doesn't work after value is cleared, closes [#251 ](https://github.com/TuSimple/naive-ui/issues/251 ).
- `n-input-number` will focus directly, closes [#244 ](https://github.com/TuSimple/naive-ui/issues/244 ).
* docs(input-number): fixes
* docs
2021-06-23 13:35:14 +08:00
07akioni
315fd67a03
feat(use-theme-vars): add useThemeVars
composable & remove n-element
's abstract prop and theme vars from default slot
2021-06-23 09:03:24 +08:00
07akioni
d50755f4e7
feat(carousel): new component ( #248 )
...
* wip(carousel): add scaffold
* feat(carousel): component
* docs(changelog): carousel
* fix(carousel): handle edge case
* feat(carousel): basic a11y
2021-06-23 08:30:35 +08:00
07akioni
4316282619
fix(select): can't input in filterable mode in single mode in iOS Safari
...
ref https://github.com/TuSimple/naive-ui/issues/230
2021-06-22 17:18:39 +08:00
07akioni
22a13e7510
docs(changelog): fix typo
2021-06-21 22:44:21 +08:00
07akioni
1deb3fb023
2.13.0
2021-06-21 22:09:27 +08:00
07akioni
571efa209e
fix(date-picker, time-picker): icon doesn't work with clearable
...
Fix https://github.com/TuSimple/naive-ui/issues/222
2021-06-21 22:01:05 +08:00
07akioni
da83b7a0d3
fix(button): loading icon doesn't show on iOS Safari
...
fix https://github.com/TuSimple/naive-ui/issues/219
2021-06-21 17:36:37 +08:00
07akioni
6ee3896319
feat(tree-select): component ( #211 )
...
* site: tree-select route
* refactor(internal-selection): remove useless remote prop & on-delete-last-option
* refactor(dropdown, popselect): set slots stable mark from true to 1
* fix(scrollbar): attributes applied multiple times
* wip(tree-select): add exports
* fix(tree): misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop
* feat(tree): support keyboard operations
* feat(tree): scroll with keyboard target node
* fix(tree): `selected-keys` prop influences original array
* feat(tree): pending on selected node at first
* feat(tree): follow tree-select's pending status
* feat(tree): `internalCheckboxFocusable` prop
* refactor(tree): split treeMate to displayTreeMate & dataTreeMate to work with tree-select
* fix(tree): scrollbar won't sync in virtual scroll mode
* feat(tree-select)
* docs: changelog
* docs(tree-select)
* feat(tree-select): stricter type
* fix: typo
* fix(select): input blinks in filterable mode when click at menu and input has value
* fix(tree): multiple line style
* docs(tree-select)
* refactor(tree-select): disable tree expand animation on tree select
* feat(tree-select): change expanded keys on filter
* chore(tree): add comment about animation
* chore
* feat(tree-select): close on single select
* fix(base-selection): input has useless empty row in multiple filterable mode
* docs(tree-select): add clearable in filterable demo
2021-06-21 15:48:15 +08:00
XieZongChen
00ff423d62
feat(menu): add render-label
prop ( #191 )
...
* feat: n-menu add renderLabel prop
* fix: optimization
* feat: add menu test and restructure menu renderLabel
* fix: optimization
* fix: optimization
* Apply suggestions from code review
* fix: optimization
* feat: Optimize code
* feat: Optimize demo docs
* fix: fixed path bug in site
* fix: fixed path bug in site
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-21 09:39:54 +08:00
caoyugang_1
82115e5c2d
feat(dropdown): add on-clickoutside
prop ( #199 )
...
* fix: tsconfig support ts
* feat(dropdown) add onClickOutside:
* fix(dropdown): add clickoutside test
* fix: remove clickoutside demo
* fix: resolve conflict
* fix: change some error
* fix(PopoverBody): directives repeat
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-20 22:46:54 +08:00
07akioni
9d791cd56e
fix(tree): drag over leaf node causes error ( #203 )
2021-06-19 16:50:39 +08:00
07akioni
dbbfd41aae
docs(changlog): add date
2021-06-19 16:40:46 +08:00
07akioni
e9d377a380
2.12.2
2021-06-19 16:28:23 +08:00
07akioni
dc2f2080ae
fix(form-item): always show require mark ( #201 )
...
* docs(changelog): typo
* fix(form-item): always show require mark.
* chore
2021-06-19 16:23:50 +08:00
07akioni
58ee106560
2.12.1
2021-06-19 02:30:52 +08:00
07akioni
4a9e25c000
chore: sync doc branch ( #195 )
2021-06-19 02:23:16 +08:00
07akioni
cec295f3d1
feat(popselect): add render-label prop ( #194 )
2021-06-19 02:22:11 +08:00
07akioni
4a767a4cff
Merge branch 'main' into docs
2021-06-19 02:07:28 +08:00
07akioni
59e02912a9
fix(message): content & option type not correct
2021-06-19 02:04:55 +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
1a39c06cf8
fix(notification): position not correct ( #192 )
2021-06-19 00:51:01 +08:00
07akioni
dbcf7a2b73
feat(popselect): support class attr ( #189 )
...
* feat(popselect): support class attr
* test: update snapshot
2021-06-18 22:28:22 +08:00
kalykun
96ae3a38dd
feat(input): add show-password-toggle prop to support show & hide password ( #179 )
...
* feat(n-input): add show-password attribute to support show & hide password
* feat(n-input): update show-password-toggle attribute
* docs: fix typos
* feat(n-input): remove unnecessary code
* feat(n-input): trigger click to show & hide password
* feat(n-input): add icon component prop onMouseup
* style(icon): add style to the eye icon
* style(n-input): modify css
2021-06-18 21:23:08 +08:00
Yiuman Kam
faee18c1d4
fix(input): baseline shifts when input mixed language(修复Input组件的行高问题)close#174 ( #183 )
...
* fix: Fixed Input Component line-heitgh issue(修复Input组件的行高问题)
* fix: Fixed Input Component line-height issue(修复Input组件的行高问题)
* style: 优化代码格式
* docs: add changelog for fixed input jitter (变更日志添加解决Input组件抖动问题)
* docs: 将fixes调整到pending中。
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 15:21:52 +08:00
XieZongChen
874dbb8d29
docs: fix changelog time ( #188 )
2021-06-18 15:14:11 +08:00
doom-9
107dc136a2
feat(form): require-mark support left
and right
( #184 )
...
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 13:18:25 +08:00
五柳
e5d640f4d7
fix(icon): $parent.$options
will be undefined
in setup script ( #185 )
2021-06-18 10:55:56 +08:00
07akioni
6aa667d8e0
docs
2021-06-17 21:53:40 +08:00
07akioni
588b0699a6
docs
2021-06-17 21:51:11 +08:00
07akioni
8e89d1db4f
2.12.0
2021-06-16 23:49:38 +08:00
07akioni
1b7236ac1d
Merge branch 'main' into feat
2021-06-16 23:12:08 +08:00
07akioni
2317e1ea21
feat(n-a): remove to
prop ( #162 )
2021-06-16 23:06:21 +08:00
XieZongChen
47c8c08001
feat(input-number): support keyboard events ArrowUp and ArrowDown opera… ( #161 )
...
* feat: InputNumber support keyboard events ArrowUp and ArrowDown operations
* feat: Optimize code
2021-06-16 23:02:13 +08:00
07akioni
f18af1e3f9
feat(tree): support disabled
& checkboxDisabled
on option. fix click on indent won't trigger select in block line mode ( #160 )
2021-06-16 22:03:57 +08:00
二梦
a08dbcf1b0
fix(cascader): text blur in win10 Chrome. ( #154 )
2021-06-16 17:29:49 +08:00
07akioni
d8e9622fdd
docs(changelog): fix date
2021-06-16 14:21:52 +08:00
07akioni
445e2772a8
2.11.12
2021-06-16 14:13:09 +08:00
07akioni
da5d78378f
feat(element): pass themeVars
to default slot & add abstract
prop ( #146 )
2021-06-16 14:04:39 +08:00
07akioni
5c7c05c149
Merge branch 'main' into feat
2021-06-16 13:32:45 +08:00
07akioni
80c368dc2b
fix(auto-complete): customizing input not working ( #143 )
2021-06-16 13:13:11 +08:00
07akioni
f8f312aec1
feat(drawer-content): closable prop ( #140 )
2021-06-16 11:47:20 +08:00
cyn
59d8643e65
feat(tag): unstable rtl ( #130 )
...
* feat(tag): unstable rtl
* feat(tag): optimizate code
* feat(tag): delete extra close class
* feat(tag): optimizate code
2021-06-15 23:51:39 +08:00
07akioni
7fc659de7e
fix(radio-group): doesn't trigger form item validation
2021-06-15 18:36:29 +08:00
07akioni
f9fb82695a
2.11.11
2021-06-15 11:23:16 +08:00
07akioni
801b647530
2.11.9
2021-06-15 01:09:52 +08:00
07akioni
f1812ff90a
feat(space): a11y
2021-06-15 01:03:12 +08:00
LiamLi
d301208d47
feat: progress and button-group supports wai-aria ( #109 )
...
* feat(progress): supports wai-aria
* feat(button-group): supports wai-aria
* Update ButtonGroup.tsx
* Update Line.tsx
* feat(progress): fixed some generic DOM which shouldn't appear in a11y tree.
* feat: (progress) supports wai-aria
* feat: (progress) supports wai-aria
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:52:16 +08:00
07akioni
9e2ba9b339
docs(changelog): fix branch
2021-06-15 00:47:46 +08:00
caoyugang_1
b062eb122f
feat(rate): add default slot for icon and color size property ( #91 )
...
* feat: rate add slot and add color size property
* fix: update rate md
* Update CHANGELOG.en-US.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/icon.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/src/Rate.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/src/Rate.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/color.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/color.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/events.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/icon.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* fix: resolve rate comment
* fix: change demo
* fix: update md
* fix: add type lint
* fix: icon demo remove n-space
* Update CHANGELOG.en-US.md
* Update src/rate/demos/zhCN/color.demo.md
* Update CHANGELOG.en-US.md
* Update src/rate/demos/enUS/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:38:22 +08:00
07akioni
03d8938084
feat(menu): supports use <a />
and <router-link />
as label ( #117 )
2021-06-15 00:37:18 +08:00
XieZongChen
b0294bab0d
feat(input-number): add show-button props ( #65 )
...
* feat: inputNumber add show-button props
* Update src/input-number/tests/InputNumber.spec.ts
* feat: Perfect pr
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:33:23 +08:00
07akioni
68c1e4e28b
docs(changelog): fix typo
2021-06-14 22:48:57 +08:00
07akioni
03a684dc4e
fix(data-table): missing on-update-sorter
, on-update-filter
, on-update-page
and on-update-page-size
props
2021-06-14 22:46:52 +08:00
07akioni
e9a422792a
docs(changelog): add date
2021-06-14 10:08:27 +08:00