@nextui-org/theme 2.1.8 → 2.1.10

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 (164) 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-RYOZQSNI.mjs → chunk-6XG3Y4GM.mjs} +12 -7
  4. package/dist/chunk-76A2UI6G.mjs +243 -0
  5. package/dist/chunk-AQDGQGUV.mjs +391 -0
  6. package/dist/{chunk-NAY2XKLY.mjs → chunk-B6QMTIF2.mjs} +1 -1
  7. package/dist/{chunk-LGRQRHJJ.mjs → chunk-BR6V72YY.mjs} +6 -3
  8. package/dist/{chunk-PJV3MWBL.mjs → chunk-C3KZKKPN.mjs} +182 -49
  9. package/dist/{chunk-2T5RQ7SK.mjs → chunk-CLW3JMFF.mjs} +36 -6
  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-YSXRNNDV.mjs → chunk-N7N2LONM.mjs} +1 -1
  22. package/dist/{chunk-RHIZZ5XX.mjs → chunk-ODGTGSNM.mjs} +2 -2
  23. package/dist/{chunk-EC4F6RJF.mjs → chunk-PFGLTKGJ.mjs} +1 -1
  24. package/dist/{chunk-FZZINZOQ.mjs → chunk-QF56VSRK.mjs} +23 -6
  25. package/dist/{chunk-YKWIBFFV.mjs → chunk-QWYWYOG6.mjs} +18 -4
  26. package/dist/{chunk-Y32IWEMZ.mjs → chunk-S7W5DQP2.mjs} +3 -3
  27. package/dist/{chunk-F76574GG.mjs → chunk-SCQJ4BM3.mjs} +105 -39
  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-Y33ZY7KH.mjs → chunk-WYVG7NY6.mjs} +34 -5
  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.d.ts +163 -36
  63. package/dist/components/checkbox.js +59 -36
  64. package/dist/components/checkbox.mjs +3 -3
  65. package/dist/components/chip.js +26 -33
  66. package/dist/components/chip.mjs +3 -3
  67. package/dist/components/circular-progress.js +25 -32
  68. package/dist/components/circular-progress.mjs +2 -2
  69. package/dist/components/code.js +25 -32
  70. package/dist/components/code.mjs +3 -3
  71. package/dist/components/divider.js +25 -32
  72. package/dist/components/divider.mjs +2 -2
  73. package/dist/components/drip.d.ts +29 -3
  74. package/dist/components/drip.js +25 -32
  75. package/dist/components/drip.mjs +2 -2
  76. package/dist/components/dropdown.d.ts +103 -35
  77. package/dist/components/dropdown.js +25 -32
  78. package/dist/components/dropdown.mjs +3 -3
  79. package/dist/components/image.js +25 -32
  80. package/dist/components/image.mjs +2 -2
  81. package/dist/components/index.d.ts +4 -1
  82. package/dist/components/index.js +1271 -231
  83. package/dist/components/index.mjs +62 -48
  84. package/dist/components/input.d.ts +34 -41
  85. package/dist/components/input.js +205 -79
  86. package/dist/components/input.mjs +3 -3
  87. package/dist/components/kbd.js +25 -32
  88. package/dist/components/kbd.mjs +2 -2
  89. package/dist/components/link.js +25 -32
  90. package/dist/components/link.mjs +3 -3
  91. package/dist/components/listbox.d.ts +1 -1
  92. package/dist/components/listbox.js +41 -34
  93. package/dist/components/listbox.mjs +3 -3
  94. package/dist/components/menu.d.ts +119 -40
  95. package/dist/components/menu.js +41 -34
  96. package/dist/components/menu.mjs +3 -3
  97. package/dist/components/modal.js +25 -32
  98. package/dist/components/modal.mjs +3 -3
  99. package/dist/components/navbar.js +29 -33
  100. package/dist/components/navbar.mjs +3 -3
  101. package/dist/components/pagination.js +46 -36
  102. package/dist/components/pagination.mjs +3 -3
  103. package/dist/components/popover.d.ts +136 -132
  104. package/dist/components/popover.js +98 -94
  105. package/dist/components/popover.mjs +3 -3
  106. package/dist/components/progress.js +25 -32
  107. package/dist/components/progress.mjs +2 -2
  108. package/dist/components/radio.d.ts +135 -36
  109. package/dist/components/radio.js +57 -35
  110. package/dist/components/radio.mjs +3 -3
  111. package/dist/components/scroll-shadow.js +25 -32
  112. package/dist/components/scroll-shadow.mjs +2 -2
  113. package/dist/components/select.d.ts +30 -51
  114. package/dist/components/select.js +128 -69
  115. package/dist/components/select.mjs +3 -3
  116. package/dist/components/skeleton.js +26 -33
  117. package/dist/components/skeleton.mjs +2 -2
  118. package/dist/components/slider.d.ts +1024 -0
  119. package/dist/components/slider.js +504 -0
  120. package/dist/components/slider.mjs +12 -0
  121. package/dist/components/snippet.js +25 -32
  122. package/dist/components/snippet.mjs +3 -3
  123. package/dist/components/spacer.js +25 -32
  124. package/dist/components/spacer.mjs +2 -2
  125. package/dist/components/spinner.js +25 -32
  126. package/dist/components/spinner.mjs +2 -2
  127. package/dist/components/table.js +25 -32
  128. package/dist/components/table.mjs +3 -3
  129. package/dist/components/tabs.js +25 -32
  130. package/dist/components/tabs.mjs +3 -3
  131. package/dist/components/toggle.js +25 -32
  132. package/dist/components/toggle.mjs +3 -3
  133. package/dist/components/user.d.ts +45 -29
  134. package/dist/components/user.js +25 -32
  135. package/dist/components/user.mjs +3 -3
  136. package/dist/default-layout.js +4 -1
  137. package/dist/default-layout.mjs +1 -1
  138. package/dist/index.d.ts +5 -2
  139. package/dist/index.js +1381 -320
  140. package/dist/index.mjs +69 -53
  141. package/dist/plugin.js +24 -5
  142. package/dist/plugin.mjs +6 -6
  143. package/dist/types.d.ts +8 -0
  144. package/dist/utilities/index.d.ts +10 -0
  145. package/dist/utilities/index.js +10 -0
  146. package/dist/utilities/index.mjs +2 -2
  147. package/dist/utilities/transition.d.ts +10 -0
  148. package/dist/utilities/transition.js +10 -0
  149. package/dist/utilities/transition.mjs +1 -1
  150. package/dist/utils/classes.d.ts +13 -1
  151. package/dist/utils/classes.js +10 -0
  152. package/dist/utils/classes.mjs +3 -1
  153. package/dist/utils/index.d.ts +1 -1
  154. package/dist/utils/index.js +10 -0
  155. package/dist/utils/index.mjs +3 -1
  156. package/dist/utils/theme.js +4 -3
  157. package/dist/utils/theme.mjs +1 -1
  158. package/dist/utils/tv.d.ts +2 -2
  159. package/dist/utils/tv.js +25 -32
  160. package/dist/utils/tv.mjs +1 -1
  161. package/package.json +9 -9
  162. package/dist/chunk-6AEINX52.mjs +0 -44
  163. package/dist/chunk-SN5GEHHN.mjs +0 -160
  164. /package/dist/{chunk-RH7YHIQY.mjs → chunk-T6HAGWX5.mjs} +0 -0
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "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
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/components/spinner.ts
120
113
  var spinner = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  spinner
