@nextui-org/theme 2.1.15 → 2.1.17

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-TUUOVVH3.mjs → chunk-FXXH62BP.mjs} +1 -1
  16. package/dist/{chunk-VOTIIGIW.mjs → chunk-G2RPAV6S.mjs} +1 -1
  17. package/dist/{chunk-FUMNSN2H.mjs → chunk-GNLIYZAQ.mjs} +1 -1
  18. package/dist/{chunk-CTFFC543.mjs → chunk-GOHT67J3.mjs} +19 -3
  19. package/dist/{chunk-I5E37FAL.mjs → chunk-JBHEJMGV.mjs} +1 -1
  20. package/dist/{chunk-YRDQW7V4.mjs → chunk-L37EV5TN.mjs} +1 -1
  21. package/dist/{chunk-BR6V72YY.mjs → chunk-LENRVMCD.mjs} +1 -1
  22. package/dist/{chunk-XHQNEGB6.mjs → chunk-LQGOKGQV.mjs} +1 -1
  23. package/dist/{chunk-J6EGGODL.mjs → chunk-MUPUMXL7.mjs} +1 -1
  24. package/dist/{chunk-B6QMTIF2.mjs → chunk-NAY2XKLY.mjs} +1 -1
  25. package/dist/{chunk-WYVG7NY6.mjs → chunk-PXVLYT7W.mjs} +1 -1
  26. package/dist/{chunk-XNF3KCH7.mjs → chunk-Q3TEEYQJ.mjs} +1 -1
  27. package/dist/{chunk-CLW3JMFF.mjs → chunk-QYW2VWAB.mjs} +1 -1
  28. package/dist/{chunk-76A2UI6G.mjs → chunk-RJKUWMDJ.mjs} +1 -1
  29. package/dist/{chunk-QF56VSRK.mjs → chunk-SPRRISBY.mjs} +1 -1
  30. package/dist/{chunk-JMOQB2OS.mjs → chunk-TDMF44G6.mjs} +1 -1
  31. package/dist/{chunk-JX6O4KJS.mjs → chunk-U4EMZ2CQ.mjs} +1 -1
  32. package/dist/{chunk-F36W5Y6O.mjs → chunk-WBNF66V7.mjs} +1 -1
  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 +32 -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 +50 -27
  69. package/dist/components/index.mjs +37 -37
  70. package/dist/components/input.d.ts +7 -0
  71. package/dist/components/input.js +50 -27
  72. package/dist/components/input.mjs +2 -2
  73. package/dist/components/kbd.js +32 -25
  74. package/dist/components/kbd.mjs +2 -2
  75. package/dist/components/link.js +32 -25
  76. package/dist/components/link.mjs +2 -2
  77. package/dist/components/listbox.js +32 -25
  78. package/dist/components/listbox.mjs +2 -2
  79. package/dist/components/menu.js +32 -25
  80. package/dist/components/menu.mjs +2 -2
  81. package/dist/components/modal.js +32 -25
  82. package/dist/components/modal.mjs +2 -2
  83. package/dist/components/navbar.js +32 -25
  84. package/dist/components/navbar.mjs +2 -2
  85. package/dist/components/pagination.js +32 -25
  86. package/dist/components/pagination.mjs +2 -2
  87. package/dist/components/popover.js +32 -25
  88. package/dist/components/popover.mjs +2 -2
  89. package/dist/components/progress.js +32 -25
  90. package/dist/components/progress.mjs +2 -2
  91. package/dist/components/radio.js +32 -25
  92. package/dist/components/radio.mjs +2 -2
  93. package/dist/components/scroll-shadow.js +32 -25
  94. package/dist/components/scroll-shadow.mjs +2 -2
  95. package/dist/components/select.js +32 -25
  96. package/dist/components/select.mjs +2 -2
  97. package/dist/components/skeleton.js +32 -25
  98. package/dist/components/skeleton.mjs +2 -2
  99. package/dist/components/slider.js +32 -25
  100. package/dist/components/slider.mjs +2 -2
  101. package/dist/components/snippet.js +32 -25
  102. package/dist/components/snippet.mjs +2 -2
  103. package/dist/components/spacer.js +32 -25
  104. package/dist/components/spacer.mjs +2 -2
  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 +32 -25
  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 +50 -27
  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 +1 -1
  122. package/dist/chunk-WBUVHAJX.mjs +0 -37
