@nextui-org/theme 0.0.0-dev-v2-20230326012034

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 (181) 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 +57 -0
  6. package/dist/animations/index.js +84 -0
  7. package/dist/animations/index.mjs +6 -0
  8. package/dist/chunk-37PIXVP4.mjs +33 -0
  9. package/dist/chunk-45FXWIO6.mjs +70 -0
  10. package/dist/chunk-5OE5CWK6.mjs +84 -0
  11. package/dist/chunk-5SJ7B53O.mjs +0 -0
  12. package/dist/chunk-5Z3NCB7W.mjs +391 -0
  13. package/dist/chunk-7BYRB2YS.mjs +386 -0
  14. package/dist/chunk-7MQD7UA2.mjs +16 -0
  15. package/dist/chunk-B5S7HT6N.mjs +44 -0
  16. package/dist/chunk-CMYR6AOY.mjs +0 -0
  17. package/dist/chunk-CO6ANWRA.mjs +125 -0
  18. package/dist/chunk-CRCBVLUP.mjs +38 -0
  19. package/dist/chunk-D4TJV7NY.mjs +206 -0
  20. package/dist/chunk-DCEG5LGX.mjs +17 -0
  21. package/dist/chunk-FS36US4S.mjs +25 -0
  22. package/dist/chunk-HHWXPWYN.mjs +13 -0
  23. package/dist/chunk-IJCHUO4J.mjs +38 -0
  24. package/dist/chunk-K7LK7NCE.mjs +0 -0
  25. package/dist/chunk-KZJBCC2H.mjs +17 -0
  26. package/dist/chunk-L2OL7R23.mjs +17 -0
  27. package/dist/chunk-LGGZKBOO.mjs +77 -0
  28. package/dist/chunk-M63AFAHO.mjs +0 -0
  29. package/dist/chunk-MLH3XSY7.mjs +14 -0
  30. package/dist/chunk-NJQP2VWT.mjs +160 -0
  31. package/dist/chunk-OIVGIOVG.mjs +9 -0
  32. package/dist/chunk-OR5PUD24.mjs +17 -0
  33. package/dist/chunk-OSARGUKT.mjs +326 -0
  34. package/dist/chunk-QIC7EALL.mjs +277 -0
  35. package/dist/chunk-QMP2FDFR.mjs +240 -0
  36. package/dist/chunk-QPN3H4E3.mjs +60 -0
  37. package/dist/chunk-RD42SVXB.mjs +90 -0
  38. package/dist/chunk-T3GWIVAM.mjs +17 -0
  39. package/dist/chunk-TV7EJNXI.mjs +457 -0
  40. package/dist/chunk-U77YMEWM.mjs +13 -0
  41. package/dist/chunk-VB4T62HR.mjs +159 -0
  42. package/dist/chunk-VKFQ7EZN.mjs +17 -0
  43. package/dist/chunk-WQEDQHKX.mjs +0 -0
  44. package/dist/chunk-Y37XC5QN.mjs +169 -0
  45. package/dist/chunk-Y4YW5MKL.mjs +17 -0
  46. package/dist/chunk-Y52EXP4A.mjs +142 -0
  47. package/dist/chunk-YYBLBQIV.mjs +16 -0
  48. package/dist/chunk-YZYGFPNK.mjs +17 -0
  49. package/dist/chunk-Z5OKZPNV.mjs +190 -0
  50. package/dist/colors/blue.d.ts +14 -0
  51. package/dist/colors/blue.js +41 -0
  52. package/dist/colors/blue.mjs +6 -0
  53. package/dist/colors/common.d.ts +91 -0
  54. package/dist/colors/common.js +140 -0
  55. package/dist/colors/common.mjs +13 -0
  56. package/dist/colors/cyan.d.ts +14 -0
  57. package/dist/colors/cyan.js +41 -0
  58. package/dist/colors/cyan.mjs +6 -0
  59. package/dist/colors/green.d.ts +14 -0
  60. package/dist/colors/green.js +41 -0
  61. package/dist/colors/green.mjs +6 -0
  62. package/dist/colors/index.d.ts +97 -0
  63. package/dist/colors/index.js +306 -0
  64. package/dist/colors/index.mjs +23 -0
  65. package/dist/colors/pink.d.ts +14 -0
  66. package/dist/colors/pink.js +41 -0
  67. package/dist/colors/pink.mjs +6 -0
  68. package/dist/colors/purple.d.ts +14 -0
  69. package/dist/colors/purple.js +41 -0
  70. package/dist/colors/purple.mjs +6 -0
  71. package/dist/colors/red.d.ts +14 -0
  72. package/dist/colors/red.js +41 -0
  73. package/dist/colors/red.mjs +6 -0
  74. package/dist/colors/semantic.d.ts +10 -0
  75. package/dist/colors/semantic.js +298 -0
  76. package/dist/colors/semantic.mjs +19 -0
  77. package/dist/colors/types.d.ts +37 -0
  78. package/dist/colors/types.js +18 -0
  79. package/dist/colors/types.mjs +1 -0
  80. package/dist/colors/yellow.d.ts +14 -0
  81. package/dist/colors/yellow.js +41 -0
  82. package/dist/colors/yellow.mjs +6 -0
  83. package/dist/colors.d.ts +4 -0
  84. package/dist/colors.js +306 -0
  85. package/dist/colors.mjs +24 -0
  86. package/dist/components/accordion-item.d.ts +135 -0
  87. package/dist/components/accordion-item.js +122 -0
  88. package/dist/components/accordion-item.mjs +10 -0
  89. package/dist/components/accordion.d.ts +30 -0
  90. package/dist/components/accordion.js +40 -0
  91. package/dist/components/accordion.mjs +6 -0
  92. package/dist/components/avatar-group.d.ts +26 -0
  93. package/dist/components/avatar-group.js +38 -0
  94. package/dist/components/avatar-group.mjs +6 -0
  95. package/dist/components/avatar.d.ts +211 -0
  96. package/dist/components/avatar.js +315 -0
  97. package/dist/components/avatar.mjs +10 -0
  98. package/dist/components/badge.d.ts +235 -0
  99. package/dist/components/badge.js +487 -0
  100. package/dist/components/badge.mjs +10 -0
  101. package/dist/components/button-group.d.ts +26 -0
  102. package/dist/components/button-group.js +41 -0
  103. package/dist/components/button-group.mjs +6 -0
  104. package/dist/components/button.d.ts +122 -0
  105. package/dist/components/button.js +429 -0
  106. package/dist/components/button.mjs +10 -0
  107. package/dist/components/card.d.ts +239 -0
  108. package/dist/components/card.js +222 -0
  109. package/dist/components/card.mjs +10 -0
  110. package/dist/components/checkbox-group.d.ts +32 -0
  111. package/dist/components/checkbox-group.js +37 -0
  112. package/dist/components/checkbox-group.mjs +6 -0
  113. package/dist/components/checkbox.d.ts +226 -0
  114. package/dist/components/checkbox.js +192 -0
  115. package/dist/components/checkbox.mjs +10 -0
  116. package/dist/components/chip.d.ts +274 -0
  117. package/dist/components/chip.js +560 -0
  118. package/dist/components/chip.mjs +10 -0
  119. package/dist/components/code.d.ts +68 -0
  120. package/dist/components/code.js +140 -0
  121. package/dist/components/code.mjs +10 -0
  122. package/dist/components/drip.d.ts +14 -0
  123. package/dist/components/drip.js +33 -0
  124. package/dist/components/drip.mjs +6 -0
  125. package/dist/components/index.d.ts +24 -0
  126. package/dist/components/index.js +3442 -0
  127. package/dist/components/index.mjs +95 -0
  128. package/dist/components/link.d.ts +74 -0
  129. package/dist/components/link.js +117 -0
  130. package/dist/components/link.mjs +10 -0
  131. package/dist/components/pagination.d.ts +201 -0
  132. package/dist/components/pagination.js +489 -0
  133. package/dist/components/pagination.mjs +10 -0
  134. package/dist/components/radio-group.d.ts +32 -0
  135. package/dist/components/radio-group.js +37 -0
  136. package/dist/components/radio-group.mjs +6 -0
  137. package/dist/components/radio.d.ts +271 -0
  138. package/dist/components/radio.js +201 -0
  139. package/dist/components/radio.mjs +10 -0
  140. package/dist/components/snippet.d.ts +184 -0
  141. package/dist/components/snippet.js +343 -0
  142. package/dist/components/snippet.mjs +10 -0
  143. package/dist/components/spinner.d.ts +192 -0
  144. package/dist/components/spinner.js +149 -0
  145. package/dist/components/spinner.mjs +6 -0
  146. package/dist/components/toggle.d.ts +197 -0
  147. package/dist/components/toggle.js +191 -0
  148. package/dist/components/toggle.mjs +10 -0
  149. package/dist/components/tooltip.d.ts +176 -0
  150. package/dist/components/tooltip.js +373 -0
  151. package/dist/components/tooltip.mjs +10 -0
  152. package/dist/components/user.d.ts +40 -0
  153. package/dist/components/user.js +57 -0
  154. package/dist/components/user.mjs +10 -0
  155. package/dist/index.d.ts +35 -0
  156. package/dist/index.js +3747 -0
  157. package/dist/index.mjs +138 -0
  158. package/dist/plugin.d.ts +38 -0
  159. package/dist/plugin.js +564 -0
  160. package/dist/plugin.mjs +151 -0
  161. package/dist/utilities/index.d.ts +72 -0
  162. package/dist/utilities/index.js +94 -0
  163. package/dist/utilities/index.mjs +6 -0
  164. package/dist/utils/index.d.ts +4 -0
  165. package/dist/utils/index.js +144 -0
  166. package/dist/utils/index.mjs +20 -0
  167. package/dist/utils/object.d.ts +4 -0
  168. package/dist/utils/object.js +58 -0
  169. package/dist/utils/object.mjs +8 -0
  170. package/dist/utils/styles.d.ts +20 -0
  171. package/dist/utils/styles.js +66 -0
  172. package/dist/utils/styles.mjs +14 -0
  173. package/dist/utils/types.d.ts +10 -0
  174. package/dist/utils/types.js +18 -0
  175. package/dist/utils/types.mjs +1 -0
  176. package/dist/utils/variants.d.ts +67 -0
  177. package/dist/utils/variants.js +101 -0
  178. package/dist/utils/variants.mjs +6 -0
  179. package/package.json +85 -0
  180. package/plugin.d.ts +1 -0
  181. package/plugin.js +1 -0
