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