@nextui-org/theme 2.1.9 → 2.1.11

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 (162) hide show
  1. package/dist/{chunk-77O7KLUI.mjs → chunk-362LGETO.mjs} +1 -1
  2. package/dist/{chunk-23KK2ZAZ.mjs → chunk-5GLH2ERS.mjs} +2 -2
  3. package/dist/{chunk-F76574GG.mjs → chunk-6RI6HHSE.mjs} +126 -46
  4. package/dist/{chunk-RYOZQSNI.mjs → chunk-6XG3Y4GM.mjs} +12 -7
  5. package/dist/chunk-76A2UI6G.mjs +243 -0
  6. package/dist/chunk-AQDGQGUV.mjs +391 -0
  7. package/dist/{chunk-NAY2XKLY.mjs → chunk-B6QMTIF2.mjs} +1 -1
  8. package/dist/{chunk-LGRQRHJJ.mjs → chunk-BR6V72YY.mjs} +6 -3
  9. package/dist/{chunk-5VJPQADB.mjs → chunk-CLW3JMFF.mjs} +2 -2
  10. package/dist/{chunk-NW5W5ANO.mjs → chunk-DGMET46Q.mjs} +4 -3
  11. package/dist/{chunk-WBNF66V7.mjs → chunk-F36W5Y6O.mjs} +1 -1
  12. package/dist/{chunk-GNLIYZAQ.mjs → chunk-FUMNSN2H.mjs} +1 -1
  13. package/dist/{chunk-KPK2JQIF.mjs → chunk-G3PB7L4N.mjs} +10 -0
  14. package/dist/{chunk-4DKVPW5Z.mjs → chunk-HBLCAYSX.mjs} +2 -2
  15. package/dist/{chunk-XPLXQDB3.mjs → chunk-HYA3WURA.mjs} +1 -1
  16. package/dist/{chunk-UHF2F2WJ.mjs → chunk-I5E37FAL.mjs} +4 -4
  17. package/dist/{chunk-RPMLQF4Y.mjs → chunk-J6EGGODL.mjs} +5 -5
  18. package/dist/{chunk-XY766PDD.mjs → chunk-J7FVLFSZ.mjs} +1 -1
  19. package/dist/{chunk-GKYVNUGL.mjs → chunk-JMOQB2OS.mjs} +3 -3
  20. package/dist/{chunk-EUS2SEYI.mjs → chunk-JX6O4KJS.mjs} +2 -2
  21. package/dist/{chunk-PJV3MWBL.mjs → chunk-KNUJMWVH.mjs} +185 -52
  22. package/dist/{chunk-YSXRNNDV.mjs → chunk-N7N2LONM.mjs} +1 -1
  23. package/dist/{chunk-RHIZZ5XX.mjs → chunk-ODGTGSNM.mjs} +2 -2
  24. package/dist/{chunk-EC4F6RJF.mjs → chunk-PFGLTKGJ.mjs} +1 -1
  25. package/dist/{chunk-FZZINZOQ.mjs → chunk-QF56VSRK.mjs} +23 -6
  26. package/dist/{chunk-YKWIBFFV.mjs → chunk-QWYWYOG6.mjs} +18 -4
  27. package/dist/{chunk-Y32IWEMZ.mjs → chunk-S7W5DQP2.mjs} +3 -3
  28. package/dist/{chunk-TIMHSW45.mjs → chunk-TUUOVVH3.mjs} +2 -2
  29. package/dist/{chunk-B55QBA5E.mjs → chunk-VD4MGTVP.mjs} +1 -1
  30. package/dist/{chunk-4JBYJQSP.mjs → chunk-VGHVBXXT.mjs} +1 -1
  31. package/dist/{chunk-WM43BKYH.mjs → chunk-VOTIIGIW.mjs} +3 -3
  32. package/dist/{chunk-O24TFHPZ.mjs → chunk-VPYXYIZ5.mjs} +2 -2
  33. package/dist/{chunk-ADNJ6GPZ.mjs → chunk-VU5TSYMO.mjs} +2 -2
  34. package/dist/{chunk-7MCHEQXT.mjs → chunk-VZI6SR6H.mjs} +4 -1
  35. package/dist/chunk-WBUVHAJX.mjs +37 -0
  36. package/dist/chunk-WHT6K6RC.mjs +58 -0
  37. package/dist/chunk-WNVF6X3M.mjs +171 -0
  38. package/dist/{chunk-EQIZ7W7V.mjs → chunk-WYVG7NY6.mjs} +3 -3
  39. package/dist/{chunk-LQGOKGQV.mjs → chunk-XHQNEGB6.mjs} +1 -1
  40. package/dist/{chunk-T7JNS25F.mjs → chunk-XHQUSKIE.mjs} +10 -1
  41. package/dist/{chunk-MOHT4OBR.mjs → chunk-XNF3KCH7.mjs} +2 -2
  42. package/dist/{chunk-XJU7LDVX.mjs → chunk-Y5WLFHBC.mjs} +74 -9
  43. package/dist/{chunk-XCWQAA5D.mjs → chunk-YRDQW7V4.mjs} +5 -5
  44. package/dist/components/accordion.js +27 -34
  45. package/dist/components/accordion.mjs +3 -3
  46. package/dist/components/autocomplete.d.ts +180 -0
  47. package/dist/components/autocomplete.js +165 -0
  48. package/dist/components/autocomplete.mjs +8 -0
  49. package/dist/components/avatar.js +28 -35
  50. package/dist/components/avatar.mjs +3 -3
  51. package/dist/components/badge.d.ts +7 -7
  52. package/dist/components/badge.js +29 -36
  53. package/dist/components/badge.mjs +3 -3
  54. package/dist/components/breadcrumbs.d.ts +816 -0
  55. package/dist/components/breadcrumbs.js +357 -0
  56. package/dist/components/breadcrumbs.mjs +14 -0
  57. package/dist/components/button.d.ts +7 -7
  58. package/dist/components/button.js +104 -39
  59. package/dist/components/button.mjs +3 -3
  60. package/dist/components/card.js +26 -33
  61. package/dist/components/card.mjs +3 -3
  62. package/dist/components/checkbox.js +25 -32
  63. package/dist/components/checkbox.mjs +3 -3
  64. package/dist/components/chip.js +26 -33
  65. package/dist/components/chip.mjs +3 -3
  66. package/dist/components/circular-progress.js +25 -32
  67. package/dist/components/circular-progress.mjs +2 -2
  68. package/dist/components/code.js +25 -32
  69. package/dist/components/code.mjs +3 -3
  70. package/dist/components/divider.js +25 -32
  71. package/dist/components/divider.mjs +2 -2
  72. package/dist/components/drip.d.ts +29 -3
  73. package/dist/components/drip.js +25 -32
  74. package/dist/components/drip.mjs +2 -2
  75. package/dist/components/dropdown.d.ts +103 -35
  76. package/dist/components/dropdown.js +25 -32
  77. package/dist/components/dropdown.mjs +3 -3
  78. package/dist/components/image.js +25 -32
  79. package/dist/components/image.mjs +2 -2
  80. package/dist/components/index.d.ts +4 -1
  81. package/dist/components/index.js +1213 -218
  82. package/dist/components/index.mjs +62 -48
  83. package/dist/components/input.d.ts +37 -44
  84. package/dist/components/input.js +208 -82
  85. package/dist/components/input.mjs +3 -3
  86. package/dist/components/kbd.js +25 -32
  87. package/dist/components/kbd.mjs +2 -2
  88. package/dist/components/link.js +25 -32
  89. package/dist/components/link.mjs +3 -3
  90. package/dist/components/listbox.d.ts +1 -1
  91. package/dist/components/listbox.js +41 -34
  92. package/dist/components/listbox.mjs +3 -3
  93. package/dist/components/menu.d.ts +119 -40
  94. package/dist/components/menu.js +41 -34
  95. package/dist/components/menu.mjs +3 -3
  96. package/dist/components/modal.js +25 -32
  97. package/dist/components/modal.mjs +3 -3
  98. package/dist/components/navbar.js +29 -33
  99. package/dist/components/navbar.mjs +3 -3
  100. package/dist/components/pagination.js +46 -36
  101. package/dist/components/pagination.mjs +3 -3
  102. package/dist/components/popover.d.ts +136 -132
  103. package/dist/components/popover.js +98 -94
  104. package/dist/components/popover.mjs +3 -3
  105. package/dist/components/progress.js +25 -32
  106. package/dist/components/progress.mjs +2 -2
  107. package/dist/components/radio.js +26 -33
  108. package/dist/components/radio.mjs +3 -3
  109. package/dist/components/scroll-shadow.js +25 -32
  110. package/dist/components/scroll-shadow.mjs +2 -2
  111. package/dist/components/select.d.ts +40 -54
  112. package/dist/components/select.js +149 -76
  113. package/dist/components/select.mjs +3 -3
  114. package/dist/components/skeleton.js +26 -33
  115. package/dist/components/skeleton.mjs +2 -2
  116. package/dist/components/slider.d.ts +1024 -0
  117. package/dist/components/slider.js +504 -0
  118. package/dist/components/slider.mjs +12 -0
  119. package/dist/components/snippet.js +25 -32
  120. package/dist/components/snippet.mjs +3 -3
  121. package/dist/components/spacer.js +25 -32
  122. package/dist/components/spacer.mjs +2 -2
  123. package/dist/components/spinner.js +25 -32
  124. package/dist/components/spinner.mjs +2 -2
  125. package/dist/components/table.js +25 -32
  126. package/dist/components/table.mjs +3 -3
  127. package/dist/components/tabs.js +25 -32
  128. package/dist/components/tabs.mjs +3 -3
  129. package/dist/components/toggle.js +25 -32
  130. package/dist/components/toggle.mjs +3 -3
  131. package/dist/components/user.d.ts +45 -29
  132. package/dist/components/user.js +25 -32
  133. package/dist/components/user.mjs +3 -3
  134. package/dist/default-layout.js +4 -1
  135. package/dist/default-layout.mjs +1 -1
  136. package/dist/index.d.ts +5 -2
  137. package/dist/index.js +1403 -387
  138. package/dist/index.mjs +69 -53
  139. package/dist/plugin.js +24 -5
  140. package/dist/plugin.mjs +6 -6
  141. package/dist/types.d.ts +8 -0
  142. package/dist/utilities/index.d.ts +10 -0
  143. package/dist/utilities/index.js +10 -0
  144. package/dist/utilities/index.mjs +2 -2
  145. package/dist/utilities/transition.d.ts +10 -0
  146. package/dist/utilities/transition.js +10 -0
  147. package/dist/utilities/transition.mjs +1 -1
  148. package/dist/utils/classes.d.ts +13 -1
  149. package/dist/utils/classes.js +10 -0
  150. package/dist/utils/classes.mjs +3 -1
  151. package/dist/utils/index.d.ts +1 -1
  152. package/dist/utils/index.js +10 -0
  153. package/dist/utils/index.mjs +3 -1
  154. package/dist/utils/theme.js +4 -3
  155. package/dist/utils/theme.mjs +1 -1
  156. package/dist/utils/tv.d.ts +2 -2
  157. package/dist/utils/tv.js +25 -32
  158. package/dist/utils/tv.mjs +1 -1
  159. package/package.json +9 -9
  160. package/dist/chunk-6AEINX52.mjs +0 -44
  161. package/dist/chunk-SN5GEHHN.mjs +0 -160
  162. /package/dist/{chunk-RH7YHIQY.mjs → chunk-T6HAGWX5.mjs} +0 -0
