@nextui-org/theme 2.2.10 → 2.3.0-beta.0

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 (165) hide show
  1. package/dist/{chunk-LSQXJEPE.mjs → chunk-2ODFPLXN.mjs} +22 -22
  2. package/dist/{chunk-BOVVTMHS.mjs → chunk-2TAKWWRG.mjs} +5 -5
  3. package/dist/chunk-3XDFZGUJ.mjs +216 -0
  4. package/dist/{chunk-3XVMTUU7.mjs → chunk-46U6G7UJ.mjs} +2 -2
  5. package/dist/{chunk-MP2JYSMR.mjs → chunk-5VB7JNVX.mjs} +2 -2
  6. package/dist/{chunk-JBKBSMXM.mjs → chunk-7IYRK3EV.mjs} +1 -1
  7. package/dist/{chunk-T2VR4T5R.mjs → chunk-AKXXHKTO.mjs} +1 -1
  8. package/dist/{chunk-EF6G67MF.mjs → chunk-AN5I7NTT.mjs} +1 -1
  9. package/dist/{chunk-KPVV2V7V.mjs → chunk-AUN4SP2F.mjs} +1 -1
  10. package/dist/{chunk-A2DU46QS.mjs → chunk-AXSF7SRE.mjs} +1 -1
  11. package/dist/{chunk-V4SD44VK.mjs → chunk-BWPOLXFL.mjs} +1 -1
  12. package/dist/{chunk-AXXUQWWC.mjs → chunk-DBPAK7QN.mjs} +1 -1
  13. package/dist/{chunk-63NMFZTF.mjs → chunk-EGGHND3C.mjs} +2 -2
  14. package/dist/chunk-EP7KPCL3.mjs +62 -0
  15. package/dist/{chunk-GQDFLFNG.mjs → chunk-EQPJSVMB.mjs} +1 -1
  16. package/dist/{chunk-OUNBTYJ7.mjs → chunk-FB2NWPDB.mjs} +12 -12
  17. package/dist/{chunk-WJIRIXV4.mjs → chunk-FJGKW3ZE.mjs} +29 -38
  18. package/dist/{chunk-BYWORP66.mjs → chunk-GIXI35A3.mjs} +8 -1
  19. package/dist/{chunk-BJ6IKX32.mjs → chunk-GMZHMFEU.mjs} +1 -1
  20. package/dist/{chunk-BZCSOIUI.mjs → chunk-GQT3YUX3.mjs} +5 -5
  21. package/dist/{chunk-XL6AWNU3.mjs → chunk-HHK47K4W.mjs} +2 -2
  22. package/dist/{chunk-MVG7GLBD.mjs → chunk-HIFLYEAM.mjs} +1 -1
  23. package/dist/{chunk-XEPPBQPJ.mjs → chunk-HNRFZTEX.mjs} +19 -19
  24. package/dist/{chunk-FE2UYWMQ.mjs → chunk-HZ7J23VD.mjs} +37 -44
  25. package/dist/{chunk-C3SML4G4.mjs → chunk-IAHJC7C4.mjs} +1 -1
  26. package/dist/{chunk-2KK3SUMT.mjs → chunk-IZOPFGDE.mjs} +37 -2
  27. package/dist/{chunk-PWJWH4MD.mjs → chunk-JE6SPRGQ.mjs} +2 -2
  28. package/dist/{chunk-7YPXCOW5.mjs → chunk-K6KPB2U5.mjs} +1 -1
  29. package/dist/{chunk-42JWJWWX.mjs → chunk-KTTXIYK2.mjs} +2 -2
  30. package/dist/{chunk-C43Y2OOL.mjs → chunk-KZ2I3V4D.mjs} +2 -2
  31. package/dist/{chunk-JFWA3DGK.mjs → chunk-LCMN7HGG.mjs} +19 -13
  32. package/dist/{chunk-4MIBATA4.mjs → chunk-LVAEW6WR.mjs} +15 -15
  33. package/dist/{chunk-R27WO3A6.mjs → chunk-LWG2RR7B.mjs} +2 -2
  34. package/dist/{chunk-P73E5YV7.mjs → chunk-N67DL6BW.mjs} +2 -4
  35. package/dist/{chunk-UDSOWFZE.mjs → chunk-OAHW4NON.mjs} +1 -1
  36. package/dist/{chunk-TSTU52NB.mjs → chunk-QFGVVQRM.mjs} +5 -5
  37. package/dist/{chunk-XAYP4CR3.mjs → chunk-SC2SILVU.mjs} +2 -2
  38. package/dist/{chunk-I33PMOA3.mjs → chunk-TNFNBUPA.mjs} +48 -47
  39. package/dist/{chunk-U6G6SZ26.mjs → chunk-TOQXZATI.mjs} +1 -1
  40. package/dist/{chunk-3QYYLFUC.mjs → chunk-UQZHSMVI.mjs} +1 -1
  41. package/dist/{chunk-N2KXC5ZE.mjs → chunk-UWE6H66T.mjs} +1 -1
  42. package/dist/{chunk-KPI62GDB.mjs → chunk-VKSIQ7SR.mjs} +1 -1
  43. package/dist/{chunk-F4AOWB64.mjs → chunk-VX7HAPUO.mjs} +1 -1
  44. package/dist/{chunk-DI2L75XK.mjs → chunk-W5UU3F46.mjs} +5 -0
  45. package/dist/{chunk-QV3ALCMB.mjs → chunk-XQI5RD6S.mjs} +2 -2
  46. package/dist/{chunk-3LD7T42T.mjs → chunk-XZMJGJQX.mjs} +4 -4
  47. package/dist/{chunk-VLE2FQQR.mjs → chunk-YLHKOIZS.mjs} +1 -1
  48. package/dist/{chunk-XXQSA25O.mjs → chunk-YRDDKYYT.mjs} +6 -3
  49. package/dist/components/accordion.js +8 -1
  50. package/dist/components/accordion.mjs +5 -5
  51. package/dist/components/alert.d.ts +344 -0
  52. package/dist/components/alert.js +355 -0
  53. package/dist/components/alert.mjs +12 -0
  54. package/dist/components/autocomplete.js +12 -5
  55. package/dist/components/autocomplete.mjs +3 -3
  56. package/dist/components/avatar.js +13 -6
  57. package/dist/components/avatar.mjs +5 -5
  58. package/dist/components/badge.js +13 -6
  59. package/dist/components/badge.mjs +5 -5
  60. package/dist/components/breadcrumbs.js +9 -2
  61. package/dist/components/breadcrumbs.mjs +5 -5
  62. package/dist/components/button.js +17 -7
  63. package/dist/components/button.mjs +5 -5
  64. package/dist/components/calendar.js +8 -1
  65. package/dist/components/calendar.mjs +5 -5
  66. package/dist/components/card.js +8 -1
  67. package/dist/components/card.mjs +5 -5
  68. package/dist/components/checkbox.js +19 -12
  69. package/dist/components/checkbox.mjs +5 -5
  70. package/dist/components/chip.js +13 -6
  71. package/dist/components/chip.mjs +5 -5
  72. package/dist/components/circular-progress.js +8 -1
  73. package/dist/components/circular-progress.mjs +3 -3
  74. package/dist/components/code.js +13 -6
  75. package/dist/components/code.mjs +5 -5
  76. package/dist/components/date-input.js +26 -19
  77. package/dist/components/date-input.mjs +3 -3
  78. package/dist/components/date-picker.js +12 -5
  79. package/dist/components/date-picker.mjs +3 -3
  80. package/dist/components/divider.js +8 -1
  81. package/dist/components/divider.mjs +3 -3
  82. package/dist/components/drawer.d.ts +358 -0
  83. package/dist/components/drawer.js +130 -0
  84. package/dist/components/drawer.mjs +8 -0
  85. package/dist/components/drip.js +8 -1
  86. package/dist/components/drip.mjs +3 -3
  87. package/dist/components/dropdown.js +8 -1
  88. package/dist/components/dropdown.mjs +5 -5
  89. package/dist/components/image.js +8 -1
  90. package/dist/components/image.mjs +3 -3
  91. package/dist/components/index.d.ts +2 -1
  92. package/dist/components/index.js +503 -210
  93. package/dist/components/index.mjs +68 -60
  94. package/dist/components/input.d.ts +7 -0
  95. package/dist/components/input.js +55 -47
  96. package/dist/components/input.mjs +5 -5
  97. package/dist/components/kbd.js +8 -1
  98. package/dist/components/kbd.mjs +3 -3
  99. package/dist/components/link.js +8 -1
  100. package/dist/components/link.mjs +5 -5
  101. package/dist/components/listbox.js +8 -1
  102. package/dist/components/listbox.mjs +5 -5
  103. package/dist/components/menu.js +8 -1
  104. package/dist/components/menu.mjs +5 -5
  105. package/dist/components/modal.js +9 -4
  106. package/dist/components/modal.mjs +5 -5
  107. package/dist/components/navbar.js +8 -1
  108. package/dist/components/navbar.mjs +5 -5
  109. package/dist/components/pagination.js +13 -6
  110. package/dist/components/pagination.mjs +5 -5
  111. package/dist/components/popover.js +13 -6
  112. package/dist/components/popover.mjs +5 -5
  113. package/dist/components/progress.js +44 -2
  114. package/dist/components/progress.mjs +3 -3
  115. package/dist/components/radio.js +22 -15
  116. package/dist/components/radio.mjs +5 -5
  117. package/dist/components/scroll-shadow.js +8 -1
  118. package/dist/components/scroll-shadow.mjs +3 -3
  119. package/dist/components/select.d.ts +21 -0
  120. package/dist/components/select.js +44 -44
  121. package/dist/components/select.mjs +5 -5
  122. package/dist/components/skeleton.js +8 -1
  123. package/dist/components/skeleton.mjs +3 -3
  124. package/dist/components/slider.js +8 -1
  125. package/dist/components/slider.mjs +5 -5
  126. package/dist/components/snippet.js +13 -6
  127. package/dist/components/snippet.mjs +5 -5
  128. package/dist/components/spacer.js +8 -1
  129. package/dist/components/spacer.mjs +3 -3
  130. package/dist/components/spinner.js +8 -1
  131. package/dist/components/spinner.mjs +3 -3
  132. package/dist/components/table.js +29 -22
  133. package/dist/components/table.mjs +5 -5
  134. package/dist/components/tabs.js +13 -6
  135. package/dist/components/tabs.mjs +5 -5
  136. package/dist/components/toggle.js +36 -38
  137. package/dist/components/toggle.mjs +5 -5
  138. package/dist/components/user.d.ts +26 -27
  139. package/dist/components/user.js +8 -1
  140. package/dist/components/user.mjs +5 -5
  141. package/dist/index.d.ts +2 -1
  142. package/dist/index.js +528 -224
  143. package/dist/index.mjs +74 -66
  144. package/dist/plugin.js +24 -13
  145. package/dist/plugin.mjs +4 -4
  146. package/dist/utilities/custom.d.ts +5 -0
  147. package/dist/utilities/custom.js +5 -0
  148. package/dist/utilities/custom.mjs +1 -1
  149. package/dist/utilities/index.d.ts +5 -0
  150. package/dist/utilities/index.js +5 -0
  151. package/dist/utilities/index.mjs +3 -3
  152. package/dist/utils/cn.js +9 -2
  153. package/dist/utils/cn.mjs +2 -2
  154. package/dist/utils/index.d.ts +0 -1
  155. package/dist/utils/index.js +14 -7
  156. package/dist/utils/index.mjs +5 -5
  157. package/dist/utils/tv.js +8 -1
  158. package/dist/utils/tv.mjs +2 -2
  159. package/dist/utils/tw-merge-config.d.ts +17 -3
  160. package/dist/utils/tw-merge-config.js +8 -1
  161. package/dist/utils/tw-merge-config.mjs +1 -1
  162. package/dist/utils/variants.js +5 -5
  163. package/dist/utils/variants.mjs +1 -1
  164. package/package.json +3 -12
  165. /package/dist/{chunk-UVXYPGDZ.mjs → chunk-MA4DKK64.mjs} +0 -0
