@deepnoid/ui 0.1.81 → 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.
Files changed (184) hide show
  1. package/.turbo/turbo-build.log +237 -207
  2. package/dist/{chunk-B6XJNGQL.mjs → chunk-3IILPVRA.mjs} +3 -3
  3. package/dist/{chunk-KCAGZUYM.mjs → chunk-3M6VYLOU.mjs} +1 -1
  4. package/dist/chunk-3V4HT2K5.mjs +36 -0
  5. package/dist/{chunk-TKGIYUSB.mjs → chunk-4BJPJ54Q.mjs} +4 -4
  6. package/dist/{chunk-FRKIXGG5.mjs → chunk-4LP3QDAE.mjs} +3 -3
  7. package/dist/{chunk-OKO3XRJS.mjs → chunk-4ORPRDPL.mjs} +5 -5
  8. package/dist/{chunk-FZNRCPWF.mjs → chunk-54342D4Z.mjs} +4 -4
  9. package/dist/chunk-5FFTHFBX.mjs +129 -0
  10. package/dist/{chunk-L65ETSUY.mjs → chunk-5IKVOP4M.mjs} +7 -7
  11. package/dist/{chunk-JPFA7PPB.mjs → chunk-6KH2UQRM.mjs} +3 -3
  12. package/dist/{chunk-TUXYVNTY.mjs → chunk-6SWMJLOD.mjs} +3 -3
  13. package/dist/{chunk-7Q2WQJ6U.mjs → chunk-7GFYCPP3.mjs} +3 -3
  14. package/dist/chunk-7VOQKIIK.mjs +1 -0
  15. package/dist/{chunk-ORXMPU2C.mjs → chunk-7VS6YXNB.mjs} +3 -3
  16. package/dist/{chunk-FZJ5PLRU.mjs → chunk-AF4I7ZQS.mjs} +1 -1
  17. package/dist/{chunk-LNVDBHVI.mjs → chunk-AI4YKKH4.mjs} +7 -7
  18. package/dist/{chunk-RN76ARTS.mjs → chunk-B6YYZVT6.mjs} +6 -6
  19. package/dist/{chunk-XOPCRI7Z.mjs → chunk-CDXBML6O.mjs} +17 -2
  20. package/dist/{chunk-B7THOWOI.mjs → chunk-D3HZG3CH.mjs} +1 -1
  21. package/dist/chunk-EKLA6ZR4.mjs +77 -0
  22. package/dist/{chunk-ZYS4NSXT.mjs → chunk-FB6LBMGN.mjs} +4 -4
  23. package/dist/chunk-FKHKYVZH.mjs +212 -0
  24. package/dist/{chunk-I6MFQAQE.mjs → chunk-GAZ472ZU.mjs} +3 -3
  25. package/dist/{chunk-5IESFXPF.mjs → chunk-GH4EPD35.mjs} +4 -4
  26. package/dist/{chunk-QFIS6N5R.mjs → chunk-I3ORSDFO.mjs} +6 -6
  27. package/dist/{chunk-EKWUOA5B.mjs → chunk-ITWKPTSD.mjs} +1 -1
  28. package/dist/{chunk-TVTIX7MO.mjs → chunk-JBSV7GCL.mjs} +4 -4
  29. package/dist/{chunk-CC2F5HQX.mjs → chunk-LMHSWLH2.mjs} +5 -5
  30. package/dist/{chunk-5M7UDEMG.mjs → chunk-MVL7HJSH.mjs} +4 -4
  31. package/dist/chunk-NMSDSEBD.mjs +1 -0
  32. package/dist/{chunk-FUPY7MXT.mjs → chunk-NTNIGQGI.mjs} +1 -1
  33. package/dist/{chunk-7JVTWM4U.mjs → chunk-RE2WH26E.mjs} +4 -4
  34. package/dist/{chunk-3WBUF37A.mjs → chunk-S7Y7XUBL.mjs} +4 -4
  35. package/dist/{chunk-PWWPGVPS.mjs → chunk-TZHEZEJ5.mjs} +3 -3
  36. package/dist/{chunk-STAE4IPE.mjs → chunk-WIZDHK4O.mjs} +3 -3
  37. package/dist/{chunk-SKOCUCE5.mjs → chunk-XZ5DXOJQ.mjs} +4 -4
  38. package/dist/{chunk-R7VCFJGU.mjs → chunk-Y5QV7T6D.mjs} +1 -1
  39. package/dist/{chunk-PDY7UYKZ.mjs → chunk-Z6IOS3S6.mjs} +6 -6
  40. package/dist/components/accordion/accordion.d.mts +98 -0
  41. package/dist/components/accordion/accordion.d.ts +98 -0
  42. package/dist/components/accordion/accordion.js +433 -0
  43. package/dist/components/accordion/accordion.mjs +10 -0
  44. package/dist/components/accordion/accordionItem.d.mts +207 -0
  45. package/dist/components/accordion/accordionItem.d.ts +207 -0
  46. package/dist/components/accordion/accordionItem.js +5201 -0
  47. package/dist/components/accordion/accordionItem.mjs +13 -0
  48. package/dist/components/accordion/index.d.mts +8 -0
  49. package/dist/components/accordion/index.d.ts +8 -0
  50. package/dist/components/accordion/index.js +5277 -0
  51. package/dist/components/accordion/index.mjs +18 -0
  52. package/dist/components/avatar/avatar.js +17 -2
  53. package/dist/components/avatar/avatar.mjs +2 -2
  54. package/dist/components/avatar/index.js +17 -2
  55. package/dist/components/avatar/index.mjs +2 -2
  56. package/dist/components/backdrop/backdrop.js +17 -2
  57. package/dist/components/backdrop/backdrop.mjs +2 -2
  58. package/dist/components/backdrop/index.js +17 -2
  59. package/dist/components/backdrop/index.mjs +2 -2
  60. package/dist/components/breadcrumb/breadcrumb.js +17 -2
  61. package/dist/components/breadcrumb/breadcrumb.mjs +8 -8
  62. package/dist/components/breadcrumb/index.js +17 -2
  63. package/dist/components/breadcrumb/index.mjs +8 -8
  64. package/dist/components/button/button-group.js +17 -2
  65. package/dist/components/button/button-group.mjs +2 -2
  66. package/dist/components/button/button.js +17 -2
  67. package/dist/components/button/button.mjs +4 -4
  68. package/dist/components/button/icon-button.js +17 -2
  69. package/dist/components/button/icon-button.mjs +4 -4
  70. package/dist/components/button/index.js +17 -2
  71. package/dist/components/button/index.mjs +9 -9
  72. package/dist/components/button/text-button.js +17 -2
  73. package/dist/components/button/text-button.mjs +3 -3
  74. package/dist/components/charts/areaChart.js +17 -2
  75. package/dist/components/charts/areaChart.mjs +2 -2
  76. package/dist/components/charts/barChart.js +17 -2
  77. package/dist/components/charts/barChart.mjs +2 -2
  78. package/dist/components/charts/circularProgress.js +17 -2
  79. package/dist/components/charts/circularProgress.mjs +2 -2
  80. package/dist/components/charts/index.js +17 -2
  81. package/dist/components/charts/index.mjs +4 -4
  82. package/dist/components/checkbox/checkbox.js +17 -2
  83. package/dist/components/checkbox/checkbox.mjs +3 -3
  84. package/dist/components/checkbox/index.js +17 -2
  85. package/dist/components/checkbox/index.mjs +3 -3
  86. package/dist/components/chip/chip.js +17 -2
  87. package/dist/components/chip/chip.mjs +3 -3
  88. package/dist/components/chip/index.js +17 -2
  89. package/dist/components/chip/index.mjs +3 -3
  90. package/dist/components/dateTimePicker/calendar.js +17 -2
  91. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  92. package/dist/components/dateTimePicker/dateTimePicker.js +17 -2
  93. package/dist/components/dateTimePicker/dateTimePicker.mjs +8 -8
  94. package/dist/components/dateTimePicker/index.js +17 -2
  95. package/dist/components/dateTimePicker/index.mjs +8 -8
  96. package/dist/components/dateTimePicker/timePicker.js +17 -2
  97. package/dist/components/dateTimePicker/timePicker.mjs +6 -6
  98. package/dist/components/drawer/drawer.js +17 -2
  99. package/dist/components/drawer/drawer.mjs +3 -3
  100. package/dist/components/drawer/index.js +17 -2
  101. package/dist/components/drawer/index.mjs +3 -3
  102. package/dist/components/fileUpload/fileUpload.js +17 -2
  103. package/dist/components/fileUpload/fileUpload.mjs +9 -9
  104. package/dist/components/fileUpload/index.js +17 -2
  105. package/dist/components/fileUpload/index.mjs +9 -9
  106. package/dist/components/input/index.js +17 -2
  107. package/dist/components/input/index.mjs +3 -3
  108. package/dist/components/input/input.js +17 -2
  109. package/dist/components/input/input.mjs +3 -3
  110. package/dist/components/list/index.js +17 -2
  111. package/dist/components/list/index.mjs +7 -7
  112. package/dist/components/list/list.js +17 -2
  113. package/dist/components/list/list.mjs +2 -2
  114. package/dist/components/list/listItem.js +17 -2
  115. package/dist/components/list/listItem.mjs +4 -4
  116. package/dist/components/modal/index.js +17 -2
  117. package/dist/components/modal/index.mjs +9 -9
  118. package/dist/components/modal/modal.js +17 -2
  119. package/dist/components/modal/modal.mjs +9 -9
  120. package/dist/components/pagination/index.js +17 -2
  121. package/dist/components/pagination/index.mjs +4 -4
  122. package/dist/components/pagination/pagination.js +17 -2
  123. package/dist/components/pagination/pagination.mjs +4 -4
  124. package/dist/components/progress/index.d.mts +4 -0
  125. package/dist/components/progress/index.d.ts +4 -0
  126. package/dist/components/progress/index.js +519 -0
  127. package/dist/components/progress/index.mjs +12 -0
  128. package/dist/components/progress/progress.d.mts +208 -0
  129. package/dist/components/progress/progress.d.ts +208 -0
  130. package/dist/components/progress/progress.js +513 -0
  131. package/dist/components/progress/progress.mjs +11 -0
  132. package/dist/components/radio/index.js +17 -2
  133. package/dist/components/radio/index.mjs +3 -3
  134. package/dist/components/radio/radio.js +17 -2
  135. package/dist/components/radio/radio.mjs +3 -3
  136. package/dist/components/ripple/index.mjs +3 -3
  137. package/dist/components/select/index.js +17 -2
  138. package/dist/components/select/index.mjs +3 -3
  139. package/dist/components/select/select.js +17 -2
  140. package/dist/components/select/select.mjs +3 -3
  141. package/dist/components/table/definition-table.js +17 -2
  142. package/dist/components/table/definition-table.mjs +2 -2
  143. package/dist/components/table/form-table.js +17 -2
  144. package/dist/components/table/form-table.mjs +1 -1
  145. package/dist/components/table/index.js +17 -2
  146. package/dist/components/table/index.mjs +9 -9
  147. package/dist/components/table/table-body.js +17 -2
  148. package/dist/components/table/table-body.mjs +8 -8
  149. package/dist/components/table/table-head.js +17 -2
  150. package/dist/components/table/table-head.mjs +8 -8
  151. package/dist/components/table/table.js +17 -2
  152. package/dist/components/table/table.mjs +8 -8
  153. package/dist/components/tabs/index.js +17 -2
  154. package/dist/components/tabs/index.mjs +2 -2
  155. package/dist/components/tabs/tabs.js +17 -2
  156. package/dist/components/tabs/tabs.mjs +2 -2
  157. package/dist/components/textarea/index.mjs +2 -2
  158. package/dist/components/textarea/textarea.mjs +2 -2
  159. package/dist/components/toast/index.js +17 -2
  160. package/dist/components/toast/index.mjs +4 -4
  161. package/dist/components/toast/toast.js +17 -2
  162. package/dist/components/toast/toast.mjs +3 -3
  163. package/dist/components/toast/use-toast.js +17 -2
  164. package/dist/components/toast/use-toast.mjs +4 -4
  165. package/dist/components/tooltip/index.js +17 -2
  166. package/dist/components/tooltip/index.mjs +2 -2
  167. package/dist/components/tooltip/tooltip.js +17 -2
  168. package/dist/components/tooltip/tooltip.mjs +2 -2
  169. package/dist/components/tree/index.js +17 -2
  170. package/dist/components/tree/index.mjs +2 -2
  171. package/dist/components/tree/tree.js +17 -2
  172. package/dist/components/tree/tree.mjs +2 -2
  173. package/dist/hooks/useIsMounted.d.mts +8 -0
  174. package/dist/hooks/useIsMounted.d.ts +8 -0
  175. package/dist/hooks/useIsMounted.js +59 -0
  176. package/dist/hooks/useIsMounted.mjs +8 -0
  177. package/dist/index.d.mts +3 -0
  178. package/dist/index.d.ts +3 -0
  179. package/dist/index.js +2459 -2024
  180. package/dist/index.mjs +79 -64
  181. package/dist/utils/tailwind-variants.js +17 -2
  182. package/dist/utils/tailwind-variants.mjs +1 -1
  183. package/package.json +1 -1
  184. package/dist/{chunk-4EIGHKUO.mjs → chunk-6Q2BXHJL.mjs} +3 -3
