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