@nextui-org/theme 2.2.11 → 2.3.0-beta.1

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-TA7PDZUG.mjs → chunk-2TAKWWRG.mjs} +1 -1
  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-KUKJUMC3.mjs → chunk-FB2NWPDB.mjs} +4 -4
  17. package/dist/{chunk-ARYJFX77.mjs → chunk-FJGKW3ZE.mjs} +10 -10
  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-22SLLLIZ.mjs → chunk-HNRFZTEX.mjs} +3 -3
  24. package/dist/{chunk-M3GQ3DWZ.mjs → chunk-HZ7J23VD.mjs} +6 -3
  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-JYFVXE5E.mjs → chunk-LVAEW6WR.mjs} +3 -3
  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-WGH4WKVU.mjs → chunk-QFGVVQRM.mjs} +2 -2
  37. package/dist/{chunk-XAYP4CR3.mjs → chunk-SC2SILVU.mjs} +2 -2
  38. package/dist/{chunk-QWWVIX6M.mjs → chunk-TNFNBUPA.mjs} +5 -4
  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 +8 -1
  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 +11 -4
  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 +10 -3
  77. package/dist/components/date-input.mjs +3 -3
  78. package/dist/components/date-picker.js +9 -2
  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 +367 -55
  93. package/dist/components/index.mjs +68 -60
  94. package/dist/components/input.d.ts +7 -0
  95. package/dist/components/input.js +12 -4
  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 +10 -3
  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 +13 -3
  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 +17 -10
  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 +392 -69
  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
package/dist/index.mjs CHANGED
@@ -1,157 +1,163 @@
1
- import "./chunk-UVXYPGDZ.mjs";
1
+ import "./chunk-MA4DKK64.mjs";
2
+ import {
3
+ spinner
4
+ } from "./chunk-DBPAK7QN.mjs";
5
+ import {
6
+ table
7
+ } from "./chunk-2ODFPLXN.mjs";
2
8
  import {
3
9
  tabs
4
- } from "./chunk-42JWJWWX.mjs";
10
+ } from "./chunk-KTTXIYK2.mjs";
5
11
  import {
6
12
  toggle
7
- } from "./chunk-ARYJFX77.mjs";
13
+ } from "./chunk-FJGKW3ZE.mjs";
8
14
  import {
9
15
  user
10
- } from "./chunk-BJ6IKX32.mjs";
16
+ } from "./chunk-GMZHMFEU.mjs";
17
+ import {
18
+ progress
19
+ } from "./chunk-IZOPFGDE.mjs";
20
+ import {
21
+ radio,
22
+ radioGroup
23
+ } from "./chunk-LVAEW6WR.mjs";
11
24
  import {
12
25
  scrollShadow
13
- } from "./chunk-EF6G67MF.mjs";
26
+ } from "./chunk-AN5I7NTT.mjs";
14
27
  import {
15
28
  select
16
- } from "./chunk-M3GQ3DWZ.mjs";
29
+ } from "./chunk-HZ7J23VD.mjs";
17
30
  import {
18
31
  skeleton
19
- } from "./chunk-UDSOWFZE.mjs";
32
+ } from "./chunk-OAHW4NON.mjs";
20
33
  import {
21
34
  slider
22
- } from "./chunk-JBKBSMXM.mjs";
35
+ } from "./chunk-7IYRK3EV.mjs";
23
36
  import {
24
37
  snippet
25
- } from "./chunk-XAYP4CR3.mjs";
38
+ } from "./chunk-SC2SILVU.mjs";
26
39
  import {
27
40
  spacer
28
- } from "./chunk-T2VR4T5R.mjs";
41
+ } from "./chunk-AKXXHKTO.mjs";
29
42
  import {
30
- spinner
31
- } from "./chunk-AXXUQWWC.mjs";
43
+ kbd
44
+ } from "./chunk-VX7HAPUO.mjs";
32
45
  import {
33
- table
34
- } from "./chunk-LSQXJEPE.mjs";
46
+ link,
47
+ linkAnchorClasses
48
+ } from "./chunk-IAHJC7C4.mjs";
35
49
  import "./chunk-YJLQTC7L.mjs";
