@dpa-id-components/dpa-shared-components 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ declare const meta: {
26
26
  groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
27
27
  }): any;
28
28
  }>;
29
- emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
29
+ emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
30
30
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
31
31
  props: {
32
32
  disabled?: boolean | undefined;
@@ -42,6 +42,7 @@ declare const meta: {
42
42
  readonly onClose?: ((...args: any[]) => any) | undefined;
43
43
  readonly onOpen?: ((...args: any[]) => any) | undefined;
44
44
  readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
45
+ readonly onPlaced?: ((...args: any[]) => any) | undefined;
45
46
  menuClasses?: import('vue').HTMLAttributes["class"];
46
47
  groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
47
48
  hasAutoFocus?: boolean | undefined;
@@ -61,6 +62,7 @@ declare const meta: {
61
62
  floatingStylesActive?: boolean | undefined;
62
63
  floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
63
64
  floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
65
+ placedListClass?: string | undefined;
64
66
  } & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
65
67
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
66
68
  attrs: any;
@@ -85,7 +87,7 @@ declare const meta: {
85
87
  groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
86
88
  }): any;
87
89
  }>;
88
- emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
90
+ emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
89
91
  }>) => import('vue').VNode & {
90
92
  __ctx?: Awaited<typeof __VLS_setup>;
91
93
  };
@@ -158,6 +160,10 @@ declare const meta: {
158
160
  noTitle: {
159
161
  control: string;
160
162
  };
163
+ floatingUiPlacement: {
164
+ control: string;
165
+ options: string[];
166
+ };
161
167
  };
162
168
  args: {
163
169
  defaultTitle: string;
@@ -176,6 +182,7 @@ declare const meta: {
176
182
  searchPlaceholder: string;
177
183
  hasSearch: boolean;
178
184
  noTitle: boolean;
185
+ floatingUiPlacement: string;
179
186
  };
180
187
  };
181
188
  export default meta;
@@ -246,7 +253,7 @@ export declare const WithBlankButton: {
246
253
  groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
247
254
  }): any;
248
255
  }>;
249
- emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
256
+ emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
250
257
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
251
258
  props: {
252
259
  disabled?: boolean | undefined;
@@ -262,6 +269,7 @@ export declare const WithBlankButton: {
262
269
  readonly onClose?: ((...args: any[]) => any) | undefined;
263
270
  readonly onOpen?: ((...args: any[]) => any) | undefined;
264
271
  readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
272
+ readonly onPlaced?: ((...args: any[]) => any) | undefined;
265
273
  menuClasses?: import('vue').HTMLAttributes["class"];
266
274
  groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
267
275
  hasAutoFocus?: boolean | undefined;
@@ -281,6 +289,7 @@ export declare const WithBlankButton: {
281
289
  floatingStylesActive?: boolean | undefined;
282
290
  floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
283
291
  floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
292
+ placedListClass?: string | undefined;
284
293
  } & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
285
294
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
286
295
  attrs: any;
@@ -305,7 +314,7 @@ export declare const WithBlankButton: {
305
314
  groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
306
315
  }): any;
307
316
  }>;
308
- emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
317
+ emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
309
318
  }>) => import('vue').VNode & {
310
319
  __ctx?: Awaited<typeof __VLS_setup>;
311
320
  };
@@ -328,3 +337,4 @@ export declare const WithCheckmark: Story;
328
337
  export declare const WithResetAndSearch: Story;
329
338
  export declare const WithGroupedOptions: Story;
330
339
  export declare const WithImages: Story;
340
+ export declare const DefaultAnimated: Story;
@@ -10,6 +10,7 @@ declare const _default: <K>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
10
10
  readonly onInput?: ((...args: any[]) => any) | undefined;
11
11
  readonly onOpen?: ((...args: any[]) => any) | undefined;
12
12
  readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
13
+ readonly onPlaced?: ((...args: any[]) => any) | undefined;
13
14
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
14
15
  menuClasses?: HTMLAttributes["class"];
15
16
  options?: UiMenuOptionType<K>[];
@@ -38,6 +39,7 @@ declare const _default: <K>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
38
39
  floatingUiPlacement?: Placement;
39
40
  floatingUiOptions?: UseFloatingOptions | null;
40
41
  animate?: boolean;
42
+ placedListClass?: string;
41
43
  }, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
42
44
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
43
45
  attrs: any;
@@ -62,7 +64,7 @@ declare const _default: <K>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
62
64
  groupedOptions: UiMenuGroupedOption<K>[];
63
65
  }): any;
64
66
  }>;
65
- emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
67
+ emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
66
68
  }>) => import('vue').VNode & {
67
69
  __ctx?: Awaited<typeof __VLS_setup>;
68
70
  };