@ptlm-azulejo/tooltip 0.0.1-alpha.95

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