@nextui-org/theme 2.1.16 → 2.1.18

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 (122) hide show
  1. package/dist/{chunk-VPYXYIZ5.mjs → chunk-2SNOAR5H.mjs} +1 -1
  2. package/dist/{chunk-Y5WLFHBC.mjs → chunk-33DU6C7I.mjs} +1 -1
  3. package/dist/{chunk-5Y7664AG.mjs → chunk-3BNHFA72.mjs} +1 -1
  4. package/dist/{chunk-VGHVBXXT.mjs → chunk-4JBYJQSP.mjs} +1 -1
  5. package/dist/{chunk-SMRPQEB3.mjs → chunk-5EJVI4V3.mjs} +1 -1
  6. package/dist/chunk-6AEINX52.mjs +44 -0
  7. package/dist/{chunk-ODGTGSNM.mjs → chunk-777XXWYS.mjs} +1 -1
  8. package/dist/{chunk-362LGETO.mjs → chunk-77O7KLUI.mjs} +1 -1
  9. package/dist/{chunk-VD4MGTVP.mjs → chunk-B55QBA5E.mjs} +1 -1
  10. package/dist/{chunk-5GLH2ERS.mjs → chunk-CVU6I4IJ.mjs} +1 -1
  11. package/dist/{chunk-QWYWYOG6.mjs → chunk-DXTDUHS5.mjs} +1 -1
  12. package/dist/{chunk-PFGLTKGJ.mjs → chunk-EC4F6RJF.mjs} +1 -1
  13. package/dist/{chunk-HBLCAYSX.mjs → chunk-EGP3AT4R.mjs} +1 -1
  14. package/dist/{chunk-WNVF6X3M.mjs → chunk-FHNC7F3W.mjs} +1 -1
  15. package/dist/{chunk-FUMNSN2H.mjs → chunk-GNLIYZAQ.mjs} +1 -1
  16. package/dist/{chunk-YUBM4HDU.mjs → chunk-GOHT67J3.mjs} +1 -1
  17. package/dist/{chunk-I5E37FAL.mjs → chunk-JBHEJMGV.mjs} +1 -1
  18. package/dist/{chunk-YRDQW7V4.mjs → chunk-L37EV5TN.mjs} +1 -1
  19. package/dist/{chunk-BR6V72YY.mjs → chunk-LENRVMCD.mjs} +1 -1
  20. package/dist/{chunk-XHQNEGB6.mjs → chunk-LQGOKGQV.mjs} +1 -1
  21. package/dist/{chunk-J6EGGODL.mjs → chunk-MUPUMXL7.mjs} +1 -1
  22. package/dist/{chunk-B6QMTIF2.mjs → chunk-NAY2XKLY.mjs} +1 -1
  23. package/dist/{chunk-VOTIIGIW.mjs → chunk-NVOA7VPK.mjs} +20 -1
  24. package/dist/{chunk-WYVG7NY6.mjs → chunk-PXVLYT7W.mjs} +1 -1
  25. package/dist/{chunk-XNF3KCH7.mjs → chunk-Q3TEEYQJ.mjs} +1 -1
  26. package/dist/{chunk-CLW3JMFF.mjs → chunk-QYW2VWAB.mjs} +1 -1
  27. package/dist/{chunk-76A2UI6G.mjs → chunk-RJKUWMDJ.mjs} +1 -1
  28. package/dist/{chunk-QF56VSRK.mjs → chunk-SPRRISBY.mjs} +1 -1
  29. package/dist/{chunk-JMOQB2OS.mjs → chunk-TDMF44G6.mjs} +1 -1
  30. package/dist/{chunk-JX6O4KJS.mjs → chunk-U4EMZ2CQ.mjs} +1 -1
  31. package/dist/{chunk-F36W5Y6O.mjs → chunk-WBNF66V7.mjs} +1 -1
  32. package/dist/{chunk-TUUOVVH3.mjs → chunk-WODEC7EF.mjs} +4 -4
  33. package/dist/{chunk-HYA3WURA.mjs → chunk-XPLXQDB3.mjs} +1 -1
  34. package/dist/{chunk-J7FVLFSZ.mjs → chunk-XY766PDD.mjs} +1 -1
  35. package/dist/{chunk-AQDGQGUV.mjs → chunk-Y5VJSYKV.mjs} +1 -1
  36. package/dist/{chunk-N7N2LONM.mjs → chunk-YSXRNNDV.mjs} +1 -1
  37. package/dist/{chunk-VU5TSYMO.mjs → chunk-ZWJMJMVY.mjs} +1 -1
  38. package/dist/components/accordion.js +32 -25
  39. package/dist/components/accordion.mjs +2 -2
  40. package/dist/components/autocomplete.js +32 -25
  41. package/dist/components/autocomplete.mjs +2 -2
  42. package/dist/components/avatar.js +32 -25
  43. package/dist/components/avatar.mjs +2 -2
  44. package/dist/components/badge.js +32 -25
  45. package/dist/components/badge.mjs +2 -2
  46. package/dist/components/breadcrumbs.js +32 -25
  47. package/dist/components/breadcrumbs.mjs +2 -2
  48. package/dist/components/button.js +32 -25
  49. package/dist/components/button.mjs +2 -2
  50. package/dist/components/card.js +32 -25
  51. package/dist/components/card.mjs +2 -2
  52. package/dist/components/checkbox.js +32 -25
  53. package/dist/components/checkbox.mjs +2 -2
  54. package/dist/components/chip.js +51 -25
  55. package/dist/components/chip.mjs +2 -2
  56. package/dist/components/circular-progress.js +32 -25
  57. package/dist/components/circular-progress.mjs +2 -2
  58. package/dist/components/code.js +32 -25
  59. package/dist/components/code.mjs +2 -2
  60. package/dist/components/divider.js +32 -25
  61. package/dist/components/divider.mjs +2 -2
  62. package/dist/components/drip.js +32 -25
  63. package/dist/components/drip.mjs +2 -2
  64. package/dist/components/dropdown.js +32 -25
  65. package/dist/components/dropdown.mjs +2 -2
  66. package/dist/components/image.js +32 -25
  67. package/dist/components/image.mjs +2 -2
  68. package/dist/components/index.js +54 -28
  69. package/dist/components/index.mjs +37 -37
  70. package/dist/components/input.js +32 -25
  71. package/dist/components/input.mjs +2 -2
  72. package/dist/components/kbd.js +32 -25
  73. package/dist/components/kbd.mjs +2 -2
  74. package/dist/components/link.js +32 -25
  75. package/dist/components/link.mjs +2 -2
  76. package/dist/components/listbox.js +32 -25
  77. package/dist/components/listbox.mjs +2 -2
  78. package/dist/components/menu.js +32 -25
  79. package/dist/components/menu.mjs +2 -2
  80. package/dist/components/modal.js +32 -25
  81. package/dist/components/modal.mjs +2 -2
  82. package/dist/components/navbar.js +32 -25
  83. package/dist/components/navbar.mjs +2 -2
  84. package/dist/components/pagination.js +32 -25
  85. package/dist/components/pagination.mjs +2 -2
  86. package/dist/components/popover.js +32 -25
  87. package/dist/components/popover.mjs +2 -2
  88. package/dist/components/progress.js +32 -25
  89. package/dist/components/progress.mjs +2 -2
  90. package/dist/components/radio.js +32 -25
  91. package/dist/components/radio.mjs +2 -2
  92. package/dist/components/scroll-shadow.js +32 -25
  93. package/dist/components/scroll-shadow.mjs +2 -2
  94. package/dist/components/select.js +32 -25
  95. package/dist/components/select.mjs +2 -2
  96. package/dist/components/skeleton.js +32 -25
  97. package/dist/components/skeleton.mjs +2 -2
  98. package/dist/components/slider.js +32 -25
  99. package/dist/components/slider.mjs +2 -2
  100. package/dist/components/snippet.js +32 -25
  101. package/dist/components/snippet.mjs +2 -2
  102. package/dist/components/spacer.js +32 -25
  103. package/dist/components/spacer.mjs +2 -2
  104. package/dist/components/spinner.d.ts +1 -1
  105. package/dist/components/spinner.js +32 -25
  106. package/dist/components/spinner.mjs +2 -2
  107. package/dist/components/table.js +32 -25
  108. package/dist/components/table.mjs +2 -2
  109. package/dist/components/tabs.js +32 -25
  110. package/dist/components/tabs.mjs +2 -2
  111. package/dist/components/toggle.js +35 -28
  112. package/dist/components/toggle.mjs +2 -2
  113. package/dist/components/user.d.ts +5 -5
  114. package/dist/components/user.js +32 -25
  115. package/dist/components/user.mjs +2 -2
  116. package/dist/index.js +54 -28
  117. package/dist/index.mjs +37 -37
  118. package/dist/utils/tv.d.ts +2 -2
  119. package/dist/utils/tv.js +32 -25
  120. package/dist/utils/tv.mjs +1 -1
  121. package/package.json +2 -2
  122. package/dist/chunk-WBUVHAJX.mjs +0 -37
