@nextui-org/theme 0.0.0-canary-20240429052129

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 (286) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -0
  3. package/colors.d.ts +1 -0
  4. package/colors.js +1 -0
  5. package/dist/animations/index.d.ts +71 -0
  6. package/dist/animations/index.js +98 -0
  7. package/dist/animations/index.mjs +6 -0
  8. package/dist/chunk-2PIR7DFM.mjs +77 -0
  9. package/dist/chunk-3FZU25GR.mjs +33 -0
  10. package/dist/chunk-3LKKH4AR.mjs +17 -0
  11. package/dist/chunk-4Z22WXZX.mjs +21 -0
  12. package/dist/chunk-4ZM6AI3H.mjs +366 -0
  13. package/dist/chunk-6XJJCV76.mjs +243 -0
  14. package/dist/chunk-726LN7M3.mjs +20 -0
  15. package/dist/chunk-7ODIBITJ.mjs +172 -0
  16. package/dist/chunk-7TJINK3S.mjs +390 -0
  17. package/dist/chunk-AC6F4DT6.mjs +485 -0
  18. package/dist/chunk-AGUZRGXC.mjs +12 -0
  19. package/dist/chunk-AO2AAOEJ.mjs +56 -0
  20. package/dist/chunk-AT4OXKKK.mjs +58 -0
  21. package/dist/chunk-CMYR6AOY.mjs +0 -0
  22. package/dist/chunk-CQY2A2EX.mjs +401 -0
  23. package/dist/chunk-CTY7IP65.mjs +723 -0
  24. package/dist/chunk-CUUGEIPA.mjs +474 -0
  25. package/dist/chunk-D2XMP2NC.mjs +6 -0
  26. package/dist/chunk-DCEG5LGX.mjs +17 -0
  27. package/dist/chunk-DI2L75XK.mjs +22 -0
  28. package/dist/chunk-DMASP6FA.mjs +74 -0
  29. package/dist/chunk-ECP4S2VZ.mjs +36 -0
  30. package/dist/chunk-FRI2VDCA.mjs +306 -0
  31. package/dist/chunk-G4RCK475.mjs +155 -0
  32. package/dist/chunk-GHZ36ATJ.mjs +17 -0
  33. package/dist/chunk-GMMETTYU.mjs +30 -0
  34. package/dist/chunk-HPFX3B3F.mjs +59 -0
  35. package/dist/chunk-HUBDRSA4.mjs +49 -0
  36. package/dist/chunk-I6ESTKKY.mjs +422 -0
  37. package/dist/chunk-IAS3SFA4.mjs +42 -0
  38. package/dist/chunk-IP3D7KVB.mjs +181 -0
  39. package/dist/chunk-JQTFOIV7.mjs +108 -0
  40. package/dist/chunk-JUEOCLA3.mjs +17 -0
  41. package/dist/chunk-K7LK7NCE.mjs +0 -0
  42. package/dist/chunk-KA5SSSWD.mjs +177 -0
  43. package/dist/chunk-KCOC3H6R.mjs +98 -0
  44. package/dist/chunk-KUNVFLXJ.mjs +41 -0
  45. package/dist/chunk-KVPPQD2E.mjs +231 -0
  46. package/dist/chunk-L2OL7R23.mjs +17 -0
  47. package/dist/chunk-LDBYFTHC.mjs +134 -0
  48. package/dist/chunk-LKKSQVZ6.mjs +163 -0
  49. package/dist/chunk-M3MKSQ42.mjs +124 -0
  50. package/dist/chunk-M63AFAHO.mjs +0 -0
  51. package/dist/chunk-MUWHEIW6.mjs +831 -0
  52. package/dist/chunk-NAUU2OUH.mjs +23 -0
  53. package/dist/chunk-NYSEAAK5.mjs +214 -0
  54. package/dist/chunk-OQIS4MXV.mjs +205 -0
  55. package/dist/chunk-OR5PUD24.mjs +17 -0
  56. package/dist/chunk-PSEUPXFL.mjs +122 -0
  57. package/dist/chunk-QZTWGJ72.mjs +16 -0
  58. package/dist/chunk-RNAP5C4C.mjs +406 -0
  59. package/dist/chunk-S573WUYY.mjs +381 -0
  60. package/dist/chunk-SEKJ6A6T.mjs +396 -0
  61. package/dist/chunk-T3GWIVAM.mjs +17 -0
  62. package/dist/chunk-UODOTC2G.mjs +21 -0
  63. package/dist/chunk-UVXYPGDZ.mjs +0 -0
  64. package/dist/chunk-V5ZTBGGO.mjs +42 -0
  65. package/dist/chunk-VDRJHB4F.mjs +187 -0
  66. package/dist/chunk-VFJ7C5ZV.mjs +391 -0
  67. package/dist/chunk-VJTX4YUQ.mjs +31 -0
  68. package/dist/chunk-W6DVXJB3.mjs +21 -0
  69. package/dist/chunk-WAAJG22Y.mjs +90 -0
  70. package/dist/chunk-WBQAMGXK.mjs +0 -0
  71. package/dist/chunk-WQEDQHKX.mjs +0 -0
  72. package/dist/chunk-X7N3NQ6S.mjs +158 -0
  73. package/dist/chunk-XHQUSKIE.mjs +60 -0
  74. package/dist/chunk-YJLQTC7L.mjs +0 -0
  75. package/dist/chunk-YSA7EQBH.mjs +237 -0
  76. package/dist/chunk-YZYGFPNK.mjs +17 -0
  77. package/dist/colors/blue.d.ts +14 -0
  78. package/dist/colors/blue.js +41 -0
  79. package/dist/colors/blue.mjs +6 -0
  80. package/dist/colors/common.d.ts +103 -0
  81. package/dist/colors/common.js +155 -0
  82. package/dist/colors/common.mjs +14 -0
  83. package/dist/colors/cyan.d.ts +14 -0
  84. package/dist/colors/cyan.js +41 -0
  85. package/dist/colors/cyan.mjs +6 -0
  86. package/dist/colors/green.d.ts +14 -0
  87. package/dist/colors/green.js +41 -0
  88. package/dist/colors/green.mjs +6 -0
  89. package/dist/colors/index.d.ts +109 -0
  90. package/dist/colors/index.js +335 -0
  91. package/dist/colors/index.mjs +24 -0
  92. package/dist/colors/pink.d.ts +14 -0
  93. package/dist/colors/pink.js +41 -0
  94. package/dist/colors/pink.mjs +6 -0
  95. package/dist/colors/purple.d.ts +14 -0
  96. package/dist/colors/purple.js +41 -0
  97. package/dist/colors/purple.mjs +6 -0
  98. package/dist/colors/red.d.ts +14 -0
  99. package/dist/colors/red.js +41 -0
  100. package/dist/colors/red.mjs +6 -0
  101. package/dist/colors/semantic.d.ts +10 -0
  102. package/dist/colors/semantic.js +327 -0
  103. package/dist/colors/semantic.mjs +20 -0
  104. package/dist/colors/types.d.ts +39 -0
  105. package/dist/colors/types.js +18 -0
  106. package/dist/colors/types.mjs +1 -0
  107. package/dist/colors/yellow.d.ts +14 -0
  108. package/dist/colors/yellow.js +41 -0
  109. package/dist/colors/yellow.mjs +6 -0
  110. package/dist/colors/zinc.d.ts +14 -0
  111. package/dist/colors/zinc.js +41 -0
  112. package/dist/colors/zinc.mjs +6 -0
  113. package/dist/colors.d.ts +4 -0
  114. package/dist/colors.js +335 -0
  115. package/dist/colors.mjs +25 -0
  116. package/dist/components/accordion.d.ts +402 -0
  117. package/dist/components/accordion.js +154 -0
  118. package/dist/components/accordion.mjs +13 -0
  119. package/dist/components/autocomplete.d.ts +180 -0
  120. package/dist/components/autocomplete.js +107 -0
  121. package/dist/components/autocomplete.mjs +7 -0
  122. package/dist/components/avatar.d.ts +572 -0
  123. package/dist/components/avatar.js +320 -0
  124. package/dist/components/avatar.mjs +13 -0
  125. package/dist/components/badge.d.ts +484 -0
  126. package/dist/components/badge.js +501 -0
  127. package/dist/components/badge.mjs +11 -0
  128. package/dist/components/breadcrumbs.d.ts +816 -0
  129. package/dist/components/breadcrumbs.js +299 -0
  130. package/dist/components/breadcrumbs.mjs +13 -0
  131. package/dist/components/button.d.ts +393 -0
  132. package/dist/components/button.js +556 -0
  133. package/dist/components/button.mjs +13 -0
  134. package/dist/components/calendar.d.ts +495 -0
  135. package/dist/components/calendar.js +456 -0
  136. package/dist/components/calendar.mjs +11 -0
  137. package/dist/components/card.d.ts +550 -0
  138. package/dist/components/card.js +213 -0
  139. package/dist/components/card.mjs +11 -0
  140. package/dist/components/checkbox.d.ts +773 -0
  141. package/dist/components/checkbox.js +271 -0
  142. package/dist/components/checkbox.mjs +13 -0
  143. package/dist/components/chip.d.ts +737 -0
  144. package/dist/components/chip.js +611 -0
  145. package/dist/components/chip.mjs +11 -0
  146. package/dist/components/circular-progress.d.ts +430 -0
  147. package/dist/components/circular-progress.js +139 -0
  148. package/dist/components/circular-progress.mjs +7 -0
  149. package/dist/components/code.d.ts +165 -0
  150. package/dist/components/code.js +162 -0
  151. package/dist/components/code.mjs +11 -0
  152. package/dist/components/date-input.d.ts +815 -0
  153. package/dist/components/date-input.js +439 -0
  154. package/dist/components/date-input.mjs +7 -0
  155. package/dist/components/date-picker.d.ts +325 -0
  156. package/dist/components/date-picker.js +81 -0
  157. package/dist/components/date-picker.mjs +9 -0
  158. package/dist/components/divider.d.ts +52 -0
  159. package/dist/components/divider.js +70 -0
  160. package/dist/components/divider.mjs +7 -0
  161. package/dist/components/drip.d.ts +14 -0
  162. package/dist/components/drip.js +61 -0
  163. package/dist/components/drip.mjs +7 -0
  164. package/dist/components/dropdown.d.ts +417 -0
  165. package/dist/components/dropdown.js +424 -0
  166. package/dist/components/dropdown.mjs +17 -0
  167. package/dist/components/image.d.ts +355 -0
  168. package/dist/components/image.js +183 -0
  169. package/dist/components/image.mjs +7 -0
  170. package/dist/components/index.d.ts +41 -0
  171. package/dist/components/index.js +8804 -0
  172. package/dist/components/index.mjs +194 -0
  173. package/dist/components/input.d.ts +942 -0
  174. package/dist/components/input.js +893 -0
  175. package/dist/components/input.mjs +11 -0
  176. package/dist/components/kbd.d.ts +51 -0
  177. package/dist/components/kbd.js +82 -0
  178. package/dist/components/kbd.mjs +7 -0
  179. package/dist/components/link.d.ts +232 -0
  180. package/dist/components/link.js +164 -0
  181. package/dist/components/link.mjs +13 -0
  182. package/dist/components/listbox.d.ts +3 -0
  183. package/dist/components/listbox.js +531 -0
  184. package/dist/components/listbox.mjs +16 -0
  185. package/dist/components/menu.d.ts +512 -0
  186. package/dist/components/menu.js +531 -0
  187. package/dist/components/menu.mjs +15 -0
  188. package/dist/components/modal.d.ts +765 -0
  189. package/dist/components/modal.js +236 -0
  190. package/dist/components/modal.mjs +11 -0
  191. package/dist/components/navbar.d.ts +463 -0
  192. package/dist/components/navbar.js +260 -0
  193. package/dist/components/navbar.mjs +11 -0
  194. package/dist/components/pagination.d.ts +587 -0
  195. package/dist/components/pagination.js +532 -0
  196. package/dist/components/pagination.mjs +11 -0
  197. package/dist/components/popover.d.ts +715 -0
  198. package/dist/components/popover.js +303 -0
  199. package/dist/components/popover.mjs +11 -0
  200. package/dist/components/progress.d.ts +294 -0
  201. package/dist/components/progress.js +173 -0
  202. package/dist/components/progress.mjs +7 -0
  203. package/dist/components/radio.d.ts +708 -0
  204. package/dist/components/radio.js +220 -0
  205. package/dist/components/radio.mjs +13 -0
  206. package/dist/components/scroll-shadow.d.ts +82 -0
  207. package/dist/components/scroll-shadow.js +85 -0
  208. package/dist/components/scroll-shadow.mjs +7 -0
  209. package/dist/components/select.d.ts +901 -0
  210. package/dist/components/select.js +778 -0
  211. package/dist/components/select.mjs +11 -0
  212. package/dist/components/skeleton.d.ts +105 -0
  213. package/dist/components/skeleton.js +105 -0
  214. package/dist/components/skeleton.mjs +7 -0
  215. package/dist/components/slider.d.ts +1024 -0
  216. package/dist/components/slider.js +446 -0
  217. package/dist/components/slider.mjs +11 -0
  218. package/dist/components/snippet.d.ts +415 -0
  219. package/dist/components/snippet.js +426 -0
  220. package/dist/components/snippet.mjs +11 -0
  221. package/dist/components/spacer.d.ts +52 -0
  222. package/dist/components/spacer.js +70 -0
  223. package/dist/components/spacer.mjs +7 -0
  224. package/dist/components/spinner.d.ts +564 -0
  225. package/dist/components/spinner.js +171 -0
  226. package/dist/components/spinner.mjs +7 -0
  227. package/dist/components/table.d.ts +777 -0
  228. package/dist/components/table.js +286 -0
  229. package/dist/components/table.mjs +11 -0
  230. package/dist/components/tabs.d.ts +772 -0
  231. package/dist/components/tabs.js +522 -0
  232. package/dist/components/tabs.mjs +11 -0
  233. package/dist/components/toggle.d.ts +485 -0
  234. package/dist/components/toggle.js +228 -0
  235. package/dist/components/toggle.mjs +11 -0
  236. package/dist/components/user.d.ts +81 -0
  237. package/dist/components/user.js +78 -0
  238. package/dist/components/user.mjs +11 -0
  239. package/dist/default-layout.d.ts +8 -0
  240. package/dist/default-layout.js +75 -0
  241. package/dist/default-layout.mjs +10 -0
  242. package/dist/index.d.ts +52 -0
  243. package/dist/index.js +9585 -0
  244. package/dist/index.mjs +252 -0
  245. package/dist/plugin.d.ts +12 -0
  246. package/dist/plugin.js +775 -0
  247. package/dist/plugin.mjs +28 -0
  248. package/dist/types.d.ts +138 -0
  249. package/dist/types.js +18 -0
  250. package/dist/types.mjs +1 -0
  251. package/dist/utilities/custom.d.ts +22 -0
  252. package/dist/utilities/custom.js +44 -0
  253. package/dist/utilities/custom.mjs +6 -0
  254. package/dist/utilities/index.d.ts +83 -0
  255. package/dist/utilities/index.js +128 -0
  256. package/dist/utilities/index.mjs +9 -0
  257. package/dist/utilities/scrollbar-hide.d.ts +24 -0
  258. package/dist/utilities/scrollbar-hide.js +43 -0
  259. package/dist/utilities/scrollbar-hide.mjs +6 -0
  260. package/dist/utilities/transition.d.ts +58 -0
  261. package/dist/utilities/transition.js +83 -0
  262. package/dist/utilities/transition.mjs +8 -0
  263. package/dist/utils/classes.d.ts +34 -0
  264. package/dist/utils/classes.js +91 -0
  265. package/dist/utils/classes.mjs +20 -0
  266. package/dist/utils/index.d.ts +4 -0
  267. package/dist/utils/index.js +169 -0
  268. package/dist/utils/index.mjs +26 -0
  269. package/dist/utils/object.d.ts +12 -0
  270. package/dist/utils/object.js +73 -0
  271. package/dist/utils/object.mjs +10 -0
  272. package/dist/utils/theme.d.ts +9 -0
  273. package/dist/utils/theme.js +30 -0
  274. package/dist/utils/theme.mjs +6 -0
  275. package/dist/utils/tv.d.ts +5 -0
  276. package/dist/utils/tv.js +54 -0
  277. package/dist/utils/tv.mjs +6 -0
  278. package/dist/utils/types.d.ts +10 -0
  279. package/dist/utils/types.js +18 -0
  280. package/dist/utils/types.mjs +1 -0
  281. package/dist/utils/variants.d.ts +67 -0
  282. package/dist/utils/variants.js +101 -0
  283. package/dist/utils/variants.mjs +6 -0
  284. package/package.json +100 -0
  285. package/plugin.d.ts +1 -0
  286. package/plugin.js +1 -0
