@nextui-org/theme 2.1.9 → 2.1.11

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 (162) hide show
  1. package/dist/{chunk-77O7KLUI.mjs → chunk-362LGETO.mjs} +1 -1
  2. package/dist/{chunk-23KK2ZAZ.mjs → chunk-5GLH2ERS.mjs} +2 -2
  3. package/dist/{chunk-F76574GG.mjs → chunk-6RI6HHSE.mjs} +126 -46
  4. package/dist/{chunk-RYOZQSNI.mjs → chunk-6XG3Y4GM.mjs} +12 -7
  5. package/dist/chunk-76A2UI6G.mjs +243 -0
  6. package/dist/chunk-AQDGQGUV.mjs +391 -0
  7. package/dist/{chunk-NAY2XKLY.mjs → chunk-B6QMTIF2.mjs} +1 -1
  8. package/dist/{chunk-LGRQRHJJ.mjs → chunk-BR6V72YY.mjs} +6 -3
  9. package/dist/{chunk-5VJPQADB.mjs → chunk-CLW3JMFF.mjs} +2 -2
  10. package/dist/{chunk-NW5W5ANO.mjs → chunk-DGMET46Q.mjs} +4 -3
  11. package/dist/{chunk-WBNF66V7.mjs → chunk-F36W5Y6O.mjs} +1 -1
  12. package/dist/{chunk-GNLIYZAQ.mjs → chunk-FUMNSN2H.mjs} +1 -1
  13. package/dist/{chunk-KPK2JQIF.mjs → chunk-G3PB7L4N.mjs} +10 -0
  14. package/dist/{chunk-4DKVPW5Z.mjs → chunk-HBLCAYSX.mjs} +2 -2
  15. package/dist/{chunk-XPLXQDB3.mjs → chunk-HYA3WURA.mjs} +1 -1
  16. package/dist/{chunk-UHF2F2WJ.mjs → chunk-I5E37FAL.mjs} +4 -4
  17. package/dist/{chunk-RPMLQF4Y.mjs → chunk-J6EGGODL.mjs} +5 -5
  18. package/dist/{chunk-XY766PDD.mjs → chunk-J7FVLFSZ.mjs} +1 -1
  19. package/dist/{chunk-GKYVNUGL.mjs → chunk-JMOQB2OS.mjs} +3 -3
  20. package/dist/{chunk-EUS2SEYI.mjs → chunk-JX6O4KJS.mjs} +2 -2
  21. package/dist/{chunk-PJV3MWBL.mjs → chunk-KNUJMWVH.mjs} +185 -52
  22. package/dist/{chunk-YSXRNNDV.mjs → chunk-N7N2LONM.mjs} +1 -1
  23. package/dist/{chunk-RHIZZ5XX.mjs → chunk-ODGTGSNM.mjs} +2 -2
  24. package/dist/{chunk-EC4F6RJF.mjs → chunk-PFGLTKGJ.mjs} +1 -1
  25. package/dist/{chunk-FZZINZOQ.mjs → chunk-QF56VSRK.mjs} +23 -6
  26. package/dist/{chunk-YKWIBFFV.mjs → chunk-QWYWYOG6.mjs} +18 -4
  27. package/dist/{chunk-Y32IWEMZ.mjs → chunk-S7W5DQP2.mjs} +3 -3
  28. package/dist/{chunk-TIMHSW45.mjs → chunk-TUUOVVH3.mjs} +2 -2
  29. package/dist/{chunk-B55QBA5E.mjs → chunk-VD4MGTVP.mjs} +1 -1
  30. package/dist/{chunk-4JBYJQSP.mjs → chunk-VGHVBXXT.mjs} +1 -1
  31. package/dist/{chunk-WM43BKYH.mjs → chunk-VOTIIGIW.mjs} +3 -3
  32. package/dist/{chunk-O24TFHPZ.mjs → chunk-VPYXYIZ5.mjs} +2 -2
  33. package/dist/{chunk-ADNJ6GPZ.mjs → chunk-VU5TSYMO.mjs} +2 -2
  34. package/dist/{chunk-7MCHEQXT.mjs → chunk-VZI6SR6H.mjs} +4 -1
  35. package/dist/chunk-WBUVHAJX.mjs +37 -0
  36. package/dist/chunk-WHT6K6RC.mjs +58 -0
  37. package/dist/chunk-WNVF6X3M.mjs +171 -0
  38. package/dist/{chunk-EQIZ7W7V.mjs → chunk-WYVG7NY6.mjs} +3 -3
  39. package/dist/{chunk-LQGOKGQV.mjs → chunk-XHQNEGB6.mjs} +1 -1
  40. package/dist/{chunk-T7JNS25F.mjs → chunk-XHQUSKIE.mjs} +10 -1
  41. package/dist/{chunk-MOHT4OBR.mjs → chunk-XNF3KCH7.mjs} +2 -2
  42. package/dist/{chunk-XJU7LDVX.mjs → chunk-Y5WLFHBC.mjs} +74 -9
  43. package/dist/{chunk-XCWQAA5D.mjs → chunk-YRDQW7V4.mjs} +5 -5
  44. package/dist/components/accordion.js +27 -34
  45. package/dist/components/accordion.mjs +3 -3
  46. package/dist/components/autocomplete.d.ts +180 -0
  47. package/dist/components/autocomplete.js +165 -0
  48. package/dist/components/autocomplete.mjs +8 -0
  49. package/dist/components/avatar.js +28 -35
  50. package/dist/components/avatar.mjs +3 -3
  51. package/dist/components/badge.d.ts +7 -7
  52. package/dist/components/badge.js +29 -36
  53. package/dist/components/badge.mjs +3 -3
  54. package/dist/components/breadcrumbs.d.ts +816 -0
  55. package/dist/components/breadcrumbs.js +357 -0
  56. package/dist/components/breadcrumbs.mjs +14 -0
  57. package/dist/components/button.d.ts +7 -7
  58. package/dist/components/button.js +104 -39
  59. package/dist/components/button.mjs +3 -3
  60. package/dist/components/card.js +26 -33
  61. package/dist/components/card.mjs +3 -3
  62. package/dist/components/checkbox.js +25 -32
  63. package/dist/components/checkbox.mjs +3 -3
  64. package/dist/components/chip.js +26 -33
  65. package/dist/components/chip.mjs +3 -3
  66. package/dist/components/circular-progress.js +25 -32
  67. package/dist/components/circular-progress.mjs +2 -2
  68. package/dist/components/code.js +25 -32
  69. package/dist/components/code.mjs +3 -3
  70. package/dist/components/divider.js +25 -32
  71. package/dist/components/divider.mjs +2 -2
  72. package/dist/components/drip.d.ts +29 -3
  73. package/dist/components/drip.js +25 -32
  74. package/dist/components/drip.mjs +2 -2
  75. package/dist/components/dropdown.d.ts +103 -35
  76. package/dist/components/dropdown.js +25 -32
  77. package/dist/components/dropdown.mjs +3 -3
  78. package/dist/components/image.js +25 -32
  79. package/dist/components/image.mjs +2 -2
  80. package/dist/components/index.d.ts +4 -1
  81. package/dist/components/index.js +1213 -218
  82. package/dist/components/index.mjs +62 -48
  83. package/dist/components/input.d.ts +37 -44
  84. package/dist/components/input.js +208 -82
  85. package/dist/components/input.mjs +3 -3
  86. package/dist/components/kbd.js +25 -32
  87. package/dist/components/kbd.mjs +2 -2
  88. package/dist/components/link.js +25 -32
  89. package/dist/components/link.mjs +3 -3
  90. package/dist/components/listbox.d.ts +1 -1
  91. package/dist/components/listbox.js +41 -34
  92. package/dist/components/listbox.mjs +3 -3
  93. package/dist/components/menu.d.ts +119 -40
  94. package/dist/components/menu.js +41 -34
  95. package/dist/components/menu.mjs +3 -3
  96. package/dist/components/modal.js +25 -32
  97. package/dist/components/modal.mjs +3 -3
  98. package/dist/components/navbar.js +29 -33
  99. package/dist/components/navbar.mjs +3 -3
  100. package/dist/components/pagination.js +46 -36
  101. package/dist/components/pagination.mjs +3 -3
  102. package/dist/components/popover.d.ts +136 -132
  103. package/dist/components/popover.js +98 -94
  104. package/dist/components/popover.mjs +3 -3
  105. package/dist/components/progress.js +25 -32
  106. package/dist/components/progress.mjs +2 -2
  107. package/dist/components/radio.js +26 -33
  108. package/dist/components/radio.mjs +3 -3
  109. package/dist/components/scroll-shadow.js +25 -32
  110. package/dist/components/scroll-shadow.mjs +2 -2
  111. package/dist/components/select.d.ts +40 -54
  112. package/dist/components/select.js +149 -76
  113. package/dist/components/select.mjs +3 -3
  114. package/dist/components/skeleton.js +26 -33
  115. package/dist/components/skeleton.mjs +2 -2
  116. package/dist/components/slider.d.ts +1024 -0
  117. package/dist/components/slider.js +504 -0
  118. package/dist/components/slider.mjs +12 -0
  119. package/dist/components/snippet.js +25 -32
  120. package/dist/components/snippet.mjs +3 -3
  121. package/dist/components/spacer.js +25 -32
  122. package/dist/components/spacer.mjs +2 -2
  123. package/dist/components/spinner.js +25 -32
  124. package/dist/components/spinner.mjs +2 -2
  125. package/dist/components/table.js +25 -32
  126. package/dist/components/table.mjs +3 -3
  127. package/dist/components/tabs.js +25 -32
  128. package/dist/components/tabs.mjs +3 -3
  129. package/dist/components/toggle.js +25 -32
  130. package/dist/components/toggle.mjs +3 -3
  131. package/dist/components/user.d.ts +45 -29
  132. package/dist/components/user.js +25 -32
  133. package/dist/components/user.mjs +3 -3
  134. package/dist/default-layout.js +4 -1
  135. package/dist/default-layout.mjs +1 -1
  136. package/dist/index.d.ts +5 -2
  137. package/dist/index.js +1403 -387
  138. package/dist/index.mjs +69 -53
  139. package/dist/plugin.js +24 -5
  140. package/dist/plugin.mjs +6 -6
  141. package/dist/types.d.ts +8 -0
  142. package/dist/utilities/index.d.ts +10 -0
  143. package/dist/utilities/index.js +10 -0
  144. package/dist/utilities/index.mjs +2 -2
  145. package/dist/utilities/transition.d.ts +10 -0
  146. package/dist/utilities/transition.js +10 -0
  147. package/dist/utilities/transition.mjs +1 -1
  148. package/dist/utils/classes.d.ts +13 -1
  149. package/dist/utils/classes.js +10 -0
  150. package/dist/utils/classes.mjs +3 -1
  151. package/dist/utils/index.d.ts +1 -1
  152. package/dist/utils/index.js +10 -0
  153. package/dist/utils/index.mjs +3 -1
  154. package/dist/utils/theme.js +4 -3
  155. package/dist/utils/theme.mjs +1 -1
  156. package/dist/utils/tv.d.ts +2 -2
  157. package/dist/utils/tv.js +25 -32
  158. package/dist/utils/tv.mjs +1 -1
  159. package/package.json +9 -9
  160. package/dist/chunk-6AEINX52.mjs +0 -44
  161. package/dist/chunk-SN5GEHHN.mjs +0 -160
  162. /package/dist/{chunk-RH7YHIQY.mjs → chunk-T6HAGWX5.mjs} +0 -0