@@ -82,32 +82,39 @@ 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 = (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
- ]
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
+ }
108
115
  }
109
- }
110
- });
116
+ });
117
+ };
111
118
 
112
119
  // src/components/circular-progress.ts
113
120
  var circularProgress = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  circularProgress
3
- } from "../chunk-HYA3WURA.mjs";
4
- import "../chunk-WBUVHAJX.mjs";
3
+ } from "../chunk-XPLXQDB3.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  circularProgress
@@ -82,32 +82,39 @@ 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 = (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
- ]
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
+ }
108
115
  }
109
- }
110
- });
116
+ });
117
+ };
111
118
 
112
119
  // src/utils/variants.ts
113
120
  var solid = {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  code
3
- } from "../chunk-362LGETO.mjs";
3
+ } from "../chunk-77O7KLUI.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-WBUVHAJX.mjs";
7
+ import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-XHQUSKIE.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -82,32 +82,39 @@ 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 = (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
- ]
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
+ }
108
115
  }
109
- }
110
- });
116
+ });
117
+ };
111
118
 
112
119
  // src/components/divider.ts
113
120
  var divider = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  divider
3
- } from "../chunk-N7N2LONM.mjs";
4
- import "../chunk-WBUVHAJX.mjs";
3
+ } from "../chunk-YSXRNNDV.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  divider
@@ -82,32 +82,39 @@ 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 = (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
- ]
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
+ }
108
115
  }
