@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,355 @@
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
+
5
+ /**
6
+ * Image wrapper **Tailwind Variants** component
7
+ *
8
+ * const {img, wrapper, blurredImg, zoomedWrapper} = image({...})
9
+ *
10
+ * @example
11
+ * <div className={wrapper()}>
12
+ * <img alt="image" className={img())} src="https://..." />
13
+ * // wrap the image if you want to zoom it
14
+ * <div className={zoomedWrapper()}>
15
+ * <img alt="image" className={img())} src="https://..." />
16
+ * </div>
17
+ * // duplicate it for the blur effect
18
+ * <img alt="image" className={blurredImg())} src="https://..." />
19
+ * </div>
20
+ */
21
+ declare const image: tailwind_variants.TVReturnType<{
22
+ radius: {
23
+ none: {};
24
+ sm: {};
25
+ md: {};
26
+ lg: {};
27
+ full: {};
28
+ };
29
+ shadow: {
30
+ none: {
31
+ wrapper: string;
32
+ img: string;
33
+ };
34
+ sm: {
35
+ wrapper: string;
36
+ img: string;
37
+ };
38
+ md: {
39
+ wrapper: string;
40
+ img: string;
41
+ };
42
+ lg: {
43
+ wrapper: string;
44
+ img: string;
45
+ };
46
+ };
47
+ isZoomed: {
48
+ true: {
49
+ img: string[];
50
+ };
51
+ };
52
+ showSkeleton: {
53
+ true: {
54
+ wrapper: string[];
55
+ img: string;
56
+ };
57
+ };
58
+ disableAnimation: {
59
+ true: {
60
+ img: string;
61
+ };
62
+ false: {
63
+ img: string;
64
+ };
65
+ };
66
+ }, {
67
+ wrapper: string;
68
+ zoomedWrapper: string;
69
+ img: string;
70
+ blurredImg: string[];
71
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
72
+ radius: {
73
+ none: {};
74
+ sm: {};
75
+ md: {};
76
+ lg: {};
77
+ full: {};
78
+ };
79
+ shadow: {
80
+ none: {
81
+ wrapper: string;
82
+ img: string;
83
+ };
84
+ sm: {
85
+ wrapper: string;
86
+ img: string;
87
+ };
88
+ md: {
89
+ wrapper: string;
90
+ img: string;
91
+ };
92
+ lg: {
93
+ wrapper: string;
94
+ img: string;
95
+ };
96
+ };
97
+ isZoomed: {
98
+ true: {
99
+ img: string[];
100
+ };
101
+ };
102
+ showSkeleton: {
103
+ true: {
104
+ wrapper: string[];
105
+ img: string;
106
+ };
107
+ };
108
+ disableAnimation: {
109
+ true: {
110
+ img: string;
111
+ };
112
+ false: {
113
+ img: string;
114
+ };
115
+ };
116
+ }, {
117
+ radius: {
118
+ none: {};
119
+ sm: {};
120
+ md: {};
121
+ lg: {};
122
+ full: {};
123
+ };
124
+ shadow: {
125
+ none: {
126
+ wrapper: string;
127
+ img: string;
128
+ };
129
+ sm: {
130
+ wrapper: string;
131
+ img: string;
132
+ };
133
+ md: {
134
+ wrapper: string;
135
+ img: string;
136
+ };
137
+ lg: {
138
+ wrapper: string;
139
+ img: string;
140
+ };
141
+ };
142
+ isZoomed: {
143
+ true: {
144
+ img: string[];
145
+ };
146
+ };
147
+ showSkeleton: {
148
+ true: {
149
+ wrapper: string[];
150
+ img: string;
151
+ };
152
+ };
153
+ disableAnimation: {
154
+ true: {
155
+ img: string;
156
+ };
157
+ false: {
158
+ img: string;
159
+ };
160
+ };
161
+ }>, {
162
+ radius: {
163
+ none: {};
164
+ sm: {};
165
+ md: {};
166
+ lg: {};
167
+ full: {};
168
+ };
169
+ shadow: {
170
+ none: {
171
+ wrapper: string;
172
+ img: string;
173
+ };
174
+ sm: {
175
+ wrapper: string;
176
+ img: string;
177
+ };
178
+ md: {
179
+ wrapper: string;
180
+ img: string;
181
+ };
182
+ lg: {
183
+ wrapper: string;
184
+ img: string;
185
+ };
186
+ };
187
+ isZoomed: {
188
+ true: {
189
+ img: string[];
190
+ };
191
+ };
192
+ showSkeleton: {
193
+ true: {
194
+ wrapper: string[];
195
+ img: string;
196
+ };
197
+ };
198
+ disableAnimation: {
199
+ true: {
200
+ img: string;
201
+ };
202
+ false: {
203
+ img: string;
204
+ };
205
+ };
206
+ }, {
207
+ wrapper: string;
208
+ zoomedWrapper: string;
209
+ img: string;
210
+ blurredImg: string[];
211
+ }, tailwind_variants.TVReturnType<{
212
+ radius: {
213
+ none: {};
214
+ sm: {};
215
+ md: {};
216
+ lg: {};
217
+ full: {};
218
+ };
219
+ shadow: {
220
+ none: {
221
+ wrapper: string;
222
+ img: string;
223
+ };
224
+ sm: {
225
+ wrapper: string;
226
+ img: string;
227
+ };
228
+ md: {
229
+ wrapper: string;
230
+ img: string;
231
+ };
232
+ lg: {
233
+ wrapper: string;
234
+ img: string;
235
+ };
236
+ };
237
+ isZoomed: {
238
+ true: {
239
+ img: string[];
240
+ };
241
+ };
242
+ showSkeleton: {
243
+ true: {
244
+ wrapper: string[];
245
+ img: string;
246
+ };
247
+ };
248
+ disableAnimation: {
249
+ true: {
250
+ img: string;
251
+ };
252
+ false: {
253
+ img: string;
254
+ };
255
+ };
256
+ }, {
257
+ wrapper: string;
258
+ zoomedWrapper: string;
259
+ img: string;
260
+ blurredImg: string[];
261
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
262
+ radius: {
263
+ none: {};
264
+ sm: {};
265
+ md: {};
266
+ lg: {};
267
+ full: {};
268
+ };
269
+ shadow: {
270
+ none: {
271
+ wrapper: string;
272
+ img: string;
273
+ };
274
+ sm: {
275
+ wrapper: string;
276
+ img: string;
277
+ };
278
+ md: {
279
+ wrapper: string;
280
+ img: string;
281
+ };
282
+ lg: {
283
+ wrapper: string;
284
+ img: string;
285
+ };
286
+ };
287
+ isZoomed: {
288
+ true: {
289
+ img: string[];
290
+ };
291
+ };
292
+ showSkeleton: {
293
+ true: {
294
+ wrapper: string[];
295
+ img: string;
296
+ };
297
+ };
298
+ disableAnimation: {
299
+ true: {
300
+ img: string;
301
+ };
302
+ false: {
303
+ img: string;
304
+ };
305
+ };
306
+ }, {
307
+ radius: {
308
+ none: {};
309
+ sm: {};
310
+ md: {};
311
+ lg: {};
312
+ full: {};
313
+ };
314
+ shadow: {
315
+ none: {
316
+ wrapper: string;
317
+ img: string;
318
+ };
319
+ sm: {
320
+ wrapper: string;
321
+ img: string;
322
+ };
323
+ md: {
324
+ wrapper: string;
325
+ img: string;
326
+ };
327
+ lg: {
328
+ wrapper: string;
329
+ img: string;
330
+ };
331
+ };
332
+ isZoomed: {
333
+ true: {
334
+ img: string[];
335
+ };
336
+ };
337
+ showSkeleton: {
338
+ true: {
339
+ wrapper: string[];
340
+ img: string;
341
+ };
342
+ };
343
+ disableAnimation: {
344
+ true: {
345
+ img: string;
346
+ };
347
+ false: {
348
+ img: string;
349
+ };
350
+ };
351
+ }>, unknown, unknown, undefined>>;
352
+ type ImageVariantProps = VariantProps<typeof image>;
353
+ type ImageSlots = keyof ReturnType<typeof image>;
354
+
355
+ export { ImageSlots, ImageVariantProps, image };
@@ -0,0 +1,183 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/image.ts
21
+ var image_exports = {};
22
+ __export(image_exports, {
23
+ image: () => image
24
+ });
25
+ module.exports = __toCommonJS(image_exports);
26
+
27
+ // src/utils/tv.ts
28
+ var import_tailwind_variants = require("tailwind-variants");
29
+ var COMMON_UNITS = ["small", "medium", "large"];
30
+ var tv = (options, config) => {
31
+ var _a, _b, _c;
32
+ return (0, import_tailwind_variants.tv)(options, {
33
+ ...config,
34
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
35
+ twMergeConfig: {
36
+ ...config == null ? void 0 : config.twMergeConfig,
37
+ theme: {
38
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
39
+ opacity: ["disabled"],
40
+ spacing: ["divider"],
41
+ borderWidth: COMMON_UNITS,
42
+ borderRadius: COMMON_UNITS
43
+ },
44
+ classGroups: {
45
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
46
+ shadow: [{ shadow: COMMON_UNITS }],
47
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
+ "bg-image": ["bg-stripe-gradient"]
49
+ }
50
+ }
51
+ });
52
+ };
53
+
54
+ // src/components/image.ts
55
+ var image = tv({
56
+ slots: {
57
+ wrapper: "relative shadow-black/5",
58
+ zoomedWrapper: "relative overflow-hidden rounded-inherit",
59
+ img: "relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",
60
+ blurredImg: [
61
+ "absolute",
62
+ "z-0",
63
+ "inset-0",
64
+ "w-full",
65
+ "h-full",
66
+ "object-cover",
67
+ "filter",
68
+ "blur-lg",
69
+ "scale-105",
70
+ "saturate-150",
71
+ "opacity-30",
72
+ "translate-y-1"
73
+ ]
74
+ },
75
+ variants: {
76
+ radius: {
77
+ none: {},
78
+ sm: {},
79
+ md: {},
80
+ lg: {},
81
+ full: {}
82
+ },
83
+ shadow: {
84
+ none: {
85
+ wrapper: "shadow-none",
86
+ img: "shadow-none"
87
+ },
88
+ sm: {
89
+ wrapper: "shadow-small",
90
+ img: "shadow-small"
91
+ },
92
+ md: {
93
+ wrapper: "shadow-medium",
94
+ img: "shadow-medium"
95
+ },
96
+ lg: {
97
+ wrapper: "shadow-large",
98
+ img: "shadow-large"
99
+ }
100
+ },
101
+ isZoomed: {
102
+ true: {
103
+ img: ["object-cover", "transform", "hover:scale-125"]
104
+ }
105
+ },
106
+ showSkeleton: {
107
+ true: {
108
+ wrapper: [
109
+ "group",
110
+ "relative",
111
+ "overflow-hidden",
112
+ "bg-content3 dark:bg-content2",
113
+ "before:opacity-100",
114
+ "before:absolute",
115
+ "before:inset-0",
116
+ "before:-translate-x-full",
117
+ "before:animate-[shimmer_2s_infinite]",
118
+ "before:border-t",
119
+ "before:border-content4/30",
120
+ "before:bg-gradient-to-r",
121
+ "before:from-transparent",
122
+ "before:via-content4",
123
+ "dark:before:via-default-700/10",
124
+ "before:to-transparent",
125
+ "after:opacity-100",
126
+ "after:absolute",
127
+ "after:inset-0",
128
+ "after:-z-10",
129
+ "after:bg-content3",
130
+ "dark:after:bg-content2"
131
+ ],
132
+ img: "opacity-0"
133
+ }
134
+ },
135
+ disableAnimation: {
136
+ true: {
137
+ img: "transition-none"
138
+ },
139
+ false: {
140
+ img: "transition-transform-opacity motion-reduce:transition-none !duration-300"
141
+ }
142
+ }
143
+ },
144
+ defaultVariants: {
145
+ radius: "lg",
146
+ shadow: "none",
147
+ isZoomed: false,
148
+ isBlurred: false,
149
+ showSkeleton: false,
150
+ disableAnimation: false
151
+ },
152
+ compoundSlots: [
153
+ {
154
+ slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
155
+ radius: "none",
156
+ class: "rounded-none"
157
+ },
158
+ {
159
+ slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
160
+ radius: "full",
161
+ class: "rounded-full"
162
+ },
163
+ {
164
+ slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
165
+ radius: "sm",
166
+ class: "rounded-small"
167
+ },
168
+ {
169
+ slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
170
+ radius: "md",
171
+ class: "rounded-md"
172
+ },
173
+ {
174
+ slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
175
+ radius: "lg",
176
+ class: "rounded-large"
177
+ }
178
+ ]
179
+ });
180
+ // Annotate the CommonJS export names for ESM import in node:
181
+ 0 && (module.exports = {
182
+ image
183
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ image
3
+ } from "../chunk-LDBYFTHC.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
5
+ export {
6
+ image
7
+ };
@@ -0,0 +1,41 @@
1
+ export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './avatar.js';
2
+ export { CardReturnType, CardSlots, CardVariantProps, card } from './card.js';
3
+ export { LinkVariantProps, link, linkAnchorClasses } from './link.js';
4
+ export { UserSlots, user } from './user.js';
5
+ export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './button.js';
6
+ export { drip } from './drip.js';
7
+ export { SpinnerSlots, SpinnerVariantProps, spinner } from './spinner.js';
8
+ export { CodeVariantProps, code } from './code.js';
9
+ export { PopoverSlots, PopoverVariantProps, popover } from './popover.js';
10
+ export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.js';
11
+ export { ChipSlots, ChipVariantProps, chip } from './chip.js';
12
+ export { BadgeSlots, BadgeVariantProps, badge } from './badge.js';
13
+ export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.js';
14
+ export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.js';
15
+ export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.js';
16
+ export { ToggleSlots, ToggleVariantProps, toggle } from './toggle.js';
17
+ export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './accordion.js';
18
+ export { ProgressSlots, ProgressVariantProps, progress } from './progress.js';
19
+ export { CircularProgressSlots, CircularProgressVariantProps, circularProgress } from './circular-progress.js';
20
+ export { InputSlots, InputVariantProps, input } from './input.js';
21
+ export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './dropdown.js';
22
+ export { ImageSlots, ImageVariantProps, image } from './image.js';
23
+ export { ModalSlots, ModalVariantProps, modal } from './modal.js';
24
+ export { NavbarSlots, NavbarVariantProps, navbar } from './navbar.js';
25
+ export { TableReturnType, TableSlots, TableVariantProps, table } from './table.js';
26
+ export { SpacerVariantProps, spacer } from './spacer.js';
27
+ export { DividerVariantProps, divider } from './divider.js';
28
+ export { KbdSlots, KbdVariantProps, kbd } from './kbd.js';
29
+ export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.js';
30
+ export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.js';
31
+ export { SelectSlots, SelectVariantProps, select } from './select.js';
32
+ export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.js';
33
+ export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.js';
34
+ export { SliderSlots, SliderVariantProps, slider } from './slider.js';
35
+ export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './breadcrumbs.js';
36
+ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './autocomplete.js';
37
+ export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './calendar.js';
38
+ export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './date-input.js';
39
+ export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './date-picker.js';
40
+ import 'tailwind-variants';
41
+ import 'tailwind-variants/dist/config';