Commit Graph

5167 Commits

Author SHA1 Message Date
songjianet
6a2049fdf6
docs(timePicker): 更新时间选择组件的一部分参数说明 (#557)
* docs(icon): 更新图标组件的说明文档

* docs(pageHeader): 更新页头组件的说明文档

* docs(pageHeader): 更新页头组件的文档中的错别字

* docs(typography): 更新排印组件的说明文档

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

* docs(mention): 更新提及组件的说明文档

* docs(mention): 更新提及组件的一部分参数说明

* docs(radio): 更新单选组件的说明文档

* docs(timePicker): 更新时间选择组件的一部分参数说明

* docs(timePicker): 更正时间选择组件的参数文案

* docs(timePicker): 更正时间选择组件的英文参数文案

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-20 16:21:14 +08:00
07akioni
34d62a559a docs(changelog): fix format 2021-07-20 00:06:57 +08:00
07akioni
a6658e36df test(space): update snapshot 2021-07-20 00:06:29 +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
XieZongChen
92bedc1181
Merge pull request #553 from Talljack/gradient-text-docs
docs: add gradient text docs
2021-07-19 09:26:27 -05:00
XieZongChen
54e8ab9978
Merge pull request #551 from amadeus711/test-add-NList-test
test(list): add list test
2021-07-19 09:25:09 -05:00
caoyugang
be0dbfdfc5 docs: add gradient-text docs 2021-07-19 22:07:31 +08:00
xiezongchen
186d7cda76 test(list): add list test 2021-07-19 21:32:31 +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
XieZongChen
07b321e5e7
Merge pull request #539 from Talljack/docs-ellipsis
docs: add ellipsis docs
2021-07-18 04:21:04 -05:00
XieZongChen
d3f05164fe
Merge pull request #540 from amadeus711/test-optimization-empty-test
feat(empty): optimization empty test
2021-07-18 03:57:21 -05:00
xiezongchen
56ffeff8c3 feat(empty): optimization empty test 2021-07-18 16:44:33 +08:00
caoyugang
71511e7a97 docs: add ellipsis docs 2021-07-18 15:31:37 +08:00
XieZongChen
70d30e499e
Merge pull request #537 from amadeus711/test-add-NDescriptions-slots-test
test(descriptions): add NDescriptions slots test
2021-07-17 11:13:39 -05:00
xiezongchen
e53b3bd736 test(descriptions): add NDescriptions slots test 2021-07-17 23:34:51 +08:00
songjianet
d994613a5e
docs(radio, metion): update api table(#532)
* docs(icon): 更新图标组件的说明文档

* docs(pageHeader): 更新页头组件的说明文档

* docs(pageHeader): 更新页头组件的文档中的错别字

* docs(typography): 更新排印组件的说明文档

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

* docs(mention): 更新提及组件的说明文档

* docs(mention): 更新提及组件的一部分参数说明

* docs(radio): 更新单选组件的说明文档

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-17 22:11:49 +08:00
Yugang Cao
51af465c7a
docs: update pr checklist (#530) 2021-07-17 13:24:06 +08:00
XieZongChen
daae2e77b3
docs(popselect): add NPopselect docs (#529) 2021-07-17 01:06:06 +08:00
07akioni
f65a00de57 feat(checkbox): clean codes 2021-07-16 23:51:17 +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
XieZongChen
fb2b30eec0
test(descriptions): add NDescriptions test (#526) 2021-07-16 23:27:54 +08:00
songjianet
5264c0b30b
docs(mention): 更新提及组件的说明文档 (#525)
* docs(icon): 更新图标组件的说明文档

* docs(pageHeader): 更新页头组件的说明文档

* docs(pageHeader): 更新页头组件的文档中的错别字

* docs(typography): 更新排印组件的说明文档

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

* docs(mention): 更新提及组件的说明文档

* docs(mention): 更新提及组件的一部分参数说明

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-16 23:23:21 +08:00
Yugang Cao
f3d381bab9
docs(element): docs (#528) 2021-07-16 23:16:19 +08:00
07akioni
229a4e37e2
Merge pull request #524 from TuSimple/main
sync main
2021-07-16 01:58:13 +08:00
07akioni
5cbbf07e20 2.15.5 2021-07-16 01:50:51 +08:00
caoyugang_1
b96c5ee32c
docs(tag): update docs (#522)
* fix: change tag docs

* Apply suggestions from code review

* Update src/dynamic-tags/demos/zhCN/basic.demo.md

* Update src/dynamic-tags/demos/zhCN/basic.demo.md

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-16 01:49:23 +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
07akioni
11952a31f4 feat(element): a11y 2021-07-16 01:45:11 +08:00
07akioni
171381ab84
Merge pull request #523 from TuSimple/docs
Docs
2021-07-16 01:37:40 +08:00
07akioni
fc83eb3857 docs(menu): remove submenu section, use option is enough 2021-07-16 01:08:35 +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
songjianet
84e60ca857
docs(typography): update api table (#516)
* docs(icon): 更新图标组件的说明文档

* docs(pageHeader): 更新页头组件的说明文档

* docs(pageHeader): 更新页头组件的文档中的错别字

* docs(typography): 更新排印组件的说明文档

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

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-16 00:20:43 +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
XieZongChen
0c7a6aea96
test(switch): add switch test (#494) 2021-07-14 23:55:49 +08:00
caoyugang_1
6f8aa12fbb
docs(dynamic-tags): add docs (#512)
* docs: add dynamic-input docs

* docs: add dynamic-tag docs
2021-07-14 23:48:57 +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
songjianet
fc6a9a76a5
docs(page-header): update api table (#495)
* docs(icon): 更新图标组件的说明文档

* docs(pageHeader): 更新页头组件的说明文档

* docs(pageHeader): 更新页头组件的文档中的错别字
2021-07-14 23:31:12 +08:00
caoyugang_1
f257206578
docs: add avatar and image docs (#488)
* docs: add avatar and image docs

* fix: change onError params event

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-13 23:20:02 +08:00
songjianet
1d89c4e406
docs(icon): 更新图标组件的说明文档 (#487) 2021-07-13 23:14:10 +08:00
XieZongChen
db4cf8b511
docs(switch): add switch docs (#489) 2021-07-13 23:13:24 +08:00
Loner
8201231292
fix(table): fix css attribute white-space (#482) 2021-07-13 00:07:31 +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
XieZongChen
4e35169533
docs(select): add select slots docs (#478) 2021-07-12 22:39:22 +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