36
50
  import {
37
51
  menu,
38
52
  menuItem,
39
53
  menuSection
40
- } from "./chunk-7YPXCOW5.mjs";
54
+ } from "./chunk-K6KPB2U5.mjs";
41
55
  import {
42
56
  modal
43
- } from "./chunk-P73E5YV7.mjs";
57
+ } from "./chunk-N67DL6BW.mjs";
44
58
  import {
45
59
  navbar
46
- } from "./chunk-3QYYLFUC.mjs";
60
+ } from "./chunk-UQZHSMVI.mjs";
47
61
  import {
48
62
  pagination
49
- } from "./chunk-63NMFZTF.mjs";
63
+ } from "./chunk-EGGHND3C.mjs";
50
64
  import {
51
65
  popover
52
- } from "./chunk-XL6AWNU3.mjs";
53
- import {
54
- progress
55
- } from "./chunk-2KK3SUMT.mjs";
66
+ } from "./chunk-HHK47K4W.mjs";
56
67
  import {
57
- radio,
58
- radioGroup
59
- } from "./chunk-JYFVXE5E.mjs";
68
+ datePicker,
69
+ dateRangePicker
70
+ } from "./chunk-QFGVVQRM.mjs";
60
71
  import {
61
72
  divider
62
- } from "./chunk-A2DU46QS.mjs";
73
+ } from "./chunk-AXSF7SRE.mjs";
74
+ import {
75
+ drawer
76
+ } from "./chunk-EP7KPCL3.mjs";
63
77
  import {
64
78
  drip
65
- } from "./chunk-V4SD44VK.mjs";
79
+ } from "./chunk-BWPOLXFL.mjs";
66
80
  import {
67
81
  dropdown,
68
82
  dropdownItem,
69
83
  dropdownMenu,
70
84
  dropdownSection
71
- } from "./chunk-GQDFLFNG.mjs";
85
+ } from "./chunk-EQPJSVMB.mjs";
72
86
  import {
73
87
  image
74
- } from "./chunk-U6G6SZ26.mjs";
88
+ } from "./chunk-TOQXZATI.mjs";
75
89
  import {
76
90
  input
77
- } from "./chunk-QWWVIX6M.mjs";
78
- import {
79
- kbd
80
- } from "./chunk-F4AOWB64.mjs";
91
+ } from "./chunk-TNFNBUPA.mjs";
81
92
  import {
82
- link,
83
- linkAnchorClasses
84
- } from "./chunk-C3SML4G4.mjs";
93
+ button,
94
+ buttonGroup
95
+ } from "./chunk-YRDDKYYT.mjs";
85
96
  import {
86
97
  calendar
87
- } from "./chunk-KPI62GDB.mjs";
98
+ } from "./chunk-VKSIQ7SR.mjs";
88
99
  import {
89
100
  card
90
- } from "./chunk-VLE2FQQR.mjs";
101
+ } from "./chunk-YLHKOIZS.mjs";
91
102
  import {
92
103
  checkbox,
93
104
  checkboxGroup
94
- } from "./chunk-KUKJUMC3.mjs";
105
+ } from "./chunk-FB2NWPDB.mjs";
95
106
  import {
96
107
  chip
97
- } from "./chunk-MP2JYSMR.mjs";
108
+ } from "./chunk-5VB7JNVX.mjs";
98
109
  import {
99
110
  circularProgress
100
- } from "./chunk-KPVV2V7V.mjs";
111
+ } from "./chunk-AUN4SP2F.mjs";
101
112
  import {
102
113
  code
103
- } from "./chunk-PWJWH4MD.mjs";
114
+ } from "./chunk-JE6SPRGQ.mjs";
104
115
  import {
105
116
  dateInput
106
- } from "./chunk-22SLLLIZ.mjs";
107
- import {
108
- datePicker,
109
- dateRangePicker
110
- } from "./chunk-WGH4WKVU.mjs";
117
+ } from "./chunk-HNRFZTEX.mjs";
111
118
  import {
112
119
  accordion,
113
120
  accordionItem
114
- } from "./chunk-MVG7GLBD.mjs";
121
+ } from "./chunk-HIFLYEAM.mjs";
122
+ import {
123
+ alert
124
+ } from "./chunk-3XDFZGUJ.mjs";
115
125
  import {
116
126
  autocomplete
117
- } from "./chunk-TA7PDZUG.mjs";
127
+ } from "./chunk-2TAKWWRG.mjs";
118
128
  import {
119
129
  avatar,
120
130
  avatarGroup
121
- } from "./chunk-R27WO3A6.mjs";
131
+ } from "./chunk-LWG2RR7B.mjs";
122
132
  import {
123
133
  badge
124
- } from "./chunk-QV3ALCMB.mjs";
134
+ } from "./chunk-XQI5RD6S.mjs";
125
135
  import {
126
136
  breadcrumbItem,
127
137
  breadcrumbs
128
- } from "./chunk-C43Y2OOL.mjs";
129
- import {
130
- button,
131
- buttonGroup
132
- } from "./chunk-XXQSA25O.mjs";
138
+ } from "./chunk-KZ2I3V4D.mjs";
133
139
  import "./chunk-IV3K5WDK.mjs";
