@deepnoid/ui 0.0.80 → 0.0.84
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/{chunk-KWOLWE6I.mjs → chunk-463XE4SI.mjs} +4 -4
- package/dist/chunk-5T5F5WVS.mjs +32 -0
- package/dist/{chunk-S4DTK5GI.mjs → chunk-ADDUBJ4I.mjs} +1 -1
- package/dist/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
- package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
- package/dist/{chunk-H7BLXC5M.mjs → chunk-ILMIS63S.mjs} +14 -14
- package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
- package/dist/{chunk-DLVQWKQG.mjs → chunk-LGELMZCN.mjs} +24 -19
- package/dist/chunk-LXPWTJ3F.mjs +58 -0
- package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
- package/dist/{chunk-G3CX6IWH.mjs → chunk-PUFNT5LS.mjs} +18 -6
- package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
- package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
- package/dist/{chunk-TDMXAHWR.mjs → chunk-RTH3FPAS.mjs} +32 -6
- package/dist/chunk-SDNTEP5C.mjs +61 -0
- package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
- package/dist/chunk-W7ABNK3K.mjs +1 -0
- package/dist/chunk-XTJL67KM.mjs +127 -0
- package/dist/chunk-ZYIIXWVY.mjs +1 -0
- package/dist/components/accordion/accordion.test.js +39 -37
- package/dist/components/accordion/accordion.test.mjs +1 -1
- package/dist/components/accordion/accordionItem.js +1905 -749
- package/dist/components/accordion/accordionItem.mjs +4 -4
- package/dist/components/accordion/index.js +1905 -749
- package/dist/components/accordion/index.mjs +4 -4
- package/dist/components/button/button-group.test.js +39 -37
- package/dist/components/button/button-group.test.mjs +2 -2
- package/dist/components/button/button.test.js +52 -50
- package/dist/components/button/button.test.mjs +2 -2
- package/dist/components/card/card.test.js +39 -37
- package/dist/components/card/card.test.mjs +1 -1
- package/dist/components/checkbox/checkbox.test.js +39 -37
- package/dist/components/checkbox/checkbox.test.mjs +2 -2
- package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
- package/dist/components/dropdown/dropdown.js +122 -0
- package/dist/components/dropdown/dropdown.mjs +10 -0
- package/dist/components/dropdown/dropdown.test.js +12997 -0
- package/dist/components/dropdown/dropdown.test.mjs +25 -0
- package/dist/components/dropdown/index.js +128 -0
- package/dist/components/dropdown/index.mjs +11 -0
- package/dist/components/icon/Icon.d.ts +499 -1
- package/dist/components/icon/Icon.js +1940 -778
- package/dist/components/icon/Icon.mjs +6 -4
- package/dist/components/icon/index.js +1910 -751
- package/dist/components/icon/index.mjs +7 -5
- package/dist/components/icon/template.d.ts +98 -61
- package/dist/components/icon/template.js +1902 -746
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +1912 -756
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +1912 -756
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/input/input.test.js +1983 -825
- package/dist/components/input/input.test.mjs +6 -6
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.test.js +39 -37
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/modal/index.js +1942 -779
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.js +1942 -779
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/modal/modal.test.js +1981 -816
- package/dist/components/modal/modal.test.mjs +4 -4
- package/dist/components/pagination/pagination.test.js +39 -37
- package/dist/components/pagination/pagination.test.mjs +1 -1
- package/dist/components/progress/progress.test.d.ts +0 -2
- package/dist/components/progress/progress.test.js +39 -37
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/radio.test.js +39 -37
- package/dist/components/radio/radio.test.mjs +1 -1
- package/dist/components/select/index.js +1905 -749
- package/dist/components/select/index.mjs +5 -5
- package/dist/components/select/option.js +1905 -749
- package/dist/components/select/option.mjs +4 -4
- package/dist/components/select/select.js +1905 -749
- package/dist/components/select/select.mjs +5 -5
- package/dist/components/select/select.test.js +1951 -793
- package/dist/components/select/select.test.mjs +7 -7
- package/dist/components/slider/slider.test.d.ts +0 -2
- package/dist/components/slider/slider.test.js +39 -37
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/switch.test.d.ts +0 -2
- package/dist/components/switch/switch.test.js +39 -37
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/index.js +1985 -786
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.d.ts +5 -2
- package/dist/components/table/table-body.js +1953 -792
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table-head.d.ts +4 -2
- package/dist/components/table/table-head.js +18 -6
- package/dist/components/table/table-head.mjs +1 -1
- package/dist/components/table/table.d.ts +32 -59
- package/dist/components/table/table.js +1985 -786
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/table/table.test.d.ts +0 -2
- package/dist/components/table/table.test.js +2020 -819
- package/dist/components/table/table.test.mjs +7 -7
- package/dist/components/tabs/tabs.test.d.ts +0 -2
- package/dist/components/tabs/tabs.test.js +39 -37
- package/dist/components/tabs/tabs.test.mjs +2 -2
- package/dist/components/textarea/textarea.test.d.ts +0 -2
- package/dist/components/textarea/textarea.test.js +52 -50
- package/dist/components/textarea/textarea.test.mjs +2 -2
- package/dist/components/toast/index.js +3810 -0
- package/dist/components/toast/index.mjs +16 -0
- package/dist/components/toast/toast-utils.js +84 -0
- package/dist/components/toast/toast-utils.mjs +8 -0
- package/dist/components/toast/toast.d.ts +204 -0
- package/dist/components/toast/toast.js +3804 -0
- package/dist/components/toast/toast.mjs +15 -0
- package/dist/components/toast/toast.test.d.ts +0 -0
- package/dist/components/toast/toast.test.js +16689 -0
- package/dist/components/toast/toast.test.mjs +30 -0
- package/dist/components/toast/useToast.d.ts +0 -0
- package/dist/components/toast/useToast.js +110 -0
- package/dist/components/toast/useToast.mjs +9 -0
- package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.js +39 -37
- package/dist/components/tooltip/tooltip.test.mjs +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +0 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2247 -793
- package/dist/index.mjs +42 -28
- package/package.json +4 -3
- package/dist/components/accordion/accordion.d.mts +0 -154
- package/dist/components/accordion/accordionItem.d.mts +0 -282
- package/dist/components/accordion/index.d.mts +0 -6
- package/dist/components/button/button-group.d.mts +0 -14
- package/dist/components/button/button-group.test.d.mts +0 -2
- package/dist/components/button/button.d.mts +0 -18
- package/dist/components/button/button.test.d.mts +0 -2
- package/dist/components/button/index.d.mts +0 -3
- package/dist/components/card/card.d.mts +0 -124
- package/dist/components/card/card.test.d.mts +0 -2
- package/dist/components/card/index.d.mts +0 -5
- package/dist/components/card/index.d.ts +0 -5
- package/dist/components/checkbox/checkbox.d.mts +0 -349
- package/dist/components/checkbox/checkbox.test.d.mts +0 -2
- package/dist/components/checkbox/index.d.mts +0 -5
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/icon/Icon.d.mts +0 -15
- package/dist/components/icon/index.d.mts +0 -4
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icon/template.d.mts +0 -97
- package/dist/components/input/index.d.mts +0 -5
- package/dist/components/input/index.d.ts +0 -5
- package/dist/components/input/input.d.mts +0 -437
- package/dist/components/input/input.test.d.mts +0 -2
- package/dist/components/list/index.d.mts +0 -6
- package/dist/components/list/list.test.d.mts +0 -2
- package/dist/components/list/listItem.d.mts +0 -183
- package/dist/components/modal/index.d.mts +0 -8
- package/dist/components/modal/index.d.ts +0 -8
- package/dist/components/modal/modal.d.mts +0 -214
- package/dist/components/modal/modal.test.d.mts +0 -2
- package/dist/components/pagination/index.d.mts +0 -4
- package/dist/components/pagination/index.d.ts +0 -4
- package/dist/components/pagination/pagination.d.mts +0 -186
- package/dist/components/pagination/pagination.test.d.mts +0 -2
- package/dist/components/pagination/usePagination.d.mts +0 -16
- package/dist/components/progress/index.d.mts +0 -5
- package/dist/components/progress/index.d.ts +0 -5
- package/dist/components/progress/progress.d.mts +0 -281
- package/dist/components/progress/progress.test.d.mts +0 -2
- package/dist/components/radio/index.d.mts +0 -5
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio.d.mts +0 -278
- package/dist/components/radio/radio.test.d.mts +0 -2
- package/dist/components/select/index.d.mts +0 -5
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/option.d.mts +0 -18
- package/dist/components/select/select.d.mts +0 -449
- package/dist/components/select/select.test.d.mts +0 -2
- package/dist/components/select/useSelect.d.mts +0 -32
- package/dist/components/slider/index.d.mts +0 -5
- package/dist/components/slider/index.d.ts +0 -5
- package/dist/components/slider/slider.d.mts +0 -333
- package/dist/components/slider/slider.test.d.mts +0 -2
- package/dist/components/switch/index.d.mts +0 -5
- package/dist/components/switch/index.d.ts +0 -5
- package/dist/components/switch/switch.d.mts +0 -304
- package/dist/components/switch/switch.test.d.mts +0 -2
- package/dist/components/table/index.d.mts +0 -5
- package/dist/components/table/index.d.ts +0 -5
- package/dist/components/table/table-body.d.mts +0 -23
- package/dist/components/table/table-head.d.mts +0 -19
- package/dist/components/table/table.d.mts +0 -610
- package/dist/components/table/table.test.d.mts +0 -2
- package/dist/components/tabs/index.d.mts +0 -5
- package/dist/components/tabs/index.d.ts +0 -5
- package/dist/components/tabs/tabs.d.mts +0 -241
- package/dist/components/tabs/tabs.test.d.mts +0 -2
- package/dist/components/textarea/index.d.mts +0 -2
- package/dist/components/textarea/index.d.ts +0 -2
- package/dist/components/textarea/textarea.d.mts +0 -17
- package/dist/components/textarea/textarea.test.d.mts +0 -2
- package/dist/components/tooltip/index.d.mts +0 -6
- package/dist/components/tooltip/index.d.ts +0 -6
- package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
- package/dist/components/tooltip/tooltip.d.mts +0 -143
- package/dist/components/tooltip/tooltip.test.d.mts +0 -2
- package/dist/components/tooltip/useTooltip.d.mts +0 -2
- package/dist/index.d.mts +0 -30
- package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
- package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
- package/dist/utils/clsx.d.mts +0 -3
- package/dist/utils/props.d.mts +0 -3
- package/dist/utils/tailwind-variants.d.mts +0 -26
- package/dist/utils/types.d.mts +0 -10
- /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
- /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../../chunk-W7ABNK3K.mjs";
|
|
3
|
+
import {
|
|
4
|
+
toast_default
|
|
5
|
+
} from "../../chunk-XTJL67KM.mjs";
|
|
6
|
+
import "../../chunk-5T5F5WVS.mjs";
|
|
7
|
+
import "../../chunk-SDNTEP5C.mjs";
|
|
8
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
|
+
import "../../chunk-AHORH5PH.mjs";
|
|
10
|
+
import "../../chunk-QURXBWKK.mjs";
|
|
11
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
12
|
+
import "../../chunk-J725QONZ.mjs";
|
|
13
|
+
import "../../chunk-IZ6II3QA.mjs";
|
|
14
|
+
export {
|
|
15
|
+
toast_default as Toast
|
|
16
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/components/toast/toast-utils.ts
|
|
22
|
+
var toast_utils_exports = {};
|
|
23
|
+
__export(toast_utils_exports, {
|
|
24
|
+
getToastPosition: () => getToastPosition
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(toast_utils_exports);
|
|
27
|
+
var getToastPosition = (placement, targetRect, width, height, offset) => {
|
|
28
|
+
let x = 0, y = 0;
|
|
29
|
+
switch (placement) {
|
|
30
|
+
case "top":
|
|
31
|
+
x = targetRect.left + targetRect.width / 2 - width / 2;
|
|
32
|
+
y = targetRect.top - height - offset;
|
|
33
|
+
break;
|
|
34
|
+
case "left":
|
|
35
|
+
x = targetRect.left - width - offset;
|
|
36
|
+
y = targetRect.top + targetRect.height / 2 - height / 2;
|
|
37
|
+
break;
|
|
38
|
+
case "right":
|
|
39
|
+
x = targetRect.right + offset;
|
|
40
|
+
y = targetRect.top + targetRect.height / 2 - height / 2;
|
|
41
|
+
break;
|
|
42
|
+
case "bottom":
|
|
43
|
+
x = targetRect.left + targetRect.width / 2 - width / 2;
|
|
44
|
+
y = targetRect.bottom + offset;
|
|
45
|
+
break;
|
|
46
|
+
case "top-start":
|
|
47
|
+
x = targetRect.left;
|
|
48
|
+
y = targetRect.top - height - offset;
|
|
49
|
+
break;
|
|
50
|
+
case "top-end":
|
|
51
|
+
x = targetRect.right - width;
|
|
52
|
+
y = targetRect.top - height - offset;
|
|
53
|
+
break;
|
|
54
|
+
case "bottom-start":
|
|
55
|
+
x = targetRect.left;
|
|
56
|
+
y = targetRect.bottom + offset;
|
|
57
|
+
break;
|
|
58
|
+
case "bottom-end":
|
|
59
|
+
x = targetRect.right - width;
|
|
60
|
+
y = targetRect.bottom + offset;
|
|
61
|
+
break;
|
|
62
|
+
case "left-start":
|
|
63
|
+
x = targetRect.left - width - offset;
|
|
64
|
+
y = targetRect.top;
|
|
65
|
+
break;
|
|
66
|
+
case "left-end":
|
|
67
|
+
x = targetRect.left - width - offset;
|
|
68
|
+
y = targetRect.bottom - height;
|
|
69
|
+
break;
|
|
70
|
+
case "right-start":
|
|
71
|
+
x = targetRect.right + offset;
|
|
72
|
+
y = targetRect.top;
|
|
73
|
+
break;
|
|
74
|
+
case "right-end":
|
|
75
|
+
x = targetRect.right + offset;
|
|
76
|
+
y = targetRect.bottom - height;
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
return { toastX: x, toastY: y };
|
|
80
|
+
};
|
|
81
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
82
|
+
0 && (module.exports = {
|
|
83
|
+
getToastPosition
|
|
84
|
+
});
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
7
|
+
import { T as ToastPlacement } from '../../toast-utils-c66EY-H0.js';
|
|
8
|
+
|
|
9
|
+
interface Props {
|
|
10
|
+
content?: ReactNode | string;
|
|
11
|
+
offset?: number;
|
|
12
|
+
placement?: ToastPlacement;
|
|
13
|
+
classNames?: SlotsToClasses<ToastSlots>;
|
|
14
|
+
showStatusIcon?: boolean;
|
|
15
|
+
showCloseButton?: boolean;
|
|
16
|
+
}
|
|
17
|
+
type ToastProps = Props & ToastVariantProps;
|
|
18
|
+
declare const Toast: react.ForwardRefExoticComponent<Props & ToastVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
declare const tooltip: tailwind_variants.TVReturnType<{
|
|
21
|
+
color: {
|
|
22
|
+
primary: {
|
|
23
|
+
base: string;
|
|
24
|
+
};
|
|
25
|
+
secondary: {
|
|
26
|
+
base: string;
|
|
27
|
+
};
|
|
28
|
+
default: {
|
|
29
|
+
base: string;
|
|
30
|
+
};
|
|
31
|
+
success: {
|
|
32
|
+
base: string;
|
|
33
|
+
};
|
|
34
|
+
info: {
|
|
35
|
+
base: string;
|
|
36
|
+
};
|
|
37
|
+
warning: {
|
|
38
|
+
base: string;
|
|
39
|
+
};
|
|
40
|
+
danger: {
|
|
41
|
+
base: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
disableAnimation: {
|
|
45
|
+
true: {
|
|
46
|
+
base: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
base: string[];
|
|
51
|
+
content: string[];
|
|
52
|
+
}, undefined, {
|
|
53
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
54
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
55
|
+
disableAnimation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
} & tailwind_variants_dist_config.TWMConfig & {
|
|
58
|
+
twMergeConfig: {
|
|
59
|
+
classGroups: {
|
|
60
|
+
fontSize: {
|
|
61
|
+
text: string[];
|
|
62
|
+
}[];
|
|
63
|
+
borderRadius: {
|
|
64
|
+
rounded: string[];
|
|
65
|
+
}[];
|
|
66
|
+
boxShadow: {
|
|
67
|
+
shadow: string[];
|
|
68
|
+
}[];
|
|
69
|
+
padding: {
|
|
70
|
+
p: string[];
|
|
71
|
+
}[];
|
|
72
|
+
gap: {
|
|
73
|
+
gap: string[];
|
|
74
|
+
}[];
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
color: {
|
|
79
|
+
primary: {
|
|
80
|
+
base: string;
|
|
81
|
+
};
|
|
82
|
+
secondary: {
|
|
83
|
+
base: string;
|
|
84
|
+
};
|
|
85
|
+
default: {
|
|
86
|
+
base: string;
|
|
87
|
+
};
|
|
88
|
+
success: {
|
|
89
|
+
base: string;
|
|
90
|
+
};
|
|
91
|
+
info: {
|
|
92
|
+
base: string;
|
|
93
|
+
};
|
|
94
|
+
warning: {
|
|
95
|
+
base: string;
|
|
96
|
+
};
|
|
97
|
+
danger: {
|
|
98
|
+
base: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
disableAnimation: {
|
|
102
|
+
true: {
|
|
103
|
+
base: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
base: string[];
|
|
108
|
+
content: string[];
|
|
109
|
+
}, tailwind_variants.TVReturnType<{
|
|
110
|
+
color: {
|
|
111
|
+
primary: {
|
|
112
|
+
base: string;
|
|
113
|
+
};
|
|
114
|
+
secondary: {
|
|
115
|
+
base: string;
|
|
116
|
+
};
|
|
117
|
+
default: {
|
|
118
|
+
base: string;
|
|
119
|
+
};
|
|
120
|
+
success: {
|
|
121
|
+
base: string;
|
|
122
|
+
};
|
|
123
|
+
info: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
warning: {
|
|
127
|
+
base: string;
|
|
128
|
+
};
|
|
129
|
+
danger: {
|
|
130
|
+
base: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
disableAnimation: {
|
|
134
|
+
true: {
|
|
135
|
+
base: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}, {
|
|
139
|
+
base: string[];
|
|
140
|
+
content: string[];
|
|
141
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
142
|
+
color: {
|
|
143
|
+
primary: {
|
|
144
|
+
base: string;
|
|
145
|
+
};
|
|
146
|
+
secondary: {
|
|
147
|
+
base: string;
|
|
148
|
+
};
|
|
149
|
+
default: {
|
|
150
|
+
base: string;
|
|
151
|
+
};
|
|
152
|
+
success: {
|
|
153
|
+
base: string;
|
|
154
|
+
};
|
|
155
|
+
info: {
|
|
156
|
+
base: string;
|
|
157
|
+
};
|
|
158
|
+
warning: {
|
|
159
|
+
base: string;
|
|
160
|
+
};
|
|
161
|
+
danger: {
|
|
162
|
+
base: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
disableAnimation: {
|
|
166
|
+
true: {
|
|
167
|
+
base: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
color: {
|
|
172
|
+
primary: {
|
|
173
|
+
base: string;
|
|
174
|
+
};
|
|
175
|
+
secondary: {
|
|
176
|
+
base: string;
|
|
177
|
+
};
|
|
178
|
+
default: {
|
|
179
|
+
base: string;
|
|
180
|
+
};
|
|
181
|
+
success: {
|
|
182
|
+
base: string;
|
|
183
|
+
};
|
|
184
|
+
info: {
|
|
185
|
+
base: string;
|
|
186
|
+
};
|
|
187
|
+
warning: {
|
|
188
|
+
base: string;
|
|
189
|
+
};
|
|
190
|
+
danger: {
|
|
191
|
+
base: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
disableAnimation: {
|
|
195
|
+
true: {
|
|
196
|
+
base: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}>, unknown, unknown, undefined>>;
|
|
200
|
+
type ToastVariantProps = VariantProps<typeof tooltip>;
|
|
201
|
+
type ToastSlots = keyof ReturnType<typeof tooltip>;
|
|
202
|
+
type ToastReturnType = ReturnType<typeof tooltip>;
|
|
203
|
+
|
|
204
|
+
export { type Props, type ToastProps, type ToastReturnType, type ToastSlots, type ToastVariantProps, Toast as default };
|