@dpa-id-components/dpa-shared-components 12.0.2 → 12.2.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/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +29 -29
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +29 -29
- package/dist/components/UiButton/UiButton.stories.d.ts +3 -3
- package/dist/components/UiButton/UiButton.vue.d.ts +1 -1
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +13 -1
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +7 -6
- package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +4 -4
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +6 -6
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +6 -6
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +3 -3
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +3 -3
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2713 -57
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +33 -33
- package/dist/components/UiDialog/UiDialog.stories.d.ts +224 -12
- package/dist/components/UiDialog/UiDialog.vue.d.ts +2 -2
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +100 -21
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +133 -15
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +2 -2
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +80 -6
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +2 -2
- package/dist/components/UiIcon/UiIcon.stories.d.ts +1 -16
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +56 -8
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +3 -3
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +100 -4
- package/dist/components/UiInput/UiInput.stories.d.ts +427 -76
- package/dist/components/UiInput/UiInput.vue.d.ts +12 -11
- package/dist/components/UiList/UiList.stories.d.ts +13 -292
- package/dist/components/UiListItem/UiListItem.stories.d.ts +248 -24
- package/dist/components/UiListItem/UiListItem.vue.d.ts +4 -4
- package/dist/components/UiMenu/UiMenu.stories.d.ts +55 -189
- package/dist/components/UiMenu/UiMenu.vue.d.ts +15 -9
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +64 -12
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +2 -2
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +110 -34
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +2 -2
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +56 -26
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +8 -7
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +36 -317
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +12 -14
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +196 -36
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +7 -7
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +48 -6
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +2 -2
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +26 -2
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +163 -23
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +4 -4
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +20 -2
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +11 -5
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +4 -2
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +200 -2
- package/dist/dpa-shared-components.mjs +6458 -6461
- package/dist/dpa-shared-components.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/tailwind/tailwind.config.d.cts +3 -211
- package/dist/tailwind.config.cjs +7 -3
- package/package.json +9 -9
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
6
6
|
slots: Readonly<{
|
|
7
|
-
default(props: {
|
|
7
|
+
default?(props: {
|
|
8
8
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
9
9
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
10
10
|
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
@@ -14,7 +14,7 @@ declare const meta: {
|
|
|
14
14
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
15
15
|
}): any;
|
|
16
16
|
}> & {
|
|
17
|
-
default(props: {
|
|
17
|
+
default?(props: {
|
|
18
18
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
19
19
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
20
20
|
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
@@ -25,15 +25,21 @@ declare const meta: {
|
|
|
25
25
|
}): any;
|
|
26
26
|
};
|
|
27
27
|
attrs: any;
|
|
28
|
-
emit: (
|
|
28
|
+
emit: ((evt: "close") => void) & ((evt: "reset") => void) & ((evt: "input", args_0: string) => void) & ((evt: "open") => void) & ((evt: "option-selected", args_0: {
|
|
29
|
+
index?: number;
|
|
30
|
+
value: unknown;
|
|
31
|
+
}) => void) & ((evt: "placed") => void);
|
|
29
32
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
30
33
|
props: {
|
|
31
|
-
readonly onInput?: ((
|
|
32
|
-
readonly onReset?: ((
|
|
33
|
-
readonly onClose?: ((
|
|
34
|
-
readonly onOpen?: ((
|
|
35
|
-
readonly "onOption-selected"?: ((
|
|
36
|
-
|
|
34
|
+
readonly onInput?: ((args_0: string) => any) | undefined;
|
|
35
|
+
readonly onReset?: (() => any) | undefined;
|
|
36
|
+
readonly onClose?: (() => any) | undefined;
|
|
37
|
+
readonly onOpen?: (() => any) | undefined;
|
|
38
|
+
readonly "onOption-selected"?: ((args_0: {
|
|
39
|
+
index?: number;
|
|
40
|
+
value: unknown;
|
|
41
|
+
}) => any) | undefined;
|
|
42
|
+
readonly onPlaced?: (() => any) | undefined;
|
|
37
43
|
menuClasses?: import('vue').HTMLAttributes["class"];
|
|
38
44
|
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
39
45
|
groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
|
|
@@ -66,7 +72,7 @@ declare const meta: {
|
|
|
66
72
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
67
73
|
attrs: any;
|
|
68
74
|
slots: Readonly<{
|
|
69
|
-
default(props: {
|
|
75
|
+
default?(props: {
|
|
70
76
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
71
77
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
72
78
|
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
@@ -76,7 +82,7 @@ declare const meta: {
|
|
|
76
82
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
77
83
|
}): any;
|
|
78
84
|
}> & {
|
|
79
|
-
default(props: {
|
|
85
|
+
default?(props: {
|
|
80
86
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
81
87
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
82
88
|
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
@@ -86,251 +92,111 @@ declare const meta: {
|
|
|
86
92
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
87
93
|
}): any;
|
|
88
94
|
};
|
|
89
|
-
emit: (
|
|
95
|
+
emit: ((evt: "close") => void) & ((evt: "reset") => void) & ((evt: "input", args_0: string) => void) & ((evt: "open") => void) & ((evt: "option-selected", args_0: {
|
|
96
|
+
index?: number;
|
|
97
|
+
value: unknown;
|
|
98
|
+
}) => void) & ((evt: "placed") => void);
|
|
90
99
|
}>) => import('vue').VNode & {
|
|
91
100
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
92
101
|
};
|
|
93
102
|
argTypes: {
|
|
94
103
|
defaultTitle: {
|
|
95
|
-
control:
|
|
104
|
+
control: "text";
|
|
96
105
|
};
|
|
97
106
|
multiLabel: {
|
|
98
|
-
control:
|
|
107
|
+
control: "text";
|
|
99
108
|
};
|
|
100
109
|
buttonVariant: {
|
|
101
|
-
control:
|
|
110
|
+
control: "select";
|
|
102
111
|
options: string[];
|
|
103
112
|
};
|
|
104
113
|
listVariant: {
|
|
105
|
-
control:
|
|
114
|
+
control: "select";
|
|
106
115
|
options: string[];
|
|
107
116
|
};
|
|
108
117
|
checkboxColor: {
|
|
109
|
-
control:
|
|
118
|
+
control: "select";
|
|
110
119
|
options: string[];
|
|
111
120
|
};
|
|
112
121
|
filterButtonSize: {
|
|
113
|
-
control:
|
|
122
|
+
control: "select";
|
|
114
123
|
options: string[];
|
|
115
124
|
};
|
|
116
125
|
iconSize: {
|
|
117
|
-
control:
|
|
126
|
+
control: "select";
|
|
118
127
|
options: string[];
|
|
119
128
|
};
|
|
120
129
|
iconLeft: {
|
|
121
|
-
control:
|
|
130
|
+
control: "select";
|
|
122
131
|
options: string[];
|
|
123
132
|
};
|
|
124
133
|
imageShape: {
|
|
125
|
-
control:
|
|
134
|
+
control: "select";
|
|
126
135
|
options: string[];
|
|
127
136
|
};
|
|
128
137
|
checkboxSize: {
|
|
129
|
-
control:
|
|
138
|
+
control: "select";
|
|
130
139
|
options: string[];
|
|
131
140
|
};
|
|
132
141
|
isOpen: {
|
|
133
|
-
control:
|
|
142
|
+
control: false;
|
|
134
143
|
};
|
|
135
144
|
disabled: {
|
|
136
|
-
control:
|
|
145
|
+
control: "boolean";
|
|
137
146
|
};
|
|
138
147
|
active: {
|
|
139
|
-
control:
|
|
148
|
+
control: "boolean";
|
|
140
149
|
};
|
|
141
150
|
hasResetOption: {
|
|
142
|
-
control:
|
|
151
|
+
control: "boolean";
|
|
143
152
|
};
|
|
144
153
|
disabledReset: {
|
|
145
|
-
control:
|
|
154
|
+
control: false;
|
|
146
155
|
};
|
|
147
156
|
resetLabel: {
|
|
148
|
-
control:
|
|
157
|
+
control: "text";
|
|
149
158
|
};
|
|
150
159
|
searchPlaceholder: {
|
|
151
|
-
control:
|
|
160
|
+
control: "text";
|
|
152
161
|
};
|
|
153
162
|
hasSearch: {
|
|
154
|
-
control:
|
|
163
|
+
control: "boolean";
|
|
155
164
|
};
|
|
156
165
|
options: {
|
|
157
|
-
control:
|
|
166
|
+
control: false;
|
|
158
167
|
};
|
|
159
168
|
noTitle: {
|
|
160
|
-
control:
|
|
169
|
+
control: "boolean";
|
|
161
170
|
};
|
|
162
171
|
floatingUiPlacement: {
|
|
163
|
-
control:
|
|
172
|
+
control: "select";
|
|
164
173
|
options: string[];
|
|
165
174
|
};
|
|
166
175
|
};
|
|
167
176
|
args: {
|
|
168
177
|
defaultTitle: string;
|
|
169
178
|
multiLabel: string;
|
|
170
|
-
buttonVariant:
|
|
171
|
-
listVariant:
|
|
172
|
-
checkboxColor:
|
|
173
|
-
iconSize:
|
|
179
|
+
buttonVariant: "white-rounded";
|
|
180
|
+
listVariant: "blank";
|
|
181
|
+
checkboxColor: "blue";
|
|
182
|
+
iconSize: "small";
|
|
174
183
|
iconLeft: string;
|
|
175
|
-
imageShape:
|
|
176
|
-
checkboxSize:
|
|
177
|
-
disabled:
|
|
178
|
-
active:
|
|
179
|
-
hasResetOption:
|
|
184
|
+
imageShape: "square";
|
|
185
|
+
checkboxSize: "medium";
|
|
186
|
+
disabled: false;
|
|
187
|
+
active: false;
|
|
188
|
+
hasResetOption: false;
|
|
180
189
|
resetLabel: string;
|
|
181
190
|
searchPlaceholder: string;
|
|
182
|
-
hasSearch:
|
|
183
|
-
noTitle:
|
|
184
|
-
floatingUiPlacement:
|
|
191
|
+
hasSearch: false;
|
|
192
|
+
noTitle: false;
|
|
193
|
+
floatingUiPlacement: "bottom-start";
|
|
185
194
|
};
|
|
186
195
|
};
|
|
187
196
|
export default meta;
|
|
188
197
|
type Story = StoryObj<typeof meta>;
|
|
189
198
|
export declare const Default: Story;
|
|
190
|
-
export declare const WithBlankButton:
|
|
191
|
-
render: (args: any) => {
|
|
192
|
-
setup(): {
|
|
193
|
-
args: any;
|
|
194
|
-
isOpen: import('vue').Ref<boolean, boolean>;
|
|
195
|
-
resetIsDisabled: import('vue').ComputedRef<boolean>;
|
|
196
|
-
onClose: () => boolean;
|
|
197
|
-
onOpen: () => boolean;
|
|
198
|
-
onSelect: (e: {
|
|
199
|
-
index: number;
|
|
200
|
-
value: string;
|
|
201
|
-
}) => void;
|
|
202
|
-
onInput: (e: string) => void;
|
|
203
|
-
onReset: () => void;
|
|
204
|
-
filteredOptions: import('vue').Ref<{
|
|
205
|
-
label: string;
|
|
206
|
-
value: string;
|
|
207
|
-
selected: boolean;
|
|
208
|
-
}[], {
|
|
209
|
-
label: string;
|
|
210
|
-
value: string;
|
|
211
|
-
selected: boolean;
|
|
212
|
-
}[] | {
|
|
213
|
-
label: string;
|
|
214
|
-
value: string;
|
|
215
|
-
selected: boolean;
|
|
216
|
-
}[]>;
|
|
217
|
-
options: import('vue').Ref<{
|
|
218
|
-
label: string;
|
|
219
|
-
value: string;
|
|
220
|
-
selected: boolean;
|
|
221
|
-
}[], {
|
|
222
|
-
label: string;
|
|
223
|
-
value: string;
|
|
224
|
-
selected: boolean;
|
|
225
|
-
}[] | {
|
|
226
|
-
label: string;
|
|
227
|
-
value: string;
|
|
228
|
-
selected: boolean;
|
|
229
|
-
}[]>;
|
|
230
|
-
};
|
|
231
|
-
components: {
|
|
232
|
-
UiMenu: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
233
|
-
slots: Readonly<{
|
|
234
|
-
default(props: {
|
|
235
|
-
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
236
|
-
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
237
|
-
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
238
|
-
imageShape: import('./UiMenuTypes').UiMenuImageShape;
|
|
239
|
-
listVariant: import('./UiMenuTypes').UiMenuListVariant;
|
|
240
|
-
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
241
|
-
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
242
|
-
}): any;
|
|
243
|
-
}> & {
|
|
244
|
-
default(props: {
|
|
245
|
-
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
246
|
-
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
247
|
-
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
248
|
-
imageShape: import('./UiMenuTypes').UiMenuImageShape;
|
|
249
|
-
listVariant: import('./UiMenuTypes').UiMenuListVariant;
|
|
250
|
-
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
251
|
-
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
252
|
-
}): any;
|
|
253
|
-
};
|
|
254
|
-
attrs: any;
|
|
255
|
-
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
256
|
-
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
257
|
-
props: {
|
|
258
|
-
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
259
|
-
readonly onReset?: ((...args: any[]) => any) | undefined;
|
|
260
|
-
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
261
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
262
|
-
readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
|
|
263
|
-
readonly onPlaced?: ((...args: any[]) => any) | undefined;
|
|
264
|
-
menuClasses?: import('vue').HTMLAttributes["class"];
|
|
265
|
-
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
266
|
-
groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
|
|
267
|
-
hasAutoFocus?: boolean | undefined;
|
|
268
|
-
isOpen?: boolean | undefined;
|
|
269
|
-
disabled?: boolean | undefined;
|
|
270
|
-
active?: boolean | undefined;
|
|
271
|
-
defaultTitle?: string | undefined;
|
|
272
|
-
noTitle?: boolean | undefined;
|
|
273
|
-
multiLabel?: string | undefined;
|
|
274
|
-
filterButtonSize?: "small" | "xs" | undefined;
|
|
275
|
-
iconSize?: import('./UiMenuTypes').UiMenuIconSize | undefined;
|
|
276
|
-
iconLeft?: ((typeof iconNames)[number] | null) | undefined;
|
|
277
|
-
imageShape?: import('./UiMenuTypes').UiMenuImageShape | undefined;
|
|
278
|
-
checkboxSize?: import('./UiMenuTypes').UiMenuCheckboxSize | undefined;
|
|
279
|
-
buttonVariant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | undefined;
|
|
280
|
-
listVariant?: import('./UiMenuTypes').UiMenuListVariant | undefined;
|
|
281
|
-
checkboxColor?: import('./UiMenuTypes').UiMenuCheckboxColor | undefined;
|
|
282
|
-
hasResetOption?: boolean | undefined;
|
|
283
|
-
disabledReset?: boolean | undefined;
|
|
284
|
-
resetLabel?: string | undefined;
|
|
285
|
-
searchPlaceholder?: string | undefined;
|
|
286
|
-
hasSearch?: boolean | undefined;
|
|
287
|
-
floatingStylesActive?: boolean | undefined;
|
|
288
|
-
floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
|
|
289
|
-
floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
|
|
290
|
-
animate?: boolean | undefined;
|
|
291
|
-
placedListClass?: string | undefined;
|
|
292
|
-
} & import('vue').PublicProps;
|
|
293
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
294
|
-
attrs: any;
|
|
295
|
-
slots: Readonly<{
|
|
296
|
-
default(props: {
|
|
297
|
-
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
298
|
-
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
299
|
-
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
300
|
-
imageShape: import('./UiMenuTypes').UiMenuImageShape;
|
|
301
|
-
listVariant: import('./UiMenuTypes').UiMenuListVariant;
|
|
302
|
-
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
303
|
-
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
304
|
-
}): any;
|
|
305
|
-
}> & {
|
|
306
|
-
default(props: {
|
|
307
|
-
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
308
|
-
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
309
|
-
iconSize: import('./UiMenuTypes').UiMenuIconSize;
|
|
310
|
-
imageShape: import('./UiMenuTypes').UiMenuImageShape;
|
|
311
|
-
listVariant: import('./UiMenuTypes').UiMenuListVariant;
|
|
312
|
-
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
313
|
-
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
314
|
-
}): any;
|
|
315
|
-
};
|
|
316
|
-
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
317
|
-
}>) => import('vue').VNode & {
|
|
318
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
template: string;
|
|
322
|
-
methods: {
|
|
323
|
-
open: import('@storybook/addon-actions').HandlerFunction;
|
|
324
|
-
close: import('@storybook/addon-actions').HandlerFunction;
|
|
325
|
-
optionSelected: import('@storybook/addon-actions').HandlerFunction;
|
|
326
|
-
input: import('@storybook/addon-actions').HandlerFunction;
|
|
327
|
-
reset: import('@storybook/addon-actions').HandlerFunction;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
args: {
|
|
331
|
-
buttonVariant: string;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
199
|
+
export declare const WithBlankButton: Story;
|
|
334
200
|
export declare const WithCheckboxes: Story;
|
|
335
201
|
export declare const WithCheckmark: Story;
|
|
336
202
|
export declare const WithResetAndSearch: Story;
|
|
@@ -4,12 +4,15 @@ import { iconNames } from '../UiIcon/iconNames';
|
|
|
4
4
|
import { UiMenuCheckboxColor, UiMenuCheckboxSize, UiMenuGroupedOption, UiMenuIconSize, UiMenuImageShape, UiMenuListVariant, UiMenuOptionType } from './UiMenuTypes';
|
|
5
5
|
declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
7
|
-
readonly onClose?: ((
|
|
8
|
-
readonly onReset?: ((
|
|
9
|
-
readonly onInput?: ((
|
|
10
|
-
readonly onOpen?: ((
|
|
11
|
-
readonly "onOption-selected"?: ((
|
|
12
|
-
|
|
7
|
+
readonly onClose?: (() => any) | undefined;
|
|
8
|
+
readonly onReset?: (() => any) | undefined;
|
|
9
|
+
readonly onInput?: ((args_0: string) => any) | undefined;
|
|
10
|
+
readonly onOpen?: (() => any) | undefined;
|
|
11
|
+
readonly "onOption-selected"?: ((args_0: {
|
|
12
|
+
index?: number;
|
|
13
|
+
value: unknown;
|
|
14
|
+
}) => any) | undefined;
|
|
15
|
+
readonly onPlaced?: (() => any) | undefined;
|
|
13
16
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onInput" | "onReset" | "onClose" | "onOpen" | "onOption-selected" | "onPlaced"> & {
|
|
14
17
|
menuClasses?: HTMLAttributes["class"];
|
|
15
18
|
options?: UiMenuOptionType<K>[];
|
|
@@ -43,7 +46,7 @@ declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
43
46
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
44
47
|
attrs: any;
|
|
45
48
|
slots: Readonly<{
|
|
46
|
-
default(props: {
|
|
49
|
+
default?(props: {
|
|
47
50
|
checkboxColor: UiMenuCheckboxColor;
|
|
48
51
|
checkboxSize: UiMenuCheckboxSize;
|
|
49
52
|
iconSize: UiMenuIconSize;
|
|
@@ -53,7 +56,7 @@ declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
53
56
|
groupedOptions: UiMenuGroupedOption<K>[];
|
|
54
57
|
}): any;
|
|
55
58
|
}> & {
|
|
56
|
-
default(props: {
|
|
59
|
+
default?(props: {
|
|
57
60
|
checkboxColor: UiMenuCheckboxColor;
|
|
58
61
|
checkboxSize: UiMenuCheckboxSize;
|
|
59
62
|
iconSize: UiMenuIconSize;
|
|
@@ -63,7 +66,10 @@ declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
63
66
|
groupedOptions: UiMenuGroupedOption<K>[];
|
|
64
67
|
}): any;
|
|
65
68
|
};
|
|
66
|
-
emit: (
|
|
69
|
+
emit: ((evt: "close") => void) & ((evt: "reset") => void) & ((evt: "input", args_0: string) => void) & ((evt: "open") => void) & ((evt: "option-selected", args_0: {
|
|
70
|
+
index?: number;
|
|
71
|
+
value: unknown;
|
|
72
|
+
}) => void) & ((evt: "placed") => void);
|
|
67
73
|
}>) => import('vue').VNode & {
|
|
68
74
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
69
75
|
};
|
|
@@ -3,9 +3,9 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: {
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
6
|
-
onClose?: ((
|
|
6
|
+
onClose?: (() => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
close: (
|
|
8
|
+
close: () => any;
|
|
9
9
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
10
10
|
P: {};
|
|
11
11
|
B: {};
|
|
@@ -14,30 +14,82 @@ declare const meta: {
|
|
|
14
14
|
M: {};
|
|
15
15
|
Defaults: {};
|
|
16
16
|
}, Readonly<{}> & Readonly<{
|
|
17
|
-
onClose?: ((
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, {}>;
|
|
19
19
|
__isFragment?: never;
|
|
20
20
|
__isTeleport?: never;
|
|
21
21
|
__isSuspense?: never;
|
|
22
22
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
23
|
-
onClose?: ((
|
|
23
|
+
onClose?: (() => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
-
close: (
|
|
25
|
+
close: () => any;
|
|
26
26
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
27
27
|
$slots: {
|
|
28
28
|
default?(_: {}): any;
|
|
29
29
|
};
|
|
30
30
|
});
|
|
31
|
-
render: (args:
|
|
31
|
+
render: (args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
32
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
33
|
+
onClose?: (() => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
close: () => any;
|
|
36
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
37
|
+
P: {};
|
|
38
|
+
B: {};
|
|
39
|
+
D: {};
|
|
40
|
+
C: {};
|
|
41
|
+
M: {};
|
|
42
|
+
Defaults: {};
|
|
43
|
+
}, Readonly<{}> & Readonly<{
|
|
44
|
+
onClose?: (() => any) | undefined;
|
|
45
|
+
}>, {}, {}, {}, {}, {}>;
|
|
46
|
+
__isFragment?: never;
|
|
47
|
+
__isTeleport?: never;
|
|
48
|
+
__isSuspense?: never;
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
50
|
+
onClose?: (() => any) | undefined;
|
|
51
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
+
close: () => any;
|
|
53
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
54
|
+
$slots: {
|
|
55
|
+
default?(_: {}): any;
|
|
56
|
+
};
|
|
57
|
+
})>) => {
|
|
32
58
|
setup(this: void): {
|
|
33
|
-
args:
|
|
59
|
+
args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
60
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
61
|
+
onClose?: (() => any) | undefined;
|
|
62
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
close: () => any;
|
|
64
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
65
|
+
P: {};
|
|
66
|
+
B: {};
|
|
67
|
+
D: {};
|
|
68
|
+
C: {};
|
|
69
|
+
M: {};
|
|
70
|
+
Defaults: {};
|
|
71
|
+
}, Readonly<{}> & Readonly<{
|
|
72
|
+
onClose?: (() => any) | undefined;
|
|
73
|
+
}>, {}, {}, {}, {}, {}>;
|
|
74
|
+
__isFragment?: never;
|
|
75
|
+
__isTeleport?: never;
|
|
76
|
+
__isSuspense?: never;
|
|
77
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
78
|
+
onClose?: (() => any) | undefined;
|
|
79
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
|
+
close: () => any;
|
|
81
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
82
|
+
$slots: {
|
|
83
|
+
default?(_: {}): any;
|
|
84
|
+
};
|
|
85
|
+
})>;
|
|
34
86
|
};
|
|
35
87
|
components: {
|
|
36
88
|
UiOverlay: {
|
|
37
89
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
38
|
-
onClose?: ((
|
|
90
|
+
onClose?: (() => any) | undefined;
|
|
39
91
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
close: (
|
|
92
|
+
close: () => any;
|
|
41
93
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
42
94
|
P: {};
|
|
43
95
|
B: {};
|
|
@@ -46,15 +98,15 @@ declare const meta: {
|
|
|
46
98
|
M: {};
|
|
47
99
|
Defaults: {};
|
|
48
100
|
}, Readonly<{}> & Readonly<{
|
|
49
|
-
onClose?: ((
|
|
101
|
+
onClose?: (() => any) | undefined;
|
|
50
102
|
}>, {}, {}, {}, {}, {}>;
|
|
51
103
|
__isFragment?: never;
|
|
52
104
|
__isTeleport?: never;
|
|
53
105
|
__isSuspense?: never;
|
|
54
106
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
55
|
-
onClose?: ((
|
|
107
|
+
onClose?: (() => any) | undefined;
|
|
56
108
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
|
-
close: (
|
|
109
|
+
close: () => any;
|
|
58
110
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
59
111
|
$slots: {
|
|
60
112
|
default?(_: {}): any;
|
|
@@ -8,9 +8,9 @@ declare function __VLS_template(): {
|
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
close: (
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
13
|
-
onClose?: ((
|
|
13
|
+
onClose?: (() => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
16
|
export default _default;
|