@nextui-org/theme 2.1.17 → 2.2.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 (167) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-XY766PDD.mjs → chunk-3FZU25GR.mjs} +2 -1
  3. package/dist/{chunk-CVU6I4IJ.mjs → chunk-4ZM6AI3H.mjs} +1 -1
  4. package/dist/{chunk-LQGOKGQV.mjs → chunk-524WVPFR.mjs} +1 -1
  5. package/dist/{chunk-RJKUWMDJ.mjs → chunk-6XJJCV76.mjs} +1 -1
  6. package/dist/{chunk-S7W5DQP2.mjs → chunk-726LN7M3.mjs} +1 -1
  7. package/dist/{chunk-PXVLYT7W.mjs → chunk-7ELFOVMX.mjs} +1 -1
  8. package/dist/{chunk-FXXH62BP.mjs → chunk-7ODIBITJ.mjs} +9 -9
  9. package/dist/chunk-7TJINK3S.mjs +390 -0
  10. package/dist/{chunk-G2RPAV6S.mjs → chunk-AC6F4DT6.mjs} +23 -4
  11. package/dist/{chunk-GNLIYZAQ.mjs → chunk-AGUZRGXC.mjs} +1 -1
  12. package/dist/{chunk-U4EMZ2CQ.mjs → chunk-AO2AAOEJ.mjs} +2 -2
  13. package/dist/{chunk-3BNHFA72.mjs → chunk-AT4OXKKK.mjs} +1 -1
  14. package/dist/chunk-BHDPFX6P.mjs +400 -0
  15. package/dist/chunk-BLAJANNW.mjs +43 -0
  16. package/dist/{chunk-5EJVI4V3.mjs → chunk-CTY7IP65.mjs} +29 -13
  17. package/dist/{chunk-DXTDUHS5.mjs → chunk-CUUGEIPA.mjs} +1 -1
  18. package/dist/chunk-D2XMP2NC.mjs +6 -0
  19. package/dist/{chunk-4JBYJQSP.mjs → chunk-ECP4S2VZ.mjs} +1 -1
  20. package/dist/{chunk-B55QBA5E.mjs → chunk-FRI2VDCA.mjs} +1 -1
  21. package/dist/{chunk-6AEINX52.mjs → chunk-GMMETTYU.mjs} +2 -16
  22. package/dist/{chunk-Y5VJSYKV.mjs → chunk-GMUSZ3YF.mjs} +1 -1
  23. package/dist/{chunk-FHNC7F3W.mjs → chunk-HGSHFC5N.mjs} +7 -1
  24. package/dist/{chunk-G3PB7L4N.mjs → chunk-HPFX3B3F.mjs} +1 -30
  25. package/dist/{chunk-VZI6SR6H.mjs → chunk-HUBDRSA4.mjs} +1 -2
  26. package/dist/{chunk-33DU6C7I.mjs → chunk-I6ESTKKY.mjs} +9 -9
  27. package/dist/{chunk-EGP3AT4R.mjs → chunk-IP3D7KVB.mjs} +3 -1
  28. package/dist/{chunk-Q3TEEYQJ.mjs → chunk-JQTFOIV7.mjs} +1 -1
  29. package/dist/{chunk-JBHEJMGV.mjs → chunk-KCOC3H6R.mjs} +1 -1
  30. package/dist/{chunk-ZWJMJMVY.mjs → chunk-KVPPQD2E.mjs} +27 -5
  31. package/dist/{chunk-WBNF66V7.mjs → chunk-LDBYFTHC.mjs} +1 -1
  32. package/dist/{chunk-GOHT67J3.mjs → chunk-MUWHEIW6.mjs} +13 -6
  33. package/dist/{chunk-2SNOAR5H.mjs → chunk-NAUU2OUH.mjs} +1 -1
  34. package/dist/{chunk-QYW2VWAB.mjs → chunk-NYSEAAK5.mjs} +4 -4
  35. package/dist/{chunk-LENRVMCD.mjs → chunk-OQIS4MXV.mjs} +1 -1
  36. package/dist/{chunk-NAY2XKLY.mjs → chunk-PSEUPXFL.mjs} +1 -1
  37. package/dist/{chunk-SPRRISBY.mjs → chunk-RNAP5C4C.mjs} +1 -1
  38. package/dist/{chunk-L37EV5TN.mjs → chunk-S573WUYY.mjs} +1 -1
  39. package/dist/{chunk-777XXWYS.mjs → chunk-SEKJ6A6T.mjs} +19 -2
  40. package/dist/{chunk-YSXRNNDV.mjs → chunk-UODOTC2G.mjs} +1 -1
  41. package/dist/{chunk-77O7KLUI.mjs → chunk-V5ZTBGGO.mjs} +1 -1
  42. package/dist/{chunk-MUPUMXL7.mjs → chunk-VDRJHB4F.mjs} +7 -4
  43. package/dist/{chunk-EC4F6RJF.mjs → chunk-W6DVXJB3.mjs} +1 -1
  44. package/dist/{chunk-XPLXQDB3.mjs → chunk-WAAJG22Y.mjs} +1 -1
  45. package/dist/chunk-WBQAMGXK.mjs +0 -0
  46. package/dist/{chunk-TDMF44G6.mjs → chunk-X7N3NQ6S.mjs} +1 -1
  47. package/dist/{chunk-5QVKTCUZ.mjs → chunk-YSA7EQBH.mjs} +12 -47
  48. package/dist/components/accordion.js +2 -67
  49. package/dist/components/accordion.mjs +2 -3
  50. package/dist/components/autocomplete.js +2 -67
  51. package/dist/components/autocomplete.mjs +2 -3
  52. package/dist/components/avatar.d.ts +14 -4
  53. package/dist/components/avatar.js +8 -70
  54. package/dist/components/avatar.mjs +2 -3
  55. package/dist/components/badge.js +2 -67
  56. package/dist/components/badge.mjs +2 -3
  57. package/dist/components/breadcrumbs.js +2 -67
  58. package/dist/components/breadcrumbs.mjs +2 -3
  59. package/dist/components/button.d.ts +35 -35
  60. package/dist/components/button.js +10 -75
  61. package/dist/components/button.mjs +2 -3
  62. package/dist/components/calendar.d.ts +495 -0
  63. package/dist/components/calendar.js +455 -0
  64. package/dist/components/calendar.mjs +11 -0
  65. package/dist/components/card.js +2 -67
  66. package/dist/components/card.mjs +2 -3
  67. package/dist/components/checkbox.js +5 -70
  68. package/dist/components/checkbox.mjs +2 -3
  69. package/dist/components/chip.js +24 -70
  70. package/dist/components/chip.mjs +2 -3
  71. package/dist/components/circular-progress.js +2 -67
  72. package/dist/components/circular-progress.mjs +2 -3
  73. package/dist/components/code.js +2 -67
  74. package/dist/components/code.mjs +2 -3
  75. package/dist/components/date-input.d.ts +815 -0
  76. package/dist/components/date-input.js +439 -0
  77. package/dist/components/date-input.mjs +7 -0
  78. package/dist/components/date-picker.d.ts +265 -0
  79. package/dist/components/date-picker.js +93 -0
  80. package/dist/components/date-picker.mjs +9 -0
  81. package/dist/components/divider.js +2 -67
  82. package/dist/components/divider.mjs +2 -3
  83. package/dist/components/drip.d.ts +2 -32
  84. package/dist/components/drip.js +2 -67
  85. package/dist/components/drip.mjs +2 -3
  86. package/dist/components/dropdown.d.ts +4 -64
  87. package/dist/components/dropdown.js +2 -67
  88. package/dist/components/dropdown.mjs +2 -3
  89. package/dist/components/image.js +2 -67
  90. package/dist/components/image.mjs +2 -3
  91. package/dist/components/index.d.ts +4 -1
  92. package/dist/components/index.js +959 -115
  93. package/dist/components/index.mjs +72 -59
  94. package/dist/components/input.js +14 -72
  95. package/dist/components/input.mjs +2 -3
  96. package/dist/components/kbd.js +3 -67
  97. package/dist/components/kbd.mjs +2 -3
  98. package/dist/components/link.js +2 -67
  99. package/dist/components/link.mjs +2 -3
  100. package/dist/components/listbox.js +2 -67
  101. package/dist/components/listbox.mjs +2 -3
  102. package/dist/components/menu.d.ts +2 -2
  103. package/dist/components/menu.js +2 -67
  104. package/dist/components/menu.mjs +2 -3
  105. package/dist/components/modal.js +4 -67
  106. package/dist/components/modal.mjs +2 -3
  107. package/dist/components/navbar.js +2 -67
  108. package/dist/components/navbar.mjs +2 -3
  109. package/dist/components/pagination.js +2 -67
  110. package/dist/components/pagination.mjs +2 -3
  111. package/dist/components/popover.d.ts +42 -0
  112. package/dist/components/popover.js +8 -67
  113. package/dist/components/popover.mjs +2 -3
  114. package/dist/components/progress.js +2 -67
  115. package/dist/components/progress.mjs +2 -3
  116. package/dist/components/radio.js +2 -67
  117. package/dist/components/radio.mjs +2 -3
  118. package/dist/components/scroll-shadow.js +2 -67
  119. package/dist/components/scroll-shadow.mjs +2 -3
  120. package/dist/components/select.js +30 -79
  121. package/dist/components/select.mjs +2 -3
  122. package/dist/components/skeleton.js +3 -68
  123. package/dist/components/skeleton.mjs +2 -3
  124. package/dist/components/slider.js +2 -67
  125. package/dist/components/slider.mjs +2 -3
  126. package/dist/components/snippet.js +2 -67
  127. package/dist/components/snippet.mjs +2 -3
  128. package/dist/components/spacer.js +2 -67
  129. package/dist/components/spacer.mjs +2 -3
  130. package/dist/components/spinner.d.ts +1 -1
  131. package/dist/components/spinner.js +2 -67
  132. package/dist/components/spinner.mjs +2 -3
  133. package/dist/components/table.js +28 -71
  134. package/dist/components/table.mjs +2 -3
  135. package/dist/components/tabs.d.ts +115 -0
  136. package/dist/components/tabs.js +20 -68
  137. package/dist/components/tabs.mjs +2 -3
  138. package/dist/components/toggle.js +10 -75
  139. package/dist/components/toggle.mjs +2 -3
  140. package/dist/components/user.d.ts +1 -1
  141. package/dist/components/user.js +2 -67
  142. package/dist/components/user.mjs +2 -3
  143. package/dist/default-layout.js +1 -2
  144. package/dist/default-layout.mjs +1 -1
  145. package/dist/index.d.ts +5 -2
  146. package/dist/index.js +1150 -428
  147. package/dist/index.mjs +78 -69
  148. package/dist/plugin.js +6 -177
  149. package/dist/plugin.mjs +5 -6
  150. package/dist/types.d.ts +1 -11
  151. package/dist/types.js +0 -64
  152. package/dist/types.mjs +1 -8
  153. package/dist/utilities/index.d.ts +0 -30
  154. package/dist/utilities/index.js +0 -30
  155. package/dist/utilities/index.mjs +2 -2
  156. package/dist/utilities/transition.d.ts +2 -31
  157. package/dist/utilities/transition.js +4 -31
  158. package/dist/utilities/transition.mjs +3 -1
  159. package/dist/utils/theme.d.ts +1 -3
  160. package/dist/utils/theme.js +0 -110
  161. package/dist/utils/theme.mjs +1 -6
  162. package/dist/utils/tv.js +2 -67
  163. package/dist/utils/tv.mjs +1 -2
  164. package/package.json +5 -5
  165. package/dist/chunk-DGMET46Q.mjs +0 -63
  166. package/dist/chunk-WA5F6AED.mjs +0 -57
  167. /package/dist/{chunk-T6HAGWX5.mjs → chunk-UVXYPGDZ.mjs} +0 -0
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/date-picker.ts
21
+ var date_picker_exports = {};
22
+ __export(date_picker_exports, {
23
+ datePicker: () => datePicker,
24
+ dateRangePicker: () => dateRangePicker
25
+ });
26
+ module.exports = __toCommonJS(date_picker_exports);
27
+
28
+ // src/utils/tv.ts
29
+ var import_tailwind_variants = require("tailwind-variants");
30
+ var COMMON_UNITS = ["small", "medium", "large"];
31
+ var tv = (options, config) => {
32
+ var _a, _b, _c;
33
+ return (0, import_tailwind_variants.tv)(options, {
34
+ ...config,
35
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
36
+ twMergeConfig: {
37
+ ...config == null ? void 0 : config.twMergeConfig,
38
+ theme: {
39
+ ...(_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
44
+ },
45
+ classGroups: {
46
+ ...(_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"]
50
+ }
51
+ }
52
+ });
53
+ };
54
+
55
+ // src/components/date-picker.ts
56
+ var datePicker = tv({
57
+ slots: {
58
+ base: "group w-full",
59
+ selectorButton: "-mr-2 text-inherit",
60
+ selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
61
+ popoverContent: "p-0 w-full",
62
+ calendar: "w-[var(--calendar-width)] shadow-none",
63
+ calendarContent: "w-[var(--calendar-width)]",
64
+ timeInputLabel: "font-medium",
65
+ timeInput: "px-5 pb-4 flex-wrap gap-x-6"
66
+ },
67
+ variants: {
68
+ hasMultipleMonths: {
69
+ true: {
70
+ calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
71
+ calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]"
72
+ },
73
+ false: {}
74
+ }
75
+ },
76
+ defaultVariants: {
77
+ hasMultipleMonths: false
78
+ }
79
+ });
80
+ var dateRangePicker = tv({
81
+ extend: datePicker,
82
+ slots: {
83
+ calendar: "group",
84
+ bottomContent: "flex flex-col gap-y-2",
85
+ timeInputWrapper: "flex flex-col group-data-[has-multiple-months=true]:flex-row",
86
+ separator: "-mx-1 text-inherit"
87
+ }
88
+ });
89
+ // Annotate the CommonJS export names for ESM import in node:
90
+ 0 && (module.exports = {
91
+ datePicker,
92
+ dateRangePicker
93
+ });
@@ -0,0 +1,9 @@
1
+ import {
2
+ datePicker,
3
+ dateRangePicker
4
+ } from "../chunk-BLAJANNW.mjs";
5
+ import "../chunk-GMMETTYU.mjs";
6
+ export {
7
+ datePicker,
8
+ dateRangePicker
9
+ };
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(divider_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "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
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  divider
3
- } from "../chunk-YSXRNNDV.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-UODOTC2G.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  divider
8
7
  };
