@progress/kendo-vue-buttons 3.8.4-dev.202302221749 → 3.8.4-dev.202302231256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-vue-buttons.js +1 -1
- package/dist/es/Button.js +2 -2
- package/dist/es/Chip/Chip.js +5 -1
- package/dist/es/Chip/ChipList.js +6 -2
- package/dist/es/ListButton/DropDownButton.js +4 -4
- package/dist/es/ListButton/SplitButton.js +17 -9
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/toolbar/Toolbar.d.ts +4 -0
- package/dist/es/toolbar/Toolbar.js +5 -2
- package/dist/esm/Button.js +2 -2
- package/dist/esm/Chip/Chip.js +5 -1
- package/dist/esm/Chip/ChipList.js +6 -2
- package/dist/esm/ListButton/DropDownButton.js +4 -4
- package/dist/esm/ListButton/SplitButton.js +17 -9
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/toolbar/Toolbar.d.ts +4 -0
- package/dist/esm/toolbar/Toolbar.js +5 -2
- package/dist/npm/Button.js +2 -2
- package/dist/npm/Chip/Chip.js +5 -1
- package/dist/npm/Chip/ChipList.js +6 -2
- package/dist/npm/ListButton/DropDownButton.js +4 -4
- package/dist/npm/ListButton/SplitButton.js +17 -9
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/toolbar/Toolbar.d.ts +4 -0
- package/dist/npm/toolbar/Toolbar.js +5 -2
- package/package.json +6 -6
package/dist/es/Button.js
CHANGED
|
@@ -265,11 +265,11 @@ var ButtonVue2 = {
|
|
|
265
265
|
title: this.title,
|
|
266
266
|
"aria-label": this.ariaLabel,
|
|
267
267
|
"aria-disabled": this.$props.disabled || undefined,
|
|
268
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
268
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
269
269
|
},
|
|
270
270
|
"aria-label": this.ariaLabel,
|
|
271
271
|
"aria-disabled": this.$props.disabled || undefined,
|
|
272
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
272
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
273
273
|
}, [iconElement.call(this), defaultSlot && h("span", {
|
|
274
274
|
"class": "k-button-text"
|
|
275
275
|
}, [defaultSlot])]);
|
package/dist/es/Chip/Chip.js
CHANGED
package/dist/es/Chip/ChipList.js
CHANGED
|
@@ -203,7 +203,9 @@ var ChipListVue2 = {
|
|
|
203
203
|
dir: this.currentDir,
|
|
204
204
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
205
205
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
206
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
206
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
207
|
+
"aria-orientation": 'horizontal',
|
|
208
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
207
209
|
},
|
|
208
210
|
id: this.$props.id,
|
|
209
211
|
dir: this.currentDir,
|
|
@@ -211,7 +213,9 @@ var ChipListVue2 = {
|
|
|
211
213
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
212
214
|
"class": classNames('k-chip-list', (_a = {}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-rtl'] = this.currentDir === 'rtl', _a['k-selection-single'] = this.$props.selection === 'single', _a['k-selection-multiple'] = this.$props.selection === 'multiple', _a['k-disabled'] = this.$props.disabled, _a)),
|
|
213
215
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
214
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
216
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
217
|
+
"aria-orientation": 'horizontal',
|
|
218
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
215
219
|
}, [this.computedDataItems.map(function (item) {
|
|
216
220
|
var chipTemplate = templateRendering.call(this, this.$props.chip, getListeners.call(this));
|
|
217
221
|
var chipDefaultRendering =
|
|
@@ -280,10 +280,10 @@ var DropDownButtonVue2 = {
|
|
|
280
280
|
dir: dir,
|
|
281
281
|
type: "button",
|
|
282
282
|
"aria-disabled": disabled,
|
|
283
|
-
"aria-haspopup":
|
|
283
|
+
"aria-haspopup": 'menu',
|
|
284
284
|
"aria-expanded": this.computedOpened,
|
|
285
285
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
286
|
-
"aria-
|
|
286
|
+
"aria-controls": this.guid,
|
|
287
287
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
288
288
|
},
|
|
289
289
|
shape: this.$props.shape,
|
|
@@ -309,10 +309,10 @@ var DropDownButtonVue2 = {
|
|
|
309
309
|
ref: this._anchor,
|
|
310
310
|
type: "button",
|
|
311
311
|
"aria-disabled": disabled,
|
|
312
|
-
"aria-haspopup":
|
|
312
|
+
"aria-haspopup": 'menu',
|
|
313
313
|
"aria-expanded": this.computedOpened,
|
|
314
314
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
315
|
-
"aria-
|
|
315
|
+
"aria-controls": this.guid,
|
|
316
316
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
317
317
|
}, this.v3 ? function () {
|
|
318
318
|
return [_this2.$props.text, defaultSlot];
|
|
@@ -161,8 +161,9 @@ var SplitButtonVue2 = {
|
|
|
161
161
|
// @ts-ignore
|
|
162
162
|
h(ButtonItem, {
|
|
163
163
|
"class": "k-menu-item",
|
|
164
|
-
|
|
164
|
+
role: "menuitem",
|
|
165
165
|
attrs: this.v3 ? undefined : {
|
|
166
|
+
role: "menuitem",
|
|
166
167
|
dataItem: currentDataItem,
|
|
167
168
|
textField: textField,
|
|
168
169
|
focused: this.focusedIndex === index,
|
|
@@ -171,6 +172,7 @@ var SplitButtonVue2 = {
|
|
|
171
172
|
index: index,
|
|
172
173
|
id: "".concat(this.guid, "-").concat(index)
|
|
173
174
|
},
|
|
175
|
+
dataItem: currentDataItem,
|
|
174
176
|
textField: textField,
|
|
175
177
|
focused: this.focusedIndex === index,
|
|
176
178
|
onClick: this.onItemClick,
|
|
@@ -220,18 +222,22 @@ var SplitButtonVue2 = {
|
|
|
220
222
|
role: "menu",
|
|
221
223
|
attrs: _this2.v3 ? undefined : {
|
|
222
224
|
role: "menu",
|
|
223
|
-
id: _this2.guid
|
|
225
|
+
id: _this2.guid,
|
|
226
|
+
"aria-labelledby": _this2._anchor
|
|
224
227
|
},
|
|
225
|
-
id: _this2.guid
|
|
228
|
+
id: _this2.guid,
|
|
229
|
+
"aria-labelledby": _this2._anchor
|
|
226
230
|
}, [renderChildItems.call(_this2)])];
|
|
227
231
|
} : [h("ul", {
|
|
228
232
|
"class": "k-group k-menu-group k-reset k-menu-group-".concat(kendoThemeMaps.sizeMap[size] || size),
|
|
229
233
|
role: "menu",
|
|
230
234
|
attrs: _this2.v3 ? undefined : {
|
|
231
235
|
role: "menu",
|
|
232
|
-
id: _this2.guid
|
|
236
|
+
id: _this2.guid,
|
|
237
|
+
"aria-labelledby": _this2._anchor
|
|
233
238
|
},
|
|
234
|
-
id: _this2.guid
|
|
239
|
+
id: _this2.guid,
|
|
240
|
+
"aria-labelledby": _this2._anchor
|
|
235
241
|
}, [renderChildItems.call(_this2)])])
|
|
236
242
|
);
|
|
237
243
|
};
|
|
@@ -266,12 +272,13 @@ var SplitButtonVue2 = {
|
|
|
266
272
|
imageUrl: this.$props.imageUrl,
|
|
267
273
|
look: this.$props.look,
|
|
268
274
|
dir: dir,
|
|
275
|
+
id: this._anchor,
|
|
269
276
|
type: "button",
|
|
270
277
|
"aria-disabled": disabled,
|
|
271
|
-
"aria-haspopup":
|
|
278
|
+
"aria-haspopup": 'menu',
|
|
272
279
|
"aria-expanded": this.computedOpened,
|
|
273
280
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
274
|
-
"aria-
|
|
281
|
+
"aria-controls": this.guid,
|
|
275
282
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
276
283
|
},
|
|
277
284
|
rounded: this.$props.rounded,
|
|
@@ -294,13 +301,14 @@ var SplitButtonVue2 = {
|
|
|
294
301
|
imageUrl: this.$props.imageUrl,
|
|
295
302
|
look: this.$props.look,
|
|
296
303
|
dir: dir,
|
|
304
|
+
id: this._anchor,
|
|
297
305
|
ref: this._anchor,
|
|
298
306
|
type: "button",
|
|
299
307
|
"aria-disabled": disabled,
|
|
300
|
-
"aria-haspopup":
|
|
308
|
+
"aria-haspopup": 'menu',
|
|
301
309
|
"aria-expanded": this.computedOpened,
|
|
302
310
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
303
|
-
"aria-
|
|
311
|
+
"aria-controls": this.guid,
|
|
304
312
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
305
313
|
}, this.v3 ? function () {
|
|
306
314
|
return [_this3.$props.text, defaultSlot];
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-buttons',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1677155941,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -45,7 +45,8 @@ var ToolbarVue2 = {
|
|
|
45
45
|
validator: function validator(value) {
|
|
46
46
|
return [null, 'small', 'medium', 'large'].includes(value);
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
},
|
|
49
|
+
ariaLabel: String
|
|
49
50
|
},
|
|
50
51
|
created: function created() {
|
|
51
52
|
this.offsetHeight = 0;
|
|
@@ -112,9 +113,11 @@ var ToolbarVue2 = {
|
|
|
112
113
|
role: "toolbar",
|
|
113
114
|
attrs: this.v3 ? undefined : {
|
|
114
115
|
role: "toolbar",
|
|
115
|
-
dir: this.$props.dir
|
|
116
|
+
dir: this.$props.dir,
|
|
117
|
+
"aria-label": this.$props.ariaLabel
|
|
116
118
|
},
|
|
117
119
|
dir: this.$props.dir,
|
|
120
|
+
"aria-label": this.$props.ariaLabel,
|
|
118
121
|
onKeydown: this.onKeyDown,
|
|
119
122
|
on: this.v3 ? undefined : {
|
|
120
123
|
"keydown": this.onKeyDown
|
package/dist/esm/Button.js
CHANGED
|
@@ -265,11 +265,11 @@ var ButtonVue2 = {
|
|
|
265
265
|
title: this.title,
|
|
266
266
|
"aria-label": this.ariaLabel,
|
|
267
267
|
"aria-disabled": this.$props.disabled || undefined,
|
|
268
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
268
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
269
269
|
},
|
|
270
270
|
"aria-label": this.ariaLabel,
|
|
271
271
|
"aria-disabled": this.$props.disabled || undefined,
|
|
272
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
272
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
273
273
|
}, [iconElement.call(this), defaultSlot && h("span", {
|
|
274
274
|
"class": "k-button-text"
|
|
275
275
|
}, [defaultSlot])]);
|
package/dist/esm/Chip/Chip.js
CHANGED
|
@@ -203,7 +203,9 @@ var ChipListVue2 = {
|
|
|
203
203
|
dir: this.currentDir,
|
|
204
204
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
205
205
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
206
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
206
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
207
|
+
"aria-orientation": 'horizontal',
|
|
208
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
207
209
|
},
|
|
208
210
|
id: this.$props.id,
|
|
209
211
|
dir: this.currentDir,
|
|
@@ -211,7 +213,9 @@ var ChipListVue2 = {
|
|
|
211
213
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
212
214
|
"class": classNames('k-chip-list', (_a = {}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-rtl'] = this.currentDir === 'rtl', _a['k-selection-single'] = this.$props.selection === 'single', _a['k-selection-multiple'] = this.$props.selection === 'multiple', _a['k-disabled'] = this.$props.disabled, _a)),
|
|
213
215
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
214
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
216
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
217
|
+
"aria-orientation": 'horizontal',
|
|
218
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
215
219
|
}, [this.computedDataItems.map(function (item) {
|
|
216
220
|
var chipTemplate = templateRendering.call(this, this.$props.chip, getListeners.call(this));
|
|
217
221
|
var chipDefaultRendering =
|
|
@@ -280,10 +280,10 @@ var DropDownButtonVue2 = {
|
|
|
280
280
|
dir: dir,
|
|
281
281
|
type: "button",
|
|
282
282
|
"aria-disabled": disabled,
|
|
283
|
-
"aria-haspopup":
|
|
283
|
+
"aria-haspopup": 'menu',
|
|
284
284
|
"aria-expanded": this.computedOpened,
|
|
285
285
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
286
|
-
"aria-
|
|
286
|
+
"aria-controls": this.guid,
|
|
287
287
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
288
288
|
},
|
|
289
289
|
shape: this.$props.shape,
|
|
@@ -309,10 +309,10 @@ var DropDownButtonVue2 = {
|
|
|
309
309
|
ref: this._anchor,
|
|
310
310
|
type: "button",
|
|
311
311
|
"aria-disabled": disabled,
|
|
312
|
-
"aria-haspopup":
|
|
312
|
+
"aria-haspopup": 'menu',
|
|
313
313
|
"aria-expanded": this.computedOpened,
|
|
314
314
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
315
|
-
"aria-
|
|
315
|
+
"aria-controls": this.guid,
|
|
316
316
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
317
317
|
}, this.v3 ? function () {
|
|
318
318
|
return [_this2.$props.text, defaultSlot];
|
|
@@ -161,8 +161,9 @@ var SplitButtonVue2 = {
|
|
|
161
161
|
// @ts-ignore
|
|
162
162
|
h(ButtonItem, {
|
|
163
163
|
"class": "k-menu-item",
|
|
164
|
-
|
|
164
|
+
role: "menuitem",
|
|
165
165
|
attrs: this.v3 ? undefined : {
|
|
166
|
+
role: "menuitem",
|
|
166
167
|
dataItem: currentDataItem,
|
|
167
168
|
textField: textField,
|
|
168
169
|
focused: this.focusedIndex === index,
|
|
@@ -171,6 +172,7 @@ var SplitButtonVue2 = {
|
|
|
171
172
|
index: index,
|
|
172
173
|
id: "".concat(this.guid, "-").concat(index)
|
|
173
174
|
},
|
|
175
|
+
dataItem: currentDataItem,
|
|
174
176
|
textField: textField,
|
|
175
177
|
focused: this.focusedIndex === index,
|
|
176
178
|
onClick: this.onItemClick,
|
|
@@ -220,18 +222,22 @@ var SplitButtonVue2 = {
|
|
|
220
222
|
role: "menu",
|
|
221
223
|
attrs: _this2.v3 ? undefined : {
|
|
222
224
|
role: "menu",
|
|
223
|
-
id: _this2.guid
|
|
225
|
+
id: _this2.guid,
|
|
226
|
+
"aria-labelledby": _this2._anchor
|
|
224
227
|
},
|
|
225
|
-
id: _this2.guid
|
|
228
|
+
id: _this2.guid,
|
|
229
|
+
"aria-labelledby": _this2._anchor
|
|
226
230
|
}, [renderChildItems.call(_this2)])];
|
|
227
231
|
} : [h("ul", {
|
|
228
232
|
"class": "k-group k-menu-group k-reset k-menu-group-".concat(kendoThemeMaps.sizeMap[size] || size),
|
|
229
233
|
role: "menu",
|
|
230
234
|
attrs: _this2.v3 ? undefined : {
|
|
231
235
|
role: "menu",
|
|
232
|
-
id: _this2.guid
|
|
236
|
+
id: _this2.guid,
|
|
237
|
+
"aria-labelledby": _this2._anchor
|
|
233
238
|
},
|
|
234
|
-
id: _this2.guid
|
|
239
|
+
id: _this2.guid,
|
|
240
|
+
"aria-labelledby": _this2._anchor
|
|
235
241
|
}, [renderChildItems.call(_this2)])])
|
|
236
242
|
);
|
|
237
243
|
};
|
|
@@ -266,12 +272,13 @@ var SplitButtonVue2 = {
|
|
|
266
272
|
imageUrl: this.$props.imageUrl,
|
|
267
273
|
look: this.$props.look,
|
|
268
274
|
dir: dir,
|
|
275
|
+
id: this._anchor,
|
|
269
276
|
type: "button",
|
|
270
277
|
"aria-disabled": disabled,
|
|
271
|
-
"aria-haspopup":
|
|
278
|
+
"aria-haspopup": 'menu',
|
|
272
279
|
"aria-expanded": this.computedOpened,
|
|
273
280
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
274
|
-
"aria-
|
|
281
|
+
"aria-controls": this.guid,
|
|
275
282
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
276
283
|
},
|
|
277
284
|
rounded: this.$props.rounded,
|
|
@@ -294,13 +301,14 @@ var SplitButtonVue2 = {
|
|
|
294
301
|
imageUrl: this.$props.imageUrl,
|
|
295
302
|
look: this.$props.look,
|
|
296
303
|
dir: dir,
|
|
304
|
+
id: this._anchor,
|
|
297
305
|
ref: this._anchor,
|
|
298
306
|
type: "button",
|
|
299
307
|
"aria-disabled": disabled,
|
|
300
|
-
"aria-haspopup":
|
|
308
|
+
"aria-haspopup": 'menu',
|
|
301
309
|
"aria-expanded": this.computedOpened,
|
|
302
310
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
303
|
-
"aria-
|
|
311
|
+
"aria-controls": this.guid,
|
|
304
312
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
305
313
|
}, this.v3 ? function () {
|
|
306
314
|
return [_this3.$props.text, defaultSlot];
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-buttons',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1677155941,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -45,7 +45,8 @@ var ToolbarVue2 = {
|
|
|
45
45
|
validator: function validator(value) {
|
|
46
46
|
return [null, 'small', 'medium', 'large'].includes(value);
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
},
|
|
49
|
+
ariaLabel: String
|
|
49
50
|
},
|
|
50
51
|
created: function created() {
|
|
51
52
|
this.offsetHeight = 0;
|
|
@@ -112,9 +113,11 @@ var ToolbarVue2 = {
|
|
|
112
113
|
role: "toolbar",
|
|
113
114
|
attrs: this.v3 ? undefined : {
|
|
114
115
|
role: "toolbar",
|
|
115
|
-
dir: this.$props.dir
|
|
116
|
+
dir: this.$props.dir,
|
|
117
|
+
"aria-label": this.$props.ariaLabel
|
|
116
118
|
},
|
|
117
119
|
dir: this.$props.dir,
|
|
120
|
+
"aria-label": this.$props.ariaLabel,
|
|
118
121
|
onKeydown: this.onKeyDown,
|
|
119
122
|
on: this.v3 ? undefined : {
|
|
120
123
|
"keydown": this.onKeyDown
|
package/dist/npm/Button.js
CHANGED
|
@@ -271,11 +271,11 @@ var ButtonVue2 = {
|
|
|
271
271
|
title: this.title,
|
|
272
272
|
"aria-label": this.ariaLabel,
|
|
273
273
|
"aria-disabled": this.$props.disabled || undefined,
|
|
274
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
274
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
275
275
|
},
|
|
276
276
|
"aria-label": this.ariaLabel,
|
|
277
277
|
"aria-disabled": this.$props.disabled || undefined,
|
|
278
|
-
"aria-pressed": togglable ? this.currentActive ? true :
|
|
278
|
+
"aria-pressed": togglable ? this.currentActive ? true : false : undefined
|
|
279
279
|
}, [iconElement.call(this), defaultSlot && h("span", {
|
|
280
280
|
"class": "k-button-text"
|
|
281
281
|
}, [defaultSlot])]);
|
package/dist/npm/Chip/Chip.js
CHANGED
|
@@ -209,7 +209,9 @@ var ChipListVue2 = {
|
|
|
209
209
|
dir: this.currentDir,
|
|
210
210
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
211
211
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
212
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
212
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
213
|
+
"aria-orientation": 'horizontal',
|
|
214
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
213
215
|
},
|
|
214
216
|
id: this.$props.id,
|
|
215
217
|
dir: this.currentDir,
|
|
@@ -217,7 +219,9 @@ var ChipListVue2 = {
|
|
|
217
219
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(this.$props.tabIndex, this.$props.disabled, undefined),
|
|
218
220
|
"class": (0, kendo_vue_common_1.classNames)('k-chip-list', (_a = {}, _a["k-chip-list-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-rtl'] = this.currentDir === 'rtl', _a['k-selection-single'] = this.$props.selection === 'single', _a['k-selection-multiple'] = this.$props.selection === 'multiple', _a['k-disabled'] = this.$props.disabled, _a)),
|
|
219
221
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
220
|
-
"aria-describedby": this.$props.ariaDescribedBy
|
|
222
|
+
"aria-describedby": this.$props.ariaDescribedBy,
|
|
223
|
+
"aria-orientation": 'horizontal',
|
|
224
|
+
"aria-multiselectable": this.$props.selection === 'multiple' ? true : undefined
|
|
221
225
|
}, [this.computedDataItems.map(function (item) {
|
|
222
226
|
var chipTemplate = kendo_vue_common_1.templateRendering.call(this, this.$props.chip, kendo_vue_common_1.getListeners.call(this));
|
|
223
227
|
var chipDefaultRendering =
|
|
@@ -286,10 +286,10 @@ var DropDownButtonVue2 = {
|
|
|
286
286
|
dir: dir,
|
|
287
287
|
type: "button",
|
|
288
288
|
"aria-disabled": disabled,
|
|
289
|
-
"aria-haspopup":
|
|
289
|
+
"aria-haspopup": 'menu',
|
|
290
290
|
"aria-expanded": this.computedOpened,
|
|
291
291
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
292
|
-
"aria-
|
|
292
|
+
"aria-controls": this.guid,
|
|
293
293
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
294
294
|
},
|
|
295
295
|
shape: this.$props.shape,
|
|
@@ -315,10 +315,10 @@ var DropDownButtonVue2 = {
|
|
|
315
315
|
ref: this._anchor,
|
|
316
316
|
type: "button",
|
|
317
317
|
"aria-disabled": disabled,
|
|
318
|
-
"aria-haspopup":
|
|
318
|
+
"aria-haspopup": 'menu',
|
|
319
319
|
"aria-expanded": this.computedOpened,
|
|
320
320
|
"aria-label": "".concat(this.$props.text, " dropdownbutton"),
|
|
321
|
-
"aria-
|
|
321
|
+
"aria-controls": this.guid,
|
|
322
322
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
323
323
|
}, this.v3 ? function () {
|
|
324
324
|
return [_this2.$props.text, defaultSlot];
|
|
@@ -167,8 +167,9 @@ var SplitButtonVue2 = {
|
|
|
167
167
|
// @ts-ignore
|
|
168
168
|
h(ButtonItem_1.ButtonItem, {
|
|
169
169
|
"class": "k-menu-item",
|
|
170
|
-
|
|
170
|
+
role: "menuitem",
|
|
171
171
|
attrs: this.v3 ? undefined : {
|
|
172
|
+
role: "menuitem",
|
|
172
173
|
dataItem: currentDataItem,
|
|
173
174
|
textField: textField,
|
|
174
175
|
focused: this.focusedIndex === index,
|
|
@@ -177,6 +178,7 @@ var SplitButtonVue2 = {
|
|
|
177
178
|
index: index,
|
|
178
179
|
id: "".concat(this.guid, "-").concat(index)
|
|
179
180
|
},
|
|
181
|
+
dataItem: currentDataItem,
|
|
180
182
|
textField: textField,
|
|
181
183
|
focused: this.focusedIndex === index,
|
|
182
184
|
onClick: this.onItemClick,
|
|
@@ -226,18 +228,22 @@ var SplitButtonVue2 = {
|
|
|
226
228
|
role: "menu",
|
|
227
229
|
attrs: _this2.v3 ? undefined : {
|
|
228
230
|
role: "menu",
|
|
229
|
-
id: _this2.guid
|
|
231
|
+
id: _this2.guid,
|
|
232
|
+
"aria-labelledby": _this2._anchor
|
|
230
233
|
},
|
|
231
|
-
id: _this2.guid
|
|
234
|
+
id: _this2.guid,
|
|
235
|
+
"aria-labelledby": _this2._anchor
|
|
232
236
|
}, [renderChildItems.call(_this2)])];
|
|
233
237
|
} : [h("ul", {
|
|
234
238
|
"class": "k-group k-menu-group k-reset k-menu-group-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size),
|
|
235
239
|
role: "menu",
|
|
236
240
|
attrs: _this2.v3 ? undefined : {
|
|
237
241
|
role: "menu",
|
|
238
|
-
id: _this2.guid
|
|
242
|
+
id: _this2.guid,
|
|
243
|
+
"aria-labelledby": _this2._anchor
|
|
239
244
|
},
|
|
240
|
-
id: _this2.guid
|
|
245
|
+
id: _this2.guid,
|
|
246
|
+
"aria-labelledby": _this2._anchor
|
|
241
247
|
}, [renderChildItems.call(_this2)])])
|
|
242
248
|
);
|
|
243
249
|
};
|
|
@@ -272,12 +278,13 @@ var SplitButtonVue2 = {
|
|
|
272
278
|
imageUrl: this.$props.imageUrl,
|
|
273
279
|
look: this.$props.look,
|
|
274
280
|
dir: dir,
|
|
281
|
+
id: this._anchor,
|
|
275
282
|
type: "button",
|
|
276
283
|
"aria-disabled": disabled,
|
|
277
|
-
"aria-haspopup":
|
|
284
|
+
"aria-haspopup": 'menu',
|
|
278
285
|
"aria-expanded": this.computedOpened,
|
|
279
286
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
280
|
-
"aria-
|
|
287
|
+
"aria-controls": this.guid,
|
|
281
288
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
282
289
|
},
|
|
283
290
|
rounded: this.$props.rounded,
|
|
@@ -300,13 +307,14 @@ var SplitButtonVue2 = {
|
|
|
300
307
|
imageUrl: this.$props.imageUrl,
|
|
301
308
|
look: this.$props.look,
|
|
302
309
|
dir: dir,
|
|
310
|
+
id: this._anchor,
|
|
303
311
|
ref: this._anchor,
|
|
304
312
|
type: "button",
|
|
305
313
|
"aria-disabled": disabled,
|
|
306
|
-
"aria-haspopup":
|
|
314
|
+
"aria-haspopup": 'menu',
|
|
307
315
|
"aria-expanded": this.computedOpened,
|
|
308
316
|
"aria-label": "".concat(this.$props.text, " splitbutton"),
|
|
309
|
-
"aria-
|
|
317
|
+
"aria-controls": this.guid,
|
|
310
318
|
"aria-activedescendant": this.focusedIndex !== undefined && this.focusedIndex >= 0 ? "".concat(this.guid, "-").concat(this.focusedIndex) : undefined
|
|
311
319
|
}, this.v3 ? function () {
|
|
312
320
|
return [_this3.$props.text, defaultSlot];
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-buttons',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1677155941,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
|
@@ -51,7 +51,8 @@ var ToolbarVue2 = {
|
|
|
51
51
|
validator: function validator(value) {
|
|
52
52
|
return [null, 'small', 'medium', 'large'].includes(value);
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
},
|
|
55
|
+
ariaLabel: String
|
|
55
56
|
},
|
|
56
57
|
created: function created() {
|
|
57
58
|
this.offsetHeight = 0;
|
|
@@ -118,9 +119,11 @@ var ToolbarVue2 = {
|
|
|
118
119
|
role: "toolbar",
|
|
119
120
|
attrs: this.v3 ? undefined : {
|
|
120
121
|
role: "toolbar",
|
|
121
|
-
dir: this.$props.dir
|
|
122
|
+
dir: this.$props.dir,
|
|
123
|
+
"aria-label": this.$props.ariaLabel
|
|
122
124
|
},
|
|
123
125
|
dir: this.$props.dir,
|
|
126
|
+
"aria-label": this.$props.ariaLabel,
|
|
124
127
|
onKeydown: this.onKeyDown,
|
|
125
128
|
on: this.v3 ? undefined : {
|
|
126
129
|
"keydown": this.onKeyDown
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-buttons",
|
|
3
3
|
"description": "Kendo UI for Vue Buttons package",
|
|
4
|
-
"version": "3.8.4-dev.
|
|
4
|
+
"version": "3.8.4-dev.202302231256",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"vue": "^2.6.12 || ^3.0.2"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@progress/kendo-vue-common": "3.8.4-dev.
|
|
43
|
-
"@progress/kendo-vue-popup": "3.8.4-dev.
|
|
42
|
+
"@progress/kendo-vue-common": "3.8.4-dev.202302231256",
|
|
43
|
+
"@progress/kendo-vue-popup": "3.8.4-dev.202302231256"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@progress/kendo-drawing": "^1.5.12",
|
|
47
|
-
"@progress/kendo-vue-dropdowns": "3.8.4-dev.
|
|
48
|
-
"@progress/kendo-vue-inputs": "3.8.4-dev.
|
|
49
|
-
"@progress/kendo-vue-layout": "3.8.4-dev.
|
|
47
|
+
"@progress/kendo-vue-dropdowns": "3.8.4-dev.202302231256",
|
|
48
|
+
"@progress/kendo-vue-inputs": "3.8.4-dev.202302231256",
|
|
49
|
+
"@progress/kendo-vue-layout": "3.8.4-dev.202302231256"
|
|
50
50
|
},
|
|
51
51
|
"@progress": {
|
|
52
52
|
"friendlyName": "Buttons",
|