@nextui-org/theme 2.2.3 → 2.2.5

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 (150) hide show
  1. package/dist/{chunk-7TJINK3S.mjs → chunk-22SLLLIZ.mjs} +2 -3
  2. package/dist/{chunk-M3MKSQ42.mjs → chunk-2KK3SUMT.mjs} +2 -3
  3. package/dist/chunk-3XVMTUU7.mjs +15 -0
  4. package/dist/{chunk-CUUGEIPA.mjs → chunk-4YQYZDME.mjs} +1 -2
  5. package/dist/{chunk-NYSEAAK5.mjs → chunk-5AGRECY5.mjs} +3 -5
  6. package/dist/{chunk-MUWHEIW6.mjs → chunk-66462YHM.mjs} +8 -9
  7. package/dist/{chunk-UODOTC2G.mjs → chunk-A2DU46QS.mjs} +1 -1
  8. package/dist/{chunk-LKKSQVZ6.mjs → chunk-A4VDWEXY.mjs} +3 -5
  9. package/dist/{chunk-PSEUPXFL.mjs → chunk-AXXUQWWC.mjs} +1 -1
  10. package/dist/{chunk-NAUU2OUH.mjs → chunk-BJ6IKX32.mjs} +1 -1
  11. package/dist/{chunk-V5ZTBGGO.mjs → chunk-BT3FGTF7.mjs} +1 -1
  12. package/dist/chunk-BYWORP66.mjs +20 -0
  13. package/dist/{chunk-JQTFOIV7.mjs → chunk-C3SML4G4.mjs} +2 -3
  14. package/dist/{chunk-6XJJCV76.mjs → chunk-C43Y2OOL.mjs} +2 -3
  15. package/dist/{chunk-FRI2VDCA.mjs → chunk-CKTE75OS.mjs} +2 -3
  16. package/dist/{chunk-AO2AAOEJ.mjs → chunk-D7H5R3VL.mjs} +5 -4
  17. package/dist/{chunk-RNAP5C4C.mjs → chunk-DXPS72CE.mjs} +1 -2
  18. package/dist/{chunk-CTY7IP65.mjs → chunk-DZGYN4XH.mjs} +1 -2
  19. package/dist/{chunk-ECP4S2VZ.mjs → chunk-EF6G67MF.mjs} +1 -1
  20. package/dist/{chunk-3FZU25GR.mjs → chunk-F4AOWB64.mjs} +1 -1
  21. package/dist/{chunk-SEKJ6A6T.mjs → chunk-GDIZAU4E.mjs} +3 -3
  22. package/dist/{chunk-AC6F4DT6.mjs → chunk-GFTQERGX.mjs} +1 -1
  23. package/dist/{chunk-4ZM6AI3H.mjs → chunk-GQDFLFNG.mjs} +2 -3
  24. package/dist/{chunk-VDRJHB4F.mjs → chunk-HZX5JB5L.mjs} +9 -2
  25. package/dist/{chunk-KA5SSSWD.mjs → chunk-IISEDJRF.mjs} +1 -2
  26. package/dist/{chunk-IP3D7KVB.mjs → chunk-INW3YHX5.mjs} +16 -10
  27. package/dist/{chunk-VFJ7C5ZV.mjs → chunk-JBKBSMXM.mjs} +10 -10
  28. package/dist/{chunk-AT4OXKKK.mjs → chunk-KKN74BUG.mjs} +1 -2
  29. package/dist/{chunk-WAAJG22Y.mjs → chunk-KPVV2V7V.mjs} +2 -3
  30. package/dist/{chunk-GMMETTYU.mjs → chunk-N2KXC5ZE.mjs} +6 -8
  31. package/dist/{chunk-NPDZ7OMC.mjs → chunk-NPRQPDVP.mjs} +4 -5
  32. package/dist/{chunk-OQIS4MXV.mjs → chunk-QXCYVABV.mjs} +1 -1
  33. package/dist/{chunk-S573WUYY.mjs → chunk-SKQWKT6K.mjs} +1 -2
  34. package/dist/{chunk-I6ESTKKY.mjs → chunk-SPXRXN7C.mjs} +4 -4
  35. package/dist/{chunk-W6DVXJB3.mjs → chunk-T2VR4T5R.mjs} +1 -1
  36. package/dist/{chunk-LDBYFTHC.mjs → chunk-U6G6SZ26.mjs} +28 -24
  37. package/dist/{chunk-AGUZRGXC.mjs → chunk-V4SD44VK.mjs} +1 -1
  38. package/dist/{chunk-KCOC3H6R.mjs → chunk-VFGZ2KFC.mjs} +1 -2
  39. package/dist/{chunk-X7N3NQ6S.mjs → chunk-VLE2FQQR.mjs} +2 -4
  40. package/dist/{chunk-KVPPQD2E.mjs → chunk-WRLU2O3D.mjs} +2 -3
  41. package/dist/{chunk-7ODIBITJ.mjs → chunk-WUUKIKPR.mjs} +2 -3
  42. package/dist/{chunk-VJTX4YUQ.mjs → chunk-X7QC2HIM.mjs} +1 -1
  43. package/dist/components/accordion.js +19 -8
  44. package/dist/components/accordion.mjs +5 -4
  45. package/dist/components/autocomplete.js +19 -8
  46. package/dist/components/autocomplete.mjs +3 -2
  47. package/dist/components/avatar.d.ts +49 -0
  48. package/dist/components/avatar.js +27 -8
  49. package/dist/components/avatar.mjs +5 -4
  50. package/dist/components/badge.js +19 -8
  51. package/dist/components/badge.mjs +5 -4
  52. package/dist/components/breadcrumbs.js +19 -10
  53. package/dist/components/breadcrumbs.mjs +5 -4
  54. package/dist/components/button.d.ts +7 -7
  55. package/dist/components/button.js +22 -10
  56. package/dist/components/button.mjs +5 -4
  57. package/dist/components/calendar.js +21 -12
  58. package/dist/components/calendar.mjs +5 -4
  59. package/dist/components/card.js +20 -10
  60. package/dist/components/card.mjs +5 -4
  61. package/dist/components/checkbox.js +21 -11
  62. package/dist/components/checkbox.mjs +5 -4
  63. package/dist/components/chip.js +19 -7
  64. package/dist/components/chip.mjs +5 -4
  65. package/dist/components/circular-progress.js +20 -9
  66. package/dist/components/circular-progress.mjs +3 -2
  67. package/dist/components/code.js +19 -7
  68. package/dist/components/code.mjs +5 -4
  69. package/dist/components/date-input.js +20 -9
  70. package/dist/components/date-input.mjs +3 -2
  71. package/dist/components/date-picker.js +19 -7
  72. package/dist/components/date-picker.mjs +3 -2
  73. package/dist/components/divider.js +19 -7
  74. package/dist/components/divider.mjs +3 -2
  75. package/dist/components/drip.js +19 -7
  76. package/dist/components/drip.mjs +3 -2
  77. package/dist/components/dropdown.d.ts +5 -5
  78. package/dist/components/dropdown.js +20 -9
  79. package/dist/components/dropdown.mjs +5 -4
  80. package/dist/components/image.js +46 -30
  81. package/dist/components/image.mjs +3 -2
  82. package/dist/components/index.d.ts +1 -0
  83. package/dist/components/index.js +111 -105
  84. package/dist/components/index.mjs +43 -42
  85. package/dist/components/input.js +26 -15
  86. package/dist/components/input.mjs +5 -4
  87. package/dist/components/kbd.js +19 -7
  88. package/dist/components/kbd.mjs +3 -2
  89. package/dist/components/link.js +20 -9
  90. package/dist/components/link.mjs +5 -4
  91. package/dist/components/listbox.js +19 -8
  92. package/dist/components/listbox.mjs +5 -4
  93. package/dist/components/menu.d.ts +5 -5
  94. package/dist/components/menu.js +19 -8
  95. package/dist/components/menu.mjs +5 -4
  96. package/dist/components/modal.d.ts +35 -0
  97. package/dist/components/modal.js +34 -16
  98. package/dist/components/modal.mjs +5 -4
  99. package/dist/components/navbar.js +19 -7
  100. package/dist/components/navbar.mjs +5 -4
  101. package/dist/components/pagination.js +19 -8
  102. package/dist/components/pagination.mjs +5 -4
  103. package/dist/components/popover.js +19 -8
  104. package/dist/components/popover.mjs +5 -4
  105. package/dist/components/progress.js +20 -9
  106. package/dist/components/progress.mjs +3 -2
  107. package/dist/components/radio.js +21 -11
  108. package/dist/components/radio.mjs +5 -4
  109. package/dist/components/scroll-shadow.js +19 -7
  110. package/dist/components/scroll-shadow.mjs +3 -2
  111. package/dist/components/select.js +18 -9
  112. package/dist/components/select.mjs +5 -4
  113. package/dist/components/skeleton.js +23 -10
  114. package/dist/components/skeleton.mjs +3 -2
  115. package/dist/components/slider.d.ts +7 -0
  116. package/dist/components/slider.js +27 -17
  117. package/dist/components/slider.mjs +5 -4
  118. package/dist/components/snippet.js +20 -9
  119. package/dist/components/snippet.mjs +5 -4
  120. package/dist/components/spacer.js +19 -7
  121. package/dist/components/spacer.mjs +3 -2
  122. package/dist/components/spinner.js +19 -7
  123. package/dist/components/spinner.mjs +3 -2
  124. package/dist/components/table.js +20 -9
  125. package/dist/components/table.mjs +5 -4
  126. package/dist/components/tabs.js +21 -9
  127. package/dist/components/tabs.mjs +5 -4
  128. package/dist/components/toggle.js +20 -9
  129. package/dist/components/toggle.mjs +5 -4
  130. package/dist/components/user.d.ts +27 -26
  131. package/dist/components/user.js +19 -7
  132. package/dist/components/user.mjs +5 -4
  133. package/dist/index.d.ts +4 -0
  134. package/dist/index.js +125 -105
  135. package/dist/index.mjs +51 -42
  136. package/dist/utils/cn.d.ts +5 -0
  137. package/dist/utils/cn.js +59 -0
  138. package/dist/utils/cn.mjs +7 -0
  139. package/dist/utils/index.d.ts +4 -0
  140. package/dist/utils/index.js +38 -2
  141. package/dist/utils/index.mjs +12 -3
  142. package/dist/utils/tv.js +19 -7
  143. package/dist/utils/tv.mjs +2 -1
  144. package/dist/utils/tw-merge-config.d.ts +6 -0
  145. package/dist/utils/tw-merge-config.js +45 -0
  146. package/dist/utils/tw-merge-config.mjs +8 -0
  147. package/dist/utils/types.mjs +0 -1
  148. package/package.json +4 -2
  149. package/dist/chunk-K7LK7NCE.mjs +0 -0
  150. /package/dist/{chunk-CMYR6AOY.mjs → chunk-IV3K5WDK.mjs} +0 -0