@@ -1,5 +1,5 @@
1
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
2
1
  import * as tailwind_variants from 'tailwind-variants';
2
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
3
3
 
4
4
  /**
5
5
  * Drip wrapper **Tailwind Variants** component
@@ -9,36 +9,6 @@ import * as tailwind_variants from 'tailwind-variants';
9
9
  * @example
10
10
  * <span ref={dripRef} className={classNames())} />
11
11
  */
12
- declare const drip: tailwind_variants.TVReturnType<{
13
- [key: string]: {
14
- [key: string]: tailwind_variants.ClassValue | {
15
- base?: tailwind_variants.ClassValue;
16
- };
17
- };
18
- } | {
19
- [x: string]: {
20
- [x: string]: tailwind_variants.ClassValue | {
21
- base?: tailwind_variants.ClassValue;
22
- };
23
- } | undefined;
24
- } | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
25
- [key: string]: {
26
- [key: string]: tailwind_variants.ClassValue | {
27
- base?: tailwind_variants.ClassValue;
28
- };
29
- };
30
- } | {}>, {
31
- [key: string]: {
32
- [key: string]: tailwind_variants.ClassValue | {
33
- base?: tailwind_variants.ClassValue;
34
- };
35
- };
36
- } | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
37
- [key: string]: {
38
- [key: string]: tailwind_variants.ClassValue | {
39
- base?: tailwind_variants.ClassValue;
40
- };
41
- };
42
- } | {}>, unknown, unknown, undefined>>;
12
+ declare const drip: tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
43
13
 