@@ -45,7 +45,14 @@ var twMergeConfig = {
45
45
  classGroups: {
46
46
  shadow: [{ shadow: COMMON_UNITS }],
47
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
- "bg-image": ["bg-stripe-gradient"]
48
+ "bg-image": [
49
+ "bg-stripe-gradient-default",
50
+ "bg-stripe-gradient-primary",
51
+ "bg-stripe-gradient-secondary",
52
+ "bg-stripe-gradient-success",
53
+ "bg-stripe-gradient-warning",
54
+ "bg-stripe-gradient-danger"
55
+ ]
49
56
  }
50
57
  };
51
58
 
@@ -73,7 +80,7 @@ var tv = (options, config) => {
73
80
  // src/components/select.ts
74
81
  var select = tv({
75
82
  slots: {
76
- base: ["group/select inline-flex flex-col relative w-full"],
83
+ base: ["group inline-flex flex-col relative"],
77
84
  label: [
78
85
  "block",
79
86
  "absolute",
@@ -90,7 +97,7 @@ var select = tv({
90
97
  innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.6))] min-h-4 items-center gap-1.5 box-border",
91
98
  selectorIcon: "absolute end-3 w-4 h-4",
92
99
  spinner: "absolute end-3",
93
- value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
100
+ value: ["text-foreground-500", "font-normal", "w-full", "text-start"],
94
101
  listboxWrapper: "scroll-py-6 max-h-64 w-full",
95
102
  listbox: "",
96
103
  popoverContent: "w-full p-1 overflow-hidden",
@@ -104,7 +111,7 @@ var select = tv({
104
111
  trigger: [
105
112
  "bg-default-100",
106
113
  "data-[hover=true]:bg-default-200",
107
- "group-data-[focus=true]/select:bg-default-100"
114
+ "group-data-[focus=true]:bg-default-100"
108
115
  ]
109
116
  },
110
117
  faded: {
@@ -115,7 +122,7 @@ var select = tv({
115
122
  "border-default-200",
116
123
  "data-[hover=true]:border-default-400"
117
124
  ],
118
- value: "group-data-[has-value=true]/select:text-default-foreground"
125
+ value: "group-data-[has-value=true]:text-default-foreground"
119
126
  },
120
127
  bordered: {
121
128
  trigger: [
@@ -152,7 +159,7 @@ var select = tv({
152
159
  "data-[open=true]:after:w-full",
153
160
  "data-[focus=true]:after:w-full"
154
161
  ],
155
- value: "group-data-[has-value=true]/select:text-default-foreground"
162
+ value: "group-data-[has-value=true]:text-default-foreground"
156
163
  }
157
164
  },
158
165
  color: {
@@ -211,6 +218,9 @@ var select = tv({
211
218
  fullWidth: {
212
219
  true: {
213
220
  base: "w-full"
221
+ },
222
+ false: {
223
+ base: "min-w-40"
214
224
  }
215
225
  },
216
226
  isDisabled: {
@@ -283,7 +293,7 @@ var select = tv({
283
293
  variant: "flat",
284
294
  color: "default",
285
295
  class: {
286
- value: "group-data-[has-value=true]/select:text-default-foreground",
296
+ value: "group-data-[has-value=true]:text-default-foreground",
287
297
  trigger: ["bg-default-100", "data-[hover=true]:bg-default-50"]
288
298
  }
289
299
  },
@@ -295,7 +305,7 @@ var select = tv({
295
305
  "bg-primary-100",
296
306
  "text-primary",
297
307
  "data-[hover=true]:bg-primary-50",
298
- "group-data-[focus=true]/select:bg-primary-50"
308
+ "group-data-[focus=true]:bg-primary-50"
299
309
  ],
300
310
  value: "text-primary",
301
311
  label: "text-primary"
@@ -309,7 +319,7 @@ var select = tv({
309
319
  "bg-secondary-100",
310
320
  "text-secondary",
311
321
  "data-[hover=true]:bg-secondary-50",
312
- "group-data-[focus=true]/select:bg-secondary-50"
322
+ "group-data-[focus=true]:bg-secondary-50"
313
323
  ],
314
324
  value: "text-secondary",
315
325
  label: "text-secondary"
@@ -324,7 +334,7 @@ var select = tv({
324
334
  "text-success-600",
325
335
  "dark:text-success",
326
336
  "data-[hover=true]:bg-success-50",
327
- "group-data-[focus=true]/select:bg-success-50"
337
+ "group-data-[focus=true]:bg-success-50"
328
338
  ],
329
339
  value: "text-success-600 dark:text-success",
330
340
  label: "text-success-600 dark:text-success"
@@ -339,7 +349,7 @@ var select = tv({
339
349
  "text-warning-600",
340
350
  "dark:text-warning",
341
351
  "data-[hover=true]:bg-warning-50",
342
- "group-data-[focus=true]/select:bg-warning-50"
352
+ "group-data-[focus=true]:bg-warning-50"
343
353
  ],
344
354
  value: "text-warning-600 dark:text-warning",
345
355
  label: "text-warning-600 dark:text-warning"
@@ -354,7 +364,7 @@ var select = tv({
354
364
  "text-danger",
355
365
  "dark:text-danger-500",
356
366
  "data-[hover=true]:bg-danger-50",
357
- "group-data-[focus=true]/select:bg-danger-50"
367
+ "group-data-[focus=true]:bg-danger-50"
358
368
  ],
359
369
  value: "text-danger dark:text-danger-500",
360
370
  label: "text-danger dark:text-danger-500"
@@ -404,7 +414,7 @@ var select = tv({
404
414
  variant: "underlined",
405
415
  color: "default",
406
416
  class: {
407
- value: "group-data-[has-value=true]/select:text-foreground"
417
+ value: "group-data-[has-value=true]:text-foreground"
408
418
  }
409
419
  },
410
420
  {
@@ -491,14 +501,14 @@ var select = tv({
491
501
  labelPlacement: "inside",
492
502
  color: "default",
493
503
  class: {
494
- label: "group-data-[filled=true]/select:text-default-600"
504
+ label: "group-data-[filled=true]:text-default-600"
495
505
  }
496
506
  },
497
507
  {
498
508
  labelPlacement: "outside",
499
509
  color: "default",
500
510
  class: {
501
- label: "group-data-[filled=true]/select:text-foreground"
511
+ label: "group-data-[filled=true]:text-foreground"
502
512
  }
503
513
  },
504
514
  {
@@ -551,7 +561,7 @@ var select = tv({
551
561
  trigger: [
552
562
  "bg-danger-50",
553
563
  "data-[hover=true]:bg-danger-100",
554
- "group-data-[focus=true]/select:bg-danger-50"
564
+ "group-data-[focus=true]:bg-danger-50"
555
565
  ]
556
566
  }
557
567
  },
@@ -559,7 +569,7 @@ var select = tv({
559
569
  isInvalid: true,
560
570
  variant: "bordered",
561
571
  class: {
562
- trigger: "!border-danger group-data-[focus=true]/select:border-danger"
572
+ trigger: "!border-danger group-data-[focus=true]:border-danger"
563
573
  }
564
574
  },
565
575
  {
@@ -596,19 +606,13 @@ var select = tv({
596
606
  isMultiline: false,
597
607
  class: {
598
608
  base: "group relative justify-end",
599
- label: [
600
- "pb-0",
601
- "z-20",
602
- "top-1/2",
603
- "-translate-y-1/2",
604
- "group-data-[filled=true]/select:start-0"
605
- ]
609
+ label: ["pb-0", "z-20", "top-1/2", "-translate-y-1/2", "group-data-[filled=true]:start-0"]
606
610
  }
607
611
  },
608
612
  {
609
613
  labelPlacement: ["inside"],
610
614
  class: {
611
- label: "group-data-[filled=true]/select:scale-85"
615
+ label: "group-data-[filled=true]:scale-85"
612
616
  }
613
617
  },
614
618
  {
@@ -623,10 +627,8 @@ var select = tv({
623
627
  isMultiline: false,
624
628
  size: "sm",
625
629
  class: {
626
- label: [
627
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
628
- ],
629
- innerWrapper: "group-data-[has-label=true]/select:pt-4"
630
+ label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"],
631
+ innerWrapper: "group-data-[has-label=true]:pt-4"
630
632
  }
631
633
  },
632
634
  {
@@ -635,9 +637,9 @@ var select = tv({
635
637
  size: "md",
636
638
  class: {
637
639
  label: [
638
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
640
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
639
641
  ],
640
- innerWrapper: "group-data-[has-label=true]/select:pt-4"
642
+ innerWrapper: "group-data-[has-label=true]:pt-4"
641
643
  }
642
644
  },
643
645
  {
@@ -647,9 +649,9 @@ var select = tv({
647
649
  class: {
648
650
  label: [
649
651
  "text-medium",
650
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
652
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
651
653
  ],
652
- innerWrapper: "group-data-[has-label=true]/select:pt-5"
654
+ innerWrapper: "group-data-[has-label=true]:pt-5"
653
655
  }
654
656
  },
655
657
  {
@@ -659,7 +661,7 @@ var select = tv({
659
661
  size: "sm",
660
662
  class: {
661
663
  label: [
662
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
664
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
663
665
  ]
664
666
  }
665
667
  },
@@ -670,7 +672,7 @@ var select = tv({
670
672
  size: "md",
671
673
  class: {
672
674
  label: [
673
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
675
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
674
676
  ]
675
677
  }
676
678
  },
@@ -682,7 +684,7 @@ var select = tv({
682
684
  class: {
683
685
  label: [
684
686
  "text-medium",
685
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
687
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
686
688
  ]
687
689
  }
688
690
  },
@@ -692,9 +694,7 @@ var select = tv({
692
694
  isMultiline: false,
693
695
  size: "sm",
694
696
  class: {
695
- label: [
696
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
697
- ]
697
+ label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]
698
698
  }
699
699
  },
700
700
  {
@@ -704,7 +704,7 @@ var select = tv({
704
704
  size: "md",
705
705
  class: {
706
706
  label: [
707
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
707
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
708
708
  ]
709
709
  }
710
710
  },
@@ -716,7 +716,7 @@ var select = tv({
716
716
  class: {
717
717
  label: [
718
718
  "text-medium",
719
- "group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
719
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
720
720
  ]
721
721
  }
722
722
  },
@@ -728,7 +728,7 @@ var select = tv({
728
728
  label: [
729
729
  "start-2",
730
730
  "text-tiny",
731
- "group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
731
+ "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
732
732
  ],
733
733
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
734
734
  }
@@ -741,7 +741,7 @@ var select = tv({
741
741
  label: [
742
742
  "start-3",
743
743
  "text-small",
744
- "group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
744
+ "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
745
745
  ],
746
746
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
747
747
  }
@@ -754,7 +754,7 @@ var select = tv({
754
754
  label: [
755
755
  "start-3",
756
756
  "text-medium",
757
- "group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
757
+ "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
758
758
  ],
759
759
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
760
760
  }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  select
3
- } from "../chunk-FE2UYWMQ.mjs";
3
+ } from "../chunk-HZ7J23VD.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  select
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  skeleton
3
- } from "../chunk-UDSOWFZE.mjs";
4
- import "../chunk-N2KXC5ZE.mjs";
5
- import "../chunk-BYWORP66.mjs";
3
+ } from "../chunk-OAHW4NON.mjs";
4
+ import "../chunk-UWE6H66T.mjs";
5
+ import "../chunk-GIXI35A3.mjs";
6
6
  export {
7
7
  skeleton
8
8
  };
@@ -45,7 +45,14 @@ var twMergeConfig = {
45
45
  classGroups: {
46
46
  shadow: [{ shadow: COMMON_UNITS }],
47
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
- "bg-image": ["bg-stripe-gradient"]
48
+ "bg-image": [
49
+ "bg-stripe-gradient-default",
50
+ "bg-stripe-gradient-primary",
51
+ "bg-stripe-gradient-secondary",
52
+ "bg-stripe-gradient-success",
53
+ "bg-stripe-gradient-warning",
54
+ "bg-stripe-gradient-danger"
55
+ ]
49
56
  }
50
57
  };
51
58
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  slider
3
- } from "../chunk-JBKBSMXM.mjs";
3
+ } from "../chunk-7IYRK3EV.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  slider
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -93,11 +100,11 @@ var bordered = {
93
100
  };
94
101
  var flat = {
95
102
  default: "bg-default/40 text-default-700",
96
- primary: "bg-primary/20 text-primary-700",
97
- secondary: "bg-secondary/20 text-secondary-700",
98
- success: "bg-success/20 text-success-800 dark:text-success",
99
- warning: "bg-warning/20 text-warning-800 dark:text-warning",
100
- danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
103
+ primary: "bg-primary/20 text-primary-600",
104
+ secondary: "bg-secondary/20 text-secondary-600",
105
+ success: "bg-success/20 text-success-700 dark:text-success",
106
+ warning: "bg-warning/20 text-warning-700 dark:text-warning",
107
+ danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
101
108
  foreground: "bg-foreground/10 text-foreground"
102
109
  };
103
110
  var faded = {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  snippet
3
- } from "../chunk-XAYP4CR3.mjs";
3
+ } from "../chunk-SC2SILVU.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  snippet
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  spacer
3
- } from "../chunk-T2VR4T5R.mjs";
4
- import "../chunk-N2KXC5ZE.mjs";
5
- import "../chunk-BYWORP66.mjs";
3
+ } from "../chunk-AKXXHKTO.mjs";
4
+ import "../chunk-UWE6H66T.mjs";
5
+ import "../chunk-GIXI35A3.mjs";
6
6
  export {
7
7
  spacer
8
8
  };
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  spinner
3
- } from "../chunk-AXXUQWWC.mjs";
4
- import "../chunk-N2KXC5ZE.mjs";
5
- import "../chunk-BYWORP66.mjs";
3
+ } from "../chunk-DBPAK7QN.mjs";
4
+ import "../chunk-UWE6H66T.mjs";
5
+ import "../chunk-GIXI35A3.mjs";
6
6
  export {
7
7
  spinner
8
8
  };
@@ -45,7 +45,14 @@ var twMergeConfig = {
45
45
  classGroups: {
46
46
  shadow: [{ shadow: COMMON_UNITS }],
47
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
- "bg-image": ["bg-stripe-gradient"]
48
+ "bg-image": [
49
+ "bg-stripe-gradient-default",
50
+ "bg-stripe-gradient-primary",
51
+ "bg-stripe-gradient-secondary",
52
+ "bg-stripe-gradient-success",
53
+ "bg-stripe-gradient-warning",
54
+ "bg-stripe-gradient-danger"
55
+ ]
49
56
  }
50
57
  };
51
58
 
@@ -89,9 +96,9 @@ var table = tv({
89
96
  table: "min-w-full h-auto",
90
97
  thead: "[&>tr]:first:rounded-lg",
91
98
  tbody: "",
92
- tr: ["group", "outline-none", ...dataFocusVisibleClasses],
99
+ tr: ["group/tr", "outline-none", ...dataFocusVisibleClasses],
93
100
  th: [
94
- "group",
101
+ "group/th",
95
102
  "px-3",
96
103
  "h-10",
97
104
  "text-start",
@@ -126,8 +133,8 @@ var table = tv({
126
133
  "before:inset-0",
127
134
  "before:opacity-0",
128
135
  "data-[selected=true]:before:opacity-100",
129
- "group-data-[disabled=true]:text-foreground-300",
130
- "group-data-[disabled=true]:cursor-not-allowed"
136
+ "group-data-[disabled=true]/tr:text-foreground-300",
137
+ "group-data-[disabled=true]/tr:cursor-not-allowed"
131
138
  ],
132
139
  tfoot: "",
133
140
  sortIcon: [
@@ -138,7 +145,7 @@ var table = tv({
138
145
  "inline-block",
139
146
  "transition-transform-opacity",
140
147
  "data-[visible=true]:opacity-100",
141
- "group-data-[hover=true]:opacity-100",
148
+ "group-data-[hover=true]/th:opacity-100",
142
149
  "data-[direction=ascending]:rotate-180"
143
150
  ],
144
151
  emptyWrapper: "text-foreground-400 align-middle text-center h-40",
@@ -209,9 +216,9 @@ var table = tv({
209
216
  isStriped: {
210
217
  true: {
211
218
  td: [
212
- "group-data-[odd=true]:before:bg-default-100",
213
- "group-data-[odd=true]:before:opacity-100",
214
- "group-data-[odd=true]:before:-z-10"
219
+ "group-data-[odd=true]/tr:before:bg-default-100",
220
+ "group-data-[odd=true]/tr:before:opacity-100",
221
+ "group-data-[odd=true]/tr:before:-z-10"
215
222
  ]
216
223
  }
217
224
  },
@@ -230,19 +237,19 @@ var table = tv({
230
237
  true: {
231
238
  tr: "cursor-default",
232
239
  td: [
233
- "group-aria-[selected=false]:group-data-[hover=true]:before:bg-default-100",
234
- "group-aria-[selected=false]:group-data-[hover=true]:before:opacity-70"
240
+ "group-aria-[selected=false]/tr:group-data-[hover=true]/tr:before:bg-default-100",
241
+ "group-aria-[selected=false]/tr:group-data-[hover=true]/tr:before:opacity-70"
235
242
  ]
236
243
  }
237
244
  },
238
245
  isMultiSelectable: {
239
246
  true: {
240
247
  td: [
241
- "group-data-[first=true]:first:before:rounded-ts-lg",
242
- "group-data-[first=true]:last:before:rounded-te-lg",
243
- "group-data-[middle=true]:before:rounded-none",
244
- "group-data-[last=true]:first:before:rounded-bs-lg",
245
- "group-data-[last=true]:last:before:rounded-be-lg"
248
+ "group-data-[first=true]/tr:first:before:rounded-ts-lg",
249
+ "group-data-[first=true]/tr:last:before:rounded-te-lg",
250
+ "group-data-[middle=true]/tr:before:rounded-none",
251
+ "group-data-[last=true]/tr:first:before:rounded-bs-lg",
252
+ "group-data-[last=true]/tr:last:before:rounded-be-lg"
246
253
  ]
247
254
  },
248
255
  false: {
@@ -287,42 +294,42 @@ var table = tv({
287
294
  isStriped: true,
288
295
  color: "default",
289
296
  class: {
290
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
297
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-default/60"
291
298
  }
292
299
  },
293
300
  {
294
301
  isStriped: true,
295
302
  color: "primary",
296
303
  class: {
297
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
304
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-primary/20"
298
305
  }
299
306
  },
300
307
  {
301
308
  isStriped: true,
302
309
  color: "secondary",
303
310
  class: {
304
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
311
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-secondary/20"
305
312
  }
306
313
  },
307
314
  {
308
315
  isStriped: true,
309
316
  color: "success",
310
317
  class: {
311
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
318
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-success/20"
312
319
  }
313
320
  },
314
321
  {
315
322
  isStriped: true,
316
323
  color: "warning",
317
324
  class: {
318
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
325
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-warning/20"
319
326
  }
320
327
  },
321
328
  {
322
329
  isStriped: true,
323
330
  color: "danger",
324
331
  class: {
325
- td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
332
+ td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-danger/20"
326
333
  }
327
334
  }
328
335
  ]
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  table
3
- } from "../chunk-LSQXJEPE.mjs";
3
+ } from "../chunk-2ODFPLXN.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  table