@nextui-org/theme 2.1.18 → 2.2.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 (166) 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-WODEC7EF.mjs → chunk-7ODIBITJ.mjs} +6 -6
  9. package/dist/chunk-7TJINK3S.mjs +390 -0
  10. package/dist/{chunk-NVOA7VPK.mjs → chunk-AC6F4DT6.mjs} +4 -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-5EJVI4V3.mjs → chunk-CTY7IP65.mjs} +29 -13
  15. package/dist/{chunk-DXTDUHS5.mjs → chunk-CUUGEIPA.mjs} +1 -1
  16. package/dist/chunk-D2XMP2NC.mjs +6 -0
  17. package/dist/{chunk-4JBYJQSP.mjs → chunk-ECP4S2VZ.mjs} +1 -1
  18. package/dist/{chunk-B55QBA5E.mjs → chunk-FRI2VDCA.mjs} +1 -1
  19. package/dist/{chunk-6AEINX52.mjs → chunk-GMMETTYU.mjs} +2 -16
  20. package/dist/{chunk-Y5VJSYKV.mjs → chunk-GMUSZ3YF.mjs} +1 -1
  21. package/dist/{chunk-FHNC7F3W.mjs → chunk-HGSHFC5N.mjs} +7 -1
  22. package/dist/{chunk-G3PB7L4N.mjs → chunk-HPFX3B3F.mjs} +1 -30
  23. package/dist/{chunk-VZI6SR6H.mjs → chunk-HUBDRSA4.mjs} +1 -2
  24. package/dist/{chunk-33DU6C7I.mjs → chunk-I6ESTKKY.mjs} +9 -9
  25. package/dist/{chunk-EGP3AT4R.mjs → chunk-IP3D7KVB.mjs} +3 -1
  26. package/dist/{chunk-Q3TEEYQJ.mjs → chunk-JQTFOIV7.mjs} +1 -1
  27. package/dist/{chunk-JBHEJMGV.mjs → chunk-KCOC3H6R.mjs} +1 -1
  28. package/dist/{chunk-ZWJMJMVY.mjs → chunk-KVPPQD2E.mjs} +27 -5
  29. package/dist/{chunk-WBNF66V7.mjs → chunk-LDBYFTHC.mjs} +1 -1
  30. package/dist/{chunk-GOHT67J3.mjs → chunk-MUWHEIW6.mjs} +13 -6
  31. package/dist/{chunk-2SNOAR5H.mjs → chunk-NAUU2OUH.mjs} +1 -1
  32. package/dist/chunk-NPDZ7OMC.mjs +401 -0
  33. package/dist/{chunk-QYW2VWAB.mjs → chunk-NYSEAAK5.mjs} +4 -4
  34. package/dist/{chunk-LENRVMCD.mjs → chunk-OQIS4MXV.mjs} +1 -1
  35. package/dist/{chunk-NAY2XKLY.mjs → chunk-PSEUPXFL.mjs} +1 -1
  36. package/dist/{chunk-SPRRISBY.mjs → chunk-RNAP5C4C.mjs} +1 -1
  37. package/dist/{chunk-L37EV5TN.mjs → chunk-S573WUYY.mjs} +1 -1
  38. package/dist/{chunk-777XXWYS.mjs → chunk-SEKJ6A6T.mjs} +19 -2
  39. package/dist/{chunk-YSXRNNDV.mjs → chunk-UODOTC2G.mjs} +1 -1
  40. package/dist/{chunk-77O7KLUI.mjs → chunk-V5ZTBGGO.mjs} +1 -1
  41. package/dist/{chunk-MUPUMXL7.mjs → chunk-VDRJHB4F.mjs} +7 -4
  42. package/dist/chunk-VJTX4YUQ.mjs +31 -0
  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 +456 -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 +5 -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 +325 -0
  79. package/dist/components/date-picker.js +81 -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 +926 -112
  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.js +2 -67
  131. package/dist/components/spinner.mjs +2 -3
  132. package/dist/components/table.js +28 -71
  133. package/dist/components/table.mjs +2 -3
  134. package/dist/components/tabs.d.ts +115 -0
  135. package/dist/components/tabs.js +20 -68
  136. package/dist/components/tabs.mjs +2 -3
  137. package/dist/components/toggle.js +7 -72
  138. package/dist/components/toggle.mjs +2 -3
  139. package/dist/components/user.d.ts +1 -1
  140. package/dist/components/user.js +2 -67
  141. package/dist/components/user.mjs +2 -3
  142. package/dist/default-layout.js +1 -2
  143. package/dist/default-layout.mjs +1 -1
  144. package/dist/index.d.ts +5 -2
  145. package/dist/index.js +1122 -430
  146. package/dist/index.mjs +78 -69
  147. package/dist/plugin.js +6 -177
  148. package/dist/plugin.mjs +5 -6
  149. package/dist/types.d.ts +1 -11
  150. package/dist/types.js +0 -64
  151. package/dist/types.mjs +1 -8
  152. package/dist/utilities/index.d.ts +0 -30
  153. package/dist/utilities/index.js +0 -30
  154. package/dist/utilities/index.mjs +2 -2
  155. package/dist/utilities/transition.d.ts +2 -31
  156. package/dist/utilities/transition.js +4 -31
  157. package/dist/utilities/transition.mjs +3 -1
  158. package/dist/utils/theme.d.ts +1 -3
  159. package/dist/utils/theme.js +0 -110
  160. package/dist/utils/theme.mjs +1 -6
  161. package/dist/utils/tv.js +2 -67
  162. package/dist/utils/tv.mjs +1 -2
  163. package/package.json +4 -4
  164. package/dist/chunk-DGMET46Q.mjs +0 -63
  165. package/dist/chunk-WA5F6AED.mjs +0 -57
  166. /package/dist/{chunk-T6HAGWX5.mjs → chunk-UVXYPGDZ.mjs} +0 -0