44
14
  export { drip };
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(drip_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "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
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  drip
3
- } from "../chunk-GNLIYZAQ.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-AGUZRGXC.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  drip
8
7
  };
@@ -1,6 +1,6 @@
1
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
2
1
  import * as tailwind_variants from 'tailwind-variants';
3
2
  import { VariantProps } from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
4
 
5
5
  /**
6
6
  * Dropdown wrapper **Tailwind Variants** component
@@ -16,37 +16,7 @@ import { VariantProps } from 'tailwind-variants';
16
16
  * </div>
17
17
  * </div>
18
18
  */
19
- declare const dropdown: tailwind_variants.TVReturnType<{
20
- [key: string]: {
21
- [key: string]: tailwind_variants.ClassValue | {
22
- base?: tailwind_variants.ClassValue;
23
- };
24
- };
25
- } | {
26
- [x: string]: {
27
- [x: string]: tailwind_variants.ClassValue | {
28
- base?: tailwind_variants.ClassValue;
29
- };
30
- } | undefined;
31
- } | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
32
- [key: string]: {
33
- [key: string]: tailwind_variants.ClassValue | {
34
- base?: tailwind_variants.ClassValue;
35
- };
36
- };
37
- } | {}>, {
38
- [key: string]: {
39
- [key: string]: tailwind_variants.ClassValue | {
40
- base?: tailwind_variants.ClassValue;
41
- };
42
- };
43
- } | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
44
- [key: string]: {
45
- [key: string]: tailwind_variants.ClassValue | {
46
- base?: tailwind_variants.ClassValue;
47
- };
48
- };
49
- } | {}>, unknown, unknown, undefined>>;
19
+ declare const dropdown: tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
50
20
  /**
51
21
  * DropdownItem wrapper **Tailwind Variants** component
52
22
  *
@@ -388,7 +358,7 @@ declare const dropdownSection: tailwind_variants.TVReturnType<{
388
358
  group?: tailwind_variants.ClassValue;
389
359
  heading?: tailwind_variants.ClassValue;
390
360
  };
391
- } | undefined;
361
+ };
392
362
  } | {}, {
393
363
  base: string;
394
364
  heading: string;
@@ -438,37 +408,7 @@ declare const dropdownSection: tailwind_variants.TVReturnType<{
438
408
  * const classNames = dropdownMenu({...})
439
409
 
440
410
  */
