@dpa-id-components/dpa-shared-components 10.0.0 → 11.0.0-alpha.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/UiMenu/UiMenu.stories.d.ts +24 -10
- package/dist/components/UiMenu/UiMenu.vue.d.ts +6 -2
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +3 -1
- package/dist/dpa-shared-components.mjs +3120 -3085
- package/dist/dpa-shared-components.umd.js +4 -4
- package/dist/eslint.base.config.mjs +51 -0
- package/dist/style.css +1 -1
- package/dist/tailwind.config.cjs +1 -0
- package/package.json +13 -12
- package/dist/.eslintrc.cjs +0 -47
|
@@ -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;
|
|
@@ -49,8 +50,8 @@ declare const meta: {
|
|
|
49
50
|
defaultTitle?: string | undefined;
|
|
50
51
|
noTitle?: boolean | undefined;
|
|
51
52
|
multiLabel?: string | undefined;
|
|
52
|
-
filterButtonSize?: "small" | "xs" | undefined;
|
|
53
|
-
buttonVariant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | undefined;
|
|
53
|
+
filterButtonSize?: ("small" | "xs") | undefined;
|
|
54
|
+
buttonVariant?: ("blue-rounded" | "white-rounded" | "transparent-rounded" | "blank") | undefined;
|
|
54
55
|
listVariant?: import('./UiMenuTypes').UiMenuListVariant | undefined;
|
|
55
56
|
checkboxColor?: import('./UiMenuTypes').UiMenuCheckboxColor | undefined;
|
|
56
57
|
hasResetOption?: 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,8 +87,10 @@ 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;
|
|
89
|
-
}>) => import('vue').VNode
|
|
90
|
+
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
91
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
}> & {
|
|
90
94
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
91
95
|
};
|
|
92
96
|
argTypes: {
|
|
@@ -158,6 +162,10 @@ declare const meta: {
|
|
|
158
162
|
noTitle: {
|
|
159
163
|
control: string;
|
|
160
164
|
};
|
|
165
|
+
floatingUiPlacement: {
|
|
166
|
+
control: string;
|
|
167
|
+
options: string[];
|
|
168
|
+
};
|
|
161
169
|
};
|
|
162
170
|
args: {
|
|
163
171
|
defaultTitle: string;
|
|
@@ -176,6 +184,7 @@ declare const meta: {
|
|
|
176
184
|
searchPlaceholder: string;
|
|
177
185
|
hasSearch: boolean;
|
|
178
186
|
noTitle: boolean;
|
|
187
|
+
floatingUiPlacement: string;
|
|
179
188
|
};
|
|
180
189
|
};
|
|
181
190
|
export default meta;
|
|
@@ -246,7 +255,7 @@ export declare const WithBlankButton: {
|
|
|
246
255
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
247
256
|
}): any;
|
|
248
257
|
}>;
|
|
249
|
-
emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
|
|
258
|
+
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
250
259
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
251
260
|
props: {
|
|
252
261
|
disabled?: boolean | undefined;
|
|
@@ -262,6 +271,7 @@ export declare const WithBlankButton: {
|
|
|
262
271
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
263
272
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
264
273
|
readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
readonly onPlaced?: ((...args: any[]) => any) | undefined;
|
|
265
275
|
menuClasses?: import('vue').HTMLAttributes["class"];
|
|
266
276
|
groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
|
|
267
277
|
hasAutoFocus?: boolean | undefined;
|
|
@@ -269,8 +279,8 @@ export declare const WithBlankButton: {
|
|
|
269
279
|
defaultTitle?: string | undefined;
|
|
270
280
|
noTitle?: boolean | undefined;
|
|
271
281
|
multiLabel?: string | undefined;
|
|
272
|
-
filterButtonSize?: "small" | "xs" | undefined;
|
|
273
|
-
buttonVariant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | undefined;
|
|
282
|
+
filterButtonSize?: ("small" | "xs") | undefined;
|
|
283
|
+
buttonVariant?: ("blue-rounded" | "white-rounded" | "transparent-rounded" | "blank") | undefined;
|
|
274
284
|
listVariant?: import('./UiMenuTypes').UiMenuListVariant | undefined;
|
|
275
285
|
checkboxColor?: import('./UiMenuTypes').UiMenuCheckboxColor | undefined;
|
|
276
286
|
hasResetOption?: boolean | undefined;
|
|
@@ -281,6 +291,7 @@ export declare const WithBlankButton: {
|
|
|
281
291
|
floatingStylesActive?: boolean | undefined;
|
|
282
292
|
floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
|
|
283
293
|
floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
|
|
294
|
+
placedListClass?: string | undefined;
|
|
284
295
|
} & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
285
296
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
286
297
|
attrs: any;
|
|
@@ -305,8 +316,10 @@ export declare const WithBlankButton: {
|
|
|
305
316
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
306
317
|
}): any;
|
|
307
318
|
}>;
|
|
308
|
-
emit: (event: "close" | "reset" | "input" | "open" | "option-selected", ...args: any[]) => void;
|
|
309
|
-
}>) => import('vue').VNode
|
|
319
|
+
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
320
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
321
|
+
[key: string]: any;
|
|
322
|
+
}> & {
|
|
310
323
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
311
324
|
};
|
|
312
325
|
};
|
|
@@ -328,3 +341,4 @@ export declare const WithCheckmark: Story;
|
|
|
328
341
|
export declare const WithResetAndSearch: Story;
|
|
329
342
|
export declare const WithGroupedOptions: Story;
|
|
330
343
|
export declare const WithImages: Story;
|
|
344
|
+
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,8 +64,10 @@ 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;
|
|
66
|
-
}>) => import('vue').VNode
|
|
67
|
+
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
68
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}> & {
|
|
67
71
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
68
72
|
};
|
|
69
73
|
export default _default;
|
|
@@ -25,7 +25,9 @@ declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
|
|
|
25
25
|
}): any;
|
|
26
26
|
}>;
|
|
27
27
|
emit: typeof __VLS_emit;
|
|
28
|
-
}>) => import('vue').VNode
|
|
28
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}> & {
|
|
29
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
32
|
};
|
|
31
33
|
export default _default;
|