3
- } from "../chunk-NAY2XKLY.mjs";
4
- import "../chunk-6AEINX52.mjs";
3
+ } from "../chunk-B6QMTIF2.mjs";
4
+ import "../chunk-WBUVHAJX.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  spinner
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "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
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var dataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  table
3
- } from "../chunk-ADNJ6GPZ.mjs";
3
+ } from "../chunk-VU5TSYMO.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
  table
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "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
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var dataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  tabs
3
- } from "../chunk-RHIZZ5XX.mjs";
3
+ } from "../chunk-ODGTGSNM.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
  tabs
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "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
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var groupDataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-TIMHSW45.mjs";
3
+ } from "../chunk-TUUOVVH3.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
  toggle
@@ -15,36 +15,48 @@ import * as tailwind_variants from 'tailwind-variants';
15
15
  * </div>
16
16
  * </div>
17
17
  */
18
- declare const user: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsDefault<{
19
- base: string[];
20
- wrapper: string;
21
- name: string;
22
- description: string;
23
- }, undefined> | {
18
+ declare const user: tailwind_variants.TVReturnType<{
19
+ [key: string]: {
20
+ [key: string]: tailwind_variants.ClassValue | {
21
+ base?: tailwind_variants.ClassValue;
22
+ name?: tailwind_variants.ClassValue;
23
+ wrapper?: tailwind_variants.ClassValue;
24
+ description?: tailwind_variants.ClassValue;
25
+ };
26
+ };
27
+ } | {
24
28
  [x: string]: {
25
- [x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<{
26
- base: string[];
27
- wrapper: string;
28
- name: string;
29
- description: string;
30
- }, undefined>;
29
+ [x: string]: tailwind_variants.ClassValue | {
30
+ base?: tailwind_variants.ClassValue;
31
+ name?: tailwind_variants.ClassValue;
32
+ wrapper?: tailwind_variants.ClassValue;
33
+ description?: tailwind_variants.ClassValue;
34
+ };
31
35
  } | undefined;
32
36
  } | {}, {
33
37
  base: string[];
34
38
  wrapper: string;
35
39
  name: string;
36
40
  description: string;
37
- }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
38
- base: string[];
39
- wrapper: string;
40
- name: string;
41
- description: string;
42
- }, undefined> | {}>, tailwind_variants.TVVariantsDefault<{
43
- base: string[];
44
- wrapper: string;
45
- name: string;
46
- description: string;
47
- }, undefined> | {}, {
41
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
42
+ [key: string]: {
43
+ [key: string]: tailwind_variants.ClassValue | {
44
+ base?: tailwind_variants.ClassValue;
45
+ name?: tailwind_variants.ClassValue;
46
+ wrapper?: tailwind_variants.ClassValue;
47
+ description?: tailwind_variants.ClassValue;
48
+ };
49
+ };
50
+ } | {}>, {
51
+ [key: string]: {
52
+ [key: string]: tailwind_variants.ClassValue | {
53
+ base?: tailwind_variants.ClassValue;
54
+ name?: tailwind_variants.ClassValue;
55
+ wrapper?: tailwind_variants.ClassValue;
56
+ description?: tailwind_variants.ClassValue;
57
+ };
58
+ };
59
+ } | {}, {
48
60
  base: string[];
49
61
  wrapper: string;
50
62
  name: string;
@@ -54,12 +66,16 @@ declare const user: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsD
54
66
  wrapper: string;
55
67
  name: string;
56
68
  description: string;
57
- }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
58
- base: string[];
59
- wrapper: string;
60
- name: string;
61
- description: string;
62
- }, undefined> | {}>, unknown, unknown, undefined>>;
69
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
70
+ [key: string]: {
71
+ [key: string]: tailwind_variants.ClassValue | {
72
+ base?: tailwind_variants.ClassValue;
73
+ name?: tailwind_variants.ClassValue;
74
+ wrapper?: tailwind_variants.ClassValue;
75
+ description?: tailwind_variants.ClassValue;
76
+ };
77
+ };
78
+ } | {}>, unknown, unknown, undefined>>;
63
79
  type UserSlots = keyof ReturnType<typeof user>;