@@ -84,39 +84,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
84
84
 
85
85
  // src/utils/tv.ts
86
86
  var COMMON_UNITS = ["small", "medium", "large"];
87
- var tv = (options, config) => {
88
- var _a, _b, _c;
89
- return (0, import_tailwind_variants.tv)(options, {
90
- ...config,
91
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
92
- twMergeConfig: {
93
- ...config == null ? void 0 : config.twMergeConfig,
94
- theme: {
95
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
96
- opacity: ["disabled"],
97
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
98
- borderWidth: COMMON_UNITS,
99
- borderRadius: COMMON_UNITS
100
- },
101
- classGroups: {
102
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
103
- shadow: [{ shadow: COMMON_UNITS }],
104
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
105
- "bg-image": ["bg-stripe-gradient"],
106
- "min-w": [
107
- {
108
- "min-w": ["unit", ...mappedSpacingScaleKeys]
109
- }
110
- ],
111
- "min-h": [
112
- {
113
- "min-h": ["unit", ...mappedSpacingScaleKeys]
114
- }
115
- ]
116
- }
87
+ var tv = (0, import_tailwind_variants.createTV)({
88
+ twMerge: true,
89
+ twMergeConfig: {
90
+ theme: {
91
+ opacity: ["disabled"],
92
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
93
+ borderWidth: COMMON_UNITS,
94
+ borderRadius: COMMON_UNITS
95
+ },
96
+ classGroups: {
97
+ shadow: [{ shadow: COMMON_UNITS }],
98
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
99
+ "bg-image": ["bg-stripe-gradient"],
100
+ "min-w": [
101
+ {
102
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
103
+ }
104
+ ],
105
+ "min-h": [
106
+ {
107
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
108
+ }
109
+ ]
117
110
  }
118
- });
119
- };
111
+ }
112
+ });
120
113
 
121
114
  // src/utils/classes.ts
122
115
  var dataFocusVisibleClasses = [
@@ -129,7 +122,19 @@ var dataFocusVisibleClasses = [
129
122
 
130
123
  // src/components/menu.ts
131
124
  var menu = tv({
132
- base: "w-full flex flex-col gap-0.5 p-1 outline-none"
125
+ slots: {
126
+ base: "w-full relative flex flex-col gap-1 p-1",
127
+ list: "w-full flex flex-col gap-0.5 outline-none",
128
+ emptyContent: [
129
+ "h-10",
130
+ "px-2",
131
+ "py-1.5",
132
+ "w-full",
133
+ "h-full",
134
+ "text-foreground-400",
135
+ "text-start"
136
+ ]
137
+ }
133
138
  });
134
139
  var menuItem = tv({
135
140
  slots: {
@@ -223,7 +228,9 @@ var menuItem = tv({
223
228
  },
224
229
  disableAnimation: {
225
230
  true: {},
226
- false: {}
231
+ false: {
232
+ base: "data-[hover=true]:transition-colors"
233
+ }
227
234
  }
228
235
  },
229
236
  defaultVariants: {
@@ -3,12 +3,12 @@ import {
3
3
  menu,
4
4
  menuItem,
5
5
  menuSection
6
- } from "../chunk-YKWIBFFV.mjs";
6
+ } from "../chunk-QWYWYOG6.mjs";
7
7
  import "../chunk-CMYR6AOY.mjs";
8
8
  import "../chunk-K7LK7NCE.mjs";
9
9
  import "../chunk-2PIR7DFM.mjs";
10
- import "../chunk-6AEINX52.mjs";
11
- import "../chunk-T7JNS25F.mjs";
10
+ import "../chunk-WBUVHAJX.mjs";
11
+ import "../chunk-XHQUSKIE.mjs";
12
12
  import "../chunk-WA5F6AED.mjs";
13
13
  export {
14
14
  menu as listbox,
@@ -8,11 +8,59 @@ import { VariantProps } from 'tailwind-variants';
8
8
  * const classNames = menu({...})
9
9
 
10
10
  */
11
- declare const menu: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {
11
+ declare const menu: tailwind_variants.TVReturnType<{
12
+ [key: string]: {
13
+ [key: string]: tailwind_variants.ClassValue | {
14
+ base?: tailwind_variants.ClassValue;
15
+ list?: tailwind_variants.ClassValue;
16
+ emptyContent?: tailwind_variants.ClassValue;
17
+ };
18
+ };
19
+ } | {
12
20
  [x: string]: {
13
- [x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none">;
21
+ [x: string]: tailwind_variants.ClassValue | {
22
+ base?: tailwind_variants.ClassValue;
23
+ list?: tailwind_variants.ClassValue;
24
+ emptyContent?: tailwind_variants.ClassValue;
25
+ };
14
26
  } | undefined;
15
- } | {}, undefined, "w-full flex flex-col gap-0.5 p-1 outline-none", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}>, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1 outline-none", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}>, unknown, unknown, undefined>>;
27
+ } | {}, {
28
+ base: string;
29
+ list: string;
30
+ emptyContent: string[];
31
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
32
+ [key: string]: {
33
+ [key: string]: tailwind_variants.ClassValue | {
34
+ base?: tailwind_variants.ClassValue;
35
+ list?: tailwind_variants.ClassValue;
36
+ emptyContent?: tailwind_variants.ClassValue;
37
+ };
38
+ };
39
+ } | {}>, {
40
+ [key: string]: {
41
+ [key: string]: tailwind_variants.ClassValue | {
42
+ base?: tailwind_variants.ClassValue;
43
+ list?: tailwind_variants.ClassValue;
44
+ emptyContent?: tailwind_variants.ClassValue;
45
+ };
46
+ };
47
+ } | {}, {
48
+ base: string;
49
+ list: string;
50
+ emptyContent: string[];
51
+ }, tailwind_variants.TVReturnType<unknown, {
52
+ base: string;
53
+ list: string;
54
+ emptyContent: string[];
55
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
56
+ [key: string]: {
57
+ [key: string]: tailwind_variants.ClassValue | {
58
+ base?: tailwind_variants.ClassValue;
59
+ list?: tailwind_variants.ClassValue;
60
+ emptyContent?: tailwind_variants.ClassValue;
61
+ };
62
+ };
63
+ } | {}>, unknown, unknown, undefined>>;
16
64
  /**
17
65
  * MenuItem wrapper **Tailwind Variants** component
18
66
  *
@@ -77,7 +125,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
77
125
  };
78
126
  disableAnimation: {
79
127
  true: {};
80
- false: {};
128
+ false: {
129
+ base: string;
130
+ };
81
131
  };
82
132
  }, {
83
133
  base: string[];
@@ -128,7 +178,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
128
178
  };
129
179
  disableAnimation: {
130
180
  true: {};
131
- false: {};
181
+ false: {
182
+ base: string;
183
+ };
132
184
  };
133
185
  }, {
134
186
  variant: {
@@ -172,7 +224,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
172
224
  };
173
225
  disableAnimation: {
174
226
  true: {};
175
- false: {};
227
+ false: {
228
+ base: string;
229
+ };
176
230
  };
177
231
  }>, {
178
232
  variant: {
@@ -216,7 +270,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
216
270
  };
217
271
  disableAnimation: {
218
272
  true: {};
219
- false: {};
273
+ false: {
274
+ base: string;
275
+ };
220
276
  };
221
277
  }, {
222
278
  base: string[];
@@ -267,7 +323,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
267
323
  };
268
324
  disableAnimation: {
269
325
  true: {};
270
- false: {};
326
+ false: {
327
+ base: string;
328
+ };
271
329
  };
272
330
  }, {
273
331
  base: string[];
@@ -318,7 +376,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
318
376
  };
319
377
  disableAnimation: {
320
378
  true: {};
321
- false: {};
379
+ false: {
380
+ base: string;
381
+ };
322
382
  };
323
383
  }, {
324
384
  variant: {
@@ -362,7 +422,9 @@ declare const menuItem: tailwind_variants.TVReturnType<{
362
422
  };
363
423
  disableAnimation: {
364
424
  true: {};
365
- false: {};
425
+ false: {
426
+ base: string;
427
+ };
366
428
  };
367
429
  }>, unknown, unknown, undefined>>;
368
430
  /**
@@ -379,36 +441,48 @@ declare const menuItem: tailwind_variants.TVReturnType<{
379
441
  * </div>
380
442
  * </div>
381
443
  */
382
- declare const menuSection: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsDefault<{
383
- base: string;
384
- heading: string;
385
- group: string;
386
- divider: string;
387
- }, undefined> | {
444
+ declare const menuSection: tailwind_variants.TVReturnType<{
445
+ [key: string]: {
446
+ [key: string]: tailwind_variants.ClassValue | {
447
+ base?: tailwind_variants.ClassValue;
448
+ divider?: tailwind_variants.ClassValue;
449
+ group?: tailwind_variants.ClassValue;
450
+ heading?: tailwind_variants.ClassValue;
451
+ };
452
+ };
453
+ } | {
388
454
  [x: string]: {
389
- [x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<{
390
- base: string;
391
- heading: string;
392
- group: string;
393
- divider: string;
394
- }, undefined>;
455
+ [x: string]: tailwind_variants.ClassValue | {
456
+ base?: tailwind_variants.ClassValue;
457
+ divider?: tailwind_variants.ClassValue;
458
+ group?: tailwind_variants.ClassValue;
459
+ heading?: tailwind_variants.ClassValue;
460
+ };
395
461
  } | undefined;
396
462
  } | {}, {
397
463
  base: string;
398
464
  heading: string;
399
465
  group: string;
400
466
  divider: string;
401
- }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
402
- base: string;
403
- heading: string;
404
- group: string;
405
- divider: string;
406
- }, undefined> | {}>, tailwind_variants.TVVariantsDefault<{
407
- base: string;
408
- heading: string;
409
- group: string;
410
- divider: string;
411
- }, undefined> | {}, {
467
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
468
+ [key: string]: {
469
+ [key: string]: tailwind_variants.ClassValue | {
470
+ base?: tailwind_variants.ClassValue;
471
+ divider?: tailwind_variants.ClassValue;
472
+ group?: tailwind_variants.ClassValue;
473
+ heading?: tailwind_variants.ClassValue;
474
+ };
475
+ };
476
+ } | {}>, {
477
+ [key: string]: {
478
+ [key: string]: tailwind_variants.ClassValue | {
479
+ base?: tailwind_variants.ClassValue;
480
+ divider?: tailwind_variants.ClassValue;
481
+ group?: tailwind_variants.ClassValue;
482
+ heading?: tailwind_variants.ClassValue;
483
+ };
484
+ };
485
+ } | {}, {
412
486
  base: string;
413
487
  heading: string;
414
488
  group: string;
@@ -418,16 +492,21 @@ declare const menuSection: tailwind_variants.TVReturnType<tailwind_variants.TVVa
418
492
  heading: string;
419
493
  group: string;
420
494
  divider: string;
421
- }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
422
- base: string;
423
- heading: string;
424
- group: string;
425
- divider: string;
426
- }, undefined> | {}>, unknown, unknown, undefined>>;
495
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
496
+ [key: string]: {
497
+ [key: string]: tailwind_variants.ClassValue | {
498
+ base?: tailwind_variants.ClassValue;
499
+ divider?: tailwind_variants.ClassValue;
500
+ group?: tailwind_variants.ClassValue;
501
+ heading?: tailwind_variants.ClassValue;
502
+ };
503
+ };
504
+ } | {}>, unknown, unknown, undefined>>;
427
505
  type MenuVariantProps = VariantProps<typeof menu>;
506
+ type MenuSlots = keyof ReturnType<typeof menu>;
428
507
  type MenuSectionVariantProps = VariantProps<typeof menuSection>;
429
508
  type MenuSectionSlots = keyof ReturnType<typeof menuSection>;
430
509
  type MenuItemVariantProps = VariantProps<typeof menuItem>;
431
510
  type MenuItemSlots = keyof ReturnType<typeof menuItem>;
432
511
 
433
- export { MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuVariantProps, menu, menuItem, menuSection };
512
+ export { MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu, menuItem, menuSection };
@@ -84,39 +84,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
84
84
 
85
85
  // src/utils/tv.ts
86
86
  var COMMON_UNITS = ["small", "medium", "large"];
87
- var tv = (options, config) => {
88
- var _a, _b, _c;
89
- return (0, import_tailwind_variants.tv)(options, {
90
- ...config,
91
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
92
- twMergeConfig: {
93
- ...config == null ? void 0 : config.twMergeConfig,
94
- theme: {
95
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
96
- opacity: ["disabled"],
97
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
98
- borderWidth: COMMON_UNITS,
99
- borderRadius: COMMON_UNITS
100
- },
101
- classGroups: {
102
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
103
- shadow: [{ shadow: COMMON_UNITS }],
104
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
105
- "bg-image": ["bg-stripe-gradient"],
106
- "min-w": [
107
- {
108
- "min-w": ["unit", ...mappedSpacingScaleKeys]
109
- }
110
- ],
111
- "min-h": [
112
- {
113
- "min-h": ["unit", ...mappedSpacingScaleKeys]
114
- }
115
- ]
116
- }
87
+ var tv = (0, import_tailwind_variants.createTV)({
88
+ twMerge: true,
89
+ twMergeConfig: {
90
+ theme: {
91
+ opacity: ["disabled"],
92
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
93
+ borderWidth: COMMON_UNITS,
94
+ borderRadius: COMMON_UNITS
95
+ },
96
+ classGroups: {
97
+ shadow: [{ shadow: COMMON_UNITS }],
98
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
99
+ "bg-image": ["bg-stripe-gradient"],
100
+ "min-w": [
101
+ {
102
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
103
+ }
104
+ ],
105
+ "min-h": [
106
+ {
107
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
108
+ }
109
+ ]
117
110
  }
118
- });
119
- };
111
+ }
112
+ });
120
113
 
121
114
  // src/utils/classes.ts
122
115
  var dataFocusVisibleClasses = [
@@ -129,7 +122,19 @@ var dataFocusVisibleClasses = [
129
122
 
130
123
  // src/components/menu.ts
131
124
  var menu = tv({
132
- base: "w-full flex flex-col gap-0.5 p-1 outline-none"
125
+ slots: {
126
+ base: "w-full relative flex flex-col gap-1 p-1",
127
+ list: "w-full flex flex-col gap-0.5 outline-none",
128
+ emptyContent: [
129
+ "h-10",
130
+ "px-2",
131
+ "py-1.5",
132
+ "w-full",
133
+ "h-full",
134
+ "text-foreground-400",
135
+ "text-start"
136
+ ]
137
+ }
133
138
  });
134
139
  var menuItem = tv({
135
140
  slots: {
@@ -223,7 +228,9 @@ var menuItem = tv({
223
228
  },
224
229
  disableAnimation: {
225
230
  true: {},
226
- false: {}
231
+ false: {
232
+ base: "data-[hover=true]:transition-colors"
233
+ }
227
234
  }
228
235
  },
229
236
  defaultVariants: {
@@ -2,12 +2,12 @@ import {
2
2
  menu,
3
3
  menuItem,
4
4
  menuSection
5
- } from "../chunk-YKWIBFFV.mjs";
5
+ } from "../chunk-QWYWYOG6.mjs";
6
6
  import "../chunk-CMYR6AOY.mjs";
7
7
  import "../chunk-K7LK7NCE.mjs";
8
8
  import "../chunk-2PIR7DFM.mjs";
9
- import "../chunk-6AEINX52.mjs";
10
- import "../chunk-T7JNS25F.mjs";
9
+ import "../chunk-WBUVHAJX.mjs";
10
+ import "../chunk-XHQUSKIE.mjs";
11
11
  import "../chunk-WA5F6AED.mjs";
12
12
  export {
13
13
  menu,
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
103
- "bg-image": ["bg-stripe-gradient"],
104
- "min-w": [
105
- {
106
- "min-w": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ],
109
- "min-h": [
110
- {
111
- "min-h": ["unit", ...mappedSpacingScaleKeys]
112
- }
113
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var dataFocusVisibleClasses = [
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  modal
3
- } from "../chunk-4DKVPW5Z.mjs";
3
+ } from "../chunk-HBLCAYSX.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
- import "../chunk-T7JNS25F.mjs";
7
+ import "../chunk-WBUVHAJX.mjs";
8
+ import "../chunk-XHQUSKIE.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
11
11
  modal
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
82
 
83
83
  // src/utils/tv.ts
84
84
  var COMMON_UNITS = ["small", "medium", "large"];
85
- var tv = (options, config) => {
86
- var _a, _b, _c;
87
- return (0, import_tailwind_variants.tv)(options, {
88
- ...config,
89
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
90
- twMergeConfig: {
91
- ...config == null ? void 0 : config.twMergeConfig,
92
- theme: {
93
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
- opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
96
- borderWidth: COMMON_UNITS,
97
- borderRadius: COMMON_UNITS
98
- },
99
- classGroups: {
100
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
- shadow: [{ shadow: COMMON_UNITS }],
102
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
103
- "bg-image": ["bg-stripe-gradient"],
104
- "min-w": [
105
- {
106
- "min-w": ["unit", ...mappedSpacingScaleKeys]
107
- }
108
- ],
109
- "min-h": [
110
- {
111
- "min-h": ["unit", ...mappedSpacingScaleKeys]
112
- }
113
- ]
114
- }
85
+ var tv = (0, import_tailwind_variants.createTV)({
86
+ twMerge: true,
87
+ twMergeConfig: {
88
+ theme: {
89
+ opacity: ["disabled"],
90
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
91
+ borderWidth: COMMON_UNITS,
92
+ borderRadius: COMMON_UNITS
93
+ },
94
+ classGroups: {
95
+ shadow: [{ shadow: COMMON_UNITS }],
96
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
97
+ "bg-image": ["bg-stripe-gradient"],
98
+ "min-w": [
99
+ {
100
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
101
+ }
102
+ ],
103
+ "min-h": [
104
+ {
105
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
106
+ }
107
+ ]
115
108
  }
116
- });
117
- };
109
+ }
110
+ });
118
111
 
119
112
  // src/utils/classes.ts
120
113
  var dataFocusVisibleClasses = [
@@ -248,7 +241,10 @@ var navbar = tv({
248
241
  "gap-2",
249
242
  "overflow-y-auto"
250
243
  ],
251
- menuItem: ["text-large"]
244
+ menuItem: [
245
+ "text-large",
246
+ "data-[active=true]:font-semibold"
247
+ ]
252
248
  },
253
249
  variants: {
254
250
  position: {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  navbar
3
- } from "../chunk-LGRQRHJJ.mjs";
3
+ } from "../chunk-BR6V72YY.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
- import "../chunk-T7JNS25F.mjs";
7
+ import "../chunk-WBUVHAJX.mjs";
8
+ import "../chunk-XHQUSKIE.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
11
11
  navbar