next-ui-lib 0.1.12 → 0.1.14

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