ingred-ui 27.0.3 → 27.0.4
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/ActionButton/ActionButton.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/CreatableSelect/CreatableSelect.d.ts +22 -0
- package/dist/components/CreatableSelect/CreatableSelect.stories.d.ts +19 -0
- package/dist/components/DataTable2/DataTable2.stories.d.ts +19 -23
- package/dist/components/DualListBox2/DualListBox2.stories.d.ts +34 -45
- package/dist/components/FilterComboBox/FilterComboBox.stories.d.ts +36 -86
- package/dist/components/FilterInputAbstract/FilterInputAbstract.stories.d.ts +14 -34
- package/dist/components/FullSizeConfirmModal/FullSizeConfirmModal.stories.d.ts +6 -316
- package/dist/components/Menu/Menu.stories.d.ts +2 -86
- package/dist/components/MenuList/MenuList.stories.d.ts +2 -1101
- package/dist/components/Select/Select.d.ts +24 -0
- package/dist/components/Select/Select.stories.d.ts +29 -0
- package/dist/components/Select2/Select2.stories.d.ts +1 -73
- package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -111
- package/dist/components/Tag/Tag.stories.d.ts +1 -5
- package/dist/components/Toast/Toast.stories.d.ts +4 -172
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Props as ReactSelectProps, StylesConfig } from "react-select";
|
|
3
|
+
import { Theme } from "../../themes";
|
|
4
|
+
export declare const getOverrideStyles: <OptionValue>(theme: Theme, error: boolean) => StylesConfig<OptionType<OptionValue>, boolean>;
|
|
5
|
+
export type OptionType<T = string> = {
|
|
6
|
+
label: string;
|
|
7
|
+
value: T;
|
|
8
|
+
};
|
|
9
|
+
export type SelectProps<OptionValue, IsMulti extends boolean> = {
|
|
10
|
+
minWidth?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
error?: boolean;
|
|
13
|
+
emptyMessage?: string;
|
|
14
|
+
} & ReactSelectProps<OptionType<OptionValue>, IsMulti>;
|
|
15
|
+
declare const Select: <OptionValue, IsMulti extends boolean>(inProps: SelectProps<OptionValue, IsMulti>, ref: React.Ref<HTMLDivElement>) => React.ReactElement<SelectProps<OptionValue, IsMulti>, string | React.JSXElementConstructor<any>>;
|
|
16
|
+
declare const _default: <OptionValue, IsMulti extends boolean = false>(props: {
|
|
17
|
+
minWidth?: string | undefined;
|
|
18
|
+
placeholder?: string | undefined;
|
|
19
|
+
error?: boolean | undefined;
|
|
20
|
+
emptyMessage?: string | undefined;
|
|
21
|
+
} & Omit<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<OptionType<OptionValue>, IsMulti, import("react-select").GroupBase<OptionType<OptionValue>>>, "value" | "onChange" | "menuIsOpen" | "inputValue" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<OptionType<OptionValue>, IsMulti, import("react-select").GroupBase<OptionType<OptionValue>>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionType<OptionValue>> & {
|
|
22
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
23
|
+
}) => ReturnType<typeof Select>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import { OptionType } from "./Select";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: <OptionValue, IsMulti extends boolean = false>(props: {
|
|
7
|
+
minWidth?: string | undefined;
|
|
8
|
+
placeholder?: string | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
emptyMessage?: string | undefined;
|
|
11
|
+
} & Omit<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<OptionType<OptionValue>, IsMulti, import("react-select").GroupBase<OptionType<OptionValue>>>, "value" | "onChange" | "menuIsOpen" | "inputValue" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<OptionType<OptionValue>, IsMulti, import("react-select").GroupBase<OptionType<OptionValue>>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionType<OptionValue>> & {
|
|
12
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
13
|
+
}) => React.ReactElement<import("./Select").SelectProps<unknown, boolean>, string | React.JSXElementConstructor<any>>;
|
|
14
|
+
parameters: {
|
|
15
|
+
docs: {
|
|
16
|
+
description: {
|
|
17
|
+
component: string;
|
|
18
|
+
};
|
|
19
|
+
source: {
|
|
20
|
+
language: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Example: StoryObj;
|
|
27
|
+
export declare const MultipleSelect: StoryObj;
|
|
28
|
+
export declare const WithAsyncSearch: StoryObj;
|
|
29
|
+
export declare const DesignSamples: StoryObj;
|
|
@@ -1,79 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StoryFn } from "@storybook/react-vite";
|
|
3
3
|
import { Select2Props } from "./types";
|
|
4
|
-
declare const _default:
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<Select2Props>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
argTypes: {
|
|
15
|
-
size: {
|
|
16
|
-
options: string[];
|
|
17
|
-
control: {
|
|
18
|
-
type: "select";
|
|
19
|
-
};
|
|
20
|
-
description: string;
|
|
21
|
-
table: {
|
|
22
|
-
defaultValue: {
|
|
23
|
-
summary: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
variant: {
|
|
28
|
-
options: string[];
|
|
29
|
-
control: {
|
|
30
|
-
type: "select";
|
|
31
|
-
};
|
|
32
|
-
description: string;
|
|
33
|
-
table: {
|
|
34
|
-
defaultValue: {
|
|
35
|
-
summary: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
disabled: {
|
|
40
|
-
options: boolean[];
|
|
41
|
-
control: {
|
|
42
|
-
type: "radio";
|
|
43
|
-
};
|
|
44
|
-
description: string;
|
|
45
|
-
table: {
|
|
46
|
-
defaultValue: {
|
|
47
|
-
summary: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
error: {
|
|
52
|
-
options: boolean[];
|
|
53
|
-
control: {
|
|
54
|
-
type: "radio";
|
|
55
|
-
};
|
|
56
|
-
description: string;
|
|
57
|
-
table: {
|
|
58
|
-
defaultValue: {
|
|
59
|
-
summary: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
searchable: {
|
|
64
|
-
options: boolean[];
|
|
65
|
-
control: {
|
|
66
|
-
type: "radio";
|
|
67
|
-
};
|
|
68
|
-
description: string;
|
|
69
|
-
table: {
|
|
70
|
-
defaultValue: {
|
|
71
|
-
summary: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
4
|
+
declare const _default: Meta<React.FC<Select2Props>>;
|
|
77
5
|
export default _default;
|
|
78
6
|
export declare const Basic: StoryFn<Select2Props>;
|
|
79
7
|
export declare const WithSearch: StoryFn<Select2Props>;
|
|
@@ -20,114 +20,6 @@ declare const _default: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export default _default;
|
|
23
|
-
export declare const Default:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
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/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
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/internal/csf").Parameters | undefined;
|
|
47
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<SnackbarProps>> | undefined;
|
|
48
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
49
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
50
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
51
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
52
|
-
tags?: string[] | undefined;
|
|
53
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, SnackbarProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
storyName?: string | undefined;
|
|
56
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
57
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
58
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
59
|
-
};
|
|
60
|
-
export declare const Dark: {
|
|
61
|
-
args: {
|
|
62
|
-
color: string;
|
|
63
|
-
};
|
|
64
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
65
|
-
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
66
|
-
anchorOrigin?: {
|
|
67
|
-
horizontal: "left" | "right";
|
|
68
|
-
vertical: "top" | "bottom";
|
|
69
|
-
} | undefined;
|
|
70
|
-
isOpen?: boolean | undefined;
|
|
71
|
-
onClose?: (() => void) | undefined;
|
|
72
|
-
children?: React.ReactNode;
|
|
73
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
74
|
-
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
75
|
-
anchorOrigin?: {
|
|
76
|
-
horizontal: "left" | "right";
|
|
77
|
-
vertical: "top" | "bottom";
|
|
78
|
-
} | undefined;
|
|
79
|
-
isOpen?: boolean | undefined;
|
|
80
|
-
onClose?: (() => void) | undefined;
|
|
81
|
-
children?: React.ReactNode;
|
|
82
|
-
}>[] | undefined;
|
|
83
|
-
parameters?: import("storybook/internal/csf").Parameters | undefined;
|
|
84
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<SnackbarProps>> | undefined;
|
|
85
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
86
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
87
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
88
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
89
|
-
tags?: string[] | undefined;
|
|
90
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, SnackbarProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
91
|
-
name?: string | undefined;
|
|
92
|
-
storyName?: string | undefined;
|
|
93
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
94
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
95
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
96
|
-
};
|
|
97
|
-
export declare const Warning: {
|
|
98
|
-
args: {
|
|
99
|
-
color: string;
|
|
100
|
-
};
|
|
101
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
102
|
-
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
103
|
-
anchorOrigin?: {
|
|
104
|
-
horizontal: "left" | "right";
|
|
105
|
-
vertical: "top" | "bottom";
|
|
106
|
-
} | undefined;
|
|
107
|
-
isOpen?: boolean | undefined;
|
|
108
|
-
onClose?: (() => void) | undefined;
|
|
109
|
-
children?: React.ReactNode;
|
|
110
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
111
|
-
color?: import("./Snackbar").SnackbarColor | undefined;
|
|
112
|
-
anchorOrigin?: {
|
|
113
|
-
horizontal: "left" | "right";
|
|
114
|
-
vertical: "top" | "bottom";
|
|
115
|
-
} | undefined;
|
|
116
|
-
isOpen?: boolean | undefined;
|
|
117
|
-
onClose?: (() => void) | undefined;
|
|
118
|
-
children?: React.ReactNode;
|
|
119
|
-
}>[] | undefined;
|
|
120
|
-
parameters?: import("storybook/internal/csf").Parameters | undefined;
|
|
121
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<SnackbarProps>> | undefined;
|
|
122
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
123
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
124
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, SnackbarProps>[] | undefined;
|
|
125
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
126
|
-
tags?: string[] | undefined;
|
|
127
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, SnackbarProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
128
|
-
name?: string | undefined;
|
|
129
|
-
storyName?: string | undefined;
|
|
130
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, SnackbarProps> | undefined;
|
|
131
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
132
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, SnackbarProps, Partial<SnackbarProps>>, "story"> | undefined;
|
|
133
|
-
};
|
|
23
|
+
export declare const Default: any;
|
|
24
|
+
export declare const Dark: any;
|
|
25
|
+
export declare const Warning: any;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Tag } from "./Tag";
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ label, size, variant, onRemove, className, disabled, boldText, onClick, "aria-label": ariaLabel, "data-tag": dataTag, prepend, }: import("./types").TagProps) => JSX.Element;
|
|
7
|
-
argTypes: {};
|
|
8
|
-
};
|
|
4
|
+
declare const meta: Meta<({ label, size, variant, onRemove, className, disabled, boldText, onClick, "aria-label": ariaLabel, "data-tag": dataTag, prepend, }: import("./types").TagProps) => JSX.Element>;
|
|
9
5
|
export default meta;
|
|
10
6
|
type Story = StoryObj<typeof Tag>;
|
|
11
7
|
export declare const Default: Story;
|
|
@@ -28,175 +28,7 @@ declare const _default: {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export default _default;
|
|
31
|
-
export declare const Info:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
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/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
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/internal/csf").Parameters | undefined;
|
|
61
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
62
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
63
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
64
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
65
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
66
|
-
tags?: string[] | undefined;
|
|
67
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
storyName?: string | undefined;
|
|
70
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
71
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
72
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
73
|
-
};
|
|
74
|
-
export declare const Success: {
|
|
75
|
-
args: {
|
|
76
|
-
appearance: string;
|
|
77
|
-
};
|
|
78
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
79
|
-
appearance: "success" | "warning" | "info" | "error";
|
|
80
|
-
autoDismiss: boolean;
|
|
81
|
-
autoDismissTimeout: number;
|
|
82
|
-
children: React.ReactNode;
|
|
83
|
-
isRunning: boolean;
|
|
84
|
-
onDismiss: () => void;
|
|
85
|
-
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
86
|
-
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
87
|
-
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
88
|
-
transitionDuration: number;
|
|
89
|
-
transitionState: import("react-transition-group").TransitionStatus;
|
|
90
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
91
|
-
appearance: "success" | "warning" | "info" | "error";
|
|
92
|
-
autoDismiss: boolean;
|
|
93
|
-
autoDismissTimeout: number;
|
|
94
|
-
children: React.ReactNode;
|
|
95
|
-
isRunning: boolean;
|
|
96
|
-
onDismiss: () => void;
|
|
97
|
-
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
98
|
-
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
99
|
-
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
100
|
-
transitionDuration: number;
|
|
101
|
-
transitionState: import("react-transition-group").TransitionStatus;
|
|
102
|
-
}>[] | undefined;
|
|
103
|
-
parameters?: import("storybook/internal/csf").Parameters | undefined;
|
|
104
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
105
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
106
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
107
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
108
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
109
|
-
tags?: string[] | undefined;
|
|
110
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
111
|
-
name?: string | undefined;
|
|
112
|
-
storyName?: string | undefined;
|
|
113
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
114
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
115
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
116
|
-
};
|
|
117
|
-
export declare const Warning: {
|
|
118
|
-
args: {
|
|
119
|
-
appearance: string;
|
|
120
|
-
};
|
|
121
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
122
|
-
appearance: "success" | "warning" | "info" | "error";
|
|
123
|
-
autoDismiss: boolean;
|
|
124
|
-
autoDismissTimeout: number;
|
|
125
|
-
children: React.ReactNode;
|
|
126
|
-
isRunning: boolean;
|
|
127
|
-
onDismiss: () => void;
|
|
128
|
-
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
129
|
-
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
130
|
-
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
131
|
-
transitionDuration: number;
|
|
132
|
-
transitionState: import("react-transition-group").TransitionStatus;
|
|
133
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
134
|
-
appearance: "success" | "warning" | "info" | "error";
|
|
135
|
-
autoDismiss: boolean;
|
|
136
|
-
autoDismissTimeout: number;
|
|
137
|
-
children: React.ReactNode;
|
|
138
|
-
isRunning: boolean;
|
|
139
|
-
onDismiss: () => void;
|
|
140
|
-
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
141
|
-
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
142
|
-
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
143
|
-
transitionDuration: number;
|
|
144
|
-
transitionState: import("react-transition-group").TransitionStatus;
|
|
145
|
-
}>[] | undefined;
|
|
146
|
-
parameters?: import("storybook/internal/csf").Parameters | undefined;
|
|
147
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
148
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
149
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
150
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
151
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
152
|
-
tags?: string[] | undefined;
|
|
153
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
154
|
-
name?: string | undefined;
|
|
155
|
-
storyName?: string | undefined;
|
|
156
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
157
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
158
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
159
|
-
};
|
|
160
|
-
export declare const Error: {
|
|
161
|
-
args: {
|
|
162
|
-
appearance: string;
|
|
163
|
-
};
|
|
164
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
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
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react").ReactRenderer, {
|
|
177
|
-
appearance: "success" | "warning" | "info" | "error";
|
|
178
|
-
autoDismiss: boolean;
|
|
179
|
-
autoDismissTimeout: number;
|
|
180
|
-
children: React.ReactNode;
|
|
181
|
-
isRunning: boolean;
|
|
182
|
-
onDismiss: () => void;
|
|
183
|
-
onMouseEnter: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
184
|
-
onMouseLeave: import("../../lib/react-toast-notification/src/types").HoverFn;
|
|
185
|
-
placement: import("../../lib/react-toast-notification/src/types").Placement;
|
|
186
|
-
transitionDuration: number;
|
|
187
|
-
transitionState: import("react-transition-group").TransitionStatus;
|
|
188
|
-
}>[] | undefined;
|
|
189
|
-
parameters?: import("storybook/internal/csf").Parameters | undefined;
|
|
190
|
-
argTypes?: Partial<import("storybook/internal/csf").ArgTypes<import("../../lib/react-toast-notification/src").ToastProps>> | undefined;
|
|
191
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
192
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").BeforeEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
193
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | import("storybook/internal/csf").AfterEach<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>[] | undefined;
|
|
194
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
195
|
-
tags?: string[] | undefined;
|
|
196
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps>) => (ui?: any) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
197
|
-
name?: string | undefined;
|
|
198
|
-
storyName?: string | undefined;
|
|
199
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps> | undefined;
|
|
200
|
-
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
201
|
-
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, import("../../lib/react-toast-notification/src").ToastProps, Partial<import("../../lib/react-toast-notification/src").ToastProps>>, "story"> | undefined;
|
|
202
|
-
};
|
|
31
|
+
export declare const Info: any;
|
|
32
|
+
export declare const Success: any;
|
|
33
|
+
export declare const Warning: any;
|
|
34
|
+
export declare const Error: any;
|