@@ -1,139 +1,140 @@
1
1
  import "../chunk-UVXYPGDZ.mjs";
2
2
  import {
3
3
  tabs
4
- } from "../chunk-SEKJ6A6T.mjs";
4
+ } from "../chunk-GDIZAU4E.mjs";
5
5
  import {
6
6
  toggle
7
- } from "../chunk-7ODIBITJ.mjs";
7
+ } from "../chunk-WUUKIKPR.mjs";
8
8
  import {
9
9
  user
10
- } from "../chunk-NAUU2OUH.mjs";
10
+ } from "../chunk-BJ6IKX32.mjs";
11
11
  import {
12
12
  scrollShadow
13
- } from "../chunk-ECP4S2VZ.mjs";
13
+ } from "../chunk-EF6G67MF.mjs";
14
14
  import {
15
15
  select
16
- } from "../chunk-CTY7IP65.mjs";
16
+ } from "../chunk-DZGYN4XH.mjs";
17
17
  import {
18
18
  skeleton
19
- } from "../chunk-AO2AAOEJ.mjs";
19
+ } from "../chunk-D7H5R3VL.mjs";
20
20
  import {
21
21
  slider
22
- } from "../chunk-VFJ7C5ZV.mjs";
22
+ } from "../chunk-JBKBSMXM.mjs";
23
23
  import {
24
24
  snippet
25
- } from "../chunk-FRI2VDCA.mjs";
25
+ } from "../chunk-CKTE75OS.mjs";
26
26
  import {
27
27
  spacer
28
- } from "../chunk-W6DVXJB3.mjs";
28
+ } from "../chunk-T2VR4T5R.mjs";
29
29
  import {
30
30
  spinner
31
- } from "../chunk-PSEUPXFL.mjs";
31
+ } from "../chunk-AXXUQWWC.mjs";
32
32
  import {
33
33
  table
34
- } from "../chunk-KVPPQD2E.mjs";
34
+ } from "../chunk-WRLU2O3D.mjs";
35
35
  import "../chunk-YJLQTC7L.mjs";