441
- declare const dropdownMenu: tailwind_variants.TVReturnType<{
442
- [key: string]: {
443
- [key: string]: tailwind_variants.ClassValue | {
444
- base?: tailwind_variants.ClassValue;
445
- };
446
- };
447
- } | {
448
- [x: string]: {
449
- [x: string]: tailwind_variants.ClassValue | {
450
- base?: tailwind_variants.ClassValue;
451
- };
452
- } | undefined;
453
- } | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {
454
- [key: string]: {
455
- [key: string]: tailwind_variants.ClassValue | {
456
- base?: tailwind_variants.ClassValue;
457
- };
458
- };
459
- } | {}>, {
460
- [key: string]: {
461
- [key: string]: tailwind_variants.ClassValue | {
462
- base?: tailwind_variants.ClassValue;
463
- };
464
- };
465
- } | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {
466
- [key: string]: {
467
- [key: string]: tailwind_variants.ClassValue | {
468
- base?: tailwind_variants.ClassValue;
469
- };
470
- };
471
- } | {}>, unknown, unknown, undefined>>;
411
+ declare const dropdownMenu: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
472
412
  type DropdownSectionVariantProps = VariantProps<typeof dropdownSection>;
473
413
  type DropdownSectionSlots = keyof ReturnType<typeof dropdownSection>;
