@knime/kds-components 0.31.4 → 1.1.0
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/CHANGELOG.md +33 -0
- package/dist/index.css +233 -185
- package/dist/index.js +1038 -806
- package/dist/index.js.map +1 -1
- package/dist/src/accessories/Icon/types.d.ts +3 -5
- package/dist/src/accessories/Icon/types.d.ts.map +1 -1
- package/dist/src/accessories/index.d.ts +0 -2
- package/dist/src/accessories/index.d.ts.map +1 -1
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts +34 -0
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -0
- package/dist/src/buttons/ActionButton/enums.d.ts +6 -0
- package/dist/src/buttons/ActionButton/enums.d.ts.map +1 -0
- package/dist/src/buttons/ActionButton/index.d.ts +3 -0
- package/dist/src/buttons/ActionButton/index.d.ts.map +1 -0
- package/dist/src/buttons/ActionButton/types.d.ts +17 -0
- package/dist/src/buttons/ActionButton/types.d.ts.map +1 -0
- package/dist/src/{patterns → buttons}/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +69 -123
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -0
- package/dist/src/buttons/ResponsiveButtonGroup/enums.d.ts.map +1 -0
- package/dist/src/buttons/ResponsiveButtonGroup/index.d.ts.map +1 -0
- package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts +150 -0
- package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts.map +1 -0
- package/dist/src/buttons/ResponsiveButtonGroup/types.d.ts +108 -0
- package/dist/src/buttons/ResponsiveButtonGroup/types.d.ts.map +1 -0
- package/dist/src/buttons/index.d.ts +4 -0
- package/dist/src/buttons/index.d.ts.map +1 -1
- package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/useDateInputMask.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/useTimeInputMask.d.ts.map +1 -1
- package/dist/src/forms/inputs/useInputSegments.d.ts +0 -1
- package/dist/src/forms/inputs/useInputSegments.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/layouts/InlineMessage/KdsInlineMessage.vue.d.ts +4 -0
- package/dist/src/layouts/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -0
- package/dist/src/layouts/InlineMessage/enums.d.ts.map +1 -0
- package/dist/src/layouts/InlineMessage/index.d.ts.map +1 -0
- package/dist/src/{accessories → layouts}/InlineMessage/types.d.ts +4 -1
- package/dist/src/layouts/InlineMessage/types.d.ts.map +1 -0
- package/dist/src/layouts/index.d.ts +2 -0
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/dist/src/overlays/Modal/KdsModal.vue.d.ts +1 -1
- package/dist/src/overlays/Modal/useKdsDynamicModal.d.ts +3 -3
- package/dist/src/{accessories/InlineMessage/KdsInlineMessage.vue.d.ts → overlays/SideDrawer/KdsSideDrawer.vue.d.ts} +8 -4
- package/dist/src/overlays/SideDrawer/KdsSideDrawer.vue.d.ts.map +1 -0
- package/dist/src/overlays/SideDrawer/enums.d.ts +6 -0
- package/dist/src/overlays/SideDrawer/enums.d.ts.map +1 -0
- package/dist/src/overlays/SideDrawer/index.d.ts +3 -0
- package/dist/src/overlays/SideDrawer/index.d.ts.map +1 -0
- package/dist/src/overlays/SideDrawer/types.d.ts +15 -0
- package/dist/src/overlays/SideDrawer/types.d.ts.map +1 -0
- package/dist/src/overlays/index.d.ts +2 -0
- package/dist/src/overlays/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/src/accessories/InlineMessage/KdsInlineMessage.vue.d.ts.map +0 -1
- package/dist/src/accessories/InlineMessage/enums.d.ts.map +0 -1
- package/dist/src/accessories/InlineMessage/index.d.ts.map +0 -1
- package/dist/src/accessories/InlineMessage/types.d.ts.map +0 -1
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +0 -1
- package/dist/src/patterns/ResponsiveButtonGroup/enums.d.ts.map +0 -1
- package/dist/src/patterns/ResponsiveButtonGroup/index.d.ts.map +0 -1
- package/dist/src/patterns/ResponsiveButtonGroup/types.d.ts +0 -23
- package/dist/src/patterns/ResponsiveButtonGroup/types.d.ts.map +0 -1
- package/dist/src/patterns/index.d.ts +0 -3
- package/dist/src/patterns/index.d.ts.map +0 -1
- /package/dist/src/{patterns → buttons}/ResponsiveButtonGroup/enums.d.ts +0 -0
- /package/dist/src/{patterns → buttons}/ResponsiveButtonGroup/index.d.ts +0 -0
- /package/dist/src/{accessories → layouts}/InlineMessage/enums.d.ts +0 -0
- /package/dist/src/{accessories → layouts}/InlineMessage/index.d.ts +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { IconName } from '@knime/kds-styles/img/icons/def';
|
|
2
|
-
import { TypeIconName } from '@knime/kds-styles/img/type-icons/def';
|
|
3
1
|
import { TypeId } from './IdToIconNameMapping';
|
|
4
|
-
import { kdsDataTypeSize, kdsIconSize } from './enums';
|
|
5
|
-
export type KdsIconName =
|
|
2
|
+
import { kdsDataTypeSize, kdsIconName, kdsIconSize, kdsTypeIconName } from './enums';
|
|
3
|
+
export type KdsIconName = (typeof kdsIconName)[keyof typeof kdsIconName];
|
|
6
4
|
export type KdsIconSize = (typeof kdsIconSize)[keyof typeof kdsIconSize];
|
|
7
|
-
export type KdsTypeIconName =
|
|
5
|
+
export type KdsTypeIconName = (typeof kdsTypeIconName)[keyof typeof kdsTypeIconName];
|
|
8
6
|
export type KdsDataTypeSize = (typeof kdsDataTypeSize)[keyof typeof kdsDataTypeSize];
|
|
9
7
|
/**
|
|
10
8
|
* Loading status of an icon component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Icon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Icon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -12,8 +12,6 @@ export * from './LiveStatus';
|
|
|
12
12
|
export type * from './LiveStatus';
|
|
13
13
|
export * from './LoadingSpinner';
|
|
14
14
|
export type * from './LoadingSpinner';
|
|
15
|
-
export * from './InlineMessage';
|
|
16
|
-
export type * from './InlineMessage';
|
|
17
15
|
export * from './MissingValueIcon';
|
|
18
16
|
export * from './DonutChart';
|
|
19
17
|
export type * from './DonutChart';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessories/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessories/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { KdsButtonSize } from '../types.ts';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<({
|
|
3
|
+
type: "button";
|
|
4
|
+
props: import('../index.ts').KdsButtonProps & {
|
|
5
|
+
size?: never;
|
|
6
|
+
};
|
|
7
|
+
onClick: (event: MouseEvent) => void;
|
|
8
|
+
} & {
|
|
9
|
+
size: KdsButtonSize;
|
|
10
|
+
}) | ({
|
|
11
|
+
type: "linkButton";
|
|
12
|
+
props: import('../index.ts').KdsLinkButtonProps & {
|
|
13
|
+
size?: never;
|
|
14
|
+
};
|
|
15
|
+
} & {
|
|
16
|
+
size: KdsButtonSize;
|
|
17
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<({
|
|
18
|
+
type: "button";
|
|
19
|
+
props: import('../index.ts').KdsButtonProps & {
|
|
20
|
+
size?: never;
|
|
21
|
+
};
|
|
22
|
+
onClick: (event: MouseEvent) => void;
|
|
23
|
+
} & {
|
|
24
|
+
size: KdsButtonSize;
|
|
25
|
+
}) | ({
|
|
26
|
+
type: "linkButton";
|
|
27
|
+
props: import('../index.ts').KdsLinkButtonProps & {
|
|
28
|
+
size?: never;
|
|
29
|
+
};
|
|
30
|
+
} & {
|
|
31
|
+
size: KdsButtonSize;
|
|
32
|
+
})> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=ActionButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ActionButton/ActionButton.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;;;;YAFjD,CAlBkE;;;;UAyBhB,aAAa;;;;YAP/D,CAXU;;;UAkBwC,aAAa;;;;YAP/D,CAlBkE;;;;UAyBhB,aAAa;;;;YAP/D,CAXU;;;UAkBwC,aAAa;;AAyE/D,wBAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ActionButton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,eAAO,MAAM,oBAAoB,6BAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ActionButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpE,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { KdsButtonProps } from '../KdsButton';
|
|
2
|
+
import { KdsLinkButtonProps } from '../links/KdsLinkButton';
|
|
3
|
+
import { kdsActionButtonType } from './enums';
|
|
4
|
+
export type KdsActionButtonType = (typeof kdsActionButtonType)[keyof typeof kdsActionButtonType];
|
|
5
|
+
export type KdsActionButtonProps = {
|
|
6
|
+
type: "button";
|
|
7
|
+
props: KdsButtonProps & {
|
|
8
|
+
size?: never;
|
|
9
|
+
};
|
|
10
|
+
onClick: (event: MouseEvent) => void;
|
|
11
|
+
} | {
|
|
12
|
+
type: "linkButton";
|
|
13
|
+
props: KdsLinkButtonProps & {
|
|
14
|
+
size?: never;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ActionButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAC5B;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,cAAc,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;IACzC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,GACD;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,kBAAkB,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;CAC9C,CAAC"}
|
package/dist/src/{patterns → buttons}/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts
RENAMED
|
@@ -1,94 +1,40 @@
|
|
|
1
|
-
import { nextTick } from 'vue';
|
|
1
|
+
import { ComponentPublicInstance, nextTick } from 'vue';
|
|
2
|
+
import { KdsIconName } from '../../accessories';
|
|
3
|
+
import { KdsMenuItem } from '../../containers';
|
|
2
4
|
import { KdsResponsiveButtonGroupProps } from './types';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
-
buttonClick: (id: string) => any;
|
|
5
|
-
}, string, import('vue').PublicProps, Readonly<KdsResponsiveButtonGroupProps> & Readonly<{
|
|
6
|
-
onButtonClick?: ((id: string) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsResponsiveButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
6
|
measureContainer: HTMLDivElement;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
title?: string;
|
|
13
|
-
variant?: import('../..').KdsButtonVariant | undefined;
|
|
14
|
-
} & {
|
|
15
|
-
label: string;
|
|
16
|
-
leadingIcon?: import('../..').KdsIconName;
|
|
17
|
-
trailingIcon?: import('../..').KdsIconName;
|
|
18
|
-
ariaLabel?: never;
|
|
19
|
-
} & import('../../buttons/types').WithDestructive) | (import('../../types/testId').WithTestId & {
|
|
20
|
-
size?: import('../..').KdsButtonSize;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
title?: string;
|
|
23
|
-
variant?: import('../..').KdsButtonVariant | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
label?: never;
|
|
26
|
-
leadingIcon: import('../..').KdsIconName;
|
|
27
|
-
trailingIcon?: never;
|
|
28
|
-
ariaLabel: string;
|
|
29
|
-
} & import('../../buttons/types').WithDestructive)> & Readonly<{
|
|
30
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
click: (event: MouseEvent) => any;
|
|
33
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
34
|
-
P: {};
|
|
35
|
-
B: {};
|
|
36
|
-
D: {};
|
|
37
|
-
C: {};
|
|
38
|
-
M: {};
|
|
39
|
-
Defaults: {};
|
|
40
|
-
}, {} & (Readonly<(import('../../types/testId').WithTestId & {
|
|
41
|
-
size?: import('../..').KdsButtonSize;
|
|
42
|
-
disabled?: boolean;
|
|
43
|
-
title?: string;
|
|
44
|
-
variant?: import('../..').KdsButtonVariant | undefined;
|
|
45
|
-
} & {
|
|
46
|
-
label: string;
|
|
47
|
-
leadingIcon?: import('../..').KdsIconName;
|
|
48
|
-
trailingIcon?: import('../..').KdsIconName;
|
|
49
|
-
ariaLabel?: never;
|
|
50
|
-
} & import('../../buttons/types').WithDestructive) | (import('../../types/testId').WithTestId & {
|
|
51
|
-
size?: import('../..').KdsButtonSize;
|
|
52
|
-
disabled?: boolean;
|
|
53
|
-
title?: string;
|
|
54
|
-
variant?: import('../..').KdsButtonVariant | undefined;
|
|
55
|
-
} & {
|
|
56
|
-
label?: never;
|
|
57
|
-
leadingIcon: import('../..').KdsIconName;
|
|
58
|
-
trailingIcon?: never;
|
|
59
|
-
ariaLabel: string;
|
|
60
|
-
} & import('../../buttons/types').WithDestructive)> & Readonly<{
|
|
61
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
62
|
-
}>), {}, {}, {}, {}, {}> | null)[];
|
|
7
|
+
measureFullEntry: unknown;
|
|
8
|
+
measureIconEntry: unknown;
|
|
63
9
|
measureMenuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
64
10
|
modelValue?: boolean;
|
|
65
11
|
} & import('../../types/testId').WithTestId & {
|
|
66
|
-
size?: import('
|
|
12
|
+
size?: import('..').KdsButtonSize;
|
|
67
13
|
disabled?: boolean;
|
|
68
14
|
title?: string;
|
|
69
|
-
variant?: import('
|
|
15
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
70
16
|
} & {
|
|
71
17
|
label: string;
|
|
72
|
-
leadingIcon?:
|
|
73
|
-
trailingIcon?:
|
|
18
|
+
leadingIcon?: KdsIconName;
|
|
19
|
+
trailingIcon?: KdsIconName;
|
|
74
20
|
ariaLabel?: never;
|
|
75
21
|
} & {
|
|
76
|
-
items:
|
|
22
|
+
items: KdsMenuItem[];
|
|
77
23
|
menuMaxHeight?: string;
|
|
78
24
|
}) | ({
|
|
79
25
|
modelValue?: boolean;
|
|
80
26
|
} & import('../../types/testId').WithTestId & {
|
|
81
|
-
size?: import('
|
|
27
|
+
size?: import('..').KdsButtonSize;
|
|
82
28
|
disabled?: boolean;
|
|
83
29
|
title?: string;
|
|
84
|
-
variant?: import('
|
|
30
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
85
31
|
} & {
|
|
86
32
|
label?: never;
|
|
87
|
-
leadingIcon:
|
|
33
|
+
leadingIcon: KdsIconName;
|
|
88
34
|
trailingIcon?: never;
|
|
89
35
|
ariaLabel: string;
|
|
90
36
|
} & {
|
|
91
|
-
items:
|
|
37
|
+
items: KdsMenuItem[];
|
|
92
38
|
menuMaxHeight?: string;
|
|
93
39
|
})> & Readonly<{
|
|
94
40
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -97,25 +43,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
97
43
|
menuButtonEl: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
98
44
|
modelValue?: boolean;
|
|
99
45
|
} & import('../../types/testId').WithTestId & {
|
|
100
|
-
size?: import('
|
|
46
|
+
size?: import('..').KdsButtonSize;
|
|
101
47
|
disabled?: boolean;
|
|
102
48
|
title?: string;
|
|
103
|
-
variant?: import('
|
|
49
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
104
50
|
} & {
|
|
105
51
|
label: string;
|
|
106
|
-
leadingIcon?:
|
|
107
|
-
trailingIcon?:
|
|
52
|
+
leadingIcon?: KdsIconName;
|
|
53
|
+
trailingIcon?: KdsIconName;
|
|
108
54
|
ariaLabel?: never;
|
|
109
55
|
}) | ({
|
|
110
56
|
modelValue?: boolean;
|
|
111
57
|
} & import('../../types/testId').WithTestId & {
|
|
112
|
-
size?: import('
|
|
58
|
+
size?: import('..').KdsButtonSize;
|
|
113
59
|
disabled?: boolean;
|
|
114
60
|
title?: string;
|
|
115
|
-
variant?: import('
|
|
61
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
116
62
|
} & {
|
|
117
63
|
label?: never;
|
|
118
|
-
leadingIcon:
|
|
64
|
+
leadingIcon: KdsIconName;
|
|
119
65
|
trailingIcon?: never;
|
|
120
66
|
ariaLabel: string;
|
|
121
67
|
})> & Readonly<{
|
|
@@ -132,25 +78,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
132
78
|
}, {} & (Readonly<({
|
|
133
79
|
modelValue?: boolean;
|
|
134
80
|
} & import('../../types/testId').WithTestId & {
|
|
135
|
-
size?: import('
|
|
81
|
+
size?: import('..').KdsButtonSize;
|
|
136
82
|
disabled?: boolean;
|
|
137
83
|
title?: string;
|
|
138
|
-
variant?: import('
|
|
84
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
139
85
|
} & {
|
|
140
86
|
label: string;
|
|
141
|
-
leadingIcon?:
|
|
142
|
-
trailingIcon?:
|
|
87
|
+
leadingIcon?: KdsIconName;
|
|
88
|
+
trailingIcon?: KdsIconName;
|
|
143
89
|
ariaLabel?: never;
|
|
144
90
|
}) | ({
|
|
145
91
|
modelValue?: boolean;
|
|
146
92
|
} & import('../../types/testId').WithTestId & {
|
|
147
|
-
size?: import('
|
|
93
|
+
size?: import('..').KdsButtonSize;
|
|
148
94
|
disabled?: boolean;
|
|
149
95
|
title?: string;
|
|
150
|
-
variant?: import('
|
|
96
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
151
97
|
} & {
|
|
152
98
|
label?: never;
|
|
153
|
-
leadingIcon:
|
|
99
|
+
leadingIcon: KdsIconName;
|
|
154
100
|
trailingIcon?: never;
|
|
155
101
|
ariaLabel: string;
|
|
156
102
|
})> & Readonly<{
|
|
@@ -163,25 +109,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
163
109
|
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
164
110
|
modelValue?: boolean;
|
|
165
111
|
} & import('../../types/testId').WithTestId & {
|
|
166
|
-
size?: import('
|
|
112
|
+
size?: import('..').KdsButtonSize;
|
|
167
113
|
disabled?: boolean;
|
|
168
114
|
title?: string;
|
|
169
|
-
variant?: import('
|
|
115
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
170
116
|
} & {
|
|
171
117
|
label: string;
|
|
172
|
-
leadingIcon?:
|
|
173
|
-
trailingIcon?:
|
|
118
|
+
leadingIcon?: KdsIconName;
|
|
119
|
+
trailingIcon?: KdsIconName;
|
|
174
120
|
ariaLabel?: never;
|
|
175
121
|
}) | ({
|
|
176
122
|
modelValue?: boolean;
|
|
177
123
|
} & import('../../types/testId').WithTestId & {
|
|
178
|
-
size?: import('
|
|
124
|
+
size?: import('..').KdsButtonSize;
|
|
179
125
|
disabled?: boolean;
|
|
180
126
|
title?: string;
|
|
181
|
-
variant?: import('
|
|
127
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
182
128
|
} & {
|
|
183
129
|
label?: never;
|
|
184
|
-
leadingIcon:
|
|
130
|
+
leadingIcon: KdsIconName;
|
|
185
131
|
trailingIcon?: never;
|
|
186
132
|
ariaLabel: string;
|
|
187
133
|
})> & Readonly<{
|
|
@@ -198,25 +144,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
198
144
|
}, {} & (Readonly<({
|
|
199
145
|
modelValue?: boolean;
|
|
200
146
|
} & import('../../types/testId').WithTestId & {
|
|
201
|
-
size?: import('
|
|
147
|
+
size?: import('..').KdsButtonSize;
|
|
202
148
|
disabled?: boolean;
|
|
203
149
|
title?: string;
|
|
204
|
-
variant?: import('
|
|
150
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
205
151
|
} & {
|
|
206
152
|
label: string;
|
|
207
|
-
leadingIcon?:
|
|
208
|
-
trailingIcon?:
|
|
153
|
+
leadingIcon?: KdsIconName;
|
|
154
|
+
trailingIcon?: KdsIconName;
|
|
209
155
|
ariaLabel?: never;
|
|
210
156
|
}) | ({
|
|
211
157
|
modelValue?: boolean;
|
|
212
158
|
} & import('../../types/testId').WithTestId & {
|
|
213
|
-
size?: import('
|
|
159
|
+
size?: import('..').KdsButtonSize;
|
|
214
160
|
disabled?: boolean;
|
|
215
161
|
title?: string;
|
|
216
|
-
variant?: import('
|
|
162
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
217
163
|
} & {
|
|
218
164
|
label?: never;
|
|
219
|
-
leadingIcon:
|
|
165
|
+
leadingIcon: KdsIconName;
|
|
220
166
|
trailingIcon?: never;
|
|
221
167
|
ariaLabel: string;
|
|
222
168
|
})> & Readonly<{
|
|
@@ -258,8 +204,8 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
258
204
|
$slots: Readonly<{
|
|
259
205
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
260
206
|
}>;
|
|
261
|
-
$root:
|
|
262
|
-
$parent:
|
|
207
|
+
$root: ComponentPublicInstance | null;
|
|
208
|
+
$parent: ComponentPublicInstance | null;
|
|
263
209
|
$host: Element | null;
|
|
264
210
|
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
265
211
|
$el: HTMLDivElement;
|
|
@@ -310,7 +256,7 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
310
256
|
unmounted?: (() => void) | (() => void)[];
|
|
311
257
|
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
312
258
|
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
313
|
-
errorCaptured?: ((err: unknown, instance:
|
|
259
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
314
260
|
};
|
|
315
261
|
$forceUpdate: () => void;
|
|
316
262
|
$nextTick: typeof nextTick;
|
|
@@ -380,32 +326,32 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
380
326
|
}, {} & (Readonly<({
|
|
381
327
|
modelValue?: boolean;
|
|
382
328
|
} & import('../../types/testId').WithTestId & {
|
|
383
|
-
size?: import('
|
|
329
|
+
size?: import('..').KdsButtonSize;
|
|
384
330
|
disabled?: boolean;
|
|
385
331
|
title?: string;
|
|
386
|
-
variant?: import('
|
|
332
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
387
333
|
} & {
|
|
388
334
|
label: string;
|
|
389
|
-
leadingIcon?:
|
|
390
|
-
trailingIcon?:
|
|
335
|
+
leadingIcon?: KdsIconName;
|
|
336
|
+
trailingIcon?: KdsIconName;
|
|
391
337
|
ariaLabel?: never;
|
|
392
338
|
} & {
|
|
393
|
-
items:
|
|
339
|
+
items: KdsMenuItem[];
|
|
394
340
|
menuMaxHeight?: string;
|
|
395
341
|
}) | ({
|
|
396
342
|
modelValue?: boolean;
|
|
397
343
|
} & import('../../types/testId').WithTestId & {
|
|
398
|
-
size?: import('
|
|
344
|
+
size?: import('..').KdsButtonSize;
|
|
399
345
|
disabled?: boolean;
|
|
400
346
|
title?: string;
|
|
401
|
-
variant?: import('
|
|
347
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
402
348
|
} & {
|
|
403
349
|
label?: never;
|
|
404
|
-
leadingIcon:
|
|
350
|
+
leadingIcon: KdsIconName;
|
|
405
351
|
trailingIcon?: never;
|
|
406
352
|
ariaLabel: string;
|
|
407
353
|
} & {
|
|
408
|
-
items:
|
|
354
|
+
items: KdsMenuItem[];
|
|
409
355
|
menuMaxHeight?: string;
|
|
410
356
|
})> & Readonly<{
|
|
411
357
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -414,25 +360,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
414
360
|
menuButtonEl: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
415
361
|
modelValue?: boolean;
|
|
416
362
|
} & import('../../types/testId').WithTestId & {
|
|
417
|
-
size?: import('
|
|
363
|
+
size?: import('..').KdsButtonSize;
|
|
418
364
|
disabled?: boolean;
|
|
419
365
|
title?: string;
|
|
420
|
-
variant?: import('
|
|
366
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
421
367
|
} & {
|
|
422
368
|
label: string;
|
|
423
|
-
leadingIcon?:
|
|
424
|
-
trailingIcon?:
|
|
369
|
+
leadingIcon?: KdsIconName;
|
|
370
|
+
trailingIcon?: KdsIconName;
|
|
425
371
|
ariaLabel?: never;
|
|
426
372
|
}) | ({
|
|
427
373
|
modelValue?: boolean;
|
|
428
374
|
} & import('../../types/testId').WithTestId & {
|
|
429
|
-
size?: import('
|
|
375
|
+
size?: import('..').KdsButtonSize;
|
|
430
376
|
disabled?: boolean;
|
|
431
377
|
title?: string;
|
|
432
|
-
variant?: import('
|
|
378
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
433
379
|
} & {
|
|
434
380
|
label?: never;
|
|
435
|
-
leadingIcon:
|
|
381
|
+
leadingIcon: KdsIconName;
|
|
436
382
|
trailingIcon?: never;
|
|
437
383
|
ariaLabel: string;
|
|
438
384
|
})> & Readonly<{
|
|
@@ -449,25 +395,25 @@ declare const _default: import('vue').DefineComponent<KdsResponsiveButtonGroupPr
|
|
|
449
395
|
}, {} & (Readonly<({
|
|
450
396
|
modelValue?: boolean;
|
|
451
397
|
} & import('../../types/testId').WithTestId & {
|
|
452
|
-
size?: import('
|
|
398
|
+
size?: import('..').KdsButtonSize;
|
|
453
399
|
disabled?: boolean;
|
|
454
400
|
title?: string;
|
|
455
|
-
variant?: import('
|
|
401
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
456
402
|
} & {
|
|
457
403
|
label: string;
|
|
458
|
-
leadingIcon?:
|
|
459
|
-
trailingIcon?:
|
|
404
|
+
leadingIcon?: KdsIconName;
|
|
405
|
+
trailingIcon?: KdsIconName;
|
|
460
406
|
ariaLabel?: never;
|
|
461
407
|
}) | ({
|
|
462
408
|
modelValue?: boolean;
|
|
463
409
|
} & import('../../types/testId').WithTestId & {
|
|
464
|
-
size?: import('
|
|
410
|
+
size?: import('..').KdsButtonSize;
|
|
465
411
|
disabled?: boolean;
|
|
466
412
|
title?: string;
|
|
467
|
-
variant?: import('
|
|
413
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
468
414
|
} & {
|
|
469
415
|
label?: never;
|
|
470
|
-
leadingIcon:
|
|
416
|
+
leadingIcon: KdsIconName;
|
|
471
417
|
trailingIcon?: never;
|
|
472
418
|
ariaLabel: string;
|
|
473
419
|
})> & Readonly<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsResponsiveButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue"],"names":[],"mappings":"AA4UA,OAAO,EACL,KAAK,uBAAuB,EAE5B,QAAQ,EAKT,MAAM,KAAK,CAAC;AAGb,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,OAAO,KAAK,EAEV,6BAA6B,EAC9B,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwY4jH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAfnsH,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ResponsiveButtonGroup/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AAEX,eAAO,MAAM,kCAAkC,iCAE9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/buttons/ResponsiveButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EACL,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,SAAS,CAAC;AACjB,mBAAmB,SAAS,CAAC"}
|