@@ -1,129 +1,129 @@
1
1
  import "../chunk-T6HAGWX5.mjs";
2
2
  import {
3
3
  slider
4
- } from "../chunk-AQDGQGUV.mjs";
4
+ } from "../chunk-Y5VJSYKV.mjs";
5
5
  import {
6
6
  snippet
7
- } from "../chunk-VD4MGTVP.mjs";
7
+ } from "../chunk-B55QBA5E.mjs";
8
8
  import {
9
9
  spacer
10
- } from "../chunk-PFGLTKGJ.mjs";
10
+ } from "../chunk-EC4F6RJF.mjs";
11
11
  import {
12
12
  spinner
13
- } from "../chunk-B6QMTIF2.mjs";
13
+ } from "../chunk-NAY2XKLY.mjs";
14
14
  import {
15
15
  table
16
- } from "../chunk-VU5TSYMO.mjs";
16
+ } from "../chunk-ZWJMJMVY.mjs";
17
17
  import {
18
18
  tabs
19
- } from "../chunk-ODGTGSNM.mjs";
19
+ } from "../chunk-777XXWYS.mjs";
20
20
  import {
21
21
  toggle
22
- } from "../chunk-TUUOVVH3.mjs";
22
+ } from "../chunk-FXXH62BP.mjs";
23
23
  import {
24
24
  user
25
- } from "../chunk-VPYXYIZ5.mjs";
25
+ } from "../chunk-2SNOAR5H.mjs";
26
26
  import {
27
27
  navbar
28
- } from "../chunk-BR6V72YY.mjs";
28
+ } from "../chunk-LENRVMCD.mjs";
29
29
  import {
30
30
  pagination
31
- } from "../chunk-QF56VSRK.mjs";
31
+ } from "../chunk-SPRRISBY.mjs";
32
32
  import {
33
33
  popover
34
- } from "../chunk-WNVF6X3M.mjs";
34
+ } from "../chunk-FHNC7F3W.mjs";
35
35
  import {
36
36
  progress
37
- } from "../chunk-XHQNEGB6.mjs";
37
+ } from "../chunk-LQGOKGQV.mjs";
38
38
  import {
39
39
  radio,
40
40
  radioGroup
41
- } from "../chunk-WYVG7NY6.mjs";
41
+ } from "../chunk-PXVLYT7W.mjs";
42
42
  import {
43
43
  scrollShadow
44
- } from "../chunk-VGHVBXXT.mjs";
44
+ } from "../chunk-4JBYJQSP.mjs";
45
45
  import {
46
46
  select
47
- } from "../chunk-SMRPQEB3.mjs";
47
+ } from "../chunk-5EJVI4V3.mjs";
48
48
  import {
49
49
  skeleton
50
- } from "../chunk-JX6O4KJS.mjs";
50
+ } from "../chunk-U4EMZ2CQ.mjs";
51
51
  import {
52
52
  image
53
- } from "../chunk-F36W5Y6O.mjs";
53
+ } from "../chunk-WBNF66V7.mjs";
54
54
  import {
55
55
  input
56
- } from "../chunk-CTFFC543.mjs";
56
+ } from "../chunk-GOHT67J3.mjs";
57
57
  import {
58
58
  kbd
59
- } from "../chunk-J7FVLFSZ.mjs";
59
+ } from "../chunk-XY766PDD.mjs";
60
60
  import {
61
61
  link,
62
62
  linkAnchorClasses
63
- } from "../chunk-XNF3KCH7.mjs";
63
+ } from "../chunk-Q3TEEYQJ.mjs";
64
64
  import "../chunk-YJLQTC7L.mjs";