474
414
  type DropdownItemVariantProps = VariantProps<typeof dropdownItem>;
@@ -29,61 +29,6 @@ module.exports = __toCommonJS(dropdown_exports);
29
29
 
30
30
  // src/utils/tv.ts
31
31
  var import_tailwind_variants = require("tailwind-variants");
32
-
33
- // src/types.ts
34
- var spacingScaleKeys = [
35
- "0",
36
- "xs",
37
- "sm",
38
- "md",
39
- "lg",
40
- "xl",
41
- "2xl",
42
- "3xl",
43
- "4xl",
44
- "5xl",
45
- "6xl",
46
- "7xl",
47
- "8xl",
48
- "9xl",
49
- "1",
50
- "2",
51
- "3",
52
- "3.5",
53
- "4",
54
- "5",
55
- "6",
56
- "7",
57
- "8",
58
- "9",
59
- "10",
60
- "11",
61
- "12",
62
- "13",
63
- "14",
64
- "15",
65
- "16",
66
- "17",
67
- "18",
68
- "20",
69
- "24",
70
- "28",
71
- "32",
72
- "36",
73
- "40",
74
- "44",
75
- "48",
76
- "52",
77
- "56",
78
- "60",
79
- "64",
80
- "72",
81
- "80",
82
- "96"
83
- ];
84
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
85
-
86
- // src/utils/tv.ts
87
32
  var COMMON_UNITS = ["small", "medium", "large"];
