@nextui-org/theme 2.2.2 → 2.2.4

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 (151) hide show
  1. package/dist/{chunk-7TJINK3S.mjs → chunk-22SLLLIZ.mjs} +2 -3
  2. package/dist/{chunk-524WVPFR.mjs → chunk-2KK3SUMT.mjs} +3 -4
  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-7ELFOVMX.mjs → chunk-A4VDWEXY.mjs} +5 -7
  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-DIYH6KBL.mjs} +4 -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-GMUSZ3YF.mjs → chunk-JBKBSMXM.mjs} +11 -11
  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 +114 -109
  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.d.ts +2 -2
  106. package/dist/components/progress.js +21 -10
  107. package/dist/components/progress.mjs +3 -2
  108. package/dist/components/radio.js +23 -13
  109. package/dist/components/radio.mjs +5 -4
  110. package/dist/components/scroll-shadow.js +19 -7
  111. package/dist/components/scroll-shadow.mjs +3 -2
  112. package/dist/components/select.js +18 -9
  113. package/dist/components/select.mjs +5 -4
  114. package/dist/components/skeleton.js +22 -10
  115. package/dist/components/skeleton.mjs +3 -2
  116. package/dist/components/slider.d.ts +7 -0
  117. package/dist/components/slider.js +28 -18
  118. package/dist/components/slider.mjs +5 -4
  119. package/dist/components/snippet.js +20 -9
  120. package/dist/components/snippet.mjs +5 -4
  121. package/dist/components/spacer.js +19 -7
  122. package/dist/components/spacer.mjs +3 -2
  123. package/dist/components/spinner.js +19 -7
  124. package/dist/components/spinner.mjs +3 -2
  125. package/dist/components/table.js +20 -9
  126. package/dist/components/table.mjs +5 -4
  127. package/dist/components/tabs.js +21 -9
  128. package/dist/components/tabs.mjs +5 -4
  129. package/dist/components/toggle.js +20 -9
  130. package/dist/components/toggle.mjs +5 -4
  131. package/dist/components/user.d.ts +27 -26
  132. package/dist/components/user.js +19 -7
  133. package/dist/components/user.mjs +5 -4
  134. package/dist/index.d.ts +4 -0
  135. package/dist/index.js +128 -109
  136. package/dist/index.mjs +51 -42
  137. package/dist/utils/cn.d.ts +5 -0
  138. package/dist/utils/cn.js +59 -0
  139. package/dist/utils/cn.mjs +7 -0
  140. package/dist/utils/index.d.ts +4 -0
  141. package/dist/utils/index.js +38 -2
  142. package/dist/utils/index.mjs +12 -3
  143. package/dist/utils/tv.js +19 -7
  144. package/dist/utils/tv.mjs +2 -1
  145. package/dist/utils/tw-merge-config.d.ts +6 -0
  146. package/dist/utils/tw-merge-config.js +45 -0
  147. package/dist/utils/tw-merge-config.mjs +8 -0
  148. package/dist/utils/types.mjs +0 -1
  149. package/package.json +4 -2
  150. package/dist/chunk-K7LK7NCE.mjs +0 -0
  151. /package/dist/{chunk-CMYR6AOY.mjs → chunk-IV3K5WDK.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
 
5
5
  // src/components/circular-progress.ts
6
6
  var circularProgress = tv({
@@ -71,8 +71,7 @@ var circularProgress = tv({
71
71
  defaultVariants: {
72
72
  color: "primary",
73
73
  size: "md",
74
- isDisabled: false,
75
- disableAnimation: false
74
+ isDisabled: false
76
75
  },
77
76
  compoundVariants: [
78
77
  {
@@ -1,6 +1,9 @@
1
+ import {
2
+ twMergeConfig
3
+ } from "./chunk-BYWORP66.mjs";
4
+
1
5
  // src/utils/tv.ts
2
6
  import { tv as tvBase } from "tailwind-variants";
3
- var COMMON_UNITS = ["small", "medium", "large"];
4
7
  var tv = (options, config) => {
5
8
  var _a, _b, _c;
6
9
  return tvBase(options, {
@@ -10,16 +13,11 @@ var tv = (options, config) => {
10
13
  ...config == null ? void 0 : config.twMergeConfig,
11
14
  theme: {
12
15
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
13
- opacity: ["disabled"],
14
- spacing: ["divider"],
15
- borderWidth: COMMON_UNITS,
16
- borderRadius: COMMON_UNITS
16
+ ...twMergeConfig.theme
17
17
  },
18
18
  classGroups: {
19
19
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
20
- shadow: [{ shadow: COMMON_UNITS }],
21
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
22
- "bg-image": ["bg-stripe-gradient"]
20
+ ...twMergeConfig.classGroups
23
21
  }
24
22
  }
25
23
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -16,7 +16,7 @@ var calendar = tv({
16
16
  prevButton: [],
17
17
  nextButton: [],
18
18
  headerWrapper: [
19
- "px-4 py-2 flex items-center justify-between gap-2 bg-content1",
19
+ "px-4 py-2 flex items-center justify-between gap-2 bg-content1 overflow-hidden",
20
20
  "[&_.chevron-icon]:flex-none",
21
21
  "after:content-['']",
22
22
  "after:bg-content1 origin-top",
@@ -89,7 +89,7 @@ var calendar = tv({
89
89
  },
90
90
  hideDisabledDates: {
91
91
  true: {
92
- cellButton: "data-[disabled=true]:opacity-0"
92
+ cellButton: "data-[disabled=true]:data-[outside-month=true]:opacity-0"
93
93
  },
94
94
  false: {}
95
95
  },
@@ -136,8 +136,7 @@ var calendar = tv({
136
136
  color: "primary",
137
137
  showShadow: false,
138
138
  hideDisabledDates: false,
139
- showMonthAndYearPickers: false,
140
- disableAnimation: false
139
+ showMonthAndYearPickers: false
141
140
  },
142
141
  compoundVariants: [
143
142
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2PIR7DFM.mjs";
4
4
  import {
5
5
  tv
6
- } from "./chunk-GMMETTYU.mjs";
6
+ } from "./chunk-N2KXC5ZE.mjs";
7
7
 
8
8
  // src/components/badge.ts
9
9
  var badge = tv({
@@ -103,7 +103,6 @@ var badge = tv({
103
103
  shape: "rectangle",
104
104
  placement: "top-right",
105
105
  showOutline: true,
106
- disableAnimation: false,
107
106
  isInvisible: false
108
107
  },
109
108
  compoundVariants: [
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2PIR7DFM.mjs";
4
4
  import {
5
5
  tv
6
- } from "./chunk-GMMETTYU.mjs";
6
+ } from "./chunk-N2KXC5ZE.mjs";
7
7
  import {
8
8
  collapseAdjacentVariantBorders,
9
9
  dataFocusVisibleClasses
@@ -28,6 +28,7 @@ var button = tv({
28
28
  "subpixel-antialiased",
29
29
  "overflow-hidden",
30
30
  "tap-highlight-transparent",
31
+ "data-[pressed=true]:scale-[0.97]",
31
32
  ...dataFocusVisibleClasses
32
33
  ],
33
34
  variants: {
@@ -75,7 +76,7 @@ var button = tv({
75
76
  },
76
77
  disableAnimation: {
77
78
  true: "!transition-none",
78
- false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"
79
+ false: "transition-transform-colors-opacity motion-reduce:transition-none"
79
80
  }
80
81
  },
81
82
  defaultVariants: {
@@ -84,8 +85,7 @@ var button = tv({
84
85
  color: "default",
85
86
  fullWidth: false,
86
87
  isDisabled: false,
87
- isInGroup: false,
88
- disableAnimation: false
88
+ isInGroup: false
89
89
  },
90
90
  compoundVariants: [
91
91
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
 
5
5
  // src/components/spacer.ts
6
6
  var spacer = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
 
5
5
  // src/components/image.ts
6
6
  var image = tv({
@@ -56,11 +56,32 @@ var image = tv({
56
56
  },
57
57
  showSkeleton: {
58
58
  true: {
59
+ wrapper: ["group", "relative", "overflow-hidden", "bg-content3 dark:bg-content2"],
60
+ img: "opacity-0"
61
+ }
62
+ },
63
+ disableAnimation: {
64
+ true: {
65
+ img: "transition-none"
66
+ },
67
+ false: {
68
+ img: "transition-transform-opacity motion-reduce:transition-none !duration-300"
69
+ }
70
+ }
71
+ },
72
+ defaultVariants: {
73
+ radius: "lg",
74
+ shadow: "none",
75
+ isZoomed: false,
76
+ isBlurred: false,
77
+ showSkeleton: false
78
+ },
79
+ compoundVariants: [
80
+ {
81
+ showSkeleton: true,
82
+ disableAnimation: false,
83
+ class: {
59
84
  wrapper: [
60
- "group",
61
- "relative",
62
- "overflow-hidden",
63
- "bg-content3 dark:bg-content2",
64
85
  "before:opacity-100",
65
86
  "before:absolute",
66
87
  "before:inset-0",
@@ -79,27 +100,10 @@ var image = tv({
79
100
  "after:-z-10",
80
101
  "after:bg-content3",
81
102
  "dark:after:bg-content2"
82
- ],
83
- img: "opacity-0"
84
- }
85
- },
86
- disableAnimation: {
87
- true: {
88
- img: "transition-none"
89
- },
90
- false: {
91
- img: "transition-transform-opacity motion-reduce:transition-none !duration-300"
103
+ ]
92
104
  }
93
105
  }
94
- },
95
- defaultVariants: {
96
- radius: "lg",
97
- shadow: "none",
98
- isZoomed: false,
99
- isBlurred: false,
100
- showSkeleton: false,
101
- disableAnimation: false
102
- },
106
+ ],
103
107
  compoundSlots: [
104
108
  {
105
109
  slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
 
5
5
  // src/components/drip.ts
6
6
  var drip = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -87,7 +87,6 @@ var accordionItem = tv({
87
87
  radius: "lg",
88
88
  isDisabled: false,
89
89
  hideIndicator: false,
90
- disableAnimation: false,
91
90
  disableIndicatorAnimation: false
92
91
  }
93
92
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -13,7 +13,7 @@ var card = tv({
13
13
  "flex-col",
14
14
  "relative",
15
15
  "overflow-hidden",
16
- "height-auto",
16
+ "h-auto",
17
17
  "outline-none",
18
18
  "text-foreground",
19
19
  "box-border",
@@ -137,7 +137,6 @@ var card = tv({
137
137
  compoundVariants: [
138
138
  {
139
139
  isPressable: true,
140
- disableAnimation: false,
141
140
  class: "data-[pressed=true]:scale-[0.97] tap-highlight-transparent"
142
141
  }
143
142
  ],
@@ -148,7 +147,6 @@ var card = tv({
148
147
  isHoverable: false,
149
148
  isPressable: false,
150
149
  isDisabled: false,
151
- disableAnimation: false,
152
150
  isFooterBlurred: false
153
151
  }
154
152
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -221,8 +221,7 @@ var table = tv({
221
221
  isCompact: false,
222
222
  hideHeader: false,
223
223
  isStriped: false,
224
- fullWidth: true,
225
- disableAnimation: false
224
+ fullWidth: true
226
225
  }
227
226
  });
228
227
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
  import {
5
5
  groupDataFocusVisibleClasses
6
6
  } from "./chunk-XHQUSKIE.mjs";
@@ -139,8 +139,7 @@ var toggle = tv({
139
139
  defaultVariants: {
140
140
  color: "primary",
141
141
  size: "md",
142
- isDisabled: false,
143
- disableAnimation: false
142
+ isDisabled: false
144
143
  },
145
144
  compoundVariants: [
146
145
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-GMMETTYU.mjs";
3
+ } from "./chunk-N2KXC5ZE.mjs";
4
4
 
5
5
  // src/components/date-picker.ts
6
6
  var datePicker = tv({
@@ -27,7 +27,24 @@ module.exports = __toCommonJS(accordion_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
  });
@@ -143,7 +155,6 @@ var accordionItem = tv({
143
155
  radius: "lg",
144
156
  isDisabled: false,
145
157
  hideIndicator: false,
146
- disableAnimation: false,
147
158
  disableIndicatorAnimation: false
148
159
  }
149
160
  });
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  accordion,
3
3
  accordionItem
4
- } from "../chunk-KCOC3H6R.mjs";
5
- import "../chunk-CMYR6AOY.mjs";
6
- import "../chunk-K7LK7NCE.mjs";
4
+ } from "../chunk-VFGZ2KFC.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
  accordion,
@@ -26,7 +26,24 @@ module.exports = __toCommonJS(autocomplete_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
  });
@@ -96,7 +108,6 @@ var autocomplete = tv({
96
108
  }
97
109
  },
98
110
  defaultVariants: {
99
- disableAnimation: false,
100
111
  isClearable: true,
101
112
  disableSelectorIconRotation: false
102
113
  }
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  autocomplete
3
- } from "../chunk-AT4OXKKK.mjs";
4
- import "../chunk-GMMETTYU.mjs";
3
+ } from "../chunk-KKN74BUG.mjs";
4
+ import "../chunk-N2KXC5ZE.mjs";
5
+ import "../chunk-BYWORP66.mjs";
5
6
  export {
6
7
  autocomplete
7
8
  };
@@ -83,6 +83,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
83
83
  base: string;
84
84
  };
85
85
  };
86
+ disableAnimation: {
87
+ true: {
88
+ base: string;
89
+ img: string;
90
+ };
91
+ false: {};
92
+ };
86
93
  }, {
87
94
  base: string[];
88
95
  img: string[];
@@ -158,6 +165,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
158
165
  base: string;
159
166
  };
160
167
  };
168
+ disableAnimation: {
169
+ true: {
170
+ base: string;
171
+ img: string;
172
+ };
173
+ false: {};
174
+ };
161
175
  }, {
162
176
  size: {
163
177
  sm: {
@@ -227,6 +241,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
227
241
  base: string;
228
242
  };
229
243
  };
244
+ disableAnimation: {
245
+ true: {
246
+ base: string;
247
+ img: string;
248
+ };
249
+ false: {};
250
+ };
230
251
  }>, {
231
252
  size: {
232
253
  sm: {
@@ -296,6 +317,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
296
317
  base: string;
297
318
  };
298
319
  };
320
+ disableAnimation: {
321
+ true: {
322
+ base: string;
323
+ img: string;
324
+ };
325
+ false: {};
326
+ };
299
327
  }, {
300
328
  base: string[];
301
329
  img: string[];
@@ -371,6 +399,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
371
399
  base: string;
372
400
  };
373
401
  };
402
+ disableAnimation: {
403
+ true: {
404
+ base: string;
405
+ img: string;
406
+ };
407
+ false: {};
408
+ };
374
409
  }, {
375
410
  base: string[];
376
411
  img: string[];
@@ -446,6 +481,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
446
481
  base: string;
447
482
  };
448
483
  };
484
+ disableAnimation: {
485
+ true: {
486
+ base: string;
487
+ img: string;
488
+ };
489
+ false: {};
490
+ };
449
491
  }, {
450
492
  size: {
451
493
  sm: {
@@ -515,6 +557,13 @@ declare const avatar: tailwind_variants.TVReturnType<{
515
557
  base: string;
516
558
  };
517
559
  };
560
+ disableAnimation: {
561
+ true: {
562
+ base: string;
563
+ img: string;
564
+ };
565
+ false: {};
566
+ };
518
567
  }>, unknown, unknown, undefined>>;
519
568
  /**
520
569
  * AvatarGroup wrapper **Tailwind Variants** component
@@ -27,7 +27,24 @@ module.exports = __toCommonJS(avatar_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
  });
@@ -250,6 +262,13 @@ var avatar = tv({
250
262
  true: {
251
263
  base: "m-0 data-[hover=true]:translate-x-0"
252
264
  }
265
+ },
266
+ disableAnimation: {
267
+ true: {
268
+ base: "transition-none",
269
+ img: "transition-none"
270
+ },
271
+ false: {}
253
272
  }
254
273
  },
255
274
  defaultVariants: {
@@ -304,7 +323,7 @@ var avatar = tv({
304
323
  });
305
324
  var avatarGroup = tv({
306
325
  slots: {
307
- base: "flex items-center justify-center h-auto w-max-content",
326
+ base: "flex items-center justify-center h-auto w-max",
308
327
  count: "hover:-translate-x-0"
309
328
  },
310
329
  variants: {
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  avatar,
3
3
  avatarGroup
4
- } from "../chunk-VDRJHB4F.mjs";
5
- import "../chunk-CMYR6AOY.mjs";
6
- import "../chunk-K7LK7NCE.mjs";
4
+ } from "../chunk-HZX5JB5L.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
  avatar,