134
- import {
135
- cn
136
- } from "./chunk-3XVMTUU7.mjs";
137
140
  import {
138
141
  colorVariants
139
- } from "./chunk-BZCSOIUI.mjs";
142
+ } from "./chunk-GQT3YUX3.mjs";
143
+ import {
144
+ cn
145
+ } from "./chunk-46U6G7UJ.mjs";
140
146
  import {
141
147
  tv
142
- } from "./chunk-N2KXC5ZE.mjs";
148
+ } from "./chunk-UWE6H66T.mjs";
143
149
  import {
144
150
  COMMON_UNITS,
145
151
  twMergeConfig
146
- } from "./chunk-BYWORP66.mjs";
152
+ } from "./chunk-GIXI35A3.mjs";
147
153
  import {
148
154
  nextui
149
- } from "./chunk-JFWA3DGK.mjs";
155
+ } from "./chunk-LCMN7HGG.mjs";
150
156
  import "./chunk-D2XMP2NC.mjs";
151
- import "./chunk-3LD7T42T.mjs";
152
- import "./chunk-DI2L75XK.mjs";
153
- import "./chunk-4Z22WXZX.mjs";
157
+ import "./chunk-XZMJGJQX.mjs";
154
158
  import "./chunk-WN6AL2BX.mjs";