65
65
  import {
66
66
  menu,
67
67
  menuItem,
68
68
  menuSection
69
- } from "../chunk-QWYWYOG6.mjs";
69
+ } from "../chunk-DXTDUHS5.mjs";
70
70
  import {
71
71
  modal
72
- } from "../chunk-HBLCAYSX.mjs";
72
+ } from "../chunk-EGP3AT4R.mjs";
73
73
  import {
74
74
  card
75
- } from "../chunk-JMOQB2OS.mjs";
75
+ } from "../chunk-TDMF44G6.mjs";
76
76
  import {
77
77
  checkbox,
78
78
  checkboxGroup
79
- } from "../chunk-CLW3JMFF.mjs";
79
+ } from "../chunk-QYW2VWAB.mjs";
80
80
  import {
81
81
  chip
82
- } from "../chunk-VOTIIGIW.mjs";
82
+ } from "../chunk-G2RPAV6S.mjs";
83
83
  import {
84
84
  circularProgress
85
- } from "../chunk-HYA3WURA.mjs";
85
+ } from "../chunk-XPLXQDB3.mjs";
86
86
  import {
87
87
  code
88
- } from "../chunk-362LGETO.mjs";
88
+ } from "../chunk-77O7KLUI.mjs";
89
89
  import {
90
90
  divider
91
- } from "../chunk-N7N2LONM.mjs";
91
+ } from "../chunk-YSXRNNDV.mjs";
92
92
  import {
93
93
  drip
94
- } from "../chunk-FUMNSN2H.mjs";
94
+ } from "../chunk-GNLIYZAQ.mjs";
95
95
  import {
96
96
  dropdown,
97
97
  dropdownItem,
98
98
  dropdownMenu,
99
99
  dropdownSection
100
- } from "../chunk-5GLH2ERS.mjs";
100
+ } from "../chunk-CVU6I4IJ.mjs";
101
101
  import {
102
102
  accordion,
103
103
  accordionItem
104
- } from "../chunk-I5E37FAL.mjs";
104
+ } from "../chunk-JBHEJMGV.mjs";
105
105
  import {
106
106
  autocomplete
107
- } from "../chunk-5Y7664AG.mjs";
107
+ } from "../chunk-3BNHFA72.mjs";
108
108
  import {
109
109
  avatar,
110
110
  avatarGroup
111
- } from "../chunk-J6EGGODL.mjs";
111
+ } from "../chunk-MUPUMXL7.mjs";
112
112
  import {
113
113
  badge
114
- } from "../chunk-YRDQW7V4.mjs";
114
+ } from "../chunk-L37EV5TN.mjs";
115
115
  import {
116
116
  breadcrumbItem,
117
117
  breadcrumbs
118
- } from "../chunk-76A2UI6G.mjs";
118
+ } from "../chunk-RJKUWMDJ.mjs";
119
119
  import {
120
120
  button,
121
121
  buttonGroup
122
- } from "../chunk-Y5WLFHBC.mjs";
122
+ } from "../chunk-33DU6C7I.mjs";
123
123
  import "../chunk-CMYR6AOY.mjs";
124
124
  import "../chunk-K7LK7NCE.mjs";
125
125
  import "../chunk-2PIR7DFM.mjs";
126
- import "../chunk-WBUVHAJX.mjs";
126
+ import "../chunk-6AEINX52.mjs";
127
127
  import "../chunk-XHQUSKIE.mjs";
128
128
  import "../chunk-WA5F6AED.mjs";
