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,75 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
import { Select2Props } from "./types";
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Select2Props>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Basic: Story<Select2Props>;
|
|
7
|
+
export declare const WithSearch: Story<Select2Props>;
|
|
8
|
+
export declare const Error: Story<Select2Props>;
|
|
9
|
+
export declare const Disabled: Story<Select2Props>;
|
|
10
|
+
export declare const WithDefaultValue: Story<Select2Props>;
|
|
11
|
+
export declare const WithManyOptions: Story<Select2Props>;
|
|
12
|
+
export declare const WithDisabledOptions: Story<Select2Props>;
|
|
13
|
+
export declare const MultipleSelection: Story<Select2Props>;
|
|
14
|
+
export declare const MultipleSelectionWithSearch: Story<Select2Props>;
|
|
15
|
+
export declare const WithOptionGroups: {
|
|
16
|
+
(): JSX.Element;
|
|
17
|
+
parameters: {
|
|
18
|
+
docs: {
|
|
19
|
+
description: {
|
|
20
|
+
story: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const WithOptionGroupsMultiple: {
|
|
26
|
+
(): JSX.Element;
|
|
27
|
+
parameters: {
|
|
28
|
+
docs: {
|
|
29
|
+
description: {
|
|
30
|
+
story: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const WithMaxSelectionStrict: {
|
|
36
|
+
(): JSX.Element;
|
|
37
|
+
parameters: {
|
|
38
|
+
docs: {
|
|
39
|
+
description: {
|
|
40
|
+
story: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export declare const WithCustomMiddleware: Story<Select2Props>;
|
|
46
|
+
export declare const WithPrependAppend: {
|
|
47
|
+
(): JSX.Element;
|
|
48
|
+
parameters: {
|
|
49
|
+
docs: {
|
|
50
|
+
description: {
|
|
51
|
+
story: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export declare const WithPrependAppendMultiple: {
|
|
57
|
+
(): JSX.Element;
|
|
58
|
+
parameters: {
|
|
59
|
+
docs: {
|
|
60
|
+
description: {
|
|
61
|
+
story: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export declare const WithPrependIconDisplay: {
|
|
67
|
+
(): JSX.Element;
|
|
68
|
+
parameters: {
|
|
69
|
+
docs: {
|
|
70
|
+
description: {
|
|
71
|
+
story: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SnackbarProps } from "./Snackbar";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<SnackbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
args: {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
anchorOrigin: {
|
|
9
|
+
vertical: string;
|
|
10
|
+
horizontal: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
source: {
|
|
16
|
+
language: string;
|
|
17
|
+
};
|
|
18
|
+
page: () => JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
export declare const Default: {
|
|
24
|
+
args: {
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
28
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
29
|
+
anchorOrigin?: {
|
|
30
|
+
horizontal: "left" | "right";
|
|
31
|
+
vertical: "top" | "bottom";
|
|
32
|
+
} | undefined;
|
|
33
|
+
isOpen?: boolean | undefined;
|
|
34
|
+
onClose?: (() => void) | undefined;
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
37
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
38
|
+
anchorOrigin?: {
|
|
39
|
+
horizontal: "left" | "right";
|
|
40
|
+
vertical: "top" | "bottom";
|
|
41
|
+
} | undefined;
|
|
42
|
+
isOpen?: boolean | undefined;
|
|
43
|
+
onClose?: (() => void) | undefined;
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
}>[] | undefined;
|
|
46
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
47
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<SnackbarProps>> | undefined;
|
|
48
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps>[] | undefined;
|
|
49
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
50
|
+
name?: string | undefined;
|
|
51
|
+
storyName?: string | undefined;
|
|
52
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
53
|
+
tags?: string[] | undefined;
|
|
54
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
55
|
+
};
|
|
56
|
+
export declare const Dark: {
|
|
57
|
+
args: {
|
|
58
|
+
color: string;
|
|
59
|
+
};
|
|
60
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
61
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
62
|
+
anchorOrigin?: {
|
|
63
|
+
horizontal: "left" | "right";
|
|
64
|
+
vertical: "top" | "bottom";
|
|
65
|
+
} | undefined;
|
|
66
|
+
isOpen?: boolean | undefined;
|
|
67
|
+
onClose?: (() => void) | undefined;
|
|
68
|
+
children?: React.ReactNode;
|
|
69
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
70
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
71
|
+
anchorOrigin?: {
|
|
72
|
+
horizontal: "left" | "right";
|
|
73
|
+
vertical: "top" | "bottom";
|
|
74
|
+
} | undefined;
|
|
75
|
+
isOpen?: boolean | undefined;
|
|
76
|
+
onClose?: (() => void) | undefined;
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
}>[] | undefined;
|
|
79
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
80
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<SnackbarProps>> | undefined;
|
|
81
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps>[] | undefined;
|
|
82
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
83
|
+
name?: string | undefined;
|
|
84
|
+
storyName?: string | undefined;
|
|
85
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
86
|
+
tags?: string[] | undefined;
|
|
87
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
88
|
+
};
|
|
89
|
+
export declare const Warning: {
|
|
90
|
+
args: {
|
|
91
|
+
color: string;
|
|
92
|
+
};
|
|
93
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
94
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
95
|
+
anchorOrigin?: {
|
|
96
|
+
horizontal: "left" | "right";
|
|
97
|
+
vertical: "top" | "bottom";
|
|
98
|
+
} | undefined;
|
|
99
|
+
isOpen?: boolean | undefined;
|
|
100
|
+
onClose?: (() => void) | undefined;
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
103
|
+
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
104
|
+
anchorOrigin?: {
|
|
105
|
+
horizontal: "left" | "right";
|
|
106
|
+
vertical: "top" | "bottom";
|
|
107
|
+
} | undefined;
|
|
108
|
+
isOpen?: boolean | undefined;
|
|
109
|
+
onClose?: (() => void) | undefined;
|
|
110
|
+
children?: React.ReactNode;
|
|
111
|
+
}>[] | undefined;
|
|
112
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
113
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<SnackbarProps>> | undefined;
|
|
114
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps>[] | undefined;
|
|
115
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
storyName?: string | undefined;
|
|
118
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps> | undefined;
|
|
119
|
+
tags?: string[] | undefined;
|
|
120
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
121
|
+
};
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
(props: Partial<import("../../lib/react-toast-notification/src").ToastProps>): JSX.Element;
|
|
6
|
+
Provider: React.FunctionComponent<import("./ToastProvider").ToastProviderProps>;
|
|
7
|
+
useToasts: () => {
|
|
8
|
+
addToast: import("../../lib/react-toast-notification/src/types").AddFn;
|
|
9
|
+
removeToast: import("../../lib/react-toast-notification/src/types").RemoveFn;
|
|
10
|
+
removeAllToasts: () => void;
|
|
11
|
+
updateToast: import("../../lib/react-toast-notification/src/types").UpdateFn;
|
|
12
|
+
toastStack: import("../../lib/react-toast-notification/src/types").ToastType[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
args: {
|
|
16
|
+
placement: string;
|
|
17
|
+
autoDismiss: boolean;
|
|
18
|
+
autoDismissTimeout: number;
|
|
19
|
+
transitionDuration: number;
|
|
20
|
+
};
|
|
21
|
+
parameters: {
|
|
22
|
+
docs: {
|
|
23
|
+
source: {
|
|
24
|
+
language: string;
|
|
25
|
+
};
|
|
26
|
+
page: () => JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
export declare const Info: {
|
|
32
|
+
args: {
|
|
33
|
+
appearance: string;
|
|
34
|
+
};
|
|
35
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
36
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
37
|
+
autoDismiss: boolean;
|
|
38
|
+
autoDismissTimeout: number;
|
|
39
|
+
children: React.ReactNode;
|
|
40
|
+
isRunning: boolean;
|
|
41
|
+
onDismiss: () => void;
|
|
42
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
43
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
44
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
45
|
+
transitionDuration: number;
|
|
46
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
47
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
48
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
49
|
+
autoDismiss: boolean;
|
|
50
|
+
autoDismissTimeout: number;
|
|
51
|
+
children: React.ReactNode;
|
|
52
|
+
isRunning: boolean;
|
|
53
|
+
onDismiss: () => void;
|
|
54
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
55
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
56
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
57
|
+
transitionDuration: number;
|
|
58
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
59
|
+
}>[] | undefined;
|
|
60
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
61
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
62
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
63
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
64
|
+
name?: string | undefined;
|
|
65
|
+
storyName?: string | undefined;
|
|
66
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
67
|
+
tags?: string[] | undefined;
|
|
68
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
69
|
+
};
|
|
70
|
+
export declare const Success: {
|
|
71
|
+
args: {
|
|
72
|
+
appearance: string;
|
|
73
|
+
};
|
|
74
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
75
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
76
|
+
autoDismiss: boolean;
|
|
77
|
+
autoDismissTimeout: number;
|
|
78
|
+
children: React.ReactNode;
|
|
79
|
+
isRunning: boolean;
|
|
80
|
+
onDismiss: () => void;
|
|
81
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
82
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
83
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
84
|
+
transitionDuration: number;
|
|
85
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
86
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
87
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
88
|
+
autoDismiss: boolean;
|
|
89
|
+
autoDismissTimeout: number;
|
|
90
|
+
children: React.ReactNode;
|
|
91
|
+
isRunning: boolean;
|
|
92
|
+
onDismiss: () => void;
|
|
93
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
94
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
95
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
96
|
+
transitionDuration: number;
|
|
97
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
98
|
+
}>[] | undefined;
|
|
99
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
100
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
101
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
102
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
103
|
+
name?: string | undefined;
|
|
104
|
+
storyName?: string | undefined;
|
|
105
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
106
|
+
tags?: string[] | undefined;
|
|
107
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
108
|
+
};
|
|
109
|
+
export declare const Warning: {
|
|
110
|
+
args: {
|
|
111
|
+
appearance: string;
|
|
112
|
+
};
|
|
113
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
114
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
115
|
+
autoDismiss: boolean;
|
|
116
|
+
autoDismissTimeout: number;
|
|
117
|
+
children: React.ReactNode;
|
|
118
|
+
isRunning: boolean;
|
|
119
|
+
onDismiss: () => void;
|
|
120
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
121
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
122
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
123
|
+
transitionDuration: number;
|
|
124
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
125
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
126
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
127
|
+
autoDismiss: boolean;
|
|
128
|
+
autoDismissTimeout: number;
|
|
129
|
+
children: React.ReactNode;
|
|
130
|
+
isRunning: boolean;
|
|
131
|
+
onDismiss: () => void;
|
|
132
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
133
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
134
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
135
|
+
transitionDuration: number;
|
|
136
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
137
|
+
}>[] | undefined;
|
|
138
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
139
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
140
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
141
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
142
|
+
name?: string | undefined;
|
|
143
|
+
storyName?: string | undefined;
|
|
144
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
145
|
+
tags?: string[] | undefined;
|
|
146
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
147
|
+
};
|
|
148
|
+
export declare const Error: {
|
|
149
|
+
args: {
|
|
150
|
+
appearance: string;
|
|
151
|
+
};
|
|
152
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
153
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
154
|
+
autoDismiss: boolean;
|
|
155
|
+
autoDismissTimeout: number;
|
|
156
|
+
children: React.ReactNode;
|
|
157
|
+
isRunning: boolean;
|
|
158
|
+
onDismiss: () => void;
|
|
159
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
160
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
161
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
162
|
+
transitionDuration: number;
|
|
163
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
164
|
+
}> | import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
165
|
+
appearance: "success" | "warning" | "info" | "error";
|
|
166
|
+
autoDismiss: boolean;
|
|
167
|
+
autoDismissTimeout: number;
|
|
168
|
+
children: React.ReactNode;
|
|
169
|
+
isRunning: boolean;
|
|
170
|
+
onDismiss: () => void;
|
|
171
|
+
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
172
|
+
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
173
|
+
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
174
|
+
transitionDuration: number;
|
|
175
|
+
transitionState: import("react-transition-group").TransitionStatus;
|
|
176
|
+
}>[] | undefined;
|
|
177
|
+
parameters?: import("@storybook/types").Parameters | undefined;
|
|
178
|
+
argTypes?: Partial<import("@storybook/types").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
179
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
180
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
181
|
+
name?: string | undefined;
|
|
182
|
+
storyName?: string | undefined;
|
|
183
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
184
|
+
tags?: string[] | undefined;
|
|
185
|
+
story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
186
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ingred-ui",
|
|
3
|
-
"version": "25.4.
|
|
3
|
+
"version": "25.4.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "CARTA HOLDINGS, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"styled-components": ">= 5.X"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
+
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
45
46
|
"@babel/preset-env": "^7.21.4",
|
|
46
47
|
"@babel/preset-react": "^7.18.6",
|
|
47
48
|
"@babel/preset-typescript": "^7.21.4",
|
|
@@ -52,12 +53,12 @@
|
|
|
52
53
|
"@rollup/plugin-terser": "0.4.3",
|
|
53
54
|
"@rollup/plugin-typescript": "11.1.1",
|
|
54
55
|
"@rollup/plugin-url": "8.0.1",
|
|
55
|
-
"@storybook/addon-essentials": "7.
|
|
56
|
-
"@storybook/addon-links": "7.
|
|
57
|
-
"@storybook/addon-storysource": "7.
|
|
58
|
-
"@storybook/client-api": "7.
|
|
59
|
-
"@storybook/react": "7.
|
|
60
|
-
"@storybook/react-vite": "7.
|
|
56
|
+
"@storybook/addon-essentials": "7.6.21",
|
|
57
|
+
"@storybook/addon-links": "7.6.21",
|
|
58
|
+
"@storybook/addon-storysource": "7.6.21",
|
|
59
|
+
"@storybook/client-api": "7.6.21",
|
|
60
|
+
"@storybook/react": "7.6.21",
|
|
61
|
+
"@storybook/react-vite": "7.6.21",
|
|
61
62
|
"@testing-library/jest-dom": "6.1.3",
|
|
62
63
|
"@testing-library/react": "14.1.2",
|
|
63
64
|
"@types/jest": "29.5.1",
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"rollup-plugin-imagemin": "0.5.0",
|
|
86
87
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
87
88
|
"scaffdog": "4.1.0",
|
|
88
|
-
"storybook": "7.
|
|
89
|
+
"storybook": "7.6.21",
|
|
89
90
|
"styled-components": "5.3.5",
|
|
90
91
|
"ts-jest": "29.1.0",
|
|
91
92
|
"typescript": "5.2.2",
|