Commit Graph

5753 Commits

Author SHA1 Message Date
07akioni
cd5f041bd5 fix(select): option created by on-create doesn't show correct label in trigger, closes #1482 2021-11-01 01:24:54 +08:00
07akioni
ec1662a515 refactor(tree): clean codes 2021-11-01 00:59:09 +08:00
XieZongChen
9d43c0db36
feat(tree): n-tree's on-load prop is triggered when the expanded-keys prop changes in remote mode (#1429)
* test(dialog): Update dialog component test (#1404)

* test(data-table): update test (#1411)

* feat(tree): n-tree's on-load prop is triggered when the expanded-keys prop changes in remote mode

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* Update src/tree/src/Tree.tsx

Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-01 00:47:07 +08:00
Yugang Cao
9a922c6a13
feat(image): toolbar add close icon (#1418)
* feat(image): toolbar add close icon

* fix: replace closeIcon

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-01 00:23:46 +08:00
07akioni
cb90dac2da fix(select): test error 2021-11-01 00:11:20 +08:00
07akioni
abe07b777e docs(changelog): cascader fix 2021-10-31 23:58:06 +08:00
fuhaofuhao
b3d20684fd
fix(cascader): cannot remove option when using custom-field and multiple together (#1360)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-31 23:53:17 +08:00
07akioni
82efde2728 refactor(select): menu-props 2021-10-31 23:46:40 +08:00
Yugang Cao
ea80180308
feat(select): add menuProps prop (#1480)
* feat(n-select): add menuProps prop

* feat(n-select): add menuProps prop

* feat: update

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-10-31 23:26:13 +08:00
songjianet
b32f47508d
test(drawer): add test (#1443) 2021-10-31 23:23:07 +08:00
小魔王
66548d127f
fix(tree): filter prop does not work when assgined childrenFiled (#1479)
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-31 23:22:22 +08:00
XieZongChen
f1fd51e0ed
test(input): update test (#1483) 2021-10-30 14:12:38 +08:00
XieZongChen
636e6dcfbf
test(input): update test (#1478) 2021-10-29 14:22:19 +08:00
07akioni
b0ce497b4e refactor(tabs): clean code 2021-10-29 03:16:52 +08:00
小魔王
75879999c1
fix(tabs): refactor before-leave prop (#1420)
* feat: update before-leave prop

* fix: optimization

* fix: update log

* feat: update test

* fix: add debug demo

* feat: optimization

* fix: add debug demo

* feat: optimization

* feat: optimization

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-29 03:15:45 +08:00
07akioni
bbf5412c26
docs(tabs): fix typo 2021-10-29 02:39:03 +08:00
XieZongChen
6079e49d39
test(input): update test (#1464) 2021-10-28 14:33:05 +08:00
07akioni
d8acab7f83 2.20.0 2021-10-28 03:52:41 +08:00
07akioni
d266868491
Merge pull request #1460 from TuSimple/docs
Docs
2021-10-28 03:32:56 +08:00
07akioni
727b3b7db8
Merge branch 'main' into docs 2021-10-28 03:32:39 +08:00
Yufan You
bd5dd0047d
docs(upload): fix the default value of default-upload (#1450)
The irrelevant style changes are done by the pre-commit hook.
2021-10-28 02:47:25 +08:00
XieZongChen
ba11d25ddf
fix(input): text type doesn't support count slot (#1452)
* refactor(tabs): on-before-leave prop

* fix(tabs): typo

* fix(upload): file can't be removed when file count limit is reached, closes #1401

* 2.19.11

* test(dialog): Update dialog component test (#1404)

* test(data-table): update test (#1411)

* feat(input): n-input add categories supported by const slots

Co-authored-by: 张乐聪 <zhanglecong@bytedance.com>
Co-authored-by: songjianet <1778651752@qq.com>
2021-10-28 02:38:34 +08:00
07akioni
93f5b4f4c4 fix(date-picker): separator prop not working, closes #1456 2021-10-28 02:20:39 +08:00
XieZongChen
ea16d5f0f7
docs: supplementary CHANGELOG (#1453) 2021-10-27 16:09:36 +08:00
07akioni
ad0901c67d deps: change babel-eslint to @babel/eslint-parser 2021-10-27 03:08:57 +08:00
07akioni
22617d99df fix: some tests 2021-10-27 03:06:24 +08:00
07akioni
48acc3f1b1 fix(date-picker): test 2021-10-27 02:47:42 +08:00
07akioni
9312609462 docs(changelog): idID locale 2021-10-27 02:24:14 +08:00
zoomdong
3e80f2d1ce
workflow: move to pnpm (#1425)
* workflow: move to pnpm

* chore: complete test case

* Update .gitignore

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-27 02:23:24 +08:00
07akioni
a4563e4c4c refactor(tabs): rename display-directive show to show:lazy 2021-10-27 02:16:31 +08:00
XieZongChen
44fd457157
feat(data-table): refactor virtual-scroll (#1295)
* refactor(tabs): on-before-leave prop

* fix(tabs): typo

* fix(upload): file can't be removed when file count limit is reached, closes #1401

* 2.19.11

* test(dialog): Update dialog component test (#1404)

* test(data-table): update test (#1411)

* feat(data-table): restructure virtual-scroll

* feat(data-table): optimization

* feat: optimization

* feat(data-table): optimization expanded

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: add change log

* Update src/data-table/src/TableParts/Body.tsx

Co-authored-by: 张乐聪 <zhanglecong@bytedance.com>
Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-27 02:15:36 +08:00
不见月
079b8f4ed0
feat(tabs): support tab-pane lazy load (#1423)
* feat(tabs): support `tab-pane` lazy load

* docs(tabs): update docs

* chore(tab-pane): revised name

* perf(tabs): reduce the number of patch

* docs(tabs): update docs

* test(tabs): add test

* refactor(tabs): refactor `lazyload` of `tab-pane`

* fix(tabs): avoid dependency loop

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-27 01:57:55 +08:00
07akioni
2efa2f2374 fix: lint 2021-10-27 01:38:05 +08:00
Keagan Chisnall
230e719d73
docs(auto-complete, typography, upload): better en (#1437)
* Docs - Auto-complete

* Docs - Typography

* Docs - Upload
2021-10-27 01:37:49 +08:00
bjym
f826003544
feat(date-picker): shortcuts function value (#1415)
* feat(date-picker): shortcuts function value

* feat(date-picker): Shortcuts remove data parameter

* Apply suggestions from code review

Co-authored-by: aaronz <aaron.bjym1011@outlook.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-27 01:31:50 +08:00
Christopher Reeve
85701df091
docs: add indonesian locale (#1439) 2021-10-27 01:19:48 +08:00
Christopher Reeve
0e8486dadf
add idonesian locale (#1438) 2021-10-27 01:19:08 +08:00
XieZongChen
55eba5244e
docs(loading-bar): fix docs (#1441) 2021-10-26 14:58:54 +08:00
XieZongChen
4def75153e
test(data-table): update test (#1431) 2021-10-25 18:19:41 +08:00
XieZongChen
334b87d475
test(loading-bar): fix error (#1434) 2021-10-25 18:10:57 +08:00
07akioni
f618ffc167 fix(loading-bar): will show once even if start is not called when loading-bar-style is set 2021-10-25 01:07:19 +08:00
07akioni
0cbb1730cb fix(log): font-size prop not working, closes #1416 2021-10-24 00:36:51 +08:00
Keagan Chisnall
e7e082149a
docs(time-picker, transfer, tree-select): en (#1428)
* Docs - TimePicker (English)

* Docs - Transfer (English)

* Docs - TreeSelect (English)
2021-10-24 00:25:23 +08:00
07akioni
6be0929805 fix(loading-bar): loadingBarStyle accept string & function 2021-10-24 00:21:34 +08:00
songjianet
a41b19042b
test(drawer): Update drawer component test (#1419) 2021-10-22 15:23:20 +08:00
不见月
9978d92906
feat(color-picker): add show-color-preview prop (#1395)
* feat(color-picker): add `color-preview`

* docs(color-picker): add docs

* docs(color-picker): replace symbols

* feat(color-picker): `color-picker-swatches` support keyboard selection

* fix: guarantee test pass

* chore: use `toUpperCase`

* feat(color-picker): add `show-preview` prop

* chore(color-picker): public color convert function

* chore: keep uppercase

* docs(color-picker): document with color preview

* chore(color-picker): correct the variable name

* docs(color-picker): update docs

* refactor(tabs): on-before-leave prop

* fix(tabs): typo

* fix(upload): file can't be removed when file count limit is reached, closes #1401

* 2.19.11

* test(dialog): Update dialog component test (#1404)

* test(data-table): update test (#1411)

* chore: correct prop

Co-authored-by: 张乐聪 <zhanglecong@bytedance.com>
Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
2021-10-22 00:59:38 +08:00
张乐聪
d33b2a8283 fix: type error 2021-10-22 00:41:58 +08:00
张乐聪
f28f8ebcd2 fix(tabs): scroll passive warning, closes #1413 2021-10-22 00:24:08 +08:00
张乐聪
a98528f2d7 feat(collapse-transition): add show-prop, deprecate collapsed prop, closes #1407 2021-10-22 00:07:59 +08:00
XieZongChen
d92e19b78a test(data-table): update test (#1411) 2021-10-21 23:48:24 +08:00