Commit Graph

674 Commits

Author SHA1 Message Date
07akioni
204441be20 docs(changelog): format 2021-10-10 19:34:53 +08:00
Yufan You
bd50a70fd5
fix: ul list style (#1311)
This was introduced in #1248. These styles should belong to Breadcrumb
only.
2021-10-10 19:27:47 +08:00
07akioni
1e0c1ab7af fix: useThemeVars is sometimes unusable, closes #1309 2021-10-10 00:37:12 +08:00
07akioni
9ed18b2f96 refactor(cascader): clean codes 2021-10-10 00:37:12 +08:00
小魔王
a6298cac85
feat(cascader): provide all top options in callback function (#1298)
* feat(n-cascader): provide all top Key values in callback function

* feat: 更新获取节点路径

* fix: 考虑节点null值

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-09 23:47:29 +08:00
Mr.Bai
1d7901e89f
feat(layout): add scroll event (#1296)
* feat(n-layout): add scroll event

* optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-10-09 11:03:45 +08:00
07akioni
336320001c fix(menu): incorrect warning on default-expanded-keys 2021-10-08 00:15:32 +08:00
07akioni
e6cdfbdf91 2.19.5 2021-10-07 02:57:47 +08:00
07akioni
1214144b55 docs(changelog): reorder 2021-10-06 22:13:02 +08:00
XieZongChen
51d9b39a53
feat(tree): on-update-* prop add option info (#1277)
* feat(n-tree): n-tree's on-update prop add option info.

* feat: optimization

* feat: optimization

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-06 22:10:25 +08:00
07akioni
1646f9b11a fix(pagination): buttonColor theme variable not working 2021-10-06 21:53:09 +08:00
07akioni
783354d91f feat(popover): add to prop 2021-10-06 13:50:59 +08:00
07akioni
47fac44d35 wip(date-picker): clean codes 2021-10-06 13:44:51 +08:00
doom-9
3ea326e7a2
feat(date-picker): support month type (#1202)
* 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(date-picker): wip

* feat(date-picker): wip

* feat(date-picker): support VirtualList

* wip

* 添加 NScrollbar

* Update use-calendar.ts

* changelog

* 抽取公共代码

* 完善代码
2021-10-06 11:45:12 +08:00
07akioni
bacb7a3fc7 feat(date-picker): add first-day-of-week prop 2021-10-06 02:17:06 +08:00
07akioni
47346fa47f refactor(data-table): multiple column sorting 2021-10-06 01:59:30 +08:00
07akioni
f19822bdd1 fix(popselect): checkmark overlays on option text, closes #1282 2021-10-06 00:14:18 +08:00
07akioni
9b059bcd5d fix(popover): can't be nested with other pop-able components, closes #872 2021-10-05 23:54:40 +08:00
07akioni
84d2950dd8 fix(data-table): selection column's width is collapsed when it is set to fixed, closes #1283 2021-10-05 02:11:22 +08:00
07akioni
1e5c6d0fa6 feat(dropdown): support options with type='render' 2021-10-05 02:05:31 +08:00
07akioni
93db614c4d feat(scrollbar): new component 2021-10-04 18:22:36 +08:00
07akioni
94693bb64a feat(collapse-transition): new component, closes #829 2021-10-04 16:17:50 +08:00
07akioni
c31442bdf7 feat(switch, checkbox): add check-value & unchecked-value prop, closes #1234 2021-10-04 15:16:48 +08:00
Yugang Cao
ae4c3c56cf
feat(descriptions): add separator prop (#1265)
* feat: add separator prop

* fix: remove separator dom

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-04 13:40:08 +08:00
07akioni
ad8b6d587c feat(data-table): supports using path of the property to get as column key, closes #1271 2021-10-04 13:37:43 +08:00
07akioni
68c4e8d3a9 fix(data-table): throws error when using selection and summary together, closes #1276 2021-10-04 13:20:34 +08:00
07akioni
e9e133b82b feat(menu, dropdown): customizable field 2021-10-04 13:06:42 +08:00
Yugang Cao
b688493c8e
fix(date-picker): date action validate error (#1259)
* fix: date-picker date action validate error

* fix: update

* fix: validate error

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-10-02 00:15:08 +08:00
shuaibishun
b6ebd7614f
fix(form-item): too long content affects formItem width (#1269)
* fix: Too long content affects formItem  width

* fix: 修改更新日志

* fix: update log

Co-authored-by: zhouzhengshun@huatu.com <zhouzhengshun@huatu.com>
2021-10-02 00:14:10 +08:00
Matthew
a4cc59c608
feat(breadcrumb): aria support (#1248)
* improve accessibility of the breadcrumb container

* improve semantic and accessibility of breadcrumb item

* update doc

update index of the documentation

* update changelog

* Fix typo

* fix label doc for BreadCrumb

* improve test coverage

improve coverage

* add test for raising error when item is not inside a container

* create composable to make browser location reactive

* handle isCurrent automatically

* update docs

* externalize hasWindow function

* use better naming
2021-09-29 16:09:02 +08:00
wenzheng
d62f9348c6
feat(layout-sider): add ToggleButtonTextColor (#1250)
* feat(layout-sider): add siderToggleButtonTextColor

* docs(changelog): fulfill

* feat(layout-sider): improve toggleButtonIconColor
2021-09-29 00:09:48 +08:00
07akioni
c58aaea137 docs(changelog): fix upload log 2021-09-28 23:40:01 +08:00
Kev1nzh
3b39e2561b
fix(upload): show-preview-button not working (#1258)
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
2021-09-28 23:38:34 +08:00
07akioni
beb63bf2fc 2.19.3 2021-09-28 03:17:12 +08:00
07akioni
b39a798185 fix(tabs): scroll shadow is not updated when it's resized, closes #1224 2021-09-28 03:02:41 +08:00
07akioni
532a6ce65f fix(grid-item): no resposive behavior, closes #1220 2021-09-28 02:41:48 +08:00
Mr.Bai
468055bb00
fix(data-table): ellipsis ellipsis not show when last column not set ellipsis (#1246)
* fix(data-table): ellipsis bug

* update changelog

* fix(data-table): typo

* fix(data-table): typo

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-09-27 22:09:56 +08:00
07akioni
93dffad0ea 2.9.12 2021-09-26 01:33:44 +08:00
07akioni
92134f7801 fix(select): global theme overrides not working for select trigger, closes #1229 2021-09-26 01:30:26 +08:00
07akioni
8d3d98102e fix: components with popover throws error in SSR 2021-09-25 19:35:17 +08:00
07akioni
698e557797 fix: components with rtl support throws error in SSR 2021-09-25 18:09:54 +08:00
07akioni
0e6926cef4 docs(changelog): fulfill 2021-09-25 18:09:54 +08:00
Matthew
7cec2ff1b3
feat(checkbox): aria (#1226)
* add role for checkboxes

* add aria-checked for checkboxes

* handle indeterminate state

* update changelog

* set aria-labelledby for checkbox

remove unused arg

use seemly for generating a uniq id

use static value for labelId

fix typo

* add role attr for checkbox group
2021-09-24 00:49:19 +08:00
Anatolii Nehelia
5075438eb0
feat(locale): add ukUA locale (#1219)
* feat(locale): add ukUA locale

* Update src/locales/common/ukUA.ts

* Update src/locales/common/ukUA.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-22 23:22:49 +08:00
Matthew
c98a8ab049
feat(alert): aria (#1217)
* add role for alert component

* add aria-hidden for the alert icon

* add changelog
2021-09-22 23:21:09 +08:00
Matthew
0a52c1b141
fix(drawer): divider border transition for the drawer (#1213)
* add border transition on the drawer

* add changelog
2021-09-22 22:33:43 +08:00
07akioni
2687703bcc fix(global-style): shouldn't apply style transition on first mount 2021-09-21 23:51:26 +08:00
07akioni
d998d7cdf0 2.19.1 2021-09-21 03:08:50 +08:00
07akioni
07ca599ee4 fix(tree, tree-select): make checkable prop more intuitive 2021-09-21 02:50:04 +08:00
小魔王
ccfe9d6d4b
fix(tree): checkable does not work when setting cascade is false (#1206)
* fix(n-tree): check node does not work when setting cascade is false and checkable prop

* feat: update cascade demo

* feat: set default cascade false

* feat: set default cascade false

* feat: update changelog

* Apply suggestions from code review

* Update TreeNode.tsx

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-21 01:06:26 +08:00