@dpa-id-components/dpa-shared-components 11.0.0-alpha.0 → 12.0.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/README.md +29 -0
- 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 +12 -43
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +7 -35
- 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 +22 -44
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +16 -36
- 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 -825
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2153 -133
- 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 -195
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +16 -42
- 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 +154 -511
- package/dist/components/UiInput/UiInput.vue.d.ts +23 -90
- 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 +61 -128
- 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 +12448 -13034
- 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/tailwind.config.cjs +3 -3
- package/dist/utils/index.d.ts +0 -1
- package/package.json +9 -8
|
@@ -1,64 +1,31 @@
|
|
|
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
|
-
iconSize: {
|
|
14
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
15
|
-
required: true;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
iconColor: {
|
|
19
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
20
|
-
required: true;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
iconBackground: {
|
|
24
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
25
|
-
required: true;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
iconBackground: "white" | "gray" | "green";
|
|
8
|
+
iconName: (typeof iconNames)[number] | null;
|
|
9
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
10
|
+
iconColor: "white" | "gray";
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
29
12
|
iconName: (typeof iconNames)[number] | null;
|
|
30
13
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
31
14
|
iconColor: "white" | "gray";
|
|
32
15
|
iconBackground: "white" | "gray" | "green";
|
|
33
|
-
},
|
|
16
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
34
17
|
P: {};
|
|
35
18
|
B: {};
|
|
36
19
|
D: {};
|
|
37
20
|
C: {};
|
|
38
21
|
M: {};
|
|
39
22
|
Defaults: {};
|
|
40
|
-
}, Readonly<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
iconSize: {
|
|
47
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
48
|
-
required: true;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
iconColor: {
|
|
52
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
53
|
-
required: true;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
iconBackground: {
|
|
57
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
58
|
-
required: true;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
23
|
+
}, Readonly<{
|
|
24
|
+
iconBackground: "white" | "gray" | "green";
|
|
25
|
+
iconName: (typeof iconNames)[number] | null;
|
|
26
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
27
|
+
iconColor: "white" | "gray";
|
|
28
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
62
29
|
iconName: (typeof iconNames)[number] | null;
|
|
63
30
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
64
31
|
iconColor: "white" | "gray";
|
|
@@ -67,28 +34,12 @@ declare const meta: {
|
|
|
67
34
|
__isFragment?: never;
|
|
68
35
|
__isTeleport?: never;
|
|
69
36
|
__isSuspense?: never;
|
|
70
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
iconSize: {
|
|
77
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
78
|
-
required: true;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
|
-
iconColor: {
|
|
82
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
83
|
-
required: true;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
iconBackground: {
|
|
87
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
88
|
-
required: true;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
37
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
38
|
+
iconBackground: "white" | "gray" | "green";
|
|
39
|
+
iconName: (typeof iconNames)[number] | null;
|
|
40
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
41
|
+
iconColor: "white" | "gray";
|
|
42
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
92
43
|
iconName: (typeof iconNames)[number] | null;
|
|
93
44
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
94
45
|
iconColor: "white" | "gray";
|
|
@@ -130,61 +81,29 @@ declare const meta: {
|
|
|
130
81
|
};
|
|
131
82
|
components: {
|
|
132
83
|
UiInfoContent: {
|
|
133
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
iconSize: {
|
|
140
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
141
|
-
required: true;
|
|
142
|
-
default: string;
|
|
143
|
-
};
|
|
144
|
-
iconColor: {
|
|
145
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
146
|
-
required: true;
|
|
147
|
-
default: string;
|
|
148
|
-
};
|
|
149
|
-
iconBackground: {
|
|
150
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
151
|
-
required: true;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
84
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
85
|
+
iconBackground: "white" | "gray" | "green";
|
|
86
|
+
iconName: (typeof iconNames)[number] | null;
|
|
87
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
88
|
+
iconColor: "white" | "gray";
|
|
89
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
155
90
|
iconName: (typeof iconNames)[number] | null;
|
|
156
91
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
157
92
|
iconColor: "white" | "gray";
|
|
158
93
|
iconBackground: "white" | "gray" | "green";
|
|
159
|
-
},
|
|
94
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
160
95
|
P: {};
|
|
161
96
|
B: {};
|
|
162
97
|
D: {};
|
|
163
98
|
C: {};
|
|
164
99
|
M: {};
|
|
165
100
|
Defaults: {};
|
|
166
|
-
}, Readonly<
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
iconSize: {
|
|
173
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
174
|
-
required: true;
|
|
175
|
-
default: string;
|
|
176
|
-
};
|
|
177
|
-
iconColor: {
|
|
178
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
179
|
-
required: true;
|
|
180
|
-
default: string;
|
|
181
|
-
};
|
|
182
|
-
iconBackground: {
|
|
183
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
184
|
-
required: true;
|
|
185
|
-
default: string;
|
|
186
|
-
};
|
|
187
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
101
|
+
}, Readonly<{
|
|
102
|
+
iconBackground: "white" | "gray" | "green";
|
|
103
|
+
iconName: (typeof iconNames)[number] | null;
|
|
104
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
105
|
+
iconColor: "white" | "gray";
|
|
106
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
188
107
|
iconName: (typeof iconNames)[number] | null;
|
|
189
108
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
190
109
|
iconColor: "white" | "gray";
|
|
@@ -193,28 +112,12 @@ declare const meta: {
|
|
|
193
112
|
__isFragment?: never;
|
|
194
113
|
__isTeleport?: never;
|
|
195
114
|
__isSuspense?: never;
|
|
196
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
iconSize: {
|
|
203
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
204
|
-
required: true;
|
|
205
|
-
default: string;
|
|
206
|
-
};
|
|
207
|
-
iconColor: {
|
|
208
|
-
type: import('vue').PropType<"gray" | "white">;
|
|
209
|
-
required: true;
|
|
210
|
-
default: string;
|
|
211
|
-
};
|
|
212
|
-
iconBackground: {
|
|
213
|
-
type: import('vue').PropType<"gray" | "white" | "green">;
|
|
214
|
-
required: true;
|
|
215
|
-
default: string;
|
|
216
|
-
};
|
|
217
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
115
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
116
|
+
iconBackground: "white" | "gray" | "green";
|
|
117
|
+
iconName: (typeof iconNames)[number] | null;
|
|
118
|
+
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
119
|
+
iconColor: "white" | "gray";
|
|
120
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
218
121
|
iconName: (typeof iconNames)[number] | null;
|
|
219
122
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
220
123
|
iconColor: "white" | "gray";
|
|
@@ -227,39 +130,18 @@ declare const meta: {
|
|
|
227
130
|
};
|
|
228
131
|
});
|
|
229
132
|
UiButton: {
|
|
230
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
disabled
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
color: {
|
|
240
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
241
|
-
default: string;
|
|
242
|
-
};
|
|
243
|
-
rounded: {
|
|
244
|
-
type: import('vue').PropType<boolean>;
|
|
245
|
-
default: boolean;
|
|
246
|
-
};
|
|
247
|
-
iconName: {
|
|
248
|
-
type: import('vue').PropType<string | null>;
|
|
249
|
-
default: null;
|
|
250
|
-
};
|
|
251
|
-
disabledVariant: {
|
|
252
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
253
|
-
default: string;
|
|
254
|
-
};
|
|
255
|
-
href: {
|
|
256
|
-
type: import('vue').PropType<string>;
|
|
257
|
-
default: string;
|
|
258
|
-
};
|
|
259
|
-
}>> & Readonly<{
|
|
133
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
134
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
135
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
136
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
137
|
+
disabledVariant?: "primary" | "secondary";
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
href?: string;
|
|
140
|
+
rounded?: boolean;
|
|
141
|
+
}> & Readonly<{
|
|
260
142
|
onClick?: (() => any) | undefined;
|
|
261
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
262
|
-
click: () =>
|
|
143
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
144
|
+
click: () => any;
|
|
263
145
|
}, import('vue').PublicProps, {
|
|
264
146
|
size: "xs" | "small" | "medium" | "large";
|
|
265
147
|
disabled: boolean;
|
|
@@ -268,43 +150,22 @@ declare const meta: {
|
|
|
268
150
|
iconName: (typeof iconNames)[number] | null;
|
|
269
151
|
disabledVariant: "primary" | "secondary";
|
|
270
152
|
href: string;
|
|
271
|
-
},
|
|
153
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
272
154
|
P: {};
|
|
273
155
|
B: {};
|
|
274
156
|
D: {};
|
|
275
157
|
C: {};
|
|
276
158
|
M: {};
|
|
277
159
|
Defaults: {};
|
|
278
|
-
}, Readonly<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
disabled
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
color: {
|
|
288
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
289
|
-
default: string;
|
|
290
|
-
};
|
|
291
|
-
rounded: {
|
|
292
|
-
type: import('vue').PropType<boolean>;
|
|
293
|
-
default: boolean;
|
|
294
|
-
};
|
|
295
|
-
iconName: {
|
|
296
|
-
type: import('vue').PropType<string | null>;
|
|
297
|
-
default: null;
|
|
298
|
-
};
|
|
299
|
-
disabledVariant: {
|
|
300
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
301
|
-
default: string;
|
|
302
|
-
};
|
|
303
|
-
href: {
|
|
304
|
-
type: import('vue').PropType<string>;
|
|
305
|
-
default: string;
|
|
306
|
-
};
|
|
307
|
-
}>> & Readonly<{
|
|
160
|
+
}, Readonly<{
|
|
161
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
162
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
163
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
164
|
+
disabledVariant?: "primary" | "secondary";
|
|
165
|
+
disabled?: boolean;
|
|
166
|
+
href?: string;
|
|
167
|
+
rounded?: boolean;
|
|
168
|
+
}> & Readonly<{
|
|
308
169
|
onClick?: (() => any) | undefined;
|
|
309
170
|
}>, {}, {}, {}, {}, {
|
|
310
171
|
size: "xs" | "small" | "medium" | "large";
|
|
@@ -318,39 +179,18 @@ declare const meta: {
|
|
|
318
179
|
__isFragment?: never;
|
|
319
180
|
__isTeleport?: never;
|
|
320
181
|
__isSuspense?: never;
|
|
321
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
disabled
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
color: {
|
|
331
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
332
|
-
default: string;
|
|
333
|
-
};
|
|
334
|
-
rounded: {
|
|
335
|
-
type: import('vue').PropType<boolean>;
|
|
336
|
-
default: boolean;
|
|
337
|
-
};
|
|
338
|
-
iconName: {
|
|
339
|
-
type: import('vue').PropType<string | null>;
|
|
340
|
-
default: null;
|
|
341
|
-
};
|
|
342
|
-
disabledVariant: {
|
|
343
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
344
|
-
default: string;
|
|
345
|
-
};
|
|
346
|
-
href: {
|
|
347
|
-
type: import('vue').PropType<string>;
|
|
348
|
-
default: string;
|
|
349
|
-
};
|
|
350
|
-
}>> & Readonly<{
|
|
182
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
183
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
184
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
185
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
186
|
+
disabledVariant?: "primary" | "secondary";
|
|
187
|
+
disabled?: boolean;
|
|
188
|
+
href?: string;
|
|
189
|
+
rounded?: boolean;
|
|
190
|
+
}> & Readonly<{
|
|
351
191
|
onClick?: (() => any) | undefined;
|
|
352
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
353
|
-
click: () =>
|
|
192
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
193
|
+
click: () => any;
|
|
354
194
|
}, string, {
|
|
355
195
|
size: "xs" | "small" | "medium" | "large";
|
|
356
196
|
disabled: boolean;
|
|
@@ -1,55 +1,29 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
title?(_: {}): any;
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
actions?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
9
3
|
iconBackground: "white" | "gray" | "green";
|
|
10
4
|
iconName: (typeof iconNames)[number] | null;
|
|
11
5
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
12
6
|
iconColor: "white" | "gray";
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
iconColor: string;
|
|
27
|
-
iconSize: string;
|
|
28
|
-
}>>> & Readonly<{}>, {
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
title?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
actions?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
20
|
iconName: (typeof iconNames)[number] | null;
|
|
30
21
|
iconSize: "xs" | "small" | "medium" | "large" | "xl";
|
|
31
22
|
iconColor: "white" | "gray";
|
|
32
23
|
iconBackground: "white" | "gray" | "green";
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
34
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
26
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
type __VLS_WithDefaults<P, D> = {
|
|
46
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
-
default: D[K];
|
|
48
|
-
}> : P[K];
|
|
49
|
-
};
|
|
50
|
-
type __VLS_Prettify<T> = {
|
|
51
|
-
[K in keyof T]: T[K];
|
|
52
|
-
} & {};
|
|
53
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
28
|
new (): {
|
|
55
29
|
$slots: S;
|