@fuf-stack/pixels 0.45.0 → 1.0.1
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/Accordion/index.d.cts +2 -3
- package/dist/Accordion/index.d.ts +2 -3
- package/dist/{Accordion-rA715N0Z.d.cts → Accordion-BX1Npq3Q.d.cts} +2 -75
- package/dist/{Accordion-rA715N0Z.d.ts → Accordion-BX1Npq3Q.d.ts} +2 -75
- package/dist/Alert/index.d.cts +2 -3
- package/dist/Alert/index.d.ts +2 -3
- package/dist/{Alert-DELD9ZWe.d.cts → Alert-Bozl_RiO.d.cts} +2 -143
- package/dist/{Alert-DELD9ZWe.d.ts → Alert-Bozl_RiO.d.ts} +2 -143
- package/dist/Avatar/index.d.cts +2 -3
- package/dist/Avatar/index.d.ts +2 -3
- package/dist/{Avatar-ylNJ_-dY.d.cts → Avatar-DjZ3H25h.d.cts} +2 -23
- package/dist/{Avatar-ylNJ_-dY.d.ts → Avatar-DjZ3H25h.d.ts} +2 -23
- package/dist/AvatarGroup/index.d.cts +3 -4
- package/dist/AvatarGroup/index.d.ts +3 -4
- package/dist/{AvatarGroup-BfOtqfJy.d.ts → AvatarGroup-B1Tdw57Q.d.ts} +1 -1
- package/dist/{AvatarGroup-CUyQwK3t.d.cts → AvatarGroup-BujXZ7Vy.d.cts} +1 -1
- package/dist/Badge/index.d.cts +2 -3
- package/dist/Badge/index.d.ts +2 -3
- package/dist/{Badge-CvXzljaJ.d.cts → Badge-BjifpVQQ.d.cts} +2 -17
- package/dist/{Badge-CvXzljaJ.d.ts → Badge-BjifpVQQ.d.ts} +2 -17
- package/dist/Breadcrumb/index.d.cts +2 -3
- package/dist/Breadcrumb/index.d.ts +2 -3
- package/dist/{Breadcrumb-1cB54eJk.d.cts → Breadcrumb-Cvt5Xa5D.d.cts} +2 -25
- package/dist/{Breadcrumb-1cB54eJk.d.ts → Breadcrumb-Cvt5Xa5D.d.ts} +2 -25
- package/dist/Button/index.d.cts +2 -3
- package/dist/Button/index.d.ts +2 -3
- package/dist/{Button-BNrJYJDH.d.cts → Button-rsBnawn1.d.cts} +2 -99
- package/dist/{Button-BNrJYJDH.d.ts → Button-rsBnawn1.d.ts} +2 -99
- package/dist/Card/index.d.cts +2 -3
- package/dist/Card/index.d.ts +2 -3
- package/dist/{Card-BdciRqJz.d.cts → Card-OBRZ-ssX.d.cts} +2 -23
- package/dist/{Card-BdciRqJz.d.ts → Card-OBRZ-ssX.d.ts} +2 -23
- package/dist/Drawer/index.d.cts +2 -3
- package/dist/Drawer/index.d.ts +2 -3
- package/dist/{Drawer-BnV9qxPA.d.cts → Drawer-JpihbwKl.d.cts} +2 -27
- package/dist/{Drawer-BnV9qxPA.d.ts → Drawer-JpihbwKl.d.ts} +2 -27
- package/dist/Json/index.cjs +2 -2
- package/dist/Json/index.css +1 -0
- package/dist/Json/index.css.map +1 -1
- package/dist/Json/index.js +1 -1
- package/dist/Label/index.d.cts +2 -3
- package/dist/Label/index.d.ts +2 -3
- package/dist/{Label-B1a1krk8.d.cts → Label-B5fd7vp_.d.cts} +2 -219
- package/dist/{Label-B1a1krk8.d.ts → Label-B5fd7vp_.d.ts} +2 -219
- package/dist/Modal/index.d.cts +2 -3
- package/dist/Modal/index.d.ts +2 -3
- package/dist/{Modal-DI5ZdS_3.d.cts → Modal-BwFQz60I.d.cts} +2 -75
- package/dist/{Modal-DI5ZdS_3.d.ts → Modal-BwFQz60I.d.ts} +2 -75
- package/dist/Popover/index.cjs +2 -2
- package/dist/Popover/index.d.cts +3 -4
- package/dist/Popover/index.d.ts +3 -4
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Dm_Dsjqw.d.ts → Popover-BUKzm3MQ.d.cts} +3 -30
- package/dist/{Popover-Czc5-4V1.d.cts → Popover-D6Qv56ms.d.ts} +3 -30
- package/dist/Progress/index.d.cts +2 -3
- package/dist/Progress/index.d.ts +2 -3
- package/dist/{Progress-CR_BcIKV.d.cts → Progress-Deph-HCf.d.cts} +2 -99
- package/dist/{Progress-CR_BcIKV.d.ts → Progress-Deph-HCf.d.ts} +2 -99
- package/dist/ProgressCircular/index.d.cts +2 -3
- package/dist/ProgressCircular/index.d.ts +2 -3
- package/dist/{ProgressCircular-D9VbRNdF.d.cts → ProgressCircular-CkZsOW4R.d.cts} +2 -227
- package/dist/{ProgressCircular-D9VbRNdF.d.ts → ProgressCircular-CkZsOW4R.d.ts} +2 -227
- package/dist/Table/index.d.cts +2 -3
- package/dist/Table/index.d.ts +2 -3
- package/dist/{Table-D19f5nrd.d.cts → Table-LKaPSY4D.d.cts} +2 -91
- package/dist/{Table-D19f5nrd.d.ts → Table-LKaPSY4D.d.ts} +2 -91
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.d.cts +2 -3
- package/dist/Tabs/index.d.ts +2 -3
- package/dist/Tabs/index.js +1 -1
- package/dist/{Tabs-Tvg39S6a.d.cts → Tabs-BjMJs02F.d.cts} +3 -28
- package/dist/{Tabs-Tvg39S6a.d.ts → Tabs-BjMJs02F.d.ts} +3 -28
- package/dist/Toast/index.cjs +2 -2
- package/dist/Toast/index.d.cts +2 -3
- package/dist/Toast/index.d.ts +2 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{ToastProvider-CL1v-bkE.d.cts → ToastProvider-BaynjNgq.d.cts} +8 -121
- package/dist/{ToastProvider-CL1v-bkE.d.ts → ToastProvider-BaynjNgq.d.ts} +8 -121
- package/dist/Tooltip/index.cjs +2 -2
- package/dist/Tooltip/index.d.cts +2 -3
- package/dist/Tooltip/index.d.ts +2 -3
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-DoygUcZl.d.cts → Tooltip-DoIaNgTC.d.cts} +2 -167
- package/dist/{Tooltip-DoygUcZl.d.ts → Tooltip-DoIaNgTC.d.ts} +2 -167
- package/dist/{chunk-WZ5XQQGM.js → chunk-7QUYJEGU.js} +3 -3
- package/dist/chunk-7QUYJEGU.js.map +1 -0
- package/dist/{chunk-5X2LDUAC.cjs → chunk-J4HCGFN4.cjs} +3 -3
- package/dist/chunk-J4HCGFN4.cjs.map +1 -0
- package/dist/{chunk-PUMF3NYY.js → chunk-JESQAOUZ.js} +72 -70
- package/dist/chunk-JESQAOUZ.js.map +1 -0
- package/dist/{chunk-XV3I2A5C.js → chunk-LA3SMG6Y.js} +3 -3
- package/dist/chunk-LA3SMG6Y.js.map +1 -0
- package/dist/{chunk-DA4KEWJM.js → chunk-OOJRHIVU.js} +1 -1
- package/dist/chunk-OOJRHIVU.js.map +1 -0
- package/dist/{chunk-DIPW4WVJ.cjs → chunk-RYO74XL7.cjs} +1 -1
- package/dist/{chunk-DIPW4WVJ.cjs.map → chunk-RYO74XL7.cjs.map} +1 -1
- package/dist/{chunk-GXIDQFQ6.cjs → chunk-TLXLWB4Y.cjs} +4 -4
- package/dist/chunk-TLXLWB4Y.cjs.map +1 -0
- package/dist/{chunk-J44KQ3VW.cjs → chunk-VN6J3SXJ.cjs} +72 -70
- package/dist/chunk-VN6J3SXJ.cjs.map +1 -0
- package/dist/{chunk-5NSWKHXF.cjs → chunk-WZZMB5CI.cjs} +3 -3
- package/dist/chunk-WZZMB5CI.cjs.map +1 -0
- package/dist/{chunk-ZMEVGJBC.js → chunk-XHGGLUFN.js} +4 -4
- package/dist/chunk-XHGGLUFN.js.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +18 -19
- package/dist/index.d.ts +18 -19
- package/dist/index.js +5 -5
- package/package.json +27 -31
- package/dist/chunk-5NSWKHXF.cjs.map +0 -1
- package/dist/chunk-5X2LDUAC.cjs.map +0 -1
- package/dist/chunk-DA4KEWJM.js.map +0 -1
- package/dist/chunk-GXIDQFQ6.cjs.map +0 -1
- package/dist/chunk-J44KQ3VW.cjs.map +0 -1
- package/dist/chunk-PUMF3NYY.js.map +0 -1
- package/dist/chunk-WZ5XQQGM.js.map +0 -1
- package/dist/chunk-XV3I2A5C.js.map +0 -1
- 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,
|
|
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,
|
|
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 {
|
package/dist/Tabs/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkRYO74XL7cjs = require('../chunk-RYO74XL7.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Tabs =
|
|
11
|
+
exports.Tabs = _chunkRYO74XL7cjs.Tabs_default; exports.default = _chunkRYO74XL7cjs.Tabs_default2; exports.tabsVariants = _chunkRYO74XL7cjs.tabsVariants;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Tabs/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { T as Tabs } from '../Tabs-
|
|
2
|
-
export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-
|
|
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';
|
package/dist/Tabs/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { T as Tabs } from '../Tabs-
|
|
2
|
-
export { b as TabProps, a as TabsProps, t as tabsVariants } from '../Tabs-
|
|
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';
|
package/dist/Tabs/index.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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 */
|
package/dist/Toast/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
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 =
|
|
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
|
package/dist/Toast/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export { Toast } from '@heroui/toast';
|
|
2
|
-
import { a as addToast } from '../ToastProvider-
|
|
3
|
-
export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-
|
|
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
|
|
package/dist/Toast/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export { Toast } from '@heroui/toast';
|
|
2
|
-
import { a as addToast } from '../ToastProvider-
|
|
3
|
-
export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, t as toastVariants } from '../ToastProvider-
|
|
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
|
|
package/dist/Toast/index.js
CHANGED
|
@@ -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
|
-
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
-
/**
|
|
256
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
-
/**
|
|
256
|
-
|
|
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,
|
|
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 {
|