159
+ import "./chunk-W5UU3F46.mjs";
160
+ import "./chunk-4Z22WXZX.mjs";
155
161
  import {
156
162
  absoluteFullClasses,
157
163
  baseStyles,
@@ -194,6 +200,7 @@ export {
194
200
  absoluteFullClasses,
195
201
  accordion,
196
202
  accordionItem,
203
+ alert,
197
204
  autocomplete,
198
205
  avatar,
199
206
  avatarGroup,
@@ -222,6 +229,7 @@ export {
222
229
  dateRangePicker,
223
230
  defaultLayout,
224
231
  divider,
232
+ drawer,
225
233
  drip,
226
234
  dropdown,
227
235
  dropdownItem,
package/dist/plugin.js CHANGED
@@ -31,12 +31,8 @@ __export(plugin_exports, {
31
31
  module.exports = __toCommonJS(plugin_exports);
32
32
  var import_color = __toESM(require("color"));
33
33
  var import_plugin = __toESM(require("tailwindcss/plugin.js"));
34
- var import_lodash = __toESM(require("lodash.get"));
35
- var import_lodash2 = __toESM(require("lodash.omit"));
36
- var import_lodash3 = __toESM(require("lodash.foreach"));
37
- var import_lodash4 = __toESM(require("lodash.mapkeys"));
38
- var import_lodash5 = __toESM(require("lodash.kebabcase"));
39
34
  var import_deepmerge = __toESM(require("deepmerge"));
35
+ var import_shared_utils = require("@nextui-org/shared-utils");
40
36
 
41
37
  // src/colors/blue.ts
42
38
  var blue = {
@@ -493,6 +489,11 @@ var custom_default = {
493
489
  },
494
490
  ".tap-highlight-transparent": {
495
491
  "-webkit-tap-highlight-color": "transparent"
492
+ },
493
+ ".input-search-cancel-button-none": {
494
+ "&::-webkit-search-cancel-button": {
495
+ "-webkit-appearance": "none"
496
+ }
496
497
  }
497
498
  };
498
499
 
@@ -593,7 +594,7 @@ var resolveConfig = (themes = {}, defaultTheme, prefix) => {
593
594
  "color-scheme": scheme
594
595
  } : {};
595
596
  const flatColors = flattenThemeObject(colors2);
596
- const flatLayout = layout ? (0, import_lodash4.default)(layout, (value, key) => (0, import_lodash5.default)(key)) : {};
597
+ const flatLayout = layout ? (0, import_shared_utils.mapKeys)(layout, (_, key) => (0, import_shared_utils.kebabCase)(key)) : {};
597
598
  resolved.variants.push({
598
599
  name: themeName,
599
600
  definition: [`&.${themeName}`, `&[data-theme='${themeName}']`]
@@ -643,6 +644,7 @@ var resolveConfig = (themes = {}, defaultTheme, prefix) => {
643
644
  };
644
645
  var corePlugin = (themes = {}, defaultTheme, prefix, addCommonColors) => {
645
646
  const resolved = resolveConfig(themes, defaultTheme, prefix);
647
+ const createStripeGradient = (stripeColor, backgroundColor) => `linear-gradient(45deg, hsl(var(--${prefix}-${stripeColor})) 25%, hsl(var(--${prefix}-${backgroundColor})) 25%, hsl(var(--${prefix}-${backgroundColor})) 50%, hsl(var(--${prefix}-${stripeColor})) 50%, hsl(var(--${prefix}-${stripeColor})) 75%, hsl(var(--${prefix}-${backgroundColor})) 75%, hsl(var(--${prefix}-${backgroundColor})))`;
646
648
  return (0, import_plugin.default)(
647
649
  ({ addBase, addUtilities, addVariant }) => {
648
650
  addBase({
@@ -701,8 +703,16 @@ var corePlugin = (themes = {}, defaultTheme, prefix, addCommonColors) => {
701
703
  medium: `var(--${prefix}-box-shadow-medium)`,
702
704
  large: `var(--${prefix}-box-shadow-large)`
703
705
  },
706
+ backgroundSize: {
707
+ "stripe-size": "1.25rem 1.25rem"
708
+ },
704
709
  backgroundImage: {
705
- "stripe-gradient": "linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent)"
710
+ "stripe-gradient-default": createStripeGradient("default-200", "default-400"),
711
+ "stripe-gradient-primary": createStripeGradient("primary-200", "primary"),
712
+ "stripe-gradient-secondary": createStripeGradient("secondary-200", "secondary"),
713
+ "stripe-gradient-success": createStripeGradient("success-200", "success"),
714
+ "stripe-gradient-warning": createStripeGradient("warning-200", "warning"),
715
+ "stripe-gradient-danger": createStripeGradient("danger-200", "danger")
706
716
  },
707
717
  transitionDuration: {
708
718
  0: "0ms",
@@ -720,6 +730,7 @@ var corePlugin = (themes = {}, defaultTheme, prefix, addCommonColors) => {
720
730
  );
721
731
  };
722
732
  var nextui = (config = {}) => {
733
+ var _a, _b, _c, _d;
723
734
  const {
724
735
  themes: themeObject = {},
725
736
  defaultTheme = "light",
@@ -728,8 +739,8 @@ var nextui = (config = {}) => {
728
739
  prefix: defaultPrefix = DEFAULT_PREFIX,
729
740
  addCommonColors = false
730
741
  } = config;
731
- const userLightColors = (0, import_lodash.default)(themeObject, "light.colors", {});
732
- const userDarkColors = (0, import_lodash.default)(themeObject, "dark.colors", {});
742
+ const userLightColors = ((_a = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _a.colors) || {};
743
+ const userDarkColors = ((_b = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _b.colors) || {};
733
744
  const defaultLayoutObj = userLayout && typeof userLayout === "object" ? (0, import_deepmerge.default)(defaultLayout, userLayout) : defaultLayout;
734
745
  const baseLayouts = {
735
746
  light: {
@@ -741,8 +752,8 @@ var nextui = (config = {}) => {
741
752
  ...darkLayout
742
753
  }
743
754
  };
744
- let otherThemes = (0, import_lodash2.default)(themeObject, ["light", "dark"]) || {};
745
- (0, import_lodash3.default)(otherThemes, ({ extend, colors: colors2, layout }, themeName) => {
755
+ let otherThemes = (0, import_shared_utils.omit)(themeObject, ["light", "dark"]) || {};
756
+ Object.entries(otherThemes).forEach(([themeName, { extend, colors: colors2, layout }]) => {
746
757
  const baseTheme = extend && isBaseTheme(extend) ? extend : defaultExtendTheme;
747
758
  if (colors2 && typeof colors2 === "object") {
748
759
  otherThemes[themeName].colors = (0, import_deepmerge.default)(semanticColors[baseTheme], colors2);
@@ -755,11 +766,11 @@ var nextui = (config = {}) => {
755
766
  }
756
767
  });
757
768
  const light = {
758
- layout: (0, import_deepmerge.default)(baseLayouts.light, (0, import_lodash.default)(themeObject, "light.layout", {})),
769
+ layout: (0, import_deepmerge.default)(baseLayouts.light, ((_c = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _c.layout) || {}),
759
770
  colors: (0, import_deepmerge.default)(semanticColors.light, userLightColors)
760
771
  };
761
772
  const dark = {
762
- layout: (0, import_deepmerge.default)(baseLayouts.dark, (0, import_lodash.default)(themeObject, "dark.layout", {})),
773
+ layout: (0, import_deepmerge.default)(baseLayouts.dark, ((_d = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _d.layout) || {}),
763
774
  colors: (0, import_deepmerge.default)(semanticColors.dark, userDarkColors)
764
775
  };
765
776
  const themes = {
package/dist/plugin.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  nextui
3
- } from "./chunk-JFWA3DGK.mjs";
3
+ } from "./chunk-LCMN7HGG.mjs";
4
4
  import "./chunk-D2XMP2NC.mjs";
5
- import "./chunk-3LD7T42T.mjs";
6
- import "./chunk-DI2L75XK.mjs";
7
- import "./chunk-4Z22WXZX.mjs";
5
+ import "./chunk-XZMJGJQX.mjs";
8
6
  import "./chunk-WN6AL2BX.mjs";
7
+ import "./chunk-W5UU3F46.mjs";
8
+ import "./chunk-4Z22WXZX.mjs";
9
9
  import "./chunk-XHQUSKIE.mjs";
10
10
  import "./chunk-WQEDQHKX.mjs";
11
11
  import "./chunk-QZTWGJ72.mjs";
@@ -17,6 +17,11 @@ declare const _default: {
17
17
  ".tap-highlight-transparent": {
18
18
  "-webkit-tap-highlight-color": string;
19
19
  };
20
+ ".input-search-cancel-button-none": {
21
+ "&::-webkit-search-cancel-button": {
22
+ "-webkit-appearance": string;
23
+ };
24
+ };
20
25
  };
21
26
 
22
27
  export { _default as default };
@@ -38,6 +38,11 @@ var custom_default = {
38
38
  },
39
39
  ".tap-highlight-transparent": {
40
40
  "-webkit-tap-highlight-color": "transparent"
41
+ },
42
+ ".input-search-cancel-button-none": {
43
+ "&::-webkit-search-cancel-button": {
44
+ "-webkit-appearance": "none"
45
+ }
41
46
  }
42
47
  };
43
48
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  custom_default
3
- } from "../chunk-DI2L75XK.mjs";
3
+ } from "../chunk-W5UU3F46.mjs";
4
4
  export {
5
5
  custom_default as default
6
6
  };
@@ -78,6 +78,11 @@ declare const utilities: {
78
78
  ".tap-highlight-transparent": {
79
79
  "-webkit-tap-highlight-color": string;
80
80
  };
81
+ ".input-search-cancel-button-none": {
82
+ "&::-webkit-search-cancel-button": {
83
+ "-webkit-appearance": string;
84
+ };
85
+ };
81
86
  };
82
87
 
83
88
  export { utilities };
@@ -95,6 +95,11 @@ var custom_default = {
95
95
  },
96
96
  ".tap-highlight-transparent": {
97
97
  "-webkit-tap-highlight-color": "transparent"
98
+ },
99
+ ".input-search-cancel-button-none": {
100
+ "&::-webkit-search-cancel-button": {
101
+ "-webkit-appearance": "none"
102
+ }
98
103
  }
99
104
  };
100
105
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  utilities
3
- } from "../chunk-3LD7T42T.mjs";
4
- import "../chunk-DI2L75XK.mjs";
5
- import "../chunk-4Z22WXZX.mjs";
3
+ } from "../chunk-XZMJGJQX.mjs";
6
4
  import "../chunk-WN6AL2BX.mjs";
5
+ import "../chunk-W5UU3F46.mjs";
6
+ import "../chunk-4Z22WXZX.mjs";
7
7
  export {
8
8
  utilities
9
9
  };
package/dist/utils/cn.js CHANGED
@@ -44,12 +44,19 @@ var twMergeConfig = {
44
44
  classGroups: {
45
45
  shadow: [{ shadow: COMMON_UNITS }],
46
46
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
47
- "bg-image": ["bg-stripe-gradient"]
47
+ "bg-image": [
48
+ "bg-stripe-gradient-default",
49
+ "bg-stripe-gradient-primary",
50
+ "bg-stripe-gradient-secondary",
51
+ "bg-stripe-gradient-success",
52
+ "bg-stripe-gradient-warning",
53
+ "bg-stripe-gradient-danger"
54
+ ]
48
55
  }
49
56
  };
50
57
 
51
58
  // src/utils/cn.ts
52
- var twMerge = (0, import_tailwind_merge.extendTailwindMerge)(twMergeConfig);
59
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({ extend: twMergeConfig });
53
60
  function cn(...inputs) {
54
61
  return twMerge((0, import_clsx.default)(inputs));
55
62
  }
package/dist/utils/cn.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  cn
3
- } from "../chunk-3XVMTUU7.mjs";
4
- import "../chunk-BYWORP66.mjs";
3
+ } from "../chunk-46U6G7UJ.mjs";
4
+ import "../chunk-GIXI35A3.mjs";
5
5
  export {
6
6
  cn
7
7
  };
@@ -4,5 +4,4 @@ export { colorVariants } from './variants.js';
4
4
  export { COMMON_UNITS, twMergeConfig } from './tw-merge-config.js';
5
5
  export { cn } from './cn.js';
6
6
  import 'tailwind-variants';
7
- import 'tailwind-merge';
8
7
  import 'clsx';
@@ -121,11 +121,11 @@ var bordered = {
121
121
  };
122
122
  var flat = {
123
123
  default: "bg-default/40 text-default-700",
124
- primary: "bg-primary/20 text-primary-700",
125
- secondary: "bg-secondary/20 text-secondary-700",
126
- success: "bg-success/20 text-success-800 dark:text-success",
127
- warning: "bg-warning/20 text-warning-800 dark:text-warning",
128
- danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
124
+ primary: "bg-primary/20 text-primary-600",
125
+ secondary: "bg-secondary/20 text-secondary-600",
126
+ success: "bg-success/20 text-success-700 dark:text-success",
127
+ warning: "bg-warning/20 text-warning-700 dark:text-warning",
128
+ danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
129
129
  foreground: "bg-foreground/10 text-foreground"
130
130
  };
131
131
  var faded = {
@@ -177,14 +177,21 @@ var twMergeConfig = {
177
177
  classGroups: {
178
178
  shadow: [{ shadow: COMMON_UNITS }],
179
179
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
180
- "bg-image": ["bg-stripe-gradient"]
180
+ "bg-image": [
181
+ "bg-stripe-gradient-default",
182
+ "bg-stripe-gradient-primary",
183
+ "bg-stripe-gradient-secondary",
184
+ "bg-stripe-gradient-success",
185
+ "bg-stripe-gradient-warning",
186
+ "bg-stripe-gradient-danger"
187
+ ]
181
188
  }
182
189
  };
183
190
 
184
191
  // src/utils/cn.ts
185
192
  var import_clsx = __toESM(require("clsx"));
186
193
  var import_tailwind_merge = require("tailwind-merge");
187
- var twMerge = (0, import_tailwind_merge.extendTailwindMerge)(twMergeConfig);
194
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({ extend: twMergeConfig });
188
195
  function cn(...inputs) {
189
196
  return twMerge((0, import_clsx.default)(inputs));
190
197
  }
@@ -1,14 +1,14 @@
1
1
  import "../chunk-IV3K5WDK.mjs";
2
- import {
3
- cn
4
- } from "../chunk-3XVMTUU7.mjs";
5
2
  import {
6
3
  colorVariants
7
- } from "../chunk-BZCSOIUI.mjs";
4
+ } from "../chunk-GQT3YUX3.mjs";
5
+ import {
6
+ cn
7
+ } from "../chunk-46U6G7UJ.mjs";
8
8
  import {
9
9
  COMMON_UNITS,
10
10
  twMergeConfig
11
- } from "../chunk-BYWORP66.mjs";
11
+ } from "../chunk-GIXI35A3.mjs";
12
12
  import {
13
13
  absoluteFullClasses,
14
14
  baseStyles,
package/dist/utils/tv.js CHANGED
@@ -37,7 +37,14 @@ var twMergeConfig = {
37
37
  classGroups: {
38
38
  shadow: [{ shadow: COMMON_UNITS }],
39
39
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
40
- "bg-image": ["bg-stripe-gradient"]
40
+ "bg-image": [
41
+ "bg-stripe-gradient-default",
42
+ "bg-stripe-gradient-primary",
43
+ "bg-stripe-gradient-secondary",
44
+ "bg-stripe-gradient-success",
45
+ "bg-stripe-gradient-warning",
46
+ "bg-stripe-gradient-danger"
47
+ ]
41
48
  }
42
49
  };
43
50
 
package/dist/utils/tv.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tv
3
- } from "../chunk-N2KXC5ZE.mjs";
4
- import "../chunk-BYWORP66.mjs";
3
+ } from "../chunk-UWE6H66T.mjs";
4
+ import "../chunk-GIXI35A3.mjs";
5
5
  export {
6
6
  tv
7
7
  };
@@ -1,6 +1,20 @@
1
- import { Config } from 'tailwind-merge';
2
-
3
1
  declare const COMMON_UNITS: string[];
4
- declare const twMergeConfig: Partial<Config>;
2
+ declare const twMergeConfig: {
3
+ theme: {
4
+ opacity: string[];
5
+ spacing: string[];
6
+ borderWidth: string[];
7
+ borderRadius: string[];
8
+ };
9
+ classGroups: {
10
+ shadow: {
11
+ shadow: string[];
12
+ }[];
13
+ "font-size": {
14
+ text: string[];
15
+ }[];
16
+ "bg-image": string[];
17
+ };
18
+ };
5
19
 
6
20
  export { COMMON_UNITS, twMergeConfig };
@@ -35,7 +35,14 @@ var twMergeConfig = {
35
35
  classGroups: {
36
36
  shadow: [{ shadow: COMMON_UNITS }],
37
37
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
38
- "bg-image": ["bg-stripe-gradient"]
38
+ "bg-image": [
39
+ "bg-stripe-gradient-default",
40
+ "bg-stripe-gradient-primary",
41
+ "bg-stripe-gradient-secondary",
42
+ "bg-stripe-gradient-success",
43
+ "bg-stripe-gradient-warning",
44
+ "bg-stripe-gradient-danger"
45
+ ]
39
46
  }
40
47
  };
41
48
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  COMMON_UNITS,
3
3
  twMergeConfig
4
- } from "../chunk-BYWORP66.mjs";
4
+ } from "../chunk-GIXI35A3.mjs";
5
5
  export {
6
6
  COMMON_UNITS,
7
7
  twMergeConfig
@@ -52,11 +52,11 @@ var bordered = {
52
52
  };
53
53
  var flat = {
54
54
  default: "bg-default/40 text-default-700",
55
- primary: "bg-primary/20 text-primary-700",
56
- secondary: "bg-secondary/20 text-secondary-700",
57
- success: "bg-success/20 text-success-800 dark:text-success",
58
- warning: "bg-warning/20 text-warning-800 dark:text-warning",
59
- danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
55
+ primary: "bg-primary/20 text-primary-600",
56
+ secondary: "bg-secondary/20 text-secondary-600",
57
+ success: "bg-success/20 text-success-700 dark:text-success",
58
+ warning: "bg-warning/20 text-warning-700 dark:text-warning",
59
+ danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
60
60
  foreground: "bg-foreground/10 text-foreground"
61
61
  };
62
62
  var faded = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "../chunk-BZCSOIUI.mjs";
3
+ } from "../chunk-GQT3YUX3.mjs";
4
4
  export {
5
5
  colorVariants
6
6
  };