@nextui-org/theme 2.2.10 → 2.3.0-beta.0

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 (165) hide show
  1. package/dist/{chunk-LSQXJEPE.mjs → chunk-2ODFPLXN.mjs} +22 -22
  2. package/dist/{chunk-BOVVTMHS.mjs → chunk-2TAKWWRG.mjs} +5 -5
  3. package/dist/chunk-3XDFZGUJ.mjs +216 -0
  4. package/dist/{chunk-3XVMTUU7.mjs → chunk-46U6G7UJ.mjs} +2 -2
  5. package/dist/{chunk-MP2JYSMR.mjs → chunk-5VB7JNVX.mjs} +2 -2
  6. package/dist/{chunk-JBKBSMXM.mjs → chunk-7IYRK3EV.mjs} +1 -1
  7. package/dist/{chunk-T2VR4T5R.mjs → chunk-AKXXHKTO.mjs} +1 -1
  8. package/dist/{chunk-EF6G67MF.mjs → chunk-AN5I7NTT.mjs} +1 -1
  9. package/dist/{chunk-KPVV2V7V.mjs → chunk-AUN4SP2F.mjs} +1 -1
  10. package/dist/{chunk-A2DU46QS.mjs → chunk-AXSF7SRE.mjs} +1 -1
  11. package/dist/{chunk-V4SD44VK.mjs → chunk-BWPOLXFL.mjs} +1 -1
  12. package/dist/{chunk-AXXUQWWC.mjs → chunk-DBPAK7QN.mjs} +1 -1
  13. package/dist/{chunk-63NMFZTF.mjs → chunk-EGGHND3C.mjs} +2 -2
  14. package/dist/chunk-EP7KPCL3.mjs +62 -0
  15. package/dist/{chunk-GQDFLFNG.mjs → chunk-EQPJSVMB.mjs} +1 -1
  16. package/dist/{chunk-OUNBTYJ7.mjs → chunk-FB2NWPDB.mjs} +12 -12
  17. package/dist/{chunk-WJIRIXV4.mjs → chunk-FJGKW3ZE.mjs} +29 -38
  18. package/dist/{chunk-BYWORP66.mjs → chunk-GIXI35A3.mjs} +8 -1
  19. package/dist/{chunk-BJ6IKX32.mjs → chunk-GMZHMFEU.mjs} +1 -1
  20. package/dist/{chunk-BZCSOIUI.mjs → chunk-GQT3YUX3.mjs} +5 -5
  21. package/dist/{chunk-XL6AWNU3.mjs → chunk-HHK47K4W.mjs} +2 -2
  22. package/dist/{chunk-MVG7GLBD.mjs → chunk-HIFLYEAM.mjs} +1 -1
  23. package/dist/{chunk-XEPPBQPJ.mjs → chunk-HNRFZTEX.mjs} +19 -19
  24. package/dist/{chunk-FE2UYWMQ.mjs → chunk-HZ7J23VD.mjs} +37 -44
  25. package/dist/{chunk-C3SML4G4.mjs → chunk-IAHJC7C4.mjs} +1 -1
  26. package/dist/{chunk-2KK3SUMT.mjs → chunk-IZOPFGDE.mjs} +37 -2
  27. package/dist/{chunk-PWJWH4MD.mjs → chunk-JE6SPRGQ.mjs} +2 -2
  28. package/dist/{chunk-7YPXCOW5.mjs → chunk-K6KPB2U5.mjs} +1 -1
  29. package/dist/{chunk-42JWJWWX.mjs → chunk-KTTXIYK2.mjs} +2 -2
  30. package/dist/{chunk-C43Y2OOL.mjs → chunk-KZ2I3V4D.mjs} +2 -2
  31. package/dist/{chunk-JFWA3DGK.mjs → chunk-LCMN7HGG.mjs} +19 -13
  32. package/dist/{chunk-4MIBATA4.mjs → chunk-LVAEW6WR.mjs} +15 -15
  33. package/dist/{chunk-R27WO3A6.mjs → chunk-LWG2RR7B.mjs} +2 -2
  34. package/dist/{chunk-P73E5YV7.mjs → chunk-N67DL6BW.mjs} +2 -4
  35. package/dist/{chunk-UDSOWFZE.mjs → chunk-OAHW4NON.mjs} +1 -1
  36. package/dist/{chunk-TSTU52NB.mjs → chunk-QFGVVQRM.mjs} +5 -5
  37. package/dist/{chunk-XAYP4CR3.mjs → chunk-SC2SILVU.mjs} +2 -2
  38. package/dist/{chunk-I33PMOA3.mjs → chunk-TNFNBUPA.mjs} +48 -47
  39. package/dist/{chunk-U6G6SZ26.mjs → chunk-TOQXZATI.mjs} +1 -1
  40. package/dist/{chunk-3QYYLFUC.mjs → chunk-UQZHSMVI.mjs} +1 -1
  41. package/dist/{chunk-N2KXC5ZE.mjs → chunk-UWE6H66T.mjs} +1 -1
  42. package/dist/{chunk-KPI62GDB.mjs → chunk-VKSIQ7SR.mjs} +1 -1
  43. package/dist/{chunk-F4AOWB64.mjs → chunk-VX7HAPUO.mjs} +1 -1
  44. package/dist/{chunk-DI2L75XK.mjs → chunk-W5UU3F46.mjs} +5 -0
  45. package/dist/{chunk-QV3ALCMB.mjs → chunk-XQI5RD6S.mjs} +2 -2
  46. package/dist/{chunk-3LD7T42T.mjs → chunk-XZMJGJQX.mjs} +4 -4
  47. package/dist/{chunk-VLE2FQQR.mjs → chunk-YLHKOIZS.mjs} +1 -1
  48. package/dist/{chunk-XXQSA25O.mjs → chunk-YRDDKYYT.mjs} +6 -3
  49. package/dist/components/accordion.js +8 -1
  50. package/dist/components/accordion.mjs +5 -5
  51. package/dist/components/alert.d.ts +344 -0
  52. package/dist/components/alert.js +355 -0
  53. package/dist/components/alert.mjs +12 -0
  54. package/dist/components/autocomplete.js +12 -5
  55. package/dist/components/autocomplete.mjs +3 -3
  56. package/dist/components/avatar.js +13 -6
  57. package/dist/components/avatar.mjs +5 -5
  58. package/dist/components/badge.js +13 -6
  59. package/dist/components/badge.mjs +5 -5
  60. package/dist/components/breadcrumbs.js +9 -2
  61. package/dist/components/breadcrumbs.mjs +5 -5
  62. package/dist/components/button.js +17 -7
  63. package/dist/components/button.mjs +5 -5
  64. package/dist/components/calendar.js +8 -1
  65. package/dist/components/calendar.mjs +5 -5
  66. package/dist/components/card.js +8 -1
  67. package/dist/components/card.mjs +5 -5
  68. package/dist/components/checkbox.js +19 -12
  69. package/dist/components/checkbox.mjs +5 -5
  70. package/dist/components/chip.js +13 -6
  71. package/dist/components/chip.mjs +5 -5
  72. package/dist/components/circular-progress.js +8 -1
  73. package/dist/components/circular-progress.mjs +3 -3
  74. package/dist/components/code.js +13 -6
  75. package/dist/components/code.mjs +5 -5
  76. package/dist/components/date-input.js +26 -19
  77. package/dist/components/date-input.mjs +3 -3
  78. package/dist/components/date-picker.js +12 -5
  79. package/dist/components/date-picker.mjs +3 -3
  80. package/dist/components/divider.js +8 -1
  81. package/dist/components/divider.mjs +3 -3
  82. package/dist/components/drawer.d.ts +358 -0
  83. package/dist/components/drawer.js +130 -0
  84. package/dist/components/drawer.mjs +8 -0
  85. package/dist/components/drip.js +8 -1
  86. package/dist/components/drip.mjs +3 -3
  87. package/dist/components/dropdown.js +8 -1
  88. package/dist/components/dropdown.mjs +5 -5
  89. package/dist/components/image.js +8 -1
  90. package/dist/components/image.mjs +3 -3
  91. package/dist/components/index.d.ts +2 -1
  92. package/dist/components/index.js +503 -210
  93. package/dist/components/index.mjs +68 -60
  94. package/dist/components/input.d.ts +7 -0
  95. package/dist/components/input.js +55 -47
  96. package/dist/components/input.mjs +5 -5
  97. package/dist/components/kbd.js +8 -1
  98. package/dist/components/kbd.mjs +3 -3
  99. package/dist/components/link.js +8 -1
  100. package/dist/components/link.mjs +5 -5
  101. package/dist/components/listbox.js +8 -1
  102. package/dist/components/listbox.mjs +5 -5
  103. package/dist/components/menu.js +8 -1
  104. package/dist/components/menu.mjs +5 -5
  105. package/dist/components/modal.js +9 -4
  106. package/dist/components/modal.mjs +5 -5
  107. package/dist/components/navbar.js +8 -1
  108. package/dist/components/navbar.mjs +5 -5
  109. package/dist/components/pagination.js +13 -6
  110. package/dist/components/pagination.mjs +5 -5
  111. package/dist/components/popover.js +13 -6
  112. package/dist/components/popover.mjs +5 -5
  113. package/dist/components/progress.js +44 -2
  114. package/dist/components/progress.mjs +3 -3
  115. package/dist/components/radio.js +22 -15
  116. package/dist/components/radio.mjs +5 -5
  117. package/dist/components/scroll-shadow.js +8 -1
  118. package/dist/components/scroll-shadow.mjs +3 -3
  119. package/dist/components/select.d.ts +21 -0
  120. package/dist/components/select.js +44 -44
  121. package/dist/components/select.mjs +5 -5
  122. package/dist/components/skeleton.js +8 -1
  123. package/dist/components/skeleton.mjs +3 -3
  124. package/dist/components/slider.js +8 -1
  125. package/dist/components/slider.mjs +5 -5
  126. package/dist/components/snippet.js +13 -6
  127. package/dist/components/snippet.mjs +5 -5
  128. package/dist/components/spacer.js +8 -1
  129. package/dist/components/spacer.mjs +3 -3
  130. package/dist/components/spinner.js +8 -1
  131. package/dist/components/spinner.mjs +3 -3
  132. package/dist/components/table.js +29 -22
  133. package/dist/components/table.mjs +5 -5
  134. package/dist/components/tabs.js +13 -6
  135. package/dist/components/tabs.mjs +5 -5
  136. package/dist/components/toggle.js +36 -38
  137. package/dist/components/toggle.mjs +5 -5
  138. package/dist/components/user.d.ts +26 -27
  139. package/dist/components/user.js +8 -1
  140. package/dist/components/user.mjs +5 -5
  141. package/dist/index.d.ts +2 -1
  142. package/dist/index.js +528 -224
  143. package/dist/index.mjs +74 -66
  144. package/dist/plugin.js +24 -13
  145. package/dist/plugin.mjs +4 -4
  146. package/dist/utilities/custom.d.ts +5 -0
  147. package/dist/utilities/custom.js +5 -0
  148. package/dist/utilities/custom.mjs +1 -1
  149. package/dist/utilities/index.d.ts +5 -0
  150. package/dist/utilities/index.js +5 -0
  151. package/dist/utilities/index.mjs +3 -3
  152. package/dist/utils/cn.js +9 -2
  153. package/dist/utils/cn.mjs +2 -2
  154. package/dist/utils/index.d.ts +0 -1
  155. package/dist/utils/index.js +14 -7
  156. package/dist/utils/index.mjs +5 -5
  157. package/dist/utils/tv.js +8 -1
  158. package/dist/utils/tv.mjs +2 -2
  159. package/dist/utils/tw-merge-config.d.ts +17 -3
  160. package/dist/utils/tw-merge-config.js +8 -1
  161. package/dist/utils/tw-merge-config.mjs +1 -1
  162. package/dist/utils/variants.js +5 -5
  163. package/dist/utils/variants.mjs +1 -1
  164. package/package.json +3 -12
  165. /package/dist/{chunk-UVXYPGDZ.mjs → chunk-MA4DKK64.mjs} +0 -0
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -102,11 +109,11 @@ var bordered = {
102
109
  };