@@ -0,0 +1,439 @@
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-input.ts
21
+ var date_input_exports = {};
22
+ __export(date_input_exports, {
23
+ dateInput: () => dateInput
24
+ });
25
+ module.exports = __toCommonJS(date_input_exports);
26
+
27
+ // src/utils/tv.ts
28
+ var import_tailwind_variants = require("tailwind-variants");
29
+ var COMMON_UNITS = ["small", "medium", "large"];
30
+ var tv = (options, config) => {
31
+ var _a, _b, _c;
32
+ return (0, import_tailwind_variants.tv)(options, {
33
+ ...config,
34
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
35
+ twMergeConfig: {
36
+ ...config == null ? void 0 : config.twMergeConfig,
37
+ theme: {
38
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
39
+ opacity: ["disabled"],
40
+ spacing: ["divider"],
41
+ borderWidth: COMMON_UNITS,
42
+ borderRadius: COMMON_UNITS
43
+ },
44
+ classGroups: {
45
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
46
+ shadow: [{ shadow: COMMON_UNITS }],
47
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
48
+ "bg-image": ["bg-stripe-gradient"]
49
+ }
50
+ }
51
+ });
52
+ };
53
+
54
+ // src/components/date-input.ts
55
+ var dateInput = tv({
56
+ slots: {
57
+ base: "group flex flex-col",
58
+ label: [
59
+ "block subpixel-antialiased text-small text-default-600",
60
+ "group-data-[required=true]:after:content-['*'] group-data-[required=true]:after:text-danger group-data-[required=true]:after:ml-0.5",
61
+ "group-data-[invalid=true]:text-danger"
62
+ ],
63
+ inputWrapper: [
64
+ "relative px-3 gap-3 w-full inline-flex flex-row items-center",
65
+ "cursor-text tap-highlight-transparent shadow-sm"
66
+ ],
67
+ input: "flex h-full gap-x-0.5 w-full font-normal",
68
+ innerWrapper: [
69
+ "flex items-center text-default-400 w-full gap-x-2 h-6",
70
+ "group-data-[invalid=true]:text-danger"
71
+ ],
72
+ segment: [
73
+ "group first:-ml-0.5 [&:not(:first-child)]:-ml-1 px-0.5 my-auto box-content tabular-nums text-start",
74
+ "inline-block outline-none focus:shadow-sm rounded-md",
75
+ "text-foreground-500 data-[editable=true]:text-foreground",
76
+ "data-[editable=true]:data-[placeholder=true]:text-foreground-500",
77
+ "data-[invalid=true]:text-danger-300 data-[invalid=true]:data-[editable=true]:text-danger",
78
+ "data-[invalid=true]:focus:bg-danger-400/50 dark:data-[invalid=true]:focus:bg-danger-400/20",
79
+ "data-[invalid=true]:data-[editable=true]:focus:text-danger"
80
+ ],
81
+ helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
82
+ description: "text-tiny text-foreground-400",
83
+ errorMessage: "text-tiny text-danger"
84
+ },
85
+ variants: {
86
+ variant: {
87
+ flat: {
88
+ inputWrapper: [
89
+ "bg-default-100",
90
+ "hover:bg-default-200",
91
+ "focus-within:hover:bg-default-100",
92
+ "group-data-[invalid=true]:bg-danger-50",
93
+ "group-data-[invalid=true]:hover:bg-danger-100",
94
+ "group-data-[invalid=true]:focus-within:hover:bg-danger-50"
95
+ ]
96
+ },
97
+ faded: {
98
+ inputWrapper: [
99
+ "bg-default-100",
100
+ "border-medium",
101
+ "border-default-200",
102
+ "hover:border-default-400",
103
+ "group-data-[invalid=true]:bg-danger-50",
104
+ "group-data-[invalid=true]:hover:bg-danger-100",
105
+ "group-data-[invalid=true]:focus-within:hover:bg-danger-50"
106
+ ]
107
+ },
108
+ bordered: {
109
+ inputWrapper: [
110
+ "border-medium",
111
+ "border-default-200",
112
+ "hover:border-default-400",
113
+ "focus-within:border-default-foreground",
114
+ "focus-within:hover:border-default-foreground",
115
+ "group-data-[invalid=true]:border-danger",
116
+ "group-data-[invalid=true]:hover:border-danger",
117
+ "group-data-[invalid=true]:focus-within:hover:border-danger"
118
+ ]
119
+ },
120
+ underlined: {
121
+ inputWrapper: [
122
+ "px-1",
123
+ "pb-1",
124
+ "gap-0",
125
+ "relative",
126
+ "box-border",
127
+ "border-b-medium",
128
+ "shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]",
129
+ "border-default-200",
130
+ "!rounded-none",
131
+ "hover:border-default-300",
132
+ "after:content-['']",
133
+ "after:w-0",
134
+ "after:origin-center",
135
+ "after:bg-default-foreground",
136
+ "after:absolute",
137
+ "after:left-1/2",
138
+ "after:-translate-x-1/2",
139
+ "after:-bottom-[2px]",
140
+ "after:h-[2px]",
141
+ "focus-within:after:w-full",
142
+ "group-data-[invalid=true]:after:bg-danger"
143
+ ]
144
+ }
145
+ },
146
+ color: {
147
+ default: {
148
+ segment: "focus:bg-default-400/50 data-[editable=true]:focus:text-default-foreground"
149
+ },
150
+ primary: {
151
+ segment: "focus:bg-primary-400/50 data-[editable=true]:focus:text-primary"
152
+ },
153
+ secondary: {
154
+ segment: "focus:bg-secondary-400/50 data-[editable=true]:focus:text-secondary"
155
+ },
156
+ success: {
157
+ segment: "focus:bg-success-400/50 dark:focus:bg-success-400/20 data-[editable=true]:focus:text-success"
158
+ },
159
+ warning: {
160
+ segment: "focus:bg-warning-400/50 dark:focus:bg-warning-400/20 data-[editable=true]:focus:text-warning"
161
+ },
162
+ danger: {
163
+ segment: "focus:bg-danger-400/50 dark:focus:bg-danger-400/20 data-[editable=true]:focus:text-danger"
164
+ }
165
+ },
166
+ size: {
167
+ sm: {
168
+ label: "text-tiny",
169
+ input: "text-small",
170
+ inputWrapper: "h-8 min-h-8 px-2 rounded-small"
171
+ },
172
+ md: {
173
+ input: "text-small",
174
+ inputWrapper: "h-10 min-h-10 rounded-medium",
175
+ clearButton: "text-large"
176
+ },
177
+ lg: {
178
+ input: "text-medium",
179
+ inputWrapper: "h-12 min-h-12 rounded-large"
180
+ }
181
+ },
182
+ radius: {
183
+ none: {
184
+ inputWrapper: "rounded-none"
185
+ },
186
+ sm: {
187
+ inputWrapper: "rounded-small"
188
+ },
189
+ md: {
190
+ inputWrapper: "rounded-medium"
191
+ },
192
+ lg: {
193
+ inputWrapper: "rounded-large"
194
+ },
195
+ full: {
196
+ inputWrapper: "rounded-full"
197
+ }
198
+ },
199
+ labelPlacement: {
200
+ outside: {
201
+ base: "flex flex-col data-[has-helper=true]:pb-[calc(theme(fontSize.tiny)_+8px)] gap-y-1.5",
202
+ label: "w-full text-foreground",
203
+ helperWrapper: "absolute top-[calc(100%_+_2px)] left-0 rtl:right-0"
204
+ },
205
+ "outside-left": {
206
+ base: "flex-row items-center data-[has-helper=true]:pb-[calc(theme(fontSize.tiny)_+_8px)] gap-x-2 flex-nowrap",
207
+ label: "relative text-foreground",
208
+ inputWrapper: "relative flex-1",
209
+ helperWrapper: "absolute top-[calc(100%_+_2px)] left-0 rtl:right-0"
210
+ },
211
+ inside: {
212
+ label: "w-full text-tiny cursor-text",
213
+ inputWrapper: "flex-col items-start justify-center gap-0"
214
+ }
215
+ },
216
+ fullWidth: {
217
+ true: {
218
+ base: "w-full",
219
+ inputWrapper: "w-full"
220
+ }
221
+ },
222
+ isDisabled: {
223
+ true: {
224
+ base: "opacity-disabled pointer-events-none",
225
+ inputWrapper: "pointer-events-none",
226
+ label: "pointer-events-none"
227
+ }
228
+ },
229
+ disableAnimation: {
230
+ true: {
231
+ label: "transition-none",
232
+ input: "transition-none",
233
+ inputWrapper: "transition-none"
234
+ },
235
+ false: {
236
+ label: [
237
+ "!ease-out",
238
+ "!duration-200",
239
+ "will-change-auto",
240
+ "motion-reduce:transition-none",
241
+ "transition-[color,opacity]"
242
+ ],
243
+ inputWrapper: "transition-background motion-reduce:transition-none !duration-150",
244
+ segment: "transition-colors motion-reduce:transition-none"
245
+ }
246
+ }
247
+ },
248
+ defaultVariants: {
249
+ variant: "flat",
250
+ color: "default",
251
+ size: "md",
252
+ fullWidth: true,
253
+ labelPlacement: "inside",
254
+ isDisabled: false,
255
+ disableAnimation: false
256
+ },
257
+ compoundVariants: [
258
+ {
259
+ variant: "flat",
260
+ color: "primary",
261
+ class: {
262
+ innerWrapper: "text-primary",
263
+ inputWrapper: ["bg-primary-50", "hover:bg-primary-100", "focus-within:bg-primary-50"],
264
+ segment: "text-primary-300 data-[editable=true]:data-[placeholder=true]:text-primary-300 data-[editable=true]:text-primary",
265
+ label: "text-primary"
266
+ }
267
+ },
268
+ {
269
+ variant: "flat",
270
+ color: "secondary",
271
+ class: {
272
+ innerWrapper: "text-secondary",
273
+ inputWrapper: ["bg-secondary-50", "hover:bg-secondary-100", "focus-within:bg-secondary-50"],
274
+ segment: "text-secondary-300 data-[editable=true]:data-[placeholder=true]:text-secondary-300 data-[editable=true]:text-secondary",
275
+ label: "text-secondary"
276
+ }
277
+ },
278
+ {
279
+ variant: "flat",
280
+ color: "success",
281
+ class: {
282
+ innerWrapper: "text-success-600 dark:text-success",
283
+ inputWrapper: ["bg-success-50", "hover:bg-success-100", "focus-within:bg-success-50"],
284
+ segment: "text-success-400 data-[editable=true]:data-[placeholder=true]:text-success-400 data-[editable=true]:text-success-600 data-[editable=true]:focus:text-success-600",
285
+ label: "text-success-600 dark:text-success"
286
+ }
287
+ },
288
+ {
289
+ variant: "flat",
290
+ color: "warning",
291
+ class: {
292
+ innerWrapper: "text-warning-600 dark:text-warning",
293
+ inputWrapper: ["bg-warning-50", "hover:bg-warning-100", "focus-within:bg-warning-50"],
294
+ segment: "text-warning-400 data-[editable=true]:data-[placeholder=true]:text-warning-400 data-[editable=true]:text-warning-600 data-[editable=true]:focus:text-warning-600",
295
+ label: "text-warning-600 dark:text-warning"
296
+ }
297
+ },
298
+ {
299
+ variant: "flat",
300
+ color: "danger",
301
+ class: {
302
+ innerWrapper: "text-danger",
303
+ inputWrapper: ["bg-danger-50", "hover:bg-danger-100", "focus-within:bg-danger-50"],
304
+ segment: "text-danger-300 data-[editable=true]:data-[placeholder=true]:text-danger-300 data-[editable=true]:text-danger",
305
+ label: "text-danger"
306
+ }
307
+ },
308
+ {
309
+ variant: ["bordered", "faded"],
310
+ color: "primary",
311
+ class: {
312
+ innerWrapper: "text-primary",
313
+ inputWrapper: ["focus-within:border-primary", "focus-within:hover:border-primary"],
314
+ label: "text-primary"
315
+ }
316
+ },
317
+ {
318
+ variant: ["bordered", "faded"],
319
+ color: "secondary",
320
+ class: {
321
+ innerWrapper: "text-secondary",
322
+ inputWrapper: ["focus-within:border-secondary", "focus-within:hover:border-secondary"],
323
+ label: "text-secondary"
324
+ }
325
+ },
326
+ {
327
+ variant: ["bordered", "faded"],
328
+ color: "success",
329
+ class: {
330
+ innerWrapper: "text-success",
331
+ inputWrapper: ["focus-within:border-success", "focus-within:hover:border-success"],
332
+ label: "text-success"
333
+ }
334
+ },
335
+ {
336
+ variant: ["bordered", "faded"],
337
+ color: "warning",
338
+ class: {
339
+ innerWrapper: "text-warning",
340
+ inputWrapper: ["focus-within:border-warning", "focus-within:hover:border-warning"],
341
+ label: "text-warning"
342
+ }
343
+ },
344
+ {
345
+ variant: ["bordered", "faded"],
346
+ color: "danger",
347
+ class: {
348
+ innerWrapper: "text-danger",
349
+ inputWrapper: ["focus-within:border-danger", "focus-within:hover:border-danger"],
350
+ label: "text-danger"
351
+ }
352
+ },
353
+ {
354
+ variant: "underlined",
355
+ color: "primary",
356
+ class: {
357
+ innerWrapper: "text-primary",
358
+ inputWrapper: "after:bg-primary",
359
+ label: "text-primary"
360
+ }
361
+ },
362
+ {
363
+ variant: "underlined",
364
+ color: "secondary",
365
+ class: {
366
+ innerWrapper: "text-secondary",
367
+ inputWrapper: "after:bg-secondary",
368
+ label: "text-secondary"
369
+ }
370
+ },
371
+ {
372
+ variant: "underlined",
373
+ color: "success",
374
+ class: {
375
+ innerWrapper: "text-success",
376
+ inputWrapper: "after:bg-success",
377
+ label: "text-success"
378
+ }
379
+ },
380
+ {
381
+ variant: "underlined",
382
+ color: "warning",
383
+ class: {
384
+ innerWrapper: "text-warning",
385
+ inputWrapper: "after:bg-warning",
386
+ label: "text-warning"
387
+ }
388
+ },
389
+ {
390
+ variant: "underlined",
391
+ color: "danger",
392
+ class: {
393
+ innerWrapper: "text-danger",
394
+ inputWrapper: "after:bg-danger",
395
+ label: "text-danger"
396
+ }
397
+ },
398
+ {
399
+ labelPlacement: "inside",
400
+ size: "sm",
401
+ class: {
402
+ inputWrapper: "h-12 py-1.5 px-3"
403
+ }
404
+ },
405
+ {
406
+ labelPlacement: "inside",
407
+ size: "md",
408
+ class: {
409
+ inputWrapper: "h-14 py-2"
410
+ }
411
+ },
412
+ {
413
+ labelPlacement: "inside",
414
+ size: "lg",
415
+ class: {
416
+ label: "text-small",
417
+ inputWrapper: "h-16 py-2.5 gap-0"
418
+ }
419
+ },
420
+ {
421
+ disableAnimation: false,
422
+ variant: ["faded", "bordered"],
423
+ class: {
424
+ inputWrapper: "transition-colors motion-reduce:transition-none"
425
+ }
426
+ },
427
+ {
428
+ disableAnimation: false,
429
+ variant: "underlined",
430
+ class: {
431
+ inputWrapper: "after:transition-width motion-reduce:after:transition-none"
432
+ }
433
+ }
434
+ ]
435
+ });
436
+ // Annotate the CommonJS export names for ESM import in node:
437
+ 0 && (module.exports = {
438
+ dateInput
439
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ dateInput
3
+ } from "../chunk-7TJINK3S.mjs";
4
+ import "../chunk-GMMETTYU.mjs";
5
+ export {
6
+ dateInput
7
+ };