@deepnoid/ui 0.1.82 → 0.1.83
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/.turbo/turbo-build.log +186 -171
- package/dist/{chunk-KAKSKYMD.mjs → chunk-4ORPRDPL.mjs} +1 -1
- package/dist/{chunk-UE5Z7QUS.mjs → chunk-5IKVOP4M.mjs} +4 -4
- package/dist/{chunk-SDRGT5I7.mjs → chunk-7GFYCPP3.mjs} +2 -2
- package/dist/chunk-EKLA6ZR4.mjs +77 -0
- package/dist/{chunk-6PI7MYEV.mjs → chunk-FB6LBMGN.mjs} +1 -1
- package/dist/chunk-FKHKYVZH.mjs +212 -0
- package/dist/chunk-NMSDSEBD.mjs +1 -0
- package/dist/components/accordion/accordion.d.mts +98 -0
- package/dist/components/accordion/accordion.d.ts +98 -0
- package/dist/components/accordion/accordion.js +433 -0
- package/dist/components/accordion/accordion.mjs +10 -0
- package/dist/components/accordion/accordionItem.d.mts +207 -0
- package/dist/components/accordion/accordionItem.d.ts +207 -0
- package/dist/components/accordion/accordionItem.js +5201 -0
- package/dist/components/accordion/accordionItem.mjs +13 -0
- package/dist/components/accordion/index.d.mts +8 -0
- package/dist/components/accordion/index.d.ts +8 -0
- package/dist/components/accordion/index.js +5277 -0
- package/dist/components/accordion/index.mjs +18 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +6 -6
- package/dist/components/charts/index.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.mjs +5 -5
- package/dist/components/dateTimePicker/index.mjs +5 -5
- package/dist/components/dateTimePicker/timePicker.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.mjs +5 -5
- package/dist/components/fileUpload/index.mjs +5 -5
- package/dist/components/list/index.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2486 -2216
- package/dist/index.mjs +60 -51
- package/package.json +1 -1
- package/dist/{chunk-PKUJTOVJ.mjs → chunk-B6YYZVT6.mjs} +3 -3
- package/dist/{chunk-JW2TIJVH.mjs → chunk-I3ORSDFO.mjs} +3 -3
- package/dist/{chunk-BOFOJQMD.mjs → chunk-RE2WH26E.mjs} +3 -3
- package/dist/{chunk-P6CRHHI3.mjs → chunk-Z6IOS3S6.mjs} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
calendar_default
|
|
4
|
+
} from "./chunk-6SWMJLOD.mjs";
|
|
2
5
|
import {
|
|
3
6
|
timePicker_default
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FB6LBMGN.mjs";
|
|
5
8
|
import {
|
|
6
9
|
useDatePicker
|
|
7
10
|
} from "./chunk-FWJ2ZKH6.mjs";
|
|
8
|
-
import {
|
|
9
|
-
calendar_default
|
|
10
|
-
} from "./chunk-6SWMJLOD.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Icon_default
|
|
13
13
|
} from "./chunk-JP4TEWP7.mjs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-MVL7HJSH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B6YYZVT6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
icon_button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z6IOS3S6.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/fileUpload/fileUpload.tsx
|
|
13
13
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
mapPropsVariants
|
|
4
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
8
|
+
|
|
9
|
+
// src/components/accordion/accordion.tsx
|
|
10
|
+
import React, { forwardRef, useMemo, useState } from "react";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
var Accordion = forwardRef((originalProps, ref) => {
|
|
13
|
+
const [props, variantProps] = mapPropsVariants(originalProps, accordion.variantKeys);
|
|
14
|
+
const { children, classNames, selectionMode = "single", selectionIndex } = props;
|
|
15
|
+
const slots = useMemo(() => accordion({ ...variantProps }), [...Object.values(variantProps)]);
|
|
16
|
+
const [selections, setSelections] = useState(typeof selectionIndex === "number" ? [selectionIndex] : []);
|
|
17
|
+
const toggleItem = (index) => {
|
|
18
|
+
setSelections((prevIndices) => {
|
|
19
|
+
if (selectionMode === "single") {
|
|
20
|
+
return prevIndices.includes(index) ? [] : [index];
|
|
21
|
+
} else {
|
|
22
|
+
return prevIndices.includes(index) ? prevIndices.filter((i) => i !== index) : [...prevIndices, index];
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ jsx("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: React.Children.map(children, (child, index) => {
|
|
27
|
+
return React.cloneElement(child, {
|
|
28
|
+
...variantProps,
|
|
29
|
+
...child.props,
|
|
30
|
+
isInGroup: true,
|
|
31
|
+
isOpen: selections.includes(index),
|
|
32
|
+
onToggle: () => toggleItem(index)
|
|
33
|
+
});
|
|
34
|
+
}) });
|
|
35
|
+
});
|
|
36
|
+
Accordion.displayName = "Accordion";
|
|
37
|
+
var accordion_default = Accordion;
|
|
38
|
+
var accordion = tv({
|
|
39
|
+
slots: {
|
|
40
|
+
base: ["flex", "flex-col"]
|
|
41
|
+
},
|
|
42
|
+
variants: {
|
|
43
|
+
variant: {
|
|
44
|
+
outline: {
|
|
45
|
+
base: "gap-[20px]"
|
|
46
|
+
},
|
|
47
|
+
underline: {
|
|
48
|
+
base: "gap-[20px]"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
size: {
|
|
52
|
+
sm: {},
|
|
53
|
+
md: {},
|
|
54
|
+
lg: {},
|
|
55
|
+
xl: {}
|
|
56
|
+
},
|
|
57
|
+
color: {
|
|
58
|
+
primary: {},
|
|
59
|
+
secondary: {},
|
|
60
|
+
neutral: {}
|
|
61
|
+
},
|
|
62
|
+
disableAnimation: {
|
|
63
|
+
true: {},
|
|
64
|
+
false: {}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
variant: "outline",
|
|
69
|
+
color: "primary",
|
|
70
|
+
size: "md",
|
|
71
|
+
disableAnimation: false
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export {
|
|
76
|
+
accordion_default
|
|
77
|
+
};
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Icon_default
|
|
4
|
+
} from "./chunk-JP4TEWP7.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
tv
|
|
10
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
11
|
+
|
|
12
|
+
// src/components/accordion/accordionItem.tsx
|
|
13
|
+
import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
var AccordionItem = forwardRef((originalProps, ref) => {
|
|
16
|
+
const [props, variantProps] = mapPropsVariants(originalProps, accordionItem.variantKeys);
|
|
17
|
+
const { title, children, startIconName, endIconName, classNames, isOpen, onToggle, size, disableAnimation } = {
|
|
18
|
+
...props,
|
|
19
|
+
...variantProps
|
|
20
|
+
};
|
|
21
|
+
const slots = useMemo(
|
|
22
|
+
() => accordionItem({ ...variantProps }),
|
|
23
|
+
[...Object.values(variantProps)]
|
|
24
|
+
);
|
|
25
|
+
const contentRef = useRef(null);
|
|
26
|
+
const [contentHeight, setContentHeight] = useState("0px");
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
if (contentRef.current) {
|
|
29
|
+
setContentHeight(isOpen ? `${contentRef.current.scrollHeight}px` : "0px");
|
|
30
|
+
}
|
|
31
|
+
}, [isOpen]);
|
|
32
|
+
const renderIcon = (name) => name ? /* @__PURE__ */ jsx(Icon_default, { name, fill: true, size, className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }) }) : null;
|
|
33
|
+
const getContentProps = useCallback(() => {
|
|
34
|
+
if (disableAnimation) {
|
|
35
|
+
return {
|
|
36
|
+
className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
37
|
+
style: {
|
|
38
|
+
maxHeight: isOpen ? "none" : "0px",
|
|
39
|
+
opacity: isOpen ? 1 : 0,
|
|
40
|
+
overflow: isOpen ? "visible" : "hidden"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
46
|
+
style: {
|
|
47
|
+
maxHeight: contentHeight,
|
|
48
|
+
opacity: isOpen ? 1 : 0
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}, [slots, classNames == null ? void 0 : classNames.content, contentHeight, isOpen, disableAnimation]);
|
|
52
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { "data-isOpen": isOpen, className: slots.header({ class: classNames == null ? void 0 : classNames.header }), onClick: onToggle, children: [
|
|
54
|
+
renderIcon(startIconName),
|
|
55
|
+
/* @__PURE__ */ jsx("span", { className: slots.headerTitle({ class: classNames == null ? void 0 : classNames.headerTitle }), children: title }),
|
|
56
|
+
renderIcon(endIconName)
|
|
57
|
+
] }),
|
|
58
|
+
isOpen && /* @__PURE__ */ jsx("div", { ref: contentRef, ...getContentProps(), children })
|
|
59
|
+
] });
|
|
60
|
+
});
|
|
61
|
+
AccordionItem.displayName = "AccordionItem";
|
|
62
|
+
var accordionItem_default = AccordionItem;
|
|
63
|
+
var accordionItem = tv({
|
|
64
|
+
slots: {
|
|
65
|
+
base: ["group/accordion", "w-full", "flex", "flex-col", "gap-[12px]", "p-[12px]"],
|
|
66
|
+
header: [
|
|
67
|
+
"flex",
|
|
68
|
+
"justify-between",
|
|
69
|
+
"items-center",
|
|
70
|
+
"text-foreground",
|
|
71
|
+
"cursor-pointer",
|
|
72
|
+
"select-none",
|
|
73
|
+
"gap-[8px]"
|
|
74
|
+
],
|
|
75
|
+
headerTitle: ["truncate", "w-full", "font-bold", "text-body-foreground"],
|
|
76
|
+
content: [
|
|
77
|
+
"overflow-hidden",
|
|
78
|
+
"transition-all",
|
|
79
|
+
"duration-300",
|
|
80
|
+
"ease-in-out",
|
|
81
|
+
"max-h-0",
|
|
82
|
+
"opacity-0",
|
|
83
|
+
"font-bold",
|
|
84
|
+
"text-body-foreground"
|
|
85
|
+
],
|
|
86
|
+
icon: []
|
|
87
|
+
},
|
|
88
|
+
variants: {
|
|
89
|
+
variant: {
|
|
90
|
+
outline: {
|
|
91
|
+
header: []
|
|
92
|
+
},
|
|
93
|
+
underline: {
|
|
94
|
+
base: ["border-b", "last:border-b-0"]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
size: {
|
|
98
|
+
sm: {
|
|
99
|
+
base: ["gap-[12px]", "p-[12px]"],
|
|
100
|
+
header: "text-sm",
|
|
101
|
+
content: "p-[12px] text-sm rounded-sm"
|
|
102
|
+
},
|
|
103
|
+
md: {
|
|
104
|
+
base: ["gap-[12px]", "p-[12px]"],
|
|
105
|
+
header: "text-md",
|
|
106
|
+
content: "p-[12px] text-md rounded-md"
|
|
107
|
+
},
|
|
108
|
+
lg: {
|
|
109
|
+
base: ["gap-[20px]", "p-[20px]"],
|
|
110
|
+
header: "text-lg",
|
|
111
|
+
content: "p-[20px] text-lg rounded-lg"
|
|
112
|
+
},
|
|
113
|
+
xl: {
|
|
114
|
+
base: ["gap-[20px]", "p-[20px]"],
|
|
115
|
+
header: "text-xl",
|
|
116
|
+
content: "p-[20px] text-xl rounded-xl"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
color: {
|
|
120
|
+
primary: {
|
|
121
|
+
content: ["bg-primary-soft"],
|
|
122
|
+
icon: ["text-primary-main"]
|
|
123
|
+
},
|
|
124
|
+
secondary: {
|
|
125
|
+
content: ["bg-secondary-soft"],
|
|
126
|
+
icon: ["text-secondary-main"]
|
|
127
|
+
},
|
|
128
|
+
neutral: {
|
|
129
|
+
content: ["bg-neutral-soft"],
|
|
130
|
+
icon: ["text-neutral-main"]
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
isInGroup: {
|
|
134
|
+
true: ""
|
|
135
|
+
},
|
|
136
|
+
disableAnimation: {
|
|
137
|
+
true: {
|
|
138
|
+
content: ["transition-none"]
|
|
139
|
+
},
|
|
140
|
+
false: {}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
compoundVariants: [
|
|
144
|
+
{
|
|
145
|
+
variant: "outline",
|
|
146
|
+
size: "sm",
|
|
147
|
+
class: {
|
|
148
|
+
base: ["rounded-sm", "border-sm"]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
variant: "outline",
|
|
153
|
+
size: "md",
|
|
154
|
+
class: {
|
|
155
|
+
base: ["rounded-md", "border-md"]
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
variant: "outline",
|
|
160
|
+
size: "lg",
|
|
161
|
+
class: {
|
|
162
|
+
base: ["rounded-lg", "border-lg"]
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
variant: "outline",
|
|
167
|
+
size: "xl",
|
|
168
|
+
class: {
|
|
169
|
+
base: ["rounded-xl", "border-xl"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
variant: "underline",
|
|
174
|
+
size: "sm",
|
|
175
|
+
class: {
|
|
176
|
+
base: ["border-b-sm"]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
variant: "underline",
|
|
181
|
+
size: "md",
|
|
182
|
+
class: {
|
|
183
|
+
base: ["border-b-md"]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
variant: "underline",
|
|
188
|
+
size: "lg",
|
|
189
|
+
class: {
|
|
190
|
+
base: ["border-b-lg"]
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
variant: "underline",
|
|
195
|
+
size: "xl",
|
|
196
|
+
class: {
|
|
197
|
+
base: ["border-b-xl"]
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
defaultVariants: {
|
|
202
|
+
variant: "outline",
|
|
203
|
+
color: "primary",
|
|
204
|
+
size: "md",
|
|
205
|
+
isInGroup: false,
|
|
206
|
+
disableAnimation: false
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
export {
|
|
211
|
+
accordionItem_default
|
|
212
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import react__default, { ReactNode } from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
classNames?: SlotsToClasses<AccordionSlots>;
|
|
9
|
+
selectionMode?: "single" | "multiple";
|
|
10
|
+
selectionIndex?: number;
|
|
11
|
+
}
|
|
12
|
+
type AccordionProps = Props & AccordionVariantProps;
|
|
13
|
+
declare const Accordion: react__default.ForwardRefExoticComponent<Props & AccordionVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
declare const accordion: tailwind_variants.TVReturnType<{
|
|
16
|
+
variant: {
|
|
17
|
+
outline: {
|
|
18
|
+
base: string;
|
|
19
|
+
};
|
|
20
|
+
underline: {
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
sm: {};
|
|
26
|
+
md: {};
|
|
27
|
+
lg: {};
|
|
28
|
+
xl: {};
|
|
29
|
+
};
|
|
30
|
+
color: {
|
|
31
|
+
primary: {};
|
|
32
|
+
secondary: {};
|
|
33
|
+
neutral: {};
|
|
34
|
+
};
|
|
35
|
+
disableAnimation: {
|
|
36
|
+
true: {};
|
|
37
|
+
false: {};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string[];
|
|
41
|
+
}, undefined, {
|
|
42
|
+
variant: {
|
|
43
|
+
outline: {
|
|
44
|
+
base: string;
|
|
45
|
+
};
|
|
46
|
+
underline: {
|
|
47
|
+
base: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
sm: {};
|
|
52
|
+
md: {};
|
|
53
|
+
lg: {};
|
|
54
|
+
xl: {};
|
|
55
|
+
};
|
|
56
|
+
color: {
|
|
57
|
+
primary: {};
|
|
58
|
+
secondary: {};
|
|
59
|
+
neutral: {};
|
|
60
|
+
};
|
|
61
|
+
disableAnimation: {
|
|
62
|
+
true: {};
|
|
63
|
+
false: {};
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
base: string[];
|
|
67
|
+
}, tailwind_variants.TVReturnType<{
|
|
68
|
+
variant: {
|
|
69
|
+
outline: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
underline: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
size: {
|
|
77
|
+
sm: {};
|
|
78
|
+
md: {};
|
|
79
|
+
lg: {};
|
|
80
|
+
xl: {};
|
|
81
|
+
};
|
|
82
|
+
color: {
|
|
83
|
+
primary: {};
|
|
84
|
+
secondary: {};
|
|
85
|
+
neutral: {};
|
|
86
|
+
};
|
|
87
|
+
disableAnimation: {
|
|
88
|
+
true: {};
|
|
89
|
+
false: {};
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
base: string[];
|
|
93
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
94
|
+
type AccordionVariantProps = VariantProps<typeof accordion>;
|
|
95
|
+
type AccordionSlots = keyof ReturnType<typeof accordion>;
|
|
96
|
+
type AccordionReturnType = ReturnType<typeof accordion>;
|
|
97
|
+
|
|
98
|
+
export { type AccordionProps, type AccordionReturnType, type AccordionSlots, type AccordionVariantProps, type Props, Accordion as default };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import react__default, { ReactNode } from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
classNames?: SlotsToClasses<AccordionSlots>;
|
|
9
|
+
selectionMode?: "single" | "multiple";
|
|
10
|
+
selectionIndex?: number;
|
|
11
|
+
}
|
|
12
|
+
type AccordionProps = Props & AccordionVariantProps;
|
|
13
|
+
declare const Accordion: react__default.ForwardRefExoticComponent<Props & AccordionVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
declare const accordion: tailwind_variants.TVReturnType<{
|
|
16
|
+
variant: {
|
|
17
|
+
outline: {
|
|
18
|
+
base: string;
|
|
19
|
+
};
|
|
20
|
+
underline: {
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
sm: {};
|
|
26
|
+
md: {};
|
|
27
|
+
lg: {};
|
|
28
|
+
xl: {};
|
|
29
|
+
};
|
|
30
|
+
color: {
|
|
31
|
+
primary: {};
|
|
32
|
+
secondary: {};
|
|
33
|
+
neutral: {};
|
|
34
|
+
};
|
|
35
|
+
disableAnimation: {
|
|
36
|
+
true: {};
|
|
37
|
+
false: {};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string[];
|
|
41
|
+
}, undefined, {
|
|
42
|
+
variant: {
|
|
43
|
+
outline: {
|
|
44
|
+
base: string;
|
|
45
|
+
};
|
|
46
|
+
underline: {
|
|
47
|
+
base: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
sm: {};
|
|
52
|
+
md: {};
|
|
53
|
+
lg: {};
|
|
54
|
+
xl: {};
|
|
55
|
+
};
|
|
56
|
+
color: {
|
|
57
|
+
primary: {};
|
|
58
|
+
secondary: {};
|
|
59
|
+
neutral: {};
|
|
60
|
+
};
|
|
61
|
+
disableAnimation: {
|
|
62
|
+
true: {};
|
|
63
|
+
false: {};
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
base: string[];
|
|
67
|
+
}, tailwind_variants.TVReturnType<{
|
|
68
|
+
variant: {
|
|
69
|
+
outline: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
underline: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
size: {
|
|
77
|
+
sm: {};
|
|
78
|
+
md: {};
|
|
79
|
+
lg: {};
|
|
80
|
+
xl: {};
|
|
81
|
+
};
|
|
82
|
+
color: {
|
|
83
|
+
primary: {};
|
|
84
|
+
secondary: {};
|
|
85
|
+
neutral: {};
|
|
86
|
+
};
|
|
87
|
+
disableAnimation: {
|
|
88
|
+
true: {};
|
|
89
|
+
false: {};
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
base: string[];
|
|
93
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
94
|
+
type AccordionVariantProps = VariantProps<typeof accordion>;
|
|
95
|
+
type AccordionSlots = keyof ReturnType<typeof accordion>;
|
|
96
|
+
type AccordionReturnType = ReturnType<typeof accordion>;
|
|
97
|
+
|
|
98
|
+
export { type AccordionProps, type AccordionReturnType, type AccordionSlots, type AccordionVariantProps, type Props, Accordion as default };
|