88
33
  var tv = (options, config) => {
89
34
  var _a, _b, _c;
@@ -95,7 +40,7 @@ var tv = (options, config) => {
95
40
  theme: {
96
41
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
97
42
  opacity: ["disabled"],
98
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
43
+ spacing: ["divider"],
99
44
  borderWidth: COMMON_UNITS,
100
45
  borderRadius: COMMON_UNITS
101
46
  },
@@ -103,17 +48,7 @@ var tv = (options, config) => {
103
48
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
104
49
  shadow: [{ shadow: COMMON_UNITS }],
105
50
  "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
106
- "bg-image": ["bg-stripe-gradient"],
107
- "min-w": [
108
- {
109
- "min-w": ["unit", ...mappedSpacingScaleKeys]
110
- }
111
- ],
112
- "min-h": [
113
- {
114
- "min-h": ["unit", ...mappedSpacingScaleKeys]
115
- }
116
- ]
51
+ "bg-image": ["bg-stripe-gradient"]
117
52
  }
118
53
  }
119
54
  });
@@ -3,13 +3,12 @@ import {
3
3
  dropdownItem,
4
4
  dropdownMenu,
5
5
  dropdownSection
6
- } from "../chunk-CVU6I4IJ.mjs";
6
+ } from "../chunk-4ZM6AI3H.mjs";
7
7
  import "../chunk-CMYR6AOY.mjs";
8
8
  import "../chunk-K7LK7NCE.mjs";
9
9
  import "../chunk-2PIR7DFM.mjs";
10
- import "../chunk-6AEINX52.mjs";
10
+ import "../chunk-GMMETTYU.mjs";
11
11
  import "../chunk-XHQUSKIE.mjs";
12
- import "../chunk-WA5F6AED.mjs";
13
12
  export {
14
13
  dropdown,
15
14
  dropdownItem,
@@ -26,61 +26,6 @@ module.exports = __toCommonJS(image_exports);
26
26
 
27
27
  // src/utils/tv.ts
28
28
  var import_tailwind_variants = require("tailwind-variants");
29
-
30
- // src/types.ts
31
- var spacingScaleKeys = [
32
- "0",
33
- "xs",
34
- "sm",
35
- "md",
36
- "lg",
37
- "xl",
38
- "2xl",
39
- "3xl",
40
- "4xl",
41
- "5xl",
42
- "6xl",
43
- "7xl",
44
- "8xl",
45
- "9xl",
46
- "1",
47
- "2",
48
- "3",
49
- "3.5",
50
- "4",
51
- "5",
52
- "6",
53
- "7",
54
- "8",
55
- "9",
56
- "10",
57
- "11",
58
- "12",
59
- "13",
60
- "14",
61
- "15",
62
- "16",
63
- "17",
64
- "18",
65
- "20",
66
- "24",
67
- "28",
68
- "32",
69
- "36",
70
- "40",
71
- "44",
72
- "48",
73
- "52",
74
- "56",
75
- "60",
76
- "64",
77
- "72",
78
- "80",
79
- "96"
80
- ];
81
- var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
82
-
83
- // src/utils/tv.ts
84
29
  var COMMON_UNITS = ["small", "medium", "large"];
85
30
  var tv = (options, config) => {
86
31
  var _a, _b, _c;
@@ -92,7 +37,7 @@ var tv = (options, config) => {
92
37
  theme: {
93
38
  ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
94
39
  opacity: ["disabled"],
95
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
40
+ spacing: ["divider"],
96
41
  borderWidth: COMMON_UNITS,
97
42
  borderRadius: COMMON_UNITS
98
43
  },
@@ -100,17 +45,7 @@ var tv = (options, config) => {
100
45
  ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
101
46
  shadow: [{ shadow: COMMON_UNITS }],
102
47
  "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
- ]
48
+ "bg-image": ["bg-stripe-gradient"]
114
49
  }
115
50
  }
116
51
  });
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  image
3
- } from "../chunk-WBNF66V7.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
- import "../chunk-WA5F6AED.mjs";
3
+ } from "../chunk-LDBYFTHC.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
6
5
  export {
7
6
  image
8
7
  };
@@ -1,4 +1,4 @@
1
- export { AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './avatar.js';
1
+ export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './avatar.js';
2
2
  export { CardReturnType, CardSlots, CardVariantProps, card } from './card.js';
3
3
  export { LinkVariantProps, link, linkAnchorClasses } from './link.js';
4
4
  export { UserSlots, user } from './user.js';
@@ -34,5 +34,8 @@ export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.js';
34
34
  export { SliderSlots, SliderVariantProps, slider } from './slider.js';
35
35
  export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './breadcrumbs.js';
36
36
  export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './autocomplete.js';
37
+ export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './calendar.js';
38
+ export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './date-input.js';
39
+ export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './date-picker.js';
37
40
  import 'tailwind-variants';
38
41
  import 'tailwind-variants/dist/config';