@@ -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
+ };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- tv
4
- } from "./chunk-XOPCRI7Z.mjs";
5
2
  import {
6
3
  mapPropsVariants
7
4
  } from "./chunk-E3G5QXSH.mjs";
5
+ import {
6
+ tv
7
+ } from "./chunk-CDXBML6O.mjs";
8
8
 
9
9
  // src/components/charts/barChart.tsx
10
10
  import { forwardRef, useEffect, useMemo, useRef, useState } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ mapPropsVariants
4
+ } from "./chunk-E3G5QXSH.mjs";
2
5
  import {
3
6
  tv
4
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
- import {
9
- mapPropsVariants
10
- } from "./chunk-E3G5QXSH.mjs";
11
11
 
12
12
  // src/components/radio/radio.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import {
3
- avatar_default
4
- } from "./chunk-FUPY7MXT.mjs";
5
2
  import {
6
3
  Icon_default
7
4
  } from "./chunk-JP4TEWP7.mjs";
8
- import {
9
- tv
10
- } from "./chunk-XOPCRI7Z.mjs";
11
5
  import {
12
6
  mapPropsVariants
13
7
  } from "./chunk-E3G5QXSH.mjs";
8
+ import {
9
+ avatar_default
10
+ } from "./chunk-NTNIGQGI.mjs";
11
+ import {
12
+ tv
13
+ } from "./chunk-CDXBML6O.mjs";
14
14
 