109
- }
110
- });
116
+ });
117
+ };
111
118
 
112
119
  // src/components/drip.ts
113
120
  var drip = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  drip
3
- } from "../chunk-FUMNSN2H.mjs";
4
- import "../chunk-WBUVHAJX.mjs";
3
+ } from "../chunk-GNLIYZAQ.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  drip
@@ -85,32 +85,39 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
85
85
 
86
86
  // src/utils/tv.ts
87
87
  var COMMON_UNITS = ["small", "medium", "large"];
88
- var tv = (0, import_tailwind_variants.createTV)({
89
- twMerge: true,
90
- twMergeConfig: {
91
- theme: {
92
- opacity: ["disabled"],
93
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
94
- borderWidth: COMMON_UNITS,
95
- borderRadius: COMMON_UNITS
96
- },
97
- classGroups: {
98
- shadow: [{ shadow: COMMON_UNITS }],
99
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
100
- "bg-image": ["bg-stripe-gradient"],
101
- "min-w": [
102
- {
103
- "min-w": ["unit", ...mappedSpacingScaleKeys]
104
- }
105
- ],
106
- "min-h": [
107
- {
108
- "min-h": ["unit", ...mappedSpacingScaleKeys]
109
- }
110
- ]
88
+ var tv = (options, config) => {
89
+ var _a, _b, _c;
90
+ return (0, import_tailwind_variants.tv)(options, {
91
+ ...config,
92
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
93
+ twMergeConfig: {
94
+ ...config == null ? void 0 : config.twMergeConfig,
95
+ theme: {
96
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
97
+ opacity: ["disabled"],
98
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
99
+ borderWidth: COMMON_UNITS,
100
+ borderRadius: COMMON_UNITS
101
+ },
102
+ classGroups: {
103
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.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
+ ]
117
+ }
111
118
  }
112
- }
113
- });
119
+ });
120
+ };
114
121
 
