@nextui-org/theme 2.1.18 → 2.2.1

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 (166) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-XY766PDD.mjs → chunk-3FZU25GR.mjs} +2 -1
  3. package/dist/{chunk-CVU6I4IJ.mjs → chunk-4ZM6AI3H.mjs} +1 -1
  4. package/dist/{chunk-LQGOKGQV.mjs → chunk-524WVPFR.mjs} +1 -1
  5. package/dist/{chunk-RJKUWMDJ.mjs → chunk-6XJJCV76.mjs} +1 -1
  6. package/dist/{chunk-S7W5DQP2.mjs → chunk-726LN7M3.mjs} +1 -1
  7. package/dist/{chunk-PXVLYT7W.mjs → chunk-7ELFOVMX.mjs} +1 -1
  8. package/dist/{chunk-WODEC7EF.mjs → chunk-7ODIBITJ.mjs} +6 -6
  9. package/dist/chunk-7TJINK3S.mjs +390 -0
  10. package/dist/{chunk-NVOA7VPK.mjs → chunk-AC6F4DT6.mjs} +4 -4
  11. package/dist/{chunk-GNLIYZAQ.mjs → chunk-AGUZRGXC.mjs} +1 -1
  12. package/dist/{chunk-U4EMZ2CQ.mjs → chunk-AO2AAOEJ.mjs} +2 -2
  13. package/dist/{chunk-3BNHFA72.mjs → chunk-AT4OXKKK.mjs} +1 -1
  14. package/dist/{chunk-5EJVI4V3.mjs → chunk-CTY7IP65.mjs} +29 -13
  15. package/dist/{chunk-DXTDUHS5.mjs → chunk-CUUGEIPA.mjs} +1 -1
  16. package/dist/chunk-D2XMP2NC.mjs +6 -0
  17. package/dist/{chunk-4JBYJQSP.mjs → chunk-ECP4S2VZ.mjs} +1 -1
  18. package/dist/{chunk-B55QBA5E.mjs → chunk-FRI2VDCA.mjs} +1 -1
  19. package/dist/{chunk-6AEINX52.mjs → chunk-GMMETTYU.mjs} +2 -16
  20. package/dist/{chunk-Y5VJSYKV.mjs → chunk-GMUSZ3YF.mjs} +1 -1
  21. package/dist/{chunk-FHNC7F3W.mjs → chunk-HGSHFC5N.mjs} +7 -1
  22. package/dist/{chunk-G3PB7L4N.mjs → chunk-HPFX3B3F.mjs} +1 -30
  23. package/dist/{chunk-VZI6SR6H.mjs → chunk-HUBDRSA4.mjs} +1 -2
  24. package/dist/{chunk-33DU6C7I.mjs → chunk-I6ESTKKY.mjs} +9 -9
  25. package/dist/{chunk-EGP3AT4R.mjs → chunk-IP3D7KVB.mjs} +3 -1
  26. package/dist/{chunk-Q3TEEYQJ.mjs → chunk-JQTFOIV7.mjs} +1 -1
  27. package/dist/{chunk-JBHEJMGV.mjs → chunk-KCOC3H6R.mjs} +1 -1
  28. package/dist/{chunk-ZWJMJMVY.mjs → chunk-KVPPQD2E.mjs} +27 -5
  29. package/dist/{chunk-WBNF66V7.mjs → chunk-LDBYFTHC.mjs} +1 -1
  30. package/dist/{chunk-GOHT67J3.mjs → chunk-MUWHEIW6.mjs} +13 -6
  31. package/dist/{chunk-2SNOAR5H.mjs → chunk-NAUU2OUH.mjs} +1 -1
  32. package/dist/chunk-NPDZ7OMC.mjs +401 -0
  33. package/dist/{chunk-QYW2VWAB.mjs → chunk-NYSEAAK5.mjs} +4 -4
  34. package/dist/{chunk-LENRVMCD.mjs → chunk-OQIS4MXV.mjs} +1 -1
  35. package/dist/{chunk-NAY2XKLY.mjs → chunk-PSEUPXFL.mjs} +1 -1
  36. package/dist/{chunk-SPRRISBY.mjs → chunk-RNAP5C4C.mjs} +1 -1
  37. package/dist/{chunk-L37EV5TN.mjs → chunk-S573WUYY.mjs} +1 -1
  38. package/dist/{chunk-777XXWYS.mjs → chunk-SEKJ6A6T.mjs} +19 -2
  39. package/dist/{chunk-YSXRNNDV.mjs → chunk-UODOTC2G.mjs} +1 -1
  40. package/dist/{chunk-77O7KLUI.mjs → chunk-V5ZTBGGO.mjs} +1 -1
  41. package/dist/{chunk-MUPUMXL7.mjs → chunk-VDRJHB4F.mjs} +7 -4
  42. package/dist/chunk-VJTX4YUQ.mjs +31 -0
  43. package/dist/{chunk-EC4F6RJF.mjs → chunk-W6DVXJB3.mjs} +1 -1
  44. package/dist/{chunk-XPLXQDB3.mjs → chunk-WAAJG22Y.mjs} +1 -1
  45. package/dist/chunk-WBQAMGXK.mjs +0 -0
  46. package/dist/{chunk-TDMF44G6.mjs → chunk-X7N3NQ6S.mjs} +1 -1
  47. package/dist/{chunk-5QVKTCUZ.mjs → chunk-YSA7EQBH.mjs} +12 -47
  48. package/dist/components/accordion.js +2 -67
  49. package/dist/components/accordion.mjs +2 -3
  50. package/dist/components/autocomplete.js +2 -67
  51. package/dist/components/autocomplete.mjs +2 -3
  52. package/dist/components/avatar.d.ts +14 -4
  53. package/dist/components/avatar.js +8 -70
  54. package/dist/components/avatar.mjs +2 -3
  55. package/dist/components/badge.js +2 -67
  56. package/dist/components/badge.mjs +2 -3
  57. package/dist/components/breadcrumbs.js +2 -67
  58. package/dist/components/breadcrumbs.mjs +2 -3
  59. package/dist/components/button.d.ts +35 -35
  60. package/dist/components/button.js +10 -75
  61. package/dist/components/button.mjs +2 -3
  62. package/dist/components/calendar.d.ts +495 -0
  63. package/dist/components/calendar.js +456 -0
  64. package/dist/components/calendar.mjs +11 -0
  65. package/dist/components/card.js +2 -67
  66. package/dist/components/card.mjs +2 -3
  67. package/dist/components/checkbox.js +5 -70
  68. package/dist/components/checkbox.mjs +2 -3
  69. package/dist/components/chip.js +5 -70
  70. package/dist/components/chip.mjs +2 -3
  71. package/dist/components/circular-progress.js +2 -67
  72. package/dist/components/circular-progress.mjs +2 -3
  73. package/dist/components/code.js +2 -67
  74. package/dist/components/code.mjs +2 -3
  75. package/dist/components/date-input.d.ts +815 -0
  76. package/dist/components/date-input.js +439 -0
  77. package/dist/components/date-input.mjs +7 -0
  78. package/dist/components/date-picker.d.ts +325 -0
  79. package/dist/components/date-picker.js +81 -0
  80. package/dist/components/date-picker.mjs +9 -0
  81. package/dist/components/divider.js +2 -67
  82. package/dist/components/divider.mjs +2 -3
  83. package/dist/components/drip.d.ts +2 -32
  84. package/dist/components/drip.js +2 -67
  85. package/dist/components/drip.mjs +2 -3
  86. package/dist/components/dropdown.d.ts +4 -64
  87. package/dist/components/dropdown.js +2 -67
  88. package/dist/components/dropdown.mjs +2 -3
  89. package/dist/components/image.js +2 -67
  90. package/dist/components/image.mjs +2 -3
  91. package/dist/components/index.d.ts +4 -1
  92. package/dist/components/index.js +926 -112
  93. package/dist/components/index.mjs +72 -59
  94. package/dist/components/input.js +14 -72
  95. package/dist/components/input.mjs +2 -3
  96. package/dist/components/kbd.js +3 -67
  97. package/dist/components/kbd.mjs +2 -3
  98. package/dist/components/link.js +2 -67
  99. package/dist/components/link.mjs +2 -3
  100. package/dist/components/listbox.js +2 -67
  101. package/dist/components/listbox.mjs +2 -3
  102. package/dist/components/menu.d.ts +2 -2
  103. package/dist/components/menu.js +2 -67
  104. package/dist/components/menu.mjs +2 -3
  105. package/dist/components/modal.js +4 -67
  106. package/dist/components/modal.mjs +2 -3
  107. package/dist/components/navbar.js +2 -67
  108. package/dist/components/navbar.mjs +2 -3
  109. package/dist/components/pagination.js +2 -67
  110. package/dist/components/pagination.mjs +2 -3
  111. package/dist/components/popover.d.ts +42 -0
  112. package/dist/components/popover.js +8 -67
  113. package/dist/components/popover.mjs +2 -3
  114. package/dist/components/progress.js +2 -67
  115. package/dist/components/progress.mjs +2 -3
  116. package/dist/components/radio.js +2 -67
  117. package/dist/components/radio.mjs +2 -3
  118. package/dist/components/scroll-shadow.js +2 -67
  119. package/dist/components/scroll-shadow.mjs +2 -3
  120. package/dist/components/select.js +30 -79
  121. package/dist/components/select.mjs +2 -3
  122. package/dist/components/skeleton.js +3 -68
  123. package/dist/components/skeleton.mjs +2 -3
  124. package/dist/components/slider.js +2 -67
  125. package/dist/components/slider.mjs +2 -3
  126. package/dist/components/snippet.js +2 -67
  127. package/dist/components/snippet.mjs +2 -3
  128. package/dist/components/spacer.js +2 -67
  129. package/dist/components/spacer.mjs +2 -3
  130. package/dist/components/spinner.js +2 -67
  131. package/dist/components/spinner.mjs +2 -3
  132. package/dist/components/table.js +28 -71
  133. package/dist/components/table.mjs +2 -3
  134. package/dist/components/tabs.d.ts +115 -0
  135. package/dist/components/tabs.js +20 -68
  136. package/dist/components/tabs.mjs +2 -3
  137. package/dist/components/toggle.js +7 -72
  138. package/dist/components/toggle.mjs +2 -3
  139. package/dist/components/user.d.ts +1 -1
  140. package/dist/components/user.js +2 -67
  141. package/dist/components/user.mjs +2 -3
  142. package/dist/default-layout.js +1 -2
  143. package/dist/default-layout.mjs +1 -1
  144. package/dist/index.d.ts +5 -2
  145. package/dist/index.js +1122 -430
  146. package/dist/index.mjs +78 -69
  147. package/dist/plugin.js +6 -177
  148. package/dist/plugin.mjs +5 -6
  149. package/dist/types.d.ts +1 -11
  150. package/dist/types.js +0 -64
  151. package/dist/types.mjs +1 -8
  152. package/dist/utilities/index.d.ts +0 -30
  153. package/dist/utilities/index.js +0 -30
  154. package/dist/utilities/index.mjs +2 -2
  155. package/dist/utilities/transition.d.ts +2 -31
  156. package/dist/utilities/transition.js +4 -31
  157. package/dist/utilities/transition.mjs +3 -1
  158. package/dist/utils/theme.d.ts +1 -3
  159. package/dist/utils/theme.js +0 -110
  160. package/dist/utils/theme.mjs +1 -6
  161. package/dist/utils/tv.js +2 -67
  162. package/dist/utils/tv.mjs +1 -2
  163. package/package.json +4 -4
  164. package/dist/chunk-DGMET46Q.mjs +0 -63
  165. package/dist/chunk-WA5F6AED.mjs +0 -57
  166. /package/dist/{chunk-T6HAGWX5.mjs → chunk-UVXYPGDZ.mjs} +0 -0
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(progress_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
103
- "bg-image": ["bg-stripe-gradient"],
104
- "min-w": [
105
- {
106
- "min-w": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ],
109
- "min-h": [
110
- {
111
- "min-h": ["unit", ...mappedSpacingScaleKeys]
112
- }
113
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  progress
3
- } from "../chunk-LQGOKGQV.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-524WVPFR.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  progress
8
7
  };
@@ -27,61 +27,6 @@ module.exports = __toCommonJS(radio_exports);
27
27
 
28
28
  // src/utils/tv.ts
29
29
  var import_tailwind_variants = require("tailwind-variants");
30
-
31
- // src/types.ts
32
- var spacingScaleKeys = [
33
- "0",
34
- "xs",
35
- "sm",
36
- "md",
37
- "lg",
38
- "xl",
39
- "2xl",
40
- "3xl",
41
- "4xl",
42
- "5xl",
43
- "6xl",
44
- "7xl",
45
- "8xl",
46
- "9xl",
47
- "1",
48
- "2",
49
- "3",
50
- "3.5",
51
- "4",
52
- "5",
53
- "6",
54
- "7",
55
- "8",
56
- "9",
57
- "10",
58
- "11",
59
- "12",
60
- "13",
61
- "14",
62
- "15",
63
- "16",
64
- "17",
65
- "18",
66
- "20",
67
- "24",
68
- "28",
69
- "32",
70
- "36",
71
- "40",
72
- "44",
73
- "48",
74
- "52",
75
- "56",
76
- "60",
77
- "64",
78
- "72",
79
- "80",
80
- "96"
81
- ];
82
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
83
-
84
- // src/utils/tv.ts
85
30
  var COMMON_UNITS = ["small", "medium", "large"];
86
31
  var tv = (options, config) => {
87
32
  var _a, _b, _c;
@@ -93,7 +38,7 @@ var tv = (options, config) => {
93
38
  theme: {
94
39
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
95
40
  opacity: ["disabled"],
96
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
41
+ spacing: ["divider"],
97
42
  borderWidth: COMMON_UNITS,
98
43
  borderRadius: COMMON_UNITS
99
44
  },
@@ -101,17 +46,7 @@ var tv = (options, config) => {
101
46
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
102
47
  shadow: [{ shadow: COMMON_UNITS }],
103
48
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
104
- "bg-image": ["bg-stripe-gradient"],
105
- "min-w": [
106
- {
107
- "min-w": ["unit", ...mappedSpacingScaleKeys]
108
- }
109
- ],
110
- "min-h": [
111
- {
112
- "min-h": ["unit", ...mappedSpacingScaleKeys]
113
- }
114
- ]
49
+ "bg-image": ["bg-stripe-gradient"]
115
50
  }
116
51
  }
117
52
  });
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  radio,
3
3
  radioGroup
