@fuf-stack/pixels 0.37.1 → 0.39.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 (38) hide show
  1. package/dist/Alert/index.cjs +2 -2
  2. package/dist/Alert/index.d.cts +2 -2
  3. package/dist/Alert/index.d.ts +2 -2
  4. package/dist/Alert/index.js +1 -1
  5. package/dist/{Alert-Bz_lJ_YE.d.cts → Alert-DELD9ZWe.d.cts} +80 -1
  6. package/dist/{Alert-Bz_lJ_YE.d.ts → Alert-DELD9ZWe.d.ts} +80 -1
  7. package/dist/Popover/index.cjs +2 -2
  8. package/dist/Popover/index.d.cts +4 -2
  9. package/dist/Popover/index.d.ts +4 -2
  10. package/dist/Popover/index.js +1 -1
  11. package/dist/{Popover-Db9vCWrz.d.cts → Popover-BHPrdRy6.d.ts} +5 -2
  12. package/dist/{Popover-Db9vCWrz.d.ts → Popover-BXyk9y8I.d.cts} +5 -2
  13. package/dist/Table/index.cjs +2 -2
  14. package/dist/Table/index.js +1 -1
  15. package/dist/{chunk-7H67WTTJ.js → chunk-5TOE75VE.js} +13 -3
  16. package/dist/chunk-5TOE75VE.js.map +1 -0
  17. package/dist/{chunk-QMYSCJEJ.js → chunk-AFGRLKHU.js} +2 -2
  18. package/dist/{chunk-QMYSCJEJ.js.map → chunk-AFGRLKHU.js.map} +1 -1
  19. package/dist/{chunk-A4MJ5V64.cjs → chunk-AJCAIA6H.cjs} +2 -2
  20. package/dist/chunk-AJCAIA6H.cjs.map +1 -0
  21. package/dist/{chunk-C4H5ZCTV.cjs → chunk-EAX5J2I2.cjs} +13 -3
  22. package/dist/chunk-EAX5J2I2.cjs.map +1 -0
  23. package/dist/{chunk-V2WKZH63.js → chunk-MG3PTEMK.js} +16 -3
  24. package/dist/chunk-MG3PTEMK.js.map +1 -0
  25. package/dist/{chunk-33S6NRVI.cjs → chunk-YVPRFCWI.cjs} +16 -3
  26. package/dist/chunk-YVPRFCWI.cjs.map +1 -0
  27. package/dist/index.cjs +170 -5
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +282 -7
  30. package/dist/index.d.ts +282 -7
  31. package/dist/index.js +169 -4
  32. package/dist/index.js.map +1 -1
  33. package/package.json +24 -23
  34. package/dist/chunk-33S6NRVI.cjs.map +0 -1
  35. package/dist/chunk-7H67WTTJ.js.map +0 -1
  36. package/dist/chunk-A4MJ5V64.cjs.map +0 -1
  37. package/dist/chunk-C4H5ZCTV.cjs.map +0 -1
  38. package/dist/chunk-V2WKZH63.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { A as Accordion, c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from './Accordion-rA715N0Z.cjs';
2
- export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-Bz_lJ_YE.cjs';
2
+ export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-DELD9ZWe.cjs';
3
3
  export { A as Avatar, a as AvatarProps } from './Avatar-ylNJ_-dY.cjs';
4
4
  export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-CUyQwK3t.cjs';
5
5
  export { A as Badge, B as BadgeProps } from './Badge-CvXzljaJ.cjs';
@@ -12,18 +12,18 @@ export { J as Json, a as JsonProps } from './Json-ngM0f9n2.cjs';
12
12
  export { L as Label, a as LabelProps } from './Label-BH0taC2T.cjs';
13
13
  export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-C7lpY7pY.cjs';
14
14
  export { M as Modal, a as ModalProps, m as modalVariants } from './Modal-DI5ZdS_3.cjs';
15
- export { _ as Popover, P as PopoverProps } from './Popover-Db9vCWrz.cjs';
15
+ export { _ as Popover, P as PopoverProps } from './Popover-BXyk9y8I.cjs';
16
16
  export { T as Table, c as TableColumnProps, a as TableProps, b as TableRowProps, V as VariantProps, t as tableVariants } from './Table-D19f5nrd.cjs';
17
17
  export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-xUYwXMX9.cjs';
18
+ import * as tailwind_variants from 'tailwind-variants';
19
+ import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
20
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
21
+ import { ReactNode } from 'react';
22
+ import * as react_jsx_runtime from 'react/jsx-runtime';
18
23
  export { T as Tooltip, b as TooltipPlacement, a as TooltipProps } from './Tooltip-Bu71AKvn.cjs';
19
24
  export { useDebounce, useLocalStorage } from './hooks/index.cjs';
20
25
  export { ButtonGroupProps } from '@heroui/button';
21
- import 'react/jsx-runtime';
22
- import 'tailwind-variants';
23
- import 'tailwind-variants/dist/config.js';
24
- import '@fuf-stack/pixel-utils';
25
26
  import '@heroui/divider';
26
- import 'react';
27
27
  import '@heroui/badge';
28
28
  import '@heroui/system';
29
29
  import '@heroui/drawer';
@@ -31,3 +31,278 @@ import '@heroui/chip';
31
31
  import '@heroui/modal';
32
32
  import '@heroui/popover';
33
33
  import '@heroui/tooltip';
34
+
35
+ declare const toastVariants: tailwind_variants.TVReturnType<{
36
+ color: {
37
+ default: string;
38
+ foreground: {
39
+ progressIndicator: string;
40
+ };
41
+ primary: {
42
+ progressIndicator: string;
43
+ };
44
+ secondary: {
45
+ progressIndicator: string;
46
+ };
47
+ success: {
48
+ progressIndicator: string;
49
+ };
50
+ warning: {
51
+ progressIndicator: string;
52
+ };
53
+ danger: {
54
+ progressIndicator: string;
55
+ };
56
+ info: {};
57
+ };
58
+ variant: {
59
+ flat: string;
60
+ solid: string;
61
+ bordered: string;
62
+ };
63
+ }, {
64
+ base: string;
65
+ title: string;
66
+ description: string;
67
+ icon: string;
68
+ loadingIcon: string;
69
+ content: string;
70
+ motionDiv: string;
71
+ progressTrack: string;
72
+ progressIndicator: string;
73
+ closeButton: string;
74
+ closeIcon: string;
75
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
76
+ color: {
77
+ default: string;
78
+ foreground: {
79
+ progressIndicator: string;
80
+ };
81
+ primary: {
82
+ progressIndicator: string;
83
+ };
84
+ secondary: {
85
+ progressIndicator: string;
86
+ };
87
+ success: {
88
+ progressIndicator: string;
89
+ };
90
+ warning: {
91
+ progressIndicator: string;
92
+ };
93
+ danger: {
94
+ progressIndicator: string;
95
+ };
96
+ info: {};
97
+ };
98
+ variant: {
99
+ flat: string;
100
+ solid: string;
101
+ bordered: string;
102
+ };
103
+ }, {
104
+ color: {
105
+ default: string;
106
+ foreground: {
107
+ progressIndicator: string;
108
+ };
109
+ primary: {
110
+ progressIndicator: string;
111
+ };
112
+ secondary: {
113
+ progressIndicator: string;
114
+ };
115
+ success: {
116
+ progressIndicator: string;
117
+ };
118
+ warning: {
119
+ progressIndicator: string;
120
+ };
121
+ danger: {
122
+ progressIndicator: string;
123
+ };
124
+ info: {};
125
+ };
126
+ variant: {
127
+ flat: string;
128
+ solid: string;
129
+ bordered: string;
130
+ };
131
+ }>, {
132
+ color: {
133
+ default: string;
134
+ foreground: {
135
+ progressIndicator: string;
136
+ };
137
+ primary: {
138
+ progressIndicator: string;
139
+ };
140
+ secondary: {
141
+ progressIndicator: string;
142
+ };
143
+ success: {
144
+ progressIndicator: string;
145
+ };
146
+ warning: {
147
+ progressIndicator: string;
148
+ };
149
+ danger: {
150
+ progressIndicator: string;
151
+ };
152
+ info: {};
153
+ };
154
+ variant: {
155
+ flat: string;
156
+ solid: string;
157
+ bordered: string;
158
+ };
159
+ }, {
160
+ base: string;
161
+ title: string;
162
+ description: string;
163
+ icon: string;
164
+ loadingIcon: string;
165
+ content: string;
166
+ motionDiv: string;
167
+ progressTrack: string;
168
+ progressIndicator: string;
169
+ closeButton: string;
170
+ closeIcon: string;
171
+ }, tailwind_variants.TVReturnType<{
172
+ color: {
173
+ default: string;
174
+ foreground: {
175
+ progressIndicator: string;
176
+ };
177
+ primary: {
178
+ progressIndicator: string;
179
+ };
180
+ secondary: {
181
+ progressIndicator: string;
182
+ };
183
+ success: {
184
+ progressIndicator: string;
185
+ };
186
+ warning: {
187
+ progressIndicator: string;
188
+ };
189
+ danger: {
190
+ progressIndicator: string;
191
+ };
192
+ info: {};
193
+ };
194
+ variant: {
195
+ flat: string;
196
+ solid: string;
197
+ bordered: string;
198
+ };
199
+ }, {
200
+ base: string;
201
+ title: string;
202
+ description: string;
203
+ icon: string;
204
+ loadingIcon: string;
205
+ content: string;
206
+ motionDiv: string;
207
+ progressTrack: string;
208
+ progressIndicator: string;
209
+ closeButton: string;
210
+ closeIcon: string;
211
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
212
+ color: {
213
+ default: string;
214
+ foreground: {
215
+ progressIndicator: string;
216
+ };
217
+ primary: {
218
+ progressIndicator: string;
219
+ };
220
+ secondary: {
221
+ progressIndicator: string;
222
+ };
223
+ success: {
224
+ progressIndicator: string;
225
+ };
226
+ warning: {
227
+ progressIndicator: string;
228
+ };
229
+ danger: {
230
+ progressIndicator: string;
231
+ };
232
+ info: {};
233
+ };
234
+ variant: {
235
+ flat: string;
236
+ solid: string;
237
+ bordered: string;
238
+ };
239
+ }, {
240
+ color: {
241
+ default: string;
242
+ foreground: {
243
+ progressIndicator: string;
244
+ };
245
+ primary: {
246
+ progressIndicator: string;
247
+ };
248
+ secondary: {
249
+ progressIndicator: string;
250
+ };
251
+ success: {
252
+ progressIndicator: string;
253
+ };
254
+ warning: {
255
+ progressIndicator: string;
256
+ };
257
+ danger: {
258
+ progressIndicator: string;
259
+ };
260
+ info: {};
261
+ };
262
+ variant: {
263
+ flat: string;
264
+ solid: string;
265
+ bordered: string;
266
+ };
267
+ }>, unknown, unknown, undefined>>;
268
+ type AddToastVariantProps = TVProps<typeof toastVariants>;
269
+ type ClassName = TVClassName<typeof toastVariants>;
270
+ interface ToastProps extends AddToastVariantProps {
271
+ children?: ReactNode;
272
+ className?: ClassName;
273
+ closeIcon?: ReactNode;
274
+ color?: AddToastVariantProps['color'];
275
+ description?: ReactNode;
276
+ endContent?: ReactNode;
277
+ icon?: ReactNode;
278
+ loadingIcon?: ReactNode;
279
+ onClose?: () => void;
280
+ shouldShowTimeoutProgress?: boolean;
281
+ showCloseButton?: boolean;
282
+ showIcon?: boolean;
283
+ timeout?: number;
284
+ title?: ReactNode;
285
+ variant?: AddToastVariantProps['variant'];
286
+ }
287
+ /**
288
+ * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
289
+ */
290
+ declare const addToast: ({ children, className, closeIcon, color, description, endContent, icon, loadingIcon, onClose, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
291
+
292
+ type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
293
+ interface ToastProviderProps {
294
+ disableAnimation?: boolean;
295
+ maxVisibleToasts?: number;
296
+ placement?: 'bottom-right' | 'bottom-left' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center';
297
+ toastProps?: ToastProviderToastProps;
298
+ toastOffset?: number;
299
+ regionProps?: {
300
+ classNames?: Record<'base', string>;
301
+ };
302
+ }
303
+ /**
304
+ * ToastProvider component based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
305
+ */
306
+ declare const ToastProvider: ({ disableAnimation, maxVisibleToasts, placement, toastProps, toastOffset, regionProps, }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
307
+
308
+ export { type AddToastVariantProps, type ToastProps, ToastProvider, type ToastProviderProps, addToast, toastVariants };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { A as Accordion, c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from './Accordion-rA715N0Z.js';
2
- export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-Bz_lJ_YE.js';
2
+ export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-DELD9ZWe.js';
3
3
  export { A as Avatar, a as AvatarProps } from './Avatar-ylNJ_-dY.js';
4
4
  export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-BfOtqfJy.js';
5
5
  export { A as Badge, B as BadgeProps } from './Badge-CvXzljaJ.js';
@@ -12,18 +12,18 @@ export { J as Json, a as JsonProps } from './Json-ngM0f9n2.js';
12
12
  export { L as Label, a as LabelProps } from './Label-BH0taC2T.js';
13
13
  export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-C7lpY7pY.js';
14
14
  export { M as Modal, a as ModalProps, m as modalVariants } from './Modal-DI5ZdS_3.js';
15
- export { _ as Popover, P as PopoverProps } from './Popover-Db9vCWrz.js';
15
+ export { _ as Popover, P as PopoverProps } from './Popover-BHPrdRy6.js';
16
16
  export { T as Table, c as TableColumnProps, a as TableProps, b as TableRowProps, V as VariantProps, t as tableVariants } from './Table-D19f5nrd.js';
17
17
  export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-xUYwXMX9.js';
18
+ import * as tailwind_variants from 'tailwind-variants';
19
+ import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
20
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
21
+ import { ReactNode } from 'react';
22
+ import * as react_jsx_runtime from 'react/jsx-runtime';
18
23
  export { T as Tooltip, b as TooltipPlacement, a as TooltipProps } from './Tooltip-Bu71AKvn.js';
19
24
  export { useDebounce, useLocalStorage } from './hooks/index.js';
20
25
  export { ButtonGroupProps } from '@heroui/button';
21
- import 'react/jsx-runtime';
22
- import 'tailwind-variants';
23
- import 'tailwind-variants/dist/config.js';
24
- import '@fuf-stack/pixel-utils';
25
26
  import '@heroui/divider';
26
- import 'react';
27
27
  import '@heroui/badge';
28
28
  import '@heroui/system';
29
29
  import '@heroui/drawer';
@@ -31,3 +31,278 @@ import '@heroui/chip';
31
31
  import '@heroui/modal';
32
32
  import '@heroui/popover';
33
33
  import '@heroui/tooltip';
34
+
35
+ declare const toastVariants: tailwind_variants.TVReturnType<{
36
+ color: {
37
+ default: string;
38
+ foreground: {
39
+ progressIndicator: string;
40
+ };
41
+ primary: {
42
+ progressIndicator: string;
43
+ };
44
+ secondary: {
45
+ progressIndicator: string;
46
+ };
47
+ success: {
48
+ progressIndicator: string;
49
+ };
50
+ warning: {
51
+ progressIndicator: string;
52
+ };
53
+ danger: {
54
+ progressIndicator: string;
55
+ };
56
+ info: {};
57
+ };
58
+ variant: {
59
+ flat: string;
60
+ solid: string;
61
+ bordered: string;
62
+ };
63
+ }, {
64
+ base: string;
65
+ title: string;
66
+ description: string;
67
+ icon: string;
68
+ loadingIcon: string;
69
+ content: string;
70
+ motionDiv: string;
71
+ progressTrack: string;
72
+ progressIndicator: string;
73
+ closeButton: string;
74
+ closeIcon: string;
75
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
76
+ color: {
77
+ default: string;
78
+ foreground: {
79
+ progressIndicator: string;
80
+ };
81
+ primary: {
82
+ progressIndicator: string;
83
+ };
84
+ secondary: {
85
+ progressIndicator: string;
86
+ };
87
+ success: {
88
+ progressIndicator: string;
89
+ };
90
+ warning: {
91
+ progressIndicator: string;
92
+ };
93
+ danger: {
94
+ progressIndicator: string;
95
+ };
96
+ info: {};
97
+ };
98
+ variant: {
99
+ flat: string;
100
+ solid: string;
101
+ bordered: string;
102
+ };
103
+ }, {
104
+ color: {
105
+ default: string;
106
+ foreground: {
107
+ progressIndicator: string;
108
+ };
109
+ primary: {
110
+ progressIndicator: string;
111
+ };
112
+ secondary: {
113
+ progressIndicator: string;
114
+ };
115
+ success: {
116
+ progressIndicator: string;
117
+ };
118
+ warning: {
119
+ progressIndicator: string;
120
+ };
121
+ danger: {
122
+ progressIndicator: string;
123
+ };
124
+ info: {};
125
+ };
126
+ variant: {
127
+ flat: string;
128
+ solid: string;
129
+ bordered: string;
130
+ };
131
+ }>, {
132
+ color: {
133
+ default: string;
134
+ foreground: {
135
+ progressIndicator: string;
136
+ };
137
+ primary: {
138
+ progressIndicator: string;
139
+ };
140
+ secondary: {
141
+ progressIndicator: string;
142
+ };
143
+ success: {
144
+ progressIndicator: string;
145
+ };
146
+ warning: {
147
+ progressIndicator: string;
148
+ };
149
+ danger: {
150
+ progressIndicator: string;
151
+ };
152
+ info: {};
153
+ };
154
+ variant: {
155
+ flat: string;
156
+ solid: string;
157
+ bordered: string;
158
+ };
159
+ }, {
160
+ base: string;
161
+ title: string;
162
+ description: string;
163
+ icon: string;
164
+ loadingIcon: string;
165
+ content: string;
166
+ motionDiv: string;
167
+ progressTrack: string;
168
+ progressIndicator: string;
169
+ closeButton: string;
170
+ closeIcon: string;
171
+ }, tailwind_variants.TVReturnType<{
172
+ color: {
173
+ default: string;
174
+ foreground: {
175
+ progressIndicator: string;
176
+ };
177
+ primary: {
178
+ progressIndicator: string;
179
+ };
180
+ secondary: {
181
+ progressIndicator: string;
182
+ };
183
+ success: {
184
+ progressIndicator: string;
185
+ };
186
+ warning: {
187
+ progressIndicator: string;
188
+ };
189
+ danger: {
190
+ progressIndicator: string;
191
+ };
192
+ info: {};
193
+ };
194
+ variant: {
195
+ flat: string;
196
+ solid: string;
197
+ bordered: string;
198
+ };
199
+ }, {
200
+ base: string;
201
+ title: string;
202
+ description: string;
203
+ icon: string;
204
+ loadingIcon: string;
205
+ content: string;
206
+ motionDiv: string;
207
+ progressTrack: string;
208
+ progressIndicator: string;
209
+ closeButton: string;
210
+ closeIcon: string;
211
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
212
+ color: {
213
+ default: string;
214
+ foreground: {
215
+ progressIndicator: string;
216
+ };
217
+ primary: {
218
+ progressIndicator: string;
219
+ };
220
+ secondary: {
221
+ progressIndicator: string;
222
+ };
223
+ success: {
224
+ progressIndicator: string;
225
+ };
226
+ warning: {
227
+ progressIndicator: string;
228
+ };
229
+ danger: {
230
+ progressIndicator: string;
231
+ };
232
+ info: {};
233
+ };
234
+ variant: {
235
+ flat: string;
236
+ solid: string;
237
+ bordered: string;
238
+ };
239
+ }, {
240
+ color: {
241
+ default: string;
242
+ foreground: {
243
+ progressIndicator: string;
244
+ };
245
+ primary: {
246
+ progressIndicator: string;
247
+ };
248
+ secondary: {
249
+ progressIndicator: string;
250
+ };
251
+ success: {
252
+ progressIndicator: string;
253
+ };
254
+ warning: {
255
+ progressIndicator: string;
256
+ };
257
+ danger: {
258
+ progressIndicator: string;
259
+ };
260
+ info: {};
261
+ };
262
+ variant: {
263
+ flat: string;
264
+ solid: string;
265
+ bordered: string;
266
+ };
267
+ }>, unknown, unknown, undefined>>;
268
+ type AddToastVariantProps = TVProps<typeof toastVariants>;
269
+ type ClassName = TVClassName<typeof toastVariants>;
270
+ interface ToastProps extends AddToastVariantProps {
271
+ children?: ReactNode;
272
+ className?: ClassName;
273
+ closeIcon?: ReactNode;
274
+ color?: AddToastVariantProps['color'];
275
+ description?: ReactNode;
276
+ endContent?: ReactNode;
277
+ icon?: ReactNode;
278
+ loadingIcon?: ReactNode;
279
+ onClose?: () => void;
280
+ shouldShowTimeoutProgress?: boolean;
281
+ showCloseButton?: boolean;
282
+ showIcon?: boolean;
283
+ timeout?: number;
284
+ title?: ReactNode;
285
+ variant?: AddToastVariantProps['variant'];
286
+ }
287
+ /**
288
+ * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
289
+ */
290
+ declare const addToast: ({ children, className, closeIcon, color, description, endContent, icon, loadingIcon, onClose, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
291
+
292
+ type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
293
+ interface ToastProviderProps {
294
+ disableAnimation?: boolean;
295
+ maxVisibleToasts?: number;
296
+ placement?: 'bottom-right' | 'bottom-left' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center';
297
+ toastProps?: ToastProviderToastProps;
298
+ toastOffset?: number;
299
+ regionProps?: {
300
+ classNames?: Record<'base', string>;
301
+ };
302
+ }
303
+ /**
304
+ * ToastProvider component based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
305
+ */
306
+ declare const ToastProvider: ({ disableAnimation, maxVisibleToasts, placement, toastProps, toastOffset, regionProps, }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
307
+
308
+ export { type AddToastVariantProps, type ToastProps, ToastProvider, type ToastProviderProps, addToast, toastVariants };