Commit Graph

2437 Commits

Author SHA1 Message Date
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
Mr. Will
e3d0740fef
docs(select): fix typo (#579) 2021-07-23 01:17:34 +08:00
songjianet
b4049466b7
docs(log): api table (#588) 2021-07-23 01:02:38 +08:00
songjianet
407c89ea81
docs(statistic): api table (#587)
* docs(statistic): 完善统计数据组件的说明文档

* docs(statistic): 更新一部分统计数据组件的参数文档
2021-07-23 00:59:43 +08:00
songjianet
7ac6d1ce90
docs(table): api table (#586)
* docs(table): 完善表格组件的说明文档

* docs(table): 更新一部分表格组件的参数文档

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-23 00:50:29 +08:00
Yugang Cao
e3a80ae139
docs(icon): api table (#595) 2021-07-23 00:32:47 +08:00
zoomdong
b674a8541c
feat(color-picker): action prop (#533)
* feat: color-picker support control

* chore: update code

* chore: update code

* chore: update code
2021-07-23 00:18:46 +08:00
gangG
8edc84e8b4
docs(checkbox): delete the VNodeChild attribute of label (#591)
* docs(checkbox): delete the VNodeChil attribute of label

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

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

Co-authored-by: gang.yang <gang.yang@tusimple.ai>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-07-23 00:12:07 +08:00
07akioni
7538b91e7b test(select): fix scrollTo warning 2021-07-23 00:05:30 +08:00
07akioni
16b8ae2ed3 docs(slider): format tooltip 2021-07-22 23:41:27 +08:00
Yugang Cao
9ae9db50cc
fix(dialog): dialog test failed (#578)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-22 21:55:32 +08:00
07akioni
9c20c519fa test(space): update snapshot 2021-07-22 01:33:46 +08:00
07akioni
926386521e
Merge pull request #570 from TuSimple/docs
Docs
2021-07-22 01:26:24 +08:00
07akioni
180d802d1f docs(changelog): space justify prop 2021-07-22 01:21:41 +08:00
07akioni
1c82974e11 fix(space): type error 2021-07-22 01:16:10 +08:00
07akioni
a922ba5cc8
Merge branch 'main' into docs 2021-07-22 01:07:50 +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
07akioni
b29f32fda7 chore(tag): clean codes 2021-07-22 01:06:46 +08:00
doom-9
661cf152c9
feat(carousel): add active transform style for button (#534) 2021-07-22 00:49:48 +08:00
df8186480d
feat(space): space justify center space- (#182)
* feat: space justify

* docs: en

* fix: space margin gap

* chore: docs

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-22 00:48:23 +08:00
songjianet
3604da7e75
docs(list): update api (#563)
* 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): 更正时间选择组件的英文参数文案

* docs(transfer): 更新穿梭框组件的说明文档

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

* Apply suggestions from code review

* docs(list): 更正列表组件的说明文档

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

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-22 00:23:31 +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
Yugang Cao
e5e2d3929e
docs(form): fulfill docs (#568)
* docs: add form docs

* docs: update form docs

* docs: update form docs

* docs: update form docs

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-22 00:12:51 +08:00
songjianet
54a09ec0e5
docs(transfer): update api table (#559)
* 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): 更正时间选择组件的英文参数文案

* docs(transfer): 更新穿梭框组件的说明文档

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

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-21 00:35:05 +08:00
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
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
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
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
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
songjianet
613808f837
docs(graident-text, ellipsis) (#480)
* docs(select-zhCN): 完善选择器组件的中文文档

* docs(select): 完善选择器组件的文档

* Apply suggestions from code review

* docs(ellipsis): 完善文本缩略组件的文档和用例

* docs(gradient-text): 完善渐变文字组件的文档

* docs: 根据review信息重新修改一部分文档

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

* Update src/gradient-text/demos/enUS/index.demo-entry.md

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Mr.Bai <935196116@qq.com>
2021-07-12 22:34:25 +08:00
caoyugang_1
d9816ff729
docs(dynamic-input): add dynamic-input docs (#469) 2021-07-12 00:09:58 +08:00
XieZongChen
6ff56c5fc6
test(radio): add radio test (#475) 2021-07-12 00:09:04 +08:00
XieZongChen
a4f2275018
test(checkbox): add checkbox test (#465) 2021-07-10 23:10:37 +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
songjianet
fb875f3e98
docs(select): api table (#459)
* docs(select-zhCN): 完善选择器组件的中文文档

* docs(select): 完善选择器组件的文档

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-10 01:08:51 +08:00
07akioni
199061c9b4 refactor(rate): refactor half 2021-07-10 01:08:25 +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
40afddeef1
chore: sync docs (#455)
Docs
2021-07-09 00:51:35 +08:00
07akioni
f1f116626a chore(dialog): clean codes 2021-07-09 00:40:27 +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
07akioni
da9defc5b6 chore(steps): optimize props declaration 2021-07-08 23:59:20 +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
07akioni
8ddb39f110 docs(dialog): fix prop name 2021-07-08 23:43:38 +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
9ef3755491
docs(drawer): add drawer docs (#450)
* docs: add drawer docs

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

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-08 23:25:57 +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
xiezongchen
7c3fff1bfb docs(tree): fix tree demo 2021-07-08 15:52:48 +08:00
07akioni
c44d38c37d test(tabs): empyt tab pane 2021-07-08 09:37:41 +08:00
07akioni
e693ceec75 fix(tab-pane): throws error when there's no children 2021-07-08 09:34:01 +08:00
XieZongChen
ebbae3c61f
fix(select): custom label bug in filter mode (#436)
* fix(select): fix NSelect bug in using custom label

* feat: fix changelog

* fix(select): fix select label display for filterable
2021-07-08 00:28:08 +08:00
caoyugang_1
9618615ad2
docs(empty): docs empty (#406)
* fix: export icon slot

* docs: add empty docs

* Apply suggestions from code review

* Update src/empty/demos/enUS/size.demo.md

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

* Update src/empty/demos/zhCN/size.demo.md

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

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-08 00:20:01 +08:00
07akioni
ed269a064c docs(data-table): fix remote prop, remove paging prop 2021-07-08 00:18:21 +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
14a8bed3cd test(image): inherit attrs 2021-07-08 00:06:22 +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
caoyugang_1
38dbca847c
docs(divider): add divider docs (#437) 2021-07-07 23:46:06 +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
07akioni
e2c27c69c1 chore: fix imports 2021-07-07 00:44:37 +08:00
doom-9
5ea61d47e4
feat(rate): add test (#407) 2021-07-06 23:58:38 +08:00
doom-9
946b753f09
docs(rate, button) (#408)
* chore

* test(menu): add menu render-label dropdown test (#404)

* test(menu): clean codes

* doc(n-rate,n-button)

* doc(n-rate,n-button)

* Revert "chore"

This reverts commit 1593b37d10.

* Revert "test(menu): clean codes"

This reverts commit 6841e05087.

* Revert "test(menu): add menu render-label dropdown test (#404)"

This reverts commit b245e56b5f.

* doc(n-rate,n-button)

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: cyn <chenyinan@moqipobing.com>
2021-07-06 23:55:44 +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
XieZongChen
57e8e5b1dc
test(typography): add typography test (#417) 2021-07-06 23:40:06 +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
6841e05087 test(menu): clean codes 2021-07-05 22:27:37 +08:00
cyn
b245e56b5f
test(menu): add menu render-label dropdown test (#404) 2021-07-05 22:04:56 +08:00
07akioni
e407d54a5a 2.15.3 2021-07-05 17:02:15 +08:00
07akioni
c13b7c78f3
Merge pull request #385 from TuSimple/docs
Docs
2021-07-05 16:58:58 +08:00
07akioni
e3ef88aedb refactor(tree): prefix & suffix style 2021-07-05 16:47:11 +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
XieZongChen
c5534b139f
test(page-header): add NPageHeader test (#383) 2021-07-05 16:22:43 +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
Wanli Song
79d1d381f2
docs(popover) (#377)
* doc(popover)

* Update src/popover/demos/enUS/index.demo-entry.md

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-05 14:51:39 +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
07akioni
72b1287424 refactor(form-item): label-align 2021-07-05 14:08:36 +08:00
07akioni
dd5be6fbe3 test(tree): fix prefix & suffix 2021-07-05 13:38:57 +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
caoyugang_1
ad14dce495
docs(dialog): add descriptions (#372) 2021-07-05 12:50:00 +08:00
07akioni
0eb3d4a9ec docs(carousel): fix typo 2021-07-05 12:48:30 +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
4afc083389
test(icon): add NIcon test (#374) 2021-07-05 12:43:36 +08:00
07akioni
364058b94b chore(carousel): remove console 2021-07-04 21:20:18 +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
f61990c139 docs(input): focus & blur manually 2021-07-04 12:55:20 +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
XieZongChen
47a67a2da2
test(gradient-text): add gradient-text test (#368)
* test(gradient-text): add gradient-text test

* test: optimization

* test: optimization
2021-07-04 00:20:30 +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