36
36
  import {
37
37
  menu,
38
38
  menuItem,
39
39
  menuSection
40
- } from "../chunk-CUUGEIPA.mjs";
40
+ } from "../chunk-4YQYZDME.mjs";
41
41
  import {
42
42
  modal
43
- } from "../chunk-IP3D7KVB.mjs";
43
+ } from "../chunk-INW3YHX5.mjs";
44
44
  import {
45
45
  navbar
46
- } from "../chunk-OQIS4MXV.mjs";
46
+ } from "../chunk-QXCYVABV.mjs";
47
47
  import {
48
48
  pagination
49
- } from "../chunk-RNAP5C4C.mjs";
49
+ } from "../chunk-DXPS72CE.mjs";
50
50
  import {
51
51
  popover
52
- } from "../chunk-KA5SSSWD.mjs";
52
+ } from "../chunk-IISEDJRF.mjs";
53
53
  import {
54
54
  progress
55
- } from "../chunk-M3MKSQ42.mjs";
55
+ } from "../chunk-2KK3SUMT.mjs";
56
56
  import {
57
57
  radio,
58
58
  radioGroup
59
- } from "../chunk-LKKSQVZ6.mjs";
59
+ } from "../chunk-A4VDWEXY.mjs";
60
60
  import {
61
61
  divider
62
- } from "../chunk-UODOTC2G.mjs";
62
+ } from "../chunk-A2DU46QS.mjs";
63
63
  import {
64
64
  drip
65
- } from "../chunk-AGUZRGXC.mjs";
65
+ } from "../chunk-V4SD44VK.mjs";
66
66
  import {
67
67
  dropdown,
68
68
  dropdownItem,
69
69
  dropdownMenu,
70
70
  dropdownSection
71
- } from "../chunk-4ZM6AI3H.mjs";
71
+ } from "../chunk-GQDFLFNG.mjs";
72
72
  import {
73
73
  image
74
- } from "../chunk-LDBYFTHC.mjs";
74
+ } from "../chunk-U6G6SZ26.mjs";
75
75
  import {
76
76
  input
77
- } from "../chunk-MUWHEIW6.mjs";
77
+ } from "../chunk-66462YHM.mjs";
78
78
  import {
79
79
  kbd
80
- } from "../chunk-3FZU25GR.mjs";
80
+ } from "../chunk-F4AOWB64.mjs";
81
81
  import {
82
82
  link,
83
83
  linkAnchorClasses
84
- } from "../chunk-JQTFOIV7.mjs";
84
+ } from "../chunk-C3SML4G4.mjs";
85
85
  import {
86
86
  calendar
87
- } from "../chunk-NPDZ7OMC.mjs";
87
+ } from "../chunk-NPRQPDVP.mjs";
88
88
  import {
89
89
  card
90
- } from "../chunk-X7N3NQ6S.mjs";
90
+ } from "../chunk-VLE2FQQR.mjs";
91
91
  import {
92
92
  checkbox,
93
93
  checkboxGroup
94
- } from "../chunk-NYSEAAK5.mjs";
94
+ } from "../chunk-5AGRECY5.mjs";
95
95
  import {
96
96
  chip
97
- } from "../chunk-AC6F4DT6.mjs";
97
+ } from "../chunk-GFTQERGX.mjs";
98
98
  import {
99
99
  circularProgress
100
- } from "../chunk-WAAJG22Y.mjs";
100
+ } from "../chunk-KPVV2V7V.mjs";
101
101
  import {
102
102
  code
103
- } from "../chunk-V5ZTBGGO.mjs";
103
+ } from "../chunk-BT3FGTF7.mjs";
104
104
  import {
105
105
  dateInput
106
- } from "../chunk-7TJINK3S.mjs";
106
+ } from "../chunk-22SLLLIZ.mjs";
107
107
  import {
108
108
  datePicker,
109
109
  dateRangePicker
110
- } from "../chunk-VJTX4YUQ.mjs";
110
+ } from "../chunk-X7QC2HIM.mjs";
111
111
  import {
112
112
  accordion,
113
113
  accordionItem
114
- } from "../chunk-KCOC3H6R.mjs";
114
+ } from "../chunk-VFGZ2KFC.mjs";
115
115
  import {
116
116
  autocomplete
117
- } from "../chunk-AT4OXKKK.mjs";
117
+ } from "../chunk-KKN74BUG.mjs";
118
118
  import {
119
119
  avatar,
120
120
  avatarGroup
121
- } from "../chunk-VDRJHB4F.mjs";
121
+ } from "../chunk-HZX5JB5L.mjs";
122
122
  import {
123
123
  badge
124
- } from "../chunk-S573WUYY.mjs";
124
+ } from "../chunk-SKQWKT6K.mjs";
125
125
  import {
126
126
  breadcrumbItem,
127
127
  breadcrumbs
128
- } from "../chunk-6XJJCV76.mjs";
128
+ } from "../chunk-C43Y2OOL.mjs";
129
129
  import {
130
130
  button,
131
131
  buttonGroup
132
- } from "../chunk-I6ESTKKY.mjs";
133
- import "../chunk-CMYR6AOY.mjs";
134
- import "../chunk-K7LK7NCE.mjs";
132
+ } from "../chunk-SPXRXN7C.mjs";
133
+ import "../chunk-IV3K5WDK.mjs";
134
+ import "../chunk-3XVMTUU7.mjs";
135
135
  import "../chunk-2PIR7DFM.mjs";