115
122
  // src/utils/classes.ts
116
123
  var dataFocusVisibleClasses = [
@@ -3,11 +3,11 @@ import {
3
3
  dropdownItem,
4
4
  dropdownMenu,
5
5
  dropdownSection
6
- } from "../chunk-5GLH2ERS.mjs";
6
+ } from "../chunk-CVU6I4IJ.mjs";
7
7
  import "../chunk-CMYR6AOY.mjs";
8
8
  import "../chunk-K7LK7NCE.mjs";
9
9
  import "../chunk-2PIR7DFM.mjs";
10
- import "../chunk-WBUVHAJX.mjs";
10
+ import "../chunk-6AEINX52.mjs";
11
11
  import "../chunk-XHQUSKIE.mjs";
12
12
  import "../chunk-WA5F6AED.mjs";
13
13
  export {
@@ -82,32 +82,39 @@ 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 = (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
- ]
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
+ }
108
115
  }
109
- }
110
- });
116
+ });
117
+ };
111
118
 
112
119
  // src/components/image.ts
113
120
  var image = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  image
3
- } from "../chunk-F36W5Y6O.mjs";
4
- import "../chunk-WBUVHAJX.mjs";
3
+ } from "../chunk-WBNF66V7.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  image
@@ -132,32 +132,39 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
132
132
 
133
133
  // src/utils/tv.ts
134
134
  var COMMON_UNITS = ["small", "medium", "large"];
