@fuf-stack/pixels 0.45.0 → 1.0.2

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 (120) hide show
  1. package/dist/Accordion/index.d.cts +2 -3
  2. package/dist/Accordion/index.d.ts +2 -3
  3. package/dist/{Accordion-rA715N0Z.d.cts → Accordion-BX1Npq3Q.d.cts} +2 -75
  4. package/dist/{Accordion-rA715N0Z.d.ts → Accordion-BX1Npq3Q.d.ts} +2 -75
  5. package/dist/Alert/index.d.cts +2 -3
  6. package/dist/Alert/index.d.ts +2 -3
  7. package/dist/{Alert-DELD9ZWe.d.cts → Alert-Bozl_RiO.d.cts} +2 -143
  8. package/dist/{Alert-DELD9ZWe.d.ts → Alert-Bozl_RiO.d.ts} +2 -143
  9. package/dist/Avatar/index.d.cts +2 -3
  10. package/dist/Avatar/index.d.ts +2 -3
  11. package/dist/{Avatar-ylNJ_-dY.d.cts → Avatar-DjZ3H25h.d.cts} +2 -23
  12. package/dist/{Avatar-ylNJ_-dY.d.ts → Avatar-DjZ3H25h.d.ts} +2 -23
  13. package/dist/AvatarGroup/index.d.cts +3 -4
  14. package/dist/AvatarGroup/index.d.ts +3 -4
  15. package/dist/{AvatarGroup-BfOtqfJy.d.ts → AvatarGroup-B1Tdw57Q.d.ts} +1 -1
  16. package/dist/{AvatarGroup-CUyQwK3t.d.cts → AvatarGroup-BujXZ7Vy.d.cts} +1 -1
  17. package/dist/Badge/index.d.cts +2 -3
  18. package/dist/Badge/index.d.ts +2 -3
  19. package/dist/{Badge-CvXzljaJ.d.cts → Badge-BjifpVQQ.d.cts} +2 -17
  20. package/dist/{Badge-CvXzljaJ.d.ts → Badge-BjifpVQQ.d.ts} +2 -17
  21. package/dist/Breadcrumb/index.d.cts +2 -3
  22. package/dist/Breadcrumb/index.d.ts +2 -3
  23. package/dist/{Breadcrumb-1cB54eJk.d.cts → Breadcrumb-Cvt5Xa5D.d.cts} +2 -25
  24. package/dist/{Breadcrumb-1cB54eJk.d.ts → Breadcrumb-Cvt5Xa5D.d.ts} +2 -25
  25. package/dist/Button/index.d.cts +2 -3
  26. package/dist/Button/index.d.ts +2 -3
  27. package/dist/{Button-BNrJYJDH.d.cts → Button-rsBnawn1.d.cts} +2 -99
  28. package/dist/{Button-BNrJYJDH.d.ts → Button-rsBnawn1.d.ts} +2 -99
  29. package/dist/Card/index.d.cts +2 -3
  30. package/dist/Card/index.d.ts +2 -3
  31. package/dist/{Card-BdciRqJz.d.cts → Card-OBRZ-ssX.d.cts} +2 -23
  32. package/dist/{Card-BdciRqJz.d.ts → Card-OBRZ-ssX.d.ts} +2 -23
  33. package/dist/Drawer/index.d.cts +2 -3
  34. package/dist/Drawer/index.d.ts +2 -3
  35. package/dist/{Drawer-BnV9qxPA.d.cts → Drawer-JpihbwKl.d.cts} +2 -27
  36. package/dist/{Drawer-BnV9qxPA.d.ts → Drawer-JpihbwKl.d.ts} +2 -27
  37. package/dist/Json/index.cjs +2 -2
  38. package/dist/Json/index.css +1 -0
  39. package/dist/Json/index.css.map +1 -1
  40. package/dist/Json/index.js +1 -1
  41. package/dist/Label/index.d.cts +2 -3
  42. package/dist/Label/index.d.ts +2 -3
  43. package/dist/{Label-B1a1krk8.d.cts → Label-B5fd7vp_.d.cts} +2 -219
  44. package/dist/{Label-B1a1krk8.d.ts → Label-B5fd7vp_.d.ts} +2 -219
  45. package/dist/Modal/index.d.cts +2 -3
  46. package/dist/Modal/index.d.ts +2 -3
  47. package/dist/{Modal-DI5ZdS_3.d.cts → Modal-BwFQz60I.d.cts} +2 -75
  48. package/dist/{Modal-DI5ZdS_3.d.ts → Modal-BwFQz60I.d.ts} +2 -75
  49. package/dist/Popover/index.cjs +2 -2
  50. package/dist/Popover/index.d.cts +3 -4
  51. package/dist/Popover/index.d.ts +3 -4
  52. package/dist/Popover/index.js +1 -1
  53. package/dist/{Popover-Dm_Dsjqw.d.ts → Popover-BUKzm3MQ.d.cts} +3 -30
  54. package/dist/{Popover-Czc5-4V1.d.cts → Popover-D6Qv56ms.d.ts} +3 -30
  55. package/dist/Progress/index.d.cts +2 -3
  56. package/dist/Progress/index.d.ts +2 -3
  57. package/dist/{Progress-CR_BcIKV.d.cts → Progress-Deph-HCf.d.cts} +2 -99
  58. package/dist/{Progress-CR_BcIKV.d.ts → Progress-Deph-HCf.d.ts} +2 -99
  59. package/dist/ProgressCircular/index.d.cts +2 -3
  60. package/dist/ProgressCircular/index.d.ts +2 -3
  61. package/dist/{ProgressCircular-D9VbRNdF.d.cts → ProgressCircular-CkZsOW4R.d.cts} +2 -227
  62. package/dist/{ProgressCircular-D9VbRNdF.d.ts → ProgressCircular-CkZsOW4R.d.ts} +2 -227
  63. package/dist/Table/index.d.cts +2 -3
  64. package/dist/Table/index.d.ts +2 -3
  65. package/dist/{Table-D19f5nrd.d.cts → Table-LKaPSY4D.d.cts} +2 -91
  66. package/dist/{Table-D19f5nrd.d.ts → Table-LKaPSY4D.d.ts} +2 -91
  67. package/dist/Tabs/index.cjs +2 -2
  68. package/dist/Tabs/index.d.cts +2 -3
  69. package/dist/Tabs/index.d.ts +2 -3
  70. package/dist/Tabs/index.js +1 -1
  71. package/dist/{Tabs-Tvg39S6a.d.cts → Tabs-BjMJs02F.d.cts} +3 -28
  72. package/dist/{Tabs-Tvg39S6a.d.ts → Tabs-BjMJs02F.d.ts} +3 -28
  73. package/dist/Toast/index.cjs +2 -2
  74. package/dist/Toast/index.d.cts +2 -3
  75. package/dist/Toast/index.d.ts +2 -3
  76. package/dist/Toast/index.js +1 -1
  77. package/dist/{ToastProvider-CL1v-bkE.d.cts → ToastProvider-BaynjNgq.d.cts} +8 -121
  78. package/dist/{ToastProvider-CL1v-bkE.d.ts → ToastProvider-BaynjNgq.d.ts} +8 -121
  79. package/dist/Tooltip/index.cjs +2 -2
  80. package/dist/Tooltip/index.d.cts +2 -3
  81. package/dist/Tooltip/index.d.ts +2 -3
  82. package/dist/Tooltip/index.js +1 -1
  83. package/dist/{Tooltip-DoygUcZl.d.cts → Tooltip-DoIaNgTC.d.cts} +2 -167
  84. package/dist/{Tooltip-DoygUcZl.d.ts → Tooltip-DoIaNgTC.d.ts} +2 -167
  85. package/dist/{chunk-WZ5XQQGM.js → chunk-7QUYJEGU.js} +3 -3
  86. package/dist/chunk-7QUYJEGU.js.map +1 -0
  87. package/dist/{chunk-5X2LDUAC.cjs → chunk-J4HCGFN4.cjs} +3 -3
  88. package/dist/chunk-J4HCGFN4.cjs.map +1 -0
  89. package/dist/{chunk-PUMF3NYY.js → chunk-JESQAOUZ.js} +72 -70
  90. package/dist/chunk-JESQAOUZ.js.map +1 -0
  91. package/dist/{chunk-XV3I2A5C.js → chunk-LA3SMG6Y.js} +3 -3
  92. package/dist/chunk-LA3SMG6Y.js.map +1 -0
  93. package/dist/{chunk-DA4KEWJM.js → chunk-OOJRHIVU.js} +1 -1
  94. package/dist/chunk-OOJRHIVU.js.map +1 -0
  95. package/dist/{chunk-DIPW4WVJ.cjs → chunk-RYO74XL7.cjs} +1 -1
  96. package/dist/{chunk-DIPW4WVJ.cjs.map → chunk-RYO74XL7.cjs.map} +1 -1
  97. package/dist/{chunk-GXIDQFQ6.cjs → chunk-TLXLWB4Y.cjs} +4 -4
  98. package/dist/chunk-TLXLWB4Y.cjs.map +1 -0
  99. package/dist/{chunk-J44KQ3VW.cjs → chunk-VN6J3SXJ.cjs} +72 -70
  100. package/dist/chunk-VN6J3SXJ.cjs.map +1 -0
  101. package/dist/{chunk-5NSWKHXF.cjs → chunk-WZZMB5CI.cjs} +3 -3
  102. package/dist/chunk-WZZMB5CI.cjs.map +1 -0
  103. package/dist/{chunk-ZMEVGJBC.js → chunk-XHGGLUFN.js} +4 -4
  104. package/dist/chunk-XHGGLUFN.js.map +1 -0
  105. package/dist/index.cjs +6 -6
  106. package/dist/index.css +1 -0
  107. package/dist/index.css.map +1 -1
  108. package/dist/index.d.cts +18 -19
  109. package/dist/index.d.ts +18 -19
  110. package/dist/index.js +5 -5
  111. package/package.json +27 -31
  112. package/dist/chunk-5NSWKHXF.cjs.map +0 -1
  113. package/dist/chunk-5X2LDUAC.cjs.map +0 -1
  114. package/dist/chunk-DA4KEWJM.js.map +0 -1
  115. package/dist/chunk-GXIDQFQ6.cjs.map +0 -1
  116. package/dist/chunk-J44KQ3VW.cjs.map +0 -1
  117. package/dist/chunk-PUMF3NYY.js.map +0 -1
  118. package/dist/chunk-WZ5XQQGM.js.map +0 -1
  119. package/dist/chunk-XV3I2A5C.js.map +0 -1
  120. package/dist/chunk-ZMEVGJBC.js.map +0 -1