15
15
  // src/components/list/listItem.tsx
16
16
  import { forwardRef, useMemo } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tv
4
- } from "./chunk-XOPCRI7Z.mjs";
4
+ } from "./chunk-CDXBML6O.mjs";
5
5
 
6
6
  // src/components/button/button-group.tsx
7
7
  import React, { forwardRef } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ mapPropsVariants
4
+ } from "./chunk-E3G5QXSH.mjs";
2
5
  import {
3
6
  tv
4
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
- import {
9
- mapPropsVariants
10
- } from "./chunk-E3G5QXSH.mjs";
11
11
 
12
12
  // src/components/button/text-button.tsx
13
13
  import {
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-F3HENRVM.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-5M7UDEMG.mjs";
7
+ } from "./chunk-MVL7HJSH.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-JP4TEWP7.mjs";
11
+ import {
12
+ mapPropsVariants
13
+ } from "./chunk-E3G5QXSH.mjs";
11
14
  import {
12
15
  tv
13
- } from "./chunk-XOPCRI7Z.mjs";
16
+ } from "./chunk-CDXBML6O.mjs";
14
17
  import {
15
18
  clsx
16
19
  } from "./chunk-27Y6K5NK.mjs";
17
- import {
18
- mapPropsVariants
19
- } from "./chunk-E3G5QXSH.mjs";
20
20
 