103
110
  var flat = {
104
111
  default: "bg-default/40 text-default-700",
105
- primary: "bg-primary/20 text-primary-700",
106
- secondary: "bg-secondary/20 text-secondary-700",
107
- success: "bg-success/20 text-success-800 dark:text-success",
108
- warning: "bg-warning/20 text-warning-800 dark:text-warning",
109
- danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
112
+ primary: "bg-primary/20 text-primary-600",
113
+ secondary: "bg-secondary/20 text-secondary-600",
114
+ success: "bg-success/20 text-success-700 dark:text-success",
115
+ warning: "bg-warning/20 text-warning-700 dark:text-warning",
116
+ danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
110
117
  foreground: "bg-foreground/10 text-foreground"
111
118
  };
112
119
  var faded = {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  tabs
3
- } from "../chunk-42JWJWWX.mjs";
3
+ } from "../chunk-KTTXIYK2.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  tabs
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -76,7 +83,7 @@ var groupDataFocusVisibleClasses = [
76
83
  // src/components/toggle.ts
77
84
  var toggle = tv({
78
85
  slots: {
79
- base: "group/toggle relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent select-none",
86
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent select-none",
80
87
  wrapper: [
81
88
  "px-1",
82
89
  "relative",
@@ -99,76 +106,76 @@ var toggle = tv({
99
106
  "rounded-full",
100
107
  "origin-right"
101
108
  ],
102
- startContent: "z-0 absolute left-1.5 rtl:right-1.5 rtl:left-[unset] text-current",
103
- endContent: "z-0 absolute right-1.5 rtl:left-1.5 rtl:right-[unset] text-default-600",
109
+ startContent: "z-0 absolute start-1.5 text-current",
110
+ endContent: "z-0 absolute end-1.5 text-default-600",
104
111
  thumbIcon: "text-black",
105
- label: "relative text-foreground select-none"
112
+ label: "relative text-foreground select-none ms-2"
106
113
  },
107
114
  variants: {
108
115
  color: {
109
116
  default: {
110
117
  wrapper: [
111
- "group-data-[selected=true]/toggle:bg-default-400",
112
- "group-data-[selected=true]/toggle:text-default-foreground"
118
+ "group-data-[selected=true]:bg-default-400",
119
+ "group-data-[selected=true]:text-default-foreground"
113
120
  ]
114
121
  },
115
122
  primary: {
116
123
  wrapper: [
117
- "group-data-[selected=true]/toggle:bg-primary",
118
- "group-data-[selected=true]/toggle:text-primary-foreground"
124
+ "group-data-[selected=true]:bg-primary",
125
+ "group-data-[selected=true]:text-primary-foreground"
119
126
  ]
120
127
  },
121
128
  secondary: {
122
129
  wrapper: [
123
- "group-data-[selected=true]/toggle:bg-secondary",
124
- "group-data-[selected=true]/toggle:text-secondary-foreground"
130
+ "group-data-[selected=true]:bg-secondary",
131
+ "group-data-[selected=true]:text-secondary-foreground"
125
132
  ]
126
133
  },
127
134
  success: {
128
135
  wrapper: [
129
- "group-data-[selected=true]/toggle:bg-success",
130
- "group-data-[selected=true]/toggle:text-success-foreground"
136
+ "group-data-[selected=true]:bg-success",
137
+ "group-data-[selected=true]:text-success-foreground"
131
138
  ]
132
139
  },
133
140
  warning: {
134
141
  wrapper: [
135
- "group-data-[selected=true]/toggle:bg-warning",
136
- "group-data-[selected=true]/toggle:text-warning-foreground"
142
+ "group-data-[selected=true]:bg-warning",
143
+ "group-data-[selected=true]:text-warning-foreground"
137
144
  ]
138
145
  },
139
146
  danger: {
140
147
  wrapper: [
141
- "group-data-[selected=true]/toggle:bg-danger",
148
+ "group-data-[selected=true]:bg-danger",
142
149
  "data-[selected=true]:text-danger-foreground"
143
150
  ]
144
151
  }
145
152
  },
146
153
  size: {
147
154
  sm: {
148
- wrapper: "w-10 h-6 mr-2 rtl:ml-2 rtl:mr-[unset]",
155
+ wrapper: "w-10 h-6",
149
156
  thumb: [
150
157
  "w-4 h-4 text-tiny",
151
- "group-data-[selected=true]/toggle:ml-4 rtl:group-data-[selected=true]/toggle:ml-0 rtl:group-data-[selected=true]/toggle:mr-4"
158
+ "group-data-[selected=true]:ms-4"
152
159
  ],
153
160
  endContent: "text-tiny",
154
161
  startContent: "text-tiny",
155
162
  label: "text-small"
156
163
  },
157
164
  md: {
158
- wrapper: "w-12 h-7 mr-2 rtl:ml-2 rtl:mr-[unset]",
165
+ wrapper: "w-12 h-7",
159
166
  thumb: [
160
167
  "w-5 h-5 text-small",
161
- "group-data-[selected=true]/toggle:ml-5 rtl:group-data-[selected=true]/toggle:ml-0 rtl:group-data-[selected=true]/toggle:mr-5"
168
+ "group-data-[selected=true]:ms-5"
162
169
  ],
163
170
  endContent: "text-small",
164
171
  startContent: "text-small",
165
172
  label: "text-medium"
166
173
  },
167
174
  lg: {
168
- wrapper: "w-14 h-8 mr-2 rtl:ml-2 rtl:mr-[unset]",
175
+ wrapper: "w-14 h-8",
169
176
  thumb: [
170
177
  "w-6 h-6 text-medium",
171
- "group-data-[selected=true]/toggle:ml-6 rtl:group-data-[selected=true]/toggle:ml-0 rtl:group-data-[selected=true]/toggle:mr-6"
178
+ "group-data-[selected=true]:ms-6"
172
179
  ],
173
180
  endContent: "text-medium",
174
181
  startContent: "text-medium",
@@ -192,14 +199,14 @@ var toggle = tv({
192
199
  "opacity-0",
193
200
  "scale-50",
194
201
  "transition-transform-opacity",
195
- "group-data-[selected=true]/toggle:scale-100",
196
- "group-data-[selected=true]/toggle:opacity-100"
202
+ "group-data-[selected=true]:scale-100",
203
+ "group-data-[selected=true]:opacity-100"
197
204
  ],
198
205
  endContent: [
199
206
  "opacity-100",
200
207
  "transition-transform-opacity",
201
- "group-data-[selected=true]/toggle:translate-x-3",
202
- "group-data-[selected=true]/toggle:opacity-0"
208
+ "group-data-[selected=true]:translate-x-3",
209
+ "group-data-[selected=true]:opacity-0"
203
210
  ]
204
211
  }
205
212
  }
@@ -214,30 +221,21 @@ var toggle = tv({
214
221
  disableAnimation: false,
215
222
  size: "sm",
216
223
  class: {
217
- thumb: [
218
- "group-data-[pressed=true]/toggle:w-5",
219
- "group-data-[selected]/toggle:group-data-[pressed]/toggle:ml-3"
220
- ]
224
+ thumb: ["group-data-[pressed=true]:w-5", "group-data-[selected]:group-data-[pressed]:ml-3"]
221
225
  }
222
226
  },
223
227
  {
224
228
  disableAnimation: false,
225
229
  size: "md",
226
230
  class: {
227
- thumb: [
228
- "group-data-[pressed=true]/toggle:w-6",
229
- "group-data-[selected]/toggle:group-data-[pressed]/toggle:ml-4"
230
- ]
231
+ thumb: ["group-data-[pressed=true]:w-6", "group-data-[selected]:group-data-[pressed]:ml-4"]
231
232
  }
232
233
  },
233
234
  {
234
235
  disableAnimation: false,
235
236
  size: "lg",
236
237
  class: {
237
- thumb: [
238
- "group-data-[pressed=true]/toggle:w-7",
239
- "group-data-[selected]/toggle:group-data-[pressed]/toggle:ml-5"
240
- ]
238
+ thumb: ["group-data-[pressed=true]:w-7", "group-data-[selected]:group-data-[pressed]:ml-5"]
241
239
  }
242
240
  }
243
241
  ]
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-WJIRIXV4.mjs";
3
+ } from "../chunk-FJGKW3ZE.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  toggle
@@ -1,6 +1,5 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
1
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
3
- import * as tailwind_merge from 'tailwind-merge';
2
+ import * as tailwind_variants from 'tailwind-variants';
4
3
 
5
4
  /**
6
5
  * User wrapper **Tailwind Variants** component
@@ -18,20 +17,20 @@ import * as tailwind_merge from 'tailwind-merge';
18
17
  */
19
18
  declare const user: tailwind_variants.TVReturnType<{
20
19
  [key: string]: {
21
- [key: string]: tailwind_merge.ClassNameValue | {
22
- base?: tailwind_merge.ClassNameValue;
23
- description?: tailwind_merge.ClassNameValue;
24
- name?: tailwind_merge.ClassNameValue;
25
- wrapper?: tailwind_merge.ClassNameValue;
20
+ [key: string]: tailwind_variants.ClassValue | {
21
+ base?: tailwind_variants.ClassValue;
22
+ description?: tailwind_variants.ClassValue;
23
+ name?: tailwind_variants.ClassValue;
24
+ wrapper?: tailwind_variants.ClassValue;
26
25
  };
27
26
  };
28
27
  } | {
29
28
  [x: string]: {
30
- [x: string]: tailwind_merge.ClassNameValue | {
31
- base?: tailwind_merge.ClassNameValue;
32
- description?: tailwind_merge.ClassNameValue;
33
- name?: tailwind_merge.ClassNameValue;
34
- wrapper?: tailwind_merge.ClassNameValue;
29
+ [x: string]: tailwind_variants.ClassValue | {
30
+ base?: tailwind_variants.ClassValue;
31
+ description?: tailwind_variants.ClassValue;
32
+ name?: tailwind_variants.ClassValue;
33
+ wrapper?: tailwind_variants.ClassValue;
35
34
  };
36
35
  };
37
36
  } | {}, {
@@ -41,20 +40,20 @@ declare const user: tailwind_variants.TVReturnType<{
41
40
  description: string;
42
41
  }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
43
42
  [key: string]: {
44
- [key: string]: tailwind_merge.ClassNameValue | {
45
- base?: tailwind_merge.ClassNameValue;
46
- description?: tailwind_merge.ClassNameValue;
47
- name?: tailwind_merge.ClassNameValue;
48
- wrapper?: tailwind_merge.ClassNameValue;
43
+ [key: string]: tailwind_variants.ClassValue | {
44
+ base?: tailwind_variants.ClassValue;
45
+ description?: tailwind_variants.ClassValue;
46
+ name?: tailwind_variants.ClassValue;
47
+ wrapper?: tailwind_variants.ClassValue;
49
48
  };
50
49
  };
51
50
  } | {}>, {
52
51
  [key: string]: {
53
- [key: string]: tailwind_merge.ClassNameValue | {
54
- base?: tailwind_merge.ClassNameValue;
55
- description?: tailwind_merge.ClassNameValue;
56
- name?: tailwind_merge.ClassNameValue;
57
- wrapper?: tailwind_merge.ClassNameValue;
52
+ [key: string]: tailwind_variants.ClassValue | {
53
+ base?: tailwind_variants.ClassValue;
54
+ description?: tailwind_variants.ClassValue;
55
+ name?: tailwind_variants.ClassValue;
56
+ wrapper?: tailwind_variants.ClassValue;
58
57
  };
59
58
  };
60
59
  } | {}, {
@@ -69,11 +68,11 @@ declare const user: tailwind_variants.TVReturnType<{
69
68
  description: string;
70
69
  }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
71
70
  [key: string]: {
72
- [key: string]: tailwind_merge.ClassNameValue | {
73
- base?: tailwind_merge.ClassNameValue;
74
- description?: tailwind_merge.ClassNameValue;
75
- name?: tailwind_merge.ClassNameValue;
76
- wrapper?: tailwind_merge.ClassNameValue;
71
+ [key: string]: tailwind_variants.ClassValue | {
72
+ base?: tailwind_variants.ClassValue;
73
+ description?: tailwind_variants.ClassValue;
74
+ name?: tailwind_variants.ClassValue;
75
+ wrapper?: tailwind_variants.ClassValue;
77
76
  };
78
77
  };
79
78
  } | {}>, unknown, unknown, undefined>>;
@@ -39,7 +39,14 @@ var twMergeConfig = {
39
39
  classGroups: {
40
40
  shadow: [{ shadow: COMMON_UNITS }],
41
41
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
42
- "bg-image": ["bg-stripe-gradient"]
42
+ "bg-image": [
43
+ "bg-stripe-gradient-default",
44
+ "bg-stripe-gradient-primary",
45
+ "bg-stripe-gradient-secondary",
46
+ "bg-stripe-gradient-success",
47
+ "bg-stripe-gradient-warning",
48
+ "bg-stripe-gradient-danger"
49
+ ]
43
50
  }
44
51
  };
45
52
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  user
3
- } from "../chunk-BJ6IKX32.mjs";
3
+ } from "../chunk-GMZHMFEU.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
- import "../chunk-3XVMTUU7.mjs";
6
- import "../chunk-BZCSOIUI.mjs";
7
- import "../chunk-N2KXC5ZE.mjs";
8
- import "../chunk-BYWORP66.mjs";
5
+ import "../chunk-GQT3YUX3.mjs";
6
+ import "../chunk-46U6G7UJ.mjs";
7
+ import "../chunk-UWE6H66T.mjs";
8
+ import "../chunk-GIXI35A3.mjs";
9
9
  import "../chunk-XHQUSKIE.mjs";
10
10
  export {
11
11
  user
package/dist/index.d.ts CHANGED
@@ -37,6 +37,8 @@ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './com
37
37
  export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.js';
38
38
  export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.js';
39
39
  export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.js';
40
+ export { AlertSlots, AlertVariantProps, alert } from './components/alert.js';
41
+ export { DrawerVariants, drawer } from './components/drawer.js';
40
42
  export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
41
43
  export { SlotsToClasses } from './utils/types.js';
42
44
  export { colorVariants } from './utils/variants.js';
@@ -52,6 +54,5 @@ export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './color
52
54
  export { commonColors } from './colors/common.js';
53
55
  export { semanticColors } from './colors/semantic.js';
54
56
  import 'tailwind-variants/dist/config';
55
- import 'tailwind-merge';
56
57
  import 'clsx';
57
58
  import 'tailwindcss/plugin.js';