orange-core-ui 0.1.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 (158) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +246 -0
  3. package/dist/components/accordion/accordion.d.ts +12 -0
  4. package/dist/components/accordion/accordion.d.ts.map +1 -0
  5. package/dist/components/accordion/index.d.ts +2 -0
  6. package/dist/components/accordion/index.d.ts.map +1 -0
  7. package/dist/components/alert/alert.d.ts +9 -0
  8. package/dist/components/alert/alert.d.ts.map +1 -0
  9. package/dist/components/alert/index.d.ts +2 -0
  10. package/dist/components/alert/index.d.ts.map +1 -0
  11. package/dist/components/avatar/avatar.d.ts +10 -0
  12. package/dist/components/avatar/avatar.d.ts.map +1 -0
  13. package/dist/components/avatar/index.d.ts +2 -0
  14. package/dist/components/avatar/index.d.ts.map +1 -0
  15. package/dist/components/badge/badge.d.ts +8 -0
  16. package/dist/components/badge/badge.d.ts.map +1 -0
  17. package/dist/components/badge/index.d.ts +2 -0
  18. package/dist/components/badge/index.d.ts.map +1 -0
  19. package/dist/components/breadcrumbs/breadcrumbs.d.ts +11 -0
  20. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  21. package/dist/components/breadcrumbs/index.d.ts +2 -0
  22. package/dist/components/breadcrumbs/index.d.ts.map +1 -0
  23. package/dist/components/button/button.d.ts +12 -0
  24. package/dist/components/button/button.d.ts.map +1 -0
  25. package/dist/components/button/index.d.ts +2 -0
  26. package/dist/components/button/index.d.ts.map +1 -0
  27. package/dist/components/card/card.d.ts +12 -0
  28. package/dist/components/card/card.d.ts.map +1 -0
  29. package/dist/components/card/index.d.ts +2 -0
  30. package/dist/components/card/index.d.ts.map +1 -0
  31. package/dist/components/checkbox/checkbox.d.ts +8 -0
  32. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  33. package/dist/components/checkbox/index.d.ts +2 -0
  34. package/dist/components/checkbox/index.d.ts.map +1 -0
  35. package/dist/components/divider/divider.d.ts +8 -0
  36. package/dist/components/divider/divider.d.ts.map +1 -0
  37. package/dist/components/divider/index.d.ts +2 -0
  38. package/dist/components/divider/index.d.ts.map +1 -0
  39. package/dist/components/dropdown/dropdown.d.ts +10 -0
  40. package/dist/components/dropdown/dropdown.d.ts.map +1 -0
  41. package/dist/components/dropdown/index.d.ts +2 -0
  42. package/dist/components/dropdown/index.d.ts.map +1 -0
  43. package/dist/components/forms/form-description.d.ts +6 -0
  44. package/dist/components/forms/form-description.d.ts.map +1 -0
  45. package/dist/components/forms/form-field.d.ts +30 -0
  46. package/dist/components/forms/form-field.d.ts.map +1 -0
  47. package/dist/components/forms/form-item.d.ts +6 -0
  48. package/dist/components/forms/form-item.d.ts.map +1 -0
  49. package/dist/components/forms/form-label.d.ts +7 -0
  50. package/dist/components/forms/form-label.d.ts.map +1 -0
  51. package/dist/components/forms/form-message.d.ts +7 -0
  52. package/dist/components/forms/form-message.d.ts.map +1 -0
  53. package/dist/components/forms/form.d.ts +13 -0
  54. package/dist/components/forms/form.d.ts.map +1 -0
  55. package/dist/components/forms/index.d.ts +7 -0
  56. package/dist/components/forms/index.d.ts.map +1 -0
  57. package/dist/components/input/index.d.ts +2 -0
  58. package/dist/components/input/index.d.ts.map +1 -0
  59. package/dist/components/input/input.d.ts +8 -0
  60. package/dist/components/input/input.d.ts.map +1 -0
  61. package/dist/components/layout/container.d.ts +8 -0
  62. package/dist/components/layout/container.d.ts.map +1 -0
  63. package/dist/components/layout/grid.d.ts +12 -0
  64. package/dist/components/layout/grid.d.ts.map +1 -0
  65. package/dist/components/layout/index.d.ts +3 -0
  66. package/dist/components/layout/index.d.ts.map +1 -0
  67. package/dist/components/modal/index.d.ts +2 -0
  68. package/dist/components/modal/index.d.ts.map +1 -0
  69. package/dist/components/modal/modal.d.ts +13 -0
  70. package/dist/components/modal/modal.d.ts.map +1 -0
  71. package/dist/components/navbar/index.d.ts +2 -0
  72. package/dist/components/navbar/index.d.ts.map +1 -0
  73. package/dist/components/navbar/navbar.d.ts +10 -0
  74. package/dist/components/navbar/navbar.d.ts.map +1 -0
  75. package/dist/components/pagination/index.d.ts +2 -0
  76. package/dist/components/pagination/index.d.ts.map +1 -0
  77. package/dist/components/pagination/pagination.d.ts +15 -0
  78. package/dist/components/pagination/pagination.d.ts.map +1 -0
  79. package/dist/components/popover/index.d.ts +2 -0
  80. package/dist/components/popover/index.d.ts.map +1 -0
  81. package/dist/components/popover/popover.d.ts +7 -0
  82. package/dist/components/popover/popover.d.ts.map +1 -0
  83. package/dist/components/progress/index.d.ts +2 -0
  84. package/dist/components/progress/index.d.ts.map +1 -0
  85. package/dist/components/progress/progress.d.ts +9 -0
  86. package/dist/components/progress/progress.d.ts.map +1 -0
  87. package/dist/components/radio/index.d.ts +2 -0
  88. package/dist/components/radio/index.d.ts.map +1 -0
  89. package/dist/components/radio/radio.d.ts +12 -0
  90. package/dist/components/radio/radio.d.ts.map +1 -0
  91. package/dist/components/select/index.d.ts +2 -0
  92. package/dist/components/select/index.d.ts.map +1 -0
  93. package/dist/components/select/select.d.ts +15 -0
  94. package/dist/components/select/select.d.ts.map +1 -0
  95. package/dist/components/separator/index.d.ts +2 -0
  96. package/dist/components/separator/index.d.ts.map +1 -0
  97. package/dist/components/separator/separator.d.ts +8 -0
  98. package/dist/components/separator/separator.d.ts.map +1 -0
  99. package/dist/components/skeleton/index.d.ts +2 -0
  100. package/dist/components/skeleton/index.d.ts.map +1 -0
  101. package/dist/components/skeleton/skeleton.d.ts +9 -0
  102. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  103. package/dist/components/slider/index.d.ts +2 -0
  104. package/dist/components/slider/index.d.ts.map +1 -0
  105. package/dist/components/slider/slider.d.ts +8 -0
  106. package/dist/components/slider/slider.d.ts.map +1 -0
  107. package/dist/components/spinner/index.d.ts +2 -0
  108. package/dist/components/spinner/index.d.ts.map +1 -0
  109. package/dist/components/spinner/spinner.d.ts +8 -0
  110. package/dist/components/spinner/spinner.d.ts.map +1 -0
  111. package/dist/components/switch/index.d.ts +2 -0
  112. package/dist/components/switch/index.d.ts.map +1 -0
  113. package/dist/components/switch/switch.d.ts +8 -0
  114. package/dist/components/switch/switch.d.ts.map +1 -0
  115. package/dist/components/tabs/index.d.ts +2 -0
  116. package/dist/components/tabs/index.d.ts.map +1 -0
  117. package/dist/components/tabs/tabs.d.ts +14 -0
  118. package/dist/components/tabs/tabs.d.ts.map +1 -0
  119. package/dist/components/textarea/index.d.ts +2 -0
  120. package/dist/components/textarea/index.d.ts.map +1 -0
  121. package/dist/components/textarea/textarea.d.ts +8 -0
  122. package/dist/components/textarea/textarea.d.ts.map +1 -0
  123. package/dist/components/tooltip/index.d.ts +2 -0
  124. package/dist/components/tooltip/index.d.ts.map +1 -0
  125. package/dist/components/tooltip/tooltip.d.ts +8 -0
  126. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  127. package/dist/components/typography/index.d.ts +2 -0
  128. package/dist/components/typography/index.d.ts.map +1 -0
  129. package/dist/components/typography/typography.d.ts +8 -0
  130. package/dist/components/typography/typography.d.ts.map +1 -0
  131. package/dist/forms/validators.d.ts +15 -0
  132. package/dist/forms/validators.d.ts.map +1 -0
  133. package/dist/index.cjs +2 -0
  134. package/dist/index.cjs.map +1 -0
  135. package/dist/index.d.ts +37 -0
  136. package/dist/index.d.ts.map +1 -0
  137. package/dist/index.js +4031 -0
  138. package/dist/index.js.map +1 -0
  139. package/dist/styles/globals.css +1 -0
  140. package/dist/test/setup.d.ts +6 -0
  141. package/dist/test/setup.d.ts.map +1 -0
  142. package/dist/tokens/borders.d.ts +53 -0
  143. package/dist/tokens/borders.d.ts.map +1 -0
  144. package/dist/tokens/breakpoints.d.ts +55 -0
  145. package/dist/tokens/breakpoints.d.ts.map +1 -0
  146. package/dist/tokens/colors.d.ts +268 -0
  147. package/dist/tokens/colors.d.ts.map +1 -0
  148. package/dist/tokens/index.d.ts +270 -0
  149. package/dist/tokens/index.d.ts.map +1 -0
  150. package/dist/tokens/shadows.d.ts +20 -0
  151. package/dist/tokens/shadows.d.ts.map +1 -0
  152. package/dist/tokens/spacing.d.ts +29 -0
  153. package/dist/tokens/spacing.d.ts.map +1 -0
  154. package/dist/tokens/typography.d.ts +127 -0
  155. package/dist/tokens/typography.d.ts.map +1 -0
  156. package/dist/utils/cn.d.ts +7 -0
  157. package/dist/utils/cn.d.ts.map +1 -0
  158. package/package.json +106 -0
