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
07akioni
4d5499172a
fix(tree-select): check-strategy='child'
not working in single select mode
2021-09-21 00:43:18 +08:00
07akioni
ac85b32eda
fix(upload): can't upload
2021-09-21 00:28:48 +08:00
07akioni
aefd856f60
fix(upload): style fixes
2021-09-21 00:28:46 +08:00
小魔王
e80ccf05b0
fix(tree): replace leafOnly prop to checkStrategy prop in select handler ( #1207 )
...
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-21 00:27:31 +08:00
07akioni
ee1c1e893c
fix(dialog): DialogReactive
props are readonly
2021-09-20 10:44:50 +08:00
07akioni
24691d506a
2.19.0
2021-09-19 23:24:28 +08:00
07akioni
3e4cac569c
docs(modal): expose on-after-enter & on-after-leave prop
2021-09-19 22:43:22 +08:00
07akioni
4114fdd85a
refactor(anchor): rename variant to type (for consistency)
2021-09-19 20:42:27 +08:00
07akioni
0f639d91a9
feat(popover): add z-index
prop, closes #764
2021-09-19 20:34:41 +08:00
07akioni
185395db22
feat(tabs): type
prop add 'segment'
option, closes #1133
2021-09-19 20:19:42 +08:00
07akioni
29cdeb8baf
fix(tabs): left shadow isn't displayed in card type
2021-09-19 17:45:47 +08:00
07akioni
56d516108b
fix(use-theme-vars): doesn't apply theme overrides, closes #1194 , closes #1176
2021-09-19 17:15:25 +08:00
07akioni
d0ba4ff456
feat(tree, tree-select): indeterminate-keys & on-update:indeterminate-keys prop
2021-09-19 16:41:34 +08:00
07akioni
78f5db7620
refactor(upload): clean codes
2021-09-19 15:13:07 +08:00
Kev1nzh
01bd890b73
feat(upload): add abstract
prop, separate upload-file-list
and upload-trigger
components ( #1193 )
...
* feat(upload): add `abstract` prop, separate `upload-file-list` and `upload-trigger` components (#1102 )
* docs(upload): add `abstract` props docs and CHANGELOG (#1102 )
* feat(upload): add upload tests (#1102 )
* feat(upload): fix `upload-trigger` and `upload-file-list` bug (#1102 )
* docs(upload): remove `upload-trigger` abstract prop (#1102 )
* feat(upload) fix upload-file-list method (#1102 )
* feat(upload): fix lint (#1102 )
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: kev1nzh_ark <kevin@app-ark.com>
2021-09-19 14:12:27 +08:00
07akioni
3a2d7975be
feat(anchor): add variant prop
2021-09-19 02:17:10 +08:00
07akioni
42477a21e6
feat(spin): add description prop & slot
2021-09-19 00:34:51 +08:00
Mr.Bai
38cab50ab0
fix(upload): multiple list incorrect ( #1125 )
...
* fix(upload): mutiple list incorrect
* update changelog
* optimize
* update changelog
* fix: test failed
* feat: optimization
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-18 23:38:26 +08:00
XieZongChen
c6058bf1e7
fix(badge): fix button border on hover conflicts with badge ( #1197 )
...
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-18 23:33:09 +08:00
小魔王
f5ef4ceb31
feat(input-number): add readonly prop ( #1200 )
...
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-18 23:28:47 +08:00
wenzheng
fd4c51ab40
feat(menu): add accordion prop ( #1184 )
...
* feat(menu): add accordion mode
* feat(menu): rebuild accordion to level 1 & add doc
* fix(menu): accordion only effect first-level menu
* refator(menu): move treeKeysLevelOne to common ref
* refactor(menu): use Map instead of Object
* refator(menu): use Set instead of Map
2021-09-18 01:59:10 +08:00
小魔王
c11edb289b
fix(form): collpsed in form-item-gi does not work ( #1166 )
...
* fix(n-form): collapse does not work in FormItemGi
* fix(n-form): add commit log
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-16 02:09:19 +08:00
07akioni
7b4bee4cb9
docs(layout-sider): new arrow-circle trigger
2021-09-16 01:11:16 +08:00
小魔王
68d203dff9
fix(select): shouldn't focus input when closing tag with filterable ( #1173 )
...
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-15 02:08:09 +08:00
07akioni
94f9545056
2.18.2
2021-09-14 02:33:15 +08:00
07akioni
152b6d85b7
feat(card): embedded prop
2021-09-14 02:19:45 +08:00
07akioni
f0e7f5cdc7
refactor(popselect): on-update:value
prop add option info
2021-09-14 02:19:45 +08:00
XieZongChen
ff88100e0b
feat(select): on-update:value prop add option info ( #1003 )
...
* feat(select): on-update:value function add option params
* feat(pop-select): on-update:value function add params
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-14 00:45:09 +08:00
XieZongChen
6b39acabe3
feat(tree-select): on-update:value prop add option info ( #1004 )
...
* feat(tree-select): on-update:value function add params
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
* feat: optimization
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-14 00:20:35 +08:00
XieZongChen
86412299d1
feat(cascader): on-update:value prop add option info ( #1158 )
2021-09-13 23:45:06 +08:00
07akioni
cf29465775
feat(select): support variadic height option render
2021-09-13 23:35:01 +08:00
doom-9
d4ae009a69
feat(page-header): support rtl ( #1154 )
...
* 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(page-header): support rtl
* add en demo
* fix code
* fix code
* fix code
2021-09-12 22:09:18 +08:00
07akioni
37eaa309f5
docs(changelog): fix sequence
2021-09-11 21:29:44 +08:00
07akioni
68e1681828
refactor(auto-complete): clean code
2021-09-11 21:28:57 +08:00
XieZongChen
0621c178e2
fix(date-picker): fix type of actions
prop ( #1146 )
...
* fix(date-picker): Fix n-date-picker‘s type of actions prop
* feat: optimization
* feat: optimization
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 21:27:41 +08:00
equt
7dc040b489
fix(auto-complete): children
option type and export types ( #1149 )
...
* fix(auto-complete): `n-auto-complete` group should support common option
* feat(auto-complete): export `AutoCompleteOption(s)` & `AutoCompleteGroupOption`
* doc(auto-complete): update changelog
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:58:08 +08:00
Yugang Cao
310c06ff04
fix(select): cannot override n-empty theme vars ( #1151 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:41:50 +08:00
FerricIon
488a891ea3
fix(dynamic-tags): add button not disabled ( #1153 )
...
* fix(dynamic-tags): add button not disabled
* update changelog
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-11 20:37:15 +08:00
07akioni
c13b27bb20
fix(select): closes menu when enter key is pressed in filterable mode without options data
2021-09-11 19:54:09 +08:00
07akioni
1864eb5e61
feat(select): add on-update:show
prop
2021-09-11 19:45:37 +08:00
kalykun
5e7fafa39f
feat(config-provider): add global config of the Empty component ( #1118 )
...
* feat(config-provider): add golbal config of the Empty component
* Fix code
* Code optimization
* Code optimization
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 22:48:34 +08:00
07akioni
b731e52dfc
fix(p): warns when depth
is number
2021-09-09 02:42:58 +08:00
XieZongChen
411d2d9bbd
feat(time-picker): add input-readonly
prop ( #1140 )
...
* feat(time-picker): add inputReadonly prop
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:28:01 +08:00
07akioni
c5098a0e5f
docs(date-picker): fix typo
2021-09-09 00:24:18 +08:00
XieZongChen
fd381b50e7
feat(date-picker): add input-readonly
prop ( #1138 )
...
* feat(date-picker): add inputReadonly prop
* feat: optimization
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:21:12 +08:00
kalykun
305538f402
feat(cascader): show Empty component when options prop is empty ( #1121 )
...
* feat(cascader): show Empty component when options prop is empty
* Code optimization
* Changelog
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-09 00:09:51 +08:00
07akioni
daafa7d133
docs(tree): check-strategy
2021-09-08 23:44:02 +08:00
07akioni
86e59b762e
docs(changelog): fix typo
2021-09-08 23:38:05 +08:00
小魔王
70a669a86d
feat(tree): add check-strategy prop ( #1122 )
...
* docs(tree): add checkStrategy prop
* docs(tree): add log
* feat(n-tree): 属性更新
* feat(n-tree): update the description of docs
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-08 23:37:21 +08:00
07akioni
057b0b5e25
2.18.1
2021-09-08 02:37:39 +08:00
Yugang Cao
635d35bd96
fix(input-number): cannot input decimal ( #1117 )
...
* fix: input-number cannot enter decimal
* fix: add more case
* Update src/input-number/src/InputNumber.tsx
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-08 02:30:18 +08:00
07akioni
2325842eac
feat(timeline): add icon-size prop
2021-09-08 02:18:17 +08:00
小魔王
7fd2ca5dde
feat(timeline): add icon slot ( #1103 )
...
* feat(n-timeline): add 'icon' slot
* feat(n-timeline): add dark style
* feat: icon优化
* feat: timeline icon优化
Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-09-08 01:38:14 +08:00
XieZongChen
0a4872df9a
fix(step): fix steps doesn't work with v-for children ( #1119 )
...
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-08 01:22:00 +08:00
Yugang Cao
3c5ea1503a
feat(dialog): useDialog add style option ( #1124 )
...
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-09-08 00:11:55 +08:00
07akioni
d701cacd48
2.18.0
2021-09-07 02:44:57 +08:00
07akioni
4e516da220
fix(cascader): check-strategy="child"
doesn't behaves the same as previous leaf-only
2021-09-07 02:40:25 +08:00
Yugang Cao
32c2957472
fix(radio-group): on-update-value type ( #1062 )
...
* fix: radioGroup type
* fix: update radio type
* fix: radioGroup type
* fix: update branch rebase
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-07 00:27:04 +08:00
Mr.Bai
249d2c913f
feat(form): split require-mark-placement and show-require-mark ( #1104 )
...
* feat(form): split require-mark-placement and show-require-mark
* Apply suggestions from code review
Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-06 23:44:14 +08:00
07akioni
3f71a7a0f5
feat(drawer): add on-mask-click
prop
2021-09-06 23:26:25 +08:00
07akioni
51cfde9000
fix(radio-group): on-update:value
and on-update-value
can't be array
2021-09-06 23:26:25 +08:00
07akioni
f81415f66b
fix(step): must be passed with internal-index
2021-09-06 23:26:25 +08:00
07akioni
95703aa04e
docs(changelog): fix
2021-09-06 10:05:36 +08:00
07akioni
69219446c8
fix(tree): show path
...
Fix tree show path
2021-09-06 10:03:14 +08:00
unknown
7d87ef7427
fix(tree-select): add log
2021-09-06 09:57:09 +08:00
07akioni
3380c7f521
fix(cascader): menu not showing correct checked keys
2021-09-06 09:56:19 +08:00
07akioni
41f79ce285
2.17.0
2021-09-05 15:21:12 +08:00