@@ -0,0 +1,489 @@
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/pagination.ts
21
+ var pagination_exports = {};
22
+ __export(pagination_exports, {
23
+ pagination: () => pagination
24
+ });
25
+ module.exports = __toCommonJS(pagination_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+
28
+ // src/utils/styles.ts
29
+ var ringClasses = [
30
+ "outline-none",
31
+ "ring-2",
32
+ "!ring-primary",
33
+ "ring-offset-2",
34
+ "ring-offset-background",
35
+ "dark:ring-offset-background-dark"
36
+ ];
37
+
38
+ // src/utils/variants.ts
39
+ var solid = {
40
+ neutral: "bg-neutral text-neutral-contrastText",
41
+ primary: "bg-primary text-primary-contrastText",
42
+ secondary: "bg-secondary text-secondary-contrastText",
43
+ success: "bg-success text-success-contrastText",
44
+ warning: "bg-warning text-warning-contrastText",
45
+ danger: "bg-danger text-danger-contrastText",
46
+ foreground: "bg-foreground text-background"
47
+ };
48
+ var shadow = {
49
+ neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-contrastText",
50
+ primary: "shadow-lg shadow-primary/40 bg-primary text-primary-contrastText",
51
+ secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-contrastText",
52
+ success: "shadow-lg shadow-success/40 bg-success text-success-contrastText",
53
+ warning: "shadow-lg shadow-warning/40 bg-warning text-warning-contrastText",
54
+ danger: "shadow-lg shadow-danger/40 bg-danger text-danger-contrastText",
55
+ foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
56
+ };
57
+ var bordered = {
58
+ neutral: "bg-transparent border-neutral text-foreground",
59
+ primary: "bg-transparent border-primary text-primary",
60
+ secondary: "bg-transparent border-secondary text-secondary",
61
+ success: "bg-transparent border-success text-success",
62
+ warning: "bg-transparent border-warning text-warning",
63
+ danger: "bg-transparent border-danger text-danger",
64
+ foreground: "bg-transparent border-foreground text-foreground"
65
+ };
66
+ var flat = {
67
+ neutral: "bg-neutral-100 text-neutral-contrastText",
68
+ primary: "bg-primary-50 text-primary",
69
+ secondary: "bg-secondary-100 text-secondary",
70
+ success: "bg-success-50 text-success",
71
+ warning: "bg-warning-50 text-warning",
72
+ danger: "bg-danger-50 text-danger",
73
+ foreground: "bg-foreground/10 text-foreground"
74
+ };
75
+ var faded = {
76
+ neutral: "border-neutral bg-neutral-100 text-neutral-contrastText",
77
+ primary: "border-neutral bg-neutral-100 text-primary",
78
+ secondary: "border-neutral bg-neutral-100 text-secondary",
79
+ success: "border-neutral bg-neutral-100 text-success",
80
+ warning: "border-neutral bg-neutral-100 text-warning",
81
+ danger: "border-neutral bg-neutral-100 text-danger",
82
+ foreground: "border-neutral bg-neutral-100 text-foreground"
83
+ };
84
+ var light = {
85
+ neutral: "bg-transparent text-neutral-contrastText",
86
+ primary: "bg-transparent text-primary",
87
+ secondary: "bg-transparent text-secondary",
88
+ success: "bg-transparent text-success",
89
+ warning: "bg-transparent text-warning",
90
+ danger: "bg-transparent text-danger",
91
+ foreground: "bg-transparent text-foreground"
92
+ };
93
+ var ghost = {
94
+ neutral: "border-neutral text-neutral-contrastText hover:!bg-neutral",
95
+ primary: "border-primary text-primary hover:!text-primary-contrastText hover:!bg-primary",
96
+ secondary: "border-secondary text-secondary hover:text-secondary-contrastText hover:!bg-secondary",
97
+ success: "border-success text-success hover:!text-success-contrastText hover:!bg-success",
98
+ warning: "border-warning text-warning hover:!text-warning-contrastText hover:!bg-warning",
99
+ danger: "border-danger text-danger hover:!text-danger-contrastText hover:!bg-danger",
100
+ foreground: "border-foreground text-foreground hover:!bg-foreground"
101
+ };
102
+ var colorVariants = {
103
+ solid,
104
+ shadow,
105
+ bordered,
106
+ flat,
107
+ faded,
108
+ light,
109
+ ghost
110
+ };
111
+
112
+ // src/components/pagination.ts
113
+ var pagination = (0, import_tailwind_variants.tv)({
114
+ slots: {
115
+ base: "flex flex-wrap relative items-center gap-1 max-w-fit",
116
+ item: "",
117
+ prev: "",
118
+ next: "",
119
+ cursor: [
120
+ "absolute",
121
+ "flex",
122
+ "overflow-visible",
123
+ "items-center",
124
+ "justify-center",
125
+ "origin-center",
126
+ "left-0"
127
+ ]
128
+ },
129
+ variants: {
130
+ variant: {
131
+ bordered: {
132
+ item: ["border-1.5", "border-neutral", "bg-transparent", "hover:bg-neutral-100"]
133
+ },
134
+ light: {
135
+ item: "bg-transparent"
136
+ },
137
+ flat: {},
138
+ faded: {
139
+ item: "border-1.5"
140
+ }
141
+ },
142
+ color: {
143
+ neutral: {
144
+ cursor: colorVariants.solid.neutral
145
+ },
146
+ primary: {
147
+ cursor: colorVariants.solid.primary
148
+ },
149
+ secondary: {
150
+ cursor: colorVariants.solid.secondary
151
+ },
152
+ success: {
153
+ cursor: colorVariants.solid.success
154
+ },
155
+ warning: {
156
+ cursor: colorVariants.solid.warning
157
+ },
158
+ danger: {
159
+ cursor: colorVariants.solid.danger
160
+ }
161
+ },
162
+ size: {
163
+ xs: {},
164
+ sm: {},
165
+ md: {},
166
+ lg: {},
167
+ xl: {}
168
+ },
169
+ radius: {
170
+ none: {},
171
+ base: {},
172
+ sm: {},
173
+ md: {},
174
+ lg: {},
175
+ xl: {},
176
+ full: {}
177
+ },
178
+ isCompact: {
179
+ true: {
180
+ base: "gap-0",
181
+ item: [
182
+ "first-of-type:rounded-r-none",
183
+ "last-of-type:rounded-l-none",
184
+ "[&:not(:first-of-type):not(:last-of-type)]:rounded-none"
185
+ ],
186
+ prev: "!rounded-r-none",
187
+ next: "!rounded-l-none"
188
+ }
189
+ },
190
+ isDisabled: {
191
+ true: {
192
+ base: "opacity-50 pointer-events-none"
193
+ }
194
+ },
195
+ isFocusVisible: {
196
+ true: {
197
+ wrapper: [...ringClasses]
198
+ }
199
+ },
200
+ showShadow: {
201
+ true: {}
202
+ },
203
+ disableAnimation: {
204
+ true: {
205
+ item: "transition-none",
206
+ cursor: "transition-none"
207
+ },
208
+ false: {
209
+ item: "transition-background",
210
+ cursor: ["transition-transform", "!duration-300"]
211
+ }
212
+ },
213
+ disableCursor: {
214
+ true: {
215
+ cursor: "hidden"
216
+ }
217
+ }
218
+ },
219
+ defaultVariants: {
220
+ variant: "flat",
221
+ color: "primary",
222
+ size: "md",
223
+ radius: "xl",
224
+ isCompact: false,
225
+ isDisabled: false,
226
+ showShadow: false,
227
+ disableAnimation: false,
228
+ disableCursor: false
229
+ },
230
+ compoundVariants: [
231
+ {
232
+ showShadow: true,
233
+ color: "neutral",
234
+ class: {
235
+ cursor: colorVariants.shadow.neutral
236
+ }
237
+ },
238
+ {
239
+ showShadow: true,
240
+ color: "primary",
241
+ class: {
242
+ cursor: colorVariants.shadow.primary
243
+ }
244
+ },
245
+ {
246
+ showShadow: true,
247
+ color: "secondary",
248
+ class: {
249
+ cursor: colorVariants.shadow.secondary
250
+ }
251
+ },
252
+ {
253
+ showShadow: true,
254
+ color: "success",
255
+ class: {
256
+ cursor: colorVariants.shadow.success
257
+ }
258
+ },
259
+ {
260
+ showShadow: true,
261
+ color: "warning",
262
+ class: {
263
+ cursor: colorVariants.shadow.warning
264
+ }
265
+ },
266
+ {
267
+ showShadow: true,
268
+ color: "danger",
269
+ class: {
270
+ cursor: colorVariants.shadow.danger
271
+ }
272
+ },
273
+ {
274
+ isCompact: true,
275
+ variant: "bordered",
276
+ class: {
277
+ item: "[&:not(:first-of-type)]:border-l-0"
278
+ }
279
+ },
280
+ {
281
+ disableCursor: true,
282
+ color: "neutral",
283
+ class: {
284
+ item: [
285
+ "data-[active=true]:bg-neutral-400",
286
+ "data-[active=true]:border-neutral-400",
287
+ "data-[active=true]:text-neutral-contrastText"
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ disableCursor: true,
293
+ color: "primary",
294
+ class: {
295
+ item: [
296
+ "data-[active=true]:bg-primary",
297
+ "data-[active=true]:border-primary",
298
+ "data-[active=true]:text-primary-contrastText"
299
+ ]
300
+ }
301
+ },
302
+ {
303
+ disableCursor: true,
304
+ color: "secondary",
305
+ class: {
306
+ item: [
307
+ "data-[active=true]:bg-secondary",
308
+ "data-[active=true]:border-secondary",
309
+ "data-[active=true]:text-secondary-contrastText"
310
+ ]
311
+ }
312
+ },
313
+ {
314
+ disableCursor: true,
315
+ color: "success",
316
+ class: {
317
+ item: [
318
+ "data-[active=true]:bg-success",
319
+ "data-[active=true]:border-success",
320
+ "data-[active=true]:text-success-contrastText"
321
+ ]
322
+ }
323
+ },
324
+ {
325
+ disableCursor: true,
326
+ color: "warning",
327
+ class: {
328
+ item: [
329
+ "data-[active=true]:bg-warning",
330
+ "data-[active=true]:border-warning",
331
+ "data-[active=true]:text-warning-contrastText"
332
+ ]
333
+ }
334
+ },
335
+ {
336
+ disableCursor: true,
337
+ color: "danger",
338
+ class: {
339
+ item: [
340
+ "data-[active=true]:bg-danger",
341
+ "data-[active=true]:border-danger",
342
+ "data-[active=true]:text-danger-contrastText"
343
+ ]
344
+ }
345
+ },
346
+ {
347
+ disableCursor: true,
348
+ showShadow: true,
349
+ color: "neutral",
350
+ class: {
351
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-neutral/50"]
352
+ }
353
+ },
354
+ {
355
+ disableCursor: true,
356
+ showShadow: true,
357
+ color: "primary",
358
+ class: {
359
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-primary/40"]
360
+ }
361
+ },
362
+ {
363
+ disableCursor: true,
364
+ showShadow: true,
365
+ color: "secondary",
366
+ class: {
367
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-secondary/40"]
368
+ }
369
+ },
370
+ {
371
+ disableCursor: true,
372
+ showShadow: true,
373
+ color: "success",
374
+ class: {
375
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-success/40"]
376
+ }
377
+ },
378
+ {
379
+ disableCursor: true,
380
+ showShadow: true,
381
+ color: "warning",
382
+ class: {
383
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-warning/40"]
384
+ }
385
+ },
386
+ {
387
+ disableCursor: true,
388
+ showShadow: true,
389
+ color: "danger",
390
+ class: {
391
+ item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-danger/40"]
392
+ }
393
+ }
394
+ ],
395
+ compoundSlots: [
396
+ {
397
+ slots: ["item", "prev", "next"],
398
+ class: [
399
+ "flex",
400
+ "flex-wrap",
401
+ "truncate",
402
+ "box-border",
403
+ "outline-none",
404
+ "items-center",
405
+ "justify-center",
406
+ "text-neutral-contrastText"
407
+ ]
408
+ },
409
+ {
410
+ slots: ["item", "prev", "next"],
411
+ variant: "flat",
412
+ class: ["bg-neutral-100", "hover:bg-neutral-200", "active:bg-neutral-300"]
413
+ },
414
+ {
415
+ slots: ["item", "prev", "next"],
416
+ variant: "faded",
417
+ class: ["bg-neutral-100", "hover:bg-neutral-200", "active:bg-neutral-300"]
418
+ },
419
+ {
420
+ slots: ["item", "prev", "next"],
421
+ variant: "light",
422
+ class: ["hover:bg-neutral-100", "active:bg-neutral-200"]
423
+ },
424
+ {
425
+ slots: ["item", "cursor", "prev", "next"],
426
+ size: "xs",
427
+ class: "w-7 h-7 text-xs"
428
+ },
429
+ {
430
+ slots: ["item", "cursor", "prev", "next"],
431
+ size: "sm",
432
+ class: "w-8 h-8 text-sm"
433
+ },
434
+ {
435
+ slots: ["item", "cursor", "prev", "next"],
436
+ size: "md",
437
+ class: "w-9 h-9 text-sm"
438
+ },
439
+ {
440
+ slots: ["item", "cursor", "prev", "next"],
441
+ size: "lg",
442
+ class: "w-10 h-10 text-base"
443
+ },
444
+ {
445
+ slots: ["item", "cursor", "prev", "next"],
446
+ size: "xl",
447
+ class: "w-11 h-11 text-base"
448
+ },
449
+ {
450
+ slots: ["item", "cursor", "prev", "next"],
451
+ radius: "none",
452
+ class: "rounded-none"
453
+ },
454
+ {
455
+ slots: ["item", "cursor", "prev", "next"],
456
+ radius: "base",
457
+ class: "rounded-base"
458
+ },
459
+ {
460
+ slots: ["item", "cursor", "prev", "next"],
461
+ radius: "sm",
462
+ class: "rounded-sm"
463
+ },
464
+ {
465
+ slots: ["item", "cursor", "prev", "next"],
466
+ radius: "md",
467
+ class: "rounded"
468
+ },
469
+ {
470
+ slots: ["item", "cursor", "prev", "next"],
471
+ radius: "lg",
472
+ class: "rounded-lg"
473
+ },
474
+ {
475
+ slots: ["item", "cursor", "prev", "next"],
476
+ radius: "xl",
477
+ class: "rounded-xl"
478
+ },
479
+ {
480
+ slots: ["item", "cursor", "prev", "next"],
481
+ radius: "full",
482
+ class: "rounded-full"
483
+ }
484
+ ]
485
+ });
486
+ // Annotate the CommonJS export names for ESM import in node:
487
+ 0 && (module.exports = {
488
+ pagination
489
+ });
@@ -0,0 +1,10 @@
1
+ import {
2
+ pagination
3
+ } from "../chunk-7BYRB2YS.mjs";
4
+ import "../chunk-CMYR6AOY.mjs";
5
+ import "../chunk-K7LK7NCE.mjs";
6
+ import "../chunk-LGGZKBOO.mjs";
7
+ import "../chunk-IJCHUO4J.mjs";
8
+ export {
9
+ pagination
10
+ };
@@ -0,0 +1,32 @@
1
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
2
+ import * as tailwind_variants from 'tailwind-variants';
3
+
4
+ /**
5
+ * RadioGroup wrapper **Tailwind Variants** component
6
+ *
7
+ * const {base, label, wrapper} = radioGroup({...})
8
+ *
9
+ * @example
10
+ * <div className={base())}>
11
+ * <label className={label()}>Label</label>
12
+ * <div className={wrapper()} data-orientation="vertical/horizontal">
13
+ * // radios
14
+ * </div>
15
+ * </div>
16
+ */
17
+ declare const radioGroup: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsDefault<{
18
+ base: string;
19
+ label: string;
20
+ wrapper: string;
21
+ }, undefined> | {}, unknown, {
22
+ base: string;
23
+ label: string;
24
+ wrapper: string;
25
+ }, undefined, undefined, tailwind_variants_dist_config.TVConfig<tailwind_variants.TVVariantsDefault<{
26
+ base: string;
27
+ label: string;
28
+ wrapper: string;
29
+ }, undefined> | {}, unknown>>;
30
+ type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;
31
+
32
+ export { RadioGroupSlots, radioGroup };
@@ -0,0 +1,37 @@
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/radio-group.ts
21
+ var radio_group_exports = {};
22
+ __export(radio_group_exports, {
23
+ radioGroup: () => radioGroup
24
+ });
25
+ module.exports = __toCommonJS(radio_group_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var radioGroup = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ base: "relative flex flex-col gap-2",
30
+ label: "relative text-neutral-500",
31
+ wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row "
32
+ }
33
+ });
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ radioGroup
37
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ radioGroup
3
+ } from "../chunk-HHWXPWYN.mjs";
4
+ export {
5
+ radioGroup
6
+ };