4
- } from "../chunk-PXVLYT7W.mjs";
4
+ } from "../chunk-7ELFOVMX.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
6
  import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
8
+ import "../chunk-GMMETTYU.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
- import "../chunk-WA5F6AED.mjs";
11
10
  export {
12
11
  radio,
13
12
  radioGroup
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(scroll_shadow_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
103
- "bg-image": ["bg-stripe-gradient"],
104
- "min-w": [
105
- {
106
- "min-w": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ],
109
- "min-h": [
110
- {
111
- "min-h": ["unit", ...mappedSpacingScaleKeys]
112
- }
113
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  scrollShadow
3
- } from "../chunk-4JBYJQSP.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-ECP4S2VZ.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  scrollShadow
8
7
  };
@@ -35,61 +35,6 @@ var dataFocusVisibleClasses = [
35
35
 
36
36
  // src/utils/tv.ts
37
37
  var import_tailwind_variants = require("tailwind-variants");
38
-
39
- // src/types.ts
40
- var spacingScaleKeys = [
41
- "0",
42
- "xs",
43
- "sm",
44
- "md",
45
- "lg",
46
- "xl",
47
- "2xl",
48
- "3xl",
49
- "4xl",
50
- "5xl",
51
- "6xl",
52
- "7xl",
53
- "8xl",
54
- "9xl",
55
- "1",
56
- "2",
57
- "3",
58
- "3.5",
59
- "4",
60
- "5",
61
- "6",
62
- "7",
63
- "8",
64
- "9",
65
- "10",
66
- "11",
67
- "12",
68
- "13",
69
- "14",
70
- "15",
71
- "16",
72
- "17",
73
- "18",
74
- "20",
75
- "24",
76
- "28",
77
- "32",
78
- "36",
79
- "40",
80
- "44",
81
- "48",
82
- "52",
83
- "56",
84
- "60",
85
- "64",
86
- "72",
87
- "80",
88
- "96"
89
- ];
90
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
91
-
92
- // src/utils/tv.ts
93
38
  var COMMON_UNITS = ["small", "medium", "large"];
94
39
  var tv = (options, config) => {
95
40
  var _a, _b, _c;
@@ -101,7 +46,7 @@ var tv = (options, config) => {
101
46
  theme: {
102
47
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
103
48
  opacity: ["disabled"],
104
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
49
+ spacing: ["divider"],
105
50
  borderWidth: COMMON_UNITS,
106
51
  borderRadius: COMMON_UNITS
107
52
  },
@@ -109,17 +54,7 @@ var tv = (options, config) => {
109
54
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
110
55
  shadow: [{ shadow: COMMON_UNITS }],
111
56
  "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
- ]
57
+ "bg-image": ["bg-stripe-gradient"]
123
58
  }
124
59
  }
125
60
  });
@@ -134,6 +69,7 @@ var select = tv({
134
69
  "absolute",
135
70
  "z-10",
136
71
  "origin-top-left",
72
+ "rtl:origin-top-right",
137
73
  "subpixel-antialiased",
138
74
  "text-small",
139
75
  "text-foreground-500",
@@ -141,10 +77,10 @@ var select = tv({
141
77
  ],
142
78
  mainWrapper: "w-full flex flex-col",
143
79
  trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
144
- innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
145
- selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
146
- spinner: "absolute right-3",
147
- value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
80
+ innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.6))] min-h-4 items-center gap-1.5 box-border",
81
+ selectorIcon: "absolute right-3 rtl:left-3 rtl:right-[unset] w-4 h-4",
82
+ spinner: "absolute right-3 rtl:left-3 rtl:right-[unset]",
83
+ value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
148
84
  listboxWrapper: "scroll-py-6 max-h-64 w-full",
149
85
  listbox: "",
150
86
  popoverContent: "w-full p-1 overflow-hidden",
@@ -218,15 +154,15 @@ var select = tv({
218
154
  size: {
219
155
  sm: {
220
156
  label: "text-tiny",
221
- trigger: "h-unit-8 min-h-unit-8 px-2 rounded-small",
157
+ trigger: "h-8 min-h-8 px-2 rounded-small",
222
158
  value: "text-small"
223
159
  },
224
160
  md: {
225
- trigger: "h-unit-10 min-h-unit-10 rounded-medium",
161
+ trigger: "h-10 min-h-10 rounded-medium",
226
162
  value: "text-small"
227
163
  },
228
164
  lg: {
229
- trigger: "h-unit-12 min-h-unit-12 rounded-large",
165
+ trigger: "h-12 min-h-12 rounded-large",
230
166
  value: "text-medium"
231
167
  }
232
168
  },
@@ -253,7 +189,7 @@ var select = tv({
253
189
  },
254
190
  "outside-left": {
255
191
  base: "flex-row items-center flex-nowrap items-start",
256
- label: "relative pr-2 text-foreground"
192
+ label: "relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"
257
193
  },
258
194
  inside: {
259
195
  label: "text-tiny cursor-pointer",
@@ -304,6 +240,7 @@ var select = tv({
304
240
  label: [
305
241
  "will-change-auto",
306
242
  "origin-top-left",
243
+ "rtl:origin-top-right",
307
244
  "!duration-200",
308
245
  "!ease-out",
309
246
  "transition-[transform,color,left,opacity]",
@@ -624,14 +561,14 @@ var select = tv({
624
561
  labelPlacement: "inside",
625
562
  size: "sm",
626
563
  class: {
627
- trigger: "h-12 min-h-unit-12 py-1.5 px-3"
564
+ trigger: "h-12 min-h-12 py-1.5 px-3"
628
565
  }
629
566
  },
630
567
  {
631
568
  labelPlacement: "inside",
632
569
  size: "md",
633
570
  class: {
634
- trigger: "h-14 min-h-unit-14 py-2"
571
+ trigger: "h-14 min-h-14 py-2"
635
572
  }
636
573
  },
637
574
  {
@@ -639,7 +576,7 @@ var select = tv({
639
576
  size: "lg",
640
577
  class: {
641
578
  label: "text-small",
642
- trigger: "h-16 min-h-unit-16 py-2.5 gap-0"
579
+ trigger: "h-16 min-h-16 py-2.5 gap-0"
643
580
  }
644
581
  },
645
582
  {
@@ -653,7 +590,15 @@ var select = tv({
653
590
  isMultiline: false,
654
591
  class: {
655
592
  base: "group relative justify-end",
656
- label: ["pb-0", "z-20", "top-1/2", "-translate-y-1/2", "group-data-[filled=true]:left-0"]
593
+ label: [
594
+ "pb-0",
595
+ "z-20",
596
+ "top-1/2",
597
+ "-translate-y-1/2",
598
+ "group-data-[filled=true]:left-0",
599
+ "rtl:group-data-[filled=true]:right-0",
600
+ "rtl:group-data-[filled=true]:left-[unset]"
601
+ ]
657
602
  }
658
603
  },
659
604
  {
@@ -774,6 +719,8 @@ var select = tv({
774
719
  class: {
775
720
  label: [
776
721
  "left-2",
722
+ "rtl:right-2",
723
+ "rtl:left-[unset]",
777
724
  "text-tiny",
778
725
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
779
726
  ],
@@ -787,6 +734,8 @@ var select = tv({
787
734
  class: {
788
735
  label: [
789
736
  "left-3",
737
+ "rtl:right-3",
738
+ "rtl:left-[unset]",
790
739
  "text-small",
791
740
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
792
741
  ],
@@ -800,6 +749,8 @@ var select = tv({
800
749
  class: {
801
750
  label: [
802
751
  "left-3",
752
+ "rtl:right-3",
753
+ "rtl:left-[unset]",
803
754
  "text-medium",
804
755
  "group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
805
756
  ],
@@ -1,12 +1,11 @@
1
1
  import {
2
2
  select
3
- } from "../chunk-5EJVI4V3.mjs";
3
+ } from "../chunk-CTY7IP65.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
7
+ import "../chunk-GMMETTYU.mjs";
8
8
  import "../chunk-XHQUSKIE.mjs";
9
- import "../chunk-WA5F6AED.mjs";
10
9
  export {
11
10
  select
12
11
  };
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(skeleton_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
103
- "bg-image": ["bg-stripe-gradient"],
104
- "min-w": [
105
- {
106
- "min-w": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ],
109
- "min-h": [
110
- {
111
- "min-h": ["unit", ...mappedSpacingScaleKeys]
112
- }
113
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -151,7 +86,7 @@ var skeleton = tv({
151
86
  variants: {
152
87
  disableAnimation: {
153
88
  true: {
154
- base: "before:transition-none",
89
+ base: "before:animate-none before:transition-none after:transition-none",
155
90
  content: "transition-none"
156
91
  },
157
92
  false: {
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  skeleton
3
- } from "../chunk-U4EMZ2CQ.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-AO2AAOEJ.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  skeleton
8
7
  };