21
21
  // src/components/pagination/pagination.tsx
22
22
  import { forwardRef, useMemo, useState } from "react";
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  Icon_default
4
4
  } from "./chunk-JP4TEWP7.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
5
8
  import {
6
9
  tv
7
- } from "./chunk-XOPCRI7Z.mjs";
10
+ } from "./chunk-CDXBML6O.mjs";
8
11
  import {
9
12
  clsx
10
13
  } from "./chunk-27Y6K5NK.mjs";
11
- import {
12
- mapPropsVariants
13
- } from "./chunk-E3G5QXSH.mjs";
14
14
 
15
15
  // src/components/input/input.tsx
16
16
  import {
@@ -0,0 +1 @@
1
+ "use client";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-RRONV7YA.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
8
8
 
9
9
  // src/components/avatar/avatar.tsx
10
10
  import { forwardRef, useMemo } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ text_button_default
4
+ } from "./chunk-JBSV7GCL.mjs";
2
5
  import {
3
6
  Icon_default
4
7
  } from "./chunk-JP4TEWP7.mjs";
5
- import {
6
- text_button_default
7
- } from "./chunk-TVTIX7MO.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-XOPCRI7Z.mjs";
10
+ } from "./chunk-CDXBML6O.mjs";
11
11
 
12
12
  // src/components/breadcrumb/breadcrumb.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ mapPropsVariants
