@bloodhoundenterprise/doodleui 1.0.0-alpha.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.
@@ -0,0 +1,3062 @@
1
+ import { jsx as f, jsxs as k, Fragment as he } from "react/jsx-runtime";
2
+ import * as Oe from "react";
3
+ import { useCallback as Ce, forwardRef as V, Children as B, isValidElement as Z, createElement as S, cloneElement as Se, Fragment as Le, useState as O, useEffect as L, createContext as me, useMemo as G, useContext as We, useRef as W, useLayoutEffect as Fe } from "react";
4
+ import "react-dom";
5
+ function ze(e) {
6
+ var t, r, o = "";
7
+ if (typeof e == "string" || typeof e == "number") o += e;
8
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = ze(e[t])) && (o && (o += " "), o += r);
9
+ else for (t in e) e[t] && (o && (o += " "), o += t);
10
+ return o;
11
+ }
12
+ function Ue() {
13
+ for (var e, t, r = 0, o = ""; r < arguments.length; ) (e = arguments[r++]) && (t = ze(e)) && (o && (o += " "), o += t);
14
+ return o;
15
+ }
16
+ const ge = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ve = Ue, R = (e, t) => (r) => {
17
+ var o;
18
+ if ((t == null ? void 0 : t.variants) == null) return ve(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
19
+ const { variants: s, defaultVariants: n } = t, i = Object.keys(s).map((c) => {
20
+ const p = r == null ? void 0 : r[c], u = n == null ? void 0 : n[c];
21
+ if (p === null) return null;
22
+ const b = ge(p) || ge(u);
23
+ return s[c][b];
24
+ }), a = r && Object.entries(r).reduce((c, p) => {
25
+ let [u, b] = p;
26
+ return b === void 0 || (c[u] = b), c;
27
+ }, {}), l = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
28
+ let { class: u, className: b, ...x } = p;
29
+ return Object.entries(x).every((y) => {
30
+ let [h, m] = y;
31
+ return Array.isArray(m) ? m.includes({
32
+ ...n,
33
+ ...a
34
+ }[h]) : {
35
+ ...n,
36
+ ...a
37
+ }[h] === m;
38
+ }) ? [
39
+ ...c,
40
+ u,
41
+ b
42
+ ] : c;
43
+ }, []);
44
+ return ve(e, i, l, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
45
+ };
46
+ function Ae(e) {
47
+ var t, r, o = "";
48
+ if (typeof e == "string" || typeof e == "number") o += e;
49
+ else if (typeof e == "object") if (Array.isArray(e)) {
50
+ var s = e.length;
51
+ for (t = 0; t < s; t++) e[t] && (r = Ae(e[t])) && (o && (o += " "), o += r);
52
+ } else for (r in e) e[r] && (o && (o += " "), o += r);
53
+ return o;
54
+ }
55
+ function He() {
56
+ for (var e, t, r = 0, o = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = Ae(e)) && (o && (o += " "), o += t);
57
+ return o;
58
+ }
59
+ const ne = "-";
60
+ function qe(e) {
61
+ const t = Xe(e), {
62
+ conflictingClassGroups: r,
63
+ conflictingClassGroupModifiers: o
64
+ } = e;
65
+ function s(i) {
66
+ const a = i.split(ne);
67
+ return a[0] === "" && a.length !== 1 && a.shift(), Ne(a, t) || Je(i);
68
+ }
69
+ function n(i, a) {
70
+ const l = r[i] || [];
71
+ return a && o[i] ? [...l, ...o[i]] : l;
72
+ }
73
+ return {
74
+ getClassGroupId: s,
75
+ getConflictingClassGroupIds: n
76
+ };
77
+ }
78
+ function Ne(e, t) {
79
+ var i;
80
+ if (e.length === 0)
81
+ return t.classGroupId;
82
+ const r = e[0], o = t.nextPart.get(r), s = o ? Ne(e.slice(1), o) : void 0;
83
+ if (s)
84
+ return s;
85
+ if (t.validators.length === 0)
86
+ return;
87
+ const n = e.join(ne);
88
+ return (i = t.validators.find(({
89
+ validator: a
90
+ }) => a(n))) == null ? void 0 : i.classGroupId;
91
+ }
92
+ const ye = /^\[(.+)\]$/;
93
+ function Je(e) {
94
+ if (ye.test(e)) {
95
+ const t = ye.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
96
+ if (r)
97
+ return "arbitrary.." + r;
98
+ }
99
+ }
100
+ function Xe(e) {
101
+ const {
102
+ theme: t,
103
+ prefix: r
104
+ } = e, o = {
105
+ nextPart: /* @__PURE__ */ new Map(),
106
+ validators: []
107
+ };
108
+ return Ke(Object.entries(e.classGroups), r).forEach(([n, i]) => {
109
+ re(i, o, n, t);
110
+ }), o;
111
+ }
112
+ function re(e, t, r, o) {
113
+ e.forEach((s) => {
114
+ if (typeof s == "string") {
115
+ const n = s === "" ? t : xe(t, s);
116
+ n.classGroupId = r;
117
+ return;
118
+ }
119
+ if (typeof s == "function") {
120
+ if (Ze(s)) {
121
+ re(s(o), t, r, o);
122
+ return;
123
+ }
124
+ t.validators.push({
125
+ validator: s,
126
+ classGroupId: r
127
+ });
128
+ return;
129
+ }
130
+ Object.entries(s).forEach(([n, i]) => {
131
+ re(i, xe(t, n), r, o);
132
+ });
133
+ });
134
+ }
135
+ function xe(e, t) {
136
+ let r = e;
137
+ return t.split(ne).forEach((o) => {
138
+ r.nextPart.has(o) || r.nextPart.set(o, {
139
+ nextPart: /* @__PURE__ */ new Map(),
140
+ validators: []
141
+ }), r = r.nextPart.get(o);
142
+ }), r;
143
+ }
144
+ function Ze(e) {
145
+ return e.isThemeGetter;
146
+ }
147
+ function Ke(e, t) {
148
+ return t ? e.map(([r, o]) => {
149
+ const s = o.map((n) => typeof n == "string" ? t + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, a]) => [t + i, a])) : n);
150
+ return [r, s];
151
+ }) : e;
152
+ }
153
+ function Ye(e) {
154
+ if (e < 1)
155
+ return {
156
+ get: () => {
157
+ },
158
+ set: () => {
159
+ }
160
+ };
161
+ let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
162
+ function s(n, i) {
163
+ r.set(n, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
164
+ }
165
+ return {
166
+ get(n) {
167
+ let i = r.get(n);
168
+ if (i !== void 0)
169
+ return i;
170
+ if ((i = o.get(n)) !== void 0)
171
+ return s(n, i), i;
172
+ },
173
+ set(n, i) {
174
+ r.has(n) ? r.set(n, i) : s(n, i);
175
+ }
176
+ };
177
+ }
178
+ const Pe = "!";
179
+ function De(e) {
180
+ const t = e.separator, r = t.length === 1, o = t[0], s = t.length;
181
+ return function(i) {
182
+ const a = [];
183
+ let l = 0, c = 0, p;
184
+ for (let h = 0; h < i.length; h++) {
185
+ let m = i[h];
186
+ if (l === 0) {
187
+ if (m === o && (r || i.slice(h, h + s) === t)) {
188
+ a.push(i.slice(c, h)), c = h + s;
189
+ continue;
190
+ }
191
+ if (m === "/") {
192
+ p = h;
193
+ continue;
194
+ }
195
+ }
196
+ m === "[" ? l++ : m === "]" && l--;
197
+ }
198
+ const u = a.length === 0 ? i : i.substring(c), b = u.startsWith(Pe), x = b ? u.substring(1) : u, y = p && p > c ? p - c : void 0;
199
+ return {
200
+ modifiers: a,
201
+ hasImportantModifier: b,
202
+ baseClassName: x,
203
+ maybePostfixModifierPosition: y
204
+ };
205
+ };
206
+ }
207
+ function Qe(e) {
208
+ if (e.length <= 1)
209
+ return e;
210
+ const t = [];
211
+ let r = [];
212
+ return e.forEach((o) => {
213
+ o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
214
+ }), t.push(...r.sort()), t;
215
+ }
216
+ function et(e) {
217
+ return {
218
+ cache: Ye(e.cacheSize),
219
+ splitModifiers: De(e),
220
+ ...qe(e)
221
+ };
222
+ }
223
+ const tt = /\s+/;
224
+ function rt(e, t) {
225
+ const {
226
+ splitModifiers: r,
227
+ getClassGroupId: o,
228
+ getConflictingClassGroupIds: s
229
+ } = t, n = /* @__PURE__ */ new Set();
230
+ return e.trim().split(tt).map((i) => {
231
+ const {
232
+ modifiers: a,
233
+ hasImportantModifier: l,
234
+ baseClassName: c,
235
+ maybePostfixModifierPosition: p
236
+ } = r(i);
237
+ let u = o(p ? c.substring(0, p) : c), b = !!p;
238
+ if (!u) {
239
+ if (!p)
240
+ return {
241
+ isTailwindClass: !1,
242
+ originalClassName: i
243
+ };
244
+ if (u = o(c), !u)
245
+ return {
246
+ isTailwindClass: !1,
247
+ originalClassName: i
248
+ };
249
+ b = !1;
250
+ }
251
+ const x = Qe(a).join(":");
252
+ return {
253
+ isTailwindClass: !0,
254
+ modifierId: l ? x + Pe : x,
255
+ classGroupId: u,
256
+ originalClassName: i,
257
+ hasPostfixModifier: b
258
+ };
259
+ }).reverse().filter((i) => {
260
+ if (!i.isTailwindClass)
261
+ return !0;
262
+ const {
263
+ modifierId: a,
264
+ classGroupId: l,
265
+ hasPostfixModifier: c
266
+ } = i, p = a + l;
267
+ return n.has(p) ? !1 : (n.add(p), s(l, c).forEach((u) => n.add(a + u)), !0);
268
+ }).reverse().map((i) => i.originalClassName).join(" ");
269
+ }
270
+ function ot() {
271
+ let e = 0, t, r, o = "";
272
+ for (; e < arguments.length; )
273
+ (t = arguments[e++]) && (r = Me(t)) && (o && (o += " "), o += r);
274
+ return o;
275
+ }
276
+ function Me(e) {
277
+ if (typeof e == "string")
278
+ return e;
279
+ let t, r = "";
280
+ for (let o = 0; o < e.length; o++)
281
+ e[o] && (t = Me(e[o])) && (r && (r += " "), r += t);
282
+ return r;
283
+ }
284
+ function nt(e, ...t) {
285
+ let r, o, s, n = i;
286
+ function i(l) {
287
+ const c = t.reduce((p, u) => u(p), e());
288
+ return r = et(c), o = r.cache.get, s = r.cache.set, n = a, a(l);
289
+ }
290
+ function a(l) {
291
+ const c = o(l);
292
+ if (c)
293
+ return c;
294
+ const p = rt(l, r);
295
+ return s(l, p), p;
296
+ }
297
+ return function() {
298
+ return n(ot.apply(null, arguments));
299
+ };
300
+ }
301
+ function g(e) {
302
+ const t = (r) => r[e] || [];
303
+ return t.isThemeGetter = !0, t;
304
+ }
305
+ const Ve = /^\[(?:([a-z-]+):)?(.+)\]$/i, st = /^\d+\/\d+$/, it = /* @__PURE__ */ new Set(["px", "full", "screen"]), at = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lt = /\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$/, ct = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, dt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ut = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
306
+ function z(e) {
307
+ return M(e) || it.has(e) || st.test(e);
308
+ }
309
+ function A(e) {
310
+ return j(e, "length", yt);
311
+ }
312
+ function M(e) {
313
+ return !!e && !Number.isNaN(Number(e));
314
+ }
315
+ function J(e) {
316
+ return j(e, "number", M);
317
+ }
318
+ function E(e) {
319
+ return !!e && Number.isInteger(Number(e));
320
+ }
321
+ function pt(e) {
322
+ return e.endsWith("%") && M(e.slice(0, -1));
323
+ }
324
+ function d(e) {
325
+ return Ve.test(e);
326
+ }
327
+ function N(e) {
328
+ return at.test(e);
329
+ }
330
+ const ft = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
331
+ function bt(e) {
332
+ return j(e, ft, Re);
333
+ }
334
+ function ht(e) {
335
+ return j(e, "position", Re);
336
+ }
337
+ const mt = /* @__PURE__ */ new Set(["image", "url"]);
338
+ function gt(e) {
339
+ return j(e, mt, wt);
340
+ }
341
+ function vt(e) {
342
+ return j(e, "", xt);
343
+ }
344
+ function I() {
345
+ return !0;
346
+ }
347
+ function j(e, t, r) {
348
+ const o = Ve.exec(e);
349
+ return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
350
+ }
351
+ function yt(e) {
352
+ return lt.test(e) && !ct.test(e);
353
+ }
354
+ function Re() {
355
+ return !1;
356
+ }
357
+ function xt(e) {
358
+ return dt.test(e);
359
+ }
360
+ function wt(e) {
361
+ return ut.test(e);
362
+ }
363
+ function kt() {
364
+ const e = g("colors"), t = g("spacing"), r = g("blur"), o = g("brightness"), s = g("borderColor"), n = g("borderRadius"), i = g("borderSpacing"), a = g("borderWidth"), l = g("contrast"), c = g("grayscale"), p = g("hueRotate"), u = g("invert"), b = g("gap"), x = g("gradientColorStops"), y = g("gradientColorStopPositions"), h = g("inset"), m = g("margin"), $ = g("opacity"), w = g("padding"), F = g("saturate"), K = g("scale"), ae = g("sepia"), le = g("skew"), ce = g("space"), de = g("translate"), Y = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], Q = () => ["auto", d, t], v = () => [d, t], ue = () => ["", z, A], U = () => ["auto", M, d], pe = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], H = () => ["solid", "dashed", "dotted", "double", "none"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], _ = () => ["", "0", d], be = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [M, J], q = () => [M, d];
365
+ return {
366
+ cacheSize: 500,
367
+ separator: ":",
368
+ theme: {
369
+ colors: [I],
370
+ spacing: [z, A],
371
+ blur: ["none", "", N, d],
372
+ brightness: T(),
373
+ borderColor: [e],
374
+ borderRadius: ["none", "", "full", N, d],
375
+ borderSpacing: v(),
376
+ borderWidth: ue(),
377
+ contrast: T(),
378
+ grayscale: _(),
379
+ hueRotate: q(),
380
+ invert: _(),
381
+ gap: v(),
382
+ gradientColorStops: [e],
383
+ gradientColorStopPositions: [pt, A],
384
+ inset: Q(),
385
+ margin: Q(),
386
+ opacity: T(),
387
+ padding: v(),
388
+ saturate: T(),
389
+ scale: T(),
390
+ sepia: _(),
391
+ skew: q(),
392
+ space: v(),
393
+ translate: v()
394
+ },
395
+ classGroups: {
396
+ // Layout
397
+ /**
398
+ * Aspect Ratio
399
+ * @see https://tailwindcss.com/docs/aspect-ratio
400
+ */
401
+ aspect: [{
402
+ aspect: ["auto", "square", "video", d]
403
+ }],
404
+ /**
405
+ * Container
406
+ * @see https://tailwindcss.com/docs/container
407
+ */
408
+ container: ["container"],
409
+ /**
410
+ * Columns
411
+ * @see https://tailwindcss.com/docs/columns
412
+ */
413
+ columns: [{
414
+ columns: [N]
415
+ }],
416
+ /**
417
+ * Break After
418
+ * @see https://tailwindcss.com/docs/break-after
419
+ */
420
+ "break-after": [{
421
+ "break-after": be()
422
+ }],
423
+ /**
424
+ * Break Before
425
+ * @see https://tailwindcss.com/docs/break-before
426
+ */
427
+ "break-before": [{
428
+ "break-before": be()
429
+ }],
430
+ /**
431
+ * Break Inside
432
+ * @see https://tailwindcss.com/docs/break-inside
433
+ */
434
+ "break-inside": [{
435
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
436
+ }],
437
+ /**
438
+ * Box Decoration Break
439
+ * @see https://tailwindcss.com/docs/box-decoration-break
440
+ */
441
+ "box-decoration": [{
442
+ "box-decoration": ["slice", "clone"]
443
+ }],
444
+ /**
445
+ * Box Sizing
446
+ * @see https://tailwindcss.com/docs/box-sizing
447
+ */
448
+ box: [{
449
+ box: ["border", "content"]
450
+ }],
451
+ /**
452
+ * Display
453
+ * @see https://tailwindcss.com/docs/display
454
+ */
455
+ 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"],
456
+ /**
457
+ * Floats
458
+ * @see https://tailwindcss.com/docs/float
459
+ */
460
+ float: [{
461
+ float: ["right", "left", "none", "start", "end"]
462
+ }],
463
+ /**
464
+ * Clear
465
+ * @see https://tailwindcss.com/docs/clear
466
+ */
467
+ clear: [{
468
+ clear: ["left", "right", "both", "none", "start", "end"]
469
+ }],
470
+ /**
471
+ * Isolation
472
+ * @see https://tailwindcss.com/docs/isolation
473
+ */
474
+ isolation: ["isolate", "isolation-auto"],
475
+ /**
476
+ * Object Fit
477
+ * @see https://tailwindcss.com/docs/object-fit
478
+ */
479
+ "object-fit": [{
480
+ object: ["contain", "cover", "fill", "none", "scale-down"]
481
+ }],
482
+ /**
483
+ * Object Position
484
+ * @see https://tailwindcss.com/docs/object-position
485
+ */
486
+ "object-position": [{
487
+ object: [...pe(), d]
488
+ }],
489
+ /**
490
+ * Overflow
491
+ * @see https://tailwindcss.com/docs/overflow
492
+ */
493
+ overflow: [{
494
+ overflow: D()
495
+ }],
496
+ /**
497
+ * Overflow X
498
+ * @see https://tailwindcss.com/docs/overflow
499
+ */
500
+ "overflow-x": [{
501
+ "overflow-x": D()
502
+ }],
503
+ /**
504
+ * Overflow Y
505
+ * @see https://tailwindcss.com/docs/overflow
506
+ */
507
+ "overflow-y": [{
508
+ "overflow-y": D()
509
+ }],
510
+ /**
511
+ * Overscroll Behavior
512
+ * @see https://tailwindcss.com/docs/overscroll-behavior
513
+ */
514
+ overscroll: [{
515
+ overscroll: Y()
516
+ }],
517
+ /**
518
+ * Overscroll Behavior X
519
+ * @see https://tailwindcss.com/docs/overscroll-behavior
520
+ */
521
+ "overscroll-x": [{
522
+ "overscroll-x": Y()
523
+ }],
524
+ /**
525
+ * Overscroll Behavior Y
526
+ * @see https://tailwindcss.com/docs/overscroll-behavior
527
+ */
528
+ "overscroll-y": [{
529
+ "overscroll-y": Y()
530
+ }],
531
+ /**
532
+ * Position
533
+ * @see https://tailwindcss.com/docs/position
534
+ */
535
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
536
+ /**
537
+ * Top / Right / Bottom / Left
538
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
539
+ */
540
+ inset: [{
541
+ inset: [h]
542
+ }],
543
+ /**
544
+ * Right / Left
545
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
546
+ */
547
+ "inset-x": [{
548
+ "inset-x": [h]
549
+ }],
550
+ /**
551
+ * Top / Bottom
552
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
553
+ */
554
+ "inset-y": [{
555
+ "inset-y": [h]
556
+ }],
557
+ /**
558
+ * Start
559
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
560
+ */
561
+ start: [{
562
+ start: [h]
563
+ }],
564
+ /**
565
+ * End
566
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
567
+ */
568
+ end: [{
569
+ end: [h]
570
+ }],
571
+ /**
572
+ * Top
573
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
574
+ */
575
+ top: [{
576
+ top: [h]
577
+ }],
578
+ /**
579
+ * Right
580
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
581
+ */
582
+ right: [{
583
+ right: [h]
584
+ }],
585
+ /**
586
+ * Bottom
587
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
588
+ */
589
+ bottom: [{
590
+ bottom: [h]
591
+ }],
592
+ /**
593
+ * Left
594
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
595
+ */
596
+ left: [{
597
+ left: [h]
598
+ }],
599
+ /**
600
+ * Visibility
601
+ * @see https://tailwindcss.com/docs/visibility
602
+ */
603
+ visibility: ["visible", "invisible", "collapse"],
604
+ /**
605
+ * Z-Index
606
+ * @see https://tailwindcss.com/docs/z-index
607
+ */
608
+ z: [{
609
+ z: ["auto", E, d]
610
+ }],
611
+ // Flexbox and Grid
612
+ /**
613
+ * Flex Basis
614
+ * @see https://tailwindcss.com/docs/flex-basis
615
+ */
616
+ basis: [{
617
+ basis: Q()
618
+ }],
619
+ /**
620
+ * Flex Direction
621
+ * @see https://tailwindcss.com/docs/flex-direction
622
+ */
623
+ "flex-direction": [{
624
+ flex: ["row", "row-reverse", "col", "col-reverse"]
625
+ }],
626
+ /**
627
+ * Flex Wrap
628
+ * @see https://tailwindcss.com/docs/flex-wrap
629
+ */
630
+ "flex-wrap": [{
631
+ flex: ["wrap", "wrap-reverse", "nowrap"]
632
+ }],
633
+ /**
634
+ * Flex
635
+ * @see https://tailwindcss.com/docs/flex
636
+ */
637
+ flex: [{
638
+ flex: ["1", "auto", "initial", "none", d]
639
+ }],
640
+ /**
641
+ * Flex Grow
642
+ * @see https://tailwindcss.com/docs/flex-grow
643
+ */
644
+ grow: [{
645
+ grow: _()
646
+ }],
647
+ /**
648
+ * Flex Shrink
649
+ * @see https://tailwindcss.com/docs/flex-shrink
650
+ */
651
+ shrink: [{
652
+ shrink: _()
653
+ }],
654
+ /**
655
+ * Order
656
+ * @see https://tailwindcss.com/docs/order
657
+ */
658
+ order: [{
659
+ order: ["first", "last", "none", E, d]
660
+ }],
661
+ /**
662
+ * Grid Template Columns
663
+ * @see https://tailwindcss.com/docs/grid-template-columns
664
+ */
665
+ "grid-cols": [{
666
+ "grid-cols": [I]
667
+ }],
668
+ /**
669
+ * Grid Column Start / End
670
+ * @see https://tailwindcss.com/docs/grid-column
671
+ */
672
+ "col-start-end": [{
673
+ col: ["auto", {
674
+ span: ["full", E, d]
675
+ }, d]
676
+ }],
677
+ /**
678
+ * Grid Column Start
679
+ * @see https://tailwindcss.com/docs/grid-column
680
+ */
681
+ "col-start": [{
682
+ "col-start": U()
683
+ }],
684
+ /**
685
+ * Grid Column End
686
+ * @see https://tailwindcss.com/docs/grid-column
687
+ */
688
+ "col-end": [{
689
+ "col-end": U()
690
+ }],
691
+ /**
692
+ * Grid Template Rows
693
+ * @see https://tailwindcss.com/docs/grid-template-rows
694
+ */
695
+ "grid-rows": [{
696
+ "grid-rows": [I]
697
+ }],
698
+ /**
699
+ * Grid Row Start / End
700
+ * @see https://tailwindcss.com/docs/grid-row
701
+ */
702
+ "row-start-end": [{
703
+ row: ["auto", {
704
+ span: [E, d]
705
+ }, d]
706
+ }],
707
+ /**
708
+ * Grid Row Start
709
+ * @see https://tailwindcss.com/docs/grid-row
710
+ */
711
+ "row-start": [{
712
+ "row-start": U()
713
+ }],
714
+ /**
715
+ * Grid Row End
716
+ * @see https://tailwindcss.com/docs/grid-row
717
+ */
718
+ "row-end": [{
719
+ "row-end": U()
720
+ }],
721
+ /**
722
+ * Grid Auto Flow
723
+ * @see https://tailwindcss.com/docs/grid-auto-flow
724
+ */
725
+ "grid-flow": [{
726
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
727
+ }],
728
+ /**
729
+ * Grid Auto Columns
730
+ * @see https://tailwindcss.com/docs/grid-auto-columns
731
+ */
732
+ "auto-cols": [{
733
+ "auto-cols": ["auto", "min", "max", "fr", d]
734
+ }],
735
+ /**
736
+ * Grid Auto Rows
737
+ * @see https://tailwindcss.com/docs/grid-auto-rows
738
+ */
739
+ "auto-rows": [{
740
+ "auto-rows": ["auto", "min", "max", "fr", d]
741
+ }],
742
+ /**
743
+ * Gap
744
+ * @see https://tailwindcss.com/docs/gap
745
+ */
746
+ gap: [{
747
+ gap: [b]
748
+ }],
749
+ /**
750
+ * Gap X
751
+ * @see https://tailwindcss.com/docs/gap
752
+ */
753
+ "gap-x": [{
754
+ "gap-x": [b]
755
+ }],
756
+ /**
757
+ * Gap Y
758
+ * @see https://tailwindcss.com/docs/gap
759
+ */
760
+ "gap-y": [{
761
+ "gap-y": [b]
762
+ }],
763
+ /**
764
+ * Justify Content
765
+ * @see https://tailwindcss.com/docs/justify-content
766
+ */
767
+ "justify-content": [{
768
+ justify: ["normal", ...ee()]
769
+ }],
770
+ /**
771
+ * Justify Items
772
+ * @see https://tailwindcss.com/docs/justify-items
773
+ */
774
+ "justify-items": [{
775
+ "justify-items": ["start", "end", "center", "stretch"]
776
+ }],
777
+ /**
778
+ * Justify Self
779
+ * @see https://tailwindcss.com/docs/justify-self
780
+ */
781
+ "justify-self": [{
782
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
783
+ }],
784
+ /**
785
+ * Align Content
786
+ * @see https://tailwindcss.com/docs/align-content
787
+ */
788
+ "align-content": [{
789
+ content: ["normal", ...ee(), "baseline"]
790
+ }],
791
+ /**
792
+ * Align Items
793
+ * @see https://tailwindcss.com/docs/align-items
794
+ */
795
+ "align-items": [{
796
+ items: ["start", "end", "center", "baseline", "stretch"]
797
+ }],
798
+ /**
799
+ * Align Self
800
+ * @see https://tailwindcss.com/docs/align-self
801
+ */
802
+ "align-self": [{
803
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
804
+ }],
805
+ /**
806
+ * Place Content
807
+ * @see https://tailwindcss.com/docs/place-content
808
+ */
809
+ "place-content": [{
810
+ "place-content": [...ee(), "baseline"]
811
+ }],
812
+ /**
813
+ * Place Items
814
+ * @see https://tailwindcss.com/docs/place-items
815
+ */
816
+ "place-items": [{
817
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
818
+ }],
819
+ /**
820
+ * Place Self
821
+ * @see https://tailwindcss.com/docs/place-self
822
+ */
823
+ "place-self": [{
824
+ "place-self": ["auto", "start", "end", "center", "stretch"]
825
+ }],
826
+ // Spacing
827
+ /**
828
+ * Padding
829
+ * @see https://tailwindcss.com/docs/padding
830
+ */
831
+ p: [{
832
+ p: [w]
833
+ }],
834
+ /**
835
+ * Padding X
836
+ * @see https://tailwindcss.com/docs/padding
837
+ */
838
+ px: [{
839
+ px: [w]
840
+ }],
841
+ /**
842
+ * Padding Y
843
+ * @see https://tailwindcss.com/docs/padding
844
+ */
845
+ py: [{
846
+ py: [w]
847
+ }],
848
+ /**
849
+ * Padding Start
850
+ * @see https://tailwindcss.com/docs/padding
851
+ */
852
+ ps: [{
853
+ ps: [w]
854
+ }],
855
+ /**
856
+ * Padding End
857
+ * @see https://tailwindcss.com/docs/padding
858
+ */
859
+ pe: [{
860
+ pe: [w]
861
+ }],
862
+ /**
863
+ * Padding Top
864
+ * @see https://tailwindcss.com/docs/padding
865
+ */
866
+ pt: [{
867
+ pt: [w]
868
+ }],
869
+ /**
870
+ * Padding Right
871
+ * @see https://tailwindcss.com/docs/padding
872
+ */
873
+ pr: [{
874
+ pr: [w]
875
+ }],
876
+ /**
877
+ * Padding Bottom
878
+ * @see https://tailwindcss.com/docs/padding
879
+ */
880
+ pb: [{
881
+ pb: [w]
882
+ }],
883
+ /**
884
+ * Padding Left
885
+ * @see https://tailwindcss.com/docs/padding
886
+ */
887
+ pl: [{
888
+ pl: [w]
889
+ }],
890
+ /**
891
+ * Margin
892
+ * @see https://tailwindcss.com/docs/margin
893
+ */
894
+ m: [{
895
+ m: [m]
896
+ }],
897
+ /**
898
+ * Margin X
899
+ * @see https://tailwindcss.com/docs/margin
900
+ */
901
+ mx: [{
902
+ mx: [m]
903
+ }],
904
+ /**
905
+ * Margin Y
906
+ * @see https://tailwindcss.com/docs/margin
907
+ */
908
+ my: [{
909
+ my: [m]
910
+ }],
911
+ /**
912
+ * Margin Start
913
+ * @see https://tailwindcss.com/docs/margin
914
+ */
915
+ ms: [{
916
+ ms: [m]
917
+ }],
918
+ /**
919
+ * Margin End
920
+ * @see https://tailwindcss.com/docs/margin
921
+ */
922
+ me: [{
923
+ me: [m]
924
+ }],
925
+ /**
926
+ * Margin Top
927
+ * @see https://tailwindcss.com/docs/margin
928
+ */
929
+ mt: [{
930
+ mt: [m]
931
+ }],
932
+ /**
933
+ * Margin Right
934
+ * @see https://tailwindcss.com/docs/margin
935
+ */
936
+ mr: [{
937
+ mr: [m]
938
+ }],
939
+ /**
940
+ * Margin Bottom
941
+ * @see https://tailwindcss.com/docs/margin
942
+ */
943
+ mb: [{
944
+ mb: [m]
945
+ }],
946
+ /**
947
+ * Margin Left
948
+ * @see https://tailwindcss.com/docs/margin
949
+ */
950
+ ml: [{
951
+ ml: [m]
952
+ }],
953
+ /**
954
+ * Space Between X
955
+ * @see https://tailwindcss.com/docs/space
956
+ */
957
+ "space-x": [{
958
+ "space-x": [ce]
959
+ }],
960
+ /**
961
+ * Space Between X Reverse
962
+ * @see https://tailwindcss.com/docs/space
963
+ */
964
+ "space-x-reverse": ["space-x-reverse"],
965
+ /**
966
+ * Space Between Y
967
+ * @see https://tailwindcss.com/docs/space
968
+ */
969
+ "space-y": [{
970
+ "space-y": [ce]
971
+ }],
972
+ /**
973
+ * Space Between Y Reverse
974
+ * @see https://tailwindcss.com/docs/space
975
+ */
976
+ "space-y-reverse": ["space-y-reverse"],
977
+ // Sizing
978
+ /**
979
+ * Width
980
+ * @see https://tailwindcss.com/docs/width
981
+ */
982
+ w: [{
983
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", d, t]
984
+ }],
985
+ /**
986
+ * Min-Width
987
+ * @see https://tailwindcss.com/docs/min-width
988
+ */
989
+ "min-w": [{
990
+ "min-w": [d, t, "min", "max", "fit"]
991
+ }],
992
+ /**
993
+ * Max-Width
994
+ * @see https://tailwindcss.com/docs/max-width
995
+ */
996
+ "max-w": [{
997
+ "max-w": [d, t, "none", "full", "min", "max", "fit", "prose", {
998
+ screen: [N]
999
+ }, N]
1000
+ }],
1001
+ /**
1002
+ * Height
1003
+ * @see https://tailwindcss.com/docs/height
1004
+ */
1005
+ h: [{
1006
+ h: [d, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1007
+ }],
1008
+ /**
1009
+ * Min-Height
1010
+ * @see https://tailwindcss.com/docs/min-height
1011
+ */
1012
+ "min-h": [{
1013
+ "min-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1014
+ }],
1015
+ /**
1016
+ * Max-Height
1017
+ * @see https://tailwindcss.com/docs/max-height
1018
+ */
1019
+ "max-h": [{
1020
+ "max-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1021
+ }],
1022
+ /**
1023
+ * Size
1024
+ * @see https://tailwindcss.com/docs/size
1025
+ */
1026
+ size: [{
1027
+ size: [d, t, "auto", "min", "max", "fit"]
1028
+ }],
1029
+ // Typography
1030
+ /**
1031
+ * Font Size
1032
+ * @see https://tailwindcss.com/docs/font-size
1033
+ */
1034
+ "font-size": [{
1035
+ text: ["base", N, A]
1036
+ }],
1037
+ /**
1038
+ * Font Smoothing
1039
+ * @see https://tailwindcss.com/docs/font-smoothing
1040
+ */
1041
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1042
+ /**
1043
+ * Font Style
1044
+ * @see https://tailwindcss.com/docs/font-style
1045
+ */
1046
+ "font-style": ["italic", "not-italic"],
1047
+ /**
1048
+ * Font Weight
1049
+ * @see https://tailwindcss.com/docs/font-weight
1050
+ */
1051
+ "font-weight": [{
1052
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", J]
1053
+ }],
1054
+ /**
1055
+ * Font Family
1056
+ * @see https://tailwindcss.com/docs/font-family
1057
+ */
1058
+ "font-family": [{
1059
+ font: [I]
1060
+ }],
1061
+ /**
1062
+ * Font Variant Numeric
1063
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1064
+ */
1065
+ "fvn-normal": ["normal-nums"],
1066
+ /**
1067
+ * Font Variant Numeric
1068
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1069
+ */
1070
+ "fvn-ordinal": ["ordinal"],
1071
+ /**
1072
+ * Font Variant Numeric
1073
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1074
+ */
1075
+ "fvn-slashed-zero": ["slashed-zero"],
1076
+ /**
1077
+ * Font Variant Numeric
1078
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1079
+ */
1080
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1081
+ /**
1082
+ * Font Variant Numeric
1083
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1084
+ */
1085
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1086
+ /**
1087
+ * Font Variant Numeric
1088
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1089
+ */
1090
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
1091
+ /**
1092
+ * Letter Spacing
1093
+ * @see https://tailwindcss.com/docs/letter-spacing
1094
+ */
1095
+ tracking: [{
1096
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", d]
1097
+ }],
1098
+ /**
1099
+ * Line Clamp
1100
+ * @see https://tailwindcss.com/docs/line-clamp
1101
+ */
1102
+ "line-clamp": [{
1103
+ "line-clamp": ["none", M, J]
1104
+ }],
1105
+ /**
1106
+ * Line Height
1107
+ * @see https://tailwindcss.com/docs/line-height
1108
+ */
1109
+ leading: [{
1110
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, d]
1111
+ }],
1112
+ /**
1113
+ * List Style Image
1114
+ * @see https://tailwindcss.com/docs/list-style-image
1115
+ */
1116
+ "list-image": [{
1117
+ "list-image": ["none", d]
1118
+ }],
1119
+ /**
1120
+ * List Style Type
1121
+ * @see https://tailwindcss.com/docs/list-style-type
1122
+ */
1123
+ "list-style-type": [{
1124
+ list: ["none", "disc", "decimal", d]
1125
+ }],
1126
+ /**
1127
+ * List Style Position
1128
+ * @see https://tailwindcss.com/docs/list-style-position
1129
+ */
1130
+ "list-style-position": [{
1131
+ list: ["inside", "outside"]
1132
+ }],
1133
+ /**
1134
+ * Placeholder Color
1135
+ * @deprecated since Tailwind CSS v3.0.0
1136
+ * @see https://tailwindcss.com/docs/placeholder-color
1137
+ */
1138
+ "placeholder-color": [{
1139
+ placeholder: [e]
1140
+ }],
1141
+ /**
1142
+ * Placeholder Opacity
1143
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1144
+ */
1145
+ "placeholder-opacity": [{
1146
+ "placeholder-opacity": [$]
1147
+ }],
1148
+ /**
1149
+ * Text Alignment
1150
+ * @see https://tailwindcss.com/docs/text-align
1151
+ */
1152
+ "text-alignment": [{
1153
+ text: ["left", "center", "right", "justify", "start", "end"]
1154
+ }],
1155
+ /**
1156
+ * Text Color
1157
+ * @see https://tailwindcss.com/docs/text-color
1158
+ */
1159
+ "text-color": [{
1160
+ text: [e]
1161
+ }],
1162
+ /**
1163
+ * Text Opacity
1164
+ * @see https://tailwindcss.com/docs/text-opacity
1165
+ */
1166
+ "text-opacity": [{
1167
+ "text-opacity": [$]
1168
+ }],
1169
+ /**
1170
+ * Text Decoration
1171
+ * @see https://tailwindcss.com/docs/text-decoration
1172
+ */
1173
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1174
+ /**
1175
+ * Text Decoration Style
1176
+ * @see https://tailwindcss.com/docs/text-decoration-style
1177
+ */
1178
+ "text-decoration-style": [{
1179
+ decoration: [...H(), "wavy"]
1180
+ }],
1181
+ /**
1182
+ * Text Decoration Thickness
1183
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
+ */
1185
+ "text-decoration-thickness": [{
1186
+ decoration: ["auto", "from-font", z, A]
1187
+ }],
1188
+ /**
1189
+ * Text Underline Offset
1190
+ * @see https://tailwindcss.com/docs/text-underline-offset
1191
+ */
1192
+ "underline-offset": [{
1193
+ "underline-offset": ["auto", z, d]
1194
+ }],
1195
+ /**
1196
+ * Text Decoration Color
1197
+ * @see https://tailwindcss.com/docs/text-decoration-color
1198
+ */
1199
+ "text-decoration-color": [{
1200
+ decoration: [e]
1201
+ }],
1202
+ /**
1203
+ * Text Transform
1204
+ * @see https://tailwindcss.com/docs/text-transform
1205
+ */
1206
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1207
+ /**
1208
+ * Text Overflow
1209
+ * @see https://tailwindcss.com/docs/text-overflow
1210
+ */
1211
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1212
+ /**
1213
+ * Text Wrap
1214
+ * @see https://tailwindcss.com/docs/text-wrap
1215
+ */
1216
+ "text-wrap": [{
1217
+ text: ["wrap", "nowrap", "balance", "pretty"]
1218
+ }],
1219
+ /**
1220
+ * Text Indent
1221
+ * @see https://tailwindcss.com/docs/text-indent
1222
+ */
1223
+ indent: [{
1224
+ indent: v()
1225
+ }],
1226
+ /**
1227
+ * Vertical Alignment
1228
+ * @see https://tailwindcss.com/docs/vertical-align
1229
+ */
1230
+ "vertical-align": [{
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d]
1232
+ }],
1233
+ /**
1234
+ * Whitespace
1235
+ * @see https://tailwindcss.com/docs/whitespace
1236
+ */
1237
+ whitespace: [{
1238
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1239
+ }],
1240
+ /**
1241
+ * Word Break
1242
+ * @see https://tailwindcss.com/docs/word-break
1243
+ */
1244
+ break: [{
1245
+ break: ["normal", "words", "all", "keep"]
1246
+ }],
1247
+ /**
1248
+ * Hyphens
1249
+ * @see https://tailwindcss.com/docs/hyphens
1250
+ */
1251
+ hyphens: [{
1252
+ hyphens: ["none", "manual", "auto"]
1253
+ }],
1254
+ /**
1255
+ * Content
1256
+ * @see https://tailwindcss.com/docs/content
1257
+ */
1258
+ content: [{
1259
+ content: ["none", d]
1260
+ }],
1261
+ // Backgrounds
1262
+ /**
1263
+ * Background Attachment
1264
+ * @see https://tailwindcss.com/docs/background-attachment
1265
+ */
1266
+ "bg-attachment": [{
1267
+ bg: ["fixed", "local", "scroll"]
1268
+ }],
1269
+ /**
1270
+ * Background Clip
1271
+ * @see https://tailwindcss.com/docs/background-clip
1272
+ */
1273
+ "bg-clip": [{
1274
+ "bg-clip": ["border", "padding", "content", "text"]
1275
+ }],
1276
+ /**
1277
+ * Background Opacity
1278
+ * @deprecated since Tailwind CSS v3.0.0
1279
+ * @see https://tailwindcss.com/docs/background-opacity
1280
+ */
1281
+ "bg-opacity": [{
1282
+ "bg-opacity": [$]
1283
+ }],
1284
+ /**
1285
+ * Background Origin
1286
+ * @see https://tailwindcss.com/docs/background-origin
1287
+ */
1288
+ "bg-origin": [{
1289
+ "bg-origin": ["border", "padding", "content"]
1290
+ }],
1291
+ /**
1292
+ * Background Position
1293
+ * @see https://tailwindcss.com/docs/background-position
1294
+ */
1295
+ "bg-position": [{
1296
+ bg: [...pe(), ht]
1297
+ }],
1298
+ /**
1299
+ * Background Repeat
1300
+ * @see https://tailwindcss.com/docs/background-repeat
1301
+ */
1302
+ "bg-repeat": [{
1303
+ bg: ["no-repeat", {
1304
+ repeat: ["", "x", "y", "round", "space"]
1305
+ }]
1306
+ }],
1307
+ /**
1308
+ * Background Size
1309
+ * @see https://tailwindcss.com/docs/background-size
1310
+ */
1311
+ "bg-size": [{
1312
+ bg: ["auto", "cover", "contain", bt]
1313
+ }],
1314
+ /**
1315
+ * Background Image
1316
+ * @see https://tailwindcss.com/docs/background-image
1317
+ */
1318
+ "bg-image": [{
1319
+ bg: ["none", {
1320
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
+ }, gt]
1322
+ }],
1323
+ /**
1324
+ * Background Color
1325
+ * @see https://tailwindcss.com/docs/background-color
1326
+ */
1327
+ "bg-color": [{
1328
+ bg: [e]
1329
+ }],
1330
+ /**
1331
+ * Gradient Color Stops From Position
1332
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1333
+ */
1334
+ "gradient-from-pos": [{
1335
+ from: [y]
1336
+ }],
1337
+ /**
1338
+ * Gradient Color Stops Via Position
1339
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1340
+ */
1341
+ "gradient-via-pos": [{
1342
+ via: [y]
1343
+ }],
1344
+ /**
1345
+ * Gradient Color Stops To Position
1346
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1347
+ */
1348
+ "gradient-to-pos": [{
1349
+ to: [y]
1350
+ }],
1351
+ /**
1352
+ * Gradient Color Stops From
1353
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1354
+ */
1355
+ "gradient-from": [{
1356
+ from: [x]
1357
+ }],
1358
+ /**
1359
+ * Gradient Color Stops Via
1360
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1361
+ */
1362
+ "gradient-via": [{
1363
+ via: [x]
1364
+ }],
1365
+ /**
1366
+ * Gradient Color Stops To
1367
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1368
+ */
1369
+ "gradient-to": [{
1370
+ to: [x]
1371
+ }],
1372
+ // Borders
1373
+ /**
1374
+ * Border Radius
1375
+ * @see https://tailwindcss.com/docs/border-radius
1376
+ */
1377
+ rounded: [{
1378
+ rounded: [n]
1379
+ }],
1380
+ /**
1381
+ * Border Radius Start
1382
+ * @see https://tailwindcss.com/docs/border-radius
1383
+ */
1384
+ "rounded-s": [{
1385
+ "rounded-s": [n]
1386
+ }],
1387
+ /**
1388
+ * Border Radius End
1389
+ * @see https://tailwindcss.com/docs/border-radius
1390
+ */
1391
+ "rounded-e": [{
1392
+ "rounded-e": [n]
1393
+ }],
1394
+ /**
1395
+ * Border Radius Top
1396
+ * @see https://tailwindcss.com/docs/border-radius
1397
+ */
1398
+ "rounded-t": [{
1399
+ "rounded-t": [n]
1400
+ }],
1401
+ /**
1402
+ * Border Radius Right
1403
+ * @see https://tailwindcss.com/docs/border-radius
1404
+ */
1405
+ "rounded-r": [{
1406
+ "rounded-r": [n]
1407
+ }],
1408
+ /**
1409
+ * Border Radius Bottom
1410
+ * @see https://tailwindcss.com/docs/border-radius
1411
+ */
1412
+ "rounded-b": [{
1413
+ "rounded-b": [n]
1414
+ }],
1415
+ /**
1416
+ * Border Radius Left
1417
+ * @see https://tailwindcss.com/docs/border-radius
1418
+ */
1419
+ "rounded-l": [{
1420
+ "rounded-l": [n]
1421
+ }],
1422
+ /**
1423
+ * Border Radius Start Start
1424
+ * @see https://tailwindcss.com/docs/border-radius
1425
+ */
1426
+ "rounded-ss": [{
1427
+ "rounded-ss": [n]
1428
+ }],
1429
+ /**
1430
+ * Border Radius Start End
1431
+ * @see https://tailwindcss.com/docs/border-radius
1432
+ */
1433
+ "rounded-se": [{
1434
+ "rounded-se": [n]
1435
+ }],
1436
+ /**
1437
+ * Border Radius End End
1438
+ * @see https://tailwindcss.com/docs/border-radius
1439
+ */
1440
+ "rounded-ee": [{
1441
+ "rounded-ee": [n]
1442
+ }],
1443
+ /**
1444
+ * Border Radius End Start
1445
+ * @see https://tailwindcss.com/docs/border-radius
1446
+ */
1447
+ "rounded-es": [{
1448
+ "rounded-es": [n]
1449
+ }],
1450
+ /**
1451
+ * Border Radius Top Left
1452
+ * @see https://tailwindcss.com/docs/border-radius
1453
+ */
1454
+ "rounded-tl": [{
1455
+ "rounded-tl": [n]
1456
+ }],
1457
+ /**
1458
+ * Border Radius Top Right
1459
+ * @see https://tailwindcss.com/docs/border-radius
1460
+ */
1461
+ "rounded-tr": [{
1462
+ "rounded-tr": [n]
1463
+ }],
1464
+ /**
1465
+ * Border Radius Bottom Right
1466
+ * @see https://tailwindcss.com/docs/border-radius
1467
+ */
1468
+ "rounded-br": [{
1469
+ "rounded-br": [n]
1470
+ }],
1471
+ /**
1472
+ * Border Radius Bottom Left
1473
+ * @see https://tailwindcss.com/docs/border-radius
1474
+ */
1475
+ "rounded-bl": [{
1476
+ "rounded-bl": [n]
1477
+ }],
1478
+ /**
1479
+ * Border Width
1480
+ * @see https://tailwindcss.com/docs/border-width
1481
+ */
1482
+ "border-w": [{
1483
+ border: [a]
1484
+ }],
1485
+ /**
1486
+ * Border Width X
1487
+ * @see https://tailwindcss.com/docs/border-width
1488
+ */
1489
+ "border-w-x": [{
1490
+ "border-x": [a]
1491
+ }],
1492
+ /**
1493
+ * Border Width Y
1494
+ * @see https://tailwindcss.com/docs/border-width
1495
+ */
1496
+ "border-w-y": [{
1497
+ "border-y": [a]
1498
+ }],
1499
+ /**
1500
+ * Border Width Start
1501
+ * @see https://tailwindcss.com/docs/border-width
1502
+ */
1503
+ "border-w-s": [{
1504
+ "border-s": [a]
1505
+ }],
1506
+ /**
1507
+ * Border Width End
1508
+ * @see https://tailwindcss.com/docs/border-width
1509
+ */
1510
+ "border-w-e": [{
1511
+ "border-e": [a]
1512
+ }],
1513
+ /**
1514
+ * Border Width Top
1515
+ * @see https://tailwindcss.com/docs/border-width
1516
+ */
1517
+ "border-w-t": [{
1518
+ "border-t": [a]
1519
+ }],
1520
+ /**
1521
+ * Border Width Right
1522
+ * @see https://tailwindcss.com/docs/border-width
1523
+ */
1524
+ "border-w-r": [{
1525
+ "border-r": [a]
1526
+ }],
1527
+ /**
1528
+ * Border Width Bottom
1529
+ * @see https://tailwindcss.com/docs/border-width
1530
+ */
1531
+ "border-w-b": [{
1532
+ "border-b": [a]
1533
+ }],
1534
+ /**
1535
+ * Border Width Left
1536
+ * @see https://tailwindcss.com/docs/border-width
1537
+ */
1538
+ "border-w-l": [{
1539
+ "border-l": [a]
1540
+ }],
1541
+ /**
1542
+ * Border Opacity
1543
+ * @see https://tailwindcss.com/docs/border-opacity
1544
+ */
1545
+ "border-opacity": [{
1546
+ "border-opacity": [$]
1547
+ }],
1548
+ /**
1549
+ * Border Style
1550
+ * @see https://tailwindcss.com/docs/border-style
1551
+ */
1552
+ "border-style": [{
1553
+ border: [...H(), "hidden"]
1554
+ }],
1555
+ /**
1556
+ * Divide Width X
1557
+ * @see https://tailwindcss.com/docs/divide-width
1558
+ */
1559
+ "divide-x": [{
1560
+ "divide-x": [a]
1561
+ }],
1562
+ /**
1563
+ * Divide Width X Reverse
1564
+ * @see https://tailwindcss.com/docs/divide-width
1565
+ */
1566
+ "divide-x-reverse": ["divide-x-reverse"],
1567
+ /**
1568
+ * Divide Width Y
1569
+ * @see https://tailwindcss.com/docs/divide-width
1570
+ */
1571
+ "divide-y": [{
1572
+ "divide-y": [a]
1573
+ }],
1574
+ /**
1575
+ * Divide Width Y Reverse
1576
+ * @see https://tailwindcss.com/docs/divide-width
1577
+ */
1578
+ "divide-y-reverse": ["divide-y-reverse"],
1579
+ /**
1580
+ * Divide Opacity
1581
+ * @see https://tailwindcss.com/docs/divide-opacity
1582
+ */
1583
+ "divide-opacity": [{
1584
+ "divide-opacity": [$]
1585
+ }],
1586
+ /**
1587
+ * Divide Style
1588
+ * @see https://tailwindcss.com/docs/divide-style
1589
+ */
1590
+ "divide-style": [{
1591
+ divide: H()
1592
+ }],
1593
+ /**
1594
+ * Border Color
1595
+ * @see https://tailwindcss.com/docs/border-color
1596
+ */
1597
+ "border-color": [{
1598
+ border: [s]
1599
+ }],
1600
+ /**
1601
+ * Border Color X
1602
+ * @see https://tailwindcss.com/docs/border-color
1603
+ */
1604
+ "border-color-x": [{
1605
+ "border-x": [s]
1606
+ }],
1607
+ /**
1608
+ * Border Color Y
1609
+ * @see https://tailwindcss.com/docs/border-color
1610
+ */
1611
+ "border-color-y": [{
1612
+ "border-y": [s]
1613
+ }],
1614
+ /**
1615
+ * Border Color Top
1616
+ * @see https://tailwindcss.com/docs/border-color
1617
+ */
1618
+ "border-color-t": [{
1619
+ "border-t": [s]
1620
+ }],
1621
+ /**
1622
+ * Border Color Right
1623
+ * @see https://tailwindcss.com/docs/border-color
1624
+ */
1625
+ "border-color-r": [{
1626
+ "border-r": [s]
1627
+ }],
1628
+ /**
1629
+ * Border Color Bottom
1630
+ * @see https://tailwindcss.com/docs/border-color
1631
+ */
1632
+ "border-color-b": [{
1633
+ "border-b": [s]
1634
+ }],
1635
+ /**
1636
+ * Border Color Left
1637
+ * @see https://tailwindcss.com/docs/border-color
1638
+ */
1639
+ "border-color-l": [{
1640
+ "border-l": [s]
1641
+ }],
1642
+ /**
1643
+ * Divide Color
1644
+ * @see https://tailwindcss.com/docs/divide-color
1645
+ */
1646
+ "divide-color": [{
1647
+ divide: [s]
1648
+ }],
1649
+ /**
1650
+ * Outline Style
1651
+ * @see https://tailwindcss.com/docs/outline-style
1652
+ */
1653
+ "outline-style": [{
1654
+ outline: ["", ...H()]
1655
+ }],
1656
+ /**
1657
+ * Outline Offset
1658
+ * @see https://tailwindcss.com/docs/outline-offset
1659
+ */
1660
+ "outline-offset": [{
1661
+ "outline-offset": [z, d]
1662
+ }],
1663
+ /**
1664
+ * Outline Width
1665
+ * @see https://tailwindcss.com/docs/outline-width
1666
+ */
1667
+ "outline-w": [{
1668
+ outline: [z, A]
1669
+ }],
1670
+ /**
1671
+ * Outline Color
1672
+ * @see https://tailwindcss.com/docs/outline-color
1673
+ */
1674
+ "outline-color": [{
1675
+ outline: [e]
1676
+ }],
1677
+ /**
1678
+ * Ring Width
1679
+ * @see https://tailwindcss.com/docs/ring-width
1680
+ */
1681
+ "ring-w": [{
1682
+ ring: ue()
1683
+ }],
1684
+ /**
1685
+ * Ring Width Inset
1686
+ * @see https://tailwindcss.com/docs/ring-width
1687
+ */
1688
+ "ring-w-inset": ["ring-inset"],
1689
+ /**
1690
+ * Ring Color
1691
+ * @see https://tailwindcss.com/docs/ring-color
1692
+ */
1693
+ "ring-color": [{
1694
+ ring: [e]
1695
+ }],
1696
+ /**
1697
+ * Ring Opacity
1698
+ * @see https://tailwindcss.com/docs/ring-opacity
1699
+ */
1700
+ "ring-opacity": [{
1701
+ "ring-opacity": [$]
1702
+ }],
1703
+ /**
1704
+ * Ring Offset Width
1705
+ * @see https://tailwindcss.com/docs/ring-offset-width
1706
+ */
1707
+ "ring-offset-w": [{
1708
+ "ring-offset": [z, A]
1709
+ }],
1710
+ /**
1711
+ * Ring Offset Color
1712
+ * @see https://tailwindcss.com/docs/ring-offset-color
1713
+ */
1714
+ "ring-offset-color": [{
1715
+ "ring-offset": [e]
1716
+ }],
1717
+ // Effects
1718
+ /**
1719
+ * Box Shadow
1720
+ * @see https://tailwindcss.com/docs/box-shadow
1721
+ */
1722
+ shadow: [{
1723
+ shadow: ["", "inner", "none", N, vt]
1724
+ }],
1725
+ /**
1726
+ * Box Shadow Color
1727
+ * @see https://tailwindcss.com/docs/box-shadow-color
1728
+ */
1729
+ "shadow-color": [{
1730
+ shadow: [I]
1731
+ }],
1732
+ /**
1733
+ * Opacity
1734
+ * @see https://tailwindcss.com/docs/opacity
1735
+ */
1736
+ opacity: [{
1737
+ opacity: [$]
1738
+ }],
1739
+ /**
1740
+ * Mix Blend Mode
1741
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1742
+ */
1743
+ "mix-blend": [{
1744
+ "mix-blend": [...fe(), "plus-lighter", "plus-darker"]
1745
+ }],
1746
+ /**
1747
+ * Background Blend Mode
1748
+ * @see https://tailwindcss.com/docs/background-blend-mode
1749
+ */
1750
+ "bg-blend": [{
1751
+ "bg-blend": fe()
1752
+ }],
1753
+ // Filters
1754
+ /**
1755
+ * Filter
1756
+ * @deprecated since Tailwind CSS v3.0.0
1757
+ * @see https://tailwindcss.com/docs/filter
1758
+ */
1759
+ filter: [{
1760
+ filter: ["", "none"]
1761
+ }],
1762
+ /**
1763
+ * Blur
1764
+ * @see https://tailwindcss.com/docs/blur
1765
+ */
1766
+ blur: [{
1767
+ blur: [r]
1768
+ }],
1769
+ /**
1770
+ * Brightness
1771
+ * @see https://tailwindcss.com/docs/brightness
1772
+ */
1773
+ brightness: [{
1774
+ brightness: [o]
1775
+ }],
1776
+ /**
1777
+ * Contrast
1778
+ * @see https://tailwindcss.com/docs/contrast
1779
+ */
1780
+ contrast: [{
1781
+ contrast: [l]
1782
+ }],
1783
+ /**
1784
+ * Drop Shadow
1785
+ * @see https://tailwindcss.com/docs/drop-shadow
1786
+ */
1787
+ "drop-shadow": [{
1788
+ "drop-shadow": ["", "none", N, d]
1789
+ }],
1790
+ /**
1791
+ * Grayscale
1792
+ * @see https://tailwindcss.com/docs/grayscale
1793
+ */
1794
+ grayscale: [{
1795
+ grayscale: [c]
1796
+ }],
1797
+ /**
1798
+ * Hue Rotate
1799
+ * @see https://tailwindcss.com/docs/hue-rotate
1800
+ */
1801
+ "hue-rotate": [{
1802
+ "hue-rotate": [p]
1803
+ }],
1804
+ /**
1805
+ * Invert
1806
+ * @see https://tailwindcss.com/docs/invert
1807
+ */
1808
+ invert: [{
1809
+ invert: [u]
1810
+ }],
1811
+ /**
1812
+ * Saturate
1813
+ * @see https://tailwindcss.com/docs/saturate
1814
+ */
1815
+ saturate: [{
1816
+ saturate: [F]
1817
+ }],
1818
+ /**
1819
+ * Sepia
1820
+ * @see https://tailwindcss.com/docs/sepia
1821
+ */
1822
+ sepia: [{
1823
+ sepia: [ae]
1824
+ }],
1825
+ /**
1826
+ * Backdrop Filter
1827
+ * @deprecated since Tailwind CSS v3.0.0
1828
+ * @see https://tailwindcss.com/docs/backdrop-filter
1829
+ */
1830
+ "backdrop-filter": [{
1831
+ "backdrop-filter": ["", "none"]
1832
+ }],
1833
+ /**
1834
+ * Backdrop Blur
1835
+ * @see https://tailwindcss.com/docs/backdrop-blur
1836
+ */
1837
+ "backdrop-blur": [{
1838
+ "backdrop-blur": [r]
1839
+ }],
1840
+ /**
1841
+ * Backdrop Brightness
1842
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1843
+ */
1844
+ "backdrop-brightness": [{
1845
+ "backdrop-brightness": [o]
1846
+ }],
1847
+ /**
1848
+ * Backdrop Contrast
1849
+ * @see https://tailwindcss.com/docs/backdrop-contrast
1850
+ */
1851
+ "backdrop-contrast": [{
1852
+ "backdrop-contrast": [l]
1853
+ }],
1854
+ /**
1855
+ * Backdrop Grayscale
1856
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
1857
+ */
1858
+ "backdrop-grayscale": [{
1859
+ "backdrop-grayscale": [c]
1860
+ }],
1861
+ /**
1862
+ * Backdrop Hue Rotate
1863
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1864
+ */
1865
+ "backdrop-hue-rotate": [{
1866
+ "backdrop-hue-rotate": [p]
1867
+ }],
1868
+ /**
1869
+ * Backdrop Invert
1870
+ * @see https://tailwindcss.com/docs/backdrop-invert
1871
+ */
1872
+ "backdrop-invert": [{
1873
+ "backdrop-invert": [u]
1874
+ }],
1875
+ /**
1876
+ * Backdrop Opacity
1877
+ * @see https://tailwindcss.com/docs/backdrop-opacity
1878
+ */
1879
+ "backdrop-opacity": [{
1880
+ "backdrop-opacity": [$]
1881
+ }],
1882
+ /**
1883
+ * Backdrop Saturate
1884
+ * @see https://tailwindcss.com/docs/backdrop-saturate
1885
+ */
1886
+ "backdrop-saturate": [{
1887
+ "backdrop-saturate": [F]
1888
+ }],
1889
+ /**
1890
+ * Backdrop Sepia
1891
+ * @see https://tailwindcss.com/docs/backdrop-sepia
1892
+ */
1893
+ "backdrop-sepia": [{
1894
+ "backdrop-sepia": [ae]
1895
+ }],
1896
+ // Tables
1897
+ /**
1898
+ * Border Collapse
1899
+ * @see https://tailwindcss.com/docs/border-collapse
1900
+ */
1901
+ "border-collapse": [{
1902
+ border: ["collapse", "separate"]
1903
+ }],
1904
+ /**
1905
+ * Border Spacing
1906
+ * @see https://tailwindcss.com/docs/border-spacing
1907
+ */
1908
+ "border-spacing": [{
1909
+ "border-spacing": [i]
1910
+ }],
1911
+ /**
1912
+ * Border Spacing X
1913
+ * @see https://tailwindcss.com/docs/border-spacing
1914
+ */
1915
+ "border-spacing-x": [{
1916
+ "border-spacing-x": [i]
1917
+ }],
1918
+ /**
1919
+ * Border Spacing Y
1920
+ * @see https://tailwindcss.com/docs/border-spacing
1921
+ */
1922
+ "border-spacing-y": [{
1923
+ "border-spacing-y": [i]
1924
+ }],
1925
+ /**
1926
+ * Table Layout
1927
+ * @see https://tailwindcss.com/docs/table-layout
1928
+ */
1929
+ "table-layout": [{
1930
+ table: ["auto", "fixed"]
1931
+ }],
1932
+ /**
1933
+ * Caption Side
1934
+ * @see https://tailwindcss.com/docs/caption-side
1935
+ */
1936
+ caption: [{
1937
+ caption: ["top", "bottom"]
1938
+ }],
1939
+ // Transitions and Animation
1940
+ /**
1941
+ * Tranisition Property
1942
+ * @see https://tailwindcss.com/docs/transition-property
1943
+ */
1944
+ transition: [{
1945
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", d]
1946
+ }],
1947
+ /**
1948
+ * Transition Duration
1949
+ * @see https://tailwindcss.com/docs/transition-duration
1950
+ */
1951
+ duration: [{
1952
+ duration: q()
1953
+ }],
1954
+ /**
1955
+ * Transition Timing Function
1956
+ * @see https://tailwindcss.com/docs/transition-timing-function
1957
+ */
1958
+ ease: [{
1959
+ ease: ["linear", "in", "out", "in-out", d]
1960
+ }],
1961
+ /**
1962
+ * Transition Delay
1963
+ * @see https://tailwindcss.com/docs/transition-delay
1964
+ */
1965
+ delay: [{
1966
+ delay: q()
1967
+ }],
1968
+ /**
1969
+ * Animation
1970
+ * @see https://tailwindcss.com/docs/animation
1971
+ */
1972
+ animate: [{
1973
+ animate: ["none", "spin", "ping", "pulse", "bounce", d]
1974
+ }],
1975
+ // Transforms
1976
+ /**
1977
+ * Transform
1978
+ * @see https://tailwindcss.com/docs/transform
1979
+ */
1980
+ transform: [{
1981
+ transform: ["", "gpu", "none"]
1982
+ }],
1983
+ /**
1984
+ * Scale
1985
+ * @see https://tailwindcss.com/docs/scale
1986
+ */
1987
+ scale: [{
1988
+ scale: [K]
1989
+ }],
1990
+ /**
1991
+ * Scale X
1992
+ * @see https://tailwindcss.com/docs/scale
1993
+ */
1994
+ "scale-x": [{
1995
+ "scale-x": [K]
1996
+ }],
1997
+ /**
1998
+ * Scale Y
1999
+ * @see https://tailwindcss.com/docs/scale
2000
+ */
2001
+ "scale-y": [{
2002
+ "scale-y": [K]
2003
+ }],
2004
+ /**
2005
+ * Rotate
2006
+ * @see https://tailwindcss.com/docs/rotate
2007
+ */
2008
+ rotate: [{
2009
+ rotate: [E, d]
2010
+ }],
2011
+ /**
2012
+ * Translate X
2013
+ * @see https://tailwindcss.com/docs/translate
2014
+ */
2015
+ "translate-x": [{
2016
+ "translate-x": [de]
2017
+ }],
2018
+ /**
2019
+ * Translate Y
2020
+ * @see https://tailwindcss.com/docs/translate
2021
+ */
2022
+ "translate-y": [{
2023
+ "translate-y": [de]
2024
+ }],
2025
+ /**
2026
+ * Skew X
2027
+ * @see https://tailwindcss.com/docs/skew
2028
+ */
2029
+ "skew-x": [{
2030
+ "skew-x": [le]
2031
+ }],
2032
+ /**
2033
+ * Skew Y
2034
+ * @see https://tailwindcss.com/docs/skew
2035
+ */
2036
+ "skew-y": [{
2037
+ "skew-y": [le]
2038
+ }],
2039
+ /**
2040
+ * Transform Origin
2041
+ * @see https://tailwindcss.com/docs/transform-origin
2042
+ */
2043
+ "transform-origin": [{
2044
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", d]
2045
+ }],
2046
+ // Interactivity
2047
+ /**
2048
+ * Accent Color
2049
+ * @see https://tailwindcss.com/docs/accent-color
2050
+ */
2051
+ accent: [{
2052
+ accent: ["auto", e]
2053
+ }],
2054
+ /**
2055
+ * Appearance
2056
+ * @see https://tailwindcss.com/docs/appearance
2057
+ */
2058
+ appearance: [{
2059
+ appearance: ["none", "auto"]
2060
+ }],
2061
+ /**
2062
+ * Cursor
2063
+ * @see https://tailwindcss.com/docs/cursor
2064
+ */
2065
+ cursor: [{
2066
+ 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", d]
2067
+ }],
2068
+ /**
2069
+ * Caret Color
2070
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2071
+ */
2072
+ "caret-color": [{
2073
+ caret: [e]
2074
+ }],
2075
+ /**
2076
+ * Pointer Events
2077
+ * @see https://tailwindcss.com/docs/pointer-events
2078
+ */
2079
+ "pointer-events": [{
2080
+ "pointer-events": ["none", "auto"]
2081
+ }],
2082
+ /**
2083
+ * Resize
2084
+ * @see https://tailwindcss.com/docs/resize
2085
+ */
2086
+ resize: [{
2087
+ resize: ["none", "y", "x", ""]
2088
+ }],
2089
+ /**
2090
+ * Scroll Behavior
2091
+ * @see https://tailwindcss.com/docs/scroll-behavior
2092
+ */
2093
+ "scroll-behavior": [{
2094
+ scroll: ["auto", "smooth"]
2095
+ }],
2096
+ /**
2097
+ * Scroll Margin
2098
+ * @see https://tailwindcss.com/docs/scroll-margin
2099
+ */
2100
+ "scroll-m": [{
2101
+ "scroll-m": v()
2102
+ }],
2103
+ /**
2104
+ * Scroll Margin X
2105
+ * @see https://tailwindcss.com/docs/scroll-margin
2106
+ */
2107
+ "scroll-mx": [{
2108
+ "scroll-mx": v()
2109
+ }],
2110
+ /**
2111
+ * Scroll Margin Y
2112
+ * @see https://tailwindcss.com/docs/scroll-margin
2113
+ */
2114
+ "scroll-my": [{
2115
+ "scroll-my": v()
2116
+ }],
2117
+ /**
2118
+ * Scroll Margin Start
2119
+ * @see https://tailwindcss.com/docs/scroll-margin
2120
+ */
2121
+ "scroll-ms": [{
2122
+ "scroll-ms": v()
2123
+ }],
2124
+ /**
2125
+ * Scroll Margin End
2126
+ * @see https://tailwindcss.com/docs/scroll-margin
2127
+ */
2128
+ "scroll-me": [{
2129
+ "scroll-me": v()
2130
+ }],
2131
+ /**
2132
+ * Scroll Margin Top
2133
+ * @see https://tailwindcss.com/docs/scroll-margin
2134
+ */
2135
+ "scroll-mt": [{
2136
+ "scroll-mt": v()
2137
+ }],
2138
+ /**
2139
+ * Scroll Margin Right
2140
+ * @see https://tailwindcss.com/docs/scroll-margin
2141
+ */
2142
+ "scroll-mr": [{
2143
+ "scroll-mr": v()
2144
+ }],
2145
+ /**
2146
+ * Scroll Margin Bottom
2147
+ * @see https://tailwindcss.com/docs/scroll-margin
2148
+ */
2149
+ "scroll-mb": [{
2150
+ "scroll-mb": v()
2151
+ }],
2152
+ /**
2153
+ * Scroll Margin Left
2154
+ * @see https://tailwindcss.com/docs/scroll-margin
2155
+ */
2156
+ "scroll-ml": [{
2157
+ "scroll-ml": v()
2158
+ }],
2159
+ /**
2160
+ * Scroll Padding
2161
+ * @see https://tailwindcss.com/docs/scroll-padding
2162
+ */
2163
+ "scroll-p": [{
2164
+ "scroll-p": v()
2165
+ }],
2166
+ /**
2167
+ * Scroll Padding X
2168
+ * @see https://tailwindcss.com/docs/scroll-padding
2169
+ */
2170
+ "scroll-px": [{
2171
+ "scroll-px": v()
2172
+ }],
2173
+ /**
2174
+ * Scroll Padding Y
2175
+ * @see https://tailwindcss.com/docs/scroll-padding
2176
+ */
2177
+ "scroll-py": [{
2178
+ "scroll-py": v()
2179
+ }],
2180
+ /**
2181
+ * Scroll Padding Start
2182
+ * @see https://tailwindcss.com/docs/scroll-padding
2183
+ */
2184
+ "scroll-ps": [{
2185
+ "scroll-ps": v()
2186
+ }],
2187
+ /**
2188
+ * Scroll Padding End
2189
+ * @see https://tailwindcss.com/docs/scroll-padding
2190
+ */
2191
+ "scroll-pe": [{
2192
+ "scroll-pe": v()
2193
+ }],
2194
+ /**
2195
+ * Scroll Padding Top
2196
+ * @see https://tailwindcss.com/docs/scroll-padding
2197
+ */
2198
+ "scroll-pt": [{
2199
+ "scroll-pt": v()
2200
+ }],
2201
+ /**
2202
+ * Scroll Padding Right
2203
+ * @see https://tailwindcss.com/docs/scroll-padding
2204
+ */
2205
+ "scroll-pr": [{
2206
+ "scroll-pr": v()
2207
+ }],
2208
+ /**
2209
+ * Scroll Padding Bottom
2210
+ * @see https://tailwindcss.com/docs/scroll-padding
2211
+ */
2212
+ "scroll-pb": [{
2213
+ "scroll-pb": v()
2214
+ }],
2215
+ /**
2216
+ * Scroll Padding Left
2217
+ * @see https://tailwindcss.com/docs/scroll-padding
2218
+ */
2219
+ "scroll-pl": [{
2220
+ "scroll-pl": v()
2221
+ }],
2222
+ /**
2223
+ * Scroll Snap Align
2224
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2225
+ */
2226
+ "snap-align": [{
2227
+ snap: ["start", "end", "center", "align-none"]
2228
+ }],
2229
+ /**
2230
+ * Scroll Snap Stop
2231
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2232
+ */
2233
+ "snap-stop": [{
2234
+ snap: ["normal", "always"]
2235
+ }],
2236
+ /**
2237
+ * Scroll Snap Type
2238
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2239
+ */
2240
+ "snap-type": [{
2241
+ snap: ["none", "x", "y", "both"]
2242
+ }],
2243
+ /**
2244
+ * Scroll Snap Type Strictness
2245
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2246
+ */
2247
+ "snap-strictness": [{
2248
+ snap: ["mandatory", "proximity"]
2249
+ }],
2250
+ /**
2251
+ * Touch Action
2252
+ * @see https://tailwindcss.com/docs/touch-action
2253
+ */
2254
+ touch: [{
2255
+ touch: ["auto", "none", "manipulation"]
2256
+ }],
2257
+ /**
2258
+ * Touch Action X
2259
+ * @see https://tailwindcss.com/docs/touch-action
2260
+ */
2261
+ "touch-x": [{
2262
+ "touch-pan": ["x", "left", "right"]
2263
+ }],
2264
+ /**
2265
+ * Touch Action Y
2266
+ * @see https://tailwindcss.com/docs/touch-action
2267
+ */
2268
+ "touch-y": [{
2269
+ "touch-pan": ["y", "up", "down"]
2270
+ }],
2271
+ /**
2272
+ * Touch Action Pinch Zoom
2273
+ * @see https://tailwindcss.com/docs/touch-action
2274
+ */
2275
+ "touch-pz": ["touch-pinch-zoom"],
2276
+ /**
2277
+ * User Select
2278
+ * @see https://tailwindcss.com/docs/user-select
2279
+ */
2280
+ select: [{
2281
+ select: ["none", "text", "all", "auto"]
2282
+ }],
2283
+ /**
2284
+ * Will Change
2285
+ * @see https://tailwindcss.com/docs/will-change
2286
+ */
2287
+ "will-change": [{
2288
+ "will-change": ["auto", "scroll", "contents", "transform", d]
2289
+ }],
2290
+ // SVG
2291
+ /**
2292
+ * Fill
2293
+ * @see https://tailwindcss.com/docs/fill
2294
+ */
2295
+ fill: [{
2296
+ fill: [e, "none"]
2297
+ }],
2298
+ /**
2299
+ * Stroke Width
2300
+ * @see https://tailwindcss.com/docs/stroke-width
2301
+ */
2302
+ "stroke-w": [{
2303
+ stroke: [z, A, J]
2304
+ }],
2305
+ /**
2306
+ * Stroke
2307
+ * @see https://tailwindcss.com/docs/stroke
2308
+ */
2309
+ stroke: [{
2310
+ stroke: [e, "none"]
2311
+ }],
2312
+ // Accessibility
2313
+ /**
2314
+ * Screen Readers
2315
+ * @see https://tailwindcss.com/docs/screen-readers
2316
+ */
2317
+ sr: ["sr-only", "not-sr-only"],
2318
+ /**
2319
+ * Forced Color Adjust
2320
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2321
+ */
2322
+ "forced-color-adjust": [{
2323
+ "forced-color-adjust": ["auto", "none"]
2324
+ }]
2325
+ },
2326
+ conflictingClassGroups: {
2327
+ overflow: ["overflow-x", "overflow-y"],
2328
+ overscroll: ["overscroll-x", "overscroll-y"],
2329
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2330
+ "inset-x": ["right", "left"],
2331
+ "inset-y": ["top", "bottom"],
2332
+ flex: ["basis", "grow", "shrink"],
2333
+ gap: ["gap-x", "gap-y"],
2334
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2335
+ px: ["pr", "pl"],
2336
+ py: ["pt", "pb"],
2337
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2338
+ mx: ["mr", "ml"],
2339
+ my: ["mt", "mb"],
2340
+ size: ["w", "h"],
2341
+ "font-size": ["leading"],
2342
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2343
+ "fvn-ordinal": ["fvn-normal"],
2344
+ "fvn-slashed-zero": ["fvn-normal"],
2345
+ "fvn-figure": ["fvn-normal"],
2346
+ "fvn-spacing": ["fvn-normal"],
2347
+ "fvn-fraction": ["fvn-normal"],
2348
+ "line-clamp": ["display", "overflow"],
2349
+ 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"],
2350
+ "rounded-s": ["rounded-ss", "rounded-es"],
2351
+ "rounded-e": ["rounded-se", "rounded-ee"],
2352
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2353
+ "rounded-r": ["rounded-tr", "rounded-br"],
2354
+ "rounded-b": ["rounded-br", "rounded-bl"],
2355
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2356
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2357
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2358
+ "border-w-x": ["border-w-r", "border-w-l"],
2359
+ "border-w-y": ["border-w-t", "border-w-b"],
2360
+ "border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2361
+ "border-color-x": ["border-color-r", "border-color-l"],
2362
+ "border-color-y": ["border-color-t", "border-color-b"],
2363
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2364
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2365
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2366
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2367
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2368
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2369
+ touch: ["touch-x", "touch-y", "touch-pz"],
2370
+ "touch-x": ["touch"],
2371
+ "touch-y": ["touch"],
2372
+ "touch-pz": ["touch"]
2373
+ },
2374
+ conflictingClassGroupModifiers: {
2375
+ "font-size": ["leading"]
2376
+ }
2377
+ };
2378
+ }
2379
+ const $t = /* @__PURE__ */ nt(kt), Ct = [
2380
+ "primary",
2381
+ "primary-variant",
2382
+ "primary",
2383
+ "primary-variant",
2384
+ "secondary",
2385
+ "secondary-variant",
2386
+ "tertiary",
2387
+ "tertiary-variant",
2388
+ "purple",
2389
+ "red",
2390
+ "orange",
2391
+ "yellow",
2392
+ "green",
2393
+ "blue"
2394
+ ];
2395
+ function C(...e) {
2396
+ return $t(He(e));
2397
+ }
2398
+ function se(e) {
2399
+ return Ct.includes(e) ? `var(--${e})` : e;
2400
+ }
2401
+ function je(...e) {
2402
+ return e.reduce((t, r) => {
2403
+ const [o, s] = r;
2404
+ return o ? { ...t, ...s } : t;
2405
+ }, {});
2406
+ }
2407
+ const sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2408
+ __proto__: null,
2409
+ cn: C,
2410
+ getConditionalStyles: je,
2411
+ getCssColor: se
2412
+ }, Symbol.toStringTag, { value: "Module" })), St = R("flex justify-center items-center rounded-full bg-neutral-light-3", {
2413
+ variants: {
2414
+ type: {
2415
+ labeled: "size-8 p-2 shadow-none w-auto p-0 leading-[1] ",
2416
+ "sm-circle": "size-4 p-1 drop-shadow",
2417
+ "md-circle": "size-8 p-2 drop-shadow"
2418
+ }
2419
+ }
2420
+ }), zt = R("rounded-full size-full", {
2421
+ variants: {
2422
+ outlined: {
2423
+ true: "border-solid border-2 shadow-none bg-transparent"
2424
+ },
2425
+ type: {
2426
+ labeled: "h-8 min-w-32 px-6 py-2 border-none text-center",
2427
+ "sm-circle": "shadow-inner1xl",
2428
+ "md-circle": "shadow-inner1xl"
2429
+ }
2430
+ },
2431
+ compoundVariants: [
2432
+ {
2433
+ outlined: !0,
2434
+ type: "md-circle",
2435
+ className: "border-2"
2436
+ },
2437
+ {
2438
+ outlined: !0,
2439
+ type: "sm-circle",
2440
+ className: "border"
2441
+ }
2442
+ ]
2443
+ });
2444
+ function ir(e) {
2445
+ const { className: t, color: r = "secondary", outlined: o = !1, type: s, label: n = "md-circle", ...i } = e, a = se(r), l = s === "labeled", c = je(
2446
+ [!o, { backgroundColor: a }],
2447
+ [!!o, { borderColor: a }],
2448
+ [
2449
+ !!(o && l),
2450
+ { boxShadow: `inset 0 0 0 2px ${a}` }
2451
+ // rather than shifting the elements sizing to account for the border, we can use inner shadow
2452
+ ]
2453
+ );
2454
+ return /* @__PURE__ */ f("div", { className: C(St({ type: s }), t), ...i, children: /* @__PURE__ */ f("div", { style: c, className: C(zt({ outlined: o, type: s })), children: l ? n : null }) });
2455
+ }
2456
+ function P() {
2457
+ return P = Object.assign ? Object.assign.bind() : function(e) {
2458
+ for (var t = 1; t < arguments.length; t++) {
2459
+ var r = arguments[t];
2460
+ for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]);
2461
+ }
2462
+ return e;
2463
+ }, P.apply(null, arguments);
2464
+ }
2465
+ function At(e, t) {
2466
+ typeof e == "function" ? e(t) : e != null && (e.current = t);
2467
+ }
2468
+ function _e(...e) {
2469
+ return (t) => e.forEach(
2470
+ (r) => At(r, t)
2471
+ );
2472
+ }
2473
+ function Nt(...e) {
2474
+ return Ce(_e(...e), e);
2475
+ }
2476
+ const ie = /* @__PURE__ */ V((e, t) => {
2477
+ const { children: r, ...o } = e, s = B.toArray(r), n = s.find(Mt);
2478
+ if (n) {
2479
+ const i = n.props.children, a = s.map((l) => l === n ? B.count(i) > 1 ? B.only(null) : /* @__PURE__ */ Z(i) ? i.props.children : null : l);
2480
+ return /* @__PURE__ */ S(oe, P({}, o, {
2481
+ ref: t
2482
+ }), /* @__PURE__ */ Z(i) ? /* @__PURE__ */ Se(i, void 0, a) : null);
2483
+ }
2484
+ return /* @__PURE__ */ S(oe, P({}, o, {
2485
+ ref: t
2486
+ }), r);
2487
+ });
2488
+ ie.displayName = "Slot";
2489
+ const oe = /* @__PURE__ */ V((e, t) => {
2490
+ const { children: r, ...o } = e;
2491
+ return /* @__PURE__ */ Z(r) ? /* @__PURE__ */ Se(r, {
2492
+ ...Vt(o, r.props),
2493
+ ref: t ? _e(t, r.ref) : r.ref
2494
+ }) : B.count(r) > 1 ? B.only(null) : null;
2495
+ });
2496
+ oe.displayName = "SlotClone";
2497
+ const Pt = ({ children: e }) => /* @__PURE__ */ S(Le, null, e);
2498
+ function Mt(e) {
2499
+ return /* @__PURE__ */ Z(e) && e.type === Pt;
2500
+ }
2501
+ function Vt(e, t) {
2502
+ const r = {
2503
+ ...t
2504
+ };
2505
+ for (const o in t) {
2506
+ const s = e[o], n = t[o];
2507
+ /^on[A-Z]/.test(o) ? s && n ? r[o] = (...a) => {
2508
+ n(...a), s(...a);
2509
+ } : s && (r[o] = s) : o === "style" ? r[o] = {
2510
+ ...s,
2511
+ ...n
2512
+ } : o === "className" && (r[o] = [
2513
+ s,
2514
+ n
2515
+ ].filter(Boolean).join(" "));
2516
+ }
2517
+ return {
2518
+ ...e,
2519
+ ...r
2520
+ };
2521
+ }
2522
+ const Rt = R(
2523
+ "shadow-outer-1 inline-flex items-center justify-center whitespace-nowrap h-10 px-6 py-2 rounded-3xl text-sm ring-offset-background transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:no-underline",
2524
+ {
2525
+ variants: {
2526
+ variant: {
2527
+ primary: "bg-primary text-white hover:bg-secondary",
2528
+ secondary: "bg-neutral-light-5 text-neutral-dark-0 hover:bg-secondary hover:text-white",
2529
+ tertiary: "bg-transparent border-2 border-neutral-light-5 text-neutral-dark-0 dark:text-white hover:bg-tertiary hover:dark:text-neutral-dark-0 hover:border-tertiary",
2530
+ text: "text-neutral-dark-1 shadow-none hover:underline active:text-primary active:underline active:dark:text-neutral-light-5 hover:dark:text-secondary-variant-2 dark:text-white hover:text-secondary",
2531
+ icon: "rounded-full text-neutral-dark-1 bg-neutral-light-5 p-0 size-10 hover:border-2 hover:border-secondary active:border-none"
2532
+ },
2533
+ size: {
2534
+ small: "h-9 px-4 py-1 text-xs",
2535
+ medium: "h-10 px-6 py-2",
2536
+ large: "h-11 px-8 py-3 text-base"
2537
+ }
2538
+ },
2539
+ defaultVariants: {
2540
+ variant: "primary"
2541
+ }
2542
+ }
2543
+ ), X = Oe.forwardRef(
2544
+ ({ className: e, variant: t, size: r, asChild: o = !1, ...s }, n) => /* @__PURE__ */ f(o ? ie : "button", { className: C(Rt({ variant: t, size: r, className: e })), ref: n, ...s })
2545
+ );
2546
+ X.displayName = "Button";
2547
+ const jt = ({ user: e, onLogin: t, onLogout: r, onCreateAccount: o }) => /* @__PURE__ */ f("header", { children: /* @__PURE__ */ k("div", { className: "storybook-header", children: [
2548
+ /* @__PURE__ */ k("div", { children: [
2549
+ /* @__PURE__ */ f("svg", { width: "32", height: "32", viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ k("g", { fill: "none", fillRule: "evenodd", children: [
2550
+ /* @__PURE__ */ f(
2551
+ "path",
2552
+ {
2553
+ d: "M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",
2554
+ fill: "#FFF"
2555
+ }
2556
+ ),
2557
+ /* @__PURE__ */ f("path", { d: "M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z", fill: "#555AB9" }),
2558
+ /* @__PURE__ */ f("path", { d: "M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z", fill: "#91BAF8" })
2559
+ ] }) }),
2560
+ /* @__PURE__ */ f("h1", { children: "Acme" })
2561
+ ] }),
2562
+ /* @__PURE__ */ f("div", { children: e ? /* @__PURE__ */ k(he, { children: [
2563
+ /* @__PURE__ */ k("span", { className: "welcome", children: [
2564
+ "Welcome, ",
2565
+ /* @__PURE__ */ f("b", { children: e.name }),
2566
+ "!"
2567
+ ] }),
2568
+ /* @__PURE__ */ f(X, { size: "small", onClick: r, children: "Logout" })
2569
+ ] }) : /* @__PURE__ */ k(he, { children: [
2570
+ /* @__PURE__ */ f(X, { size: "small", onClick: t, children: "Login" }),
2571
+ /* @__PURE__ */ f(X, { variant: "primary", size: "small", onClick: o, children: "Sign Up" })
2572
+ ] }) })
2573
+ ] }) }), ar = () => {
2574
+ const [e, t] = O();
2575
+ return /* @__PURE__ */ k("article", { children: [
2576
+ /* @__PURE__ */ f(
2577
+ jt,
2578
+ {
2579
+ user: e,
2580
+ onLogin: () => t({ name: "Jane Doe" }),
2581
+ onLogout: () => t(void 0),
2582
+ onCreateAccount: () => t({ name: "Jane Doe" })
2583
+ }
2584
+ ),
2585
+ /* @__PURE__ */ k("section", { className: "storybook-page", children: [
2586
+ /* @__PURE__ */ f("h2", { children: "Pages in Storybook" }),
2587
+ /* @__PURE__ */ k("p", { children: [
2588
+ "We recommend building UIs with a",
2589
+ " ",
2590
+ /* @__PURE__ */ f("a", { href: "https://componentdriven.org", target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ f("strong", { children: "component-driven" }) }),
2591
+ " ",
2592
+ "process starting with atomic components and ending with pages."
2593
+ ] }),
2594
+ /* @__PURE__ */ f("p", { children: "Render pages with mock data. This makes it easy to build and review page states without needing to navigate to them in your app. Here are some handy patterns for managing page data in Storybook:" }),
2595
+ /* @__PURE__ */ k("ul", { children: [
2596
+ /* @__PURE__ */ f("li", { children: 'Use a higher-level connected component. Storybook helps you compose such data from the "args" of child component stories' }),
2597
+ /* @__PURE__ */ f("li", { children: "Assemble data in the page component from your services. You can mock these services out using Storybook." })
2598
+ ] }),
2599
+ /* @__PURE__ */ k("p", { children: [
2600
+ "Get a guided tutorial on component-driven development at",
2601
+ " ",
2602
+ /* @__PURE__ */ f("a", { href: "https://storybook.js.org/tutorials/", target: "_blank", rel: "noopener noreferrer", children: "Storybook tutorials" }),
2603
+ ". Read more in the",
2604
+ " ",
2605
+ /* @__PURE__ */ f("a", { href: "https://storybook.js.org/docs", target: "_blank", rel: "noopener noreferrer", children: "docs" }),
2606
+ "."
2607
+ ] }),
2608
+ /* @__PURE__ */ k("div", { className: "tip-wrapper", children: [
2609
+ /* @__PURE__ */ f("span", { className: "tip", children: "Tip" }),
2610
+ " Adjust the width of the canvas with the",
2611
+ " ",
2612
+ /* @__PURE__ */ f("svg", { width: "10", height: "10", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ f("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ f(
2613
+ "path",
2614
+ {
2615
+ d: "M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z",
2616
+ id: "a",
2617
+ fill: "#999"
2618
+ }
2619
+ ) }) }),
2620
+ "Viewports addon in the toolbar"
2621
+ ] })
2622
+ ] })
2623
+ ] });
2624
+ }, _t = (e) => 2 * Math.PI * e, Tt = (e, t, r) => Math.max(t, Math.min(e, r)), te = 24, we = 16, ke = 32;
2625
+ function lr(e) {
2626
+ const { value: t, color: r, hideAnimation: o = !1, ...s } = e, n = Tt(t, 0, 100), [i, a] = O(o ? n : 0);
2627
+ L(() => {
2628
+ a(n);
2629
+ }, [n]);
2630
+ const l = _t(te), c = se(r);
2631
+ return /* @__PURE__ */ f("div", { className: "relative", style: { width: ke, height: ke }, ...s, children: /* @__PURE__ */ k("svg", { className: "w-full h-full", viewBox: "0 0 100 100", children: [
2632
+ /* @__PURE__ */ f(
2633
+ "circle",
2634
+ {
2635
+ className: "text-neutral-light-4 stroke-current",
2636
+ strokeWidth: we,
2637
+ cx: "50",
2638
+ cy: "50",
2639
+ r: te,
2640
+ fill: "transparent"
2641
+ }
2642
+ ),
2643
+ /* @__PURE__ */ f(
2644
+ "circle",
2645
+ {
2646
+ style: { color: c },
2647
+ className: C("transform -rotate-90 origin-center stroke-current", {
2648
+ "transition-[stroke-dashoffset] duration-300": !o
2649
+ }),
2650
+ strokeWidth: we,
2651
+ strokeLinecap: "round",
2652
+ cx: "50",
2653
+ cy: "50",
2654
+ r: te,
2655
+ fill: "transparent",
2656
+ strokeDasharray: l,
2657
+ strokeDashoffset: `calc(${l}px - (${l}px * ${i}) / 100)`
2658
+ }
2659
+ )
2660
+ ] }) });
2661
+ }
2662
+ function Et(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
2663
+ return function(s) {
2664
+ if (e == null || e(s), r === !1 || !s.defaultPrevented) return t == null ? void 0 : t(s);
2665
+ };
2666
+ }
2667
+ function It(e, t = []) {
2668
+ let r = [];
2669
+ function o(n, i) {
2670
+ const a = /* @__PURE__ */ me(i), l = r.length;
2671
+ r = [
2672
+ ...r,
2673
+ i
2674
+ ];
2675
+ function c(u) {
2676
+ const { scope: b, children: x, ...y } = u, h = (b == null ? void 0 : b[e][l]) || a, m = G(
2677
+ () => y,
2678
+ Object.values(y)
2679
+ );
2680
+ return /* @__PURE__ */ S(h.Provider, {
2681
+ value: m
2682
+ }, x);
2683
+ }
2684
+ function p(u, b) {
2685
+ const x = (b == null ? void 0 : b[e][l]) || a, y = We(x);
2686
+ if (y) return y;
2687
+ if (i !== void 0) return i;
2688
+ throw new Error(`\`${u}\` must be used within \`${n}\``);
2689
+ }
2690
+ return c.displayName = n + "Provider", [
2691
+ c,
2692
+ p
2693
+ ];
2694
+ }
2695
+ const s = () => {
2696
+ const n = r.map((i) => /* @__PURE__ */ me(i));
2697
+ return function(a) {
2698
+ const l = (a == null ? void 0 : a[e]) || n;
2699
+ return G(
2700
+ () => ({
2701
+ [`__scope${e}`]: {
2702
+ ...a,
2703
+ [e]: l
2704
+ }
2705
+ }),
2706
+ [
2707
+ a,
2708
+ l
2709
+ ]
2710
+ );
2711
+ };
2712
+ };
2713
+ return s.scopeName = e, [
2714
+ o,
2715
+ Bt(s, ...t)
2716
+ ];
2717
+ }
2718
+ function Bt(...e) {
2719
+ const t = e[0];
2720
+ if (e.length === 1) return t;
2721
+ const r = () => {
2722
+ const o = e.map(
2723
+ (s) => ({
2724
+ useScope: s(),
2725
+ scopeName: s.scopeName
2726
+ })
2727
+ );
2728
+ return function(n) {
2729
+ const i = o.reduce((a, { useScope: l, scopeName: c }) => {
2730
+ const u = l(n)[`__scope${c}`];
2731
+ return {
2732
+ ...a,
2733
+ ...u
2734
+ };
2735
+ }, {});
2736
+ return G(
2737
+ () => ({
2738
+ [`__scope${t.scopeName}`]: i
2739
+ }),
2740
+ [
2741
+ i
2742
+ ]
2743
+ );
2744
+ };
2745
+ };
2746
+ return r.scopeName = t.scopeName, r;
2747
+ }
2748
+ function Te(e) {
2749
+ const t = W(e);
2750
+ return L(() => {
2751
+ t.current = e;
2752
+ }), G(
2753
+ () => (...r) => {
2754
+ var o;
2755
+ return (o = t.current) === null || o === void 0 ? void 0 : o.call(t, ...r);
2756
+ },
2757
+ []
2758
+ );
2759
+ }
2760
+ function Gt({ prop: e, defaultProp: t, onChange: r = () => {
2761
+ } }) {
2762
+ const [o, s] = Ot({
2763
+ defaultProp: t,
2764
+ onChange: r
2765
+ }), n = e !== void 0, i = n ? e : o, a = Te(r), l = Ce((c) => {
2766
+ if (n) {
2767
+ const u = typeof c == "function" ? c(e) : c;
2768
+ u !== e && a(u);
2769
+ } else s(c);
2770
+ }, [
2771
+ n,
2772
+ e,
2773
+ s,
2774
+ a
2775
+ ]);
2776
+ return [
2777
+ i,
2778
+ l
2779
+ ];
2780
+ }
2781
+ function Ot({ defaultProp: e, onChange: t }) {
2782
+ const r = O(e), [o] = r, s = W(o), n = Te(t);
2783
+ return L(() => {
2784
+ s.current !== o && (n(o), s.current = o);
2785
+ }, [
2786
+ o,
2787
+ s,
2788
+ n
2789
+ ]), r;
2790
+ }
2791
+ function Lt(e) {
2792
+ const t = W({
2793
+ value: e,
2794
+ previous: e
2795
+ });
2796
+ return G(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [
2797
+ e
2798
+ ]);
2799
+ }
2800
+ const Wt = globalThis != null && globalThis.document ? Fe : () => {
2801
+ };
2802
+ function Ft(e) {
2803
+ const [t, r] = O(void 0);
2804
+ return Wt(() => {
2805
+ if (e) {
2806
+ r({
2807
+ width: e.offsetWidth,
2808
+ height: e.offsetHeight
2809
+ });
2810
+ const o = new ResizeObserver((s) => {
2811
+ if (!Array.isArray(s) || !s.length) return;
2812
+ const n = s[0];
2813
+ let i, a;
2814
+ if ("borderBoxSize" in n) {
2815
+ const l = n.borderBoxSize, c = Array.isArray(l) ? l[0] : l;
2816
+ i = c.inlineSize, a = c.blockSize;
2817
+ } else
2818
+ i = e.offsetWidth, a = e.offsetHeight;
2819
+ r({
2820
+ width: i,
2821
+ height: a
2822
+ });
2823
+ });
2824
+ return o.observe(e, {
2825
+ box: "border-box"
2826
+ }), () => o.unobserve(e);
2827
+ } else
2828
+ r(void 0);
2829
+ }, [
2830
+ e
2831
+ ]), t;
2832
+ }
2833
+ const Ut = [
2834
+ "a",
2835
+ "button",
2836
+ "div",
2837
+ "form",
2838
+ "h2",
2839
+ "h3",
2840
+ "img",
2841
+ "input",
2842
+ "label",
2843
+ "li",
2844
+ "nav",
2845
+ "ol",
2846
+ "p",
2847
+ "span",
2848
+ "svg",
2849
+ "ul"
2850
+ ], Ee = Ut.reduce((e, t) => {
2851
+ const r = /* @__PURE__ */ V((o, s) => {
2852
+ const { asChild: n, ...i } = o, a = n ? ie : t;
2853
+ return L(() => {
2854
+ window[Symbol.for("radix-ui")] = !0;
2855
+ }, []), /* @__PURE__ */ S(a, P({}, i, {
2856
+ ref: s
2857
+ }));
2858
+ });
2859
+ return r.displayName = `Primitive.${t}`, {
2860
+ ...e,
2861
+ [t]: r
2862
+ };
2863
+ }, {}), Ie = "Switch", [Ht, cr] = It(Ie), [qt, Jt] = Ht(Ie), Xt = /* @__PURE__ */ V((e, t) => {
2864
+ const { __scopeSwitch: r, name: o, checked: s, defaultChecked: n, required: i, disabled: a, value: l = "on", onCheckedChange: c, ...p } = e, [u, b] = O(null), x = Nt(
2865
+ t,
2866
+ (w) => b(w)
2867
+ ), y = W(!1), h = u ? !!u.closest("form") : !0, [m = !1, $] = Gt({
2868
+ prop: s,
2869
+ defaultProp: n,
2870
+ onChange: c
2871
+ });
2872
+ return /* @__PURE__ */ S(qt, {
2873
+ scope: r,
2874
+ checked: m,
2875
+ disabled: a
2876
+ }, /* @__PURE__ */ S(Ee.button, P({
2877
+ type: "button",
2878
+ role: "switch",
2879
+ "aria-checked": m,
2880
+ "aria-required": i,
2881
+ "data-state": Be(m),
2882
+ "data-disabled": a ? "" : void 0,
2883
+ disabled: a,
2884
+ value: l
2885
+ }, p, {
2886
+ ref: x,
2887
+ onClick: Et(e.onClick, (w) => {
2888
+ $(
2889
+ (F) => !F
2890
+ ), h && (y.current = w.isPropagationStopped(), y.current || w.stopPropagation());
2891
+ })
2892
+ })), h && /* @__PURE__ */ S(Yt, {
2893
+ control: u,
2894
+ bubbles: !y.current,
2895
+ name: o,
2896
+ value: l,
2897
+ checked: m,
2898
+ required: i,
2899
+ disabled: a,
2900
+ style: {
2901
+ transform: "translateX(-100%)"
2902
+ }
2903
+ }));
2904
+ }), Zt = "SwitchThumb", Kt = /* @__PURE__ */ V((e, t) => {
2905
+ const { __scopeSwitch: r, ...o } = e, s = Jt(Zt, r);
2906
+ return /* @__PURE__ */ S(Ee.span, P({
2907
+ "data-state": Be(s.checked),
2908
+ "data-disabled": s.disabled ? "" : void 0
2909
+ }, o, {
2910
+ ref: t
2911
+ }));
2912
+ }), Yt = (e) => {
2913
+ const { control: t, checked: r, bubbles: o = !0, ...s } = e, n = W(null), i = Lt(r), a = Ft(t);
2914
+ return L(() => {
2915
+ const l = n.current, c = window.HTMLInputElement.prototype, u = Object.getOwnPropertyDescriptor(c, "checked").set;
2916
+ if (i !== r && u) {
2917
+ const b = new Event("click", {
2918
+ bubbles: o
2919
+ });
2920
+ u.call(l, r), l.dispatchEvent(b);
2921
+ }
2922
+ }, [
2923
+ i,
2924
+ r,
2925
+ o
2926
+ ]), /* @__PURE__ */ S("input", P({
2927
+ type: "checkbox",
2928
+ "aria-hidden": !0,
2929
+ defaultChecked: r
2930
+ }, s, {
2931
+ tabIndex: -1,
2932
+ ref: n,
2933
+ style: {
2934
+ ...e.style,
2935
+ ...a,
2936
+ position: "absolute",
2937
+ pointerEvents: "none",
2938
+ opacity: 0,
2939
+ margin: 0
2940
+ }
2941
+ }));
2942
+ };
2943
+ function Be(e) {
2944
+ return e ? "checked" : "unchecked";
2945
+ }
2946
+ const Dt = Xt, Qt = Kt, Ge = {
2947
+ size: "medium"
2948
+ }, er = R(
2949
+ "flex items-center group rounded-3xl transition-all ease-in-out bg-neutral-dark-5 dark:bg-neutral-light-5 disabled:bg-neutral-light-5 disabled:opacity-50 data-[state=checked]:bg-primary dark:data-[state=checked]:bg-primary disabled:cursor-not-allowed focus-visible:outline-none",
2950
+ {
2951
+ variants: {
2952
+ size: {
2953
+ small: "h-2 w-4",
2954
+ medium: "h-3 w-6",
2955
+ large: "h-4 w-8"
2956
+ }
2957
+ },
2958
+ defaultVariants: Ge
2959
+ }
2960
+ ), tr = R(
2961
+ "transition-all ease-in-out rounded-full bg-neutral-light-2 ring-primary shadow-outer-1 hover:ring-2 group-disabled:hover:ring-0 group-focus:ring-2 group-focus-visible:ring-2 data-[state=checked]:shadow-outer-2 data-[state=checked]:ring-1 data-[state=checked]:hover:ring-2",
2962
+ {
2963
+ variants: {
2964
+ size: {
2965
+ small: "h-2 w-2 -translate-x-1 data-[state=checked]:translate-x-3",
2966
+ medium: "h-4 w-4 -translate-x-2 data-[state=checked]:translate-x-4",
2967
+ large: "h-5 w-5 -translate-x-2 data-[state=checked]:translate-x-5"
2968
+ }
2969
+ },
2970
+ defaultVariants: Ge
2971
+ }
2972
+ ), $e = R("transition-all ease-in-out text-neutral-dark-5 dark:text-white hover:cursor-pointer", {
2973
+ variants: {
2974
+ size: {
2975
+ small: "text-sm",
2976
+ medium: "text-base",
2977
+ large: "text-lg"
2978
+ },
2979
+ position: {
2980
+ left: "mr-3",
2981
+ right: "ml-3"
2982
+ }
2983
+ },
2984
+ defaultVariants: {
2985
+ size: "medium",
2986
+ position: "right"
2987
+ },
2988
+ compoundVariants: [
2989
+ {
2990
+ size: "small",
2991
+ position: "left",
2992
+ className: "mr-2"
2993
+ },
2994
+ {
2995
+ size: "medium",
2996
+ position: "left",
2997
+ className: "mr-3"
2998
+ },
2999
+ {
3000
+ size: "large",
3001
+ position: "left",
3002
+ className: "mr-4"
3003
+ },
3004
+ {
3005
+ size: "small",
3006
+ position: "right",
3007
+ className: "ml-2"
3008
+ },
3009
+ {
3010
+ size: "medium",
3011
+ position: "left",
3012
+ className: "ml-3"
3013
+ },
3014
+ {
3015
+ size: "large",
3016
+ position: "left",
3017
+ className: "ml-4"
3018
+ }
3019
+ ]
3020
+ }), dr = V(({ className: e, size: t, label: r, labelPosition: o, ...s }, n) => {
3021
+ const i = r || "switch";
3022
+ return /* @__PURE__ */ k("div", { className: C("flex items-center"), children: [
3023
+ o && o === "left" && /* @__PURE__ */ f(
3024
+ "label",
3025
+ {
3026
+ className: C($e({ size: t, position: o }), r ? "visible" : "hidden"),
3027
+ "aria-hidden": !r,
3028
+ htmlFor: i,
3029
+ children: i
3030
+ }
3031
+ ),
3032
+ /* @__PURE__ */ f(
3033
+ Dt,
3034
+ {
3035
+ className: C(er({ size: t }), e),
3036
+ "aria-label": i,
3037
+ id: i,
3038
+ ...s,
3039
+ ref: n,
3040
+ children: /* @__PURE__ */ f(Qt, { className: C(tr({ size: t })) })
3041
+ }
3042
+ ),
3043
+ o !== "left" && /* @__PURE__ */ f(
3044
+ "label",
3045
+ {
3046
+ className: C($e({ size: t, position: o }), r ? "visible" : "hidden"),
3047
+ "aria-hidden": !r,
3048
+ htmlFor: i,
3049
+ children: i
3050
+ }
3051
+ )
3052
+ ] });
3053
+ });
3054
+ export {
3055
+ ir as Badge,
3056
+ X as Button,
3057
+ jt as Header,
3058
+ ar as Page,
3059
+ lr as RadialGauge,
3060
+ dr as Switch,
3061
+ sr as utils
3062
+ };