@knime/kds-components 0.28.0 → 0.28.1
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/index.css +42 -42
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/src/buttons/BaseButton.vue.d.ts +24 -4
- package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsButton/KdsButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsButton/KdsButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +72 -12
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts +24 -4
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/types.d.ts +2 -1
- package/dist/src/buttons/types.d.ts.map +1 -1
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +120 -20
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/types/testId.d.ts +7 -0
- package/dist/src/types/testId.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -8,7 +8,12 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<(import('
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<(import('../types/testId').WithTestId & {
|
|
12
|
+
size?: import('./types').KdsButtonSize;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
variant?: import('./types').KdsButtonVariant | undefined;
|
|
16
|
+
} & {
|
|
12
17
|
label: string;
|
|
13
18
|
leadingIcon?: import('..').KdsIconName;
|
|
14
19
|
trailingIcon?: import('..').KdsIconName;
|
|
@@ -23,7 +28,12 @@ declare const __VLS_component: import('vue').DefineComponent<(import('./types').
|
|
|
23
28
|
removeBorderRadius?: "left" | "right";
|
|
24
29
|
} & {
|
|
25
30
|
component?: string | Component;
|
|
26
|
-
}) | (import('
|
|
31
|
+
}) | (import('../types/testId').WithTestId & {
|
|
32
|
+
size?: import('./types').KdsButtonSize;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
title?: string;
|
|
35
|
+
variant?: import('./types').KdsButtonVariant | undefined;
|
|
36
|
+
} & {
|
|
27
37
|
label?: never;
|
|
28
38
|
leadingIcon: import('..').KdsIconName;
|
|
29
39
|
trailingIcon?: never;
|
|
@@ -40,7 +50,12 @@ declare const __VLS_component: import('vue').DefineComponent<(import('./types').
|
|
|
40
50
|
component?: string | Component;
|
|
41
51
|
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
52
|
click: (event: MouseEvent) => any;
|
|
43
|
-
}, string, import('vue').PublicProps, Readonly<(import('
|
|
53
|
+
}, string, import('vue').PublicProps, Readonly<(import('../types/testId').WithTestId & {
|
|
54
|
+
size?: import('./types').KdsButtonSize;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
title?: string;
|
|
57
|
+
variant?: import('./types').KdsButtonVariant | undefined;
|
|
58
|
+
} & {
|
|
44
59
|
label: string;
|
|
45
60
|
leadingIcon?: import('..').KdsIconName;
|
|
46
61
|
trailingIcon?: import('..').KdsIconName;
|
|
@@ -55,7 +70,12 @@ declare const __VLS_component: import('vue').DefineComponent<(import('./types').
|
|
|
55
70
|
removeBorderRadius?: "left" | "right";
|
|
56
71
|
} & {
|
|
57
72
|
component?: string | Component;
|
|
58
|
-
}) | (import('
|
|
73
|
+
}) | (import('../types/testId').WithTestId & {
|
|
74
|
+
size?: import('./types').KdsButtonSize;
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
title?: string;
|
|
77
|
+
variant?: import('./types').KdsButtonVariant | undefined;
|
|
78
|
+
} & {
|
|
59
79
|
label?: never;
|
|
60
80
|
leadingIcon: import('..').KdsIconName;
|
|
61
81
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.vue.d.ts","sourceRoot":"","sources":["../../../src/buttons/BaseButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseButton.vue.d.ts","sourceRoot":"","sources":["../../../src/buttons/BaseButton.vue"],"names":[],"mappings":"AAgWA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,KAAK,CAAC;AAyD/C,iBAAS,cAAc;WAuGT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;gBA5KP,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;kFAoL9B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,21 +1,41 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<(import('
|
|
1
|
+
declare const _default: import('vue').DefineComponent<(import('../../types/testId').WithTestId & {
|
|
2
|
+
size?: import('..').KdsButtonSize;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
label: string;
|
|
3
8
|
leadingIcon?: import('../..').KdsIconName;
|
|
4
9
|
trailingIcon?: import('../..').KdsIconName;
|
|
5
10
|
ariaLabel?: never;
|
|
6
|
-
} & import('../types').WithDestructive) | (import('
|
|
11
|
+
} & import('../types').WithDestructive) | (import('../../types/testId').WithTestId & {
|
|
12
|
+
size?: import('..').KdsButtonSize;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
16
|
+
} & {
|
|
7
17
|
label?: never;
|
|
8
18
|
leadingIcon: import('../..').KdsIconName;
|
|
9
19
|
trailingIcon?: never;
|
|
10
20
|
ariaLabel: string;
|
|
11
21
|
} & import('../types').WithDestructive), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
22
|
click: (event: MouseEvent) => any;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<(import('
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../types/testId').WithTestId & {
|
|
24
|
+
size?: import('..').KdsButtonSize;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
title?: string;
|
|
27
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
28
|
+
} & {
|
|
14
29
|
label: string;
|
|
15
30
|
leadingIcon?: import('../..').KdsIconName;
|
|
16
31
|
trailingIcon?: import('../..').KdsIconName;
|
|
17
32
|
ariaLabel?: never;
|
|
18
|
-
} & import('../types').WithDestructive) | (import('
|
|
33
|
+
} & import('../types').WithDestructive) | (import('../../types/testId').WithTestId & {
|
|
34
|
+
size?: import('..').KdsButtonSize;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
title?: string;
|
|
37
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
38
|
+
} & {
|
|
19
39
|
label?: never;
|
|
20
40
|
leadingIcon: import('../..').KdsIconName;
|
|
21
41
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsButton/KdsButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsButton/KdsButton.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FA,wBAQG"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<(import('
|
|
2
|
+
declare const _default: import('vue').DefineComponent<(import('../../types/testId').WithTestId & {
|
|
3
|
+
size?: import('..').KdsButtonSize;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
7
|
+
} & {
|
|
3
8
|
label: string;
|
|
4
9
|
leadingIcon?: import('../..').KdsIconName;
|
|
5
10
|
trailingIcon?: import('../..').KdsIconName;
|
|
@@ -7,7 +12,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
7
12
|
} & {
|
|
8
13
|
items: import('./types').KdsMenuItem[];
|
|
9
14
|
menuMaxHeight?: string;
|
|
10
|
-
}) | (import('
|
|
15
|
+
}) | (import('../../types/testId').WithTestId & {
|
|
16
|
+
size?: import('..').KdsButtonSize;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
20
|
+
} & {
|
|
11
21
|
label?: never;
|
|
12
22
|
leadingIcon: import('../..').KdsIconName;
|
|
13
23
|
trailingIcon?: never;
|
|
@@ -18,14 +28,24 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
18
28
|
}), {
|
|
19
29
|
menuButtonEl: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
20
30
|
modelValue?: boolean;
|
|
21
|
-
} & import('
|
|
31
|
+
} & import('../../types/testId').WithTestId & {
|
|
32
|
+
size?: import('..').KdsButtonSize;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
title?: string;
|
|
35
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
36
|
+
} & {
|
|
22
37
|
label: string;
|
|
23
38
|
leadingIcon?: import('../..').KdsIconName;
|
|
24
39
|
trailingIcon?: import('../..').KdsIconName;
|
|
25
40
|
ariaLabel?: never;
|
|
26
41
|
}) | ({
|
|
27
42
|
modelValue?: boolean;
|
|
28
|
-
} & import('
|
|
43
|
+
} & import('../../types/testId').WithTestId & {
|
|
44
|
+
size?: import('..').KdsButtonSize;
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
title?: string;
|
|
47
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
48
|
+
} & {
|
|
29
49
|
label?: never;
|
|
30
50
|
leadingIcon: import('../..').KdsIconName;
|
|
31
51
|
trailingIcon?: never;
|
|
@@ -43,14 +63,24 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
43
63
|
Defaults: {};
|
|
44
64
|
}, {} & (Readonly<({
|
|
45
65
|
modelValue?: boolean;
|
|
46
|
-
} & import('
|
|
66
|
+
} & import('../../types/testId').WithTestId & {
|
|
67
|
+
size?: import('..').KdsButtonSize;
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
title?: string;
|
|
70
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
71
|
+
} & {
|
|
47
72
|
label: string;
|
|
48
73
|
leadingIcon?: import('../..').KdsIconName;
|
|
49
74
|
trailingIcon?: import('../..').KdsIconName;
|
|
50
75
|
ariaLabel?: never;
|
|
51
76
|
}) | ({
|
|
52
77
|
modelValue?: boolean;
|
|
53
|
-
} & import('
|
|
78
|
+
} & import('../../types/testId').WithTestId & {
|
|
79
|
+
size?: import('..').KdsButtonSize;
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
title?: string;
|
|
82
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
83
|
+
} & {
|
|
54
84
|
label?: never;
|
|
55
85
|
leadingIcon: import('../..').KdsIconName;
|
|
56
86
|
trailingIcon?: never;
|
|
@@ -60,7 +90,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
60
90
|
}>), {}, {}, {}, {}, {}> | null>>;
|
|
61
91
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
92
|
itemClick: (id: string) => any;
|
|
63
|
-
}, string, import('vue').PublicProps, Readonly<(import('
|
|
93
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../types/testId').WithTestId & {
|
|
94
|
+
size?: import('..').KdsButtonSize;
|
|
95
|
+
disabled?: boolean;
|
|
96
|
+
title?: string;
|
|
97
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
98
|
+
} & {
|
|
64
99
|
label: string;
|
|
65
100
|
leadingIcon?: import('../..').KdsIconName;
|
|
66
101
|
trailingIcon?: import('../..').KdsIconName;
|
|
@@ -68,7 +103,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
68
103
|
} & {
|
|
69
104
|
items: import('./types').KdsMenuItem[];
|
|
70
105
|
menuMaxHeight?: string;
|
|
71
|
-
}) | (import('
|
|
106
|
+
}) | (import('../../types/testId').WithTestId & {
|
|
107
|
+
size?: import('..').KdsButtonSize;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
title?: string;
|
|
110
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
111
|
+
} & {
|
|
72
112
|
label?: never;
|
|
73
113
|
leadingIcon: import('../..').KdsIconName;
|
|
74
114
|
trailingIcon?: never;
|
|
@@ -81,14 +121,24 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
81
121
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
82
122
|
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
83
123
|
modelValue?: boolean;
|
|
84
|
-
} & import('
|
|
124
|
+
} & import('../../types/testId').WithTestId & {
|
|
125
|
+
size?: import('..').KdsButtonSize;
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
title?: string;
|
|
128
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
129
|
+
} & {
|
|
85
130
|
label: string;
|
|
86
131
|
leadingIcon?: import('../..').KdsIconName;
|
|
87
132
|
trailingIcon?: import('../..').KdsIconName;
|
|
88
133
|
ariaLabel?: never;
|
|
89
134
|
}) | ({
|
|
90
135
|
modelValue?: boolean;
|
|
91
|
-
} & import('
|
|
136
|
+
} & import('../../types/testId').WithTestId & {
|
|
137
|
+
size?: import('..').KdsButtonSize;
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
title?: string;
|
|
140
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
141
|
+
} & {
|
|
92
142
|
label?: never;
|
|
93
143
|
leadingIcon: import('../..').KdsIconName;
|
|
94
144
|
trailingIcon?: never;
|
|
@@ -106,14 +156,24 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
106
156
|
Defaults: {};
|
|
107
157
|
}, {} & (Readonly<({
|
|
108
158
|
modelValue?: boolean;
|
|
109
|
-
} & import('
|
|
159
|
+
} & import('../../types/testId').WithTestId & {
|
|
160
|
+
size?: import('..').KdsButtonSize;
|
|
161
|
+
disabled?: boolean;
|
|
162
|
+
title?: string;
|
|
163
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
164
|
+
} & {
|
|
110
165
|
label: string;
|
|
111
166
|
leadingIcon?: import('../..').KdsIconName;
|
|
112
167
|
trailingIcon?: import('../..').KdsIconName;
|
|
113
168
|
ariaLabel?: never;
|
|
114
169
|
}) | ({
|
|
115
170
|
modelValue?: boolean;
|
|
116
|
-
} & import('
|
|
171
|
+
} & import('../../types/testId').WithTestId & {
|
|
172
|
+
size?: import('..').KdsButtonSize;
|
|
173
|
+
disabled?: boolean;
|
|
174
|
+
title?: string;
|
|
175
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
176
|
+
} & {
|
|
117
177
|
label?: never;
|
|
118
178
|
leadingIcon: import('../..').KdsIconName;
|
|
119
179
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsMenuButton/KdsMenuButton.vue"],"names":[],"mappings":"AAmGA,OAAO,EAEL,QAAQ,EAMT,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"KdsMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsMenuButton/KdsMenuButton.vue"],"names":[],"mappings":"AAmGA,OAAO,EAEL,QAAQ,EAMT,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAsMsqjB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBzyjB,wBASG"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { KdsProgressButtonState } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<({
|
|
3
3
|
state?: KdsProgressButtonState;
|
|
4
|
-
} & import('
|
|
4
|
+
} & import('../../types/testId').WithTestId & {
|
|
5
|
+
size?: import('..').KdsButtonSize;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
title?: string;
|
|
8
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
9
|
+
} & {
|
|
5
10
|
label: string;
|
|
6
11
|
leadingIcon: import('../..').KdsIconName;
|
|
7
12
|
ariaLabel?: never;
|
|
8
13
|
}) | ({
|
|
9
14
|
state?: KdsProgressButtonState;
|
|
10
|
-
} & import('
|
|
15
|
+
} & import('../../types/testId').WithTestId & {
|
|
16
|
+
size?: import('..').KdsButtonSize;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
20
|
+
} & {
|
|
11
21
|
label?: never;
|
|
12
22
|
leadingIcon: import('../..').KdsIconName;
|
|
13
23
|
ariaLabel: string;
|
|
@@ -16,13 +26,23 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
16
26
|
"update:state": (value: KdsProgressButtonState) => any;
|
|
17
27
|
}, string, import('vue').PublicProps, Readonly<({
|
|
18
28
|
state?: KdsProgressButtonState;
|
|
19
|
-
} & import('
|
|
29
|
+
} & import('../../types/testId').WithTestId & {
|
|
30
|
+
size?: import('..').KdsButtonSize;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
title?: string;
|
|
33
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
34
|
+
} & {
|
|
20
35
|
label: string;
|
|
21
36
|
leadingIcon: import('../..').KdsIconName;
|
|
22
37
|
ariaLabel?: never;
|
|
23
38
|
}) | ({
|
|
24
39
|
state?: KdsProgressButtonState;
|
|
25
|
-
} & import('
|
|
40
|
+
} & import('../../types/testId').WithTestId & {
|
|
41
|
+
size?: import('..').KdsButtonSize;
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
title?: string;
|
|
44
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
45
|
+
} & {
|
|
26
46
|
label?: never;
|
|
27
47
|
leadingIcon: import('../..').KdsIconName;
|
|
28
48
|
ariaLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsProgressButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsProgressButton/KdsProgressButton.vue"],"names":[],"mappings":"AAoIA,OAAO,KAAK,EAA0B,sBAAsB,EAAE,MAAM,SAAS,CAAC;;YA0DpE,sBAAsB
|
|
1
|
+
{"version":3,"file":"KdsProgressButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsProgressButton/KdsProgressButton.vue"],"names":[],"mappings":"AAoIA,OAAO,KAAK,EAA0B,sBAAsB,EAAE,MAAM,SAAS,CAAC;;YA0DpE,sBAAsB;;;;;;;;;;;YAAtB,sBAAsB;;;;;;;;;;;;;;YAAtB,sBAAsB;;;;;;;;;;;YAAtB,sBAAsB;;;;;;;;;;;;;;AAmHhC,wBAQG"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<(import('
|
|
2
|
+
declare const _default: import('vue').DefineComponent<(import('../../types/testId').WithTestId & {
|
|
3
|
+
size?: import('..').KdsButtonSize;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
7
|
+
} & {
|
|
3
8
|
label: string;
|
|
4
9
|
leadingIcon?: import('../..').KdsIconName;
|
|
5
10
|
trailingIcon?: import('../..').KdsIconName;
|
|
@@ -7,7 +12,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
7
12
|
} & {
|
|
8
13
|
items: import('..').KdsMenuItem[];
|
|
9
14
|
menuMaxHeight?: string;
|
|
10
|
-
}) | (import('
|
|
15
|
+
}) | (import('../../types/testId').WithTestId & {
|
|
16
|
+
size?: import('..').KdsButtonSize;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
20
|
+
} & {
|
|
11
21
|
label?: never;
|
|
12
22
|
leadingIcon: import('../..').KdsIconName;
|
|
13
23
|
trailingIcon?: never;
|
|
@@ -18,7 +28,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
18
28
|
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
29
|
click: (event: MouseEvent) => any;
|
|
20
30
|
itemClick: (id: string) => any;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<(import('
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../types/testId').WithTestId & {
|
|
32
|
+
size?: import('..').KdsButtonSize;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
title?: string;
|
|
35
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
36
|
+
} & {
|
|
22
37
|
label: string;
|
|
23
38
|
leadingIcon?: import('../..').KdsIconName;
|
|
24
39
|
trailingIcon?: import('../..').KdsIconName;
|
|
@@ -26,7 +41,12 @@ declare const _default: import('vue').DefineComponent<(import('../types').KdsBut
|
|
|
26
41
|
} & {
|
|
27
42
|
items: import('..').KdsMenuItem[];
|
|
28
43
|
menuMaxHeight?: string;
|
|
29
|
-
}) | (import('
|
|
44
|
+
}) | (import('../../types/testId').WithTestId & {
|
|
45
|
+
size?: import('..').KdsButtonSize;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
title?: string;
|
|
48
|
+
variant?: import('..').KdsButtonVariant | undefined;
|
|
49
|
+
} & {
|
|
30
50
|
label?: never;
|
|
31
51
|
leadingIcon: import('../..').KdsIconName;
|
|
32
52
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSplitButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsSplitButton/KdsSplitButton.vue"],"names":[],"mappings":"AAiHA,OAAO,EAAE,QAAQ,EAAqC,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"KdsSplitButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsSplitButton/KdsSplitButton.vue"],"names":[],"mappings":"AAiHA,OAAO,EAAE,QAAQ,EAAqC,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2Oypf,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBj1f,wBASG"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<({
|
|
2
2
|
modelValue?: boolean;
|
|
3
|
-
} & import('
|
|
3
|
+
} & import('../../types/testId').WithTestId & {
|
|
4
|
+
size?: import('..').KdsButtonSize;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
variant?: import('./types').KdsToggleButtonVariant | undefined;
|
|
8
|
+
} & {
|
|
4
9
|
label: string;
|
|
5
10
|
leadingIcon?: import('../..').KdsIconName;
|
|
6
11
|
trailingIcon?: import('../..').KdsIconName;
|
|
7
12
|
ariaLabel?: never;
|
|
8
13
|
}) | ({
|
|
9
14
|
modelValue?: boolean;
|
|
10
|
-
} & import('
|
|
15
|
+
} & import('../../types/testId').WithTestId & {
|
|
16
|
+
size?: import('..').KdsButtonSize;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
variant?: import('./types').KdsToggleButtonVariant | undefined;
|
|
20
|
+
} & {
|
|
11
21
|
label?: never;
|
|
12
22
|
leadingIcon: import('../..').KdsIconName;
|
|
13
23
|
trailingIcon?: never;
|
|
@@ -16,14 +26,24 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
16
26
|
"update:modelValue": (value: boolean) => any;
|
|
17
27
|
}, string, import('vue').PublicProps, Readonly<({
|
|
18
28
|
modelValue?: boolean;
|
|
19
|
-
} & import('
|
|
29
|
+
} & import('../../types/testId').WithTestId & {
|
|
30
|
+
size?: import('..').KdsButtonSize;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
title?: string;
|
|
33
|
+
variant?: import('./types').KdsToggleButtonVariant | undefined;
|
|
34
|
+
} & {
|
|
20
35
|
label: string;
|
|
21
36
|
leadingIcon?: import('../..').KdsIconName;
|
|
22
37
|
trailingIcon?: import('../..').KdsIconName;
|
|
23
38
|
ariaLabel?: never;
|
|
24
39
|
}) | ({
|
|
25
40
|
modelValue?: boolean;
|
|
26
|
-
} & import('
|
|
41
|
+
} & import('../../types/testId').WithTestId & {
|
|
42
|
+
size?: import('..').KdsButtonSize;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
title?: string;
|
|
45
|
+
variant?: import('./types').KdsToggleButtonVariant | undefined;
|
|
46
|
+
} & {
|
|
27
47
|
label?: never;
|
|
28
48
|
leadingIcon: import('../..').KdsIconName;
|
|
29
49
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsToggleButton/KdsToggleButton.vue"],"names":[],"mappings":";iBAoCa,OAAO
|
|
1
|
+
{"version":3,"file":"KdsToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsToggleButton/KdsToggleButton.vue"],"names":[],"mappings":";iBAoCa,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;AAkEpB,wBAQG"}
|
|
@@ -1,21 +1,41 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<(import('
|
|
1
|
+
declare const _default: import('vue').DefineComponent<(import('../../../types/testId').WithTestId & {
|
|
2
|
+
size?: import('../..').KdsButtonSize;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
variant?: import('../..').KdsButtonVariant | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
label: string;
|
|
3
8
|
leadingIcon?: import('../../..').KdsIconName;
|
|
4
9
|
trailingIcon?: import('../../..').KdsIconName;
|
|
5
10
|
ariaLabel?: never;
|
|
6
|
-
} & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('
|
|
11
|
+
} & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('../../../types/testId').WithTestId & {
|
|
12
|
+
size?: import('../..').KdsButtonSize;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
variant?: import('../..').KdsButtonVariant | undefined;
|
|
16
|
+
} & {
|
|
7
17
|
label?: never;
|
|
8
18
|
leadingIcon: import('../../..').KdsIconName;
|
|
9
19
|
trailingIcon?: never;
|
|
10
20
|
ariaLabel: string;
|
|
11
21
|
} & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
22
|
click: (event: MouseEvent) => any;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<(import('
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../../types/testId').WithTestId & {
|
|
24
|
+
size?: import('../..').KdsButtonSize;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
title?: string;
|
|
27
|
+
variant?: import('../..').KdsButtonVariant | undefined;
|
|
28
|
+
} & {
|
|
14
29
|
label: string;
|
|
15
30
|
leadingIcon?: import('../../..').KdsIconName;
|
|
16
31
|
trailingIcon?: import('../../..').KdsIconName;
|
|
17
32
|
ariaLabel?: never;
|
|
18
|
-
} & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('
|
|
33
|
+
} & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('../../../types/testId').WithTestId & {
|
|
34
|
+
size?: import('../..').KdsButtonSize;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
title?: string;
|
|
37
|
+
variant?: import('../..').KdsButtonVariant | undefined;
|
|
38
|
+
} & {
|
|
19
39
|
label?: never;
|
|
20
40
|
leadingIcon: import('../../..').KdsIconName;
|
|
21
41
|
trailingIcon?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsLinkButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/KdsLinkButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsLinkButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/KdsLinkButton.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKA,wBAQG"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { KdsIconName } from '../accessories/Icon/types';
|
|
2
|
+
import { WithTestId } from '../types/testId';
|
|
2
3
|
import { kdsButtonSize, kdsButtonVariant } from './enums';
|
|
3
4
|
export type KdsButtonSize = (typeof kdsButtonSize)[keyof typeof kdsButtonSize];
|
|
4
5
|
export type KdsButtonVariant = (typeof kdsButtonVariant)[keyof typeof kdsButtonVariant];
|
|
5
6
|
/**
|
|
6
7
|
* Properties common to all button components
|
|
7
8
|
*/
|
|
8
|
-
export type KdsButtonCommonProps<TVariant extends KdsButtonVariant = KdsButtonVariant> = {
|
|
9
|
+
export type KdsButtonCommonProps<TVariant extends KdsButtonVariant = KdsButtonVariant> = WithTestId & {
|
|
9
10
|
size?: KdsButtonSize;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAC9B,QAAQ,SAAS,gBAAgB,GAAG,gBAAgB,IAClD,UAAU,GAAG;IACf,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,eAAe,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAChD,iBAAiB,GACjB,eAAe,GACf,WAAW,GACX,SAAS,GACT,WAAW,GACX,WAAW,CAAC"}
|