64
80
 
65
81
  export { UserSlots, user };
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "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
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var dataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  user
3
- } from "../chunk-O24TFHPZ.mjs";
3
+ } from "../chunk-VPYXYIZ5.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
  user
@@ -57,8 +57,11 @@ var defaultLayout = {
57
57
  large: "0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"
58
58
  }
59
59
  };
60
- var lightLayout = {};
60
+ var lightLayout = {
61
+ hoverOpacity: ".8"
62
+ };
61
63
  var darkLayout = {
64
+ hoverOpacity: ".9",
62
65
  boxShadow: {
63
66
  small: "0px 0px 5px 0px rgb(0 0 0 / 0.05), 0px 2px 10px 0px rgb(0 0 0 / 0.2), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
64
67
  medium: "0px 0px 15px 0px rgb(0 0 0 / 0.06), 0px 2px 30px 0px rgb(0 0 0 / 0.22), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
@@ -2,7 +2,7 @@ import {
2
2
  darkLayout,
3
3
  defaultLayout,
4
4
  lightLayout
5
- } from "./chunk-7MCHEQXT.mjs";
5
+ } from "./chunk-VZI6SR6H.mjs";
6
6
  export {
7
7
  darkLayout,
8
8
  defaultLayout,
package/dist/index.d.ts CHANGED
@@ -29,9 +29,12 @@ export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.js';
29
29
  export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js';
30
30
  export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js';
31
31
  export { SelectSlots, SelectVariantProps, select } from './components/select.js';
32
- export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.js';
32
+ export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.js';
33
33
  export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.js';
34
- export { absoluteFullClasses, baseStyles, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
34
+ export { SliderSlots, SliderVariantProps, slider } from './components/slider.js';
35
+ export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './components/breadcrumbs.js';
36
+ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './components/autocomplete.js';
37
+ export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
35
38
  export { SlotsToClasses } from './utils/types.js';
36
39
  export { colorVariants } from './utils/variants.js';
37
40
  export { colors } from './colors/index.js';