136
- import "../chunk-GMMETTYU.mjs";
136
+ import "../chunk-N2KXC5ZE.mjs";
137
+ import "../chunk-BYWORP66.mjs";
137
138
  import "../chunk-XHQUSKIE.mjs";
138
139
  export {
139
140
  accordion,
@@ -26,7 +26,24 @@ module.exports = __toCommonJS(input_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
+
30
+ // src/utils/tw-merge-config.ts
29
31
  var COMMON_UNITS = ["small", "medium", "large"];
32
+ var twMergeConfig = {
33
+ theme: {
34
+ opacity: ["disabled"],
35
+ spacing: ["divider"],
36
+ borderWidth: COMMON_UNITS,
37
+ borderRadius: COMMON_UNITS
38
+ },
39
+ classGroups: {
40
+ shadow: [{ shadow: COMMON_UNITS }],
41
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
+ "bg-image": ["bg-stripe-gradient"]
43
+ }
44
+ };
45
+
46
+ // src/utils/tv.ts
30
47
  var tv = (options, config) => {
31
48
  var _a, _b, _c;
32
49
  return (0, import_tailwind_variants.tv)(options, {
@@ -36,16 +53,11 @@ var tv = (options, config) => {
36
53
  ...config == null ? void 0 : config.twMergeConfig,
37
54
  theme: {
38
55
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
39
- opacity: ["disabled"],
40
- spacing: ["divider"],
41
- borderWidth: COMMON_UNITS,
42
- borderRadius: COMMON_UNITS
56
+ ...twMergeConfig.theme
43
57
  },
44
58
  classGroups: {
45
59
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
46
- shadow: [{ shadow: COMMON_UNITS }],
47
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
- "bg-image": ["bg-stripe-gradient"]
60
+ ...twMergeConfig.classGroups
49
61
  }
50
62
  }
51
63
  });
@@ -252,7 +264,7 @@ var input = tv({
252
264
  },
253
265
  isRequired: {
254
266
  true: {
255
- label: "after:content-['*'] after:text-danger after:ml-0.5"
267
+ label: "after:content-['*'] after:text-danger after:ml-0.5 rtl:after:ml-[unset] rtl:after:mr-0.5"
256
268
  }
257
269
  },
258
270
  isMultiline: {
@@ -289,8 +301,7 @@ var input = tv({
289
301
  fullWidth: true,
290
302
  labelPlacement: "inside",
291
303
  isDisabled: false,
292
- isMultiline: false,
293
- disableAnimation: false
304
+ isMultiline: false
294
305
  },
295
306
  compoundVariants: [
296
307
  {
@@ -570,9 +581,9 @@ var input = tv({
570
581
  variant: "flat",
571
582
  class: {
572
583
  inputWrapper: [
573
- "bg-danger-50",
574
- "data-[hover=true]:bg-danger-100",
575
- "group-data-[focus=true]:bg-danger-50"
584
+ "!bg-danger-50",
585
+ "data-[hover=true]:!bg-danger-100",
586
+ "group-data-[focus=true]:!bg-danger-50"
576
587
  ]
577
588
  }
578
589
  },
@@ -580,14 +591,14 @@ var input = tv({
580
591
  isInvalid: true,
581
592
  variant: "bordered",
582
593
  class: {
583
- inputWrapper: "!border-danger group-data-[focus=true]:border-danger"
594
+ inputWrapper: "!border-danger group-data-[focus=true]:!border-danger"
584
595
  }
585
596
  },
586
597
  {
587
598
  isInvalid: true,
588
599
  variant: "underlined",
589
600
  class: {
590
- inputWrapper: "after:bg-danger"
601
+ inputWrapper: "after:!bg-danger"
591
602
  }
592
603
  },
593
604
  {
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  input
3
- } from "../chunk-MUWHEIW6.mjs";
4
- import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
3
+ } from "../chunk-66462YHM.mjs";
4
+ import "../chunk-IV3K5WDK.mjs";
5
+ import "../chunk-3XVMTUU7.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-GMMETTYU.mjs";
7
+ import "../chunk-N2KXC5ZE.mjs";
8
+ import "../chunk-BYWORP66.mjs";
8
9
  import "../chunk-XHQUSKIE.mjs";
9
10
  export {
10
11
  input
@@ -26,7 +26,24 @@ module.exports = __toCommonJS(kbd_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
+
30
+ // src/utils/tw-merge-config.ts
29
31
  var COMMON_UNITS = ["small", "medium", "large"];
32
+ var twMergeConfig = {
33
+ theme: {
34
+ opacity: ["disabled"],
35
+ spacing: ["divider"],
36
+ borderWidth: COMMON_UNITS,
37
+ borderRadius: COMMON_UNITS
38
+ },
39
+ classGroups: {
40
+ shadow: [{ shadow: COMMON_UNITS }],
41
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
+ "bg-image": ["bg-stripe-gradient"]
43
+ }
44
+ };
45
+
46
+ // src/utils/tv.ts
30
47
  var tv = (options, config) => {
31
48
  var _a, _b, _c;
32
49
  return (0, import_tailwind_variants.tv)(options, {
@@ -36,16 +53,11 @@ var tv = (options, config) => {
36
53
  ...config == null ? void 0 : config.twMergeConfig,
37
54
  theme: {
38
55
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
39
- opacity: ["disabled"],
40
- spacing: ["divider"],
41
- borderWidth: COMMON_UNITS,
42
- borderRadius: COMMON_UNITS
56
+ ...twMergeConfig.theme
43
57
  },
44
58
  classGroups: {
45
59
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
46
- shadow: [{ shadow: COMMON_UNITS }],
47
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
- "bg-image": ["bg-stripe-gradient"]
60
+ ...twMergeConfig.classGroups
49
61
  }
50
62
  }
51
63
  });
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  kbd
3
- } from "../chunk-3FZU25GR.mjs";
4
- import "../chunk-GMMETTYU.mjs";
3
+ } from "../chunk-F4AOWB64.mjs";
4
+ import "../chunk-N2KXC5ZE.mjs";
5
+ import "../chunk-BYWORP66.mjs";
5
6
  export {
6
7
  kbd
7
8
  };
@@ -27,7 +27,24 @@ module.exports = __toCommonJS(link_exports);
27
27
 
28
28
  // src/utils/tv.ts
29
29
  var import_tailwind_variants = require("tailwind-variants");
30
+
31
+ // src/utils/tw-merge-config.ts
30
32
  var COMMON_UNITS = ["small", "medium", "large"];
33
+ var twMergeConfig = {
34
+ theme: {
35
+ opacity: ["disabled"],
36
+ spacing: ["divider"],
37
+ borderWidth: COMMON_UNITS,
38
+ borderRadius: COMMON_UNITS
39
+ },
40
+ classGroups: {
41
+ shadow: [{ shadow: COMMON_UNITS }],
42
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
43
+ "bg-image": ["bg-stripe-gradient"]
44
+ }
45
+ };
46
+
47
+ // src/utils/tv.ts
31
48
  var tv = (options, config) => {
32
49
  var _a, _b, _c;
33
50
  return (0, import_tailwind_variants.tv)(options, {
@@ -37,16 +54,11 @@ var tv = (options, config) => {
37
54
  ...config == null ? void 0 : config.twMergeConfig,
38
55
  theme: {
39
56
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
40
- opacity: ["disabled"],
41
- spacing: ["divider"],
42
- borderWidth: COMMON_UNITS,
43
- borderRadius: COMMON_UNITS
57
+ ...twMergeConfig.theme
44
58
  },
45
59
  classGroups: {
46
60
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
47
- shadow: [{ shadow: COMMON_UNITS }],
48
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
49
- "bg-image": ["bg-stripe-gradient"]
61
+ ...twMergeConfig.classGroups
50
62
  }
51
63
  }
52
64
  });
@@ -152,8 +164,7 @@ var link = tv({
152
164
  size: "md",
153
165
  isBlock: false,
154
166
  underline: "none",
155
- isDisabled: false,
156
- disableAnimation: false
167
+ isDisabled: false
157
168
  }
158
169
  });
159
170
  var linkAnchorClasses = "flex mx-1 text-current self-center";
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  link,
3
3
  linkAnchorClasses
4
- } from "../chunk-JQTFOIV7.mjs";
5
- import "../chunk-CMYR6AOY.mjs";
6
- import "../chunk-K7LK7NCE.mjs";
4
+ } from "../chunk-C3SML4G4.mjs";
5
+ import "../chunk-IV3K5WDK.mjs";
6
+ import "../chunk-3XVMTUU7.mjs";
7
7
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-GMMETTYU.mjs";
8
+ import "../chunk-N2KXC5ZE.mjs";
9
+ import "../chunk-BYWORP66.mjs";
9
10
  import "../chunk-XHQUSKIE.mjs";
10
11
  export {
11
12
  link,
@@ -28,7 +28,24 @@ module.exports = __toCommonJS(listbox_exports);
28
28
 
29
29
  // src/utils/tv.ts
30
30
  var import_tailwind_variants = require("tailwind-variants");
31
+
32
+ // src/utils/tw-merge-config.ts
31
33
  var COMMON_UNITS = ["small", "medium", "large"];
34
+ var twMergeConfig = {
35
+ theme: {
36
+ opacity: ["disabled"],
37
+ spacing: ["divider"],
38
+ borderWidth: COMMON_UNITS,
39
+ borderRadius: COMMON_UNITS
40
+ },
41
+ classGroups: {
42
+ shadow: [{ shadow: COMMON_UNITS }],
43
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
44
+ "bg-image": ["bg-stripe-gradient"]
45
+ }
46
+ };
47
+
48
+ // src/utils/tv.ts
32
49
  var tv = (options, config) => {
33
50
  var _a, _b, _c;
34
51
  return (0, import_tailwind_variants.tv)(options, {
@@ -38,16 +55,11 @@ var tv = (options, config) => {
38
55
  ...config == null ? void 0 : config.twMergeConfig,
39
56
  theme: {
40
57
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
41
- opacity: ["disabled"],
42
- spacing: ["divider"],
43
- borderWidth: COMMON_UNITS,
44
- borderRadius: COMMON_UNITS
58
+ ...twMergeConfig.theme
45
59
  },
46
60
  classGroups: {
47
61
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
48
- shadow: [{ shadow: COMMON_UNITS }],
49
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
50
- "bg-image": ["bg-stripe-gradient"]
62
+ ...twMergeConfig.classGroups
51
63
  }
52
64
  }
53
65
  });
@@ -178,7 +190,6 @@ var menuItem = tv({
178
190
  defaultVariants: {
179
191
  variant: "solid",
180
192
  color: "default",
181
- disableAnimation: false,
182
193
  showDivider: false
183
194
  },
184
195
  compoundVariants: [
@@ -3,11 +3,12 @@ import {
3
3
  menu,
4
4
  menuItem,
5
5
  menuSection
6
- } from "../chunk-CUUGEIPA.mjs";
7
- import "../chunk-CMYR6AOY.mjs";
8
- import "../chunk-K7LK7NCE.mjs";
6
+ } from "../chunk-4YQYZDME.mjs";
7
+ import "../chunk-IV3K5WDK.mjs";
8
+ import "../chunk-3XVMTUU7.mjs";
9
9
  import "../chunk-2PIR7DFM.mjs";
10
- import "../chunk-GMMETTYU.mjs";
10
+ import "../chunk-N2KXC5ZE.mjs";
11
+ import "../chunk-BYWORP66.mjs";
11
12
  import "../chunk-XHQUSKIE.mjs";
12
13
  export {
13
14
  menu as listbox,
@@ -444,8 +444,8 @@ declare const menuItem: tailwind_variants.TVReturnType<{
444
444
  declare const menuSection: tailwind_variants.TVReturnType<{
445
445
  [key: string]: {
446
446
  [key: string]: tailwind_variants.ClassValue | {
447
- base?: tailwind_variants.ClassValue;
448
447
  divider?: tailwind_variants.ClassValue;
448
+ base?: tailwind_variants.ClassValue;
449
449
  group?: tailwind_variants.ClassValue;
450
450
  heading?: tailwind_variants.ClassValue;
451
451
  };
@@ -453,8 +453,8 @@ declare const menuSection: tailwind_variants.TVReturnType<{
453
453
  } | {
454
454
  [x: string]: {
455
455
  [x: string]: tailwind_variants.ClassValue | {
456
- base?: tailwind_variants.ClassValue;
457
456
  divider?: tailwind_variants.ClassValue;
457
+ base?: tailwind_variants.ClassValue;
458
458
  group?: tailwind_variants.ClassValue;
459
459
  heading?: tailwind_variants.ClassValue;
460
460
  };
@@ -467,8 +467,8 @@ declare const menuSection: tailwind_variants.TVReturnType<{
467
467
  }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
468
468
  [key: string]: {
469
469
  [key: string]: tailwind_variants.ClassValue | {
470
- base?: tailwind_variants.ClassValue;
471
470
  divider?: tailwind_variants.ClassValue;
471
+ base?: tailwind_variants.ClassValue;
472
472
  group?: tailwind_variants.ClassValue;
473
473
  heading?: tailwind_variants.ClassValue;
474
474
  };
@@ -476,8 +476,8 @@ declare const menuSection: tailwind_variants.TVReturnType<{
476
476
  } | {}>, {
477
477
  [key: string]: {
478
478
  [key: string]: tailwind_variants.ClassValue | {
479
- base?: tailwind_variants.ClassValue;
480
479
  divider?: tailwind_variants.ClassValue;
480
+ base?: tailwind_variants.ClassValue;
481
481
  group?: tailwind_variants.ClassValue;
482
482
  heading?: tailwind_variants.ClassValue;
483
483
  };
@@ -495,8 +495,8 @@ declare const menuSection: tailwind_variants.TVReturnType<{
495
495
  }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
496
496
  [key: string]: {
497
497
  [key: string]: tailwind_variants.ClassValue | {
498
- base?: tailwind_variants.ClassValue;
499
498
  divider?: tailwind_variants.ClassValue;
499
+ base?: tailwind_variants.ClassValue;
500
500
  group?: tailwind_variants.ClassValue;
501
501
  heading?: tailwind_variants.ClassValue;
502
502
  };
@@ -28,7 +28,24 @@ module.exports = __toCommonJS(menu_exports);
28
28
 
29
29
  // src/utils/tv.ts
30
30
  var import_tailwind_variants = require("tailwind-variants");
31
+
32
+ // src/utils/tw-merge-config.ts
31
33
  var COMMON_UNITS = ["small", "medium", "large"];
34
+ var twMergeConfig = {
35
+ theme: {
36
+ opacity: ["disabled"],
37
+ spacing: ["divider"],
38
+ borderWidth: COMMON_UNITS,
39
+ borderRadius: COMMON_UNITS
40
+ },
41
+ classGroups: {
42
+ shadow: [{ shadow: COMMON_UNITS }],
43
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
44
+ "bg-image": ["bg-stripe-gradient"]
45
+ }
46
+ };
47
+
48
+ // src/utils/tv.ts
32
49
  var tv = (options, config) => {
33
50
  var _a, _b, _c;
34
51
  return (0, import_tailwind_variants.tv)(options, {
@@ -38,16 +55,11 @@ var tv = (options, config) => {
38
55
  ...config == null ? void 0 : config.twMergeConfig,
39
56
  theme: {
40
57
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
41
- opacity: ["disabled"],
42
- spacing: ["divider"],
43
- borderWidth: COMMON_UNITS,
44
- borderRadius: COMMON_UNITS
58
+ ...twMergeConfig.theme
45
59
  },
46
60
  classGroups: {
47
61
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
48
- shadow: [{ shadow: COMMON_UNITS }],
49
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
50
- "bg-image": ["bg-stripe-gradient"]
62
+ ...twMergeConfig.classGroups
51
63
  }
52
64
  }
53
65
  });
@@ -178,7 +190,6 @@ var menuItem = tv({
178
190
  defaultVariants: {
179
191
  variant: "solid",
180
192
  color: "default",
181
- disableAnimation: false,
182
193
  showDivider: false
183
194
  },
184
195
  compoundVariants: [
@@ -2,11 +2,12 @@ import {
2
2
  menu,
3
3
  menuItem,
4
4
  menuSection
5
- } from "../chunk-CUUGEIPA.mjs";
6
- import "../chunk-CMYR6AOY.mjs";
7
- import "../chunk-K7LK7NCE.mjs";
5
+ } from "../chunk-4YQYZDME.mjs";
6
+ import "../chunk-IV3K5WDK.mjs";
7
+ import "../chunk-3XVMTUU7.mjs";
8
8
  import "../chunk-2PIR7DFM.mjs";
9
- import "../chunk-GMMETTYU.mjs";
9
+ import "../chunk-N2KXC5ZE.mjs";
10
+ import "../chunk-BYWORP66.mjs";
10
11
  import "../chunk-XHQUSKIE.mjs";
11
12
  export {
12
13
  menu,
@@ -122,6 +122,11 @@ declare const modal: tailwind_variants.TVReturnType<{
122
122
  base: string;
123
123
  };
124
124
  };
125
+ disableAnimation: {
126
+ false: {
127
+ wrapper: string[];
128
+ };
129
+ };
125
130
  }, {
126
131
  wrapper: string[];
127
132
  base: string[];
@@ -232,6 +237,11 @@ declare const modal: tailwind_variants.TVReturnType<{
232
237
  base: string;
233
238
  };
234
239
  };
240
+ disableAnimation: {
241
+ false: {
242
+ wrapper: string[];
243
+ };
244
+ };
235
245
  }, {
236
246
  size: {
237
247
  xs: {
@@ -334,6 +344,11 @@ declare const modal: tailwind_variants.TVReturnType<{
334
344
  base: string;
335
345
  };
336
346
  };
347
+ disableAnimation: {
348
+ false: {
349
+ wrapper: string[];
350
+ };
351
+ };
337
352
  }>, {
338
353
  size: {
339
354
  xs: {
@@ -436,6 +451,11 @@ declare const modal: tailwind_variants.TVReturnType<{
436
451
  base: string;
437
452
  };
438
453
  };
454
+ disableAnimation: {
455
+ false: {
456
+ wrapper: string[];
457
+ };
458
+ };
439
459
  }, {
440
460
  wrapper: string[];
441
461
  base: string[];
@@ -546,6 +566,11 @@ declare const modal: tailwind_variants.TVReturnType<{
546
566
  base: string;
547
567
  };
548
568
  };
569
+ disableAnimation: {
570
+ false: {
571
+ wrapper: string[];
572
+ };
573
+ };
549
574
  }, {
550
575
  wrapper: string[];
551
576
  base: string[];
@@ -656,6 +681,11 @@ declare const modal: tailwind_variants.TVReturnType<{
656
681
  base: string;
657
682
  };
658
683
  };
684
+ disableAnimation: {
685
+ false: {
686
+ wrapper: string[];
687
+ };
688
+ };
659
689
  }, {
660
690
  size: {
661
691
  xs: {
@@ -758,6 +788,11 @@ declare const modal: tailwind_variants.TVReturnType<{
758
788
  base: string;
759
789
  };
760
790
  };
791
+ disableAnimation: {
792
+ false: {
793
+ wrapper: string[];
794
+ };
795
+ };
761
796
  }>, unknown, unknown, undefined>>;
762
797
  type ModalVariantProps = VariantProps<typeof modal>;
763
798
  type ModalSlots = keyof ReturnType<typeof modal>;