ingred-ui 14.8.3 → 14.9.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.
Files changed (72) hide show
  1. package/dist/components/Accordion/__tests__/Accordion.test.d.ts +1 -1
  2. package/dist/components/ActionButton/__tests__/ActionButton.test.d.ts +1 -1
  3. package/dist/components/Backdrop/__tests__/Backdrop.test.d.ts +1 -1
  4. package/dist/components/Badge/__tests__/Badge.test.d.ts +1 -1
  5. package/dist/components/Button/__tests__/Button.test.d.ts +1 -1
  6. package/dist/components/ButtonGroup/__tests__/ButtonGroup.test.d.ts +1 -1
  7. package/dist/components/Card/__tests__/Card.test.d.ts +1 -1
  8. package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
  9. package/dist/components/ClickAwayListener/__tests__/ClickAwayListener.test.d.ts +1 -1
  10. package/dist/components/ConfirmModal/ConfirmModal.stories.d.ts +214 -0
  11. package/dist/components/ConfirmModal/__tests__/ConfirmModal.test.d.ts +1 -1
  12. package/dist/components/ContextMenu/__tests__/ContextMenu.test.d.ts +1 -1
  13. package/dist/components/CreatableSelect/__tests__/CreatableSelect.test.d.ts +1 -1
  14. package/dist/components/DataTable/__tests__/DataTable.test.d.ts +1 -1
  15. package/dist/components/DateField/internal/__tests__/utils.test.d.ts +1 -0
  16. package/dist/components/DateField/internal/utils.d.ts +1 -0
  17. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -1
  18. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -1
  19. package/dist/components/Divider/__tests__/Divider.test.d.ts +1 -1
  20. package/dist/components/DropdownButton/__tests__/DropDownButton.test.d.ts +1 -1
  21. package/dist/components/ErrorText/__tests__/ErrorText.test.d.ts +1 -1
  22. package/dist/components/FileUploader/__tests__/FileUploader.test.d.ts +1 -1
  23. package/dist/components/FixedPanel/__tests__/FixedPanel.test.d.ts +1 -1
  24. package/dist/components/Flex/__tests__/Flex.test.d.ts +1 -1
  25. package/dist/components/FloatingTip/__tests__/FloatingTip.test.d.ts +1 -1
  26. package/dist/components/FullSizeConfirmModal/FullSizeConfirmModal.stories.d.ts +215 -0
  27. package/dist/components/FullSizeConfirmModal/__tests__/FullSizeConfirmModal.test.d.ts +1 -1
  28. package/dist/components/Icon/__tests__/Icon.test.d.ts +1 -1
  29. package/dist/components/Input/__tests__/Input.test.d.ts +1 -1
  30. package/dist/components/ItemEmpty/__tests__/ItemEmpty.test.d.ts +1 -1
  31. package/dist/components/LoadingBar/__tests__/LoadingBar.test.d.ts +1 -1
  32. package/dist/components/LocaleProvider/__tests__/LocaleProvider.test.d.ts +1 -1
  33. package/dist/components/Menu/Menu.stories.d.ts +75 -0
  34. package/dist/components/MenuList/MenuList.stories.d.ts +589 -0
  35. package/dist/components/MenuList/__tests__/MenuList.test.d.ts +1 -1
  36. package/dist/components/Modal/__tests__/Modal.test.d.ts +1 -1
  37. package/dist/components/MultipleFilter/__tests__/MultipleFilter.test.d.ts +1 -1
  38. package/dist/components/NavigationRail/__tests__/NavigationRail.test.d.ts +1 -1
  39. package/dist/components/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -1
  40. package/dist/components/Pager/__tests__/Pager.test.d.ts +1 -1
  41. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -1
  42. package/dist/components/RadioButton/__tests__/RadioButton.test.d.ts +1 -1
  43. package/dist/components/ScrollArea/__tests__/ScrollArea.test.d.ts +1 -1
  44. package/dist/components/Select/__tests__/Select.test.d.ts +1 -1
  45. package/dist/components/Snackbar/Snackbar.stories.d.ts +94 -0
  46. package/dist/components/Snackbar/__tests__/Snackbar.test.d.ts +1 -1
  47. package/dist/components/Spacer/__tests__/Spacer.test.d.ts +1 -1
  48. package/dist/components/Spinner/__tests__/Spinner.test.d.ts +1 -1
  49. package/dist/components/SplitAnnotation/__tests__/SplitAnnotation.test.d.ts +1 -1
  50. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -1
  51. package/dist/components/Table/__tests__/Table.test.d.ts +1 -1
  52. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -1
  53. package/dist/components/TextField/__tests__/TextField.test.d.ts +1 -1
  54. package/dist/components/Toast/DefaultToast/__tests__/DefaultToast.test.d.ts +1 -1
  55. package/dist/components/Toast/Toast.stories.d.ts +138 -0
  56. package/dist/components/ToggleButton/__tests__/ToggleButton.test.d.ts +1 -1
  57. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -1
  58. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -1
  59. package/dist/components/WeekTimeSelector/WeekTimeSelector.d.ts +8 -0
  60. package/dist/components/WeekTimeSelector/WeekTimeSelector.stories.d.ts +9 -0
  61. package/dist/components/WeekTimeSelector/__tests__/WeekTime.test.d.ts +1 -0
  62. package/dist/components/WeekTimeSelector/__tests__/utils.test.d.ts +1 -0
  63. package/dist/components/WeekTimeSelector/constants.d.ts +3 -0
  64. package/dist/components/WeekTimeSelector/index.d.ts +2 -0
  65. package/dist/components/WeekTimeSelector/styled.d.ts +10 -0
  66. package/dist/components/WeekTimeSelector/utils.d.ts +11 -0
  67. package/dist/components/index.d.ts +2 -0
  68. package/dist/index.es.js +4 -4
  69. package/dist/index.es.js.map +1 -1
  70. package/dist/index.js +5 -5
  71. package/dist/index.js.map +1 -1
  72. package/package.json +9 -9
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,214 @@
1
+ import React from "react";
2
+ import { ConfirmModalProps } from "./ConfirmModal";
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<ConfirmModalProps & React.RefAttributes<HTMLDivElement>>;
6
+ args: {
7
+ isOpen: boolean;
8
+ title: string;
9
+ };
10
+ parameters: {
11
+ docs: {
12
+ source: {
13
+ language: string;
14
+ };
15
+ page: () => JSX.Element;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ export declare const Basic: {
21
+ args: {
22
+ children: string;
23
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
24
+ };
25
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
26
+ title: string;
27
+ confirmText?: string | undefined;
28
+ cancelText?: string | undefined;
29
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
30
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
31
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
32
+ isOpen?: boolean | undefined;
33
+ disabled?: boolean | undefined;
34
+ loading?: boolean | undefined;
35
+ overflowYScroll?: boolean | undefined;
36
+ disableHorizontalPadding?: boolean | undefined;
37
+ subActions?: React.ReactNode[] | undefined;
38
+ modalProps?: import("..").ModalProps | undefined;
39
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
40
+ children?: React.ReactNode;
41
+ }>[] | undefined;
42
+ parameters?: import("@storybook/types").Parameters | undefined;
43
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
44
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
45
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
46
+ name?: string | undefined;
47
+ storyName?: string | undefined;
48
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
49
+ tags?: string[] | undefined;
50
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
51
+ };
52
+ export declare const WithOneSubAction: {
53
+ args: {
54
+ children: string;
55
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
56
+ subActions: JSX.Element[];
57
+ };
58
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
59
+ title: string;
60
+ confirmText?: string | undefined;
61
+ cancelText?: string | undefined;
62
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
63
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
64
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
65
+ isOpen?: boolean | undefined;
66
+ disabled?: boolean | undefined;
67
+ loading?: boolean | undefined;
68
+ overflowYScroll?: boolean | undefined;
69
+ disableHorizontalPadding?: boolean | undefined;
70
+ subActions?: React.ReactNode[] | undefined;
71
+ modalProps?: import("..").ModalProps | undefined;
72
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
73
+ children?: React.ReactNode;
74
+ }>[] | undefined;
75
+ parameters?: import("@storybook/types").Parameters | undefined;
76
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
77
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
78
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
79
+ name?: string | undefined;
80
+ storyName?: string | undefined;
81
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
82
+ tags?: string[] | undefined;
83
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
84
+ };
85
+ export declare const WithTwoSubActions: {
86
+ children: string;
87
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
88
+ subActions: JSX.Element[];
89
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
90
+ title: string;
91
+ confirmText?: string | undefined;
92
+ cancelText?: string | undefined;
93
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
94
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
95
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
96
+ isOpen?: boolean | undefined;
97
+ disabled?: boolean | undefined;
98
+ loading?: boolean | undefined;
99
+ overflowYScroll?: boolean | undefined;
100
+ disableHorizontalPadding?: boolean | undefined;
101
+ subActions?: React.ReactNode[] | undefined;
102
+ modalProps?: import("..").ModalProps | undefined;
103
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
104
+ children?: React.ReactNode;
105
+ }>[] | undefined;
106
+ parameters?: import("@storybook/types").Parameters | undefined;
107
+ args?: Partial<ConfirmModalProps> | undefined;
108
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
109
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
110
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
111
+ name?: string | undefined;
112
+ storyName?: string | undefined;
113
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
114
+ tags?: string[] | undefined;
115
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
116
+ };
117
+ export declare const Loading: {
118
+ args: {
119
+ children: string;
120
+ onSubmit: () => void;
121
+ loading: boolean;
122
+ };
123
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
124
+ title: string;
125
+ confirmText?: string | undefined;
126
+ cancelText?: string | undefined;
127
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
128
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
129
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
130
+ isOpen?: boolean | undefined;
131
+ disabled?: boolean | undefined;
132
+ loading?: boolean | undefined;
133
+ overflowYScroll?: boolean | undefined;
134
+ disableHorizontalPadding?: boolean | undefined;
135
+ subActions?: React.ReactNode[] | undefined;
136
+ modalProps?: import("..").ModalProps | undefined;
137
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
138
+ children?: React.ReactNode;
139
+ }>[] | undefined;
140
+ parameters?: import("@storybook/types").Parameters | undefined;
141
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
142
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
143
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
144
+ name?: string | undefined;
145
+ storyName?: string | undefined;
146
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
147
+ tags?: string[] | undefined;
148
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
149
+ };
150
+ export declare const OverflowYScroll: {
151
+ args: {
152
+ children: JSX.Element;
153
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
154
+ overflowYScroll: boolean;
155
+ };
156
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
157
+ title: string;
158
+ confirmText?: string | undefined;
159
+ cancelText?: string | undefined;
160
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
161
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
162
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
163
+ isOpen?: boolean | undefined;
164
+ disabled?: boolean | undefined;
165
+ loading?: boolean | undefined;
166
+ overflowYScroll?: boolean | undefined;
167
+ disableHorizontalPadding?: boolean | undefined;
168
+ subActions?: React.ReactNode[] | undefined;
169
+ modalProps?: import("..").ModalProps | undefined;
170
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
171
+ children?: React.ReactNode;
172
+ }>[] | undefined;
173
+ parameters?: import("@storybook/types").Parameters | undefined;
174
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
175
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
176
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
177
+ name?: string | undefined;
178
+ storyName?: string | undefined;
179
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
180
+ tags?: string[] | undefined;
181
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
182
+ };
183
+ export declare const WithoutFooter: {
184
+ args: {
185
+ children: string;
186
+ onSubmit: undefined;
187
+ };
188
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
189
+ title: string;
190
+ confirmText?: string | undefined;
191
+ cancelText?: string | undefined;
192
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./ConfirmModal").ConfirmModalCloseReason) => void) | undefined;
193
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
194
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
195
+ isOpen?: boolean | undefined;
196
+ disabled?: boolean | undefined;
197
+ loading?: boolean | undefined;
198
+ overflowYScroll?: boolean | undefined;
199
+ disableHorizontalPadding?: boolean | undefined;
200
+ subActions?: React.ReactNode[] | undefined;
201
+ modalProps?: import("..").ModalProps | undefined;
202
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
203
+ children?: React.ReactNode;
204
+ }>[] | undefined;
205
+ parameters?: import("@storybook/types").Parameters | undefined;
206
+ argTypes?: Partial<import("@storybook/types").ArgTypes<ConfirmModalProps>> | undefined;
207
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps>[] | undefined;
208
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
209
+ name?: string | undefined;
210
+ storyName?: string | undefined;
211
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps> | undefined;
212
+ tags?: string[] | undefined;
213
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ConfirmModalProps, Partial<ConfirmModalProps>>, "story"> | undefined;
214
+ };
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1 @@
1
+ export declare const getInputWidth: (input: string) => number;
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,215 @@
1
+ import React from "react";
2
+ import { FullSizeConfirmModalProps } from "./FullSizeConfirmModal";
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<FullSizeConfirmModalProps & React.RefAttributes<HTMLDivElement>>;
6
+ args: {
7
+ isOpen: boolean;
8
+ title: string;
9
+ };
10
+ parameters: {
11
+ docs: {
12
+ source: {
13
+ language: string;
14
+ };
15
+ page: () => JSX.Element;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ export declare const Basic: {
21
+ args: {
22
+ children: string;
23
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
24
+ };
25
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
26
+ title: string;
27
+ confirmText?: string | undefined;
28
+ cancelText?: string | undefined;
29
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
30
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
31
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
32
+ isOpen?: boolean | undefined;
33
+ disabled?: boolean | undefined;
34
+ loading?: boolean | undefined;
35
+ overflowYScroll?: boolean | undefined;
36
+ disableHorizontalPadding?: boolean | undefined;
37
+ subActions?: React.ReactNode[] | undefined;
38
+ modalProps?: import("..").ModalProps | undefined;
39
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
40
+ children?: React.ReactNode;
41
+ }>[] | undefined;
42
+ parameters?: import("@storybook/types").Parameters | undefined;
43
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
44
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
45
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
46
+ name?: string | undefined;
47
+ storyName?: string | undefined;
48
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
49
+ tags?: string[] | undefined;
50
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
51
+ };
52
+ export declare const WithOneSubAction: {
53
+ args: {
54
+ children: string;
55
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
56
+ subActions: JSX.Element[];
57
+ };
58
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
59
+ title: string;
60
+ confirmText?: string | undefined;
61
+ cancelText?: string | undefined;
62
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
63
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
64
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
65
+ isOpen?: boolean | undefined;
66
+ disabled?: boolean | undefined;
67
+ loading?: boolean | undefined;
68
+ overflowYScroll?: boolean | undefined;
69
+ disableHorizontalPadding?: boolean | undefined;
70
+ subActions?: React.ReactNode[] | undefined;
71
+ modalProps?: import("..").ModalProps | undefined;
72
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
73
+ children?: React.ReactNode;
74
+ }>[] | undefined;
75
+ parameters?: import("@storybook/types").Parameters | undefined;
76
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
77
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
78
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
79
+ name?: string | undefined;
80
+ storyName?: string | undefined;
81
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
82
+ tags?: string[] | undefined;
83
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
84
+ };
85
+ export declare const WithTwoSubActions: {
86
+ args: {
87
+ children: string;
88
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
89
+ subActions: JSX.Element[];
90
+ };
91
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
92
+ title: string;
93
+ confirmText?: string | undefined;
94
+ cancelText?: string | undefined;
95
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
96
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
97
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
98
+ isOpen?: boolean | undefined;
99
+ disabled?: boolean | undefined;
100
+ loading?: boolean | undefined;
101
+ overflowYScroll?: boolean | undefined;
102
+ disableHorizontalPadding?: boolean | undefined;
103
+ subActions?: React.ReactNode[] | undefined;
104
+ modalProps?: import("..").ModalProps | undefined;
105
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
106
+ children?: React.ReactNode;
107
+ }>[] | undefined;
108
+ parameters?: import("@storybook/types").Parameters | undefined;
109
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
110
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
111
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
112
+ name?: string | undefined;
113
+ storyName?: string | undefined;
114
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
115
+ tags?: string[] | undefined;
116
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
117
+ };
118
+ export declare const Loading: {
119
+ args: {
120
+ children: string;
121
+ onSubmit: () => void;
122
+ loading: boolean;
123
+ };
124
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
125
+ title: string;
126
+ confirmText?: string | undefined;
127
+ cancelText?: string | undefined;
128
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
129
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
130
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
131
+ isOpen?: boolean | undefined;
132
+ disabled?: boolean | undefined;
133
+ loading?: boolean | undefined;
134
+ overflowYScroll?: boolean | undefined;
135
+ disableHorizontalPadding?: boolean | undefined;
136
+ subActions?: React.ReactNode[] | undefined;
137
+ modalProps?: import("..").ModalProps | undefined;
138
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
139
+ children?: React.ReactNode;
140
+ }>[] | undefined;
141
+ parameters?: import("@storybook/types").Parameters | undefined;
142
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
143
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
144
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
145
+ name?: string | undefined;
146
+ storyName?: string | undefined;
147
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
148
+ tags?: string[] | undefined;
149
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
150
+ };
151
+ export declare const OverflowYScroll: {
152
+ args: {
153
+ children: JSX.Element;
154
+ onSubmit: import("@storybook/addon-actions").HandlerFunction;
155
+ overflowYScroll: boolean;
156
+ };
157
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
158
+ title: string;
159
+ confirmText?: string | undefined;
160
+ cancelText?: string | undefined;
161
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
162
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
163
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
164
+ isOpen?: boolean | undefined;
165
+ disabled?: boolean | undefined;
166
+ loading?: boolean | undefined;
167
+ overflowYScroll?: boolean | undefined;
168
+ disableHorizontalPadding?: boolean | undefined;
169
+ subActions?: React.ReactNode[] | undefined;
170
+ modalProps?: import("..").ModalProps | undefined;
171
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
172
+ children?: React.ReactNode;
173
+ }>[] | undefined;
174
+ parameters?: import("@storybook/types").Parameters | undefined;
175
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
176
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
177
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
178
+ name?: string | undefined;
179
+ storyName?: string | undefined;
180
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
181
+ tags?: string[] | undefined;
182
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
183
+ };
184
+ export declare const WithoutFooter: {
185
+ args: {
186
+ children: string;
187
+ onSubmit: undefined;
188
+ };
189
+ decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
190
+ title: string;
191
+ confirmText?: string | undefined;
192
+ cancelText?: string | undefined;
193
+ onClose?: ((event: React.MouseEvent<Element, MouseEvent> | React.MouseEvent<HTMLButtonElement, MouseEvent>, reason: "backdropClick" | import("./FullSizeConfirmModal").FullSizeConfirmModalCloseReason) => void) | undefined;
194
+ onSubmit?: ((event: React.FormEvent<HTMLFormElement>) => void) | undefined;
195
+ buttonColor?: import("../Button/Button").ButtonColor | undefined;
196
+ isOpen?: boolean | undefined;
197
+ disabled?: boolean | undefined;
198
+ loading?: boolean | undefined;
199
+ overflowYScroll?: boolean | undefined;
200
+ disableHorizontalPadding?: boolean | undefined;
201
+ subActions?: React.ReactNode[] | undefined;
202
+ modalProps?: import("..").ModalProps | undefined;
203
+ fadeProps?: import("../../utils/reactTransitionGroup").CSSTransitionProps | undefined;
204
+ children?: React.ReactNode;
205
+ }>[] | undefined;
206
+ parameters?: import("@storybook/types").Parameters | undefined;
207
+ argTypes?: Partial<import("@storybook/types").ArgTypes<FullSizeConfirmModalProps>> | undefined;
208
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps>[] | undefined;
209
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
210
+ name?: string | undefined;
211
+ storyName?: string | undefined;
212
+ play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps> | undefined;
213
+ tags?: string[] | undefined;
214
+ story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, FullSizeConfirmModalProps, Partial<FullSizeConfirmModalProps>>, "story"> | undefined;
215
+ };
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";
@@ -1 +1 @@
1
- import "@testing-library/jest-dom/extend-expect";
1
+ import "@testing-library/jest-dom";