@dpa-id-components/dpa-shared-components 11.0.0 → 12.0.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/components/DpaMediaItem/DpaMediaItem.stories.d.ts +25 -80
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +18 -49
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +194 -54
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +182 -42
- package/dist/components/UiBadge/UiBadge.stories.d.ts +31 -95
- package/dist/components/UiBadge/UiBadge.vue.d.ts +15 -50
- package/dist/components/UiButton/UiButton.stories.d.ts +32 -96
- package/dist/components/UiButton/UiButton.vue.d.ts +16 -51
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +1 -2
- package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +9 -3
- package/dist/components/UiCard/UiCard.stories.d.ts +1 -2
- package/dist/components/UiCard/UiCard.vue.d.ts +9 -3
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +25 -80
- package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +15 -46
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +11 -30
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +5 -33
- package/dist/components/UiChip/UiChip.stories.d.ts +16 -44
- package/dist/components/UiChip/UiChip.vue.d.ts +14 -36
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +16 -44
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +15 -37
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +8 -17
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -28
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2374 -819
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2152 -132
- package/dist/components/UiDialog/UiDialog.stories.d.ts +80 -279
- package/dist/components/UiDialog/UiDialog.vue.d.ts +17 -63
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +56 -165
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +14 -39
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +62 -189
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +15 -41
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +50 -171
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -55
- package/dist/components/UiIcon/IconOverview.vue.d.ts +5 -0
- package/dist/components/UiIcon/UiIcon.stories.d.ts +16 -40
- package/dist/components/UiIcon/UiIcon.vue.d.ts +4 -31
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +37 -109
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +6 -42
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +70 -230
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +16 -42
- package/dist/components/UiInput/UiInput.stories.d.ts +148 -505
- package/dist/components/UiInput/UiInput.vue.d.ts +21 -88
- package/dist/components/UiList/UiList.stories.d.ts +147 -493
- package/dist/components/UiList/UiList.vue.d.ts +9 -3
- package/dist/components/UiListItem/UiListItem.stories.d.ts +96 -327
- package/dist/components/UiListItem/UiListItem.vue.d.ts +19 -68
- package/dist/components/UiMenu/UiMenu.stories.d.ts +36 -41
- package/dist/components/UiMenu/UiMenu.vue.d.ts +8 -11
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +9 -12
- package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -29
- package/dist/components/UiMenu/UiMenuTypes.d.ts +1 -1
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +2 -3
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +9 -3
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +118 -373
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +14 -30
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +46 -119
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +5 -42
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +152 -461
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +27 -60
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +58 -127
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +22 -41
- package/dist/components/UiSection/UiSection.stories.d.ts +19 -56
- package/dist/components/UiSection/UiSection.vue.d.ts +14 -39
- package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +27 -76
- package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +4 -29
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +30 -75
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +7 -36
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +20 -57
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +4 -32
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +48 -135
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +20 -45
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +16 -41
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +4 -29
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +31 -104
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +14 -52
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +31 -104
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +15 -52
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +94 -303
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +20 -75
- package/dist/components/index.d.ts +0 -1
- package/dist/compositions/index.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +2 -0
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
- package/dist/directives/clickAway/clickAway.d.ts +0 -1
- package/dist/directives/index.d.ts +0 -1
- package/dist/dpa-shared-components.d.ts +1 -0
- package/dist/dpa-shared-components.mjs +12427 -13018
- package/dist/dpa-shared-components.umd.js +7 -7
- package/dist/index.d.ts +0 -1
- package/dist/stories/Typography/Typography.stories.d.ts +0 -1
- package/dist/stories/Typography/TypographyOverview.vue.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +9 -8
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
2
|
import { StoryObj } from '@storybook/vue3';
|
|
3
|
-
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: {
|
|
7
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
default: null;
|
|
15
|
-
};
|
|
16
|
-
iconSize: {
|
|
17
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
position: {
|
|
21
|
-
type: import('vue').PropType<"left" | "right">;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
isShown: {
|
|
25
|
-
type: import('vue').PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}>> & Readonly<{
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
isShown?: boolean;
|
|
8
|
+
position?: "left" | "right";
|
|
9
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
10
|
+
iconSize?: "small" | "medium" | "large";
|
|
11
|
+
type?: "info" | "error" | "success";
|
|
12
|
+
}> & Readonly<{
|
|
29
13
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
30
14
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
31
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -37,35 +21,22 @@ declare const meta: {
|
|
|
37
21
|
iconSize: "small" | "medium" | "large";
|
|
38
22
|
position: "left" | "right";
|
|
39
23
|
isShown: boolean;
|
|
40
|
-
},
|
|
24
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
25
|
+
actionBtn: HTMLButtonElement;
|
|
26
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
41
27
|
P: {};
|
|
42
28
|
B: {};
|
|
43
29
|
D: {};
|
|
44
30
|
C: {};
|
|
45
31
|
M: {};
|
|
46
32
|
Defaults: {};
|
|
47
|
-
}, Readonly<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
default: null;
|
|
55
|
-
};
|
|
56
|
-
iconSize: {
|
|
57
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
position: {
|
|
61
|
-
type: import('vue').PropType<"left" | "right">;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
isShown: {
|
|
65
|
-
type: import('vue').PropType<boolean>;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
}>> & Readonly<{
|
|
33
|
+
}, Readonly<{
|
|
34
|
+
isShown?: boolean;
|
|
35
|
+
position?: "left" | "right";
|
|
36
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
37
|
+
iconSize?: "small" | "medium" | "large";
|
|
38
|
+
type?: "info" | "error" | "success";
|
|
39
|
+
}> & Readonly<{
|
|
69
40
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
70
41
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
71
42
|
}>, {}, {}, {}, {}, {
|
|
@@ -78,28 +49,13 @@ declare const meta: {
|
|
|
78
49
|
__isFragment?: never;
|
|
79
50
|
__isTeleport?: never;
|
|
80
51
|
__isSuspense?: never;
|
|
81
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
default: null;
|
|
89
|
-
};
|
|
90
|
-
iconSize: {
|
|
91
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
position: {
|
|
95
|
-
type: import('vue').PropType<"left" | "right">;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
isShown: {
|
|
99
|
-
type: import('vue').PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
}>> & Readonly<{
|
|
52
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
53
|
+
isShown?: boolean;
|
|
54
|
+
position?: "left" | "right";
|
|
55
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
56
|
+
iconSize?: "small" | "medium" | "large";
|
|
57
|
+
type?: "info" | "error" | "success";
|
|
58
|
+
}> & Readonly<{
|
|
103
59
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
104
60
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
105
61
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -153,28 +109,13 @@ declare const meta: {
|
|
|
153
109
|
};
|
|
154
110
|
components: {
|
|
155
111
|
UiSnackbar: {
|
|
156
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
default: null;
|
|
164
|
-
};
|
|
165
|
-
iconSize: {
|
|
166
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
|
-
position: {
|
|
170
|
-
type: import('vue').PropType<"left" | "right">;
|
|
171
|
-
default: string;
|
|
172
|
-
};
|
|
173
|
-
isShown: {
|
|
174
|
-
type: import('vue').PropType<boolean>;
|
|
175
|
-
default: boolean;
|
|
176
|
-
};
|
|
177
|
-
}>> & Readonly<{
|
|
112
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
113
|
+
isShown?: boolean;
|
|
114
|
+
position?: "left" | "right";
|
|
115
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
116
|
+
iconSize?: "small" | "medium" | "large";
|
|
117
|
+
type?: "info" | "error" | "success";
|
|
118
|
+
}> & Readonly<{
|
|
178
119
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
179
120
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
180
121
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -186,35 +127,22 @@ declare const meta: {
|
|
|
186
127
|
iconSize: "small" | "medium" | "large";
|
|
187
128
|
position: "left" | "right";
|
|
188
129
|
isShown: boolean;
|
|
189
|
-
},
|
|
130
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
131
|
+
actionBtn: HTMLButtonElement;
|
|
132
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
190
133
|
P: {};
|
|
191
134
|
B: {};
|
|
192
135
|
D: {};
|
|
193
136
|
C: {};
|
|
194
137
|
M: {};
|
|
195
138
|
Defaults: {};
|
|
196
|
-
}, Readonly<
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
default: null;
|
|
204
|
-
};
|
|
205
|
-
iconSize: {
|
|
206
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
207
|
-
default: string;
|
|
208
|
-
};
|
|
209
|
-
position: {
|
|
210
|
-
type: import('vue').PropType<"left" | "right">;
|
|
211
|
-
default: string;
|
|
212
|
-
};
|
|
213
|
-
isShown: {
|
|
214
|
-
type: import('vue').PropType<boolean>;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
217
|
-
}>> & Readonly<{
|
|
139
|
+
}, Readonly<{
|
|
140
|
+
isShown?: boolean;
|
|
141
|
+
position?: "left" | "right";
|
|
142
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
143
|
+
iconSize?: "small" | "medium" | "large";
|
|
144
|
+
type?: "info" | "error" | "success";
|
|
145
|
+
}> & Readonly<{
|
|
218
146
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
219
147
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
220
148
|
}>, {}, {}, {}, {}, {
|
|
@@ -227,28 +155,13 @@ declare const meta: {
|
|
|
227
155
|
__isFragment?: never;
|
|
228
156
|
__isTeleport?: never;
|
|
229
157
|
__isSuspense?: never;
|
|
230
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
default: null;
|
|
238
|
-
};
|
|
239
|
-
iconSize: {
|
|
240
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
241
|
-
default: string;
|
|
242
|
-
};
|
|
243
|
-
position: {
|
|
244
|
-
type: import('vue').PropType<"left" | "right">;
|
|
245
|
-
default: string;
|
|
246
|
-
};
|
|
247
|
-
isShown: {
|
|
248
|
-
type: import('vue').PropType<boolean>;
|
|
249
|
-
default: boolean;
|
|
250
|
-
};
|
|
251
|
-
}>> & Readonly<{
|
|
158
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
159
|
+
isShown?: boolean;
|
|
160
|
+
position?: "left" | "right";
|
|
161
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
162
|
+
iconSize?: "small" | "medium" | "large";
|
|
163
|
+
type?: "info" | "error" | "success";
|
|
164
|
+
}> & Readonly<{
|
|
252
165
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
253
166
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
254
167
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,37 +1,27 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
action?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
8
3
|
isShown?: boolean;
|
|
9
4
|
position?: "left" | "right";
|
|
10
5
|
iconName?: (typeof iconNames)[number] | null;
|
|
11
6
|
iconSize?: "small" | "medium" | "large";
|
|
12
7
|
type?: "info" | "error" | "success";
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
action?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
actionBtn: HTMLButtonElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
22
|
input: (...args: any[]) => void;
|
|
21
23
|
"action-click": (...args: any[]) => void;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
23
|
-
isShown?: boolean;
|
|
24
|
-
position?: "left" | "right";
|
|
25
|
-
iconName?: (typeof iconNames)[number] | null;
|
|
26
|
-
iconSize?: "small" | "medium" | "large";
|
|
27
|
-
type?: "info" | "error" | "success";
|
|
28
|
-
}>, {
|
|
29
|
-
isShown: boolean;
|
|
30
|
-
position: string;
|
|
31
|
-
iconName: null;
|
|
32
|
-
iconSize: string;
|
|
33
|
-
type: string;
|
|
34
|
-
}>>> & Readonly<{
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
25
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
36
26
|
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
37
27
|
}>, {
|
|
@@ -40,26 +30,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
30
|
iconSize: "small" | "medium" | "large";
|
|
41
31
|
position: "left" | "right";
|
|
42
32
|
isShown: boolean;
|
|
43
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
44
|
-
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
actionBtn: HTMLButtonElement;
|
|
35
|
+
}, any>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
37
|
export default _default;
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
-
default: D[K];
|
|
58
|
-
}> : P[K];
|
|
59
|
-
};
|
|
60
|
-
type __VLS_Prettify<T> = {
|
|
61
|
-
[K in keyof T]: T[K];
|
|
62
|
-
} & {};
|
|
63
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
39
|
new (): {
|
|
65
40
|
$slots: S;
|
|
@@ -1,29 +1,16 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component: import('vue').DefineComponent<
|
|
6
|
-
color
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
variant
|
|
11
|
-
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
color: {
|
|
16
|
-
type: import('vue').PropType<"blue" | "white" | "green">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
variant: {
|
|
20
|
-
type: import('vue').PropType<"spinner" | "bubbles">;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
}>> & Readonly<{}>, {
|
|
4
|
+
component: import('vue').DefineComponent<{
|
|
5
|
+
color?: "blue" | "white" | "green";
|
|
6
|
+
variant?: "spinner" | "bubbles";
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
color?: "blue" | "white" | "green";
|
|
9
|
+
variant?: "spinner" | "bubbles";
|
|
10
|
+
}> & Readonly<{}>, {
|
|
24
11
|
color: "blue" | "white" | "green";
|
|
25
12
|
variant: "spinner" | "bubbles";
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
14
|
argTypes: {
|
|
28
15
|
variant: {
|
|
29
16
|
control: {
|
|
@@ -44,28 +31,16 @@ declare const meta: {
|
|
|
44
31
|
};
|
|
45
32
|
render: (args: any) => {
|
|
46
33
|
components: {
|
|
47
|
-
UiSpinner: import('vue').DefineComponent<
|
|
48
|
-
color
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
variant
|
|
53
|
-
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
57
|
-
color: {
|
|
58
|
-
type: import('vue').PropType<"blue" | "white" | "green">;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
variant: {
|
|
62
|
-
type: import('vue').PropType<"spinner" | "bubbles">;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
}>> & Readonly<{}>, {
|
|
34
|
+
UiSpinner: import('vue').DefineComponent<{
|
|
35
|
+
color?: "blue" | "white" | "green";
|
|
36
|
+
variant?: "spinner" | "bubbles";
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
38
|
+
color?: "blue" | "white" | "green";
|
|
39
|
+
variant?: "spinner" | "bubbles";
|
|
40
|
+
}> & Readonly<{}>, {
|
|
66
41
|
color: "blue" | "white" | "green";
|
|
67
42
|
variant: "spinner" | "bubbles";
|
|
68
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
69
44
|
};
|
|
70
45
|
setup(this: void): {
|
|
71
46
|
args: any;
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
color?: "blue" | "white" | "green";
|
|
3
3
|
variant?: "spinner" | "bubbles";
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
color: string;
|
|
7
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
color?: "blue" | "white" | "green";
|
|
9
|
-
variant?: "spinner" | "bubbles";
|
|
10
|
-
}>, {
|
|
11
|
-
variant: string;
|
|
12
|
-
color: string;
|
|
13
|
-
}>>> & Readonly<{}>, {
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
6
|
color: "blue" | "white" | "green";
|
|
15
7
|
variant: "spinner" | "bubbles";
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
9
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
@@ -1,42 +1,17 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: {
|
|
6
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type: import('vue').PropType<string>;
|
|
17
|
-
default: undefined;
|
|
18
|
-
};
|
|
19
|
-
iconLeft: {
|
|
20
|
-
type: import('vue').PropType<string>;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
|
-
placement: {
|
|
24
|
-
type: import('vue').PropType<"onsurface" | "oncanvas">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
iconRight: {
|
|
28
|
-
type: import('vue').PropType<string>;
|
|
29
|
-
default: undefined;
|
|
30
|
-
};
|
|
31
|
-
weight: {
|
|
32
|
-
type: import('vue').PropType<"regular" | "semibold">;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
linkTarget: {
|
|
36
|
-
type: import('vue').PropType<string>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
+
color?: "blue" | "gray";
|
|
7
|
+
href?: string;
|
|
8
|
+
iconLeft?: string;
|
|
9
|
+
iconRight?: string;
|
|
10
|
+
placement?: "onsurface" | "oncanvas";
|
|
11
|
+
size?: "xsmall" | "small" | "medium";
|
|
12
|
+
weight?: "regular" | "semibold";
|
|
13
|
+
linkTarget?: string;
|
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
40
15
|
size: "xsmall" | "small" | "medium";
|
|
41
16
|
color: "blue" | "gray";
|
|
42
17
|
href: string;
|
|
@@ -45,47 +20,23 @@ declare const meta: {
|
|
|
45
20
|
iconRight: string;
|
|
46
21
|
weight: "regular" | "semibold";
|
|
47
22
|
linkTarget: string;
|
|
48
|
-
},
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
49
24
|
P: {};
|
|
50
25
|
B: {};
|
|
51
26
|
D: {};
|
|
52
27
|
C: {};
|
|
53
28
|
M: {};
|
|
54
29
|
Defaults: {};
|
|
55
|
-
}, Readonly<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
type: import('vue').PropType<string>;
|
|
66
|
-
default: undefined;
|
|
67
|
-
};
|
|
68
|
-
iconLeft: {
|
|
69
|
-
type: import('vue').PropType<string>;
|
|
70
|
-
default: undefined;
|
|
71
|
-
};
|
|
72
|
-
placement: {
|
|
73
|
-
type: import('vue').PropType<"onsurface" | "oncanvas">;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
iconRight: {
|
|
77
|
-
type: import('vue').PropType<string>;
|
|
78
|
-
default: undefined;
|
|
79
|
-
};
|
|
80
|
-
weight: {
|
|
81
|
-
type: import('vue').PropType<"regular" | "semibold">;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
linkTarget: {
|
|
85
|
-
type: import('vue').PropType<string>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
30
|
+
}, Readonly<{
|
|
31
|
+
color?: "blue" | "gray";
|
|
32
|
+
href?: string;
|
|
33
|
+
iconLeft?: string;
|
|
34
|
+
iconRight?: string;
|
|
35
|
+
placement?: "onsurface" | "oncanvas";
|
|
36
|
+
size?: "xsmall" | "small" | "medium";
|
|
37
|
+
weight?: "regular" | "semibold";
|
|
38
|
+
linkTarget?: string;
|
|
39
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
89
40
|
size: "xsmall" | "small" | "medium";
|
|
90
41
|
color: "blue" | "gray";
|
|
91
42
|
href: string;
|
|
@@ -98,40 +49,16 @@ declare const meta: {
|
|
|
98
49
|
__isFragment?: never;
|
|
99
50
|
__isTeleport?: never;
|
|
100
51
|
__isSuspense?: never;
|
|
101
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
type: import('vue').PropType<string>;
|
|
112
|
-
default: undefined;
|
|
113
|
-
};
|
|
114
|
-
iconLeft: {
|
|
115
|
-
type: import('vue').PropType<string>;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
|
-
placement: {
|
|
119
|
-
type: import('vue').PropType<"onsurface" | "oncanvas">;
|
|
120
|
-
default: string;
|
|
121
|
-
};
|
|
122
|
-
iconRight: {
|
|
123
|
-
type: import('vue').PropType<string>;
|
|
124
|
-
default: undefined;
|
|
125
|
-
};
|
|
126
|
-
weight: {
|
|
127
|
-
type: import('vue').PropType<"regular" | "semibold">;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
linkTarget: {
|
|
131
|
-
type: import('vue').PropType<string>;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
52
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
53
|
+
color?: "blue" | "gray";
|
|
54
|
+
href?: string;
|
|
55
|
+
iconLeft?: string;
|
|
56
|
+
iconRight?: string;
|
|
57
|
+
placement?: "onsurface" | "oncanvas";
|
|
58
|
+
size?: "xsmall" | "small" | "medium";
|
|
59
|
+
weight?: "regular" | "semibold";
|
|
60
|
+
linkTarget?: string;
|
|
61
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
135
62
|
size: "xsmall" | "small" | "medium";
|
|
136
63
|
color: "blue" | "gray";
|
|
137
64
|
href: string;
|