Commit Graph

482 Commits

Author SHA1 Message Date
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