135
- var tv = (0, import_tailwind_variants.createTV)({
136
- twMerge: true,
137
- twMergeConfig: {
138
- theme: {
139
- opacity: ["disabled"],
140
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
141
- borderWidth: COMMON_UNITS,
142
- borderRadius: COMMON_UNITS
143
- },
144
- classGroups: {
145
- shadow: [{ shadow: COMMON_UNITS }],
146
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
147
- "bg-image": ["bg-stripe-gradient"],
148
- "min-w": [
149
- {
150
- "min-w": ["unit", ...mappedSpacingScaleKeys]
151
- }
152
- ],
153
- "min-h": [
154
- {
155
- "min-h": ["unit", ...mappedSpacingScaleKeys]
156
- }
157
- ]
135
+ var tv = (options, config) => {
136
+ var _a, _b, _c;
137
+ return (0, import_tailwind_variants.tv)(options, {
138
+ ...config,
139
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
140
+ twMergeConfig: {
141
+ ...config == null ? void 0 : config.twMergeConfig,
142
+ theme: {
143
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
144
+ opacity: ["disabled"],
145
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
146
+ borderWidth: COMMON_UNITS,
147
+ borderRadius: COMMON_UNITS
148
+ },
149
+ classGroups: {
150
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
151
+ shadow: [{ shadow: COMMON_UNITS }],
152
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
153
+ "bg-image": ["bg-stripe-gradient"],
154
+ "min-w": [
155
+ {
156
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
157
+ }
158
+ ],
159
+ "min-h": [
160
+ {
161
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
162
+ }
163
+ ]
164
+ }
158
165
  }
159
- }
160
- });
166
+ });
167
+ };
161
168
 
162
169
  // src/utils/classes.ts
163
170
  var dataFocusVisibleClasses = [
@@ -1718,6 +1725,7 @@ var chip = tv({
1718
1725
  base: [
1719
1726
  "relative",
1720
1727
  "max-w-fit",
1728
+ "min-w-min",
1721
1729
  "inline-flex",
1722
1730
  "items-center",
1723
1731
  "justify-between",
@@ -2100,6 +2108,8 @@ var chip = tv({
2100
2108
  },
2101
2109
  {
2102
2110
  isOneChar: true,
2111
+ hasStartContent: false,
2112
+ hasEndContent: false,
2103
2113
  size: "sm",
2104
2114
  class: {
2105
2115
  base: "w-5 h-5 min-w-unit-5 min-h-5"
@@ -2107,6 +2117,8 @@ var chip = tv({
2107
2117
  },
2108
2118
  {
2109
2119
  isOneChar: true,
2120
+ hasStartContent: false,
2121
+ hasEndContent: false,
2110
2122
  size: "md",
2111
2123
  class: {
2112
2124
  base: "w-6 h-6 min-w-unit-6 min-h-6"
@@ -2114,6 +2126,8 @@ var chip = tv({
2114
2126
  },
2115
2127
  {
2116
2128
  isOneChar: true,
2129
+ hasStartContent: false,
2130
+ hasEndContent: false,
2117
2131
  size: "lg",
2118
2132
  class: {
2119
2133
  base: "w-7 h-7 min-w-unit-7 min-h-7"
@@ -2122,6 +2136,8 @@ var chip = tv({
2122
2136
  {
2123
2137
  isOneChar: true,
2124
2138
  isCloseable: false,
2139
+ hasStartContent: false,
2140
+ hasEndContent: false,
2125
2141
  class: {
2126
2142
  base: "px-0 justify-center",
2127
2143
  content: "px-0 flex-none"
@@ -2130,10 +2146,20 @@ var chip = tv({
2130
2146
  {
2131
2147
  isOneChar: true,
2132
2148
  isCloseable: true,
2149
+ hasStartContent: false,
2150
+ hasEndContent: false,
2133
2151
  class: {
2134
2152
  base: "w-auto"
2135
2153
  }
2136
2154
  },
2155
+ {
2156
+ isOneChar: true,
2157
+ variant: "dot",
2158
+ class: {
2159
+ base: "w-auto h-7 px-1 items-center",
2160
+ content: "px-2"
2161
+ }
2162
+ },
2137
2163
  {
2138
2164
  hasStartContent: true,
2139
2165
  size: "sm",
@@ -3359,7 +3385,7 @@ var toggle = tv({
3359
3385
  wrapper: "w-10 h-6 mr-2",
3360
3386
  thumb: [
3361
3387
  "w-4 h-4 text-tiny",
3362
- "group-data-[selected=true]:ml-4"
3388
+ "group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"
3363
3389
  ],
3364
3390
  endContent: "text-tiny",
3365
3391
  startContent: "text-tiny",
@@ -3369,7 +3395,7 @@ var toggle = tv({
3369
3395
  wrapper: "w-12 h-7 mr-2",
3370
3396
  thumb: [
3371
3397
  "w-5 h-5 text-small",
3372
- "group-data-[selected=true]:ml-5"
3398
+ "group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"
3373
3399
  ],
3374
3400
  endContent: "text-small",
3375
3401
  startContent: "text-small",
@@ -3379,7 +3405,7 @@ var toggle = tv({
3379
3405
  wrapper: "w-14 h-8 mr-2",
3380
3406
  thumb: [
3381
3407
  "w-6 h-6 text-medium",
3382
- "group-data-[selected=true]:ml-6"
3408
+ "group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"
3383
3409
  ],
3384
3410
  endContent: "text-medium",
3385
3411
  startContent: "text-medium",