@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
package/dist/index.mjs
CHANGED
|
@@ -5,14 +5,26 @@ import {
|
|
|
5
5
|
} from "./chunk-P6AZMYVR.mjs";
|
|
6
6
|
import "./chunk-DSBSLSJW.mjs";
|
|
7
7
|
import "./chunk-ODMRJXLJ.mjs";
|
|
8
|
-
import "./chunk-3MY6LO7N.mjs";
|
|
9
|
-
import {
|
|
10
|
-
tabs_default
|
|
11
|
-
} from "./chunk-KRI5IALM.mjs";
|
|
12
8
|
import "./chunk-RRAZM5D3.mjs";
|
|
13
9
|
import {
|
|
14
10
|
textarea_default
|
|
15
11
|
} from "./chunk-WOX3SLJB.mjs";
|
|
12
|
+
import "./chunk-W7ABNK3K.mjs";
|
|
13
|
+
import {
|
|
14
|
+
toast_default
|
|
15
|
+
} from "./chunk-XTJL67KM.mjs";
|
|
16
|
+
import "./chunk-5T5F5WVS.mjs";
|
|
17
|
+
import "./chunk-SDNTEP5C.mjs";
|
|
18
|
+
import "./chunk-2UUH2MBF.mjs";
|
|
19
|
+
import {
|
|
20
|
+
table_default
|
|
21
|
+
} from "./chunk-RTH3FPAS.mjs";
|
|
22
|
+
import "./chunk-LGELMZCN.mjs";
|
|
23
|
+
import "./chunk-PUFNT5LS.mjs";
|
|
24
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
25
|
+
import {
|
|
26
|
+
tabs_default
|
|
27
|
+
} from "./chunk-KRI5IALM.mjs";
|
|
16
28
|
import "./chunk-MV2WCFK7.mjs";
|
|
17
29
|
import {
|
|
18
30
|
slider_default
|
|
@@ -21,12 +33,10 @@ import "./chunk-LVFI2NOH.mjs";
|
|
|
21
33
|
import {
|
|
22
34
|
switch_default
|
|
23
35
|
} from "./chunk-IZOMH2SL.mjs";
|
|
24
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-7VOQKIIK.mjs";
|
|
25
37
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-G3CX6IWH.mjs";
|
|
29
|
-
import "./chunk-DLVQWKQG.mjs";
|
|
38
|
+
progress_default
|
|
39
|
+
} from "./chunk-QVGXHUYW.mjs";
|
|
30
40
|
import "./chunk-TPFN22HR.mjs";
|
|
31
41
|
import {
|
|
32
42
|
radio_default
|
|
@@ -34,38 +44,38 @@ import {
|
|
|
34
44
|
import "./chunk-QCEKPS7U.mjs";
|
|
35
45
|
import {
|
|
36
46
|
select_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-FLJ4ZZXV.mjs";
|
|
47
|
+
} from "./chunk-463XE4SI.mjs";
|
|
39
48
|
import "./chunk-S3QS5B7F.mjs";
|
|
49
|
+
import "./chunk-SQLRQTFC.mjs";
|
|
50
|
+
import "./chunk-DJOG6Z35.mjs";
|
|
51
|
+
import {
|
|
52
|
+
modal_default
|
|
53
|
+
} from "./chunk-EWKYBS7I.mjs";
|
|
40
54
|
import "./chunk-7B7LRG5J.mjs";
|
|
41
55
|
import {
|
|
42
56
|
pagination_default
|
|
43
57
|
} from "./chunk-5HSZ5AYM.mjs";
|
|
44
58
|
import "./chunk-F3HENRVM.mjs";
|
|
45
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-2GCSFWHD.mjs";
|
|
46
60
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./chunk-
|
|
61
|
+
input_default
|
|
62
|
+
} from "./chunk-KA4L5SCT.mjs";
|
|
49
63
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
50
|
-
import {
|
|
51
|
-
list_default
|
|
52
|
-
} from "./chunk-EYY4CRRR.mjs";
|
|
53
64
|
import {
|
|
54
65
|
listItem_default
|
|
55
66
|
} from "./chunk-FPCP4OOL.mjs";
|
|
56
|
-
import "./chunk-DJOG6Z35.mjs";
|
|
57
67
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./chunk-
|
|
68
|
+
list_default
|
|
69
|
+
} from "./chunk-EYY4CRRR.mjs";
|
|
60
70
|
import "./chunk-HAOK24MK.mjs";
|
|
61
71
|
import "./chunk-QZ3LVYJW.mjs";
|
|
62
72
|
import {
|
|
63
73
|
checkbox_default
|
|
64
74
|
} from "./chunk-BE2OG6M4.mjs";
|
|
65
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-RDEWIZV3.mjs";
|
|
66
76
|
import {
|
|
67
|
-
|
|
68
|
-
} from "./chunk-
|
|
77
|
+
dropdown_default
|
|
78
|
+
} from "./chunk-LXPWTJ3F.mjs";
|
|
69
79
|
import "./chunk-NMSDSEBD.mjs";
|
|
70
80
|
import "./chunk-VUYUQGLF.mjs";
|
|
71
81
|
import {
|
|
@@ -83,12 +93,13 @@ import {
|
|
|
83
93
|
} from "./chunk-SWR7E3NU.mjs";
|
|
84
94
|
import {
|
|
85
95
|
accordionItem_default
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
96
|
+
} from "./chunk-QCOPD2HG.mjs";
|
|
97
|
+
import "./chunk-ZYIIXWVY.mjs";
|
|
88
98
|
import {
|
|
89
|
-
Icon_default
|
|
90
|
-
|
|
91
|
-
|
|
99
|
+
Icon_default,
|
|
100
|
+
iconTemplate
|
|
101
|
+
} from "./chunk-AHORH5PH.mjs";
|
|
102
|
+
import "./chunk-QURXBWKK.mjs";
|
|
92
103
|
import "./chunk-E3G5QXSH.mjs";
|
|
93
104
|
import {
|
|
94
105
|
tv
|
|
@@ -702,6 +713,7 @@ export {
|
|
|
702
713
|
button_group_default as ButtonGroup,
|
|
703
714
|
card_default as Card,
|
|
704
715
|
checkbox_default as CheckBox,
|
|
716
|
+
dropdown_default as Dropdown,
|
|
705
717
|
Icon_default as Icon,
|
|
706
718
|
input_default as Input,
|
|
707
719
|
list_default as List,
|
|
@@ -716,7 +728,9 @@ export {
|
|
|
716
728
|
table_default as Table,
|
|
717
729
|
tabs_default as Tabs,
|
|
718
730
|
textarea_default as Textarea,
|
|
731
|
+
toast_default as Toast,
|
|
719
732
|
tooltip_default as Tooltip,
|
|
720
733
|
deepnoidUi,
|
|
734
|
+
iconTemplate,
|
|
721
735
|
tv
|
|
722
736
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepnoid/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build:fast": "tsup src",
|
|
14
14
|
"clean": "rm -rf .turbo",
|
|
15
15
|
"lint": "TIMING=1 eslint \"**/*.{ts,tsx,js,jsx}\" --fix",
|
|
16
|
-
"publish": "npm
|
|
16
|
+
"publish:npm": "npm publish --access=public",
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"jest": {
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"react-dom": ">=18"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
57
|
+
"access": "public",
|
|
58
|
+
"registry": "https://registry.npmjs.org/"
|
|
58
59
|
}
|
|
59
60
|
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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 react__default, { ReactNode } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
-
|
|
7
|
-
interface Props {
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
classNames?: SlotsToClasses<AccordionSlots>;
|
|
10
|
-
selectionMode?: "single" | "multiple";
|
|
11
|
-
selectionIndex?: number;
|
|
12
|
-
}
|
|
13
|
-
type AccordionProps = Props & AccordionVariantProps;
|
|
14
|
-
declare const Accordion: react__default.ForwardRefExoticComponent<Props & AccordionVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
|
|
16
|
-
declare const accordion: tailwind_variants.TVReturnType<{
|
|
17
|
-
variant: {
|
|
18
|
-
solid: {
|
|
19
|
-
base: string;
|
|
20
|
-
};
|
|
21
|
-
line: {};
|
|
22
|
-
};
|
|
23
|
-
size: {
|
|
24
|
-
sm: {};
|
|
25
|
-
md: {};
|
|
26
|
-
lg: {};
|
|
27
|
-
};
|
|
28
|
-
color: {
|
|
29
|
-
primary: {};
|
|
30
|
-
secondary: {};
|
|
31
|
-
};
|
|
32
|
-
disableAnimation: {
|
|
33
|
-
true: {};
|
|
34
|
-
false: {};
|
|
35
|
-
};
|
|
36
|
-
}, {
|
|
37
|
-
base: string[];
|
|
38
|
-
}, undefined, {
|
|
39
|
-
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
40
|
-
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
41
|
-
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
42
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
43
|
-
disableAnimation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
} & tailwind_variants_dist_config.TWMConfig & {
|
|
46
|
-
twMergeConfig: {
|
|
47
|
-
classGroups: {
|
|
48
|
-
fontSize: {
|
|
49
|
-
text: string[];
|
|
50
|
-
}[];
|
|
51
|
-
borderRadius: {
|
|
52
|
-
rounded: string[];
|
|
53
|
-
}[];
|
|
54
|
-
boxShadow: {
|
|
55
|
-
shadow: string[];
|
|
56
|
-
}[];
|
|
57
|
-
padding: {
|
|
58
|
-
p: string[];
|
|
59
|
-
}[];
|
|
60
|
-
gap: {
|
|
61
|
-
gap: string[];
|
|
62
|
-
}[];
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
|
-
variant: {
|
|
67
|
-
solid: {
|
|
68
|
-
base: string;
|
|
69
|
-
};
|
|
70
|
-
line: {};
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
sm: {};
|
|
74
|
-
md: {};
|
|
75
|
-
lg: {};
|
|
76
|
-
};
|
|
77
|
-
color: {
|
|
78
|
-
primary: {};
|
|
79
|
-
secondary: {};
|
|
80
|
-
};
|
|
81
|
-
disableAnimation: {
|
|
82
|
-
true: {};
|
|
83
|
-
false: {};
|
|
84
|
-
};
|
|
85
|
-
}, {
|
|
86
|
-
base: string[];
|
|
87
|
-
}, tailwind_variants.TVReturnType<{
|
|
88
|
-
variant: {
|
|
89
|
-
solid: {
|
|
90
|
-
base: string;
|
|
91
|
-
};
|
|
92
|
-
line: {};
|
|
93
|
-
};
|
|
94
|
-
size: {
|
|
95
|
-
sm: {};
|
|
96
|
-
md: {};
|
|
97
|
-
lg: {};
|
|
98
|
-
};
|
|
99
|
-
color: {
|
|
100
|
-
primary: {};
|
|
101
|
-
secondary: {};
|
|
102
|
-
};
|
|
103
|
-
disableAnimation: {
|
|
104
|
-
true: {};
|
|
105
|
-
false: {};
|
|
106
|
-
};
|
|
107
|
-
}, {
|
|
108
|
-
base: string[];
|
|
109
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
110
|
-
variant: {
|
|
111
|
-
solid: {
|
|
112
|
-
base: string;
|
|
113
|
-
};
|
|
114
|
-
line: {};
|
|
115
|
-
};
|
|
116
|
-
size: {
|
|
117
|
-
sm: {};
|
|
118
|
-
md: {};
|
|
119
|
-
lg: {};
|
|
120
|
-
};
|
|
121
|
-
color: {
|
|
122
|
-
primary: {};
|
|
123
|
-
secondary: {};
|
|
124
|
-
};
|
|
125
|
-
disableAnimation: {
|
|
126
|
-
true: {};
|
|
127
|
-
false: {};
|
|
128
|
-
};
|
|
129
|
-
}, {
|
|
130
|
-
variant: {
|
|
131
|
-
solid: {
|
|
132
|
-
base: string;
|
|
133
|
-
};
|
|
134
|
-
line: {};
|
|
135
|
-
};
|
|
136
|
-
size: {
|
|
137
|
-
sm: {};
|
|
138
|
-
md: {};
|
|
139
|
-
lg: {};
|
|
140
|
-
};
|
|
141
|
-
color: {
|
|
142
|
-
primary: {};
|
|
143
|
-
secondary: {};
|
|
144
|
-
};
|
|
145
|
-
disableAnimation: {
|
|
146
|
-
true: {};
|
|
147
|
-
false: {};
|
|
148
|
-
};
|
|
149
|
-
}>, unknown, unknown, undefined>>;
|
|
150
|
-
type AccordionVariantProps = VariantProps<typeof accordion>;
|
|
151
|
-
type AccordionSlots = keyof ReturnType<typeof accordion>;
|
|
152
|
-
type AccordionReturnType = ReturnType<typeof accordion>;
|
|
153
|
-
|
|
154
|
-
export { type AccordionProps, type AccordionReturnType, type AccordionSlots, type AccordionVariantProps, type Props, Accordion as default };
|
|
@@ -1,282 +0,0 @@
|
|
|
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 react__default, { ReactNode, ReactElement } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
-
|
|
7
|
-
interface Props {
|
|
8
|
-
title?: string;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
startContent?: ReactElement<{
|
|
11
|
-
className?: string;
|
|
12
|
-
size?: "sm" | "md" | "lg";
|
|
13
|
-
}>;
|
|
14
|
-
endContent?: ReactElement<{
|
|
15
|
-
className?: string;
|
|
16
|
-
size?: "sm" | "md" | "lg";
|
|
17
|
-
}>;
|
|
18
|
-
classNames?: SlotsToClasses<AccordionItemSlots>;
|
|
19
|
-
isOpen?: boolean;
|
|
20
|
-
onToggle?: () => void;
|
|
21
|
-
}
|
|
22
|
-
type AccordionItemProps = Props & AccordionItemVariantProps;
|
|
23
|
-
declare const AccordionItem: react__default.ForwardRefExoticComponent<Props & AccordionItemVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
|
|
25
|
-
declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
26
|
-
variant: {
|
|
27
|
-
solid: {
|
|
28
|
-
header: string[];
|
|
29
|
-
};
|
|
30
|
-
line: {
|
|
31
|
-
header: string[];
|
|
32
|
-
contentWrapper: string[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
size: {
|
|
36
|
-
sm: {
|
|
37
|
-
header: string;
|
|
38
|
-
};
|
|
39
|
-
md: {
|
|
40
|
-
header: string;
|
|
41
|
-
};
|
|
42
|
-
lg: {
|
|
43
|
-
header: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
color: {
|
|
47
|
-
primary: {
|
|
48
|
-
header: string[];
|
|
49
|
-
headerArrowIcon: string[];
|
|
50
|
-
};
|
|
51
|
-
secondary: {
|
|
52
|
-
header: string[];
|
|
53
|
-
headerArrowIcon: string[];
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
isInGroup: {
|
|
57
|
-
true: string;
|
|
58
|
-
};
|
|
59
|
-
disableAnimation: {
|
|
60
|
-
true: {
|
|
61
|
-
content: string[];
|
|
62
|
-
};
|
|
63
|
-
false: {};
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
|
-
base: string[];
|
|
67
|
-
header: string[];
|
|
68
|
-
headerTitleWrapper: string[];
|
|
69
|
-
headerTitle: string;
|
|
70
|
-
headerArrowIcon: string[];
|
|
71
|
-
contentWrapper: never[];
|
|
72
|
-
content: string[];
|
|
73
|
-
}, undefined, {
|
|
74
|
-
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
75
|
-
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
76
|
-
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
77
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
78
|
-
isInGroup?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
79
|
-
disableAnimation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
} & tailwind_variants_dist_config.TWMConfig & {
|
|
82
|
-
twMergeConfig: {
|
|
83
|
-
classGroups: {
|
|
84
|
-
fontSize: {
|
|
85
|
-
text: string[];
|
|
86
|
-
}[];
|
|
87
|
-
borderRadius: {
|
|
88
|
-
rounded: string[];
|
|
89
|
-
}[];
|
|
90
|
-
boxShadow: {
|
|
91
|
-
shadow: string[];
|
|
92
|
-
}[];
|
|
93
|
-
padding: {
|
|
94
|
-
p: string[];
|
|
95
|
-
}[];
|
|
96
|
-
gap: {
|
|
97
|
-
gap: string[];
|
|
98
|
-
}[];
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
}, {
|
|
102
|
-
variant: {
|
|
103
|
-
solid: {
|
|
104
|
-
header: string[];
|
|
105
|
-
};
|
|
106
|
-
line: {
|
|
107
|
-
header: string[];
|
|
108
|
-
contentWrapper: string[];
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
size: {
|
|
112
|
-
sm: {
|
|
113
|
-
header: string;
|
|
114
|
-
};
|
|
115
|
-
md: {
|
|
116
|
-
header: string;
|
|
117
|
-
};
|
|
118
|
-
lg: {
|
|
119
|
-
header: string;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
color: {
|
|
123
|
-
primary: {
|
|
124
|
-
header: string[];
|
|
125
|
-
headerArrowIcon: string[];
|
|
126
|
-
};
|
|
127
|
-
secondary: {
|
|
128
|
-
header: string[];
|
|
129
|
-
headerArrowIcon: string[];
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
isInGroup: {
|
|
133
|
-
true: string;
|
|
134
|
-
};
|
|
135
|
-
disableAnimation: {
|
|
136
|
-
true: {
|
|
137
|
-
content: string[];
|
|
138
|
-
};
|
|
139
|
-
false: {};
|
|
140
|
-
};
|
|
141
|
-
}, {
|
|
142
|
-
base: string[];
|
|
143
|
-
header: string[];
|
|
144
|
-
headerTitleWrapper: string[];
|
|
145
|
-
headerTitle: string;
|
|
146
|
-
headerArrowIcon: string[];
|
|
147
|
-
contentWrapper: never[];
|
|
148
|
-
content: string[];
|
|
149
|
-
}, tailwind_variants.TVReturnType<{
|
|
150
|
-
variant: {
|
|
151
|
-
solid: {
|
|
152
|
-
header: string[];
|
|
153
|
-
};
|
|
154
|
-
line: {
|
|
155
|
-
header: string[];
|
|
156
|
-
contentWrapper: string[];
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
size: {
|
|
160
|
-
sm: {
|
|
161
|
-
header: string;
|
|
162
|
-
};
|
|
163
|
-
md: {
|
|
164
|
-
header: string;
|
|
165
|
-
};
|
|
166
|
-
lg: {
|
|
167
|
-
header: string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
color: {
|
|
171
|
-
primary: {
|
|
172
|
-
header: string[];
|
|
173
|
-
headerArrowIcon: string[];
|
|
174
|
-
};
|
|
175
|
-
secondary: {
|
|
176
|
-
header: string[];
|
|
177
|
-
headerArrowIcon: string[];
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
isInGroup: {
|
|
181
|
-
true: string;
|
|
182
|
-
};
|
|
183
|
-
disableAnimation: {
|
|
184
|
-
true: {
|
|
185
|
-
content: string[];
|
|
186
|
-
};
|
|
187
|
-
false: {};
|
|
188
|
-
};
|
|
189
|
-
}, {
|
|
190
|
-
base: string[];
|
|
191
|
-
header: string[];
|
|
192
|
-
headerTitleWrapper: string[];
|
|
193
|
-
headerTitle: string;
|
|
194
|
-
headerArrowIcon: string[];
|
|
195
|
-
contentWrapper: never[];
|
|
196
|
-
content: string[];
|
|
197
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
198
|
-
variant: {
|
|
199
|
-
solid: {
|
|
200
|
-
header: string[];
|
|
201
|
-
};
|
|
202
|
-
line: {
|
|
203
|
-
header: string[];
|
|
204
|
-
contentWrapper: string[];
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
size: {
|
|
208
|
-
sm: {
|
|
209
|
-
header: string;
|
|
210
|
-
};
|
|
211
|
-
md: {
|
|
212
|
-
header: string;
|
|
213
|
-
};
|
|
214
|
-
lg: {
|
|
215
|
-
header: string;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
color: {
|
|
219
|
-
primary: {
|
|
220
|
-
header: string[];
|
|
221
|
-
headerArrowIcon: string[];
|
|
222
|
-
};
|
|
223
|
-
secondary: {
|
|
224
|
-
header: string[];
|
|
225
|
-
headerArrowIcon: string[];
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
isInGroup: {
|
|
229
|
-
true: string;
|
|
230
|
-
};
|
|
231
|
-
disableAnimation: {
|
|
232
|
-
true: {
|
|
233
|
-
content: string[];
|
|
234
|
-
};
|
|
235
|
-
false: {};
|
|
236
|
-
};
|
|
237
|
-
}, {
|
|
238
|
-
variant: {
|
|
239
|
-
solid: {
|
|
240
|
-
header: string[];
|
|
241
|
-
};
|
|
242
|
-
line: {
|
|
243
|
-
header: string[];
|
|
244
|
-
contentWrapper: string[];
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
size: {
|
|
248
|
-
sm: {
|
|
249
|
-
header: string;
|
|
250
|
-
};
|
|
251
|
-
md: {
|
|
252
|
-
header: string;
|
|
253
|
-
};
|
|
254
|
-
lg: {
|
|
255
|
-
header: string;
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
color: {
|
|
259
|
-
primary: {
|
|
260
|
-
header: string[];
|
|
261
|
-
headerArrowIcon: string[];
|
|
262
|
-
};
|
|
263
|
-
secondary: {
|
|
264
|
-
header: string[];
|
|
265
|
-
headerArrowIcon: string[];
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
isInGroup: {
|
|
269
|
-
true: string;
|
|
270
|
-
};
|
|
271
|
-
disableAnimation: {
|
|
272
|
-
true: {
|
|
273
|
-
content: string[];
|
|
274
|
-
};
|
|
275
|
-
false: {};
|
|
276
|
-
};
|
|
277
|
-
}>, unknown, unknown, undefined>>;
|
|
278
|
-
type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
|
|
279
|
-
type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
|
|
280
|
-
type AccordionItemReturnType = ReturnType<typeof accordionItem>;
|
|
281
|
-
|
|
282
|
-
export { type AccordionItemProps, type AccordionItemReturnType, type AccordionItemSlots, type AccordionItemVariantProps, type Props, AccordionItem as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as Accordion, AccordionProps } from './accordion.mjs';
|
|
2
|
-
export { default as AccordionItem, AccordionItemProps } from './accordionItem.mjs';
|
|
3
|
-
import 'tailwind-variants';
|
|
4
|
-
import 'tailwind-variants/dist/config';
|
|
5
|
-
import 'react';
|
|
6
|
-
import '../../utils/types.mjs';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import react__default, { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface ButtonGroupProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
|
|
6
|
-
size?: "sm" | "md" | "lg";
|
|
7
|
-
variant?: "solid" | "line" | "tonal" | "trans" | "ghost";
|
|
8
|
-
radius?: "default" | "full" | "none";
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const ButtonGroup: react__default.ForwardRefExoticComponent<ButtonGroupProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
|
|
14
|
-
export { type ButtonGroupProps, ButtonGroup as default };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
|
|
7
|
-
size?: "sm" | "md" | "lg";
|
|
8
|
-
variant?: "solid" | "line" | "tonal" | "trans" | "ghost";
|
|
9
|
-
radius?: "default" | "full" | "none";
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
isInGroup?: boolean;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
startContent?: ReactNode;
|
|
14
|
-
endContent?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
|
|
18
|
-
export { type ButtonProps, Button as default };
|