package/dist/index.js ADDED
@@ -0,0 +1,4031 @@
1
+ import { jsx as n, jsxs as T } from "react/jsx-runtime";
2
+ import * as c from "react";
3
+ import { appendErrors as Le, useForm as Ge, FormProvider as Ee, useFormContext as Be, Controller as Fe } from "react-hook-form";
4
+ import { validateFieldsNatively as We, toNestErrors as He } from "@hookform/resolvers";
5
+ import { z } from "zod";
6
+ import * as ae from "@radix-ui/react-checkbox";
7
+ import * as _ from "@radix-ui/react-radio-group";
8
+ import * as se from "@radix-ui/react-switch";
9
+ import * as C from "@radix-ui/react-select";
10
+ import * as U from "@radix-ui/react-slider";
11
+ import * as G from "@radix-ui/react-tabs";
12
+ import * as L from "@radix-ui/react-accordion";
13
+ import * as q from "@radix-ui/react-popover";
14
+ import * as D from "@radix-ui/react-tooltip";
15
+ import * as ne from "@radix-ui/react-progress";
16
+ import * as Ne from "@radix-ui/react-separator";
17
+ const u = {
18
+ // Orange
19
+ orange: {
20
+ 100: "#ff7900",
21
+ 200: "#f16e00"
22
+ },
23
+ // White, grays and black
24
+ white: {
25
+ 100: "#fff"
26
+ },
27
+ gray: {
28
+ 200: "#eee",
29
+ 300: "#ddd",
30
+ 400: "#ccc",
31
+ 500: "#999",
32
+ 600: "#666",
33
+ 700: "#595959",
34
+ 800: "#333",
35
+ 900: "#141414"
36
+ },
37
+ black: {
38
+ 900: "#000"
39
+ },
40
+ // Forest
41
+ forest: {
42
+ 100: "#6c6",
43
+ 200: "#228722"
44
+ },
45
+ // Fire
46
+ fire: {
47
+ 100: "#ff4d4d",
48
+ 200: "#cd3c14"
49
+ },
50
+ // Water
51
+ water: {
52
+ 100: "#69f",
53
+ 200: "#4170d8"
54
+ },
55
+ // Sun
56
+ sun: {
57
+ 100: "#fc0",
58
+ 200: "#8f7200"
59
+ },
60
+ // Blue
61
+ blue: {
62
+ 100: "#b5e8f7",
63
+ 200: "#80ceef",
64
+ 300: "#4bb4e6",
65
+ 400: "#3e9dd6",
66
+ 500: "#237eca",
67
+ 600: "#085ebd"
68
+ },
69
+ // Green
70
+ green: {
71
+ 100: "#b8ebd6",
72
+ 200: "#84d5af",
73
+ 300: "#50be87",
74
+ 400: "#27a971",
75
+ 500: "#198c51",
76
+ 600: "#0a6e31"
77
+ },
78
+ // Pink
79
+ pink: {
80
+ 100: "#ffe8f7",
81
+ 200: "#ffceef",
82
+ 300: "#ffb4e6",
83
+ 400: "#ff8ad4",
84
+ 500: "#d573bb",
85
+ 600: "#bc4d9a"
86
+ },
87
+ // Purple
88
+ purple: {
89
+ 100: "#d9c2f0",
90
+ 200: "#c1a4e4",
91
+ 300: "#a885d8",
92
+ 400: "#9373bd",
93
+ 500: "#6e4aa7",
94
+ 600: "#492191"
95
+ },
96
+ // Yellow
97
+ yellow: {
98
+ 100: "#fff6b6",
99
+ 200: "#ffe45b",
100
+ 300: "#ffd200",
101
+ 400: "#ffb400",
102
+ 500: "#b98f11",
103
+ 600: "#9d6e06"
104
+ }
105
+ }, $ = {
106
+ green: u.forest[200],
107
+ // #228722
108
+ blue: u.water[200],
109
+ // #4170d8
110
+ yellow: u.sun[100],
111
+ // #fc0
112
+ red: u.fire[200]
113
+ // #cd3c14
114
+ }, Ve = {
115
+ blue: u.blue[300],
116
+ // #4bb4e6
117
+ yellow: u.yellow[300],
118
+ // #ffd200
119
+ green: u.green[300],
120
+ // #50be87
121
+ purple: u.purple[300],
122
+ // #a885d8
123
+ pink: u.pink[300],
124
+ // #ffb4e6
125
+ orange: u.orange[100]
126
+ // #ff7900
127
+ }, ke = {
128
+ primary: u.orange[200],
129
+ // #f16e00
130
+ secondary: u.black[900],
131
+ // #000
132
+ success: $.green,
133
+ // #228722
134
+ info: $.blue,
135
+ // #4170d8
136
+ warning: $.yellow,
137
+ // #fc0
138
+ danger: $.red,
139
+ // #cd3c14
140
+ light: u.gray[500],
141
+ // #999
142
+ dark: u.black[900]
143
+ // #000
144
+ }, Ce = {
145
+ 100: "#fafafa",
146
+ 200: u.gray[200],
147
+ // #eee
148
+ 300: u.gray[300],
149
+ // #ddd
150
+ 400: u.gray[400],
151
+ // #ccc
152
+ 500: u.gray[500],
153
+ // #999
154
+ 600: u.gray[600],
155
+ // #666
156
+ 700: u.gray[700],
157
+ // #595959
158
+ 800: u.gray[800],
159
+ // #333
160
+ 900: u.gray[900],
161
+ // #141414
162
+ 950: u.gray[900]
163
+ // #141414
164
+ }, Ue = {
165
+ white: u.white[100],
166
+ black: u.black[900],
167
+ body: {
168
+ color: u.black[900],
169
+ bg: u.white[100],
170
+ secondaryColor: u.gray[700],
171
+ secondaryBg: u.gray[300],
172
+ tertiaryColor: u.gray[500],
173
+ tertiaryBg: Ce[100],
174
+ emphasisColor: u.black[900]
175
+ },
176
+ link: {
177
+ color: u.black[900],
178
+ hoverColor: ke.primary
179
+ },
180
+ border: {
181
+ color: u.black[900],
182
+ colorSubtle: u.gray[500],
183
+ colorTranslucent: "rgba(0, 0, 0, 0.175)"
184
+ }
185
+ }, $e = {
186
+ ...u,
187
+ functional: $,
188
+ supporting: Ve,
189
+ theme: ke,
190
+ gray: Ce,
191
+ semantic: Ue
192
+ }, _e = "1.25rem", qe = {
193
+ 0: "0",
194
+ 1: "0.3125rem",
195
+ // spacer * 0.25 = 5px
196
+ 2: "0.625rem",
197
+ // spacer * 0.5 = 10px
198
+ 3: "1.25rem",
199
+ // spacer = 20px
200
+ 4: "1.875rem",
201
+ // spacer * 1.5 = 30px
202
+ 5: "3.75rem"
203
+ // spacer * 3 = 60px
204
+ }, De = "2.75rem", Re = _e, Oe = Re, Xe = {
205
+ ...qe,
206
+ targetSize: De,
207
+ gridGutter: Re,
208
+ containerPadding: Oe
209
+ }, fe = {
210
+ sansSerif: [
211
+ "HelvNeueOrange",
212
+ "Helvetica Neue",
213
+ "Helvetica",
214
+ "Noto Sans",
215
+ "Liberation Sans",
216
+ "Arial",
217
+ "sans-serif",
218
+ "Apple Color Emoji",
219
+ "Segoe UI Emoji",
220
+ "Segoe UI Symbol",
221
+ "Noto Color Emoji"
222
+ ].join(", "),
223
+ monospace: [
224
+ "SFMono-Regular",
225
+ "Menlo",
226
+ "Monaco",
227
+ "Consolas",
228
+ "Liberation Mono",
229
+ "Courier New",
230
+ "monospace"
231
+ ].join(", ")
232
+ }, Z = {
233
+ root: null,
234
+ // Browser default
235
+ base: "1rem",
236
+ // 16px
237
+ sm: "0.875rem",
238
+ // 14px (base * 0.875)
239
+ lg: "1.125rem",
240
+ // 18px (base * 1.125)
241
+ xlg: "1.25rem"
242
+ // 20px (base * 1.25)
243
+ }, Se = {
244
+ h1: "2.125rem",
245
+ // 34px (base * 2.125)
246
+ h2: "1.875rem",
247
+ // 30px (base * 1.875)
248
+ h3: "1.5rem",
249
+ // 24px (base * 1.5)
250
+ h4: Z.xlg,
251
+ // 20px
252
+ h5: Z.lg,
253
+ // 18px
254
+ h6: Z.base
255
+ // 16px
256
+ }, Je = {
257
+ display1: "3.75rem",
258
+ // 60px (xlg * 3)
259
+ display2: "3.125rem",
260
+ // 50px (xlg * 2.5)
261
+ display3: "2.5rem",
262
+ // 40px (xlg * 2)
263
+ display4: Se.h1
264
+ // 34px
265
+ }, he = "calc(18 / 16)", ve = "1", Ze = {
266
+ base: he,
267
+ sm: "calc(16 / 14)",
268
+ // ~1.143
269
+ lg: "calc(30 / 16)",
270
+ // 1.875
271
+ h1: ve,
272
+ h2: "calc(32 / 30)",
273
+ // ~1.067
274
+ h3: "calc(26 / 24)",
275
+ // ~1.083
276
+ h4: "calc(22 / 20)",
277
+ // 1.1
278
+ h5: "calc(20 / 18)",
279
+ // ~1.111
280
+ h6: he,
281
+ display: ve,
282
+ lead: "1.5"
283
+ }, xe = "-0.00625rem", te = "-0.0625rem", Ke = {
284
+ base: xe,
285
+ h1: te,
286
+ h2: "-0.05rem",
287
+ // -0.8px (base * 8)
288
+ mid: "-0.0375rem",
289
+ // -0.6px (base * 6)
290
+ h3: "-0.03125rem",
291
+ // -0.5px (base * 5)
292
+ h4: "-0.025rem",
293
+ // -0.4px (base * 4)
294
+ h5: "-0.0125rem",
295
+ // -0.2px (base * 2)
296
+ h6: xe,
297
+ display1: "-0.125rem",
298
+ // -2px (base * 20)
299
+ display2: "-0.1rem",
300
+ // -1.6px (base * 16)
301
+ display3: te,
302
+ display4: te,
303
+ lead: "-0.025rem"
304
+ // -0.4px (base * 4)
305
+ }, Qe = {
306
+ light: "300",
307
+ normal: "400",
308
+ medium: "500",
309
+ semibold: "600",
310
+ bold: "700"
311
+ }, Ye = {
312
+ fontFamily: {
313
+ sans: fe.sansSerif,
314
+ mono: fe.monospace
315
+ },
316
+ fontSize: Z,
317
+ heading: Se,
318
+ display: Je,
319
+ lineHeight: Ze,
320
+ letterSpacing: Ke,
321
+ fontWeight: Qe
322
+ }, ze = "0.125rem", er = {
323
+ 1: "0.0625rem",
324
+ // 1px (width * 0.5)
325
+ 2: ze,
326
+ // 2px
327
+ 3: "0.1875rem",
328
+ // 3px (width * 1.5)
329
+ 4: "0.25rem",
330
+ // 4px (width * 2)
331
+ 5: "0.3125rem"
332
+ // 5px (width * 2.5)
333
+ }, rr = "solid", tr = {
334
+ none: "0",
335
+ sm: "0.25rem",
336
+ // 4px
337
+ base: "0.375rem",
338
+ // 6px
339
+ lg: "0.5rem",
340
+ // 8px
341
+ xl: "1rem",
342
+ // 16px
343
+ xxl: "2rem",
344
+ // 32px
345
+ pill: "50rem"
346
+ // Very large for pill shape
347
+ }, or = {
348
+ default: "#000",
349
+ // black
350
+ subtle: "#999",
351
+ // gray-500
352
+ translucent: "rgba(0, 0, 0, 0.175)"
353
+ }, ar = {
354
+ width: ze,
355
+ widths: er,
356
+ style: rr,
357
+ radius: tr,
358
+ color: or
359
+ }, sr = {
360
+ none: "none",
361
+ sm: null,
362
+ // No small shadow in Boosted
363
+ base: null,
364
+ // No default shadow in Boosted
365
+ lg: null,
366
+ // No large shadow in Boosted
367
+ inset: null
368
+ // No inset shadow in Boosted
369
+ }, nr = sr, ir = {
370
+ xs: "0",
371
+ sm: "480px",
372
+ md: "768px",
373
+ lg: "1024px",
374
+ xl: "1280px",
375
+ xxl: "1440px"
376
+ }, lr = {
377
+ xs: "312px",
378
+ sm: "468px",
379
+ md: "744px",
380
+ lg: "960px",
381
+ xl: "1200px",
382
+ xxl: "1320px"
383
+ }, cr = {
384
+ xs: "4px",
385
+ sm: "6px",
386
+ md: "12px",
387
+ lg: "32px",
388
+ xl: "40px",
389
+ xxl: "60px"
390
+ }, dr = {
391
+ breakpoints: ir,
392
+ containerMaxWidths: lr,
393
+ containerFluidMargins: cr
394
+ }, Qt = {
395
+ colors: $e,
396
+ spacing: Xe,
397
+ typography: Ye,
398
+ borders: ar,
399
+ shadows: nr,
400
+ responsive: dr
401
+ };
402
+ function Me(e) {
403
+ var r, t, o = "";
404
+ if (typeof e == "string" || typeof e == "number") o += e;
405
+ else if (typeof e == "object") if (Array.isArray(e)) {
406
+ var a = e.length;
407
+ for (r = 0; r < a; r++) e[r] && (t = Me(e[r])) && (o && (o += " "), o += t);
408
+ } else for (t in e) e[t] && (o && (o += " "), o += t);
409
+ return o;
410
+ }
411
+ function br() {
412
+ for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = Me(e)) && (o && (o += " "), o += r);
413
+ return o;
414
+ }
415
+ const le = "-", pr = (e) => {
416
+ const r = gr(e), {
417
+ conflictingClassGroups: t,
418
+ conflictingClassGroupModifiers: o
419
+ } = e;
420
+ return {
421
+ getClassGroupId: (i) => {
422
+ const l = i.split(le);
423
+ return l[0] === "" && l.length !== 1 && l.shift(), Ie(l, r) || mr(i);
424
+ },
425
+ getConflictingClassGroupIds: (i, l) => {
426
+ const b = t[i] || [];
427
+ return l && o[i] ? [...b, ...o[i]] : b;
428
+ }
429
+ };
430
+ }, Ie = (e, r) => {
431
+ var i;
432
+ if (e.length === 0)
433
+ return r.classGroupId;
434
+ const t = e[0], o = r.nextPart.get(t), a = o ? Ie(e.slice(1), o) : void 0;
435
+ if (a)
436
+ return a;
437
+ if (r.validators.length === 0)
438
+ return;
439
+ const s = e.join(le);
440
+ return (i = r.validators.find(({
441
+ validator: l
442
+ }) => l(s))) == null ? void 0 : i.classGroupId;
443
+ }, ye = /^\[(.+)\]$/, mr = (e) => {
444
+ if (ye.test(e)) {
445
+ const r = ye.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
446
+ if (t)
447
+ return "arbitrary.." + t;
448
+ }
449
+ }, gr = (e) => {
450
+ const {
451
+ theme: r,
452
+ prefix: t
453
+ } = e, o = {
454
+ nextPart: /* @__PURE__ */ new Map(),
455
+ validators: []
456
+ };
457
+ return fr(Object.entries(e.classGroups), t).forEach(([s, i]) => {
458
+ ie(i, o, s, r);
459
+ }), o;
460
+ }, ie = (e, r, t, o) => {
461
+ e.forEach((a) => {
462
+ if (typeof a == "string") {
463
+ const s = a === "" ? r : we(r, a);
464
+ s.classGroupId = t;
465
+ return;
466
+ }
467
+ if (typeof a == "function") {
468
+ if (ur(a)) {
469
+ ie(a(o), r, t, o);
470
+ return;
471
+ }
472
+ r.validators.push({
473
+ validator: a,
474
+ classGroupId: t
475
+ });
476
+ return;
477
+ }
478
+ Object.entries(a).forEach(([s, i]) => {
479
+ ie(i, we(r, s), t, o);
480
+ });
481
+ });
482
+ }, we = (e, r) => {
483
+ let t = e;
484
+ return r.split(le).forEach((o) => {
485
+ t.nextPart.has(o) || t.nextPart.set(o, {
486
+ nextPart: /* @__PURE__ */ new Map(),
487
+ validators: []
488
+ }), t = t.nextPart.get(o);
489
+ }), t;
490
+ }, ur = (e) => e.isThemeGetter, fr = (e, r) => r ? e.map(([t, o]) => {
491
+ const a = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([i, l]) => [r + i, l])) : s);
492
+ return [t, a];
493
+ }) : e, hr = (e) => {
494
+ if (e < 1)
495
+ return {
496
+ get: () => {
497
+ },
498
+ set: () => {
499
+ }
500
+ };
501
+ let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
502
+ const a = (s, i) => {
503
+ t.set(s, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
504
+ };
505
+ return {
506
+ get(s) {
507
+ let i = t.get(s);
508
+ if (i !== void 0)
509
+ return i;
510
+ if ((i = o.get(s)) !== void 0)
511
+ return a(s, i), i;
512
+ },
513
+ set(s, i) {
514
+ t.has(s) ? t.set(s, i) : a(s, i);
515
+ }
516
+ };
517
+ }, Te = "!", vr = (e) => {
518
+ const {
519
+ separator: r,
520
+ experimentalParseClassName: t
521
+ } = e, o = r.length === 1, a = r[0], s = r.length, i = (l) => {
522
+ const b = [];
523
+ let g = 0, p = 0, f;
524
+ for (let y = 0; y < l.length; y++) {
525
+ let k = l[y];
526
+ if (g === 0) {
527
+ if (k === a && (o || l.slice(y, y + s) === r)) {
528
+ b.push(l.slice(p, y)), p = y + s;
529
+ continue;
530
+ }
531
+ if (k === "/") {
532
+ f = y;
533
+ continue;
534
+ }
535
+ }
536
+ k === "[" ? g++ : k === "]" && g--;
537
+ }
538
+ const h = b.length === 0 ? l : l.substring(p), w = h.startsWith(Te), R = w ? h.substring(1) : h, N = f && f > p ? f - p : void 0;
539
+ return {
540
+ modifiers: b,
541
+ hasImportantModifier: w,
542
+ baseClassName: R,
543
+ maybePostfixModifierPosition: N
544
+ };
545
+ };
546
+ return t ? (l) => t({
547
+ className: l,
548
+ parseClassName: i
549
+ }) : i;
550
+ }, xr = (e) => {
551
+ if (e.length <= 1)
552
+ return e;
553
+ const r = [];
554
+ let t = [];
555
+ return e.forEach((o) => {
556
+ o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
557
+ }), r.push(...t.sort()), r;
558
+ }, yr = (e) => ({
559
+ cache: hr(e.cacheSize),
560
+ parseClassName: vr(e),
561
+ ...pr(e)
562
+ }), wr = /\s+/, Nr = (e, r) => {
563
+ const {
564
+ parseClassName: t,
565
+ getClassGroupId: o,
566
+ getConflictingClassGroupIds: a
567
+ } = r, s = [], i = e.trim().split(wr);
568
+ let l = "";
569
+ for (let b = i.length - 1; b >= 0; b -= 1) {
570
+ const g = i[b], {
571
+ modifiers: p,
572
+ hasImportantModifier: f,
573
+ baseClassName: h,
574
+ maybePostfixModifierPosition: w
575
+ } = t(g);
576
+ let R = !!w, N = o(R ? h.substring(0, w) : h);
577
+ if (!N) {
578
+ if (!R) {
579
+ l = g + (l.length > 0 ? " " + l : l);
580
+ continue;
581
+ }
582
+ if (N = o(h), !N) {
583
+ l = g + (l.length > 0 ? " " + l : l);
584
+ continue;
585
+ }
586
+ R = !1;
587
+ }
588
+ const y = xr(p).join(":"), k = f ? y + Te : y, S = k + N;
589
+ if (s.includes(S))
590
+ continue;
591
+ s.push(S);
592
+ const F = a(N, R);
593
+ for (let j = 0; j < F.length; ++j) {
594
+ const O = F[j];
595
+ s.push(k + O);
596
+ }
597
+ l = g + (l.length > 0 ? " " + l : l);
598
+ }
599
+ return l;
600
+ };
601
+ function kr() {
602
+ let e = 0, r, t, o = "";
603
+ for (; e < arguments.length; )
604
+ (r = arguments[e++]) && (t = Ae(r)) && (o && (o += " "), o += t);
605
+ return o;
606
+ }
607
+ const Ae = (e) => {
608
+ if (typeof e == "string")
609
+ return e;
610
+ let r, t = "";
611
+ for (let o = 0; o < e.length; o++)
612
+ e[o] && (r = Ae(e[o])) && (t && (t += " "), t += r);
613
+ return t;
614
+ };
615
+ function Cr(e, ...r) {
616
+ let t, o, a, s = i;
617
+ function i(b) {
618
+ const g = r.reduce((p, f) => f(p), e());
619
+ return t = yr(g), o = t.cache.get, a = t.cache.set, s = l, l(b);
620
+ }
621
+ function l(b) {
622
+ const g = o(b);
623
+ if (g)
624
+ return g;
625
+ const p = Nr(b, t);
626
+ return a(b, p), p;
627
+ }
628
+ return function() {
629
+ return s(kr.apply(null, arguments));
630
+ };
631
+ }
632
+ const v = (e) => {
633
+ const r = (t) => t[e] || [];
634
+ return r.isThemeGetter = !0, r;
635
+ }, Pe = /^\[(?:([a-z-]+):)?(.+)\]$/i, Rr = /^\d+\/\d+$/, Sr = /* @__PURE__ */ new Set(["px", "full", "screen"]), zr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Mr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Tr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ar = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, I = (e) => E(e) || Sr.has(e) || Rr.test(e), A = (e) => B(e, "length", Wr), E = (e) => !!e && !Number.isNaN(Number(e)), oe = (e) => B(e, "number", E), H = (e) => !!e && Number.isInteger(Number(e)), Pr = (e) => e.endsWith("%") && E(e.slice(0, -1)), m = (e) => Pe.test(e), P = (e) => zr.test(e), jr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Lr = (e) => B(e, jr, je), Gr = (e) => B(e, "position", je), Er = /* @__PURE__ */ new Set(["image", "url"]), Br = (e) => B(e, Er, Vr), Fr = (e) => B(e, "", Hr), V = () => !0, B = (e, r, t) => {
636
+ const o = Pe.exec(e);
637
+ return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
638
+ }, Wr = (e) => (
639
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
640
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
641
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
642
+ Mr.test(e) && !Ir.test(e)
643
+ ), je = () => !1, Hr = (e) => Tr.test(e), Vr = (e) => Ar.test(e), Ur = () => {
644
+ const e = v("colors"), r = v("spacing"), t = v("blur"), o = v("brightness"), a = v("borderColor"), s = v("borderRadius"), i = v("borderSpacing"), l = v("borderWidth"), b = v("contrast"), g = v("grayscale"), p = v("hueRotate"), f = v("invert"), h = v("gap"), w = v("gradientColorStops"), R = v("gradientColorStopPositions"), N = v("inset"), y = v("margin"), k = v("opacity"), S = v("padding"), F = v("saturate"), j = v("scale"), O = v("sepia"), ce = v("skew"), de = v("space"), be = v("translate"), Q = () => ["auto", "contain", "none"], Y = () => ["auto", "hidden", "clip", "visible", "scroll"], ee = () => ["auto", m, r], x = () => [m, r], pe = () => ["", I, A], X = () => ["auto", E, m], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], J = () => ["solid", "dashed", "dotted", "double", "none"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], W = () => ["", "0", m], ue = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [E, m];
645
+ return {
646
+ cacheSize: 500,
647
+ separator: ":",
648
+ theme: {
649
+ colors: [V],
650
+ spacing: [I, A],
651
+ blur: ["none", "", P, m],
652
+ brightness: M(),
653
+ borderColor: [e],
654
+ borderRadius: ["none", "", "full", P, m],
655
+ borderSpacing: x(),
656
+ borderWidth: pe(),
657
+ contrast: M(),
658
+ grayscale: W(),
659
+ hueRotate: M(),
660
+ invert: W(),
661
+ gap: x(),
662
+ gradientColorStops: [e],
663
+ gradientColorStopPositions: [Pr, A],
664
+ inset: ee(),
665
+ margin: ee(),
666
+ opacity: M(),
667
+ padding: x(),
668
+ saturate: M(),
669
+ scale: M(),
670
+ sepia: W(),
671
+ skew: M(),
672
+ space: x(),
673
+ translate: x()
674
+ },
675
+ classGroups: {
676
+ // Layout
677
+ /**
678
+ * Aspect Ratio
679
+ * @see https://tailwindcss.com/docs/aspect-ratio
680
+ */
681
+ aspect: [{
682
+ aspect: ["auto", "square", "video", m]
683
+ }],
684
+ /**
685
+ * Container
686
+ * @see https://tailwindcss.com/docs/container
687
+ */
688
+ container: ["container"],
689
+ /**
690
+ * Columns
691
+ * @see https://tailwindcss.com/docs/columns
692
+ */
693
+ columns: [{
694
+ columns: [P]
695
+ }],
696
+ /**
697
+ * Break After
698
+ * @see https://tailwindcss.com/docs/break-after
699
+ */
700
+ "break-after": [{
701
+ "break-after": ue()
702
+ }],
703
+ /**
704
+ * Break Before
705
+ * @see https://tailwindcss.com/docs/break-before
706
+ */
707
+ "break-before": [{
708
+ "break-before": ue()
709
+ }],
710
+ /**
711
+ * Break Inside
712
+ * @see https://tailwindcss.com/docs/break-inside
713
+ */
714
+ "break-inside": [{
715
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
716
+ }],
717
+ /**
718
+ * Box Decoration Break
719
+ * @see https://tailwindcss.com/docs/box-decoration-break
720
+ */
721
+ "box-decoration": [{
722
+ "box-decoration": ["slice", "clone"]
723
+ }],
724
+ /**
725
+ * Box Sizing
726
+ * @see https://tailwindcss.com/docs/box-sizing
727
+ */
728
+ box: [{
729
+ box: ["border", "content"]
730
+ }],
731
+ /**
732
+ * Display
733
+ * @see https://tailwindcss.com/docs/display
734
+ */
735
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
736
+ /**
737
+ * Floats
738
+ * @see https://tailwindcss.com/docs/float
739
+ */
740
+ float: [{
741
+ float: ["right", "left", "none", "start", "end"]
742
+ }],
743
+ /**
744
+ * Clear
745
+ * @see https://tailwindcss.com/docs/clear
746
+ */
747
+ clear: [{
748
+ clear: ["left", "right", "both", "none", "start", "end"]
749
+ }],
750
+ /**
751
+ * Isolation
752
+ * @see https://tailwindcss.com/docs/isolation
753
+ */
754
+ isolation: ["isolate", "isolation-auto"],
755
+ /**
756
+ * Object Fit
757
+ * @see https://tailwindcss.com/docs/object-fit
758
+ */
759
+ "object-fit": [{
760
+ object: ["contain", "cover", "fill", "none", "scale-down"]
761
+ }],
762
+ /**
763
+ * Object Position
764
+ * @see https://tailwindcss.com/docs/object-position
765
+ */
766
+ "object-position": [{
767
+ object: [...me(), m]
768
+ }],
769
+ /**
770
+ * Overflow
771
+ * @see https://tailwindcss.com/docs/overflow
772
+ */
773
+ overflow: [{
774
+ overflow: Y()
775
+ }],
776
+ /**
777
+ * Overflow X
778
+ * @see https://tailwindcss.com/docs/overflow
779
+ */
780
+ "overflow-x": [{
781
+ "overflow-x": Y()
782
+ }],
783
+ /**
784
+ * Overflow Y
785
+ * @see https://tailwindcss.com/docs/overflow
786
+ */
787
+ "overflow-y": [{
788
+ "overflow-y": Y()
789
+ }],
790
+ /**
791
+ * Overscroll Behavior
792
+ * @see https://tailwindcss.com/docs/overscroll-behavior
793
+ */
794
+ overscroll: [{
795
+ overscroll: Q()
796
+ }],
797
+ /**
798
+ * Overscroll Behavior X
799
+ * @see https://tailwindcss.com/docs/overscroll-behavior
800
+ */
801
+ "overscroll-x": [{
802
+ "overscroll-x": Q()
803
+ }],
804
+ /**
805
+ * Overscroll Behavior Y
806
+ * @see https://tailwindcss.com/docs/overscroll-behavior
807
+ */
808
+ "overscroll-y": [{
809
+ "overscroll-y": Q()
810
+ }],
811
+ /**
812
+ * Position
813
+ * @see https://tailwindcss.com/docs/position
814
+ */
815
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
816
+ /**
817
+ * Top / Right / Bottom / Left
818
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
819
+ */
820
+ inset: [{
821
+ inset: [N]
822
+ }],
823
+ /**
824
+ * Right / Left
825
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
826
+ */
827
+ "inset-x": [{
828
+ "inset-x": [N]
829
+ }],
830
+ /**
831
+ * Top / Bottom
832
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
833
+ */
834
+ "inset-y": [{
835
+ "inset-y": [N]
836
+ }],
837
+ /**
838
+ * Start
839
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
840
+ */
841
+ start: [{
842
+ start: [N]
843
+ }],
844
+ /**
845
+ * End
846
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
847
+ */
848
+ end: [{
849
+ end: [N]
850
+ }],
851
+ /**
852
+ * Top
853
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
854
+ */
855
+ top: [{
856
+ top: [N]
857
+ }],
858
+ /**
859
+ * Right
860
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
861
+ */
862
+ right: [{
863
+ right: [N]
864
+ }],
865
+ /**
866
+ * Bottom
867
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
868
+ */
869
+ bottom: [{
870
+ bottom: [N]
871
+ }],
872
+ /**
873
+ * Left
874
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
875
+ */
876
+ left: [{
877
+ left: [N]
878
+ }],
879
+ /**
880
+ * Visibility
881
+ * @see https://tailwindcss.com/docs/visibility
882
+ */
883
+ visibility: ["visible", "invisible", "collapse"],
884
+ /**
885
+ * Z-Index
886
+ * @see https://tailwindcss.com/docs/z-index
887
+ */
888
+ z: [{
889
+ z: ["auto", H, m]
890
+ }],
891
+ // Flexbox and Grid
892
+ /**
893
+ * Flex Basis
894
+ * @see https://tailwindcss.com/docs/flex-basis
895
+ */
896
+ basis: [{
897
+ basis: ee()
898
+ }],
899
+ /**
900
+ * Flex Direction
901
+ * @see https://tailwindcss.com/docs/flex-direction
902
+ */
903
+ "flex-direction": [{
904
+ flex: ["row", "row-reverse", "col", "col-reverse"]
905
+ }],
906
+ /**
907
+ * Flex Wrap
908
+ * @see https://tailwindcss.com/docs/flex-wrap
909
+ */
910
+ "flex-wrap": [{
911
+ flex: ["wrap", "wrap-reverse", "nowrap"]
912
+ }],
913
+ /**
914
+ * Flex
915
+ * @see https://tailwindcss.com/docs/flex
916
+ */
917
+ flex: [{
918
+ flex: ["1", "auto", "initial", "none", m]
919
+ }],
920
+ /**
921
+ * Flex Grow
922
+ * @see https://tailwindcss.com/docs/flex-grow
923
+ */
924
+ grow: [{
925
+ grow: W()
926
+ }],
927
+ /**
928
+ * Flex Shrink
929
+ * @see https://tailwindcss.com/docs/flex-shrink
930
+ */
931
+ shrink: [{
932
+ shrink: W()
933
+ }],
934
+ /**
935
+ * Order
936
+ * @see https://tailwindcss.com/docs/order
937
+ */
938
+ order: [{
939
+ order: ["first", "last", "none", H, m]
940
+ }],
941
+ /**
942
+ * Grid Template Columns
943
+ * @see https://tailwindcss.com/docs/grid-template-columns
944
+ */
945
+ "grid-cols": [{
946
+ "grid-cols": [V]
947
+ }],
948
+ /**
949
+ * Grid Column Start / End
950
+ * @see https://tailwindcss.com/docs/grid-column
951
+ */
952
+ "col-start-end": [{
953
+ col: ["auto", {
954
+ span: ["full", H, m]
955
+ }, m]
956
+ }],
957
+ /**
958
+ * Grid Column Start
959
+ * @see https://tailwindcss.com/docs/grid-column
960
+ */
961
+ "col-start": [{
962
+ "col-start": X()
963
+ }],
964
+ /**
965
+ * Grid Column End
966
+ * @see https://tailwindcss.com/docs/grid-column
967
+ */
968
+ "col-end": [{
969
+ "col-end": X()
970
+ }],
971
+ /**
972
+ * Grid Template Rows
973
+ * @see https://tailwindcss.com/docs/grid-template-rows
974
+ */
975
+ "grid-rows": [{
976
+ "grid-rows": [V]
977
+ }],
978
+ /**
979
+ * Grid Row Start / End
980
+ * @see https://tailwindcss.com/docs/grid-row
981
+ */
982
+ "row-start-end": [{
983
+ row: ["auto", {
984
+ span: [H, m]
985
+ }, m]
986
+ }],
987
+ /**
988
+ * Grid Row Start
989
+ * @see https://tailwindcss.com/docs/grid-row
990
+ */
991
+ "row-start": [{
992
+ "row-start": X()
993
+ }],
994
+ /**
995
+ * Grid Row End
996
+ * @see https://tailwindcss.com/docs/grid-row
997
+ */
998
+ "row-end": [{
999
+ "row-end": X()
1000
+ }],
1001
+ /**
1002
+ * Grid Auto Flow
1003
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1004
+ */
1005
+ "grid-flow": [{
1006
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1007
+ }],
1008
+ /**
1009
+ * Grid Auto Columns
1010
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1011
+ */
1012
+ "auto-cols": [{
1013
+ "auto-cols": ["auto", "min", "max", "fr", m]
1014
+ }],
1015
+ /**
1016
+ * Grid Auto Rows
1017
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1018
+ */
1019
+ "auto-rows": [{
1020
+ "auto-rows": ["auto", "min", "max", "fr", m]
1021
+ }],
1022
+ /**
1023
+ * Gap
1024
+ * @see https://tailwindcss.com/docs/gap
1025
+ */
1026
+ gap: [{
1027
+ gap: [h]
1028
+ }],
1029
+ /**
1030
+ * Gap X
1031
+ * @see https://tailwindcss.com/docs/gap
1032
+ */
1033
+ "gap-x": [{
1034
+ "gap-x": [h]
1035
+ }],
1036
+ /**
1037
+ * Gap Y
1038
+ * @see https://tailwindcss.com/docs/gap
1039
+ */
1040
+ "gap-y": [{
1041
+ "gap-y": [h]
1042
+ }],
1043
+ /**
1044
+ * Justify Content
1045
+ * @see https://tailwindcss.com/docs/justify-content
1046
+ */
1047
+ "justify-content": [{
1048
+ justify: ["normal", ...re()]
1049
+ }],
1050
+ /**
1051
+ * Justify Items
1052
+ * @see https://tailwindcss.com/docs/justify-items
1053
+ */
1054
+ "justify-items": [{
1055
+ "justify-items": ["start", "end", "center", "stretch"]
1056
+ }],
1057
+ /**
1058
+ * Justify Self
1059
+ * @see https://tailwindcss.com/docs/justify-self
1060
+ */
1061
+ "justify-self": [{
1062
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
1063
+ }],
1064
+ /**
1065
+ * Align Content
1066
+ * @see https://tailwindcss.com/docs/align-content
1067
+ */
1068
+ "align-content": [{
1069
+ content: ["normal", ...re(), "baseline"]
1070
+ }],
1071
+ /**
1072
+ * Align Items
1073
+ * @see https://tailwindcss.com/docs/align-items
1074
+ */
1075
+ "align-items": [{
1076
+ items: ["start", "end", "center", "baseline", "stretch"]
1077
+ }],
1078
+ /**
1079
+ * Align Self
1080
+ * @see https://tailwindcss.com/docs/align-self
1081
+ */
1082
+ "align-self": [{
1083
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
1084
+ }],
1085
+ /**
1086
+ * Place Content
1087
+ * @see https://tailwindcss.com/docs/place-content
1088
+ */
1089
+ "place-content": [{
1090
+ "place-content": [...re(), "baseline"]
1091
+ }],
1092
+ /**
1093
+ * Place Items
1094
+ * @see https://tailwindcss.com/docs/place-items
1095
+ */
1096
+ "place-items": [{
1097
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
1098
+ }],
1099
+ /**
1100
+ * Place Self
1101
+ * @see https://tailwindcss.com/docs/place-self
1102
+ */
1103
+ "place-self": [{
1104
+ "place-self": ["auto", "start", "end", "center", "stretch"]
1105
+ }],
1106
+ // Spacing
1107
+ /**
1108
+ * Padding
1109
+ * @see https://tailwindcss.com/docs/padding
1110
+ */
1111
+ p: [{
1112
+ p: [S]
1113
+ }],
1114
+ /**
1115
+ * Padding X
1116
+ * @see https://tailwindcss.com/docs/padding
1117
+ */
1118
+ px: [{
1119
+ px: [S]
1120
+ }],
1121
+ /**
1122
+ * Padding Y
1123
+ * @see https://tailwindcss.com/docs/padding
1124
+ */
1125
+ py: [{
1126
+ py: [S]
1127
+ }],
1128
+ /**
1129
+ * Padding Start
1130
+ * @see https://tailwindcss.com/docs/padding
1131
+ */
1132
+ ps: [{
1133
+ ps: [S]
1134
+ }],
1135
+ /**
1136
+ * Padding End
1137
+ * @see https://tailwindcss.com/docs/padding
1138
+ */
1139
+ pe: [{
1140
+ pe: [S]
1141
+ }],
1142
+ /**
1143
+ * Padding Top
1144
+ * @see https://tailwindcss.com/docs/padding
1145
+ */
1146
+ pt: [{
1147
+ pt: [S]
1148
+ }],
1149
+ /**
1150
+ * Padding Right
1151
+ * @see https://tailwindcss.com/docs/padding
1152
+ */
1153
+ pr: [{
1154
+ pr: [S]
1155
+ }],
1156
+ /**
1157
+ * Padding Bottom
1158
+ * @see https://tailwindcss.com/docs/padding
1159
+ */
1160
+ pb: [{
1161
+ pb: [S]
1162
+ }],
1163
+ /**
1164
+ * Padding Left
1165
+ * @see https://tailwindcss.com/docs/padding
1166
+ */
1167
+ pl: [{
1168
+ pl: [S]
1169
+ }],
1170
+ /**
1171
+ * Margin
1172
+ * @see https://tailwindcss.com/docs/margin
1173
+ */
1174
+ m: [{
1175
+ m: [y]
1176
+ }],
1177
+ /**
1178
+ * Margin X
1179
+ * @see https://tailwindcss.com/docs/margin
1180
+ */
1181
+ mx: [{
1182
+ mx: [y]
1183
+ }],
1184
+ /**
1185
+ * Margin Y
1186
+ * @see https://tailwindcss.com/docs/margin
1187
+ */
1188
+ my: [{
1189
+ my: [y]
1190
+ }],
1191
+ /**
1192
+ * Margin Start
1193
+ * @see https://tailwindcss.com/docs/margin
1194
+ */
1195
+ ms: [{
1196
+ ms: [y]
1197
+ }],
1198
+ /**
1199
+ * Margin End
1200
+ * @see https://tailwindcss.com/docs/margin
1201
+ */
1202
+ me: [{
1203
+ me: [y]
1204
+ }],
1205
+ /**
1206
+ * Margin Top
1207
+ * @see https://tailwindcss.com/docs/margin
1208
+ */
1209
+ mt: [{
1210
+ mt: [y]
1211
+ }],
1212
+ /**
1213
+ * Margin Right
1214
+ * @see https://tailwindcss.com/docs/margin
1215
+ */
1216
+ mr: [{
1217
+ mr: [y]
1218
+ }],
1219
+ /**
1220
+ * Margin Bottom
1221
+ * @see https://tailwindcss.com/docs/margin
1222
+ */
1223
+ mb: [{
1224
+ mb: [y]
1225
+ }],
1226
+ /**
1227
+ * Margin Left
1228
+ * @see https://tailwindcss.com/docs/margin
1229
+ */
1230
+ ml: [{
1231
+ ml: [y]
1232
+ }],
1233
+ /**
1234
+ * Space Between X
1235
+ * @see https://tailwindcss.com/docs/space
1236
+ */
1237
+ "space-x": [{
1238
+ "space-x": [de]
1239
+ }],
1240
+ /**
1241
+ * Space Between X Reverse
1242
+ * @see https://tailwindcss.com/docs/space
1243
+ */
1244
+ "space-x-reverse": ["space-x-reverse"],
1245
+ /**
1246
+ * Space Between Y
1247
+ * @see https://tailwindcss.com/docs/space
1248
+ */
1249
+ "space-y": [{
1250
+ "space-y": [de]
1251
+ }],
1252
+ /**
1253
+ * Space Between Y Reverse
1254
+ * @see https://tailwindcss.com/docs/space
1255
+ */
1256
+ "space-y-reverse": ["space-y-reverse"],
1257
+ // Sizing
1258
+ /**
1259
+ * Width
1260
+ * @see https://tailwindcss.com/docs/width
1261
+ */
1262
+ w: [{
1263
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", m, r]
1264
+ }],
1265
+ /**
1266
+ * Min-Width
1267
+ * @see https://tailwindcss.com/docs/min-width
1268
+ */
1269
+ "min-w": [{
1270
+ "min-w": [m, r, "min", "max", "fit"]
1271
+ }],
1272
+ /**
1273
+ * Max-Width
1274
+ * @see https://tailwindcss.com/docs/max-width
1275
+ */
1276
+ "max-w": [{
1277
+ "max-w": [m, r, "none", "full", "min", "max", "fit", "prose", {
1278
+ screen: [P]
1279
+ }, P]
1280
+ }],
1281
+ /**
1282
+ * Height
1283
+ * @see https://tailwindcss.com/docs/height
1284
+ */
1285
+ h: [{
1286
+ h: [m, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1287
+ }],
1288
+ /**
1289
+ * Min-Height
1290
+ * @see https://tailwindcss.com/docs/min-height
1291
+ */
1292
+ "min-h": [{
1293
+ "min-h": [m, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1294
+ }],
1295
+ /**
1296
+ * Max-Height
1297
+ * @see https://tailwindcss.com/docs/max-height
1298
+ */
1299
+ "max-h": [{
1300
+ "max-h": [m, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1301
+ }],
1302
+ /**
1303
+ * Size
1304
+ * @see https://tailwindcss.com/docs/size
1305
+ */
1306
+ size: [{
1307
+ size: [m, r, "auto", "min", "max", "fit"]
1308
+ }],
1309
+ // Typography
1310
+ /**
1311
+ * Font Size
1312
+ * @see https://tailwindcss.com/docs/font-size
1313
+ */
1314
+ "font-size": [{
1315
+ text: ["base", P, A]
1316
+ }],
1317
+ /**
1318
+ * Font Smoothing
1319
+ * @see https://tailwindcss.com/docs/font-smoothing
1320
+ */
1321
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1322
+ /**
1323
+ * Font Style
1324
+ * @see https://tailwindcss.com/docs/font-style
1325
+ */
1326
+ "font-style": ["italic", "not-italic"],
1327
+ /**
1328
+ * Font Weight
1329
+ * @see https://tailwindcss.com/docs/font-weight
1330
+ */
1331
+ "font-weight": [{
1332
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", oe]
1333
+ }],
1334
+ /**
1335
+ * Font Family
1336
+ * @see https://tailwindcss.com/docs/font-family
1337
+ */
1338
+ "font-family": [{
1339
+ font: [V]
1340
+ }],
1341
+ /**
1342
+ * Font Variant Numeric
1343
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1344
+ */
1345
+ "fvn-normal": ["normal-nums"],
1346
+ /**
1347
+ * Font Variant Numeric
1348
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1349
+ */
1350
+ "fvn-ordinal": ["ordinal"],
1351
+ /**
1352
+ * Font Variant Numeric
1353
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1354
+ */
1355
+ "fvn-slashed-zero": ["slashed-zero"],
1356
+ /**
1357
+ * Font Variant Numeric
1358
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1359
+ */
1360
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1361
+ /**
1362
+ * Font Variant Numeric
1363
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1364
+ */
1365
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1366
+ /**
1367
+ * Font Variant Numeric
1368
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1369
+ */
1370
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1371
+ /**
1372
+ * Letter Spacing
1373
+ * @see https://tailwindcss.com/docs/letter-spacing
1374
+ */
1375
+ tracking: [{
1376
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", m]
1377
+ }],
1378
+ /**
1379
+ * Line Clamp
1380
+ * @see https://tailwindcss.com/docs/line-clamp
1381
+ */
1382
+ "line-clamp": [{
1383
+ "line-clamp": ["none", E, oe]
1384
+ }],
1385
+ /**
1386
+ * Line Height
1387
+ * @see https://tailwindcss.com/docs/line-height
1388
+ */
1389
+ leading: [{
1390
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", I, m]
1391
+ }],
1392
+ /**
1393
+ * List Style Image
1394
+ * @see https://tailwindcss.com/docs/list-style-image
1395
+ */
1396
+ "list-image": [{
1397
+ "list-image": ["none", m]
1398
+ }],
1399
+ /**
1400
+ * List Style Type
1401
+ * @see https://tailwindcss.com/docs/list-style-type
1402
+ */
1403
+ "list-style-type": [{
1404
+ list: ["none", "disc", "decimal", m]
1405
+ }],
1406
+ /**
1407
+ * List Style Position
1408
+ * @see https://tailwindcss.com/docs/list-style-position
1409
+ */
1410
+ "list-style-position": [{
1411
+ list: ["inside", "outside"]
1412
+ }],
1413
+ /**
1414
+ * Placeholder Color
1415
+ * @deprecated since Tailwind CSS v3.0.0
1416
+ * @see https://tailwindcss.com/docs/placeholder-color
1417
+ */
1418
+ "placeholder-color": [{
1419
+ placeholder: [e]
1420
+ }],
1421
+ /**
1422
+ * Placeholder Opacity
1423
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1424
+ */
1425
+ "placeholder-opacity": [{
1426
+ "placeholder-opacity": [k]
1427
+ }],
1428
+ /**
1429
+ * Text Alignment
1430
+ * @see https://tailwindcss.com/docs/text-align
1431
+ */
1432
+ "text-alignment": [{
1433
+ text: ["left", "center", "right", "justify", "start", "end"]
1434
+ }],
1435
+ /**
1436
+ * Text Color
1437
+ * @see https://tailwindcss.com/docs/text-color
1438
+ */
1439
+ "text-color": [{
1440
+ text: [e]
1441
+ }],
1442
+ /**
1443
+ * Text Opacity
1444
+ * @see https://tailwindcss.com/docs/text-opacity
1445
+ */
1446
+ "text-opacity": [{
1447
+ "text-opacity": [k]
1448
+ }],
1449
+ /**
1450
+ * Text Decoration
1451
+ * @see https://tailwindcss.com/docs/text-decoration
1452
+ */
1453
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1454
+ /**
1455
+ * Text Decoration Style
1456
+ * @see https://tailwindcss.com/docs/text-decoration-style
1457
+ */
1458
+ "text-decoration-style": [{
1459
+ decoration: [...J(), "wavy"]
1460
+ }],
1461
+ /**
1462
+ * Text Decoration Thickness
1463
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1464
+ */
1465
+ "text-decoration-thickness": [{
1466
+ decoration: ["auto", "from-font", I, A]
1467
+ }],
1468
+ /**
1469
+ * Text Underline Offset
1470
+ * @see https://tailwindcss.com/docs/text-underline-offset
1471
+ */
1472
+ "underline-offset": [{
1473
+ "underline-offset": ["auto", I, m]
1474
+ }],
1475
+ /**
1476
+ * Text Decoration Color
1477
+ * @see https://tailwindcss.com/docs/text-decoration-color
1478
+ */
1479
+ "text-decoration-color": [{
1480
+ decoration: [e]
1481
+ }],
1482
+ /**
1483
+ * Text Transform
1484
+ * @see https://tailwindcss.com/docs/text-transform
1485
+ */
1486
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1487
+ /**
1488
+ * Text Overflow
1489
+ * @see https://tailwindcss.com/docs/text-overflow
1490
+ */
1491
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1492
+ /**
1493
+ * Text Wrap
1494
+ * @see https://tailwindcss.com/docs/text-wrap
1495
+ */
1496
+ "text-wrap": [{
1497
+ text: ["wrap", "nowrap", "balance", "pretty"]
1498
+ }],
1499
+ /**
1500
+ * Text Indent
1501
+ * @see https://tailwindcss.com/docs/text-indent
1502
+ */
1503
+ indent: [{
1504
+ indent: x()
1505
+ }],
1506
+ /**
1507
+ * Vertical Alignment
1508
+ * @see https://tailwindcss.com/docs/vertical-align
1509
+ */
1510
+ "vertical-align": [{
1511
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m]
1512
+ }],
1513
+ /**
1514
+ * Whitespace
1515
+ * @see https://tailwindcss.com/docs/whitespace
1516
+ */
1517
+ whitespace: [{
1518
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1519
+ }],
1520
+ /**
1521
+ * Word Break
1522
+ * @see https://tailwindcss.com/docs/word-break
1523
+ */
1524
+ break: [{
1525
+ break: ["normal", "words", "all", "keep"]
1526
+ }],
1527
+ /**
1528
+ * Hyphens
1529
+ * @see https://tailwindcss.com/docs/hyphens
1530
+ */
1531
+ hyphens: [{
1532
+ hyphens: ["none", "manual", "auto"]
1533
+ }],
1534
+ /**
1535
+ * Content
1536
+ * @see https://tailwindcss.com/docs/content
1537
+ */
1538
+ content: [{
1539
+ content: ["none", m]
1540
+ }],
1541
+ // Backgrounds
1542
+ /**
1543
+ * Background Attachment
1544
+ * @see https://tailwindcss.com/docs/background-attachment
1545
+ */
1546
+ "bg-attachment": [{
1547
+ bg: ["fixed", "local", "scroll"]
1548
+ }],
1549
+ /**
1550
+ * Background Clip
1551
+ * @see https://tailwindcss.com/docs/background-clip
1552
+ */
1553
+ "bg-clip": [{
1554
+ "bg-clip": ["border", "padding", "content", "text"]
1555
+ }],
1556
+ /**
1557
+ * Background Opacity
1558
+ * @deprecated since Tailwind CSS v3.0.0
1559
+ * @see https://tailwindcss.com/docs/background-opacity
1560
+ */
1561
+ "bg-opacity": [{
1562
+ "bg-opacity": [k]
1563
+ }],
1564
+ /**
1565
+ * Background Origin
1566
+ * @see https://tailwindcss.com/docs/background-origin
1567
+ */
1568
+ "bg-origin": [{
1569
+ "bg-origin": ["border", "padding", "content"]
1570
+ }],
1571
+ /**
1572
+ * Background Position
1573
+ * @see https://tailwindcss.com/docs/background-position
1574
+ */
1575
+ "bg-position": [{
1576
+ bg: [...me(), Gr]
1577
+ }],
1578
+ /**
1579
+ * Background Repeat
1580
+ * @see https://tailwindcss.com/docs/background-repeat
1581
+ */
1582
+ "bg-repeat": [{
1583
+ bg: ["no-repeat", {
1584
+ repeat: ["", "x", "y", "round", "space"]
1585
+ }]
1586
+ }],
1587
+ /**
1588
+ * Background Size
1589
+ * @see https://tailwindcss.com/docs/background-size
1590
+ */
1591
+ "bg-size": [{
1592
+ bg: ["auto", "cover", "contain", Lr]
1593
+ }],
1594
+ /**
1595
+ * Background Image
1596
+ * @see https://tailwindcss.com/docs/background-image
1597
+ */
1598
+ "bg-image": [{
1599
+ bg: ["none", {
1600
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1601
+ }, Br]
1602
+ }],
1603
+ /**
1604
+ * Background Color
1605
+ * @see https://tailwindcss.com/docs/background-color
1606
+ */
1607
+ "bg-color": [{
1608
+ bg: [e]
1609
+ }],
1610
+ /**
1611
+ * Gradient Color Stops From Position
1612
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1613
+ */
1614
+ "gradient-from-pos": [{
1615
+ from: [R]
1616
+ }],
1617
+ /**
1618
+ * Gradient Color Stops Via Position
1619
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1620
+ */
1621
+ "gradient-via-pos": [{
1622
+ via: [R]
1623
+ }],
1624
+ /**
1625
+ * Gradient Color Stops To Position
1626
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1627
+ */
1628
+ "gradient-to-pos": [{
1629
+ to: [R]
1630
+ }],
1631
+ /**
1632
+ * Gradient Color Stops From
1633
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1634
+ */
1635
+ "gradient-from": [{
1636
+ from: [w]
1637
+ }],
1638
+ /**
1639
+ * Gradient Color Stops Via
1640
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1641
+ */
1642
+ "gradient-via": [{
1643
+ via: [w]
1644
+ }],
1645
+ /**
1646
+ * Gradient Color Stops To
1647
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1648
+ */
1649
+ "gradient-to": [{
1650
+ to: [w]
1651
+ }],
1652
+ // Borders
1653
+ /**
1654
+ * Border Radius
1655
+ * @see https://tailwindcss.com/docs/border-radius
1656
+ */
1657
+ rounded: [{
1658
+ rounded: [s]
1659
+ }],
1660
+ /**
1661
+ * Border Radius Start
1662
+ * @see https://tailwindcss.com/docs/border-radius
1663
+ */
1664
+ "rounded-s": [{
1665
+ "rounded-s": [s]
1666
+ }],
1667
+ /**
1668
+ * Border Radius End
1669
+ * @see https://tailwindcss.com/docs/border-radius
1670
+ */
1671
+ "rounded-e": [{
1672
+ "rounded-e": [s]
1673
+ }],
1674
+ /**
1675
+ * Border Radius Top
1676
+ * @see https://tailwindcss.com/docs/border-radius
1677
+ */
1678
+ "rounded-t": [{
1679
+ "rounded-t": [s]
1680
+ }],
1681
+ /**
1682
+ * Border Radius Right
1683
+ * @see https://tailwindcss.com/docs/border-radius
1684
+ */
1685
+ "rounded-r": [{
1686
+ "rounded-r": [s]
1687
+ }],
1688
+ /**
1689
+ * Border Radius Bottom
1690
+ * @see https://tailwindcss.com/docs/border-radius
1691
+ */
1692
+ "rounded-b": [{
1693
+ "rounded-b": [s]
1694
+ }],
1695
+ /**
1696
+ * Border Radius Left
1697
+ * @see https://tailwindcss.com/docs/border-radius
1698
+ */
1699
+ "rounded-l": [{
1700
+ "rounded-l": [s]
1701
+ }],
1702
+ /**
1703
+ * Border Radius Start Start
1704
+ * @see https://tailwindcss.com/docs/border-radius
1705
+ */
1706
+ "rounded-ss": [{
1707
+ "rounded-ss": [s]
1708
+ }],
1709
+ /**
1710
+ * Border Radius Start End
1711
+ * @see https://tailwindcss.com/docs/border-radius
1712
+ */
1713
+ "rounded-se": [{
1714
+ "rounded-se": [s]
1715
+ }],
1716
+ /**
1717
+ * Border Radius End End
1718
+ * @see https://tailwindcss.com/docs/border-radius
1719
+ */
1720
+ "rounded-ee": [{
1721
+ "rounded-ee": [s]
1722
+ }],
1723
+ /**
1724
+ * Border Radius End Start
1725
+ * @see https://tailwindcss.com/docs/border-radius
1726
+ */
1727
+ "rounded-es": [{
1728
+ "rounded-es": [s]
1729
+ }],
1730
+ /**
1731
+ * Border Radius Top Left
1732
+ * @see https://tailwindcss.com/docs/border-radius
1733
+ */
1734
+ "rounded-tl": [{
1735
+ "rounded-tl": [s]
1736
+ }],
1737
+ /**
1738
+ * Border Radius Top Right
1739
+ * @see https://tailwindcss.com/docs/border-radius
1740
+ */
1741
+ "rounded-tr": [{
1742
+ "rounded-tr": [s]
1743
+ }],
1744
+ /**
1745
+ * Border Radius Bottom Right
1746
+ * @see https://tailwindcss.com/docs/border-radius
1747
+ */
1748
+ "rounded-br": [{
1749
+ "rounded-br": [s]
1750
+ }],
1751
+ /**
1752
+ * Border Radius Bottom Left
1753
+ * @see https://tailwindcss.com/docs/border-radius
1754
+ */
1755
+ "rounded-bl": [{
1756
+ "rounded-bl": [s]
1757
+ }],
1758
+ /**
1759
+ * Border Width
1760
+ * @see https://tailwindcss.com/docs/border-width
1761
+ */
1762
+ "border-w": [{
1763
+ border: [l]
1764
+ }],
1765
+ /**
1766
+ * Border Width X
1767
+ * @see https://tailwindcss.com/docs/border-width
1768
+ */
1769
+ "border-w-x": [{
1770
+ "border-x": [l]
1771
+ }],
1772
+ /**
1773
+ * Border Width Y
1774
+ * @see https://tailwindcss.com/docs/border-width
1775
+ */
1776
+ "border-w-y": [{
1777
+ "border-y": [l]
1778
+ }],
1779
+ /**
1780
+ * Border Width Start
1781
+ * @see https://tailwindcss.com/docs/border-width
1782
+ */
1783
+ "border-w-s": [{
1784
+ "border-s": [l]
1785
+ }],
1786
+ /**
1787
+ * Border Width End
1788
+ * @see https://tailwindcss.com/docs/border-width
1789
+ */
1790
+ "border-w-e": [{
1791
+ "border-e": [l]
1792
+ }],
1793
+ /**
1794
+ * Border Width Top
1795
+ * @see https://tailwindcss.com/docs/border-width
1796
+ */
1797
+ "border-w-t": [{
1798
+ "border-t": [l]
1799
+ }],
1800
+ /**
1801
+ * Border Width Right
1802
+ * @see https://tailwindcss.com/docs/border-width
1803
+ */
1804
+ "border-w-r": [{
1805
+ "border-r": [l]
1806
+ }],
1807
+ /**
1808
+ * Border Width Bottom
1809
+ * @see https://tailwindcss.com/docs/border-width
1810
+ */
1811
+ "border-w-b": [{
1812
+ "border-b": [l]
1813
+ }],
1814
+ /**
1815
+ * Border Width Left
1816
+ * @see https://tailwindcss.com/docs/border-width
1817
+ */
1818
+ "border-w-l": [{
1819
+ "border-l": [l]
1820
+ }],
1821
+ /**
1822
+ * Border Opacity
1823
+ * @see https://tailwindcss.com/docs/border-opacity
1824
+ */
1825
+ "border-opacity": [{
1826
+ "border-opacity": [k]
1827
+ }],
1828
+ /**
1829
+ * Border Style
1830
+ * @see https://tailwindcss.com/docs/border-style
1831
+ */
1832
+ "border-style": [{
1833
+ border: [...J(), "hidden"]
1834
+ }],
1835
+ /**
1836
+ * Divide Width X
1837
+ * @see https://tailwindcss.com/docs/divide-width
1838
+ */
1839
+ "divide-x": [{
1840
+ "divide-x": [l]
1841
+ }],
1842
+ /**
1843
+ * Divide Width X Reverse
1844
+ * @see https://tailwindcss.com/docs/divide-width
1845
+ */
1846
+ "divide-x-reverse": ["divide-x-reverse"],
1847
+ /**
1848
+ * Divide Width Y
1849
+ * @see https://tailwindcss.com/docs/divide-width
1850
+ */
1851
+ "divide-y": [{
1852
+ "divide-y": [l]
1853
+ }],
1854
+ /**
1855
+ * Divide Width Y Reverse
1856
+ * @see https://tailwindcss.com/docs/divide-width
1857
+ */
1858
+ "divide-y-reverse": ["divide-y-reverse"],
1859
+ /**
1860
+ * Divide Opacity
1861
+ * @see https://tailwindcss.com/docs/divide-opacity
1862
+ */
1863
+ "divide-opacity": [{
1864
+ "divide-opacity": [k]
1865
+ }],
1866
+ /**
1867
+ * Divide Style
1868
+ * @see https://tailwindcss.com/docs/divide-style
1869
+ */
1870
+ "divide-style": [{
1871
+ divide: J()
1872
+ }],
1873
+ /**
1874
+ * Border Color
1875
+ * @see https://tailwindcss.com/docs/border-color
1876
+ */
1877
+ "border-color": [{
1878
+ border: [a]
1879
+ }],
1880
+ /**
1881
+ * Border Color X
1882
+ * @see https://tailwindcss.com/docs/border-color
1883
+ */
1884
+ "border-color-x": [{
1885
+ "border-x": [a]
1886
+ }],
1887
+ /**
1888
+ * Border Color Y
1889
+ * @see https://tailwindcss.com/docs/border-color
1890
+ */
1891
+ "border-color-y": [{
1892
+ "border-y": [a]
1893
+ }],
1894
+ /**
1895
+ * Border Color S
1896
+ * @see https://tailwindcss.com/docs/border-color
1897
+ */
1898
+ "border-color-s": [{
1899
+ "border-s": [a]
1900
+ }],
1901
+ /**
1902
+ * Border Color E
1903
+ * @see https://tailwindcss.com/docs/border-color
1904
+ */
1905
+ "border-color-e": [{
1906
+ "border-e": [a]
1907
+ }],
1908
+ /**
1909
+ * Border Color Top
1910
+ * @see https://tailwindcss.com/docs/border-color
1911
+ */
1912
+ "border-color-t": [{
1913
+ "border-t": [a]
1914
+ }],
1915
+ /**
1916
+ * Border Color Right
1917
+ * @see https://tailwindcss.com/docs/border-color
1918
+ */
1919
+ "border-color-r": [{
1920
+ "border-r": [a]
1921
+ }],
1922
+ /**
1923
+ * Border Color Bottom
1924
+ * @see https://tailwindcss.com/docs/border-color
1925
+ */
1926
+ "border-color-b": [{
1927
+ "border-b": [a]
1928
+ }],
1929
+ /**
1930
+ * Border Color Left
1931
+ * @see https://tailwindcss.com/docs/border-color
1932
+ */
1933
+ "border-color-l": [{
1934
+ "border-l": [a]
1935
+ }],
1936
+ /**
1937
+ * Divide Color
1938
+ * @see https://tailwindcss.com/docs/divide-color
1939
+ */
1940
+ "divide-color": [{
1941
+ divide: [a]
1942
+ }],
1943
+ /**
1944
+ * Outline Style
1945
+ * @see https://tailwindcss.com/docs/outline-style
1946
+ */
1947
+ "outline-style": [{
1948
+ outline: ["", ...J()]
1949
+ }],
1950
+ /**
1951
+ * Outline Offset
1952
+ * @see https://tailwindcss.com/docs/outline-offset
1953
+ */
1954
+ "outline-offset": [{
1955
+ "outline-offset": [I, m]
1956
+ }],
1957
+ /**
1958
+ * Outline Width
1959
+ * @see https://tailwindcss.com/docs/outline-width
1960
+ */
1961
+ "outline-w": [{
1962
+ outline: [I, A]
1963
+ }],
1964
+ /**
1965
+ * Outline Color
1966
+ * @see https://tailwindcss.com/docs/outline-color
1967
+ */
1968
+ "outline-color": [{
1969
+ outline: [e]
1970
+ }],
1971
+ /**
1972
+ * Ring Width
1973
+ * @see https://tailwindcss.com/docs/ring-width
1974
+ */
1975
+ "ring-w": [{
1976
+ ring: pe()
1977
+ }],
1978
+ /**
1979
+ * Ring Width Inset
1980
+ * @see https://tailwindcss.com/docs/ring-width
1981
+ */
1982
+ "ring-w-inset": ["ring-inset"],
1983
+ /**
1984
+ * Ring Color
1985
+ * @see https://tailwindcss.com/docs/ring-color
1986
+ */
1987
+ "ring-color": [{
1988
+ ring: [e]
1989
+ }],
1990
+ /**
1991
+ * Ring Opacity
1992
+ * @see https://tailwindcss.com/docs/ring-opacity
1993
+ */
1994
+ "ring-opacity": [{
1995
+ "ring-opacity": [k]
1996
+ }],
1997
+ /**
1998
+ * Ring Offset Width
1999
+ * @see https://tailwindcss.com/docs/ring-offset-width
2000
+ */
2001
+ "ring-offset-w": [{
2002
+ "ring-offset": [I, A]
2003
+ }],
2004
+ /**
2005
+ * Ring Offset Color
2006
+ * @see https://tailwindcss.com/docs/ring-offset-color
2007
+ */
2008
+ "ring-offset-color": [{
2009
+ "ring-offset": [e]
2010
+ }],
2011
+ // Effects
2012
+ /**
2013
+ * Box Shadow
2014
+ * @see https://tailwindcss.com/docs/box-shadow
2015
+ */
2016
+ shadow: [{
2017
+ shadow: ["", "inner", "none", P, Fr]
2018
+ }],
2019
+ /**
2020
+ * Box Shadow Color
2021
+ * @see https://tailwindcss.com/docs/box-shadow-color
2022
+ */
2023
+ "shadow-color": [{
2024
+ shadow: [V]
2025
+ }],
2026
+ /**
2027
+ * Opacity
2028
+ * @see https://tailwindcss.com/docs/opacity
2029
+ */
2030
+ opacity: [{
2031
+ opacity: [k]
2032
+ }],
2033
+ /**
2034
+ * Mix Blend Mode
2035
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2036
+ */
2037
+ "mix-blend": [{
2038
+ "mix-blend": [...ge(), "plus-lighter", "plus-darker"]
2039
+ }],
2040
+ /**
2041
+ * Background Blend Mode
2042
+ * @see https://tailwindcss.com/docs/background-blend-mode
2043
+ */
2044
+ "bg-blend": [{
2045
+ "bg-blend": ge()
2046
+ }],
2047
+ // Filters
2048
+ /**
2049
+ * Filter
2050
+ * @deprecated since Tailwind CSS v3.0.0
2051
+ * @see https://tailwindcss.com/docs/filter
2052
+ */
2053
+ filter: [{
2054
+ filter: ["", "none"]
2055
+ }],
2056
+ /**
2057
+ * Blur
2058
+ * @see https://tailwindcss.com/docs/blur
2059
+ */
2060
+ blur: [{
2061
+ blur: [t]
2062
+ }],
2063
+ /**
2064
+ * Brightness
2065
+ * @see https://tailwindcss.com/docs/brightness
2066
+ */
2067
+ brightness: [{
2068
+ brightness: [o]
2069
+ }],
2070
+ /**
2071
+ * Contrast
2072
+ * @see https://tailwindcss.com/docs/contrast
2073
+ */
2074
+ contrast: [{
2075
+ contrast: [b]
2076
+ }],
2077
+ /**
2078
+ * Drop Shadow
2079
+ * @see https://tailwindcss.com/docs/drop-shadow
2080
+ */
2081
+ "drop-shadow": [{
2082
+ "drop-shadow": ["", "none", P, m]
2083
+ }],
2084
+ /**
2085
+ * Grayscale
2086
+ * @see https://tailwindcss.com/docs/grayscale
2087
+ */
2088
+ grayscale: [{
2089
+ grayscale: [g]
2090
+ }],
2091
+ /**
2092
+ * Hue Rotate
2093
+ * @see https://tailwindcss.com/docs/hue-rotate
2094
+ */
2095
+ "hue-rotate": [{
2096
+ "hue-rotate": [p]
2097
+ }],
2098
+ /**
2099
+ * Invert
2100
+ * @see https://tailwindcss.com/docs/invert
2101
+ */
2102
+ invert: [{
2103
+ invert: [f]
2104
+ }],
2105
+ /**
2106
+ * Saturate
2107
+ * @see https://tailwindcss.com/docs/saturate
2108
+ */
2109
+ saturate: [{
2110
+ saturate: [F]
2111
+ }],
2112
+ /**
2113
+ * Sepia
2114
+ * @see https://tailwindcss.com/docs/sepia
2115
+ */
2116
+ sepia: [{
2117
+ sepia: [O]
2118
+ }],
2119
+ /**
2120
+ * Backdrop Filter
2121
+ * @deprecated since Tailwind CSS v3.0.0
2122
+ * @see https://tailwindcss.com/docs/backdrop-filter
2123
+ */
2124
+ "backdrop-filter": [{
2125
+ "backdrop-filter": ["", "none"]
2126
+ }],
2127
+ /**
2128
+ * Backdrop Blur
2129
+ * @see https://tailwindcss.com/docs/backdrop-blur
2130
+ */
2131
+ "backdrop-blur": [{
2132
+ "backdrop-blur": [t]
2133
+ }],
2134
+ /**
2135
+ * Backdrop Brightness
2136
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2137
+ */
2138
+ "backdrop-brightness": [{
2139
+ "backdrop-brightness": [o]
2140
+ }],
2141
+ /**
2142
+ * Backdrop Contrast
2143
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2144
+ */
2145
+ "backdrop-contrast": [{
2146
+ "backdrop-contrast": [b]
2147
+ }],
2148
+ /**
2149
+ * Backdrop Grayscale
2150
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2151
+ */
2152
+ "backdrop-grayscale": [{
2153
+ "backdrop-grayscale": [g]
2154
+ }],
2155
+ /**
2156
+ * Backdrop Hue Rotate
2157
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2158
+ */
2159
+ "backdrop-hue-rotate": [{
2160
+ "backdrop-hue-rotate": [p]
2161
+ }],
2162
+ /**
2163
+ * Backdrop Invert
2164
+ * @see https://tailwindcss.com/docs/backdrop-invert
2165
+ */
2166
+ "backdrop-invert": [{
2167
+ "backdrop-invert": [f]
2168
+ }],
2169
+ /**
2170
+ * Backdrop Opacity
2171
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2172
+ */
2173
+ "backdrop-opacity": [{
2174
+ "backdrop-opacity": [k]
2175
+ }],
2176
+ /**
2177
+ * Backdrop Saturate
2178
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2179
+ */
2180
+ "backdrop-saturate": [{
2181
+ "backdrop-saturate": [F]
2182
+ }],
2183
+ /**
2184
+ * Backdrop Sepia
2185
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2186
+ */
2187
+ "backdrop-sepia": [{
2188
+ "backdrop-sepia": [O]
2189
+ }],
2190
+ // Tables
2191
+ /**
2192
+ * Border Collapse
2193
+ * @see https://tailwindcss.com/docs/border-collapse
2194
+ */
2195
+ "border-collapse": [{
2196
+ border: ["collapse", "separate"]
2197
+ }],
2198
+ /**
2199
+ * Border Spacing
2200
+ * @see https://tailwindcss.com/docs/border-spacing
2201
+ */
2202
+ "border-spacing": [{
2203
+ "border-spacing": [i]
2204
+ }],
2205
+ /**
2206
+ * Border Spacing X
2207
+ * @see https://tailwindcss.com/docs/border-spacing
2208
+ */
2209
+ "border-spacing-x": [{
2210
+ "border-spacing-x": [i]
2211
+ }],
2212
+ /**
2213
+ * Border Spacing Y
2214
+ * @see https://tailwindcss.com/docs/border-spacing
2215
+ */
2216
+ "border-spacing-y": [{
2217
+ "border-spacing-y": [i]
2218
+ }],
2219
+ /**
2220
+ * Table Layout
2221
+ * @see https://tailwindcss.com/docs/table-layout
2222
+ */
2223
+ "table-layout": [{
2224
+ table: ["auto", "fixed"]
2225
+ }],
2226
+ /**
2227
+ * Caption Side
2228
+ * @see https://tailwindcss.com/docs/caption-side
2229
+ */
2230
+ caption: [{
2231
+ caption: ["top", "bottom"]
2232
+ }],
2233
+ // Transitions and Animation
2234
+ /**
2235
+ * Tranisition Property
2236
+ * @see https://tailwindcss.com/docs/transition-property
2237
+ */
2238
+ transition: [{
2239
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", m]
2240
+ }],
2241
+ /**
2242
+ * Transition Duration
2243
+ * @see https://tailwindcss.com/docs/transition-duration
2244
+ */
2245
+ duration: [{
2246
+ duration: M()
2247
+ }],
2248
+ /**
2249
+ * Transition Timing Function
2250
+ * @see https://tailwindcss.com/docs/transition-timing-function
2251
+ */
2252
+ ease: [{
2253
+ ease: ["linear", "in", "out", "in-out", m]
2254
+ }],
2255
+ /**
2256
+ * Transition Delay
2257
+ * @see https://tailwindcss.com/docs/transition-delay
2258
+ */
2259
+ delay: [{
2260
+ delay: M()
2261
+ }],
2262
+ /**
2263
+ * Animation
2264
+ * @see https://tailwindcss.com/docs/animation
2265
+ */
2266
+ animate: [{
2267
+ animate: ["none", "spin", "ping", "pulse", "bounce", m]
2268
+ }],
2269
+ // Transforms
2270
+ /**
2271
+ * Transform
2272
+ * @see https://tailwindcss.com/docs/transform
2273
+ */
2274
+ transform: [{
2275
+ transform: ["", "gpu", "none"]
2276
+ }],
2277
+ /**
2278
+ * Scale
2279
+ * @see https://tailwindcss.com/docs/scale
2280
+ */
2281
+ scale: [{
2282
+ scale: [j]
2283
+ }],
2284
+ /**
2285
+ * Scale X
2286
+ * @see https://tailwindcss.com/docs/scale
2287
+ */
2288
+ "scale-x": [{
2289
+ "scale-x": [j]
2290
+ }],
2291
+ /**
2292
+ * Scale Y
2293
+ * @see https://tailwindcss.com/docs/scale
2294
+ */
2295
+ "scale-y": [{
2296
+ "scale-y": [j]
2297
+ }],
2298
+ /**
2299
+ * Rotate
2300
+ * @see https://tailwindcss.com/docs/rotate
2301
+ */
2302
+ rotate: [{
2303
+ rotate: [H, m]
2304
+ }],
2305
+ /**
2306
+ * Translate X
2307
+ * @see https://tailwindcss.com/docs/translate
2308
+ */
2309
+ "translate-x": [{
2310
+ "translate-x": [be]
2311
+ }],
2312
+ /**
2313
+ * Translate Y
2314
+ * @see https://tailwindcss.com/docs/translate
2315
+ */
2316
+ "translate-y": [{
2317
+ "translate-y": [be]
2318
+ }],
2319
+ /**
2320
+ * Skew X
2321
+ * @see https://tailwindcss.com/docs/skew
2322
+ */
2323
+ "skew-x": [{
2324
+ "skew-x": [ce]
2325
+ }],
2326
+ /**
2327
+ * Skew Y
2328
+ * @see https://tailwindcss.com/docs/skew
2329
+ */
2330
+ "skew-y": [{
2331
+ "skew-y": [ce]
2332
+ }],
2333
+ /**
2334
+ * Transform Origin
2335
+ * @see https://tailwindcss.com/docs/transform-origin
2336
+ */
2337
+ "transform-origin": [{
2338
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m]
2339
+ }],
2340
+ // Interactivity
2341
+ /**
2342
+ * Accent Color
2343
+ * @see https://tailwindcss.com/docs/accent-color
2344
+ */
2345
+ accent: [{
2346
+ accent: ["auto", e]
2347
+ }],
2348
+ /**
2349
+ * Appearance
2350
+ * @see https://tailwindcss.com/docs/appearance
2351
+ */
2352
+ appearance: [{
2353
+ appearance: ["none", "auto"]
2354
+ }],
2355
+ /**
2356
+ * Cursor
2357
+ * @see https://tailwindcss.com/docs/cursor
2358
+ */
2359
+ cursor: [{
2360
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", m]
2361
+ }],
2362
+ /**
2363
+ * Caret Color
2364
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2365
+ */
2366
+ "caret-color": [{
2367
+ caret: [e]
2368
+ }],
2369
+ /**
2370
+ * Pointer Events
2371
+ * @see https://tailwindcss.com/docs/pointer-events
2372
+ */
2373
+ "pointer-events": [{
2374
+ "pointer-events": ["none", "auto"]
2375
+ }],
2376
+ /**
2377
+ * Resize
2378
+ * @see https://tailwindcss.com/docs/resize
2379
+ */
2380
+ resize: [{
2381
+ resize: ["none", "y", "x", ""]
2382
+ }],
2383
+ /**
2384
+ * Scroll Behavior
2385
+ * @see https://tailwindcss.com/docs/scroll-behavior
2386
+ */
2387
+ "scroll-behavior": [{
2388
+ scroll: ["auto", "smooth"]
2389
+ }],
2390
+ /**
2391
+ * Scroll Margin
2392
+ * @see https://tailwindcss.com/docs/scroll-margin
2393
+ */
2394
+ "scroll-m": [{
2395
+ "scroll-m": x()
2396
+ }],
2397
+ /**
2398
+ * Scroll Margin X
2399
+ * @see https://tailwindcss.com/docs/scroll-margin
2400
+ */
2401
+ "scroll-mx": [{
2402
+ "scroll-mx": x()
2403
+ }],
2404
+ /**
2405
+ * Scroll Margin Y
2406
+ * @see https://tailwindcss.com/docs/scroll-margin
2407
+ */
2408
+ "scroll-my": [{
2409
+ "scroll-my": x()
2410
+ }],
2411
+ /**
2412
+ * Scroll Margin Start
2413
+ * @see https://tailwindcss.com/docs/scroll-margin
2414
+ */
2415
+ "scroll-ms": [{
2416
+ "scroll-ms": x()
2417
+ }],
2418
+ /**
2419
+ * Scroll Margin End
2420
+ * @see https://tailwindcss.com/docs/scroll-margin
2421
+ */
2422
+ "scroll-me": [{
2423
+ "scroll-me": x()
2424
+ }],
2425
+ /**
2426
+ * Scroll Margin Top
2427
+ * @see https://tailwindcss.com/docs/scroll-margin
2428
+ */
2429
+ "scroll-mt": [{
2430
+ "scroll-mt": x()
2431
+ }],
2432
+ /**
2433
+ * Scroll Margin Right
2434
+ * @see https://tailwindcss.com/docs/scroll-margin
2435
+ */
2436
+ "scroll-mr": [{
2437
+ "scroll-mr": x()
2438
+ }],
2439
+ /**
2440
+ * Scroll Margin Bottom
2441
+ * @see https://tailwindcss.com/docs/scroll-margin
2442
+ */
2443
+ "scroll-mb": [{
2444
+ "scroll-mb": x()
2445
+ }],
2446
+ /**
2447
+ * Scroll Margin Left
2448
+ * @see https://tailwindcss.com/docs/scroll-margin
2449
+ */
2450
+ "scroll-ml": [{
2451
+ "scroll-ml": x()
2452
+ }],
2453
+ /**
2454
+ * Scroll Padding
2455
+ * @see https://tailwindcss.com/docs/scroll-padding
2456
+ */
2457
+ "scroll-p": [{
2458
+ "scroll-p": x()
2459
+ }],
2460
+ /**
2461
+ * Scroll Padding X
2462
+ * @see https://tailwindcss.com/docs/scroll-padding
2463
+ */
2464
+ "scroll-px": [{
2465
+ "scroll-px": x()
2466
+ }],
2467
+ /**
2468
+ * Scroll Padding Y
2469
+ * @see https://tailwindcss.com/docs/scroll-padding
2470
+ */
2471
+ "scroll-py": [{
2472
+ "scroll-py": x()
2473
+ }],
2474
+ /**
2475
+ * Scroll Padding Start
2476
+ * @see https://tailwindcss.com/docs/scroll-padding
2477
+ */
2478
+ "scroll-ps": [{
2479
+ "scroll-ps": x()
2480
+ }],
2481
+ /**
2482
+ * Scroll Padding End
2483
+ * @see https://tailwindcss.com/docs/scroll-padding
2484
+ */
2485
+ "scroll-pe": [{
2486
+ "scroll-pe": x()
2487
+ }],
2488
+ /**
2489
+ * Scroll Padding Top
2490
+ * @see https://tailwindcss.com/docs/scroll-padding
2491
+ */
2492
+ "scroll-pt": [{
2493
+ "scroll-pt": x()
2494
+ }],
2495
+ /**
2496
+ * Scroll Padding Right
2497
+ * @see https://tailwindcss.com/docs/scroll-padding
2498
+ */
2499
+ "scroll-pr": [{
2500
+ "scroll-pr": x()
2501
+ }],
2502
+ /**
2503
+ * Scroll Padding Bottom
2504
+ * @see https://tailwindcss.com/docs/scroll-padding
2505
+ */
2506
+ "scroll-pb": [{
2507
+ "scroll-pb": x()
2508
+ }],
2509
+ /**
2510
+ * Scroll Padding Left
2511
+ * @see https://tailwindcss.com/docs/scroll-padding
2512
+ */
2513
+ "scroll-pl": [{
2514
+ "scroll-pl": x()
2515
+ }],
2516
+ /**
2517
+ * Scroll Snap Align
2518
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2519
+ */
2520
+ "snap-align": [{
2521
+ snap: ["start", "end", "center", "align-none"]
2522
+ }],
2523
+ /**
2524
+ * Scroll Snap Stop
2525
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2526
+ */
2527
+ "snap-stop": [{
2528
+ snap: ["normal", "always"]
2529
+ }],
2530
+ /**
2531
+ * Scroll Snap Type
2532
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2533
+ */
2534
+ "snap-type": [{
2535
+ snap: ["none", "x", "y", "both"]
2536
+ }],
2537
+ /**
2538
+ * Scroll Snap Type Strictness
2539
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2540
+ */
2541
+ "snap-strictness": [{
2542
+ snap: ["mandatory", "proximity"]
2543
+ }],
2544
+ /**
2545
+ * Touch Action
2546
+ * @see https://tailwindcss.com/docs/touch-action
2547
+ */
2548
+ touch: [{
2549
+ touch: ["auto", "none", "manipulation"]
2550
+ }],
2551
+ /**
2552
+ * Touch Action X
2553
+ * @see https://tailwindcss.com/docs/touch-action
2554
+ */
2555
+ "touch-x": [{
2556
+ "touch-pan": ["x", "left", "right"]
2557
+ }],
2558
+ /**
2559
+ * Touch Action Y
2560
+ * @see https://tailwindcss.com/docs/touch-action
2561
+ */
2562
+ "touch-y": [{
2563
+ "touch-pan": ["y", "up", "down"]
2564
+ }],
2565
+ /**
2566
+ * Touch Action Pinch Zoom
2567
+ * @see https://tailwindcss.com/docs/touch-action
2568
+ */
2569
+ "touch-pz": ["touch-pinch-zoom"],
2570
+ /**
2571
+ * User Select
2572
+ * @see https://tailwindcss.com/docs/user-select
2573
+ */
2574
+ select: [{
2575
+ select: ["none", "text", "all", "auto"]
2576
+ }],
2577
+ /**
2578
+ * Will Change
2579
+ * @see https://tailwindcss.com/docs/will-change
2580
+ */
2581
+ "will-change": [{
2582
+ "will-change": ["auto", "scroll", "contents", "transform", m]
2583
+ }],
2584
+ // SVG
2585
+ /**
2586
+ * Fill
2587
+ * @see https://tailwindcss.com/docs/fill
2588
+ */
2589
+ fill: [{
2590
+ fill: [e, "none"]
2591
+ }],
2592
+ /**
2593
+ * Stroke Width
2594
+ * @see https://tailwindcss.com/docs/stroke-width
2595
+ */
2596
+ "stroke-w": [{
2597
+ stroke: [I, A, oe]
2598
+ }],
2599
+ /**
2600
+ * Stroke
2601
+ * @see https://tailwindcss.com/docs/stroke
2602
+ */
2603
+ stroke: [{
2604
+ stroke: [e, "none"]
2605
+ }],
2606
+ // Accessibility
2607
+ /**
2608
+ * Screen Readers
2609
+ * @see https://tailwindcss.com/docs/screen-readers
2610
+ */
2611
+ sr: ["sr-only", "not-sr-only"],
2612
+ /**
2613
+ * Forced Color Adjust
2614
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2615
+ */
2616
+ "forced-color-adjust": [{
2617
+ "forced-color-adjust": ["auto", "none"]
2618
+ }]
2619
+ },
2620
+ conflictingClassGroups: {
2621
+ overflow: ["overflow-x", "overflow-y"],
2622
+ overscroll: ["overscroll-x", "overscroll-y"],
2623
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2624
+ "inset-x": ["right", "left"],
2625
+ "inset-y": ["top", "bottom"],
2626
+ flex: ["basis", "grow", "shrink"],
2627
+ gap: ["gap-x", "gap-y"],
2628
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2629
+ px: ["pr", "pl"],
2630
+ py: ["pt", "pb"],
2631
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2632
+ mx: ["mr", "ml"],
2633
+ my: ["mt", "mb"],
2634
+ size: ["w", "h"],
2635
+ "font-size": ["leading"],
2636
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2637
+ "fvn-ordinal": ["fvn-normal"],
2638
+ "fvn-slashed-zero": ["fvn-normal"],
2639
+ "fvn-figure": ["fvn-normal"],
2640
+ "fvn-spacing": ["fvn-normal"],
2641
+ "fvn-fraction": ["fvn-normal"],
2642
+ "line-clamp": ["display", "overflow"],
2643
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2644
+ "rounded-s": ["rounded-ss", "rounded-es"],
2645
+ "rounded-e": ["rounded-se", "rounded-ee"],
2646
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2647
+ "rounded-r": ["rounded-tr", "rounded-br"],
2648
+ "rounded-b": ["rounded-br", "rounded-bl"],
2649
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2650
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2651
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2652
+ "border-w-x": ["border-w-r", "border-w-l"],
2653
+ "border-w-y": ["border-w-t", "border-w-b"],
2654
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2655
+ "border-color-x": ["border-color-r", "border-color-l"],
2656
+ "border-color-y": ["border-color-t", "border-color-b"],
2657
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2658
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2659
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2660
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2661
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2662
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2663
+ touch: ["touch-x", "touch-y", "touch-pz"],
2664
+ "touch-x": ["touch"],
2665
+ "touch-y": ["touch"],
2666
+ "touch-pz": ["touch"]
2667
+ },
2668
+ conflictingClassGroupModifiers: {
2669
+ "font-size": ["leading"]
2670
+ }
2671
+ };
2672
+ }, $r = /* @__PURE__ */ Cr(Ur);
2673
+ function d(...e) {
2674
+ return $r(br(e));
2675
+ }
2676
+ const _r = c.forwardRef(
2677
+ ({
2678
+ className: e,
2679
+ variant: r = "primary",
2680
+ size: t = "base",
2681
+ icon: o = !1,
2682
+ active: a = !1,
2683
+ disabled: s = !1,
2684
+ children: i,
2685
+ ...l
2686
+ }, b) => {
2687
+ const g = "inline-flex items-center justify-center font-sans font-normal leading-[1.25] text-base border border-transparent cursor-pointer select-none transition-all duration-200 ease-in-out target-size", p = {
2688
+ primary: "bg-supporting-orange text-black hover:bg-supporting-orange hover:text-black active:bg-[var(--highlight-color)] active:border-[var(--border-color)] active:text-[var(--body-color)] focus-visible:z-[5]",
2689
+ secondary: "bg-black text-[var(--highlight-color)] hover:bg-[var(--highlight-color)] hover:border-[var(--border-color)] hover:text-[var(--body-color)] active:bg-[var(--highlight-color)] active:border-[var(--border-color)] active:text-[var(--body-color)]",
2690
+ success: "bg-success text-[var(--highlight-color)] hover:bg-success hover:text-[var(--highlight-color)] active:bg-success active:text-[var(--highlight-color)]",
2691
+ danger: "bg-danger text-[var(--highlight-color)] hover:bg-danger hover:text-[var(--highlight-color)] active:bg-danger active:text-[var(--highlight-color)]",
2692
+ warning: "bg-warning text-black hover:bg-warning hover:text-black active:bg-warning active:text-black",
2693
+ info: "bg-info text-[var(--highlight-color)] hover:bg-info hover:text-[var(--highlight-color)] active:bg-info active:text-[var(--highlight-color)]",
2694
+ light: "bg-light text-black hover:bg-light hover:text-black active:bg-light active:text-black",
2695
+ dark: "bg-dark text-white hover:bg-white hover:border-[var(--border-color)] hover:text-black active:bg-white active:border-[var(--border-color)] active:text-black",
2696
+ "outline-primary": "bg-transparent border-primary text-primary hover:bg-primary hover:text-black active:bg-primary active:text-black",
2697
+ "outline-secondary": "bg-transparent border-black text-black hover:bg-[var(--highlight-color)] hover:border-[var(--border-color)] hover:text-[var(--body-color)] active:bg-[var(--highlight-color)] active:border-[var(--border-color)] active:text-[var(--body-color)]",
2698
+ "outline-success": "bg-transparent border-success text-success hover:bg-success hover:text-[var(--highlight-color)] active:bg-success active:text-[var(--highlight-color)]",
2699
+ "outline-danger": "bg-transparent border-danger text-danger hover:bg-danger hover:text-[var(--highlight-color)] active:bg-danger active:text-[var(--highlight-color)]",
2700
+ "outline-warning": "bg-transparent border-warning text-warning hover:bg-warning hover:text-black active:bg-warning active:text-black",
2701
+ "outline-info": "bg-transparent border-info text-info hover:bg-info hover:text-[var(--highlight-color)] active:bg-info active:text-[var(--highlight-color)]",
2702
+ "outline-light": "bg-transparent border-light text-light hover:bg-light hover:text-black active:bg-light active:text-black",
2703
+ "outline-dark": "bg-transparent border-dark text-dark hover:bg-white hover:border-[var(--border-color)] hover:text-black active:bg-white active:border-[var(--border-color)] active:text-black",
2704
+ "no-outline": "bg-transparent border-transparent text-[var(--body-color)] hover:border-[var(--border-color-subtle)] hover:text-[var(--body-color)] active:border-[var(--border-color-subtle)] active:text-primary disabled:text-[var(--disabled-color)]",
2705
+ toggle: "bg-transparent border-[var(--border-color-subtle)] text-[var(--body-color)] hover:border-[var(--border-color-subtle)] hover:text-primary active:bg-supporting-orange active:border-supporting-orange active:text-black",
2706
+ dropdown: "bg-[var(--body-bg)] border-[var(--border-color-subtle)] text-[var(--body-color)] hover:bg-[var(--body-bg)] hover:border-[var(--border-color-subtle)] hover:text-[var(--body-color)] active:bg-[var(--body-bg)] active:border-[var(--body-color)] active:text-[var(--body-color)] disabled:bg-[var(--body-bg)] disabled:border-[var(--disabled-color)] disabled:text-[var(--disabled-color)]",
2707
+ link: "bg-transparent border-transparent text-black underline-offset-4 hover:text-primary hover:underline active:text-primary"
2708
+ }, f = {
2709
+ sm: "px-2 py-1 text-sm leading-[calc(16/14)] tracking-[-0.00625rem]",
2710
+ base: "px-3 py-[calc(1.25rem-1px)] text-base leading-[1.25] tracking-[-0.00625rem]",
2711
+ lg: "px-5 py-[calc(1.25rem-1px)] text-lg leading-[calc(20/18)] tracking-[-0.0125rem]"
2712
+ }, h = o ? "btn-icon" : "";
2713
+ return /* @__PURE__ */ n(
2714
+ "button",
2715
+ {
2716
+ ref: b,
2717
+ className: d(
2718
+ g,
2719
+ p[r],
2720
+ f[t],
2721
+ h,
2722
+ a && "active",
2723
+ s && "pointer-events-none opacity-65",
2724
+ e
2725
+ ),
2726
+ disabled: s,
2727
+ ...l,
2728
+ children: i
2729
+ }
2730
+ );
2731
+ }
2732
+ );
2733
+ _r.displayName = "Button";
2734
+ const qr = c.forwardRef(
2735
+ ({ className: e, type: r = "text", size: t = "base", error: o = !1, ...a }, s) => {
2736
+ const i = "block w-full font-sans border border-black bg-white text-[var(--body-color)] transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2", l = {
2737
+ sm: "px-2 py-1 text-sm leading-[1.25]",
2738
+ base: "px-3 py-[calc(1.25rem-1px)] text-base leading-[1.25]",
2739
+ lg: "px-5 py-[calc(1.25rem-1px)] text-lg leading-[calc(20/18)]"
2740
+ }, b = o ? "border-danger focus:border-danger focus:ring-danger" : "focus:border-primary focus:ring-primary";
2741
+ return /* @__PURE__ */ n(
2742
+ "input",
2743
+ {
2744
+ type: r,
2745
+ className: d(i, l[t], b, e),
2746
+ ref: s,
2747
+ ...a
2748
+ }
2749
+ );
2750
+ }
2751
+ );
2752
+ qr.displayName = "Input";
2753
+ const Dr = c.forwardRef(
2754
+ ({ className: e, variant: r = "default", children: t, ...o }, a) => /* @__PURE__ */ n(
2755
+ "div",
2756
+ {
2757
+ ref: a,
2758
+ className: d("flex flex-col", {
2759
+ default: "bg-white",
2760
+ outline: "border border-black bg-white"
2761
+ }[r], e),
2762
+ ...o,
2763
+ children: t
2764
+ }
2765
+ )
2766
+ );
2767
+ Dr.displayName = "Card";
2768
+ const Or = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2769
+ "div",
2770
+ {
2771
+ ref: t,
2772
+ className: d("flex flex-col space-y-1.5 p-5", e),
2773
+ ...r
2774
+ }
2775
+ ));
2776
+ Or.displayName = "CardHeader";
2777
+ const Xr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2778
+ "h3",
2779
+ {
2780
+ ref: t,
2781
+ className: d("text-2xl font-semibold leading-none tracking-tight", e),
2782
+ ...r
2783
+ }
2784
+ ));
2785
+ Xr.displayName = "CardTitle";
2786
+ const Jr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("p", { ref: t, className: d("text-sm text-body-secondary-color", e), ...r }));
2787
+ Jr.displayName = "CardDescription";
2788
+ const Zr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("p-5 pt-0", e), ...r }));
2789
+ Zr.displayName = "CardContent";
2790
+ const Kr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("flex items-center p-5 pt-0", e), ...r }));
2791
+ Kr.displayName = "CardFooter";
2792
+ const Qr = c.forwardRef(
2793
+ ({ as: e, variant: r = "body", className: t, children: o, ...a }, s) => {
2794
+ const i = {
2795
+ h1: "text-h1 leading-h1 tracking-h1 font-normal",
2796
+ h2: "text-h2 leading-h2 tracking-h2 font-normal",
2797
+ h3: "text-h3 leading-h3 tracking-h3 font-normal",
2798
+ h4: "text-h4 leading-h4 tracking-h4 font-normal",
2799
+ h5: "text-h5 leading-h5 tracking-h5 font-normal",
2800
+ h6: "text-h6 leading-h6 tracking-h6 font-normal",
2801
+ body: "text-base leading-base font-normal",
2802
+ lead: "text-xlg leading-lead tracking-lead font-normal",
2803
+ small: "text-sm leading-sm font-normal",
2804
+ display1: "text-display-1 leading-display tracking-display-1 font-normal",
2805
+ display2: "text-display-2 leading-display tracking-display-2 font-normal",
2806
+ display3: "text-display-3 leading-display tracking-display-3 font-normal",
2807
+ display4: "text-display-4 leading-display tracking-display-4 font-normal"
2808
+ }, l = r.startsWith("h") ? r : r === "lead" || r === "small" ? "p" : "div", b = e || l;
2809
+ return c.createElement(
2810
+ b,
2811
+ {
2812
+ ref: s,
2813
+ className: d(i[r], t),
2814
+ ...a
2815
+ },
2816
+ o
2817
+ );
2818
+ }
2819
+ );
2820
+ Qr.displayName = "Typography";
2821
+ const Yr = c.forwardRef(
2822
+ ({ className: e, fluid: r = !1, size: t, children: o, ...a }, s) => {
2823
+ const i = "w-full mx-auto px-5", l = {
2824
+ xs: "max-w-[312px]",
2825
+ sm: "max-w-[468px]",
2826
+ md: "max-w-[744px]",
2827
+ lg: "max-w-[960px]",
2828
+ xl: "max-w-[1200px]",
2829
+ xxl: "max-w-[1320px]"
2830
+ };
2831
+ return r ? /* @__PURE__ */ n("div", { ref: s, className: d(i, e), ...a, children: o }) : /* @__PURE__ */ n(
2832
+ "div",
2833
+ {
2834
+ ref: s,
2835
+ className: d(i, l[t || "xxl"], e),
2836
+ ...a,
2837
+ children: o
2838
+ }
2839
+ );
2840
+ }
2841
+ );
2842
+ Yr.displayName = "Container";
2843
+ const et = c.forwardRef(
2844
+ ({ className: e, cols: r = 12, gap: t = 3, children: o, ...a }, s) => {
2845
+ const i = "grid", l = {
2846
+ 1: "grid-cols-1",
2847
+ 2: "grid-cols-2",
2848
+ 3: "grid-cols-3",
2849
+ 4: "grid-cols-4",
2850
+ 5: "grid-cols-5",
2851
+ 6: "grid-cols-6",
2852
+ 7: "grid-cols-7",
2853
+ 8: "grid-cols-8",
2854
+ 9: "grid-cols-9",
2855
+ 10: "grid-cols-10",
2856
+ 11: "grid-cols-11",
2857
+ 12: "grid-cols-12"
2858
+ }, b = {
2859
+ 0: "gap-0",
2860
+ 1: "gap-1",
2861
+ 2: "gap-2",
2862
+ 3: "gap-3",
2863
+ 4: "gap-4",
2864
+ 5: "gap-5"
2865
+ };
2866
+ return /* @__PURE__ */ n(
2867
+ "div",
2868
+ {
2869
+ ref: s,
2870
+ className: d(i, l[r], b[t], e),
2871
+ ...a,
2872
+ children: o
2873
+ }
2874
+ );
2875
+ }
2876
+ );
2877
+ et.displayName = "Grid";
2878
+ const rt = c.forwardRef(
2879
+ ({ className: e, span: r, children: t, ...o }, a) => {
2880
+ const s = r ? {
2881
+ 1: "col-span-1",
2882
+ 2: "col-span-2",
2883
+ 3: "col-span-3",
2884
+ 4: "col-span-4",
2885
+ 5: "col-span-5",
2886
+ 6: "col-span-6",
2887
+ 7: "col-span-7",
2888
+ 8: "col-span-8",
2889
+ 9: "col-span-9",
2890
+ 10: "col-span-10",
2891
+ 11: "col-span-11",
2892
+ 12: "col-span-12"
2893
+ }[r] : "";
2894
+ return /* @__PURE__ */ n("div", { ref: a, className: d(s, e), ...o, children: t });
2895
+ }
2896
+ );
2897
+ rt.displayName = "GridItem";
2898
+ var tt = function(e, r) {
2899
+ for (var t = {}; e.length; ) {
2900
+ var o = e[0], a = o.code, s = o.message, i = o.path.join(".");
2901
+ if (!t[i]) if ("unionErrors" in o) {
2902
+ var l = o.unionErrors[0].errors[0];
2903
+ t[i] = { message: l.message, type: l.code };
2904
+ } else t[i] = { message: s, type: a };
2905
+ if ("unionErrors" in o && o.unionErrors.forEach(function(p) {
2906
+ return p.errors.forEach(function(f) {
2907
+ return e.push(f);
2908
+ });
2909
+ }), r) {
2910
+ var b = t[i].types, g = b && b[o.code];
2911
+ t[i] = Le(i, r, t, a, g ? [].concat(g, o.message) : o.message);
2912
+ }
2913
+ e.shift();
2914
+ }
2915
+ return t;
2916
+ }, ot = function(e, r, t) {
2917
+ return t === void 0 && (t = {}), function(o, a, s) {
2918
+ try {
2919
+ return Promise.resolve((function(i, l) {
2920
+ try {
2921
+ var b = Promise.resolve(e[t.mode === "sync" ? "parse" : "parseAsync"](o, r)).then(function(g) {
2922
+ return s.shouldUseNativeValidation && We({}, s), { errors: {}, values: t.raw ? o : g };
2923
+ });
2924
+ } catch (g) {
2925
+ return l(g);
2926
+ }
2927
+ return b && b.then ? b.then(void 0, l) : b;
2928
+ })(0, function(i) {
2929
+ if ((function(l) {
2930
+ return Array.isArray(l == null ? void 0 : l.errors);
2931
+ })(i)) return { values: {}, errors: He(tt(i.errors, !s.shouldUseNativeValidation && s.criteriaMode === "all"), s) };
2932
+ throw i;
2933
+ }));
2934
+ } catch (i) {
2935
+ return Promise.reject(i);
2936
+ }
2937
+ };
2938
+ };
2939
+ function Yt({
2940
+ schema: e,
2941
+ defaultValues: r,
2942
+ onSubmit: t,
2943
+ children: o,
2944
+ className: a,
2945
+ ...s
2946
+ }) {
2947
+ const i = Ge({
2948
+ resolver: ot(e),
2949
+ defaultValues: r
2950
+ }), l = i.handleSubmit(async (b) => {
2951
+ await t(b);
2952
+ });
2953
+ return /* @__PURE__ */ n(Ee, { ...i, children: /* @__PURE__ */ n("form", { onSubmit: l, className: d("space-y-4", a), ...s, children: o(i) }) });
2954
+ }
2955
+ function eo({ name: e, control: r, render: t, children: o, className: a, ...s }) {
2956
+ const i = Be();
2957
+ return /* @__PURE__ */ n(
2958
+ Fe,
2959
+ {
2960
+ name: e,
2961
+ control: r || i.control,
2962
+ ...s,
2963
+ render: (l) => {
2964
+ const b = t ? t(l) : o ? o(l) : null;
2965
+ return /* @__PURE__ */ n("div", { className: d("space-y-1", a), children: b });
2966
+ }
2967
+ }
2968
+ );
2969
+ }
2970
+ const at = c.forwardRef(
2971
+ ({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("space-y-1", e), ...r })
2972
+ );
2973
+ at.displayName = "FormItem";
2974
+ const st = c.forwardRef(
2975
+ ({ className: e, required: r, children: t, ...o }, a) => /* @__PURE__ */ T(
2976
+ "label",
2977
+ {
2978
+ ref: a,
2979
+ className: d(
2980
+ "block text-base font-normal leading-[1.25] text-[var(--body-color)]",
2981
+ e
2982
+ ),
2983
+ ...o,
2984
+ children: [
2985
+ t,
2986
+ r && /* @__PURE__ */ n("span", { className: "text-danger ml-1", "aria-label": "required", children: "*" })
2987
+ ]
2988
+ }
2989
+ )
2990
+ );
2991
+ st.displayName = "FormLabel";
2992
+ const nt = c.forwardRef(
2993
+ ({ className: e, error: r, children: t, ...o }, a) => !r && !t ? null : /* @__PURE__ */ n(
2994
+ "p",
2995
+ {
2996
+ ref: a,
2997
+ className: d(
2998
+ "text-sm leading-sm text-danger",
2999
+ e
3000
+ ),
3001
+ role: "alert",
3002
+ "aria-live": "polite",
3003
+ ...o,
3004
+ children: r || t
3005
+ }
3006
+ )
3007
+ );
3008
+ nt.displayName = "FormMessage";
3009
+ const it = c.forwardRef(
3010
+ ({ className: e, ...r }, t) => /* @__PURE__ */ n(
3011
+ "p",
3012
+ {
3013
+ ref: t,
3014
+ className: d("text-sm leading-sm text-body-secondary-color", e),
3015
+ ...r
3016
+ }
3017
+ )
3018
+ );
3019
+ it.displayName = "FormDescription";
3020
+ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "This field is required"), oo = z.string().optional(), ao = z.string().regex(/^[+]?[(]?[0-9]{1,4}[)]?[-\s.]?[(]?[0-9]{1,4}[)]?[-\s.]?[0-9]{1,9}$/, {
3021
+ message: "Invalid phone number"
3022
+ }), so = z.string().url("Invalid URL"), no = z.number().positive("Must be a positive number"), io = z.number().nonnegative("Must be a non-negative number"), lo = z.date(), co = z.date().refine((e) => e > /* @__PURE__ */ new Date(), {
3023
+ message: "Date must be in the future"
3024
+ }), bo = z.date().refine((e) => e < /* @__PURE__ */ new Date(), {
3025
+ message: "Date must be in the past"
3026
+ }), lt = c.forwardRef(
3027
+ ({ className: e, variant: r = "info", dismissible: t = !1, onDismiss: o, children: a, ...s }, i) => {
3028
+ const [l, b] = c.useState(!0), g = () => {
3029
+ b(!1), o == null || o();
3030
+ };
3031
+ return l ? /* @__PURE__ */ T(
3032
+ "div",
3033
+ {
3034
+ ref: i,
3035
+ role: "alert",
3036
+ className: d(
3037
+ "relative px-5 py-4 mb-4 border rounded",
3038
+ {
3039
+ success: "bg-success text-[var(--highlight-color)] border-success",
3040
+ danger: "bg-danger text-[var(--highlight-color)] border-danger",
3041
+ warning: "bg-warning text-black border-warning",
3042
+ info: "bg-info text-[var(--highlight-color)] border-info"
3043
+ }[r],
3044
+ e
3045
+ ),
3046
+ ...s,
3047
+ children: [
3048
+ a,
3049
+ t && /* @__PURE__ */ n(
3050
+ "button",
3051
+ {
3052
+ type: "button",
3053
+ className: "absolute top-0 right-0 p-4 text-current opacity-50 hover:opacity-75 focus:outline-none",
3054
+ onClick: g,
3055
+ "aria-label": "Close alert",
3056
+ children: /* @__PURE__ */ n("span", { "aria-hidden": "true", children: "×" })
3057
+ }
3058
+ )
3059
+ ]
3060
+ }
3061
+ ) : null;
3062
+ }
3063
+ );
3064
+ lt.displayName = "Alert";
3065
+ const ct = c.forwardRef(
3066
+ ({ className: e, open: r = !1, onClose: t, size: o = "md", children: a, ...s }, i) => {
3067
+ const [l, b] = c.useState(r);
3068
+ c.useEffect(() => {
3069
+ b(r);
3070
+ }, [r]);
3071
+ const g = (f) => {
3072
+ f.target === f.currentTarget && (b(!1), t == null || t());
3073
+ };
3074
+ return l ? /* @__PURE__ */ n(
3075
+ "div",
3076
+ {
3077
+ className: "fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
3078
+ onClick: g,
3079
+ role: "dialog",
3080
+ "aria-modal": "true",
3081
+ children: /* @__PURE__ */ n(
3082
+ "div",
3083
+ {
3084
+ ref: i,
3085
+ className: d(
3086
+ "relative bg-white rounded p-5 w-full mx-4",
3087
+ {
3088
+ sm: "max-w-sm",
3089
+ md: "max-w-md",
3090
+ lg: "max-w-lg",
3091
+ xl: "max-w-xl"
3092
+ }[o],
3093
+ e
3094
+ ),
3095
+ onClick: (f) => f.stopPropagation(),
3096
+ ...s,
3097
+ children: a
3098
+ }
3099
+ )
3100
+ }
3101
+ ) : null;
3102
+ }
3103
+ );
3104
+ ct.displayName = "Modal";
3105
+ const dt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("mb-4", e), ...r }));
3106
+ dt.displayName = "ModalHeader";
3107
+ const bt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("h2", { ref: t, className: d("text-2xl font-semibold", e), ...r }));
3108
+ bt.displayName = "ModalTitle";
3109
+ const pt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("mb-4", e), ...r }));
3110
+ pt.displayName = "ModalBody";
3111
+ const mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("flex justify-end gap-2", e), ...r }));
3112
+ mt.displayName = "ModalFooter";
3113
+ const gt = c.forwardRef(
3114
+ ({ className: e, trigger: r, open: t, onOpenChange: o, children: a, ...s }, i) => {
3115
+ const [l, b] = c.useState(!1), g = c.useRef(null), p = t ?? l, f = () => {
3116
+ const h = !p;
3117
+ b(h), o == null || o(h);
3118
+ };
3119
+ return c.useEffect(() => {
3120
+ const h = (w) => {
3121
+ g.current && !g.current.contains(w.target) && (b(!1), o == null || o(!1));
3122
+ };
3123
+ return p && document.addEventListener("mousedown", h), () => {
3124
+ document.removeEventListener("mousedown", h);
3125
+ };
3126
+ }, [p, o]), /* @__PURE__ */ T("div", { ref: g, className: d("relative inline-block", e), ...s, children: [
3127
+ /* @__PURE__ */ n("div", { onClick: f, role: "button", tabIndex: 0, children: r }),
3128
+ p && /* @__PURE__ */ n(
3129
+ "div",
3130
+ {
3131
+ ref: i,
3132
+ className: "absolute z-50 mt-1 bg-white border border-black rounded shadow-lg min-w-[8rem]",
3133
+ role: "menu",
3134
+ children: a
3135
+ }
3136
+ )
3137
+ ] });
3138
+ }
3139
+ );
3140
+ gt.displayName = "Dropdown";
3141
+ const ut = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3142
+ "button",
3143
+ {
3144
+ ref: t,
3145
+ className: d(
3146
+ "block w-full text-left px-4 py-2 text-base hover:bg-gray-200 focus:bg-gray-200 focus:outline-none",
3147
+ e
3148
+ ),
3149
+ role: "menuitem",
3150
+ ...r
3151
+ }
3152
+ ));
3153
+ ut.displayName = "DropdownItem";
3154
+ const ft = c.forwardRef(
3155
+ ({ className: e, brand: r, children: t, ...o }, a) => /* @__PURE__ */ T(
3156
+ "nav",
3157
+ {
3158
+ ref: a,
3159
+ className: d(
3160
+ "relative flex flex-wrap items-center justify-between px-5 py-4 bg-white border-b border-black",
3161
+ e
3162
+ ),
3163
+ ...o,
3164
+ children: [
3165
+ r && /* @__PURE__ */ n("div", { className: "flex items-center", children: r }),
3166
+ /* @__PURE__ */ n("div", { className: "flex items-center", children: t })
3167
+ ]
3168
+ }
3169
+ )
3170
+ );
3171
+ ft.displayName = "Navbar";
3172
+ const ht = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("ul", { ref: t, className: d("flex flex-row space-x-4 list-none", e), ...r }));
3173
+ ht.displayName = "NavbarNav";
3174
+ const vt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("li", { ref: t, className: d("", e), ...r }));
3175
+ vt.displayName = "NavbarItem";
3176
+ const xt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3177
+ "a",
3178
+ {
3179
+ ref: t,
3180
+ className: d(
3181
+ "block px-2 py-2 text-base text-black no-underline hover:text-primary focus:outline-none",
3182
+ e
3183
+ ),
3184
+ ...r
3185
+ }
3186
+ ));
3187
+ xt.displayName = "NavbarLink";
3188
+ const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3189
+ const a = {
3190
+ sm: "h-4 w-4",
3191
+ base: "h-5 w-5",
3192
+ lg: "h-6 w-6"
3193
+ };
3194
+ return /* @__PURE__ */ n(
3195
+ ae.Root,
3196
+ {
3197
+ ref: o,
3198
+ className: d(
3199
+ "peer h-5 w-5 shrink-0 rounded border-2 border-black bg-white transition-colors",
3200
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3201
+ "disabled:cursor-not-allowed disabled:opacity-50",
3202
+ "data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-white",
3203
+ a[r],
3204
+ e
3205
+ ),
3206
+ ...t,
3207
+ children: /* @__PURE__ */ n(
3208
+ ae.Indicator,
3209
+ {
3210
+ className: d("flex items-center justify-center text-current"),
3211
+ children: /* @__PURE__ */ n(
3212
+ "svg",
3213
+ {
3214
+ className: "h-4 w-4",
3215
+ viewBox: "0 0 12 12",
3216
+ fill: "none",
3217
+ xmlns: "http://www.w3.org/2000/svg",
3218
+ children: /* @__PURE__ */ n(
3219
+ "path",
3220
+ {
3221
+ d: "M10 3L4.5 8.5L2 6",
3222
+ stroke: "currentColor",
3223
+ strokeWidth: "2",
3224
+ strokeLinecap: "round",
3225
+ strokeLinejoin: "round"
3226
+ }
3227
+ )
3228
+ }
3229
+ )
3230
+ }
3231
+ )
3232
+ }
3233
+ );
3234
+ });
3235
+ yt.displayName = ae.Root.displayName;
3236
+ const wt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => /* @__PURE__ */ n(
3237
+ _.Root,
3238
+ {
3239
+ className: d("grid gap-2", e),
3240
+ ...t,
3241
+ ref: o
3242
+ }
3243
+ ));
3244
+ wt.displayName = _.Root.displayName;
3245
+ const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3246
+ const a = {
3247
+ sm: "h-4 w-4",
3248
+ base: "h-5 w-5",
3249
+ lg: "h-6 w-6"
3250
+ };
3251
+ return /* @__PURE__ */ n(
3252
+ _.Item,
3253
+ {
3254
+ ref: o,
3255
+ className: d(
3256
+ "aspect-square rounded-full border-2 border-black bg-white transition-colors",
3257
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3258
+ "disabled:cursor-not-allowed disabled:opacity-50",
3259
+ "data-[state=checked]:border-primary",
3260
+ a[r],
3261
+ e
3262
+ ),
3263
+ ...t,
3264
+ children: /* @__PURE__ */ n(_.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ n("div", { className: "h-2.5 w-2.5 rounded-full bg-primary" }) })
3265
+ }
3266
+ );
3267
+ });
3268
+ Nt.displayName = _.Item.displayName;
3269
+ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3270
+ const a = {
3271
+ sm: "h-4 w-7",
3272
+ base: "h-5 w-9",
3273
+ lg: "h-6 w-11"
3274
+ }, s = {
3275
+ sm: "h-3 w-3",
3276
+ base: "h-4 w-4",
3277
+ lg: "h-5 w-5"
3278
+ };
3279
+ return /* @__PURE__ */ n(
3280
+ se.Root,
3281
+ {
3282
+ className: d(
3283
+ "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-black bg-white transition-colors",
3284
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3285
+ "disabled:cursor-not-allowed disabled:opacity-50",
3286
+ "data-[state=checked]:bg-primary data-[state=checked]:border-primary",
3287
+ a[r],
3288
+ e
3289
+ ),
3290
+ ...t,
3291
+ ref: o,
3292
+ children: /* @__PURE__ */ n(
3293
+ se.Thumb,
3294
+ {
3295
+ className: d(
3296
+ "pointer-events-none block rounded-full bg-black transition-transform",
3297
+ "translate-x-0.5 will-change-transform",
3298
+ "data-[state=checked]:translate-x-[calc(100%-0.125rem)] data-[state=checked]:bg-white",
3299
+ s[r]
3300
+ )
3301
+ }
3302
+ )
3303
+ }
3304
+ );
3305
+ });
3306
+ kt.displayName = se.Root.displayName;
3307
+ const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e, children: r, size: t = "base", error: o = !1, ...a }, s) => {
3308
+ const i = {
3309
+ sm: "h-8 px-2 text-sm",
3310
+ base: "h-10 px-3 text-base",
3311
+ lg: "h-12 px-4 text-lg"
3312
+ };
3313
+ return /* @__PURE__ */ T(
3314
+ C.Trigger,
3315
+ {
3316
+ ref: s,
3317
+ className: d(
3318
+ "flex w-full items-center justify-between rounded border-2 border-black bg-white",
3319
+ "placeholder:text-gray-500",
3320
+ "focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",
3321
+ "disabled:cursor-not-allowed disabled:opacity-50",
3322
+ o && "border-danger focus:ring-danger",
3323
+ i[t],
3324
+ e
3325
+ ),
3326
+ ...a,
3327
+ children: [
3328
+ r,
3329
+ /* @__PURE__ */ n(C.Icon, { asChild: !0, children: /* @__PURE__ */ n(
3330
+ "svg",
3331
+ {
3332
+ className: "h-4 w-4 opacity-50",
3333
+ viewBox: "0 0 12 12",
3334
+ fill: "none",
3335
+ xmlns: "http://www.w3.org/2000/svg",
3336
+ children: /* @__PURE__ */ n(
3337
+ "path",
3338
+ {
3339
+ d: "M3 4.5L6 7.5L9 4.5",
3340
+ stroke: "currentColor",
3341
+ strokeWidth: "2",
3342
+ strokeLinecap: "round",
3343
+ strokeLinejoin: "round"
3344
+ }
3345
+ )
3346
+ }
3347
+ ) })
3348
+ ]
3349
+ }
3350
+ );
3351
+ });
3352
+ Ct.displayName = C.Trigger.displayName;
3353
+ const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, a) => /* @__PURE__ */ n(C.Portal, { children: /* @__PURE__ */ n(
3354
+ C.Content,
3355
+ {
3356
+ ref: a,
3357
+ className: d(
3358
+ "relative z-50 min-w-[8rem] overflow-hidden rounded border-2 border-black bg-white shadow-lg",
3359
+ t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
3360
+ e
3361
+ ),
3362
+ position: t,
3363
+ ...o,
3364
+ children: /* @__PURE__ */ n(
3365
+ C.Viewport,
3366
+ {
3367
+ className: d(
3368
+ "p-1",
3369
+ t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
3370
+ ),
3371
+ children: r
3372
+ }
3373
+ )
3374
+ }
3375
+ ) }));
3376
+ Rt.displayName = C.Content.displayName;
3377
+ const St = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3378
+ C.Item,
3379
+ {
3380
+ ref: o,
3381
+ className: d(
3382
+ "relative flex w-full cursor-pointer select-none items-center rounded px-3 py-2 text-base outline-none",
3383
+ "focus:bg-primary focus:text-white",
3384
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3385
+ e
3386
+ ),
3387
+ ...t,
3388
+ children: /* @__PURE__ */ n(C.ItemText, { children: r })
3389
+ }
3390
+ ));
3391
+ St.displayName = C.Item.displayName;
3392
+ const zt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3393
+ C.Separator,
3394
+ {
3395
+ ref: t,
3396
+ className: d("-mx-1 my-1 h-px bg-gray-300", e),
3397
+ ...r
3398
+ }
3399
+ ));
3400
+ zt.displayName = C.Separator.displayName;
3401
+ const Mt = c.forwardRef(
3402
+ ({ className: e, error: r = !1, size: t = "base", ...o }, a) => /* @__PURE__ */ n(
3403
+ "textarea",
3404
+ {
3405
+ className: d(
3406
+ "flex min-h-[80px] w-full rounded border-2 border-black bg-white px-3 py-2 text-base",
3407
+ "placeholder:text-gray-500",
3408
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3409
+ "disabled:cursor-not-allowed disabled:opacity-50",
3410
+ r && "border-danger focus-visible:ring-danger",
3411
+ {
3412
+ sm: "px-2 py-1 text-sm",
3413
+ base: "px-3 py-2 text-base",
3414
+ lg: "px-4 py-3 text-lg"
3415
+ }[t],
3416
+ e
3417
+ ),
3418
+ ref: a,
3419
+ ...o
3420
+ }
3421
+ )
3422
+ );
3423
+ Mt.displayName = "Textarea";
3424
+ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3425
+ const a = {
3426
+ sm: "h-1",
3427
+ base: "h-2",
3428
+ lg: "h-3"
3429
+ }, s = {
3430
+ sm: "h-4 w-4",
3431
+ base: "h-5 w-5",
3432
+ lg: "h-6 w-6"
3433
+ };
3434
+ return /* @__PURE__ */ T(
3435
+ U.Root,
3436
+ {
3437
+ ref: o,
3438
+ className: d(
3439
+ "relative flex w-full touch-none select-none items-center",
3440
+ a[r],
3441
+ e
3442
+ ),
3443
+ ...t,
3444
+ children: [
3445
+ /* @__PURE__ */ n(U.Track, { className: "relative h-full w-full grow rounded-full bg-gray-300", children: /* @__PURE__ */ n(U.Range, { className: "absolute h-full rounded-full bg-primary" }) }),
3446
+ /* @__PURE__ */ n(
3447
+ U.Thumb,
3448
+ {
3449
+ className: d(
3450
+ "block rounded-full border-2 border-black bg-white transition-colors",
3451
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3452
+ "disabled:pointer-events-none disabled:opacity-50",
3453
+ s[r]
3454
+ )
3455
+ }
3456
+ )
3457
+ ]
3458
+ }
3459
+ );
3460
+ });
3461
+ It.displayName = U.Root.displayName;
3462
+ const Tt = c.forwardRef(
3463
+ ({ className: e, separator: r = "/", children: t, ...o }, a) => {
3464
+ const s = c.Children.toArray(t);
3465
+ return /* @__PURE__ */ n(
3466
+ "nav",
3467
+ {
3468
+ ref: a,
3469
+ "aria-label": "Breadcrumb",
3470
+ className: d("flex items-center space-x-2", e),
3471
+ ...o,
3472
+ children: /* @__PURE__ */ n("ol", { className: "flex items-center space-x-2", children: c.Children.map(t, (i, l) => {
3473
+ const b = l === s.length - 1;
3474
+ return /* @__PURE__ */ T("li", { className: "flex items-center", children: [
3475
+ i,
3476
+ !b && /* @__PURE__ */ n("span", { className: "mx-2 text-gray-500", "aria-hidden": "true", children: r })
3477
+ ] }, l);
3478
+ }) })
3479
+ }
3480
+ );
3481
+ }
3482
+ );
3483
+ Tt.displayName = "Breadcrumbs";
3484
+ const At = c.forwardRef(
3485
+ ({ className: e, active: r = !1, ...t }, o) => r ? /* @__PURE__ */ n(
3486
+ "span",
3487
+ {
3488
+ ref: o,
3489
+ className: d("text-gray-500", e),
3490
+ "aria-current": "page",
3491
+ ...t,
3492
+ children: t.children
3493
+ }
3494
+ ) : /* @__PURE__ */ n(
3495
+ "a",
3496
+ {
3497
+ ref: o,
3498
+ className: d(
3499
+ "text-black hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3500
+ e
3501
+ ),
3502
+ ...t
3503
+ }
3504
+ )
3505
+ );
3506
+ At.displayName = "BreadcrumbItem";
3507
+ const Pt = c.forwardRef(
3508
+ ({
3509
+ className: e,
3510
+ currentPage: r,
3511
+ totalPages: t,
3512
+ onPageChange: o,
3513
+ showFirstLast: a = !0,
3514
+ maxVisible: s = 5,
3515
+ ...i
3516
+ }, l) => {
3517
+ const g = (() => {
3518
+ const p = [], f = Math.floor(s / 2);
3519
+ let h = Math.max(1, r - f), w = Math.min(t, r + f);
3520
+ w - h < s - 1 && (h === 1 ? w = Math.min(t, h + s - 1) : h = Math.max(1, w - s + 1)), h > 1 && a && (p.push(1), h > 2 && p.push("ellipsis-start"));
3521
+ for (let R = h; R <= w; R++)
3522
+ p.push(R);
3523
+ return w < t && a && (w < t - 1 && p.push("ellipsis-end"), p.push(t)), p;
3524
+ })();
3525
+ return /* @__PURE__ */ T(
3526
+ "nav",
3527
+ {
3528
+ ref: l,
3529
+ "aria-label": "Pagination",
3530
+ className: d("flex items-center justify-center gap-1", e),
3531
+ ...i,
3532
+ children: [
3533
+ /* @__PURE__ */ n(
3534
+ K,
3535
+ {
3536
+ onClick: () => o(r - 1),
3537
+ disabled: r === 1,
3538
+ "aria-label": "Previous page",
3539
+ children: "‹"
3540
+ }
3541
+ ),
3542
+ g.map((p, f) => typeof p == "string" ? /* @__PURE__ */ n("span", { className: "px-2 text-gray-500", children: "..." }, f) : /* @__PURE__ */ n(
3543
+ K,
3544
+ {
3545
+ onClick: () => o(p),
3546
+ active: p === r,
3547
+ "aria-label": `Page ${p}`,
3548
+ "aria-current": p === r ? "page" : void 0,
3549
+ children: p
3550
+ },
3551
+ p
3552
+ )),
3553
+ /* @__PURE__ */ n(
3554
+ K,
3555
+ {
3556
+ onClick: () => o(r + 1),
3557
+ disabled: r === t,
3558
+ "aria-label": "Next page",
3559
+ children: "›"
3560
+ }
3561
+ )
3562
+ ]
3563
+ }
3564
+ );
3565
+ }
3566
+ );
3567
+ Pt.displayName = "Pagination";
3568
+ const K = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE__ */ n(
3569
+ "button",
3570
+ {
3571
+ ref: o,
3572
+ className: d(
3573
+ "min-h-[2.75rem] min-w-[2.75rem] rounded border-2 border-black px-3 py-2 text-base font-medium transition-colors",
3574
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3575
+ r ? "bg-primary text-white border-primary" : "bg-white text-black hover:bg-gray-200",
3576
+ "disabled:cursor-not-allowed disabled:opacity-50",
3577
+ e
3578
+ ),
3579
+ ...t
3580
+ }
3581
+ ));
3582
+ K.displayName = "PaginationButton";
3583
+ const uo = G.Root, jt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3584
+ G.List,
3585
+ {
3586
+ ref: o,
3587
+ className: d(
3588
+ "inline-flex items-center justify-center rounded",
3589
+ r === "default" && "border-2 border-black",
3590
+ r === "pills" && "bg-gray-200 p-1",
3591
+ e
3592
+ ),
3593
+ ...t
3594
+ }
3595
+ ));
3596
+ jt.displayName = G.List.displayName;
3597
+ const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3598
+ G.Trigger,
3599
+ {
3600
+ ref: o,
3601
+ className: d(
3602
+ "inline-flex items-center justify-center whitespace-nowrap rounded px-4 py-2 text-base font-medium transition-colors",
3603
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3604
+ "disabled:pointer-events-none disabled:opacity-50",
3605
+ r === "default" && "border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:text-primary",
3606
+ r === "pills" && "data-[state=active]:bg-white data-[state=active]:text-black data-[state=active]:shadow-sm",
3607
+ e
3608
+ ),
3609
+ ...t
3610
+ }
3611
+ ));
3612
+ Lt.displayName = G.Trigger.displayName;
3613
+ const Gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3614
+ G.Content,
3615
+ {
3616
+ ref: t,
3617
+ className: d(
3618
+ "mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3619
+ e
3620
+ ),
3621
+ ...r
3622
+ }
3623
+ ));
3624
+ Gt.displayName = G.Content.displayName;
3625
+ const fo = L.Root, Et = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3626
+ L.Item,
3627
+ {
3628
+ ref: t,
3629
+ className: d("border-b-2 border-black", e),
3630
+ ...r
3631
+ }
3632
+ ));
3633
+ Et.displayName = "AccordionItem";
3634
+ const Bt = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(L.Header, { className: "flex", children: /* @__PURE__ */ T(
3635
+ L.Trigger,
3636
+ {
3637
+ ref: o,
3638
+ className: d(
3639
+ "flex flex-1 items-center justify-between py-4 text-left text-base font-medium transition-all",
3640
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3641
+ "[&[data-state=open]>svg]:rotate-180",
3642
+ e
3643
+ ),
3644
+ ...t,
3645
+ children: [
3646
+ r,
3647
+ /* @__PURE__ */ n(
3648
+ "svg",
3649
+ {
3650
+ className: "h-5 w-5 shrink-0 transition-transform duration-200",
3651
+ viewBox: "0 0 12 12",
3652
+ fill: "none",
3653
+ xmlns: "http://www.w3.org/2000/svg",
3654
+ children: /* @__PURE__ */ n(
3655
+ "path",
3656
+ {
3657
+ d: "M3 4.5L6 7.5L9 4.5",
3658
+ stroke: "currentColor",
3659
+ strokeWidth: "2",
3660
+ strokeLinecap: "round",
3661
+ strokeLinejoin: "round"
3662
+ }
3663
+ )
3664
+ }
3665
+ )
3666
+ ]
3667
+ }
3668
+ ) }));
3669
+ Bt.displayName = L.Trigger.displayName;
3670
+ const Ft = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3671
+ L.Content,
3672
+ {
3673
+ ref: o,
3674
+ className: "overflow-hidden text-base transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
3675
+ ...t,
3676
+ children: /* @__PURE__ */ n("div", { className: d("pb-4 pt-0", e), children: r })
3677
+ }
3678
+ ));
3679
+ Ft.displayName = L.Content.displayName;
3680
+ const ho = q.Root, vo = q.Trigger, Wt = c.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ n(q.Portal, { children: /* @__PURE__ */ n(
3681
+ q.Content,
3682
+ {
3683
+ ref: a,
3684
+ align: r,
3685
+ sideOffset: t,
3686
+ className: d(
3687
+ "z-50 w-72 rounded border-2 border-black bg-white p-4 shadow-lg",
3688
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3689
+ e
3690
+ ),
3691
+ ...o
3692
+ }
3693
+ ) }));
3694
+ Wt.displayName = q.Content.displayName;
3695
+ const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = c.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ n(
3696
+ D.Content,
3697
+ {
3698
+ ref: o,
3699
+ sideOffset: r,
3700
+ className: d(
3701
+ "z-50 overflow-hidden rounded border-2 border-black bg-black px-3 py-1.5 text-sm text-white shadow-md",
3702
+ "animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3703
+ e
3704
+ ),
3705
+ ...t
3706
+ }
3707
+ ));
3708
+ Ht.displayName = D.Content.displayName;
3709
+ const Vt = c.forwardRef(
3710
+ ({ className: e, variant: r = "primary", size: t = "base", ...o }, a) => {
3711
+ const s = {
3712
+ primary: "bg-primary text-white",
3713
+ secondary: "bg-secondary text-white",
3714
+ success: "bg-success text-white",
3715
+ danger: "bg-danger text-white",
3716
+ warning: "bg-warning text-black",
3717
+ info: "bg-info text-white",
3718
+ light: "bg-light text-black",
3719
+ dark: "bg-dark text-white"
3720
+ }, i = {
3721
+ sm: "px-2 py-0.5 text-xs",
3722
+ base: "px-2.5 py-1 text-sm",
3723
+ lg: "px-3 py-1.5 text-base"
3724
+ };
3725
+ return /* @__PURE__ */ n(
3726
+ "span",
3727
+ {
3728
+ ref: a,
3729
+ className: d(
3730
+ "inline-flex items-center rounded font-medium",
3731
+ s[r],
3732
+ i[t],
3733
+ e
3734
+ ),
3735
+ ...o
3736
+ }
3737
+ );
3738
+ }
3739
+ );
3740
+ Vt.displayName = "Badge";
3741
+ const Ut = c.forwardRef(
3742
+ ({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s }, i) => {
3743
+ const l = {
3744
+ sm: "h-8 w-8 text-xs",
3745
+ base: "h-10 w-10 text-sm",
3746
+ lg: "h-12 w-12 text-base"
3747
+ }, [b, g] = c.useState(!1);
3748
+ return /* @__PURE__ */ n(
3749
+ "div",
3750
+ {
3751
+ ref: i,
3752
+ className: d(
3753
+ "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-gray-300",
3754
+ l[a],
3755
+ e
3756
+ ),
3757
+ ...s,
3758
+ children: r && !b ? /* @__PURE__ */ n(
3759
+ "img",
3760
+ {
3761
+ src: r,
3762
+ alt: t,
3763
+ className: "h-full w-full object-cover",
3764
+ onError: () => g(!0)
3765
+ }
3766
+ ) : /* @__PURE__ */ n("span", { className: "font-medium text-gray-700", children: o || "?" })
3767
+ }
3768
+ );
3769
+ }
3770
+ );
3771
+ Ut.displayName = "Avatar";
3772
+ const $t = c.forwardRef(
3773
+ ({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */ n(
3774
+ "div",
3775
+ {
3776
+ ref: a,
3777
+ className: d(
3778
+ "w-px bg-black",
3779
+ t === "dashed" && "border-dashed",
3780
+ e
3781
+ ),
3782
+ role: "separator",
3783
+ "aria-orientation": "vertical",
3784
+ ...o
3785
+ }
3786
+ ) : /* @__PURE__ */ n(
3787
+ "hr",
3788
+ {
3789
+ ref: a,
3790
+ className: d(
3791
+ "border-0 border-t-2 border-black",
3792
+ t === "dashed" && "border-dashed",
3793
+ e
3794
+ ),
3795
+ role: "separator",
3796
+ "aria-orientation": "horizontal",
3797
+ ...o
3798
+ }
3799
+ )
3800
+ );
3801
+ $t.displayName = "Divider";
3802
+ const _t = c.forwardRef(
3803
+ ({
3804
+ className: e,
3805
+ variant: r = "rectangular",
3806
+ width: t,
3807
+ height: o,
3808
+ style: a,
3809
+ ...s
3810
+ }, i) => /* @__PURE__ */ n(
3811
+ "div",
3812
+ {
3813
+ ref: i,
3814
+ className: d(
3815
+ "animate-pulse bg-gray-300",
3816
+ {
3817
+ text: "rounded",
3818
+ circular: "rounded-full",
3819
+ rectangular: "rounded"
3820
+ }[r],
3821
+ e
3822
+ ),
3823
+ style: {
3824
+ width: t || (r === "text" ? "100%" : void 0),
3825
+ height: o || (r === "text" ? "1em" : void 0),
3826
+ ...a
3827
+ },
3828
+ ...s
3829
+ }
3830
+ )
3831
+ );
3832
+ _t.displayName = "Skeleton";
3833
+ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base", value: o, ...a }, s) => {
3834
+ const i = {
3835
+ primary: "bg-primary",
3836
+ success: "bg-success",
3837
+ danger: "bg-danger",
3838
+ warning: "bg-warning",
3839
+ info: "bg-info"
3840
+ }, l = {
3841
+ sm: "h-1",
3842
+ base: "h-2",
3843
+ lg: "h-3"
3844
+ };
3845
+ return /* @__PURE__ */ n(
3846
+ ne.Root,
3847
+ {
3848
+ ref: s,
3849
+ className: d(
3850
+ "relative h-2 w-full overflow-hidden rounded-full bg-gray-300",
3851
+ l[t],
3852
+ e
3853
+ ),
3854
+ ...a,
3855
+ children: /* @__PURE__ */ n(
3856
+ ne.Indicator,
3857
+ {
3858
+ className: d(
3859
+ "h-full w-full flex-1 transition-all",
3860
+ i[r]
3861
+ ),
3862
+ style: { transform: `translateX(-${100 - (o || 0)}%)` }
3863
+ }
3864
+ )
3865
+ }
3866
+ );
3867
+ });
3868
+ qt.displayName = ne.Root.displayName;
3869
+ const Dt = c.forwardRef(
3870
+ ({ className: e, size: r = "base", variant: t = "primary", ...o }, a) => {
3871
+ const s = {
3872
+ sm: "h-4 w-4 border-2",
3873
+ base: "h-6 w-6 border-2",
3874
+ lg: "h-8 w-8 border-[3px]"
3875
+ }, i = {
3876
+ primary: "border-primary border-t-transparent",
3877
+ secondary: "border-secondary border-t-transparent",
3878
+ white: "border-white border-t-transparent"
3879
+ };
3880
+ return /* @__PURE__ */ n(
3881
+ "div",
3882
+ {
3883
+ ref: a,
3884
+ className: d(
3885
+ "animate-spin rounded-full",
3886
+ s[r],
3887
+ i[t],
3888
+ e
3889
+ ),
3890
+ role: "status",
3891
+ "aria-label": "Loading",
3892
+ ...o,
3893
+ children: /* @__PURE__ */ n("span", { className: "sr-only", children: "Loading..." })
3894
+ }
3895
+ );
3896
+ }
3897
+ );
3898
+ Dt.displayName = "Spinner";
3899
+ const Ot = c.forwardRef(
3900
+ ({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */ n(
3901
+ Ne.Root,
3902
+ {
3903
+ ref: a,
3904
+ decorative: t,
3905
+ orientation: r,
3906
+ className: d(
3907
+ "shrink-0 bg-black",
3908
+ r === "horizontal" ? "h-px w-full" : "h-full w-px",
3909
+ e
3910
+ ),
3911
+ ...o
3912
+ }
3913
+ )
3914
+ );
3915
+ Ot.displayName = Ne.Root.displayName;
3916
+ export {
3917
+ fo as Accordion,
3918
+ Ft as AccordionContent,
3919
+ Et as AccordionItem,
3920
+ Bt as AccordionTrigger,
3921
+ lt as Alert,
3922
+ Ut as Avatar,
3923
+ Vt as Badge,
3924
+ At as BreadcrumbItem,
3925
+ Tt as Breadcrumbs,
3926
+ _r as Button,
3927
+ Dr as Card,
3928
+ Zr as CardContent,
3929
+ Jr as CardDescription,
3930
+ Kr as CardFooter,
3931
+ Or as CardHeader,
3932
+ Xr as CardTitle,
3933
+ yt as Checkbox,
3934
+ Yr as Container,
3935
+ $t as Divider,
3936
+ gt as Dropdown,
3937
+ ut as DropdownItem,
3938
+ Yt as Form,
3939
+ it as FormDescription,
3940
+ eo as FormField,
3941
+ at as FormItem,
3942
+ st as FormLabel,
3943
+ nt as FormMessage,
3944
+ et as Grid,
3945
+ rt as GridItem,
3946
+ qr as Input,
3947
+ ct as Modal,
3948
+ pt as ModalBody,
3949
+ mt as ModalFooter,
3950
+ dt as ModalHeader,
3951
+ bt as ModalTitle,
3952
+ ft as Navbar,
3953
+ vt as NavbarItem,
3954
+ xt as NavbarLink,
3955
+ ht as NavbarNav,
3956
+ Pt as Pagination,
3957
+ K as PaginationButton,
3958
+ ho as Popover,
3959
+ Wt as PopoverContent,
3960
+ vo as PopoverTrigger,
3961
+ qt as Progress,
3962
+ wt as RadioGroup,
3963
+ Nt as RadioItem,
3964
+ po as Select,
3965
+ Rt as SelectContent,
3966
+ mo as SelectGroup,
3967
+ St as SelectItem,
3968
+ zt as SelectSeparator,
3969
+ Ct as SelectTrigger,
3970
+ go as SelectValue,
3971
+ Ot as Separator,
3972
+ _t as Skeleton,
3973
+ It as Slider,
3974
+ Dt as Spinner,
3975
+ kt as Switch,
3976
+ uo as Tabs,
3977
+ Gt as TabsContent,
3978
+ jt as TabsList,
3979
+ Lt as TabsTrigger,
3980
+ Mt as Textarea,
3981
+ yo as Tooltip,
3982
+ Ht as TooltipContent,
3983
+ xo as TooltipProvider,
3984
+ wo as TooltipTrigger,
3985
+ Qr as Typography,
3986
+ or as borderColors,
3987
+ tr as borderRadius,
3988
+ rr as borderStyle,
3989
+ ze as borderWidth,
3990
+ er as borderWidths,
3991
+ ar as borders,
3992
+ sr as boxShadows,
3993
+ ir as breakpoints,
3994
+ $e as colors,
3995
+ cr as containerFluidMargins,
3996
+ lr as containerMaxWidths,
3997
+ Oe as containerPaddingX,
3998
+ lo as dateSchema,
3999
+ Je as displaySizes,
4000
+ ro as emailSchema,
4001
+ fe as fontFamilies,
4002
+ Z as fontSizes,
4003
+ Qe as fontWeights,
4004
+ $ as functionalColors,
4005
+ co as futureDateSchema,
4006
+ Ce as grays,
4007
+ Re as gridGutterWidth,
4008
+ Se as headingSizes,
4009
+ Ke as letterSpacing,
4010
+ Ze as lineHeights,
4011
+ io as nonNegativeNumber,
4012
+ u as odsColors,
4013
+ oo as optionalString,
4014
+ bo as pastDateSchema,
4015
+ ao as phoneSchema,
4016
+ no as positiveNumber,
4017
+ to as requiredString,
4018
+ dr as responsive,
4019
+ Ue as semanticColors,
4020
+ nr as shadows,
4021
+ _e as spacer,
4022
+ qe as spacers,
4023
+ Xe as spacing,
4024
+ Ve as supportingColors,
4025
+ De as targetSize,
4026
+ ke as themeColors,
4027
+ Qt as tokens,
4028
+ Ye as typography,
4029
+ so as urlSchema
4030
+ };
4031
+ //# sourceMappingURL=index.js.map