@@ -1,6 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
3
  import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
4
  import { ReactNode } from 'react';
6
5
 
@@ -39,51 +38,7 @@ declare const tableVariants: tailwind_variants.TVReturnType<{
39
38
  sortIcon: string;
40
39
  emptyWrapper: string;
41
40
  loadingWrapper: string;
42
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
43
- separation: {
44
- divider: {
45
- tr: string;
46
- };
47
- 'divider-x': {
48
- tr: string;
49
- };
50
- 'divider-y': {
51
- tr: string;
52
- };
53
- 'striped-divider-x': {
54
- tr: string;
55
- th: string;
56
- td: string;
57
- };
58
- striped: {
59
- tr: string;
60
- td: string;
61
- };
62
- none: {};
63
- };
64
- }, {
65
- separation: {
66
- divider: {
67
- tr: string;
68
- };
69
- 'divider-x': {
70
- tr: string;
71
- };
72
- 'divider-y': {
73
- tr: string;
74
- };
75
- 'striped-divider-x': {
76
- tr: string;
77
- th: string;
78
- td: string;
79
- };
80
- striped: {
81
- tr: string;
82
- td: string;
83
- };
84
- none: {};
85
- };
86
- }>, {
41
+ }, undefined, {
87
42
  separation: {
88
43
  divider: {
89
44
  tr: string;
@@ -153,51 +108,7 @@ declare const tableVariants: tailwind_variants.TVReturnType<{
153
108
  sortIcon: string;
154
109
  emptyWrapper: string;
155
110
  loadingWrapper: string;
156
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
157
- separation: {
158
- divider: {
159
- tr: string;
160
- };
161
- 'divider-x': {
162
- tr: string;
163
- };
164
- 'divider-y': {
165
- tr: string;
166
- };
167
- 'striped-divider-x': {
168
- tr: string;
169
- th: string;
170
- td: string;
171
- };
172
- striped: {
173
- tr: string;
174
- td: string;
175
- };
176
- none: {};
177
- };
178
- }, {
179
- separation: {
180
- divider: {
181
- tr: string;
182
- };
183
- 'divider-x': {
184
- tr: string;
185
- };
186
- 'divider-y': {
187
- tr: string;
188
- };
189
- 'striped-divider-x': {
190
- tr: string;
191
- th: string;
192
- td: string;
193
- };
194
- striped: {
195
- tr: string;
196
- td: string;
197
- };
198
- none: {};
199
- };
200
- }>, unknown, unknown, undefined>>;
111
+ }, undefined, unknown, unknown, undefined>>;
201
112
  type VariantProps = TVProps<typeof tableVariants>;
202
113
  type ClassName = TVClassName<typeof tableVariants>;
203
114
  interface TableColumnProps {
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDIPW4WVJcjs = require('../chunk-DIPW4WVJ.cjs');
5
+ var _chunkRYO74XL7cjs = require('../chunk-RYO74XL7.cjs');
6
6
  require('../chunk-D4TLDLEX.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.Tabs = _chunkDIPW4WVJcjs.Tabs_default; exports.default = _chunkDIPW4WVJcjs.Tabs_default2; exports.tabsVariants = _chunkDIPW4WVJcjs.tabsVariants;
11
+ exports.Tabs = _chunkRYO74XL7cjs.Tabs_default; exports.default = _chunkRYO74XL7cjs.Tabs_default2; exports.tabsVariants = _chunkRYO74XL7cjs.tabsVariants;
12
12
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,6 @@
1
- import { T as Tabs } from '../Tabs-Tvg39S6a.cjs';
2
- export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-Tvg39S6a.cjs';
1
+ import { T as Tabs } from '../Tabs-BjMJs02F.cjs';
2
+ export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-BjMJs02F.cjs';
3
3
  import 'react/jsx-runtime';
4
- import 'tailwind-variants/dist/config.js';
5
4
  import 'tailwind-variants';
6
5
  import '@fuf-stack/pixel-utils';
7
6
  import 'react';
@@ -1,7 +1,6 @@
1
- import { T as Tabs } from '../Tabs-Tvg39S6a.js';
2
- export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-Tvg39S6a.js';
1
+ import { T as Tabs } from '../Tabs-BjMJs02F.js';
2
+ export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-BjMJs02F.js';
3
3
  import 'react/jsx-runtime';
4
- import 'tailwind-variants/dist/config.js';
5
4
  import 'tailwind-variants';
6
5
  import '@fuf-stack/pixel-utils';
7
6
  import 'react';
@@ -2,7 +2,7 @@ import {
2
2
  Tabs_default,
3
3
  Tabs_default2,
4
4
  tabsVariants
5
- } from "../chunk-DA4KEWJM.js";
5
+ } from "../chunk-OOJRHIVU.js";
6
6
  import "../chunk-J7N2552D.js";
7
7
  export {
8
8
  Tabs_default as Tabs,
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
2
  import * as tailwind_variants from 'tailwind-variants';
4
3
  import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
4
  import { ReactNode } from 'react';
@@ -36,19 +35,7 @@ declare const tabsVariants: tailwind_variants.TVReturnType<{
36
35
  tabContent: string;
37
36
  tabList: string;
38
37
  tabWrapper: string;
39
- }, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
40
- [key: string]: {
41
- [key: string]: tailwind_variants.ClassValue | {
42
- base?: tailwind_variants.ClassValue;
43
- tab?: tailwind_variants.ClassValue;
44
- cursor?: tailwind_variants.ClassValue;
45
- panel?: tailwind_variants.ClassValue;
46
- tabContent?: tailwind_variants.ClassValue;
47
- tabList?: tailwind_variants.ClassValue;
48
- tabWrapper?: tailwind_variants.ClassValue;
49
- };
50
- };
51
- } | {}>, {
38
+ }, undefined, {
52
39
  [key: string]: {
53
40
  [key: string]: tailwind_variants.ClassValue | {
54
41
  base?: tailwind_variants.ClassValue;
@@ -76,19 +63,7 @@ declare const tabsVariants: tailwind_variants.TVReturnType<{
76
63
  tabContent: string;
77
64
  tabList: string;
78
65
  tabWrapper: string;
79
- }, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
80
- [key: string]: {
81
- [key: string]: tailwind_variants.ClassValue | {
82
- base?: tailwind_variants.ClassValue;
83
- tab?: tailwind_variants.ClassValue;
84
- cursor?: tailwind_variants.ClassValue;
85
- panel?: tailwind_variants.ClassValue;
86
- tabContent?: tailwind_variants.ClassValue;
87
- tabList?: tailwind_variants.ClassValue;
88
- tabWrapper?: tailwind_variants.ClassValue;
89
- };
90
- };
91
- } | {}>, unknown, unknown, undefined>>;
66
+ }, undefined, unknown, unknown, undefined>>;
92
67
  type VariantProps = TVProps<typeof tabsVariants>;
93
68
  type ClassName = TVClassName<typeof tabsVariants>;
94
69
  type Key = string | number;
@@ -120,7 +95,7 @@ interface TabsProps extends VariantProps {
120
95
  /** Whether tabs should take up full container width */
121
96
  fullWidth?: boolean;
122
97
  /** Callback fired when tab selection changes */
123
- onSelectionChange?: (key: Key) => void;
98
+ onSelectionChange?: (key: Key | null) => void;
124
99
  /** Position of the tab list relative to the content */
125
100
  placement?: 'top' | 'bottom' | 'start' | 'end' | undefined;
126
101
  /** Radius of the tabs */
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
2
  import * as tailwind_variants from 'tailwind-variants';
4
3
  import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
4
  import { ReactNode } from 'react';
@@ -36,19 +35,7 @@ declare const tabsVariants: tailwind_variants.TVReturnType<{
36
35
  tabContent: string;
37
36
  tabList: string;
38
37
  tabWrapper: string;
39
- }, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
40
- [key: string]: {
41
- [key: string]: tailwind_variants.ClassValue | {
42
- base?: tailwind_variants.ClassValue;
43
- tab?: tailwind_variants.ClassValue;
44
- cursor?: tailwind_variants.ClassValue;
45
- panel?: tailwind_variants.ClassValue;
46
- tabContent?: tailwind_variants.ClassValue;
47
- tabList?: tailwind_variants.ClassValue;
48
- tabWrapper?: tailwind_variants.ClassValue;
49
- };
50
- };
51
- } | {}>, {
38
+ }, undefined, {
52
39
  [key: string]: {
53
40
  [key: string]: tailwind_variants.ClassValue | {
54
41
  base?: tailwind_variants.ClassValue;
@@ -76,19 +63,7 @@ declare const tabsVariants: tailwind_variants.TVReturnType<{
76
63
  tabContent: string;
77
64
  tabList: string;
78
65
  tabWrapper: string;
79
- }, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
80
- [key: string]: {
81
- [key: string]: tailwind_variants.ClassValue | {
82
- base?: tailwind_variants.ClassValue;
83
- tab?: tailwind_variants.ClassValue;
84
- cursor?: tailwind_variants.ClassValue;
85
- panel?: tailwind_variants.ClassValue;
86
- tabContent?: tailwind_variants.ClassValue;
87
- tabList?: tailwind_variants.ClassValue;
88
- tabWrapper?: tailwind_variants.ClassValue;
89
- };
90
- };
91
- } | {}>, unknown, unknown, undefined>>;
66
+ }, undefined, unknown, unknown, undefined>>;
92
67
  type VariantProps = TVProps<typeof tabsVariants>;
93
68
  type ClassName = TVClassName<typeof tabsVariants>;
94
69
  type Key = string | number;
@@ -120,7 +95,7 @@ interface TabsProps extends VariantProps {
120
95
  /** Whether tabs should take up full container width */
121
96
  fullWidth?: boolean;
122
97
  /** Callback fired when tab selection changes */
123
- onSelectionChange?: (key: Key) => void;
98
+ onSelectionChange?: (key: Key | null) => void;
124
99
  /** Position of the tab list relative to the content */
125
100
  placement?: 'top' | 'bottom' | 'start' | 'end' | undefined;
126
101
  /** Radius of the tabs */
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkGXIDQFQ6cjs = require('../chunk-GXIDQFQ6.cjs');
7
+ var _chunkTLXLWB4Ycjs = require('../chunk-TLXLWB4Y.cjs');
8
8
  require('../chunk-D4TLDLEX.cjs');
9
9
 
10
10
 
@@ -12,5 +12,5 @@ require('../chunk-D4TLDLEX.cjs');
12
12
 
13
13
 
14
14
 
15
- exports.Toast = _chunkGXIDQFQ6cjs.Toast; exports.ToastProvider = _chunkGXIDQFQ6cjs.ToastProvider_default; exports.addToast = _chunkGXIDQFQ6cjs.addToast; exports.default = _chunkGXIDQFQ6cjs.Toast_default; exports.toastVariants = _chunkGXIDQFQ6cjs.toastVariants;
15
+ exports.Toast = _chunkTLXLWB4Ycjs.Toast; exports.ToastProvider = _chunkTLXLWB4Ycjs.ToastProvider_default; exports.addToast = _chunkTLXLWB4Ycjs.addToast; exports.default = _chunkTLXLWB4Ycjs.Toast_default; exports.toastVariants = _chunkTLXLWB4Ycjs.toastVariants;
16
16
  //# sourceMappingURL=index.cjs.map
@@ -1,9 +1,8 @@
1
1
  export { Toast } from '@heroui/toast';
2
- import { a as addToast } from '../ToastProvider-CL1v-bkE.cjs';
3
- export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-CL1v-bkE.cjs';
2
+ import { a as addToast } from '../ToastProvider-BaynjNgq.cjs';
3
+ export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-BaynjNgq.cjs';
4
4
  import 'react/jsx-runtime';
5
5
  import 'tailwind-variants';
6
- import 'tailwind-variants/dist/config.js';
7
6
  import '@fuf-stack/pixel-utils';
8
7
  import 'react';
9
8
 
@@ -1,9 +1,8 @@
1
1
  export { Toast } from '@heroui/toast';
2
- import { a as addToast } from '../ToastProvider-CL1v-bkE.js';
3
- export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-CL1v-bkE.js';
2
+ import { a as addToast } from '../ToastProvider-BaynjNgq.js';
3
+ export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-BaynjNgq.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'tailwind-variants';
6
- import 'tailwind-variants/dist/config.js';
7
6
  import '@fuf-stack/pixel-utils';
8
7
  import 'react';
9
8
 
@@ -4,7 +4,7 @@ import {
4
4
  Toast_default,
5
5
  addToast,
6
6
  toastVariants
7
- } from "../chunk-ZMEVGJBC.js";
7
+ } from "../chunk-XHGGLUFN.js";
8
8
  import "../chunk-J7N2552D.js";
9
9
  export {
10
10
  Toast,
@@ -1,6 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
3
  import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
4
  import { ReactNode } from 'react';
6
5
 
@@ -37,70 +36,14 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
37
36
  title: string;
38
37
  description: string;
39
38
  icon: string;
40
- loadingIcon: string;
39
+ loadingComponent: string;
41
40
  content: string;
42
41
  motionDiv: string;
43
42
  progressTrack: string;
44
43
  progressIndicator: string;
45
44
  closeButton: string;
46
45
  closeIcon: string;
47
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
48
- color: {
49
- default: string;
50
- foreground: {
51
- progressIndicator: string;
52
- };
53
- primary: {
54
- progressIndicator: string;
55
- };
56
- secondary: {
57
- progressIndicator: string;
58
- };
59
- success: {
60
- progressIndicator: string;
61
- };
62
- warning: {
63
- progressIndicator: string;
64
- };
65
- danger: {
66
- progressIndicator: string;
67
- };
68
- info: {};
69
- };
70
- variant: {
71
- flat: string;
72
- solid: string;
73
- bordered: string;
74
- };
75
- }, {
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
- }>, {
46
+ }, undefined, {
104
47
  color: {
105
48
  default: string;
106
49
  foreground: {
@@ -133,7 +76,7 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
133
76
  title: string;
134
77
  description: string;
135
78
  icon: string;
136
- loadingIcon: string;
79
+ loadingComponent: string;
137
80
  content: string;
138
81
  motionDiv: string;
139
82
  progressTrack: string;
@@ -173,70 +116,14 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
173
116
  title: string;
174
117
  description: string;
175
118
  icon: string;
176
- loadingIcon: string;
119
+ loadingComponent: string;
177
120
  content: string;
178
121
  motionDiv: string;
179
122
  progressTrack: string;
180
123
  progressIndicator: string;
181
124
  closeButton: string;
182
125
  closeIcon: string;
183
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
184
- color: {
185
- default: string;
186
- foreground: {
187
- progressIndicator: string;
188
- };
189
- primary: {
190
- progressIndicator: string;
191
- };
192
- secondary: {
193
- progressIndicator: string;
194
- };
195
- success: {
196
- progressIndicator: string;
197
- };
198
- warning: {
199
- progressIndicator: string;
200
- };
201
- danger: {
202
- progressIndicator: string;
203
- };
204
- info: {};
205
- };
206
- variant: {
207
- flat: string;
208
- solid: string;
209
- bordered: string;
210
- };
211
- }, {
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
- }>, unknown, unknown, undefined>>;
126
+ }, undefined, unknown, unknown, undefined>>;
240
127
  type AddToastVariantProps = TVProps<typeof toastVariants>;
241
128
  type ClassName = TVClassName<typeof toastVariants>;
242
129
  interface ToastProps extends AddToastVariantProps {
@@ -252,8 +139,8 @@ interface ToastProps extends AddToastVariantProps {
252
139
  endContent?: ReactNode;
253
140
  /** Icon displayed at the start of the Alert */
254
141
  icon?: ReactNode;
255
- /** Icon or animation displayed until promise is resolved */
256
- loadingIcon?: ReactNode;
142
+ /** Component displayed until promise is resolved */
143
+ loadingComponent?: ReactNode;
257
144
  /** Callback function called when the toast is closed */
258
145
  onClose?: () => void;
259
146
  /** Promise based on which the notification will be styled */
@@ -274,7 +161,7 @@ interface ToastProps extends AddToastVariantProps {
274
161
  /**
275
162
  * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
276
163
  */
277
- declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingIcon, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
164
+ declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingComponent, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
278
165
 
279
166
  type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
280
167
  interface ToastProviderProps {
@@ -1,6 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
3
  import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
4
  import { ReactNode } from 'react';
6
5
 
@@ -37,70 +36,14 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
37
36
  title: string;
38
37
  description: string;
39
38
  icon: string;
40
- loadingIcon: string;
39
+ loadingComponent: string;
41
40
  content: string;
42
41
  motionDiv: string;
43
42
  progressTrack: string;
44
43
  progressIndicator: string;
45
44
  closeButton: string;
46
45
  closeIcon: string;
47
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
48
- color: {
49
- default: string;
50
- foreground: {
51
- progressIndicator: string;
52
- };
53
- primary: {
54
- progressIndicator: string;
55
- };
56
- secondary: {
57
- progressIndicator: string;
58
- };
59
- success: {
60
- progressIndicator: string;
61
- };
62
- warning: {
63
- progressIndicator: string;
64
- };
65
- danger: {
66
- progressIndicator: string;
67
- };
68
- info: {};
69
- };
70
- variant: {
71
- flat: string;
72
- solid: string;
73
- bordered: string;
74
- };
75
- }, {
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
- }>, {
46
+ }, undefined, {
104
47
  color: {
105
48
  default: string;
106
49
  foreground: {
@@ -133,7 +76,7 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
133
76
  title: string;
134
77
  description: string;
135
78
  icon: string;
136
- loadingIcon: string;
79
+ loadingComponent: string;
137
80
  content: string;
138
81
  motionDiv: string;
139
82
  progressTrack: string;
@@ -173,70 +116,14 @@ declare const toastVariants: tailwind_variants.TVReturnType<{
173
116
  title: string;
174
117
  description: string;
175
118
  icon: string;
176
- loadingIcon: string;
119
+ loadingComponent: string;
177
120
  content: string;
178
121
  motionDiv: string;
179
122
  progressTrack: string;
180
123
  progressIndicator: string;
181
124
  closeButton: string;
182
125
  closeIcon: string;
183
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
184
- color: {
185
- default: string;
186
- foreground: {
187
- progressIndicator: string;
188
- };
189
- primary: {
190
- progressIndicator: string;
191
- };
192
- secondary: {
193
- progressIndicator: string;
194
- };
195
- success: {
196
- progressIndicator: string;
197
- };
198
- warning: {
199
- progressIndicator: string;
200
- };
201
- danger: {
202
- progressIndicator: string;
203
- };
204
- info: {};
205
- };
206
- variant: {
207
- flat: string;
208
- solid: string;
209
- bordered: string;
210
- };
211
- }, {
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
- }>, unknown, unknown, undefined>>;
126
+ }, undefined, unknown, unknown, undefined>>;
240
127
  type AddToastVariantProps = TVProps<typeof toastVariants>;
241
128
  type ClassName = TVClassName<typeof toastVariants>;
242
129
  interface ToastProps extends AddToastVariantProps {
@@ -252,8 +139,8 @@ interface ToastProps extends AddToastVariantProps {
252
139
  endContent?: ReactNode;
253
140
  /** Icon displayed at the start of the Alert */
254
141
  icon?: ReactNode;
255
- /** Icon or animation displayed until promise is resolved */
256
- loadingIcon?: ReactNode;
142
+ /** Component displayed until promise is resolved */
143
+ loadingComponent?: ReactNode;
257
144
  /** Callback function called when the toast is closed */
258
145
  onClose?: () => void;
259
146
  /** Promise based on which the notification will be styled */
@@ -274,7 +161,7 @@ interface ToastProps extends AddToastVariantProps {
274
161
  /**
275
162
  * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
276
163
  */
277
- declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingIcon, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
164
+ declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingComponent, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
278
165
 
279
166
  type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
280
167
  interface ToastProviderProps {