ingred-ui 25.4.2 → 25.4.3
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/ConfirmModal/ConfirmModal.stories.d.ts +311 -0
- package/dist/components/FullSizeConfirmModal/FullSizeConfirmModal.stories.d.ts +311 -0
- package/dist/components/Menu/Menu.stories.d.ts +93 -0
- package/dist/components/MenuList/MenuList.stories.d.ts +1111 -0
- package/dist/components/Select2/Select2.stories.d.ts +75 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts +121 -0
- package/dist/components/Toast/Toast.stories.d.ts +186 -0
- package/package.json +9 -8
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MenuProps } from "./Menu";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
docs: {
|
|
8
|
+
source: {
|
|
9
|
+
language: string;
|
|
10
|
+
};
|
|
11
|
+
page: () => JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const Basic: {
|
|
17
|
+
args: {
|
|
18
|
+
contents: {
|
|
19
|
+
text: string;
|
|
20
|
+
onClick: import("@storybook/addon-actions").HandlerFunction;
|
|
21
|
+
type: string;
|
|
22
|
+
}[];
|
|
23
|
+
maxHeight: string;
|
|
24
|
+
};
|
|
25
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
26
|
+
isOpen?: boolean | undefined;
|
|
27
|
+
baseElement?: HTMLElement | null | undefined;
|
|
28
|
+
contents: import("..").ContentProp[];
|
|
29
|
+
positionPriority?: ("auto" | import("@floating-ui/utils").Placement | "auto-start" | "auto-end")[] | undefined;
|
|
30
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick" | "clickMenuList") => void) | undefined;
|
|
31
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
32
|
+
menuListProps?: Partial<import("..").MenuListProps> | undefined;
|
|
33
|
+
popoverProps?: Partial<import("..").PopoverProps> | undefined;
|
|
34
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
35
|
+
isOpen?: boolean | undefined;
|
|
36
|
+
baseElement?: HTMLElement | null | undefined;
|
|
37
|
+
contents: import("..").ContentProp[];
|
|
38
|
+
positionPriority?: ("auto" | import("@floating-ui/utils").Placement | "auto-start" | "auto-end")[] | undefined;
|
|
39
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick" | "clickMenuList") => void) | undefined;
|
|
40
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
41
|
+
menuListProps?: Partial<import("..").MenuListProps> | undefined;
|
|
42
|
+
popoverProps?: Partial<import("..").PopoverProps> | undefined;
|
|
43
|
+
}>[] | undefined;
|
|
44
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
45
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<MenuProps>> | undefined;
|
|
46
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps>[] | undefined;
|
|
47
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | undefined;
|
|
48
|
+
name?: string | undefined;
|
|
49
|
+
storyName?: string | undefined;
|
|
50
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | undefined;
|
|
51
|
+
tags?: string[] | undefined;
|
|
52
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps, Partial<MenuProps>>, "story"> | undefined;
|
|
53
|
+
};
|
|
54
|
+
export declare const Group: {
|
|
55
|
+
args: {
|
|
56
|
+
contents: {
|
|
57
|
+
title: string;
|
|
58
|
+
contents: {
|
|
59
|
+
text: string;
|
|
60
|
+
onClick: import("@storybook/addon-actions").HandlerFunction;
|
|
61
|
+
}[];
|
|
62
|
+
}[];
|
|
63
|
+
maxHeight: string;
|
|
64
|
+
};
|
|
65
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
66
|
+
isOpen?: boolean | undefined;
|
|
67
|
+
baseElement?: HTMLElement | null | undefined;
|
|
68
|
+
contents: import("..").ContentProp[];
|
|
69
|
+
positionPriority?: ("auto" | import("@floating-ui/utils").Placement | "auto-start" | "auto-end")[] | undefined;
|
|
70
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick" | "clickMenuList") => void) | undefined;
|
|
71
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
72
|
+
menuListProps?: Partial<import("..").MenuListProps> | undefined;
|
|
73
|
+
popoverProps?: Partial<import("..").PopoverProps> | undefined;
|
|
74
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
75
|
+
isOpen?: boolean | undefined;
|
|
76
|
+
baseElement?: HTMLElement | null | undefined;
|
|
77
|
+
contents: import("..").ContentProp[];
|
|
78
|
+
positionPriority?: ("auto" | import("@floating-ui/utils").Placement | "auto-start" | "auto-end")[] | undefined;
|
|
79
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick" | "clickMenuList") => void) | undefined;
|
|
80
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
81
|
+
menuListProps?: Partial<import("..").MenuListProps> | undefined;
|
|
82
|
+
popoverProps?: Partial<import("..").PopoverProps> | undefined;
|
|
83
|
+
}>[] | undefined;
|
|
84
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
85
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<MenuProps>> | undefined;
|
|
86
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps>[] | undefined;
|
|
87
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | undefined;
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
storyName?: string | undefined;
|
|
90
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps> | undefined;
|
|
91
|
+
tags?: string[] | undefined;
|
|
92
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, MenuProps, Partial<MenuProps>>, "story"> | undefined;
|
|
93
|
+
};
|