@@ -18,7 +18,9 @@ declare const select: tailwind_variants.TVReturnType<{
18
18
  };
19
19
  };
20
20
  color: {
21
- default: {};
21
+ default: {
22
+ value: string[];
23
+ };
22
24
  primary: {};
23
25
  secondary: {};
24
26
  success: {};
@@ -76,11 +78,6 @@ declare const select: tailwind_variants.TVReturnType<{
76
78
  base: string;
77
79
  };
78
80
  };
79
- isLabelPlaceholder: {
80
- true: {
81
- label: string;
82
- };
83
- };
84
81
  isDisabled: {
85
82
  true: {
86
83
  base: string;
@@ -101,6 +98,7 @@ declare const select: tailwind_variants.TVReturnType<{
101
98
  };
102
99
  isMultiline: {
103
100
  true: {
101
+ label: string;
104
102
  trigger: string;
105
103
  };
106
104
  false: {
@@ -127,17 +125,17 @@ declare const select: tailwind_variants.TVReturnType<{
127
125
  };
128
126
  };
129
127
  }, {
130
- base: string;
131
- label: string;
128
+ base: string[];
129
+ label: string[];
132
130
  mainWrapper: string;
133
131
  trigger: string;
134
132
  innerWrapper: string;
135
133
  selectorIcon: string;
136
134
  spinner: string;
137
- value: string;
135
+ value: string[];
138
136
  listboxWrapper: string;
139
137
  listbox: string;
140
- popover: string;
138
+ popoverContent: string;
141
139
  helperWrapper: string;
142
140
  description: string;
143
141
  errorMessage: string;
@@ -157,7 +155,9 @@ declare const select: tailwind_variants.TVReturnType<{
157
155
  };
158
156
  };
159
157
  color: {
160
- default: {};
158
+ default: {
159
+ value: string[];
160
+ };
161
161
  primary: {};
162
162
  secondary: {};
163
163
  success: {};
@@ -215,11 +215,6 @@ declare const select: tailwind_variants.TVReturnType<{
215
215
  base: string;
216
216
  };
217
217
  };
218
- isLabelPlaceholder: {
219
- true: {
220
- label: string;
221
- };
222
- };
223
218
  isDisabled: {
224
219
  true: {
225
220
  base: string;
@@ -240,6 +235,7 @@ declare const select: tailwind_variants.TVReturnType<{
240
235
  };
241
236
  isMultiline: {
242
237
  true: {
238
+ label: string;
243
239
  trigger: string;
244
240
  };
245
241
  false: {
@@ -281,7 +277,9 @@ declare const select: tailwind_variants.TVReturnType<{
281
277
  };
282
278
  };
283
279
  color: {
284
- default: {};
280
+ default: {
281
+ value: string[];
282
+ };
285
283
  primary: {};
286
284
  secondary: {};
287
285
  success: {};
@@ -339,11 +337,6 @@ declare const select: tailwind_variants.TVReturnType<{
339
337
  base: string;
340
338
  };
341
339
  };
342
- isLabelPlaceholder: {
343
- true: {
344
- label: string;
345
- };
346
- };
347
340
  isDisabled: {
348
341
  true: {
349
342
  base: string;
@@ -364,6 +357,7 @@ declare const select: tailwind_variants.TVReturnType<{
364
357
  };
365
358
  isMultiline: {
366
359
  true: {
360
+ label: string;
367
361
  trigger: string;
368
362
  };
369
363
  false: {
@@ -405,7 +399,9 @@ declare const select: tailwind_variants.TVReturnType<{
405
399
  };
406
400
  };
407
401
  color: {
408
- default: {};
402
+ default: {
403
+ value: string[];
404
+ };
409
405
  primary: {};
410
406
  secondary: {};
411
407
  success: {};
@@ -463,11 +459,6 @@ declare const select: tailwind_variants.TVReturnType<{
463
459
  base: string;
464
460
  };
465
461
  };
466
- isLabelPlaceholder: {
467
- true: {
468
- label: string;
469
- };
470
- };
471
462
  isDisabled: {
472
463
  true: {
473
464
  base: string;
@@ -488,6 +479,7 @@ declare const select: tailwind_variants.TVReturnType<{
488
479
  };
489
480
  isMultiline: {
490
481
  true: {
482
+ label: string;
491
483
  trigger: string;
492
484
  };
493
485
  false: {
@@ -514,17 +506,17 @@ declare const select: tailwind_variants.TVReturnType<{
514
506
  };
515
507
  };
516
508
  }, {
517
- base: string;
518
- label: string;
509
+ base: string[];
510
+ label: string[];
519
511
  mainWrapper: string;
520
512
  trigger: string;
521
513
  innerWrapper: string;
522
514
  selectorIcon: string;
523
515
  spinner: string;
524
- value: string;
516
+ value: string[];
525
517
  listboxWrapper: string;
526
518
  listbox: string;
527
- popover: string;
519
+ popoverContent: string;
528
520
  helperWrapper: string;
529
521
  description: string;
530
522
  errorMessage: string;
@@ -544,7 +536,9 @@ declare const select: tailwind_variants.TVReturnType<{
544
536
  };
545
537
  };
546
538
  color: {
547
- default: {};
539
+ default: {
540
+ value: string[];
541
+ };
548
542
  primary: {};
549
543
  secondary: {};
550
544
  success: {};
@@ -602,11 +596,6 @@ declare const select: tailwind_variants.TVReturnType<{
602
596
  base: string;
603
597
  };
604
598
  };
605
- isLabelPlaceholder: {
606
- true: {
607
- label: string;
608
- };
609
- };
610
599
  isDisabled: {
611
600
  true: {
612
601
  base: string;
@@ -627,6 +616,7 @@ declare const select: tailwind_variants.TVReturnType<{
627
616
  };
628
617
  isMultiline: {
629
618
  true: {
619
+ label: string;
630
620
  trigger: string;
631
621
  };
632
622
  false: {
@@ -653,17 +643,17 @@ declare const select: tailwind_variants.TVReturnType<{
653
643
  };
654
644
  };
655
645
  }, {
656
- base: string;
657
- label: string;
646
+ base: string[];
647
+ label: string[];
658
648
  mainWrapper: string;
659
649
  trigger: string;
660
650
  innerWrapper: string;
661
651
  selectorIcon: string;
662
652
  spinner: string;
663
- value: string;
653
+ value: string[];
664
654
  listboxWrapper: string;
665
655
  listbox: string;
666
- popover: string;
656
+ popoverContent: string;
667
657
  helperWrapper: string;
668
658
  description: string;
669
659
  errorMessage: string;
@@ -683,7 +673,9 @@ declare const select: tailwind_variants.TVReturnType<{
683
673
  };
684
674
  };
685
675
  color: {
686
- default: {};
676
+ default: {
677
+ value: string[];
678
+ };
687
679
  primary: {};
688
680
  secondary: {};
689
681
  success: {};
@@ -741,11 +733,6 @@ declare const select: tailwind_variants.TVReturnType<{
741
733
  base: string;
742
734
  };
743
735
  };
744
- isLabelPlaceholder: {
745
- true: {
746
- label: string;
747
- };
748
- };
749
736
  isDisabled: {
750
737
  true: {
751
738
  base: string;
@@ -766,6 +753,7 @@ declare const select: tailwind_variants.TVReturnType<{
766
753
  };
767
754
  isMultiline: {
768
755
  true: {
756
+ label: string;
769
757
  trigger: string;
770
758
  };
771
759
  false: {
@@ -807,7 +795,9 @@ declare const select: tailwind_variants.TVReturnType<{
807
795
  };
808
796
  };
809
797
  color: {
810
- default: {};
798
+ default: {
799
+ value: string[];
800
+ };
811
801
  primary: {};
812
802
  secondary: {};
813
803
  success: {};
@@ -865,11 +855,6 @@ declare const select: tailwind_variants.TVReturnType<{
865
855
  base: string;
866
856
  };
867
857
  };
868
- isLabelPlaceholder: {
869
- true: {
870
- label: string;
871
- };
872
- };
873
858
  isDisabled: {
874
859
  true: {
875
860
  base: string;
@@ -890,6 +875,7 @@ declare const select: tailwind_variants.TVReturnType<{
890
875
  };
891
876
  isMultiline: {
892
877
  true: {
878
+ label: string;
893
879
  trigger: string;
894
880
  };
895
881
  false: {
@@ -91,55 +91,57 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
91
91
 
92
92
  // src/utils/tv.ts
93
93
  var COMMON_UNITS = ["small", "medium", "large"];
94
- var tv = (options, config) => {
95
- var _a, _b, _c;
96
- return (0, import_tailwind_variants.tv)(options, {
97
- ...config,
98
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
99
- twMergeConfig: {
100
- ...config == null ? void 0 : config.twMergeConfig,
101
- theme: {
102
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
103
- opacity: ["disabled"],
104
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
105
- borderWidth: COMMON_UNITS,
106
- borderRadius: COMMON_UNITS
107
- },
108
- classGroups: {
109
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
110
- shadow: [{ shadow: COMMON_UNITS }],
111
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
112
- "bg-image": ["bg-stripe-gradient"],
113
- "min-w": [
114
- {
115
- "min-w": ["unit", ...mappedSpacingScaleKeys]
116
- }
117
- ],
118
- "min-h": [
119
- {
120
- "min-h": ["unit", ...mappedSpacingScaleKeys]
121
- }
122
- ]
123
- }
94
+ var tv = (0, import_tailwind_variants.createTV)({
95
+ twMerge: true,
96
+ twMergeConfig: {
97
+ theme: {
98
+ opacity: ["disabled"],
99
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
100
+ borderWidth: COMMON_UNITS,
101
+ borderRadius: COMMON_UNITS
102
+ },
103
+ classGroups: {
104
+ shadow: [{ shadow: COMMON_UNITS }],
105
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
106
+ "bg-image": ["bg-stripe-gradient"],
107
+ "min-w": [
108
+ {
109
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
110
+ }
111
+ ],
112
+ "min-h": [
113
+ {
114
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
115
+ }
116
+ ]
124
117
  }
125
- });
126
- };
118
+ }
119
+ });
127
120
 
128
121
  // src/components/select.ts
129
122
  var select = tv({
130
123
  slots: {
131
- base: "group inline-flex flex-col relative w-full",
132
- label: "block text-small font-medium text-foreground-500 pointer-events-none",
124
+ base: ["group inline-flex flex-col relative w-full", "data-[has-helper=true]:mb-4"],
125
+ label: [
126
+ "block",
127
+ "absolute",
128
+ "z-10",
129
+ "origin-top-left",
130
+ "subpixel-antialiased",
131
+ "text-small",
132
+ "text-foreground-500",
133
+ "pointer-events-none"
134
+ ],
133
135
  mainWrapper: "w-full flex flex-col",
134
136
  trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
135
- innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] items-center gap-1.5 box-border",
137
+ innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
136
138
  selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
137
139
  spinner: "absolute right-3",
138
- value: "font-normal w-full text-left opacity-60 group-data-[filled=true]:opacity-100",
140
+ value: ["font-normal", "w-full", "text-left"],
139
141
  listboxWrapper: "scroll-py-6 max-h-64 w-full",
140
142
  listbox: "",
141
- popover: "w-full p-1 overflow-hidden",
142
- helperWrapper: "flex relative flex-col gap-1.5 pt-1 px-1",
143
+ popoverContent: "w-full p-1 overflow-hidden",
144
+ helperWrapper: "flex absolute -bottom-[calc(theme(fontSize.tiny)*1.5)] flex-col gap-1.5 px-1",
143
145
  description: "text-tiny text-foreground-400",
144
146
  errorMessage: "text-tiny text-danger"
145
147
  },
@@ -196,7 +198,9 @@ var select = tv({
196
198
  }
197
199
  },
198
200
  color: {
199
- default: {},
201
+ default: {
202
+ value: ["text-foreground-500", "group-data-[has-value=true]:text-foreground"]
203
+ },
200
204
  primary: {},
201
205
  secondary: {},
202
206
  success: {},
@@ -207,7 +211,7 @@ var select = tv({
207
211
  sm: {
208
212
  label: "text-tiny",
209
213
  trigger: "h-unit-8 min-h-unit-8 px-2 rounded-small",
210
- value: "text-small"
214
+ value: "text-tiny"
211
215
  },
212
216
  md: {
213
217
  trigger: "h-unit-10 min-h-unit-10 rounded-medium",
@@ -242,7 +246,7 @@ var select = tv({
242
246
  },
243
247
  "outside-left": {
244
248
  base: "flex-row items-center flex-nowrap items-start",
245
- label: "text-foreground pr-2"
249
+ label: "relative text-foreground pr-2"
246
250
  },
247
251
  inside: {
248
252
  label: "text-tiny cursor-pointer",
@@ -254,11 +258,6 @@ var select = tv({
254
258
  base: "w-full"
255
259
  }
256
260
  },
257
- isLabelPlaceholder: {
258
- true: {
259
- label: "absolute z-10"
260
- }
261
- },
262
261
  isDisabled: {
263
262
  true: {
264
263
  base: "opacity-disabled pointer-events-none",
@@ -268,7 +267,7 @@ var select = tv({
268
267
  isInvalid: {
269
268
  true: {
270
269
  label: "!text-danger",
271
- value: "text-danger",
270
+ value: "!text-danger",
272
271
  selectorIcon: "text-danger"
273
272
  }
274
273
  },
@@ -279,6 +278,7 @@ var select = tv({
279
278
  },
280
279
  isMultiline: {
281
280
  true: {
281
+ label: "relative",
282
282
  trigger: "!h-auto"
283
283
  },
284
284
  false: {
@@ -297,9 +297,9 @@ var select = tv({
297
297
  label: [
298
298
  "will-change-auto",
299
299
  "origin-top-left",
300
- "transition-all",
301
300
  "!duration-200",
302
301
  "!ease-out",
302
+ "transition-[transform,color,left,opacity]",
303
303
  "motion-reduce:transition-none"
304
304
  ],
305
305
  selectorIcon: "transition-transform duration-150 ease motion-reduce:transition-none"
@@ -560,6 +560,13 @@ var select = tv({
560
560
  ]
561
561
  }
562
562
  },
563
+ {
564
+ labelPlacement: "inside",
565
+ color: "default",
566
+ class: {
567
+ label: "group-data-[filled=true]:text-foreground-600"
568
+ }
569
+ },
563
570
  {
564
571
  isInvalid: true,
565
572
  variant: "flat",
@@ -589,14 +596,14 @@ var select = tv({
589
596
  labelPlacement: "inside",
590
597
  size: "sm",
591
598
  class: {
592
- trigger: "h-12 py-1.5 px-3"
599
+ trigger: "h-12 min-h-unit-12 py-1.5 px-3"
593
600
  }
594
601
  },
595
602
  {
596
603
  labelPlacement: "inside",
597
604
  size: "md",
598
605
  class: {
599
- trigger: "h-14 py-2"
606
+ trigger: "h-14 min-h-unit-14 py-2"
600
607
  }
601
608
  },
602
609
  {
@@ -604,23 +611,18 @@ var select = tv({
604
611
  size: "lg",
605
612
  class: {
606
613
  label: "text-small",
607
- trigger: "h-16 py-2.5 gap-0"
614
+ trigger: "h-16 min-h-unit-16 py-2.5 gap-0"
608
615
  }
609
616
  },
610
617
  {
611
- isLabelPlaceholder: true,
612
618
  labelPlacement: ["inside", "outside"],
613
619
  class: {
614
- label: [
615
- "font-normal",
616
- "group-data-[filled=true]:font-medium",
617
- "group-data-[filled=true]:pointer-events-auto"
618
- ]
620
+ label: ["group-data-[filled=true]:pointer-events-auto"]
619
621
  }
620
622
  },
621
623
  {
622
- isLabelPlaceholder: true,
623
624
  labelPlacement: "outside",
625
+ isMultiline: false,
624
626
  class: {
625
627
  base: "group relative justify-end",
626
628
  label: [
@@ -635,83 +637,154 @@ var select = tv({
635
637
  }
636
638
  },
637
639
  {
638
- isLabelPlaceholder: true,
640
+ labelPlacement: ["inside"],
641
+ class: {
642
+ label: "group-data-[filled=true]:scale-85"
643
+ }
644
+ },
645
+ {
639
646
  labelPlacement: "inside",
640
647
  size: ["sm", "md"],
641
648
  class: {
642
- label: ["text-small", "group-data-[filled=true]:text-tiny"],
649
+ label: "text-small",
643
650
  input: "pt-4"
644
651
  }
645
652
  },
646
653
  {
647
- isLabelPlaceholder: true,
648
654
  labelPlacement: "inside",
655
+ isMultiline: false,
649
656
  size: "sm",
650
657
  class: {
651
- label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_3px)]"],
658
+ label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"],
652
659
  innerWrapper: "pt-4"
653
660
  }
654
661
  },
655
662
  {
656
- isLabelPlaceholder: true,
657
663
  labelPlacement: "inside",
664
+ isMultiline: false,
658
665
  size: "md",
659
666
  class: {
660
667
  label: [
661
- "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
668
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
662
669
  ],
663
670
  innerWrapper: "pt-4"
664
671
  }
665
672
  },
666
673
  {
667
- isLabelPlaceholder: true,
668
674
  labelPlacement: "inside",
675
+ isMultiline: false,
669
676
  size: "lg",
670
677
  class: {
671
678
  label: [
672
679
  "text-medium",
673
- "group-data-[filled=true]:text-small",
674
- "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_5px)]"
680
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
675
681
  ],
676
682
  innerWrapper: "pt-5"
677
683
  }
678
684
  },
679
685
  {
680
- isLabelPlaceholder: true,
686
+ labelPlacement: "inside",
687
+ variant: ["faded", "bordered"],
688
+ isMultiline: false,
689
+ size: "sm",
690
+ class: {
691
+ label: [
692
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
693
+ ]
694
+ }
695
+ },
696
+ {
697
+ labelPlacement: "inside",
698
+ variant: ["faded", "bordered"],
699
+ isMultiline: false,
700
+ size: "md",
701
+ class: {
702
+ label: [
703
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
704
+ ]
705
+ }
706
+ },
707
+ {
708
+ labelPlacement: "inside",
709
+ variant: ["faded", "bordered"],
710
+ isMultiline: false,
711
+ size: "lg",
712
+ class: {
713
+ label: [
714
+ "text-medium",
715
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
716
+ ]
717
+ }
718
+ },
719
+ {
720
+ labelPlacement: "inside",
721
+ variant: "underlined",
722
+ isMultiline: false,
723
+ size: "sm",
724
+ class: {
725
+ label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]
726
+ }
727
+ },
728
+ {
729
+ labelPlacement: "inside",
730
+ variant: "underlined",
731
+ isMultiline: false,
732
+ size: "md",
733
+ class: {
734
+ label: [
735
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
736
+ ]
737
+ }
738
+ },
739
+ {
740
+ labelPlacement: "inside",
741
+ variant: "underlined",
742
+ isMultiline: false,
743
+ size: "lg",
744
+ class: {
745
+ label: [
746
+ "text-medium",
747
+ "group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
748
+ ]
749
+ }
750
+ },
751
+ {
681
752
  labelPlacement: "outside",
682
753
  size: "sm",
754
+ isMultiline: false,
683
755
  class: {
684
756
  label: [
685
757
  "left-2",
686
- "text-small",
687
- "group-data-[filled=true]:text-tiny",
758
+ "text-tiny",
688
759
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
689
- ]
760
+ ],
761
+ base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
690
762
  }
691
763
  },
692
764
  {
693
- isLabelPlaceholder: true,
694
765
  labelPlacement: "outside",
766
+ isMultiline: false,
695
767
  size: "md",
696
768
  class: {
697
769
  label: [
698
770
  "left-3",
699
771
  "text-small",
700
772
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
701
- ]
773
+ ],
774
+ base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
702
775
  }
703
776
  },
704
777
  {
705
- isLabelPlaceholder: true,
706
778
  labelPlacement: "outside",
779
+ isMultiline: false,
707
780
  size: "lg",
708
781
  class: {
709
782
  label: [
710
783
  "left-3",
711
784
  "text-medium",
712
- "group-data-[filled=true]:text-small",
713
785
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
714
- ]
786
+ ],
787
+ base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
715
788
  }
716
789
  }
717
790
  ]
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  select
3
- } from "../chunk-F76574GG.mjs";
3
+ } from "../chunk-6RI6HHSE.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
- import "../chunk-T7JNS25F.mjs";
7
+ import "../chunk-WBUVHAJX.mjs";
8
+ import "../chunk-XHQUSKIE.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
11
11
  select