@progress/kendo-vue-buttons 3.4.3 → 3.4.5-dev.202207300828
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 +17 -6
- package/dist/es/ButtonGroup.js +1 -1
- package/dist/es/ButtonInterface.d.ts +4 -0
- package/dist/es/ButtonWrap.js +1 -1
- package/dist/es/Chip/Chip.js +1 -1
- package/dist/es/Chip/ChipList.js +1 -1
- package/dist/es/FloatingActionButton/FloatingActionButton.js +1 -1
- package/dist/es/FloatingActionButton/FloatingActionButtonItem.js +3 -3
- package/dist/es/ListButton/ButtonItem.js +1 -1
- package/dist/es/ListButton/DropDownButton.js +1 -1
- package/dist/es/ListButton/SplitButton.js +1 -1
- package/dist/es/ListButton/models/{ButtonItem.d.ts → ButtonItemInterface.d.ts} +1 -1
- package/dist/es/ListButton/models/{ButtonItem.js → ButtonItemInterface.js} +0 -0
- package/dist/es/main.d.ts +3 -3
- package/dist/es/main.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/toolbar/Toolbar.js +1 -1
- package/dist/es/toolbar/tools/ToolbarItem.js +1 -1
- package/dist/es/toolbar/tools/ToolbarSeparator.js +1 -1
- package/dist/es/toolbar/tools/ToolbarSpacer.js +1 -1
- package/dist/npm/Button.js +17 -6
- package/dist/npm/ButtonGroup.js +1 -1
- package/dist/npm/ButtonInterface.d.ts +4 -0
- package/dist/npm/ButtonWrap.js +1 -1
- package/dist/npm/Chip/Chip.js +1 -1
- package/dist/npm/Chip/ChipList.js +1 -1
- package/dist/npm/FloatingActionButton/FloatingActionButton.js +1 -1
- package/dist/npm/FloatingActionButton/FloatingActionButtonItem.js +3 -3
- package/dist/npm/ListButton/ButtonItem.js +1 -1
- package/dist/npm/ListButton/DropDownButton.js +1 -1
- package/dist/npm/ListButton/SplitButton.js +1 -1
- package/dist/npm/ListButton/models/{ButtonItem.d.ts → ButtonItemInterface.d.ts} +1 -1
- package/dist/npm/ListButton/models/{ButtonItem.js → ButtonItemInterface.js} +0 -0
- package/dist/npm/main.d.ts +3 -3
- package/dist/npm/main.js +3 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/toolbar/Toolbar.js +1 -1
- package/dist/npm/toolbar/tools/ToolbarItem.js +1 -1
- package/dist/npm/toolbar/tools/ToolbarSeparator.js +1 -1
- package/dist/npm/toolbar/tools/ToolbarSpacer.js +1 -1
- package/package.json +5 -5
package/dist/es/Button.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version[0] === '3';
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { classNames, getDefaultSlots, validatePackage, kendoThemeMaps } from '@progress/kendo-vue-common';
|
|
7
7
|
import { packageMetadata } from './package-metadata';
|
|
8
8
|
import util from './util';
|
|
@@ -22,9 +22,11 @@ var ButtonVue2 = {
|
|
|
22
22
|
pointerup: null,
|
|
23
23
|
focus: null,
|
|
24
24
|
blur: null,
|
|
25
|
-
keypress: null
|
|
25
|
+
keypress: null,
|
|
26
|
+
keydown: null
|
|
26
27
|
},
|
|
27
28
|
props: {
|
|
29
|
+
ariaLabel: String,
|
|
28
30
|
dir: String,
|
|
29
31
|
selected: {
|
|
30
32
|
type: Boolean,
|
|
@@ -174,6 +176,11 @@ var ButtonVue2 = {
|
|
|
174
176
|
if (!this.disabled) {
|
|
175
177
|
this.$emit('keypress', event);
|
|
176
178
|
}
|
|
179
|
+
},
|
|
180
|
+
handleKeydown: function handleKeydown(event) {
|
|
181
|
+
if (!this.disabled) {
|
|
182
|
+
this.$emit('keydown', event);
|
|
183
|
+
}
|
|
177
184
|
}
|
|
178
185
|
},
|
|
179
186
|
// @ts-ignore
|
|
@@ -240,7 +247,8 @@ var ButtonVue2 = {
|
|
|
240
247
|
"pointerup": this.handlePointerUp,
|
|
241
248
|
"focus": this.handleFocus,
|
|
242
249
|
"blur": this.handleBlur,
|
|
243
|
-
"keypress": this.handleKeypress
|
|
250
|
+
"keypress": this.handleKeypress,
|
|
251
|
+
"keydown": this.handleKeydown
|
|
244
252
|
},
|
|
245
253
|
onMousedown: this.handleMouseDown,
|
|
246
254
|
onMouseup: this.handleMouseUp,
|
|
@@ -248,16 +256,19 @@ var ButtonVue2 = {
|
|
|
248
256
|
onPointerup: this.handlePointerUp,
|
|
249
257
|
onFocus: this.handleFocus,
|
|
250
258
|
onBlur: this.handleBlur,
|
|
251
|
-
onKeypress: this.handleKeypress
|
|
259
|
+
onKeypress: this.handleKeypress,
|
|
260
|
+
onKeydown: this.handleKeydown // Accessibility properties
|
|
252
261
|
,
|
|
253
262
|
role: togglable ? 'checkbox' : undefined,
|
|
254
263
|
attrs: this.v3 ? undefined : {
|
|
255
264
|
role: togglable ? 'checkbox' : undefined,
|
|
265
|
+
"aria-label": this.ariaLabel,
|
|
256
266
|
"aria-disabled": this.$props.disabled || undefined,
|
|
257
|
-
"aria-
|
|
267
|
+
"aria-pressed": togglable ? this.currentActive ? true : undefined : undefined
|
|
258
268
|
},
|
|
269
|
+
"aria-label": this.ariaLabel,
|
|
259
270
|
"aria-disabled": this.$props.disabled || undefined,
|
|
260
|
-
"aria-
|
|
271
|
+
"aria-pressed": togglable ? this.currentActive ? true : undefined : undefined
|
|
261
272
|
}, [iconElement.call(this), defaultSlot]);
|
|
262
273
|
}
|
|
263
274
|
};
|
package/dist/es/ButtonGroup.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version[0] === '3';
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { classNames, getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
|
|
7
7
|
import { ButtonWrap } from './ButtonWrap';
|
|
8
8
|
import { packageMetadata } from './package-metadata';
|
|
@@ -21,6 +21,10 @@ export interface ButtonInterface {
|
|
|
21
21
|
* Specifies if the Button is disabled ([see example]({% slug disabled_button %})). Defaults to `false`.
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the aria-label of the Button.
|
|
26
|
+
*/
|
|
27
|
+
ariaLabel?: string;
|
|
24
28
|
/**
|
|
25
29
|
* Sets the direction of the Button.
|
|
26
30
|
*/
|
package/dist/es/ButtonWrap.js
CHANGED
package/dist/es/Chip/Chip.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version[0] === '3';
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref; // import { ChipListSelectionContext, ChipListFocusContext, ChipListDataContext } from './ChipList';
|
|
7
7
|
|
|
8
8
|
import { classNames, getTabIndex, Keys, noop, validatePackage, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
package/dist/es/Chip/ChipList.js
CHANGED
|
@@ -18,7 +18,7 @@ var __assign = this && this.__assign || function () {
|
|
|
18
18
|
import * as Vue from 'vue';
|
|
19
19
|
var allVue = Vue;
|
|
20
20
|
var gh = allVue.h;
|
|
21
|
-
var isV3 = allVue.version[0] === '3';
|
|
21
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
22
22
|
var ref = allVue.ref;
|
|
23
23
|
import { getTabIndex, classNames, getListeners, templateRendering, getTemplate, validatePackage, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
24
24
|
import { selectionReducer } from './selection-reducer';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version[0] === '3';
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
import { classNames, guid, Keys, getTabIndex, templateRendering, getListeners, validatePackage, canUseDOM, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
|
8
8
|
import { FloatingActionButtonItem } from './FloatingActionButtonItem';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version[0] === '3';
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
import { classNames, getRef, getTabIndex, getTemplate, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
/**
|
|
@@ -33,8 +33,8 @@ var FloatingActionButtonItemVue2 = {
|
|
|
33
33
|
computed: {
|
|
34
34
|
itemClassNames: function itemClassNames() {
|
|
35
35
|
return classNames('k-fab-item', {
|
|
36
|
-
'k-
|
|
37
|
-
'k-
|
|
36
|
+
'k-focus': this.focused,
|
|
37
|
+
'k-disabled': this.disabled
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -18,7 +18,7 @@ var __assign = this && this.__assign || function () {
|
|
|
18
18
|
import * as Vue from 'vue';
|
|
19
19
|
var allVue = Vue;
|
|
20
20
|
var gh = allVue.h;
|
|
21
|
-
var isV3 = allVue.version[0] === '3';
|
|
21
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
22
22
|
var ref = allVue.ref;
|
|
23
23
|
import { Button as KendoButton } from '../Button';
|
|
24
24
|
import { classNames, guid, Keys, kendoThemeMaps, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
@@ -18,7 +18,7 @@ var __assign = this && this.__assign || function () {
|
|
|
18
18
|
import * as Vue from 'vue';
|
|
19
19
|
var allVue = Vue;
|
|
20
20
|
var gh = allVue.h;
|
|
21
|
-
var isV3 = allVue.version[0] === '3';
|
|
21
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
22
22
|
var ref = allVue.ref;
|
|
23
23
|
import { Button as KendoButton } from '../Button';
|
|
24
24
|
import { classNames, guid, Keys, kendoThemeMaps, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The interface for describing items that can be passed to the `items` property of the SplitButton or the DropDownButton as an alternative to passing them as children.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface ButtonItemInterface {
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the text of the item.
|
|
7
7
|
*/
|
|
File without changes
|
package/dist/es/main.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ import { SplitButton, SplitButtonVue2 } from './ListButton/SplitButton';
|
|
|
20
20
|
import { DropDownButton, DropDownButtonVue2 } from './ListButton/DropDownButton';
|
|
21
21
|
import { DropDownButtonProps } from './ListButton/models/ListButtonProps';
|
|
22
22
|
import { SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent } from './ListButton/models/events';
|
|
23
|
-
import {
|
|
24
|
-
import { ButtonItemProps } from './ListButton/ButtonItem';
|
|
23
|
+
import { ButtonItemInterface } from './ListButton/models/ButtonItemInterface';
|
|
24
|
+
import { ButtonItem, ButtonItemProps } from './ListButton/ButtonItem';
|
|
25
25
|
import { ButtonsPopupSettings } from './ListButton/models/PopupSettings';
|
|
26
26
|
import { Toolbar, ToolbarVue2, ToolbarProps, ToolbarResizeEvent } from './toolbar/Toolbar';
|
|
27
27
|
import { ToolbarItem, ToolbarItemVue2 } from './toolbar/tools/ToolbarItem';
|
|
28
28
|
import { ToolbarSeparator, ToolbarSeparatorVue2 } from './toolbar/tools/ToolbarSeparator';
|
|
29
29
|
import { ToolbarSpacer, ToolbarSpacerVue2 } from './toolbar/tools/ToolbarSpacer';
|
|
30
|
-
export { Toolbar, ToolbarVue2, ToolbarProps, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonProps, ButtonLook, ButtonGroup, ButtonGroupVue2, ButtonGroupProps, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, DropDownButtonProps, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipVue2, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListVue2, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemVue2, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonShape, FloatingActionButtonThemeColor };
|
|
30
|
+
export { Toolbar, ToolbarVue2, ToolbarProps, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonProps, ButtonLook, ButtonGroup, ButtonGroupVue2, ButtonGroupProps, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, DropDownButtonProps, ButtonItemInterface, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipVue2, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListVue2, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemVue2, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonShape, FloatingActionButtonThemeColor };
|
package/dist/es/main.js
CHANGED
|
@@ -7,8 +7,9 @@ import { FloatingActionButtonItem, FloatingActionButtonItemVue2 } from './Floati
|
|
|
7
7
|
export * from './FloatingActionButton/models/events';
|
|
8
8
|
import { SplitButton, SplitButtonVue2 } from './ListButton/SplitButton';
|
|
9
9
|
import { DropDownButton, DropDownButtonVue2 } from './ListButton/DropDownButton';
|
|
10
|
+
import { ButtonItem } from './ListButton/ButtonItem';
|
|
10
11
|
import { Toolbar, ToolbarVue2 } from './toolbar/Toolbar';
|
|
11
12
|
import { ToolbarItem, ToolbarItemVue2 } from './toolbar/tools/ToolbarItem';
|
|
12
13
|
import { ToolbarSeparator, ToolbarSeparatorVue2 } from './toolbar/tools/ToolbarSeparator';
|
|
13
14
|
import { ToolbarSpacer, ToolbarSpacerVue2 } from './toolbar/tools/ToolbarSpacer';
|
|
14
|
-
export { Toolbar, ToolbarVue2, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonGroup, ButtonGroupVue2, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, Chip, ChipVue2, ChipList, ChipListVue2, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonItem, FloatingActionButtonItemVue2 };
|
|
15
|
+
export { Toolbar, ToolbarVue2, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonGroup, ButtonGroupVue2, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, ButtonItem, Chip, ChipVue2, ChipList, ChipListVue2, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonItem, FloatingActionButtonItemVue2 };
|
|
@@ -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: 1659169125,
|
|
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
|
};
|
|
@@ -18,7 +18,7 @@ var __assign = this && this.__assign || function () {
|
|
|
18
18
|
import * as Vue from 'vue';
|
|
19
19
|
var allVue = Vue;
|
|
20
20
|
var gh = allVue.h;
|
|
21
|
-
var isV3 = allVue.version[0] === '3';
|
|
21
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
22
22
|
import { Keys, validatePackage, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
23
23
|
import { toolbarButtons, internalButtons } from './../util';
|
|
24
24
|
import { packageMetadata } from '../package-metadata';
|
package/dist/npm/Button.js
CHANGED
|
@@ -9,7 +9,7 @@ var Vue = require("vue");
|
|
|
9
9
|
|
|
10
10
|
var allVue = Vue;
|
|
11
11
|
var gh = allVue.h;
|
|
12
|
-
var isV3 = allVue.version[0] === '3';
|
|
12
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
13
13
|
|
|
14
14
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
15
15
|
|
|
@@ -33,9 +33,11 @@ var ButtonVue2 = {
|
|
|
33
33
|
pointerup: null,
|
|
34
34
|
focus: null,
|
|
35
35
|
blur: null,
|
|
36
|
-
keypress: null
|
|
36
|
+
keypress: null,
|
|
37
|
+
keydown: null
|
|
37
38
|
},
|
|
38
39
|
props: {
|
|
40
|
+
ariaLabel: String,
|
|
39
41
|
dir: String,
|
|
40
42
|
selected: {
|
|
41
43
|
type: Boolean,
|
|
@@ -185,6 +187,11 @@ var ButtonVue2 = {
|
|
|
185
187
|
if (!this.disabled) {
|
|
186
188
|
this.$emit('keypress', event);
|
|
187
189
|
}
|
|
190
|
+
},
|
|
191
|
+
handleKeydown: function handleKeydown(event) {
|
|
192
|
+
if (!this.disabled) {
|
|
193
|
+
this.$emit('keydown', event);
|
|
194
|
+
}
|
|
188
195
|
}
|
|
189
196
|
},
|
|
190
197
|
// @ts-ignore
|
|
@@ -251,7 +258,8 @@ var ButtonVue2 = {
|
|
|
251
258
|
"pointerup": this.handlePointerUp,
|
|
252
259
|
"focus": this.handleFocus,
|
|
253
260
|
"blur": this.handleBlur,
|
|
254
|
-
"keypress": this.handleKeypress
|
|
261
|
+
"keypress": this.handleKeypress,
|
|
262
|
+
"keydown": this.handleKeydown
|
|
255
263
|
},
|
|
256
264
|
onMousedown: this.handleMouseDown,
|
|
257
265
|
onMouseup: this.handleMouseUp,
|
|
@@ -259,16 +267,19 @@ var ButtonVue2 = {
|
|
|
259
267
|
onPointerup: this.handlePointerUp,
|
|
260
268
|
onFocus: this.handleFocus,
|
|
261
269
|
onBlur: this.handleBlur,
|
|
262
|
-
onKeypress: this.handleKeypress
|
|
270
|
+
onKeypress: this.handleKeypress,
|
|
271
|
+
onKeydown: this.handleKeydown // Accessibility properties
|
|
263
272
|
,
|
|
264
273
|
role: togglable ? 'checkbox' : undefined,
|
|
265
274
|
attrs: this.v3 ? undefined : {
|
|
266
275
|
role: togglable ? 'checkbox' : undefined,
|
|
276
|
+
"aria-label": this.ariaLabel,
|
|
267
277
|
"aria-disabled": this.$props.disabled || undefined,
|
|
268
|
-
"aria-
|
|
278
|
+
"aria-pressed": togglable ? this.currentActive ? true : undefined : undefined
|
|
269
279
|
},
|
|
280
|
+
"aria-label": this.ariaLabel,
|
|
270
281
|
"aria-disabled": this.$props.disabled || undefined,
|
|
271
|
-
"aria-
|
|
282
|
+
"aria-pressed": togglable ? this.currentActive ? true : undefined : undefined
|
|
272
283
|
}, [iconElement.call(this), defaultSlot]);
|
|
273
284
|
}
|
|
274
285
|
};
|
package/dist/npm/ButtonGroup.js
CHANGED
|
@@ -21,6 +21,10 @@ export interface ButtonInterface {
|
|
|
21
21
|
* Specifies if the Button is disabled ([see example]({% slug disabled_button %})). Defaults to `false`.
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the aria-label of the Button.
|
|
26
|
+
*/
|
|
27
|
+
ariaLabel?: string;
|
|
24
28
|
/**
|
|
25
29
|
* Sets the direction of the Button.
|
|
26
30
|
*/
|
package/dist/npm/ButtonWrap.js
CHANGED
package/dist/npm/Chip/Chip.js
CHANGED
|
@@ -9,7 +9,7 @@ var Vue = require("vue");
|
|
|
9
9
|
|
|
10
10
|
var allVue = Vue;
|
|
11
11
|
var gh = allVue.h;
|
|
12
|
-
var isV3 = allVue.version[0] === '3';
|
|
12
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
13
13
|
var ref = allVue.ref; // import { ChipListSelectionContext, ChipListFocusContext, ChipListDataContext } from './ChipList';
|
|
14
14
|
|
|
15
15
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -25,7 +25,7 @@ var Vue = require("vue");
|
|
|
25
25
|
|
|
26
26
|
var allVue = Vue;
|
|
27
27
|
var gh = allVue.h;
|
|
28
|
-
var isV3 = allVue.version[0] === '3';
|
|
28
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
29
29
|
var ref = allVue.ref;
|
|
30
30
|
|
|
31
31
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -9,7 +9,7 @@ var Vue = require("vue");
|
|
|
9
9
|
|
|
10
10
|
var allVue = Vue;
|
|
11
11
|
var gh = allVue.h;
|
|
12
|
-
var isV3 = allVue.version[0] === '3';
|
|
12
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
13
13
|
var ref = allVue.ref;
|
|
14
14
|
|
|
15
15
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -9,7 +9,7 @@ var Vue = require("vue");
|
|
|
9
9
|
|
|
10
10
|
var allVue = Vue;
|
|
11
11
|
var gh = allVue.h;
|
|
12
|
-
var isV3 = allVue.version[0] === '3';
|
|
12
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
13
13
|
var ref = allVue.ref;
|
|
14
14
|
|
|
15
15
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -42,8 +42,8 @@ var FloatingActionButtonItemVue2 = {
|
|
|
42
42
|
computed: {
|
|
43
43
|
itemClassNames: function itemClassNames() {
|
|
44
44
|
return kendo_vue_common_1.classNames('k-fab-item', {
|
|
45
|
-
'k-
|
|
46
|
-
'k-
|
|
45
|
+
'k-focus': this.focused,
|
|
46
|
+
'k-disabled': this.disabled
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The interface for describing items that can be passed to the `items` property of the SplitButton or the DropDownButton as an alternative to passing them as children.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface ButtonItemInterface {
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the text of the item.
|
|
7
7
|
*/
|
|
File without changes
|
package/dist/npm/main.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ import { SplitButton, SplitButtonVue2 } from './ListButton/SplitButton';
|
|
|
20
20
|
import { DropDownButton, DropDownButtonVue2 } from './ListButton/DropDownButton';
|
|
21
21
|
import { DropDownButtonProps } from './ListButton/models/ListButtonProps';
|
|
22
22
|
import { SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent } from './ListButton/models/events';
|
|
23
|
-
import {
|
|
24
|
-
import { ButtonItemProps } from './ListButton/ButtonItem';
|
|
23
|
+
import { ButtonItemInterface } from './ListButton/models/ButtonItemInterface';
|
|
24
|
+
import { ButtonItem, ButtonItemProps } from './ListButton/ButtonItem';
|
|
25
25
|
import { ButtonsPopupSettings } from './ListButton/models/PopupSettings';
|
|
26
26
|
import { Toolbar, ToolbarVue2, ToolbarProps, ToolbarResizeEvent } from './toolbar/Toolbar';
|
|
27
27
|
import { ToolbarItem, ToolbarItemVue2 } from './toolbar/tools/ToolbarItem';
|
|
28
28
|
import { ToolbarSeparator, ToolbarSeparatorVue2 } from './toolbar/tools/ToolbarSeparator';
|
|
29
29
|
import { ToolbarSpacer, ToolbarSpacerVue2 } from './toolbar/tools/ToolbarSpacer';
|
|
30
|
-
export { Toolbar, ToolbarVue2, ToolbarProps, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonProps, ButtonLook, ButtonGroup, ButtonGroupVue2, ButtonGroupProps, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, DropDownButtonProps, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipVue2, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListVue2, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemVue2, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonShape, FloatingActionButtonThemeColor };
|
|
30
|
+
export { Toolbar, ToolbarVue2, ToolbarProps, ToolbarItem, ToolbarItemVue2, ToolbarSeparator, ToolbarSeparatorVue2, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerVue2, Button, ButtonVue2, ButtonProps, ButtonLook, ButtonGroup, ButtonGroupVue2, ButtonGroupProps, SplitButton, SplitButtonVue2, DropDownButton, DropDownButtonVue2, DropDownButtonProps, ButtonItemInterface, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipVue2, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListVue2, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonVue2, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemVue2, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonShape, FloatingActionButtonThemeColor };
|
package/dist/npm/main.js
CHANGED
|
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.FloatingActionButtonItemVue2 = exports.FloatingActionButtonItem = exports.FloatingActionButtonVue2 = exports.FloatingActionButton = exports.ChipListVue2 = exports.ChipList = exports.ChipVue2 = exports.Chip = exports.DropDownButtonVue2 = exports.DropDownButton = exports.SplitButtonVue2 = exports.SplitButton = exports.ButtonGroupVue2 = exports.ButtonGroup = exports.ButtonVue2 = exports.Button = exports.ToolbarSpacerVue2 = exports.ToolbarSpacer = exports.ToolbarSeparatorVue2 = exports.ToolbarSeparator = exports.ToolbarItemVue2 = exports.ToolbarItem = exports.ToolbarVue2 = exports.Toolbar = void 0;
|
|
13
|
+
exports.FloatingActionButtonItemVue2 = exports.FloatingActionButtonItem = exports.FloatingActionButtonVue2 = exports.FloatingActionButton = exports.ChipListVue2 = exports.ChipList = exports.ChipVue2 = exports.Chip = exports.ButtonItem = exports.DropDownButtonVue2 = exports.DropDownButton = exports.SplitButtonVue2 = exports.SplitButton = exports.ButtonGroupVue2 = exports.ButtonGroup = exports.ButtonVue2 = exports.Button = exports.ToolbarSpacerVue2 = exports.ToolbarSpacer = exports.ToolbarSeparatorVue2 = exports.ToolbarSeparator = exports.ToolbarItemVue2 = exports.ToolbarItem = exports.ToolbarVue2 = exports.Toolbar = void 0;
|
|
14
14
|
var Button_1 = require("./Button");
|
|
15
15
|
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
16
16
|
Object.defineProperty(exports, "ButtonVue2", { enumerable: true, get: function () { return Button_1.ButtonVue2; } });
|
|
@@ -36,6 +36,8 @@ Object.defineProperty(exports, "SplitButtonVue2", { enumerable: true, get: funct
|
|
|
36
36
|
var DropDownButton_1 = require("./ListButton/DropDownButton");
|
|
37
37
|
Object.defineProperty(exports, "DropDownButton", { enumerable: true, get: function () { return DropDownButton_1.DropDownButton; } });
|
|
38
38
|
Object.defineProperty(exports, "DropDownButtonVue2", { enumerable: true, get: function () { return DropDownButton_1.DropDownButtonVue2; } });
|
|
39
|
+
var ButtonItem_1 = require("./ListButton/ButtonItem");
|
|
40
|
+
Object.defineProperty(exports, "ButtonItem", { enumerable: true, get: function () { return ButtonItem_1.ButtonItem; } });
|
|
39
41
|
var Toolbar_1 = require("./toolbar/Toolbar");
|
|
40
42
|
Object.defineProperty(exports, "Toolbar", { enumerable: true, get: function () { return Toolbar_1.Toolbar; } });
|
|
41
43
|
Object.defineProperty(exports, "ToolbarVue2", { enumerable: true, get: function () { return Toolbar_1.ToolbarVue2; } });
|
|
@@ -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: 1659169125,
|
|
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
|
};
|
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.4.
|
|
4
|
+
"version": "3.4.5-dev.202207300828",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"vue": "^2.6.12 || ^3.0.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@progress/kendo-vue-common": "3.4.
|
|
37
|
-
"@progress/kendo-vue-popup": "3.4.
|
|
36
|
+
"@progress/kendo-vue-common": "3.4.5-dev.202207300828",
|
|
37
|
+
"@progress/kendo-vue-popup": "3.4.5-dev.202207300828"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@progress/kendo-drawing": "^1.5.12",
|
|
41
|
-
"@progress/kendo-vue-dropdowns": "3.4.
|
|
42
|
-
"@progress/kendo-vue-inputs": "3.4.
|
|
41
|
+
"@progress/kendo-vue-dropdowns": "3.4.5-dev.202207300828",
|
|
42
|
+
"@progress/kendo-vue-inputs": "3.4.5-dev.202207300828"
|
|
43
43
|
},
|
|
44
44
|
"@progress": {
|
|
45
45
|
"friendlyName": "Buttons",
|