129
129
  export {
@@ -130,6 +130,7 @@ declare const input: tailwind_variants.TVReturnType<{
130
130
  true: {
131
131
  label: string;
132
132
  inputWrapper: string;
133
+ innerWrapper: string;
133
134
  input: string;
134
135
  };
135
136
  };
@@ -266,6 +267,7 @@ declare const input: tailwind_variants.TVReturnType<{
266
267
  true: {
267
268
  label: string;
268
269
  inputWrapper: string;
270
+ innerWrapper: string;
269
271
  input: string;
270
272
  };
271
273
  };
@@ -391,6 +393,7 @@ declare const input: tailwind_variants.TVReturnType<{
391
393
  true: {
392
394
  label: string;
393
395
  inputWrapper: string;
396
+ innerWrapper: string;
394
397
  input: string;
395
398
  };
396
399
  };
@@ -516,6 +519,7 @@ declare const input: tailwind_variants.TVReturnType<{
516
519
  true: {
517
520
  label: string;
518
521
  inputWrapper: string;
522
+ innerWrapper: string;
519
523
  input: string;
520
524
  };
521
525
  };
@@ -652,6 +656,7 @@ declare const input: tailwind_variants.TVReturnType<{
652
656
  true: {
653
657
  label: string;
654
658
  inputWrapper: string;
659
+ innerWrapper: string;
655
660
  input: string;
656
661
  };
657
662
  };
@@ -788,6 +793,7 @@ declare const input: tailwind_variants.TVReturnType<{
788
793
  true: {
789
794
  label: string;
790
795
  inputWrapper: string;
796
+ innerWrapper: string;
791
797
  input: string;
792
798
  };
793
799
  };
@@ -913,6 +919,7 @@ declare const input: tailwind_variants.TVReturnType<{
913
919
  true: {
914
920
  label: string;
915
921
  inputWrapper: string;
922
+ innerWrapper: string;
916
923
  input: string;
917
924
  };
918
925
  };
@@ -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/classes.ts
113
120
  var dataFocusVisibleClasses = [
@@ -165,7 +172,7 @@ var input = tv({
165
172
  "rounded-full",
166
173
  ...dataFocusVisibleClasses
167
174
  ],
168
- helperWrapper: "p-1 flex relative flex-col gap-1.5",
175
+ helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
169
176
  description: "text-tiny text-foreground-400",
170
177
  errorMessage: "text-tiny text-danger"
171
178
  },
@@ -314,7 +321,8 @@ var input = tv({
314
321
  true: {
315
322
  label: "relative",
316
323
  inputWrapper: "!h-auto",
317
- input: "resize-none py-2 data-[hide-scroll=true]:scrollbar-hide"
324
+ innerWrapper: "items-start group-data-[has-label=true]:items-start",
325
+ input: "resize-none data-[hide-scroll=true]:scrollbar-hide"
318
326
  }
319
327
  },
320
328
  disableAnimation: {
@@ -893,6 +901,13 @@ var input = tv({
893
901
  label: "group-data-[has-helper=true]:pt-4"
894
902
  }
895
903
  },
904
+ {
905
+ labelPlacement: ["outside", "outside-left"],
906
+ isMultiline: true,
907
+ class: {
908
+ inputWrapper: "py-2"
909
+ }
910
+ },
896
911
  {
897
912
  labelPlacement: "outside",
898
913
  isMultiline: true,
@@ -904,6 +919,7 @@ var input = tv({
904
919
  labelPlacement: "inside",
905
920
  isMultiline: true,
906
921
  class: {
922
+ label: "pb-0.5",
907
923
  input: "pt-0"
908
924
  }
909
925
  },
@@ -919,6 +935,13 @@ var input = tv({
919
935
  class: {
920
936
  label: ["pe-2", "max-w-full", "text-ellipsis", "overflow-hidden"]
921
937
  }
938
+ },
939
+ {
940
+ isMultiline: true,
941
+ radius: "full",
942
+ class: {
943
+ inputWrapper: "data-[has-multiple-rows=true]:rounded-large"
944
+ }
922
945
  }
923
946
  ]
924
947
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  input
3
- } from "../chunk-CTFFC543.mjs";
3
+ } from "../chunk-GOHT67J3.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/kbd.ts
113
120
  var kbd = tv({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  kbd
3
- } from "../chunk-J7FVLFSZ.mjs";
4
- import "../chunk-WBUVHAJX.mjs";
3
+ } from "../chunk-XY766PDD.mjs";
4
+ import "../chunk-6AEINX52.mjs";
5
5
  import "../chunk-WA5F6AED.mjs";
6
6
  export {
7
7
  kbd
@@ -83,32 +83,39 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
83
83
 
84
84
  // src/utils/tv.ts
85
85
  var COMMON_UNITS = ["small", "medium", "large"];
86
- var tv = (0, import_tailwind_variants.createTV)({
87
- twMerge: true,
88
- twMergeConfig: {
89
- theme: {
90
- opacity: ["disabled"],
91
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
92
- borderWidth: COMMON_UNITS,
93
- borderRadius: COMMON_UNITS
94
- },
95
- classGroups: {
96
- shadow: [{ shadow: COMMON_UNITS }],
97
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
98
- "bg-image": ["bg-stripe-gradient"],
99
- "min-w": [
100
- {
101
- "min-w": ["unit", ...mappedSpacingScaleKeys]
102
- }
103
- ],
104
- "min-h": [
105
- {
106
- "min-h": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ]
86
+ var tv = (options, config) => {
87
+ var _a, _b, _c;
88
+ return (0, import_tailwind_variants.tv)(options, {
89
+ ...config,
90
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
91
+ twMergeConfig: {
92
+ ...config == null ? void 0 : config.twMergeConfig,
93
+ theme: {
94
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
95
+ opacity: ["disabled"],
96
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
97
+ borderWidth: COMMON_UNITS,
98
+ borderRadius: COMMON_UNITS
99
+ },
100
+ classGroups: {
101
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
102
+ shadow: [{ shadow: COMMON_UNITS }],
103
+ "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
+ ]
115
+ }
109
116
  }
110
- }
111
- });
117
+ });
118
+ };
112
119
 
113
120
  // src/utils/classes.ts
114
121
  var dataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  link,
3
3
  linkAnchorClasses
4
- } from "../chunk-XNF3KCH7.mjs";
4
+ } from "../chunk-Q3TEEYQJ.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
6
  import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-WBUVHAJX.mjs";
8
+ import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -84,32 +84,39 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
84
84
 
85
85
  // src/utils/tv.ts
86
86
  var COMMON_UNITS = ["small", "medium", "large"];
87
- var tv = (0, import_tailwind_variants.createTV)({
88
- twMerge: true,
89
- twMergeConfig: {
90
- theme: {
91
- opacity: ["disabled"],
92
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
93
- borderWidth: COMMON_UNITS,
94
- borderRadius: COMMON_UNITS
95
- },
96
- classGroups: {
97
- shadow: [{ shadow: COMMON_UNITS }],
98
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
99
- "bg-image": ["bg-stripe-gradient"],
100
- "min-w": [
101
- {
102
- "min-w": ["unit", ...mappedSpacingScaleKeys]
103
- }
104
- ],
105
- "min-h": [
106
- {
107
- "min-h": ["unit", ...mappedSpacingScaleKeys]
108
- }
109
- ]
87
+ var tv = (options, config) => {
88
+ var _a, _b, _c;
89
+ return (0, import_tailwind_variants.tv)(options, {
90
+ ...config,
91
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
92
+ twMergeConfig: {
93
+ ...config == null ? void 0 : config.twMergeConfig,
94
+ theme: {
95
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
96
+ opacity: ["disabled"],
97
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
98
+ borderWidth: COMMON_UNITS,
99
+ borderRadius: COMMON_UNITS
100
+ },
101
+ classGroups: {
102
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
103
+ shadow: [{ shadow: COMMON_UNITS }],
104
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
105
+ "bg-image": ["bg-stripe-gradient"],
106
+ "min-w": [
107
+ {
108
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
109
+ }
110
+ ],
111
+ "min-h": [
112
+ {
113
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
114
+ }
115
+ ]
116
+ }
110
117
  }
111
- }
112
- });
118
+ });
119
+ };
113
120
 
114
121
  // src/utils/classes.ts
115
122
  var dataFocusVisibleClasses = [
@@ -3,11 +3,11 @@ import {
3
3
  menu,
4
4
  menuItem,
5
5
  menuSection
6
- } from "../chunk-QWYWYOG6.mjs";
6
+ } from "../chunk-DXTDUHS5.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 {
@@ -84,32 +84,39 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
84
84
 
85
85
  // src/utils/tv.ts
86
86
  var COMMON_UNITS = ["small", "medium", "large"];
87
- var tv = (0, import_tailwind_variants.createTV)({
88
- twMerge: true,
89
- twMergeConfig: {
90
- theme: {
91
- opacity: ["disabled"],
92
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
93
- borderWidth: COMMON_UNITS,
94
- borderRadius: COMMON_UNITS
95
- },
96
- classGroups: {
97
- shadow: [{ shadow: COMMON_UNITS }],
98
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
99
- "bg-image": ["bg-stripe-gradient"],
100
- "min-w": [
101
- {
102
- "min-w": ["unit", ...mappedSpacingScaleKeys]
103
- }
104
- ],
105
- "min-h": [
106
- {
107
- "min-h": ["unit", ...mappedSpacingScaleKeys]
108
- }
109
- ]
87
+ var tv = (options, config) => {
88
+ var _a, _b, _c;
89
+ return (0, import_tailwind_variants.tv)(options, {
90
+ ...config,
91
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
92
+ twMergeConfig: {
93
+ ...config == null ? void 0 : config.twMergeConfig,
94
+ theme: {
95
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
96
+ opacity: ["disabled"],
97
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
98
+ borderWidth: COMMON_UNITS,
99
+ borderRadius: COMMON_UNITS
100
+ },
101
+ classGroups: {
102
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
103
+ shadow: [{ shadow: COMMON_UNITS }],
104
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
105
+ "bg-image": ["bg-stripe-gradient"],
106
+ "min-w": [
107
+ {
108
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
109
+ }
110
+ ],
111
+ "min-h": [
112
+ {
113
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
114
+ }
115
+ ]
116
+ }
110
117
  }
111
- }
112
- });
118
+ });
119
+ };
113
120
 
114
121
  // src/utils/classes.ts
115
122
  var dataFocusVisibleClasses = [