4
+ } from "./chunk-E3G5QXSH.mjs";
2
5
  import {
3
6
  tv
4
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
- import {
9
- mapPropsVariants
10
- } from "./chunk-E3G5QXSH.mjs";
11
11
 
12
12
  // src/components/drawer/drawer.tsx
13
13
  import { forwardRef, useMemo, useEffect, useState } from "react";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  Icon_default
4
4
  } from "./chunk-JP4TEWP7.mjs";
5
- import {
6
- tv
7
- } from "./chunk-XOPCRI7Z.mjs";
8
5
  import {
9
6
  mapPropsVariants
10
7
  } from "./chunk-E3G5QXSH.mjs";
8
+ import {
9
+ tv
10
+ } from "./chunk-CDXBML6O.mjs";
11
11
 
12
12
  // src/components/chip/chip.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- tv
4
- } from "./chunk-XOPCRI7Z.mjs";
5
2
  import {
6
3
  mapPropsVariants
7
4
  } from "./chunk-E3G5QXSH.mjs";
5
+ import {
6
+ tv
7
+ } from "./chunk-CDXBML6O.mjs";
8
8
 
9
9
  // src/components/charts/areaChart.tsx
10
10
  import { forwardRef, useMemo, useState, useRef, useEffect, useId } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ mapPropsVariants
4
+ } from "./chunk-E3G5QXSH.mjs";
2
5
  import {
3
6
  tv
4
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
- import {
9
- mapPropsVariants
10
- } from "./chunk-E3G5QXSH.mjs";
11
11
 
12
12
  // src/components/checkbox/checkbox.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JP4TEWP7.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-XOPCRI7Z.mjs";
7
+ } from "./chunk-CDXBML6O.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -1,19 +1,19 @@
1
1
  "use client";
2
- import {
3
- ripple_default
4
- } from "./chunk-LXHUO6VM.mjs";
5
2
  import {
6
3
  useRipple
7
4
  } from "./chunk-6PNKRBUT.mjs";
5
+ import {
6
+ ripple_default
7
+ } from "./chunk-LXHUO6VM.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-JP4TEWP7.mjs";
11
- import {
12
- tv
13
- } from "./chunk-XOPCRI7Z.mjs";
14
11
  import {
15
12
  mapPropsVariants
16
13
  } from "./chunk-E3G5QXSH.mjs";
14
+ import {
15
+ tv
16
+ } from "./chunk-CDXBML6O.mjs";
17
17
 
18
18
  // src/components/button/icon-button.tsx
19
19
  import { forwardRef, useMemo, useCallback } from "react";
@@ -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 };