@wefun-ai/ui 0.1.2

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,2438 @@
1
+ import { jsx as F } from "react/jsx-runtime";
2
+ import * as v from "react";
3
+ import { forwardRef as pe } from "react";
4
+ function D(e, r) {
5
+ if (typeof e == "function")
6
+ return e(r);
7
+ e != null && (e.current = r);
8
+ }
9
+ function fe(...e) {
10
+ return (r) => {
11
+ let t = !1;
12
+ const o = e.map((s) => {
13
+ const n = D(s, r);
14
+ return !t && typeof n == "function" && (t = !0), n;
15
+ });
16
+ if (t)
17
+ return () => {
18
+ for (let s = 0; s < o.length; s++) {
19
+ const n = o[s];
20
+ typeof n == "function" ? n() : D(e[s], null);
21
+ }
22
+ };
23
+ };
24
+ }
25
+ var be = Symbol.for("react.lazy"), T = v[" use ".trim().toString()];
26
+ function ge(e) {
27
+ return typeof e == "object" && e !== null && "then" in e;
28
+ }
29
+ function ne(e) {
30
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === be && "_payload" in e && ge(e._payload);
31
+ }
32
+ // @__NO_SIDE_EFFECTS__
33
+ function me(e) {
34
+ const r = /* @__PURE__ */ ye(e), t = v.forwardRef((o, s) => {
35
+ let { children: n, ...l } = o;
36
+ ne(n) && typeof T == "function" && (n = T(n._payload));
37
+ const i = v.Children.toArray(n), d = i.find(xe);
38
+ if (d) {
39
+ const c = d.props.children, f = i.map((g) => g === d ? v.Children.count(c) > 1 ? v.Children.only(null) : v.isValidElement(c) ? c.props.children : null : g);
40
+ return /* @__PURE__ */ F(r, { ...l, ref: s, children: v.isValidElement(c) ? v.cloneElement(c, void 0, f) : null });
41
+ }
42
+ return /* @__PURE__ */ F(r, { ...l, ref: s, children: n });
43
+ });
44
+ return t.displayName = `${e}.Slot`, t;
45
+ }
46
+ var he = /* @__PURE__ */ me("Slot");
47
+ // @__NO_SIDE_EFFECTS__
48
+ function ye(e) {
49
+ const r = v.forwardRef((t, o) => {
50
+ let { children: s, ...n } = t;
51
+ if (ne(s) && typeof T == "function" && (s = T(s._payload)), v.isValidElement(s)) {
52
+ const l = Ce(s), i = we(n, s.props);
53
+ return s.type !== v.Fragment && (i.ref = o ? fe(o, l) : l), v.cloneElement(s, i);
54
+ }
55
+ return v.Children.count(s) > 1 ? v.Children.only(null) : null;
56
+ });
57
+ return r.displayName = `${e}.SlotClone`, r;
58
+ }
59
+ var ve = Symbol("radix.slottable");
60
+ function xe(e) {
61
+ return v.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ve;
62
+ }
63
+ function we(e, r) {
64
+ const t = { ...r };
65
+ for (const o in r) {
66
+ const s = e[o], n = r[o];
67
+ /^on[A-Z]/.test(o) ? s && n ? t[o] = (...i) => {
68
+ const d = n(...i);
69
+ return s(...i), d;
70
+ } : s && (t[o] = s) : o === "style" ? t[o] = { ...s, ...n } : o === "className" && (t[o] = [s, n].filter(Boolean).join(" "));
71
+ }
72
+ return { ...e, ...t };
73
+ }
74
+ function Ce(e) {
75
+ var o, s;
76
+ let r = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, t = r && "isReactWarning" in r && r.isReactWarning;
77
+ return t ? e.ref : (r = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
78
+ }
79
+ function se(e) {
80
+ var r, t, o = "";
81
+ if (typeof e == "string" || typeof e == "number") o += e;
82
+ else if (typeof e == "object") if (Array.isArray(e)) {
83
+ var s = e.length;
84
+ for (r = 0; r < s; r++) e[r] && (t = se(e[r])) && (o && (o += " "), o += t);
85
+ } else for (t in e) e[t] && (o && (o += " "), o += t);
86
+ return o;
87
+ }
88
+ function ie() {
89
+ for (var e, r, t = 0, o = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (r = se(e)) && (o && (o += " "), o += r);
90
+ return o;
91
+ }
92
+ const ee = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, re = ie, ze = (e, r) => (t) => {
93
+ var o;
94
+ if ((r == null ? void 0 : r.variants) == null) return re(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
95
+ const { variants: s, defaultVariants: n } = r, l = Object.keys(s).map((c) => {
96
+ const f = t == null ? void 0 : t[c], g = n == null ? void 0 : n[c];
97
+ if (f === null) return null;
98
+ const h = ee(f) || ee(g);
99
+ return s[c][h];
100
+ }), i = t && Object.entries(t).reduce((c, f) => {
101
+ let [g, h] = f;
102
+ return h === void 0 || (c[g] = h), c;
103
+ }, {}), d = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, f) => {
104
+ let { class: g, className: h, ...C } = f;
105
+ return Object.entries(C).every((x) => {
106
+ let [m, u] = x;
107
+ return Array.isArray(u) ? u.includes({
108
+ ...n,
109
+ ...i
110
+ }[m]) : {
111
+ ...n,
112
+ ...i
113
+ }[m] === u;
114
+ }) ? [
115
+ ...c,
116
+ g,
117
+ h
118
+ ] : c;
119
+ }, []);
120
+ return re(e, l, d, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
121
+ }, Z = "-", ke = (e) => {
122
+ const r = Ae(e), {
123
+ conflictingClassGroups: t,
124
+ conflictingClassGroupModifiers: o
125
+ } = e;
126
+ return {
127
+ getClassGroupId: (l) => {
128
+ const i = l.split(Z);
129
+ return i[0] === "" && i.length !== 1 && i.shift(), le(i, r) || Se(l);
130
+ },
131
+ getConflictingClassGroupIds: (l, i) => {
132
+ const d = t[l] || [];
133
+ return i && o[l] ? [...d, ...o[l]] : d;
134
+ }
135
+ };
136
+ }, le = (e, r) => {
137
+ var l;
138
+ if (e.length === 0)
139
+ return r.classGroupId;
140
+ const t = e[0], o = r.nextPart.get(t), s = o ? le(e.slice(1), o) : void 0;
141
+ if (s)
142
+ return s;
143
+ if (r.validators.length === 0)
144
+ return;
145
+ const n = e.join(Z);
146
+ return (l = r.validators.find(({
147
+ validator: i
148
+ }) => i(n))) == null ? void 0 : l.classGroupId;
149
+ }, te = /^\[(.+)\]$/, Se = (e) => {
150
+ if (te.test(e)) {
151
+ const r = te.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
152
+ if (t)
153
+ return "arbitrary.." + t;
154
+ }
155
+ }, Ae = (e) => {
156
+ const {
157
+ theme: r,
158
+ prefix: t
159
+ } = e, o = {
160
+ nextPart: /* @__PURE__ */ new Map(),
161
+ validators: []
162
+ };
163
+ return _e(Object.entries(e.classGroups), t).forEach(([n, l]) => {
164
+ U(l, o, n, r);
165
+ }), o;
166
+ }, U = (e, r, t, o) => {
167
+ e.forEach((s) => {
168
+ if (typeof s == "string") {
169
+ const n = s === "" ? r : oe(r, s);
170
+ n.classGroupId = t;
171
+ return;
172
+ }
173
+ if (typeof s == "function") {
174
+ if (Re(s)) {
175
+ U(s(o), r, t, o);
176
+ return;
177
+ }
178
+ r.validators.push({
179
+ validator: s,
180
+ classGroupId: t
181
+ });
182
+ return;
183
+ }
184
+ Object.entries(s).forEach(([n, l]) => {
185
+ U(l, oe(r, n), t, o);
186
+ });
187
+ });
188
+ }, oe = (e, r) => {
189
+ let t = e;
190
+ return r.split(Z).forEach((o) => {
191
+ t.nextPart.has(o) || t.nextPart.set(o, {
192
+ nextPart: /* @__PURE__ */ new Map(),
193
+ validators: []
194
+ }), t = t.nextPart.get(o);
195
+ }), t;
196
+ }, Re = (e) => e.isThemeGetter, _e = (e, r) => r ? e.map(([t, o]) => {
197
+ const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([l, i]) => [r + l, i])) : n);
198
+ return [t, s];
199
+ }) : e, Pe = (e) => {
200
+ if (e < 1)
201
+ return {
202
+ get: () => {
203
+ },
204
+ set: () => {
205
+ }
206
+ };
207
+ let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
208
+ const s = (n, l) => {
209
+ t.set(n, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
210
+ };
211
+ return {
212
+ get(n) {
213
+ let l = t.get(n);
214
+ if (l !== void 0)
215
+ return l;
216
+ if ((l = o.get(n)) !== void 0)
217
+ return s(n, l), l;
218
+ },
219
+ set(n, l) {
220
+ t.has(n) ? t.set(n, l) : s(n, l);
221
+ }
222
+ };
223
+ }, ae = "!", Ee = (e) => {
224
+ const {
225
+ separator: r,
226
+ experimentalParseClassName: t
227
+ } = e, o = r.length === 1, s = r[0], n = r.length, l = (i) => {
228
+ const d = [];
229
+ let c = 0, f = 0, g;
230
+ for (let u = 0; u < i.length; u++) {
231
+ let y = i[u];
232
+ if (c === 0) {
233
+ if (y === s && (o || i.slice(u, u + n) === r)) {
234
+ d.push(i.slice(f, u)), f = u + n;
235
+ continue;
236
+ }
237
+ if (y === "/") {
238
+ g = u;
239
+ continue;
240
+ }
241
+ }
242
+ y === "[" ? c++ : y === "]" && c--;
243
+ }
244
+ const h = d.length === 0 ? i : i.substring(f), C = h.startsWith(ae), x = C ? h.substring(1) : h, m = g && g > f ? g - f : void 0;
245
+ return {
246
+ modifiers: d,
247
+ hasImportantModifier: C,
248
+ baseClassName: x,
249
+ maybePostfixModifierPosition: m
250
+ };
251
+ };
252
+ return t ? (i) => t({
253
+ className: i,
254
+ parseClassName: l
255
+ }) : l;
256
+ }, Me = (e) => {
257
+ if (e.length <= 1)
258
+ return e;
259
+ const r = [];
260
+ let t = [];
261
+ return e.forEach((o) => {
262
+ o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
263
+ }), r.push(...t.sort()), r;
264
+ }, je = (e) => ({
265
+ cache: Pe(e.cacheSize),
266
+ parseClassName: Ee(e),
267
+ ...ke(e)
268
+ }), Ne = /\s+/, Ge = (e, r) => {
269
+ const {
270
+ parseClassName: t,
271
+ getClassGroupId: o,
272
+ getConflictingClassGroupIds: s
273
+ } = r, n = [], l = e.trim().split(Ne);
274
+ let i = "";
275
+ for (let d = l.length - 1; d >= 0; d -= 1) {
276
+ const c = l[d], {
277
+ modifiers: f,
278
+ hasImportantModifier: g,
279
+ baseClassName: h,
280
+ maybePostfixModifierPosition: C
281
+ } = t(c);
282
+ let x = !!C, m = o(x ? h.substring(0, C) : h);
283
+ if (!m) {
284
+ if (!x) {
285
+ i = c + (i.length > 0 ? " " + i : i);
286
+ continue;
287
+ }
288
+ if (m = o(h), !m) {
289
+ i = c + (i.length > 0 ? " " + i : i);
290
+ continue;
291
+ }
292
+ x = !1;
293
+ }
294
+ const u = Me(f).join(":"), y = g ? u + ae : u, w = y + m;
295
+ if (n.includes(w))
296
+ continue;
297
+ n.push(w);
298
+ const E = s(m, x);
299
+ for (let R = 0; R < E.length; ++R) {
300
+ const G = E[R];
301
+ n.push(y + G);
302
+ }
303
+ i = c + (i.length > 0 ? " " + i : i);
304
+ }
305
+ return i;
306
+ };
307
+ function Ie() {
308
+ let e = 0, r, t, o = "";
309
+ for (; e < arguments.length; )
310
+ (r = arguments[e++]) && (t = ce(r)) && (o && (o += " "), o += t);
311
+ return o;
312
+ }
313
+ const ce = (e) => {
314
+ if (typeof e == "string")
315
+ return e;
316
+ let r, t = "";
317
+ for (let o = 0; o < e.length; o++)
318
+ e[o] && (r = ce(e[o])) && (t && (t += " "), t += r);
319
+ return t;
320
+ };
321
+ function Ve(e, ...r) {
322
+ let t, o, s, n = l;
323
+ function l(d) {
324
+ const c = r.reduce((f, g) => g(f), e());
325
+ return t = je(c), o = t.cache.get, s = t.cache.set, n = i, i(d);
326
+ }
327
+ function i(d) {
328
+ const c = o(d);
329
+ if (c)
330
+ return c;
331
+ const f = Ge(d, t);
332
+ return s(d, f), f;
333
+ }
334
+ return function() {
335
+ return n(Ie.apply(null, arguments));
336
+ };
337
+ }
338
+ const p = (e) => {
339
+ const r = (t) => t[e] || [];
340
+ return r.isThemeGetter = !0, r;
341
+ }, de = /^\[(?:([a-z-]+):)?(.+)\]$/i, Te = /^\d+\/\d+$/, Le = /* @__PURE__ */ new Set(["px", "full", "screen"]), Oe = /^(\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$/, $e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Be = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => _(e) || Le.has(e) || Te.test(e), S = (e) => P(e, "length", Xe), _ = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => P(e, "number", _), j = (e) => !!e && Number.isInteger(Number(e)), Ue = (e) => e.endsWith("%") && _(e.slice(0, -1)), a = (e) => de.test(e), A = (e) => Oe.test(e), Ze = /* @__PURE__ */ new Set(["length", "size", "percentage"]), qe = (e) => P(e, Ze, ue), He = (e) => P(e, "position", ue), Ye = /* @__PURE__ */ new Set(["image", "url"]), Je = (e) => P(e, Ye, De), Ke = (e) => P(e, "", Qe), N = () => !0, P = (e, r, t) => {
342
+ const o = de.exec(e);
343
+ return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
344
+ }, Xe = (e) => (
345
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
346
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
347
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
348
+ We.test(e) && !$e.test(e)
349
+ ), ue = () => !1, Qe = (e) => Be.test(e), De = (e) => Fe.test(e), er = () => {
350
+ const e = p("colors"), r = p("spacing"), t = p("blur"), o = p("brightness"), s = p("borderColor"), n = p("borderRadius"), l = p("borderSpacing"), i = p("borderWidth"), d = p("contrast"), c = p("grayscale"), f = p("hueRotate"), g = p("invert"), h = p("gap"), C = p("gradientColorStops"), x = p("gradientColorStopPositions"), m = p("inset"), u = p("margin"), y = p("opacity"), w = p("padding"), E = p("saturate"), R = p("scale"), G = p("sepia"), q = p("skew"), H = p("space"), Y = p("translate"), L = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", a, r], b = () => [a, r], J = () => ["", k, S], I = () => ["auto", _, a], K = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], V = () => ["solid", "dashed", "dotted", "double", "none"], X = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], M = () => ["", "0", a], Q = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [_, a];
351
+ return {
352
+ cacheSize: 500,
353
+ separator: ":",
354
+ theme: {
355
+ colors: [N],
356
+ spacing: [k, S],
357
+ blur: ["none", "", A, a],
358
+ brightness: z(),
359
+ borderColor: [e],
360
+ borderRadius: ["none", "", "full", A, a],
361
+ borderSpacing: b(),
362
+ borderWidth: J(),
363
+ contrast: z(),
364
+ grayscale: M(),
365
+ hueRotate: z(),
366
+ invert: M(),
367
+ gap: b(),
368
+ gradientColorStops: [e],
369
+ gradientColorStopPositions: [Ue, S],
370
+ inset: W(),
371
+ margin: W(),
372
+ opacity: z(),
373
+ padding: b(),
374
+ saturate: z(),
375
+ scale: z(),
376
+ sepia: M(),
377
+ skew: z(),
378
+ space: b(),
379
+ translate: b()
380
+ },
381
+ classGroups: {
382
+ // Layout
383
+ /**
384
+ * Aspect Ratio
385
+ * @see https://tailwindcss.com/docs/aspect-ratio
386
+ */
387
+ aspect: [{
388
+ aspect: ["auto", "square", "video", a]
389
+ }],
390
+ /**
391
+ * Container
392
+ * @see https://tailwindcss.com/docs/container
393
+ */
394
+ container: ["container"],
395
+ /**
396
+ * Columns
397
+ * @see https://tailwindcss.com/docs/columns
398
+ */
399
+ columns: [{
400
+ columns: [A]
401
+ }],
402
+ /**
403
+ * Break After
404
+ * @see https://tailwindcss.com/docs/break-after
405
+ */
406
+ "break-after": [{
407
+ "break-after": Q()
408
+ }],
409
+ /**
410
+ * Break Before
411
+ * @see https://tailwindcss.com/docs/break-before
412
+ */
413
+ "break-before": [{
414
+ "break-before": Q()
415
+ }],
416
+ /**
417
+ * Break Inside
418
+ * @see https://tailwindcss.com/docs/break-inside
419
+ */
420
+ "break-inside": [{
421
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
422
+ }],
423
+ /**
424
+ * Box Decoration Break
425
+ * @see https://tailwindcss.com/docs/box-decoration-break
426
+ */
427
+ "box-decoration": [{
428
+ "box-decoration": ["slice", "clone"]
429
+ }],
430
+ /**
431
+ * Box Sizing
432
+ * @see https://tailwindcss.com/docs/box-sizing
433
+ */
434
+ box: [{
435
+ box: ["border", "content"]
436
+ }],
437
+ /**
438
+ * Display
439
+ * @see https://tailwindcss.com/docs/display
440
+ */
441
+ 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"],
442
+ /**
443
+ * Floats
444
+ * @see https://tailwindcss.com/docs/float
445
+ */
446
+ float: [{
447
+ float: ["right", "left", "none", "start", "end"]
448
+ }],
449
+ /**
450
+ * Clear
451
+ * @see https://tailwindcss.com/docs/clear
452
+ */
453
+ clear: [{
454
+ clear: ["left", "right", "both", "none", "start", "end"]
455
+ }],
456
+ /**
457
+ * Isolation
458
+ * @see https://tailwindcss.com/docs/isolation
459
+ */
460
+ isolation: ["isolate", "isolation-auto"],
461
+ /**
462
+ * Object Fit
463
+ * @see https://tailwindcss.com/docs/object-fit
464
+ */
465
+ "object-fit": [{
466
+ object: ["contain", "cover", "fill", "none", "scale-down"]
467
+ }],
468
+ /**
469
+ * Object Position
470
+ * @see https://tailwindcss.com/docs/object-position
471
+ */
472
+ "object-position": [{
473
+ object: [...K(), a]
474
+ }],
475
+ /**
476
+ * Overflow
477
+ * @see https://tailwindcss.com/docs/overflow
478
+ */
479
+ overflow: [{
480
+ overflow: O()
481
+ }],
482
+ /**
483
+ * Overflow X
484
+ * @see https://tailwindcss.com/docs/overflow
485
+ */
486
+ "overflow-x": [{
487
+ "overflow-x": O()
488
+ }],
489
+ /**
490
+ * Overflow Y
491
+ * @see https://tailwindcss.com/docs/overflow
492
+ */
493
+ "overflow-y": [{
494
+ "overflow-y": O()
495
+ }],
496
+ /**
497
+ * Overscroll Behavior
498
+ * @see https://tailwindcss.com/docs/overscroll-behavior
499
+ */
500
+ overscroll: [{
501
+ overscroll: L()
502
+ }],
503
+ /**
504
+ * Overscroll Behavior X
505
+ * @see https://tailwindcss.com/docs/overscroll-behavior
506
+ */
507
+ "overscroll-x": [{
508
+ "overscroll-x": L()
509
+ }],
510
+ /**
511
+ * Overscroll Behavior Y
512
+ * @see https://tailwindcss.com/docs/overscroll-behavior
513
+ */
514
+ "overscroll-y": [{
515
+ "overscroll-y": L()
516
+ }],
517
+ /**
518
+ * Position
519
+ * @see https://tailwindcss.com/docs/position
520
+ */
521
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
522
+ /**
523
+ * Top / Right / Bottom / Left
524
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
525
+ */
526
+ inset: [{
527
+ inset: [m]
528
+ }],
529
+ /**
530
+ * Right / Left
531
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
532
+ */
533
+ "inset-x": [{
534
+ "inset-x": [m]
535
+ }],
536
+ /**
537
+ * Top / Bottom
538
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
539
+ */
540
+ "inset-y": [{
541
+ "inset-y": [m]
542
+ }],
543
+ /**
544
+ * Start
545
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
546
+ */
547
+ start: [{
548
+ start: [m]
549
+ }],
550
+ /**
551
+ * End
552
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
553
+ */
554
+ end: [{
555
+ end: [m]
556
+ }],
557
+ /**
558
+ * Top
559
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
560
+ */
561
+ top: [{
562
+ top: [m]
563
+ }],
564
+ /**
565
+ * Right
566
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
567
+ */
568
+ right: [{
569
+ right: [m]
570
+ }],
571
+ /**
572
+ * Bottom
573
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
574
+ */
575
+ bottom: [{
576
+ bottom: [m]
577
+ }],
578
+ /**
579
+ * Left
580
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
581
+ */
582
+ left: [{
583
+ left: [m]
584
+ }],
585
+ /**
586
+ * Visibility
587
+ * @see https://tailwindcss.com/docs/visibility
588
+ */
589
+ visibility: ["visible", "invisible", "collapse"],
590
+ /**
591
+ * Z-Index
592
+ * @see https://tailwindcss.com/docs/z-index
593
+ */
594
+ z: [{
595
+ z: ["auto", j, a]
596
+ }],
597
+ // Flexbox and Grid
598
+ /**
599
+ * Flex Basis
600
+ * @see https://tailwindcss.com/docs/flex-basis
601
+ */
602
+ basis: [{
603
+ basis: W()
604
+ }],
605
+ /**
606
+ * Flex Direction
607
+ * @see https://tailwindcss.com/docs/flex-direction
608
+ */
609
+ "flex-direction": [{
610
+ flex: ["row", "row-reverse", "col", "col-reverse"]
611
+ }],
612
+ /**
613
+ * Flex Wrap
614
+ * @see https://tailwindcss.com/docs/flex-wrap
615
+ */
616
+ "flex-wrap": [{
617
+ flex: ["wrap", "wrap-reverse", "nowrap"]
618
+ }],
619
+ /**
620
+ * Flex
621
+ * @see https://tailwindcss.com/docs/flex
622
+ */
623
+ flex: [{
624
+ flex: ["1", "auto", "initial", "none", a]
625
+ }],
626
+ /**
627
+ * Flex Grow
628
+ * @see https://tailwindcss.com/docs/flex-grow
629
+ */
630
+ grow: [{
631
+ grow: M()
632
+ }],
633
+ /**
634
+ * Flex Shrink
635
+ * @see https://tailwindcss.com/docs/flex-shrink
636
+ */
637
+ shrink: [{
638
+ shrink: M()
639
+ }],
640
+ /**
641
+ * Order
642
+ * @see https://tailwindcss.com/docs/order
643
+ */
644
+ order: [{
645
+ order: ["first", "last", "none", j, a]
646
+ }],
647
+ /**
648
+ * Grid Template Columns
649
+ * @see https://tailwindcss.com/docs/grid-template-columns
650
+ */
651
+ "grid-cols": [{
652
+ "grid-cols": [N]
653
+ }],
654
+ /**
655
+ * Grid Column Start / End
656
+ * @see https://tailwindcss.com/docs/grid-column
657
+ */
658
+ "col-start-end": [{
659
+ col: ["auto", {
660
+ span: ["full", j, a]
661
+ }, a]
662
+ }],
663
+ /**
664
+ * Grid Column Start
665
+ * @see https://tailwindcss.com/docs/grid-column
666
+ */
667
+ "col-start": [{
668
+ "col-start": I()
669
+ }],
670
+ /**
671
+ * Grid Column End
672
+ * @see https://tailwindcss.com/docs/grid-column
673
+ */
674
+ "col-end": [{
675
+ "col-end": I()
676
+ }],
677
+ /**
678
+ * Grid Template Rows
679
+ * @see https://tailwindcss.com/docs/grid-template-rows
680
+ */
681
+ "grid-rows": [{
682
+ "grid-rows": [N]
683
+ }],
684
+ /**
685
+ * Grid Row Start / End
686
+ * @see https://tailwindcss.com/docs/grid-row
687
+ */
688
+ "row-start-end": [{
689
+ row: ["auto", {
690
+ span: [j, a]
691
+ }, a]
692
+ }],
693
+ /**
694
+ * Grid Row Start
695
+ * @see https://tailwindcss.com/docs/grid-row
696
+ */
697
+ "row-start": [{
698
+ "row-start": I()
699
+ }],
700
+ /**
701
+ * Grid Row End
702
+ * @see https://tailwindcss.com/docs/grid-row
703
+ */
704
+ "row-end": [{
705
+ "row-end": I()
706
+ }],
707
+ /**
708
+ * Grid Auto Flow
709
+ * @see https://tailwindcss.com/docs/grid-auto-flow
710
+ */
711
+ "grid-flow": [{
712
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
713
+ }],
714
+ /**
715
+ * Grid Auto Columns
716
+ * @see https://tailwindcss.com/docs/grid-auto-columns
717
+ */
718
+ "auto-cols": [{
719
+ "auto-cols": ["auto", "min", "max", "fr", a]
720
+ }],
721
+ /**
722
+ * Grid Auto Rows
723
+ * @see https://tailwindcss.com/docs/grid-auto-rows
724
+ */
725
+ "auto-rows": [{
726
+ "auto-rows": ["auto", "min", "max", "fr", a]
727
+ }],
728
+ /**
729
+ * Gap
730
+ * @see https://tailwindcss.com/docs/gap
731
+ */
732
+ gap: [{
733
+ gap: [h]
734
+ }],
735
+ /**
736
+ * Gap X
737
+ * @see https://tailwindcss.com/docs/gap
738
+ */
739
+ "gap-x": [{
740
+ "gap-x": [h]
741
+ }],
742
+ /**
743
+ * Gap Y
744
+ * @see https://tailwindcss.com/docs/gap
745
+ */
746
+ "gap-y": [{
747
+ "gap-y": [h]
748
+ }],
749
+ /**
750
+ * Justify Content
751
+ * @see https://tailwindcss.com/docs/justify-content
752
+ */
753
+ "justify-content": [{
754
+ justify: ["normal", ...$()]
755
+ }],
756
+ /**
757
+ * Justify Items
758
+ * @see https://tailwindcss.com/docs/justify-items
759
+ */
760
+ "justify-items": [{
761
+ "justify-items": ["start", "end", "center", "stretch"]
762
+ }],
763
+ /**
764
+ * Justify Self
765
+ * @see https://tailwindcss.com/docs/justify-self
766
+ */
767
+ "justify-self": [{
768
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
769
+ }],
770
+ /**
771
+ * Align Content
772
+ * @see https://tailwindcss.com/docs/align-content
773
+ */
774
+ "align-content": [{
775
+ content: ["normal", ...$(), "baseline"]
776
+ }],
777
+ /**
778
+ * Align Items
779
+ * @see https://tailwindcss.com/docs/align-items
780
+ */
781
+ "align-items": [{
782
+ items: ["start", "end", "center", "baseline", "stretch"]
783
+ }],
784
+ /**
785
+ * Align Self
786
+ * @see https://tailwindcss.com/docs/align-self
787
+ */
788
+ "align-self": [{
789
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
790
+ }],
791
+ /**
792
+ * Place Content
793
+ * @see https://tailwindcss.com/docs/place-content
794
+ */
795
+ "place-content": [{
796
+ "place-content": [...$(), "baseline"]
797
+ }],
798
+ /**
799
+ * Place Items
800
+ * @see https://tailwindcss.com/docs/place-items
801
+ */
802
+ "place-items": [{
803
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
804
+ }],
805
+ /**
806
+ * Place Self
807
+ * @see https://tailwindcss.com/docs/place-self
808
+ */
809
+ "place-self": [{
810
+ "place-self": ["auto", "start", "end", "center", "stretch"]
811
+ }],
812
+ // Spacing
813
+ /**
814
+ * Padding
815
+ * @see https://tailwindcss.com/docs/padding
816
+ */
817
+ p: [{
818
+ p: [w]
819
+ }],
820
+ /**
821
+ * Padding X
822
+ * @see https://tailwindcss.com/docs/padding
823
+ */
824
+ px: [{
825
+ px: [w]
826
+ }],
827
+ /**
828
+ * Padding Y
829
+ * @see https://tailwindcss.com/docs/padding
830
+ */
831
+ py: [{
832
+ py: [w]
833
+ }],
834
+ /**
835
+ * Padding Start
836
+ * @see https://tailwindcss.com/docs/padding
837
+ */
838
+ ps: [{
839
+ ps: [w]
840
+ }],
841
+ /**
842
+ * Padding End
843
+ * @see https://tailwindcss.com/docs/padding
844
+ */
845
+ pe: [{
846
+ pe: [w]
847
+ }],
848
+ /**
849
+ * Padding Top
850
+ * @see https://tailwindcss.com/docs/padding
851
+ */
852
+ pt: [{
853
+ pt: [w]
854
+ }],
855
+ /**
856
+ * Padding Right
857
+ * @see https://tailwindcss.com/docs/padding
858
+ */
859
+ pr: [{
860
+ pr: [w]
861
+ }],
862
+ /**
863
+ * Padding Bottom
864
+ * @see https://tailwindcss.com/docs/padding
865
+ */
866
+ pb: [{
867
+ pb: [w]
868
+ }],
869
+ /**
870
+ * Padding Left
871
+ * @see https://tailwindcss.com/docs/padding
872
+ */
873
+ pl: [{
874
+ pl: [w]
875
+ }],
876
+ /**
877
+ * Margin
878
+ * @see https://tailwindcss.com/docs/margin
879
+ */
880
+ m: [{
881
+ m: [u]
882
+ }],
883
+ /**
884
+ * Margin X
885
+ * @see https://tailwindcss.com/docs/margin
886
+ */
887
+ mx: [{
888
+ mx: [u]
889
+ }],
890
+ /**
891
+ * Margin Y
892
+ * @see https://tailwindcss.com/docs/margin
893
+ */
894
+ my: [{
895
+ my: [u]
896
+ }],
897
+ /**
898
+ * Margin Start
899
+ * @see https://tailwindcss.com/docs/margin
900
+ */
901
+ ms: [{
902
+ ms: [u]
903
+ }],
904
+ /**
905
+ * Margin End
906
+ * @see https://tailwindcss.com/docs/margin
907
+ */
908
+ me: [{
909
+ me: [u]
910
+ }],
911
+ /**
912
+ * Margin Top
913
+ * @see https://tailwindcss.com/docs/margin
914
+ */
915
+ mt: [{
916
+ mt: [u]
917
+ }],
918
+ /**
919
+ * Margin Right
920
+ * @see https://tailwindcss.com/docs/margin
921
+ */
922
+ mr: [{
923
+ mr: [u]
924
+ }],
925
+ /**
926
+ * Margin Bottom
927
+ * @see https://tailwindcss.com/docs/margin
928
+ */
929
+ mb: [{
930
+ mb: [u]
931
+ }],
932
+ /**
933
+ * Margin Left
934
+ * @see https://tailwindcss.com/docs/margin
935
+ */
936
+ ml: [{
937
+ ml: [u]
938
+ }],
939
+ /**
940
+ * Space Between X
941
+ * @see https://tailwindcss.com/docs/space
942
+ */
943
+ "space-x": [{
944
+ "space-x": [H]
945
+ }],
946
+ /**
947
+ * Space Between X Reverse
948
+ * @see https://tailwindcss.com/docs/space
949
+ */
950
+ "space-x-reverse": ["space-x-reverse"],
951
+ /**
952
+ * Space Between Y
953
+ * @see https://tailwindcss.com/docs/space
954
+ */
955
+ "space-y": [{
956
+ "space-y": [H]
957
+ }],
958
+ /**
959
+ * Space Between Y Reverse
960
+ * @see https://tailwindcss.com/docs/space
961
+ */
962
+ "space-y-reverse": ["space-y-reverse"],
963
+ // Sizing
964
+ /**
965
+ * Width
966
+ * @see https://tailwindcss.com/docs/width
967
+ */
968
+ w: [{
969
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", a, r]
970
+ }],
971
+ /**
972
+ * Min-Width
973
+ * @see https://tailwindcss.com/docs/min-width
974
+ */
975
+ "min-w": [{
976
+ "min-w": [a, r, "min", "max", "fit"]
977
+ }],
978
+ /**
979
+ * Max-Width
980
+ * @see https://tailwindcss.com/docs/max-width
981
+ */
982
+ "max-w": [{
983
+ "max-w": [a, r, "none", "full", "min", "max", "fit", "prose", {
984
+ screen: [A]
985
+ }, A]
986
+ }],
987
+ /**
988
+ * Height
989
+ * @see https://tailwindcss.com/docs/height
990
+ */
991
+ h: [{
992
+ h: [a, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
993
+ }],
994
+ /**
995
+ * Min-Height
996
+ * @see https://tailwindcss.com/docs/min-height
997
+ */
998
+ "min-h": [{
999
+ "min-h": [a, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1000
+ }],
1001
+ /**
1002
+ * Max-Height
1003
+ * @see https://tailwindcss.com/docs/max-height
1004
+ */
1005
+ "max-h": [{
1006
+ "max-h": [a, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1007
+ }],
1008
+ /**
1009
+ * Size
1010
+ * @see https://tailwindcss.com/docs/size
1011
+ */
1012
+ size: [{
1013
+ size: [a, r, "auto", "min", "max", "fit"]
1014
+ }],
1015
+ // Typography
1016
+ /**
1017
+ * Font Size
1018
+ * @see https://tailwindcss.com/docs/font-size
1019
+ */
1020
+ "font-size": [{
1021
+ text: ["base", A, S]
1022
+ }],
1023
+ /**
1024
+ * Font Smoothing
1025
+ * @see https://tailwindcss.com/docs/font-smoothing
1026
+ */
1027
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1028
+ /**
1029
+ * Font Style
1030
+ * @see https://tailwindcss.com/docs/font-style
1031
+ */
1032
+ "font-style": ["italic", "not-italic"],
1033
+ /**
1034
+ * Font Weight
1035
+ * @see https://tailwindcss.com/docs/font-weight
1036
+ */
1037
+ "font-weight": [{
1038
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", B]
1039
+ }],
1040
+ /**
1041
+ * Font Family
1042
+ * @see https://tailwindcss.com/docs/font-family
1043
+ */
1044
+ "font-family": [{
1045
+ font: [N]
1046
+ }],
1047
+ /**
1048
+ * Font Variant Numeric
1049
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1050
+ */
1051
+ "fvn-normal": ["normal-nums"],
1052
+ /**
1053
+ * Font Variant Numeric
1054
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1055
+ */
1056
+ "fvn-ordinal": ["ordinal"],
1057
+ /**
1058
+ * Font Variant Numeric
1059
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1060
+ */
1061
+ "fvn-slashed-zero": ["slashed-zero"],
1062
+ /**
1063
+ * Font Variant Numeric
1064
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1065
+ */
1066
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1067
+ /**
1068
+ * Font Variant Numeric
1069
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1070
+ */
1071
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1072
+ /**
1073
+ * Font Variant Numeric
1074
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1075
+ */
1076
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1077
+ /**
1078
+ * Letter Spacing
1079
+ * @see https://tailwindcss.com/docs/letter-spacing
1080
+ */
1081
+ tracking: [{
1082
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", a]
1083
+ }],
1084
+ /**
1085
+ * Line Clamp
1086
+ * @see https://tailwindcss.com/docs/line-clamp
1087
+ */
1088
+ "line-clamp": [{
1089
+ "line-clamp": ["none", _, B]
1090
+ }],
1091
+ /**
1092
+ * Line Height
1093
+ * @see https://tailwindcss.com/docs/line-height
1094
+ */
1095
+ leading: [{
1096
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, a]
1097
+ }],
1098
+ /**
1099
+ * List Style Image
1100
+ * @see https://tailwindcss.com/docs/list-style-image
1101
+ */
1102
+ "list-image": [{
1103
+ "list-image": ["none", a]
1104
+ }],
1105
+ /**
1106
+ * List Style Type
1107
+ * @see https://tailwindcss.com/docs/list-style-type
1108
+ */
1109
+ "list-style-type": [{
1110
+ list: ["none", "disc", "decimal", a]
1111
+ }],
1112
+ /**
1113
+ * List Style Position
1114
+ * @see https://tailwindcss.com/docs/list-style-position
1115
+ */
1116
+ "list-style-position": [{
1117
+ list: ["inside", "outside"]
1118
+ }],
1119
+ /**
1120
+ * Placeholder Color
1121
+ * @deprecated since Tailwind CSS v3.0.0
1122
+ * @see https://tailwindcss.com/docs/placeholder-color
1123
+ */
1124
+ "placeholder-color": [{
1125
+ placeholder: [e]
1126
+ }],
1127
+ /**
1128
+ * Placeholder Opacity
1129
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1130
+ */
1131
+ "placeholder-opacity": [{
1132
+ "placeholder-opacity": [y]
1133
+ }],
1134
+ /**
1135
+ * Text Alignment
1136
+ * @see https://tailwindcss.com/docs/text-align
1137
+ */
1138
+ "text-alignment": [{
1139
+ text: ["left", "center", "right", "justify", "start", "end"]
1140
+ }],
1141
+ /**
1142
+ * Text Color
1143
+ * @see https://tailwindcss.com/docs/text-color
1144
+ */
1145
+ "text-color": [{
1146
+ text: [e]
1147
+ }],
1148
+ /**
1149
+ * Text Opacity
1150
+ * @see https://tailwindcss.com/docs/text-opacity
1151
+ */
1152
+ "text-opacity": [{
1153
+ "text-opacity": [y]
1154
+ }],
1155
+ /**
1156
+ * Text Decoration
1157
+ * @see https://tailwindcss.com/docs/text-decoration
1158
+ */
1159
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1160
+ /**
1161
+ * Text Decoration Style
1162
+ * @see https://tailwindcss.com/docs/text-decoration-style
1163
+ */
1164
+ "text-decoration-style": [{
1165
+ decoration: [...V(), "wavy"]
1166
+ }],
1167
+ /**
1168
+ * Text Decoration Thickness
1169
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1170
+ */
1171
+ "text-decoration-thickness": [{
1172
+ decoration: ["auto", "from-font", k, S]
1173
+ }],
1174
+ /**
1175
+ * Text Underline Offset
1176
+ * @see https://tailwindcss.com/docs/text-underline-offset
1177
+ */
1178
+ "underline-offset": [{
1179
+ "underline-offset": ["auto", k, a]
1180
+ }],
1181
+ /**
1182
+ * Text Decoration Color
1183
+ * @see https://tailwindcss.com/docs/text-decoration-color
1184
+ */
1185
+ "text-decoration-color": [{
1186
+ decoration: [e]
1187
+ }],
1188
+ /**
1189
+ * Text Transform
1190
+ * @see https://tailwindcss.com/docs/text-transform
1191
+ */
1192
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1193
+ /**
1194
+ * Text Overflow
1195
+ * @see https://tailwindcss.com/docs/text-overflow
1196
+ */
1197
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1198
+ /**
1199
+ * Text Wrap
1200
+ * @see https://tailwindcss.com/docs/text-wrap
1201
+ */
1202
+ "text-wrap": [{
1203
+ text: ["wrap", "nowrap", "balance", "pretty"]
1204
+ }],
1205
+ /**
1206
+ * Text Indent
1207
+ * @see https://tailwindcss.com/docs/text-indent
1208
+ */
1209
+ indent: [{
1210
+ indent: b()
1211
+ }],
1212
+ /**
1213
+ * Vertical Alignment
1214
+ * @see https://tailwindcss.com/docs/vertical-align
1215
+ */
1216
+ "vertical-align": [{
1217
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a]
1218
+ }],
1219
+ /**
1220
+ * Whitespace
1221
+ * @see https://tailwindcss.com/docs/whitespace
1222
+ */
1223
+ whitespace: [{
1224
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1225
+ }],
1226
+ /**
1227
+ * Word Break
1228
+ * @see https://tailwindcss.com/docs/word-break
1229
+ */
1230
+ break: [{
1231
+ break: ["normal", "words", "all", "keep"]
1232
+ }],
1233
+ /**
1234
+ * Hyphens
1235
+ * @see https://tailwindcss.com/docs/hyphens
1236
+ */
1237
+ hyphens: [{
1238
+ hyphens: ["none", "manual", "auto"]
1239
+ }],
1240
+ /**
1241
+ * Content
1242
+ * @see https://tailwindcss.com/docs/content
1243
+ */
1244
+ content: [{
1245
+ content: ["none", a]
1246
+ }],
1247
+ // Backgrounds
1248
+ /**
1249
+ * Background Attachment
1250
+ * @see https://tailwindcss.com/docs/background-attachment
1251
+ */
1252
+ "bg-attachment": [{
1253
+ bg: ["fixed", "local", "scroll"]
1254
+ }],
1255
+ /**
1256
+ * Background Clip
1257
+ * @see https://tailwindcss.com/docs/background-clip
1258
+ */
1259
+ "bg-clip": [{
1260
+ "bg-clip": ["border", "padding", "content", "text"]
1261
+ }],
1262
+ /**
1263
+ * Background Opacity
1264
+ * @deprecated since Tailwind CSS v3.0.0
1265
+ * @see https://tailwindcss.com/docs/background-opacity
1266
+ */
1267
+ "bg-opacity": [{
1268
+ "bg-opacity": [y]
1269
+ }],
1270
+ /**
1271
+ * Background Origin
1272
+ * @see https://tailwindcss.com/docs/background-origin
1273
+ */
1274
+ "bg-origin": [{
1275
+ "bg-origin": ["border", "padding", "content"]
1276
+ }],
1277
+ /**
1278
+ * Background Position
1279
+ * @see https://tailwindcss.com/docs/background-position
1280
+ */
1281
+ "bg-position": [{
1282
+ bg: [...K(), He]
1283
+ }],
1284
+ /**
1285
+ * Background Repeat
1286
+ * @see https://tailwindcss.com/docs/background-repeat
1287
+ */
1288
+ "bg-repeat": [{
1289
+ bg: ["no-repeat", {
1290
+ repeat: ["", "x", "y", "round", "space"]
1291
+ }]
1292
+ }],
1293
+ /**
1294
+ * Background Size
1295
+ * @see https://tailwindcss.com/docs/background-size
1296
+ */
1297
+ "bg-size": [{
1298
+ bg: ["auto", "cover", "contain", qe]
1299
+ }],
1300
+ /**
1301
+ * Background Image
1302
+ * @see https://tailwindcss.com/docs/background-image
1303
+ */
1304
+ "bg-image": [{
1305
+ bg: ["none", {
1306
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1307
+ }, Je]
1308
+ }],
1309
+ /**
1310
+ * Background Color
1311
+ * @see https://tailwindcss.com/docs/background-color
1312
+ */
1313
+ "bg-color": [{
1314
+ bg: [e]
1315
+ }],
1316
+ /**
1317
+ * Gradient Color Stops From Position
1318
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1319
+ */
1320
+ "gradient-from-pos": [{
1321
+ from: [x]
1322
+ }],
1323
+ /**
1324
+ * Gradient Color Stops Via Position
1325
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1326
+ */
1327
+ "gradient-via-pos": [{
1328
+ via: [x]
1329
+ }],
1330
+ /**
1331
+ * Gradient Color Stops To Position
1332
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1333
+ */
1334
+ "gradient-to-pos": [{
1335
+ to: [x]
1336
+ }],
1337
+ /**
1338
+ * Gradient Color Stops From
1339
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1340
+ */
1341
+ "gradient-from": [{
1342
+ from: [C]
1343
+ }],
1344
+ /**
1345
+ * Gradient Color Stops Via
1346
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1347
+ */
1348
+ "gradient-via": [{
1349
+ via: [C]
1350
+ }],
1351
+ /**
1352
+ * Gradient Color Stops To
1353
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1354
+ */
1355
+ "gradient-to": [{
1356
+ to: [C]
1357
+ }],
1358
+ // Borders
1359
+ /**
1360
+ * Border Radius
1361
+ * @see https://tailwindcss.com/docs/border-radius
1362
+ */
1363
+ rounded: [{
1364
+ rounded: [n]
1365
+ }],
1366
+ /**
1367
+ * Border Radius Start
1368
+ * @see https://tailwindcss.com/docs/border-radius
1369
+ */
1370
+ "rounded-s": [{
1371
+ "rounded-s": [n]
1372
+ }],
1373
+ /**
1374
+ * Border Radius End
1375
+ * @see https://tailwindcss.com/docs/border-radius
1376
+ */
1377
+ "rounded-e": [{
1378
+ "rounded-e": [n]
1379
+ }],
1380
+ /**
1381
+ * Border Radius Top
1382
+ * @see https://tailwindcss.com/docs/border-radius
1383
+ */
1384
+ "rounded-t": [{
1385
+ "rounded-t": [n]
1386
+ }],
1387
+ /**
1388
+ * Border Radius Right
1389
+ * @see https://tailwindcss.com/docs/border-radius
1390
+ */
1391
+ "rounded-r": [{
1392
+ "rounded-r": [n]
1393
+ }],
1394
+ /**
1395
+ * Border Radius Bottom
1396
+ * @see https://tailwindcss.com/docs/border-radius
1397
+ */
1398
+ "rounded-b": [{
1399
+ "rounded-b": [n]
1400
+ }],
1401
+ /**
1402
+ * Border Radius Left
1403
+ * @see https://tailwindcss.com/docs/border-radius
1404
+ */
1405
+ "rounded-l": [{
1406
+ "rounded-l": [n]
1407
+ }],
1408
+ /**
1409
+ * Border Radius Start Start
1410
+ * @see https://tailwindcss.com/docs/border-radius
1411
+ */
1412
+ "rounded-ss": [{
1413
+ "rounded-ss": [n]
1414
+ }],
1415
+ /**
1416
+ * Border Radius Start End
1417
+ * @see https://tailwindcss.com/docs/border-radius
1418
+ */
1419
+ "rounded-se": [{
1420
+ "rounded-se": [n]
1421
+ }],
1422
+ /**
1423
+ * Border Radius End End
1424
+ * @see https://tailwindcss.com/docs/border-radius
1425
+ */
1426
+ "rounded-ee": [{
1427
+ "rounded-ee": [n]
1428
+ }],
1429
+ /**
1430
+ * Border Radius End Start
1431
+ * @see https://tailwindcss.com/docs/border-radius
1432
+ */
1433
+ "rounded-es": [{
1434
+ "rounded-es": [n]
1435
+ }],
1436
+ /**
1437
+ * Border Radius Top Left
1438
+ * @see https://tailwindcss.com/docs/border-radius
1439
+ */
1440
+ "rounded-tl": [{
1441
+ "rounded-tl": [n]
1442
+ }],
1443
+ /**
1444
+ * Border Radius Top Right
1445
+ * @see https://tailwindcss.com/docs/border-radius
1446
+ */
1447
+ "rounded-tr": [{
1448
+ "rounded-tr": [n]
1449
+ }],
1450
+ /**
1451
+ * Border Radius Bottom Right
1452
+ * @see https://tailwindcss.com/docs/border-radius
1453
+ */
1454
+ "rounded-br": [{
1455
+ "rounded-br": [n]
1456
+ }],
1457
+ /**
1458
+ * Border Radius Bottom Left
1459
+ * @see https://tailwindcss.com/docs/border-radius
1460
+ */
1461
+ "rounded-bl": [{
1462
+ "rounded-bl": [n]
1463
+ }],
1464
+ /**
1465
+ * Border Width
1466
+ * @see https://tailwindcss.com/docs/border-width
1467
+ */
1468
+ "border-w": [{
1469
+ border: [i]
1470
+ }],
1471
+ /**
1472
+ * Border Width X
1473
+ * @see https://tailwindcss.com/docs/border-width
1474
+ */
1475
+ "border-w-x": [{
1476
+ "border-x": [i]
1477
+ }],
1478
+ /**
1479
+ * Border Width Y
1480
+ * @see https://tailwindcss.com/docs/border-width
1481
+ */
1482
+ "border-w-y": [{
1483
+ "border-y": [i]
1484
+ }],
1485
+ /**
1486
+ * Border Width Start
1487
+ * @see https://tailwindcss.com/docs/border-width
1488
+ */
1489
+ "border-w-s": [{
1490
+ "border-s": [i]
1491
+ }],
1492
+ /**
1493
+ * Border Width End
1494
+ * @see https://tailwindcss.com/docs/border-width
1495
+ */
1496
+ "border-w-e": [{
1497
+ "border-e": [i]
1498
+ }],
1499
+ /**
1500
+ * Border Width Top
1501
+ * @see https://tailwindcss.com/docs/border-width
1502
+ */
1503
+ "border-w-t": [{
1504
+ "border-t": [i]
1505
+ }],
1506
+ /**
1507
+ * Border Width Right
1508
+ * @see https://tailwindcss.com/docs/border-width
1509
+ */
1510
+ "border-w-r": [{
1511
+ "border-r": [i]
1512
+ }],
1513
+ /**
1514
+ * Border Width Bottom
1515
+ * @see https://tailwindcss.com/docs/border-width
1516
+ */
1517
+ "border-w-b": [{
1518
+ "border-b": [i]
1519
+ }],
1520
+ /**
1521
+ * Border Width Left
1522
+ * @see https://tailwindcss.com/docs/border-width
1523
+ */
1524
+ "border-w-l": [{
1525
+ "border-l": [i]
1526
+ }],
1527
+ /**
1528
+ * Border Opacity
1529
+ * @see https://tailwindcss.com/docs/border-opacity
1530
+ */
1531
+ "border-opacity": [{
1532
+ "border-opacity": [y]
1533
+ }],
1534
+ /**
1535
+ * Border Style
1536
+ * @see https://tailwindcss.com/docs/border-style
1537
+ */
1538
+ "border-style": [{
1539
+ border: [...V(), "hidden"]
1540
+ }],
1541
+ /**
1542
+ * Divide Width X
1543
+ * @see https://tailwindcss.com/docs/divide-width
1544
+ */
1545
+ "divide-x": [{
1546
+ "divide-x": [i]
1547
+ }],
1548
+ /**
1549
+ * Divide Width X Reverse
1550
+ * @see https://tailwindcss.com/docs/divide-width
1551
+ */
1552
+ "divide-x-reverse": ["divide-x-reverse"],
1553
+ /**
1554
+ * Divide Width Y
1555
+ * @see https://tailwindcss.com/docs/divide-width
1556
+ */
1557
+ "divide-y": [{
1558
+ "divide-y": [i]
1559
+ }],
1560
+ /**
1561
+ * Divide Width Y Reverse
1562
+ * @see https://tailwindcss.com/docs/divide-width
1563
+ */
1564
+ "divide-y-reverse": ["divide-y-reverse"],
1565
+ /**
1566
+ * Divide Opacity
1567
+ * @see https://tailwindcss.com/docs/divide-opacity
1568
+ */
1569
+ "divide-opacity": [{
1570
+ "divide-opacity": [y]
1571
+ }],
1572
+ /**
1573
+ * Divide Style
1574
+ * @see https://tailwindcss.com/docs/divide-style
1575
+ */
1576
+ "divide-style": [{
1577
+ divide: V()
1578
+ }],
1579
+ /**
1580
+ * Border Color
1581
+ * @see https://tailwindcss.com/docs/border-color
1582
+ */
1583
+ "border-color": [{
1584
+ border: [s]
1585
+ }],
1586
+ /**
1587
+ * Border Color X
1588
+ * @see https://tailwindcss.com/docs/border-color
1589
+ */
1590
+ "border-color-x": [{
1591
+ "border-x": [s]
1592
+ }],
1593
+ /**
1594
+ * Border Color Y
1595
+ * @see https://tailwindcss.com/docs/border-color
1596
+ */
1597
+ "border-color-y": [{
1598
+ "border-y": [s]
1599
+ }],
1600
+ /**
1601
+ * Border Color S
1602
+ * @see https://tailwindcss.com/docs/border-color
1603
+ */
1604
+ "border-color-s": [{
1605
+ "border-s": [s]
1606
+ }],
1607
+ /**
1608
+ * Border Color E
1609
+ * @see https://tailwindcss.com/docs/border-color
1610
+ */
1611
+ "border-color-e": [{
1612
+ "border-e": [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: ["", ...V()]
1655
+ }],
1656
+ /**
1657
+ * Outline Offset
1658
+ * @see https://tailwindcss.com/docs/outline-offset
1659
+ */
1660
+ "outline-offset": [{
1661
+ "outline-offset": [k, a]
1662
+ }],
1663
+ /**
1664
+ * Outline Width
1665
+ * @see https://tailwindcss.com/docs/outline-width
1666
+ */
1667
+ "outline-w": [{
1668
+ outline: [k, S]
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: J()
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": [y]
1702
+ }],
1703
+ /**
1704
+ * Ring Offset Width
1705
+ * @see https://tailwindcss.com/docs/ring-offset-width
1706
+ */
1707
+ "ring-offset-w": [{
1708
+ "ring-offset": [k, S]
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", A, Ke]
1724
+ }],
1725
+ /**
1726
+ * Box Shadow Color
1727
+ * @see https://tailwindcss.com/docs/box-shadow-color
1728
+ */
1729
+ "shadow-color": [{
1730
+ shadow: [N]
1731
+ }],
1732
+ /**
1733
+ * Opacity
1734
+ * @see https://tailwindcss.com/docs/opacity
1735
+ */
1736
+ opacity: [{
1737
+ opacity: [y]
1738
+ }],
1739
+ /**
1740
+ * Mix Blend Mode
1741
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1742
+ */
1743
+ "mix-blend": [{
1744
+ "mix-blend": [...X(), "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": X()
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: [t]
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: [d]
1782
+ }],
1783
+ /**
1784
+ * Drop Shadow
1785
+ * @see https://tailwindcss.com/docs/drop-shadow
1786
+ */
1787
+ "drop-shadow": [{
1788
+ "drop-shadow": ["", "none", A, a]
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": [f]
1803
+ }],
1804
+ /**
1805
+ * Invert
1806
+ * @see https://tailwindcss.com/docs/invert
1807
+ */
1808
+ invert: [{
1809
+ invert: [g]
1810
+ }],
1811
+ /**
1812
+ * Saturate
1813
+ * @see https://tailwindcss.com/docs/saturate
1814
+ */
1815
+ saturate: [{
1816
+ saturate: [E]
1817
+ }],
1818
+ /**
1819
+ * Sepia
1820
+ * @see https://tailwindcss.com/docs/sepia
1821
+ */
1822
+ sepia: [{
1823
+ sepia: [G]
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": [t]
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": [d]
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": [f]
1867
+ }],
1868
+ /**
1869
+ * Backdrop Invert
1870
+ * @see https://tailwindcss.com/docs/backdrop-invert
1871
+ */
1872
+ "backdrop-invert": [{
1873
+ "backdrop-invert": [g]
1874
+ }],
1875
+ /**
1876
+ * Backdrop Opacity
1877
+ * @see https://tailwindcss.com/docs/backdrop-opacity
1878
+ */
1879
+ "backdrop-opacity": [{
1880
+ "backdrop-opacity": [y]
1881
+ }],
1882
+ /**
1883
+ * Backdrop Saturate
1884
+ * @see https://tailwindcss.com/docs/backdrop-saturate
1885
+ */
1886
+ "backdrop-saturate": [{
1887
+ "backdrop-saturate": [E]
1888
+ }],
1889
+ /**
1890
+ * Backdrop Sepia
1891
+ * @see https://tailwindcss.com/docs/backdrop-sepia
1892
+ */
1893
+ "backdrop-sepia": [{
1894
+ "backdrop-sepia": [G]
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": [l]
1910
+ }],
1911
+ /**
1912
+ * Border Spacing X
1913
+ * @see https://tailwindcss.com/docs/border-spacing
1914
+ */
1915
+ "border-spacing-x": [{
1916
+ "border-spacing-x": [l]
1917
+ }],
1918
+ /**
1919
+ * Border Spacing Y
1920
+ * @see https://tailwindcss.com/docs/border-spacing
1921
+ */
1922
+ "border-spacing-y": [{
1923
+ "border-spacing-y": [l]
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", a]
1946
+ }],
1947
+ /**
1948
+ * Transition Duration
1949
+ * @see https://tailwindcss.com/docs/transition-duration
1950
+ */
1951
+ duration: [{
1952
+ duration: z()
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", a]
1960
+ }],
1961
+ /**
1962
+ * Transition Delay
1963
+ * @see https://tailwindcss.com/docs/transition-delay
1964
+ */
1965
+ delay: [{
1966
+ delay: z()
1967
+ }],
1968
+ /**
1969
+ * Animation
1970
+ * @see https://tailwindcss.com/docs/animation
1971
+ */
1972
+ animate: [{
1973
+ animate: ["none", "spin", "ping", "pulse", "bounce", a]
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: [R]
1989
+ }],
1990
+ /**
1991
+ * Scale X
1992
+ * @see https://tailwindcss.com/docs/scale
1993
+ */
1994
+ "scale-x": [{
1995
+ "scale-x": [R]
1996
+ }],
1997
+ /**
1998
+ * Scale Y
1999
+ * @see https://tailwindcss.com/docs/scale
2000
+ */
2001
+ "scale-y": [{
2002
+ "scale-y": [R]
2003
+ }],
2004
+ /**
2005
+ * Rotate
2006
+ * @see https://tailwindcss.com/docs/rotate
2007
+ */
2008
+ rotate: [{
2009
+ rotate: [j, a]
2010
+ }],
2011
+ /**
2012
+ * Translate X
2013
+ * @see https://tailwindcss.com/docs/translate
2014
+ */
2015
+ "translate-x": [{
2016
+ "translate-x": [Y]
2017
+ }],
2018
+ /**
2019
+ * Translate Y
2020
+ * @see https://tailwindcss.com/docs/translate
2021
+ */
2022
+ "translate-y": [{
2023
+ "translate-y": [Y]
2024
+ }],
2025
+ /**
2026
+ * Skew X
2027
+ * @see https://tailwindcss.com/docs/skew
2028
+ */
2029
+ "skew-x": [{
2030
+ "skew-x": [q]
2031
+ }],
2032
+ /**
2033
+ * Skew Y
2034
+ * @see https://tailwindcss.com/docs/skew
2035
+ */
2036
+ "skew-y": [{
2037
+ "skew-y": [q]
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", a]
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", a]
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": b()
2102
+ }],
2103
+ /**
2104
+ * Scroll Margin X
2105
+ * @see https://tailwindcss.com/docs/scroll-margin
2106
+ */
2107
+ "scroll-mx": [{
2108
+ "scroll-mx": b()
2109
+ }],
2110
+ /**
2111
+ * Scroll Margin Y
2112
+ * @see https://tailwindcss.com/docs/scroll-margin
2113
+ */
2114
+ "scroll-my": [{
2115
+ "scroll-my": b()
2116
+ }],
2117
+ /**
2118
+ * Scroll Margin Start
2119
+ * @see https://tailwindcss.com/docs/scroll-margin
2120
+ */
2121
+ "scroll-ms": [{
2122
+ "scroll-ms": b()
2123
+ }],
2124
+ /**
2125
+ * Scroll Margin End
2126
+ * @see https://tailwindcss.com/docs/scroll-margin
2127
+ */
2128
+ "scroll-me": [{
2129
+ "scroll-me": b()
2130
+ }],
2131
+ /**
2132
+ * Scroll Margin Top
2133
+ * @see https://tailwindcss.com/docs/scroll-margin
2134
+ */
2135
+ "scroll-mt": [{
2136
+ "scroll-mt": b()
2137
+ }],
2138
+ /**
2139
+ * Scroll Margin Right
2140
+ * @see https://tailwindcss.com/docs/scroll-margin
2141
+ */
2142
+ "scroll-mr": [{
2143
+ "scroll-mr": b()
2144
+ }],
2145
+ /**
2146
+ * Scroll Margin Bottom
2147
+ * @see https://tailwindcss.com/docs/scroll-margin
2148
+ */
2149
+ "scroll-mb": [{
2150
+ "scroll-mb": b()
2151
+ }],
2152
+ /**
2153
+ * Scroll Margin Left
2154
+ * @see https://tailwindcss.com/docs/scroll-margin
2155
+ */
2156
+ "scroll-ml": [{
2157
+ "scroll-ml": b()
2158
+ }],
2159
+ /**
2160
+ * Scroll Padding
2161
+ * @see https://tailwindcss.com/docs/scroll-padding
2162
+ */
2163
+ "scroll-p": [{
2164
+ "scroll-p": b()
2165
+ }],
2166
+ /**
2167
+ * Scroll Padding X
2168
+ * @see https://tailwindcss.com/docs/scroll-padding
2169
+ */
2170
+ "scroll-px": [{
2171
+ "scroll-px": b()
2172
+ }],
2173
+ /**
2174
+ * Scroll Padding Y
2175
+ * @see https://tailwindcss.com/docs/scroll-padding
2176
+ */
2177
+ "scroll-py": [{
2178
+ "scroll-py": b()
2179
+ }],
2180
+ /**
2181
+ * Scroll Padding Start
2182
+ * @see https://tailwindcss.com/docs/scroll-padding
2183
+ */
2184
+ "scroll-ps": [{
2185
+ "scroll-ps": b()
2186
+ }],
2187
+ /**
2188
+ * Scroll Padding End
2189
+ * @see https://tailwindcss.com/docs/scroll-padding
2190
+ */
2191
+ "scroll-pe": [{
2192
+ "scroll-pe": b()
2193
+ }],
2194
+ /**
2195
+ * Scroll Padding Top
2196
+ * @see https://tailwindcss.com/docs/scroll-padding
2197
+ */
2198
+ "scroll-pt": [{
2199
+ "scroll-pt": b()
2200
+ }],
2201
+ /**
2202
+ * Scroll Padding Right
2203
+ * @see https://tailwindcss.com/docs/scroll-padding
2204
+ */
2205
+ "scroll-pr": [{
2206
+ "scroll-pr": b()
2207
+ }],
2208
+ /**
2209
+ * Scroll Padding Bottom
2210
+ * @see https://tailwindcss.com/docs/scroll-padding
2211
+ */
2212
+ "scroll-pb": [{
2213
+ "scroll-pb": b()
2214
+ }],
2215
+ /**
2216
+ * Scroll Padding Left
2217
+ * @see https://tailwindcss.com/docs/scroll-padding
2218
+ */
2219
+ "scroll-pl": [{
2220
+ "scroll-pl": b()
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", a]
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: [k, S, B]
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-s", "border-color-e", "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
+ }, rr = /* @__PURE__ */ Ve(er);
2379
+ function tr(...e) {
2380
+ return rr(ie(e));
2381
+ }
2382
+ const or = ze(
2383
+ [
2384
+ "inline-flex items-center justify-center gap-2",
2385
+ "font-sans font-medium whitespace-nowrap",
2386
+ "transition-colors duration-150",
2387
+ "focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-wefun-ring",
2388
+ "disabled:pointer-events-none disabled:opacity-50",
2389
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0"
2390
+ ],
2391
+ {
2392
+ variants: {
2393
+ variant: {
2394
+ default: "bg-wefun-primary text-wefun-primary-foreground hover:bg-wefun-primary/90 active:bg-wefun-primary/80",
2395
+ secondary: "bg-wefun-secondary text-wefun-secondary-foreground hover:bg-wefun-secondary/80 active:bg-wefun-secondary/70",
2396
+ outline: "border border-wefun-border bg-transparent text-wefun-foreground hover:bg-wefun-secondary active:bg-wefun-secondary/80",
2397
+ ghost: "bg-transparent text-wefun-foreground hover:bg-wefun-secondary active:bg-wefun-secondary/80",
2398
+ destructive: "bg-wefun-destructive text-wefun-destructive-foreground hover:bg-wefun-destructive/90 active:bg-wefun-destructive/80"
2399
+ },
2400
+ size: {
2401
+ xs: "h-6 px-2 py-[3px] text-[10px] gap-1.5 [&_svg]:size-3",
2402
+ sm: "h-8 px-3 py-1.5 text-xs gap-1.5 [&_svg]:size-3.5",
2403
+ default: "h-9 px-4 py-2 text-sm gap-2 [&_svg]:size-4",
2404
+ lg: "h-10 px-6 py-2.5 text-sm gap-2 [&_svg]:size-4",
2405
+ xl: "h-11 px-8 py-3 text-base gap-2 [&_svg]:size-5",
2406
+ icon: "size-9 [&_svg]:size-4",
2407
+ "icon-xs": "size-6 [&_svg]:size-3",
2408
+ "icon-sm": "size-8 [&_svg]:size-3.5",
2409
+ "icon-lg": "size-10 [&_svg]:size-4",
2410
+ "icon-xl": "size-11 [&_svg]:size-5"
2411
+ },
2412
+ rounded: {
2413
+ default: "rounded-lg",
2414
+ full: "rounded-full"
2415
+ }
2416
+ },
2417
+ defaultVariants: {
2418
+ variant: "default",
2419
+ size: "default",
2420
+ rounded: "default"
2421
+ }
2422
+ }
2423
+ ), nr = pe(
2424
+ ({ className: e, variant: r, size: t, rounded: o, asChild: s = !1, ...n }, l) => /* @__PURE__ */ F(
2425
+ s ? he : "button",
2426
+ {
2427
+ className: tr(or({ variant: r, size: t, rounded: o, className: e })),
2428
+ ref: l,
2429
+ ...n
2430
+ }
2431
+ )
2432
+ );
2433
+ nr.displayName = "Button";
2434
+ export {
2435
+ nr as Button,
2436
+ or as buttonVariants,
2437
+ tr as cn
2438
+ };