Commit Graph

5221 Commits

Author SHA1 Message Date
XieZongChen
92fd9c4da9
feat(select): add onClear prop (#719)
* feat(NSelect): add onClear

* feat: optimization

* Apply suggestions from code review

* Update src/select/src/Select.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-30 00:18:12 +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
汪磊
153ecc9030
feat(menu): don't show placeholder when renderIcon return a falsy value (#724)
* feat(NMenu): enhanced renderIcon

close #722

* feat: render-icon enhanced
2021-07-30 00:00:31 +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
songjianet
7f57c315b5 docs(card): API table (#720) 2021-07-29 23:24:36 +08:00
XieZongChen
76d810a2d7
test(NBreadcrumb): add test (#721) 2021-07-29 13:42:52 +08:00
07akioni
1c94cab763 Merge branch 'main' into docs 2021-07-29 09:17:16 +08:00
07akioni
a41a163074 2.15.11 2021-07-29 09:14:51 +08:00
07akioni
ce8ff038cd fix(data-table): pagination error 2021-07-29 09:09:41 +08:00
07akioni
4762203e5e
Merge pull request #718 from TuSimple/main
sync main
2021-07-29 02:23:06 +08:00
07akioni
ea5ae8725d 2.15.10 2021-07-29 02:16:59 +08:00
07akioni
edd67b1687
Merge pull request #717 from TuSimple/docs
Docs
2021-07-29 02:09:35 +08:00
07akioni
dd0ecdbcf8 refactor(pagination): clean codes 2021-07-29 02:08:09 +08:00
07akioni
1bc04fe33a refactor(upload): clean codes 2021-07-29 01:44: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
07akioni
6b2b15d4d7 refactor(popover): use manual trigger when x and y is set 2021-07-29 00:55:19 +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
4da8ea9e16
feat(popover): log error when manually positioned (#700)
* feat(NPopover): add throwError when manually positioned

* feat: optimization
2021-07-29 00:32:46 +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
gangG
8d4bea60eb
docs(data-table): Delete the string type of the width attribute of dataTableColumn (#709) 2021-07-29 00:04:17 +08:00
songjianet
a6a11bec42
docs(button): api table (#697)
* docs(button): 更新按钮组件的说明文档和用例

* docs(button): 更新按钮组件的说明文档和用例

* Apply suggestions from code review

* Update src/button/demos/enUS/ghost.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-29 00:02:06 +08:00
XieZongChen
79fccafbcd
docs(dropdown): update manually positioned docs (#701) 2021-07-28 23:50:05 +08:00
XieZongChen
cda2659bd3
docs(popover): update docs (#689)
* docs(NPopover): update NPopover docs

* docs: optimization
2021-07-28 23:49:33 +08:00
Yugang Cao
7fd8cbe05f
docs(data-table): update enus flex-height docs (#713) 2021-07-28 23:22:00 +08:00
Yugang Cao
00b63d83b0
docs(image): update image enus docs (#714) 2021-07-28 23:21:12 +08:00
Yugang Cao
44b91bfaab
docs(modal): add modal docs (#712) 2021-07-28 23:20:16 +08:00
Yugang Cao
ddef8258ac
docs(typography):add typography docs (#708)
* docs(typography): add docs of typography

* docs(typography): add docs of typography

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-28 22:42:16 +08:00
XieZongChen
a8b188687d
test(NTimeline): add timeline test (#704) 2021-07-28 16:41:56 +08:00
07akioni
f493071167
Merge pull request #691 from TuSimple/main
sync main
2021-07-28 02:08:14 +08:00
07akioni
d86e879408 2.15.9 2021-07-28 01:59:25 +08:00
07akioni
2564aaf6b7
Merge pull request #690 from TuSimple/docs
Docs
2021-07-28 01:54:28 +08:00
07akioni
a4d627c80e test(input-number): fix showButton 2021-07-28 01:43:16 +08:00
07akioni
2e3aaa9b34 test(input-number): fix 2021-07-28 00:50:30 +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
XieZongChen
e2af79d36b
docs(thing): slots docs (#677) 2021-07-28 00:10:42 +08:00
07akioni
f12d4082da fix(message): options' duration prop doesn't work 2021-07-27 23:56:22 +08:00
07akioni
c4541cb856 docs(avatar): fix api table order 2021-07-27 23:47:19 +08:00
songjianet
b24994f8f2
docs(avatar): api table (#678)
* docs(avatar): 完善头像组件的说明文档和用例

* docs(avatar): 更新测试用例的说明

* Apply suggestions from code review

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-07-27 23:44:51 +08:00
07akioni
7f4014e95e chore(message): clean code 2021-07-27 23:37:40 +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
Yugang Cao
9c53004277
docs(select): api table (#682)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-27 23:06:56 +08:00
Yugang Cao
5c8fcf89ef
docs: add input-number docs (#681)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-27 16:50:59 +08:00