Commit Graph

5670 Commits

Author SHA1 Message Date
Kev1nzh
f1360847bb
feat(upload): add max prop and fix disabled's style (#1363)
* feat(upload): add `max` prop and fix `disabled`'s style  (#1237)

* feat(upload): fix CHANGELOG

* feat(upload): add test

* feat(upload): fix disabled

* Update src/upload/src/Upload.tsx

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

* feat(upload): fix `upload-dragger` mergedDisabled

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-17 23:55:46 +08:00
07akioni
9c61354dee refactor(cascader): filter fixing 2021-10-17 22:59:23 +08:00
XieZongChen
35693c8644
fix(cascader): fix filter prop lose efficacy (#1382) 2021-10-17 22:50:17 +08:00
07akioni
1661e2edd5 feat(time-picker): add use-12-hours prop, closes #547 2021-10-17 22:45:00 +08:00
07akioni
134aa49ecd fix(upload): file is set to null after upload failure, closes #1316 2021-10-17 19:43:56 +08:00
07akioni
23a7f24888 feat(input): add count slot, closes #1314 2021-10-17 19:20:58 +08:00
07akioni
4ac6be229a fix(dialog): close button will be overlayed with content, closes #1381 2021-10-17 18:56:21 +08:00
07akioni
5708554ee8 fix(collapse): change original expaned names 2021-10-17 18:53:52 +08:00
07akioni
e140e848d4 fix(collapse): expanded status is lost when using v-if with n-collapse-item, closes #1387 2021-10-17 18:51:47 +08:00
小魔王
15c97c5ca7
test(auto-complete): update test (#1365)
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-16 16:11:30 +08:00
XieZongChen
a2e5f557cb
feat(dropdown): add dropdown-props prop (#1369)
* feat(dropdown): add dropdown-props prop

* feat: optimization
2021-10-16 16:10:57 +08:00
songjianet
871e86ed75
test(date-picker): update test (#1376)
* test(date-picker): Update date-picker component test

* test(date-picker): Update date-picker component test

* test(date-picker): Update date-picker component test

* test(date-picker): Update date-picker component test
2021-10-16 01:58:44 +08:00
不见月
ad996a6e81
test(color-picker): swatches test (#1361)
* fix: `swatchColorMode` will be completed

* test(color-picker): supplementary test cases
2021-10-15 01:18:37 +08:00
XieZongChen
6a22570057
test(data-table): update test (#1358) 2021-10-14 10:02:23 +08:00
07akioni
15261637f8 2.19.8 2021-10-14 04:18:00 +08:00
07akioni
72ae1cadb4 test: jaJP locale 2021-10-14 04:12:48 +08:00
07akioni
f4a1121057 docs(select): typo 2021-10-14 04:10:49 +08:00
07akioni
497e657013 refactor(auto-complete): getDerivedShowFromValue => getShow 2021-10-14 04:07:53 +08:00
07akioni
c523e27cf4
Merge pull request #1355 from TuSimple/docs
Docs
2021-10-14 04:06:54 +08:00
07akioni
ca19f877b1
Merge branch 'main' into docs 2021-10-14 04:06:32 +08:00
07akioni
2f79dfff7d fix(ellipsis): prop not show pointer cursor when content is short when tooltip = false, closes #1299 2021-10-14 03:50:31 +08:00
07akioni
f471c9bd04 fix(scrollbar): doesn't support scrollTo, closes #1346 2021-10-14 03:38:45 +08:00
07akioni
e3ef366a3a site: make anchor scrollable 2021-10-14 03:21:30 +08:00
d46698884e
feat(anchor): make it scrollable, just a internal feature now (#1323)
* feat: add naive-scoller on anchor

* test: add test

* fix: wrong package import

* docs: changelog

* test: anchor debug

* chore: code style

* fix(anchor): remove `scrollbarProps`

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-14 03:11:19 +08:00
07akioni
8b7dd6e057 test(color-picker): fix 2021-10-14 03:04:16 +08:00
07akioni
b5c7a6592b refactor(color-picker): refactor logic, ref #1281 2021-10-14 02:48:59 +08:00
不见月
66f5fd42b7
feat(color-picker): support swatches (#1324)
* feat(color-picker): support swatches

* feat(color-picker): support swatches

* chore(color-picker-swatches): simplify logic

*chore: delete `show-swatches` props
*refactor: simplify logic and lazily handle color values
*docs: update docs

* chore(color-picker): remove color props

* style(color-picker-swatches): dealing with format

* chore: supplementary logic

* test: add test
2021-10-14 01:50:50 +08:00
07akioni
37d7fc981b fix(data-table): fixed column with multiple level header 2021-10-14 01:47:18 +08:00
07akioni
31caf74e88 fix(data-table): has duplicate right border when it has multiple level headers 2021-10-14 01:03:28 +08:00
07akioni
a6a2efbdf3 feat(select): add input-props prop, closes #1351 2021-10-14 00:27:18 +08:00
Keagan Chisnall
eb7917ed07
docs(select, slider, switch): better en (#1350)
* Docs - Select (English)

* Docs - Slider (English)

* Docs - Switch (English)

* Final edits

* Update src/select/demos/enUS/fallback-option.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-14 00:14:31 +08:00
小魔王
77260fe68c
feat(auto-complete): add getDerivedShowFromValue prop (#1318)
* feat(n-auto-complete): add show-on-focus prop to show all options or not

* feat: 更新属性设置

* feat: demo文件命名修正

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-14 00:08:37 +08:00
小魔王
88b4c6e9a5
fix(data-table): fixed style does not work in group header table (#1348)
* fix(n-data-table): fixed style does not work in group header table

* feat: 优化类型

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-13 17:14:13 +08:00
Void-YY
e3d5ae6e0d
feat: jaJP locale (#1347)
* feat(locale): add jaJP locale

* Update CHANGELOG.en-US.md & CHANGELOG.zh-CN.md

Co-authored-by: YY <yanyu@tri-japan.com>
2021-10-13 17:05:12 +08:00
XieZongChen
b377d4bd72
test(data-table): update test (#1343) 2021-10-13 10:09:43 +08:00
XieZongChen
fb9beb6d3c
test(data-table): update test (#1331) 2021-10-12 10:03:57 +08:00
Danny Feliz
d1307f5e28
Fix typo (#1330) 2021-10-12 09:57:07 +08:00
07akioni
5b059fc2a1
Merge pull request #1329 from TuSimple/main
sync main
2021-10-12 03:28:54 +08:00
07akioni
2921860be1 2.19.7 2021-10-12 03:26:39 +08:00
07akioni
79ad6a7b3a docs(input): fix format 2021-10-12 03:20:55 +08:00
07akioni
5874a649ac docs(input): fix on-input prop 2021-10-12 03:20:55 +08:00
07akioni
e7bbcf410f fix(modal): on-after-enter prop not working 2021-10-12 03:20:55 +08:00
小魔王
1b6fe1427d
fix(ellipsis): expand-trigger prop not show pointer cursor when con… (#1302)
* fix(n-ellipsis): expand-trigger prop not show pointer cursor when content is short

* feat: 优化cursor样式添加

* fix: 测量前后摆正ellipsis样式

* feat: 提取公共方法

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-12 01:18:08 +08:00
Keagan Chisnall
d2c7e64fc5
docs(mention,radio,rate): better en (#1325)
* Docs - NMention

* Docs NRadio (English)

* Docs NRadio (English)

* Docs final edits

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-12 00:04:45 +08:00
songjianet
938602faa7
test(calendar): add test (#1326)
* test(calendar): Update calendar component test

* test(calendar): Update calendar component test

* test(calendar): Update calendar component test
2021-10-12 00:02:38 +08:00
07akioni
cf61b67789 fix(select): fallback-option prop's type, closes #1327 2021-10-12 00:02:12 +08:00
XieZongChen
c339db752b
test(data-table): update test (#1317) 2021-10-11 10:17:18 +08:00
07akioni
dcc650dae9
Merge pull request #1313 from TuSimple/main
sync main
2021-10-10 19:44:01 +08:00
07akioni
7230ca20e8 2.19.6 2021-10-10 19:43:07 +08:00
07akioni
204441be20 docs(changelog): format 2021-10-10 19:34:53 +08:00