@@ -0,0 +1,485 @@
1
+ import {
2
+ colorVariants
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
7
+ import {
8
+ ringClasses
9
+ } from "./chunk-XHQUSKIE.mjs";
10
+
11
+ // src/components/chip.ts
12
+ var chip = tv({
13
+ slots: {
14
+ base: [
15
+ "relative",
16
+ "max-w-fit",
17
+ "min-w-min",
18
+ "inline-flex",
19
+ "items-center",
20
+ "justify-between",
21
+ "box-border",
22
+ "whitespace-nowrap"
23
+ ],
24
+ content: "flex-1 text-inherit font-normal",
25
+ dot: ["w-2", "h-2", "ml-1", "rounded-full"],
26
+ avatar: "flex-shrink-0",
27
+ closeButton: [
28
+ "z-10",
29
+ "appearance-none",
30
+ "outline-none",
31
+ "select-none",
32
+ "transition-opacity",
33
+ "opacity-70",
34
+ "hover:opacity-100",
35
+ "cursor-pointer",
36
+ "active:opacity-disabled",
37
+ "tap-highlight-transparent"
38
+ ]
39
+ },
40
+ variants: {
41
+ variant: {
42
+ solid: {},
43
+ bordered: {
44
+ base: "border-medium bg-transparent"
45
+ },
46
+ light: {
47
+ base: "bg-transparent"
48
+ },
49
+ flat: {},
50
+ faded: {
51
+ base: "border-medium"
52
+ },
53
+ shadow: {},
54
+ dot: {
55
+ base: "border-medium border-default text-foreground bg-transparent"
56
+ }
57
+ },
58
+ color: {
59
+ default: {
60
+ dot: "bg-default-400"
61
+ },
62
+ primary: {
63
+ dot: "bg-primary"
64
+ },
65
+ secondary: {
66
+ dot: "bg-secondary"
67
+ },
68
+ success: {
69
+ dot: "bg-success"
70
+ },
71
+ warning: {
72
+ dot: "bg-warning"
73
+ },
74
+ danger: {
75
+ dot: "bg-danger"
76
+ }
77
+ },
78
+ size: {
79
+ sm: {
80
+ base: "px-1 h-6 text-tiny",
81
+ content: "px-1",
82
+ closeButton: "text-medium",
83
+ avatar: "w-4 h-4"
84
+ },
85
+ md: {
86
+ base: "px-1 h-7 text-small",
87
+ content: "px-2",
88
+ closeButton: "text-large",
89
+ avatar: "w-5 h-5"
90
+ },
91
+ lg: {
92
+ base: "px-2 h-8 text-medium",
93
+ content: "px-2",
94
+ closeButton: "text-xl",
95
+ avatar: "w-6 h-6"
96
+ }
97
+ },
98
+ radius: {
99
+ none: {
100
+ base: "rounded-none"
101
+ },
102
+ sm: {
103
+ base: "rounded-small"
104
+ },
105
+ md: {
106
+ base: "rounded-medium"
107
+ },
108
+ lg: {
109
+ base: "rounded-large"
110
+ },
111
+ full: {
112
+ base: "rounded-full"
113
+ }
114
+ },
115
+ isOneChar: {
116
+ true: {},
117
+ false: {}
118
+ },
119
+ isCloseable: {
120
+ true: {},
121
+ false: {}
122
+ },
123
+ hasStartContent: {
124
+ true: {}
125
+ },
126
+ hasEndContent: {
127
+ true: {}
128
+ },
129
+ isDisabled: {
130
+ true: { base: "opacity-disabled pointer-events-none" }
131
+ },
132
+ isCloseButtonFocusVisible: {
133
+ true: {
134
+ closeButton: [...ringClasses, "ring-1", "rounded-full"]
135
+ }
136
+ }
137
+ },
138
+ defaultVariants: {
139
+ variant: "solid",
140
+ color: "default",
141
+ size: "md",
142
+ radius: "full",
143
+ isDisabled: false
144
+ },
145
+ compoundVariants: [
146
+ {
147
+ variant: "solid",
148
+ color: "default",
149
+ class: {
150
+ base: colorVariants.solid.default
151
+ }
152
+ },
153
+ {
154
+ variant: "solid",
155
+ color: "primary",
156
+ class: {
157
+ base: colorVariants.solid.primary
158
+ }
159
+ },
160
+ {
161
+ variant: "solid",
162
+ color: "secondary",
163
+ class: {
164
+ base: colorVariants.solid.secondary
165
+ }
166
+ },
167
+ {
168
+ variant: "solid",
169
+ color: "success",
170
+ class: {
171
+ base: colorVariants.solid.success
172
+ }
173
+ },
174
+ {
175
+ variant: "solid",
176
+ color: "warning",
177
+ class: {
178
+ base: colorVariants.solid.warning
179
+ }
180
+ },
181
+ {
182
+ variant: "solid",
183
+ color: "danger",
184
+ class: {
185
+ base: colorVariants.solid.danger
186
+ }
187
+ },
188
+ {
189
+ variant: "shadow",
190
+ color: "default",
191
+ class: {
192
+ base: colorVariants.shadow.default
193
+ }
194
+ },
195
+ {
196
+ variant: "shadow",
197
+ color: "primary",
198
+ class: {
199
+ base: colorVariants.shadow.primary
200
+ }
201
+ },
202
+ {
203
+ variant: "shadow",
204
+ color: "secondary",
205
+ class: {
206
+ base: colorVariants.shadow.secondary
207
+ }
208
+ },
209
+ {
210
+ variant: "shadow",
211
+ color: "success",
212
+ class: {
213
+ base: colorVariants.shadow.success
214
+ }
215
+ },
216
+ {
217
+ variant: "shadow",
218
+ color: "warning",
219
+ class: {
220
+ base: colorVariants.shadow.warning
221
+ }
222
+ },
223
+ {
224
+ variant: "shadow",
225
+ color: "danger",
226
+ class: {
227
+ base: colorVariants.shadow.danger
228
+ }
229
+ },
230
+ {
231
+ variant: "bordered",
232
+ color: "default",
233
+ class: {
234
+ base: colorVariants.bordered.default
235
+ }
236
+ },
237
+ {
238
+ variant: "bordered",
239
+ color: "primary",
240
+ class: {
241
+ base: colorVariants.bordered.primary
242
+ }
243
+ },
244
+ {
245
+ variant: "bordered",
246
+ color: "secondary",
247
+ class: {
248
+ base: colorVariants.bordered.secondary
249
+ }
250
+ },
251
+ {
252
+ variant: "bordered",
253
+ color: "success",
254
+ class: {
255
+ base: colorVariants.bordered.success
256
+ }
257
+ },
258
+ {
259
+ variant: "bordered",
260
+ color: "warning",
261
+ class: {
262
+ base: colorVariants.bordered.warning
263
+ }
264
+ },
265
+ {
266
+ variant: "bordered",
267
+ color: "danger",
268
+ class: {
269
+ base: colorVariants.bordered.danger
270
+ }
271
+ },
272
+ {
273
+ variant: "flat",
274
+ color: "default",
275
+ class: {
276
+ base: colorVariants.flat.default
277
+ }
278
+ },
279
+ {
280
+ variant: "flat",
281
+ color: "primary",
282
+ class: {
283
+ base: colorVariants.flat.primary
284
+ }
285
+ },
286
+ {
287
+ variant: "flat",
288
+ color: "secondary",
289
+ class: {
290
+ base: colorVariants.flat.secondary
291
+ }
292
+ },
293
+ {
294
+ variant: "flat",
295
+ color: "success",
296
+ class: {
297
+ base: colorVariants.flat.success
298
+ }
299
+ },
300
+ {
301
+ variant: "flat",
302
+ color: "warning",
303
+ class: {
304
+ base: colorVariants.flat.warning
305
+ }
306
+ },
307
+ {
308
+ variant: "flat",
309
+ color: "danger",
310
+ class: {
311
+ base: colorVariants.flat.danger
312
+ }
313
+ },
314
+ {
315
+ variant: "faded",
316
+ color: "default",
317
+ class: {
318
+ base: colorVariants.faded.default
319
+ }
320
+ },
321
+ {
322
+ variant: "faded",
323
+ color: "primary",
324
+ class: {
325
+ base: colorVariants.faded.primary
326
+ }
327
+ },
328
+ {
329
+ variant: "faded",
330
+ color: "secondary",
331
+ class: {
332
+ base: colorVariants.faded.secondary
333
+ }
334
+ },
335
+ {
336
+ variant: "faded",
337
+ color: "success",
338
+ class: {
339
+ base: colorVariants.faded.success
340
+ }
341
+ },
342
+ {
343
+ variant: "faded",
344
+ color: "warning",
345
+ class: {
346
+ base: colorVariants.faded.warning
347
+ }
348
+ },
349
+ {
350
+ variant: "faded",
351
+ color: "danger",
352
+ class: {
353
+ base: colorVariants.faded.danger
354
+ }
355
+ },
356
+ {
357
+ variant: "light",
358
+ color: "default",
359
+ class: {
360
+ base: colorVariants.light.default
361
+ }
362
+ },
363
+ {
364
+ variant: "light",
365
+ color: "primary",
366
+ class: {
367
+ base: colorVariants.light.primary
368
+ }
369
+ },
370
+ {
371
+ variant: "light",
372
+ color: "secondary",
373
+ class: {
374
+ base: colorVariants.light.secondary
375
+ }
376
+ },
377
+ {
378
+ variant: "light",
379
+ color: "success",
380
+ class: {
381
+ base: colorVariants.light.success
382
+ }
383
+ },
384
+ {
385
+ variant: "light",
386
+ color: "warning",
387
+ class: {
388
+ base: colorVariants.light.warning
389
+ }
390
+ },
391
+ {
392
+ variant: "light",
393
+ color: "danger",
394
+ class: {
395
+ base: colorVariants.light.danger
396
+ }
397
+ },
398
+ {
399
+ isOneChar: true,
400
+ hasStartContent: false,
401
+ hasEndContent: false,
402
+ size: "sm",
403
+ class: {
404
+ base: "w-5 h-5 min-w-5 min-h-5"
405
+ }
406
+ },
407
+ {
408
+ isOneChar: true,
409
+ hasStartContent: false,
410
+ hasEndContent: false,
411
+ size: "md",
412
+ class: {
413
+ base: "w-6 h-6 min-w-6 min-h-6"
414
+ }
415
+ },
416
+ {
417
+ isOneChar: true,
418
+ hasStartContent: false,
419
+ hasEndContent: false,
420
+ size: "lg",
421
+ class: {
422
+ base: "w-7 h-7 min-w-7 min-h-7"
423
+ }
424
+ },
425
+ {
426
+ isOneChar: true,
427
+ isCloseable: false,
428
+ hasStartContent: false,
429
+ hasEndContent: false,
430
+ class: {
431
+ base: "px-0 justify-center",
432
+ content: "px-0 flex-none"
433
+ }
434
+ },
435
+ {
436
+ isOneChar: true,
437
+ isCloseable: true,
438
+ hasStartContent: false,
439
+ hasEndContent: false,
440
+ class: {
441
+ base: "w-auto"
442
+ }
443
+ },
444
+ {
445
+ isOneChar: true,
446
+ variant: "dot",
447
+ class: {
448
+ base: "w-auto h-7 px-1 items-center",
449
+ content: "px-2"
450
+ }
451
+ },
452
+ {
453
+ hasStartContent: true,
454
+ size: "sm",
455
+ class: {
456
+ content: "pl-0.5"
457
+ }
458
+ },
459
+ {
460
+ hasStartContent: true,
461
+ size: ["md", "lg"],
462
+ class: {
463
+ content: "pl-1"
464
+ }
465
+ },
466
+ {
467
+ hasEndContent: true,
468
+ size: "sm",
469
+ class: {
470
+ content: "pr-0.5"
471
+ }
472
+ },
473
+ {
474
+ hasEndContent: true,
475
+ size: ["md", "lg"],
476
+ class: {
477
+ content: "pr-1"
478
+ }
479
+ }
480
+ ]
481
+ });
482
+
483
+ export {
484
+ chip
485
+ };
@@ -0,0 +1,12 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
5
+ // src/components/drip.ts
6
+ var drip = tv({
7
+ base: ["absolute", "will-change-transform", "bg-current", "rounded-full", "animate-drip-expand"]
8
+ });
9
+
10
+ export {
11
+ drip
12
+ };
@@ -0,0 +1,56 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
5
+ // src/components/skeleton.ts
6
+ var skeleton = tv({
7
+ slots: {
8
+ base: [
9
+ "group",
10
+ "relative",
11
+ "overflow-hidden",
12
+ "bg-content3 dark:bg-content2",
13
+ "before:opacity-100",
14
+ "before:absolute",
15
+ "before:inset-0",
16
+ "before:-translate-x-full",
17
+ "before:animate-[shimmer_2s_infinite]",
18
+ "before:border-t",
19
+ "before:border-content4/30",
20
+ "before:bg-gradient-to-r",
21
+ "before:from-transparent",
22
+ "before:via-content4",
23
+ "dark:before:via-default-700/10",
24
+ "before:to-transparent",
25
+ "after:opacity-100",
26
+ "after:absolute",
27
+ "after:inset-0",
28
+ "after:-z-10",
29
+ "after:bg-content3",
30
+ "dark:after:bg-content2",
31
+ "data-[loaded=true]:!bg-transparent",
32
+ "data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
33
+ "data-[loaded=true]:after:opacity-0"
34
+ ],
35
+ content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
36
+ },
37
+ variants: {
38
+ disableAnimation: {
39
+ true: {
40
+ base: "before:animate-none before:transition-none after:transition-none",
41
+ content: "transition-none"
42
+ },
43
+ false: {
44
+ base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
45
+ content: "transition-opacity motion-reduce:transition-none !duration-300"
46
+ }
47
+ }
48
+ },
49
+ defaultVariants: {
50
+ disableAnimation: false
51
+ }
52
+ });
53
+
54
+ export {
55
+ skeleton
56
+ };
@@ -0,0 +1,58 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
5
+ // src/components/autocomplete.ts
6
+ var autocomplete = tv({
7
+ slots: {
8
+ base: "group inline-flex flex-column w-full",
9
+ listboxWrapper: "scroll-py-6 max-h-64 w-full",
10
+ listbox: "",
11
+ popoverContent: "w-full p-1 overflow-hidden",
12
+ endContentWrapper: "relative flex h-full items-center -mr-2",
13
+ clearButton: [
14
+ "text-medium",
15
+ "translate-x-1",
16
+ "cursor-text",
17
+ "opacity-0",
18
+ "text-default-500",
19
+ "group-data-[invalid=true]:text-danger",
20
+ "data-[visible=true]:opacity-100",
21
+ "data-[visible=true]:cursor-pointer",
22
+ "sm:data-[visible=true]:opacity-0",
23
+ "sm:group-data-[hover=true]:data-[visible=true]:opacity-100"
24
+ ],
25
+ selectorButton: "text-medium"
26
+ },
27
+ variants: {
28
+ isClearable: {
29
+ true: {},
30
+ false: {
31
+ clearButton: "hidden"
32
+ }
33
+ },
34
+ disableAnimation: {
35
+ true: {
36
+ selectorButton: "transition-none"
37
+ },
38
+ false: {
39
+ selectorButton: "transition-transform duration-150 ease motion-reduce:transition-none"
40
+ }
41
+ },
42
+ disableSelectorIconRotation: {
43
+ true: {},
44
+ false: {
45
+ selectorButton: "data-[open=true]:rotate-180"
46
+ }
47
+ }
48
+ },
49
+ defaultVariants: {
50
+ disableAnimation: false,
51
+ isClearable: true,
52
+ disableSelectorIconRotation: false
53
+ }
54
+ });
55
+
56
+ export {
57
+ autocomplete
58
+ };
File without changes