@plyaz/ui 0.6.5 → 0.6.6
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/client.cjs.js +1 -0
- package/dist/client.es.js +5038 -0
- package/dist/index.cjs.js +105 -0
- package/dist/index.es.js +915 -0
- package/dist/types/client.d.ts +2 -0
- package/dist/{ui.es.js → utils-BlazSa45.js} +499 -1409
- package/dist/utils-D4NY0-fZ.cjs +1 -0
- package/package.json +5 -7
- package/dist/ui.cjs.js +0 -105
|
@@ -1,89 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { Slot as ct } from "@radix-ui/react-slot";
|
|
7
|
-
import dt, { memo as ut } from "react";
|
|
8
|
-
import * as k from "@radix-ui/react-select";
|
|
9
|
-
import { CheckIcon as mt, ChevronDownIcon as Ve, ChevronUpIcon as pt } from "lucide-react";
|
|
10
|
-
import { useTranslations as De } from "next-intl";
|
|
11
|
-
const X = ({ children: e, element: t = "div", className: r = "", ...o }) => /* @__PURE__ */ m(t, { className: r, ...o, "data-testid": "box", children: e }), ye = "-", gt = (e) => {
|
|
12
|
-
const t = bt(e), {
|
|
13
|
-
conflictingClassGroups: r,
|
|
14
|
-
conflictingClassGroupModifiers: o
|
|
1
|
+
import { clsx as Ie } from "clsx";
|
|
2
|
+
const ne = "-", Re = (e) => {
|
|
3
|
+
const n = Ge(e), {
|
|
4
|
+
conflictingClassGroups: s,
|
|
5
|
+
conflictingClassGroupModifiers: t
|
|
15
6
|
} = e;
|
|
16
7
|
return {
|
|
17
|
-
getClassGroupId: (
|
|
18
|
-
const
|
|
19
|
-
return
|
|
8
|
+
getClassGroupId: (i) => {
|
|
9
|
+
const u = i.split(ne);
|
|
10
|
+
return u[0] === "" && u.length !== 1 && u.shift(), xe(u, n) || Pe(i);
|
|
20
11
|
},
|
|
21
|
-
getConflictingClassGroupIds: (
|
|
22
|
-
const
|
|
23
|
-
return
|
|
12
|
+
getConflictingClassGroupIds: (i, u) => {
|
|
13
|
+
const p = s[i] || [];
|
|
14
|
+
return u && t[i] ? [...p, ...t[i]] : p;
|
|
24
15
|
}
|
|
25
16
|
};
|
|
26
|
-
},
|
|
27
|
-
var
|
|
17
|
+
}, xe = (e, n) => {
|
|
18
|
+
var i;
|
|
28
19
|
if (e.length === 0)
|
|
29
|
-
return
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
32
|
-
return
|
|
33
|
-
if (
|
|
20
|
+
return n.classGroupId;
|
|
21
|
+
const s = e[0], t = n.nextPart.get(s), c = t ? xe(e.slice(1), t) : void 0;
|
|
22
|
+
if (c)
|
|
23
|
+
return c;
|
|
24
|
+
if (n.validators.length === 0)
|
|
34
25
|
return;
|
|
35
|
-
const
|
|
36
|
-
return (
|
|
37
|
-
validator:
|
|
38
|
-
}) =>
|
|
39
|
-
},
|
|
40
|
-
if (
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
43
|
-
return "arbitrary.." +
|
|
26
|
+
const m = e.join(ne);
|
|
27
|
+
return (i = n.validators.find(({
|
|
28
|
+
validator: u
|
|
29
|
+
}) => u(m))) == null ? void 0 : i.classGroupId;
|
|
30
|
+
}, fe = /^\[(.+)\]$/, Pe = (e) => {
|
|
31
|
+
if (fe.test(e)) {
|
|
32
|
+
const n = fe.exec(e)[1], s = n == null ? void 0 : n.substring(0, n.indexOf(":"));
|
|
33
|
+
if (s)
|
|
34
|
+
return "arbitrary.." + s;
|
|
44
35
|
}
|
|
45
|
-
},
|
|
36
|
+
}, Ge = (e) => {
|
|
46
37
|
const {
|
|
47
|
-
theme:
|
|
48
|
-
classGroups:
|
|
49
|
-
} = e,
|
|
38
|
+
theme: n,
|
|
39
|
+
classGroups: s
|
|
40
|
+
} = e, t = {
|
|
50
41
|
nextPart: /* @__PURE__ */ new Map(),
|
|
51
42
|
validators: []
|
|
52
43
|
};
|
|
53
|
-
for (const
|
|
54
|
-
|
|
55
|
-
return
|
|
56
|
-
},
|
|
57
|
-
e.forEach((
|
|
58
|
-
if (typeof
|
|
59
|
-
const
|
|
60
|
-
|
|
44
|
+
for (const c in s)
|
|
45
|
+
re(s[c], t, c, n);
|
|
46
|
+
return t;
|
|
47
|
+
}, re = (e, n, s, t) => {
|
|
48
|
+
e.forEach((c) => {
|
|
49
|
+
if (typeof c == "string") {
|
|
50
|
+
const m = c === "" ? n : be(n, c);
|
|
51
|
+
m.classGroupId = s;
|
|
61
52
|
return;
|
|
62
53
|
}
|
|
63
|
-
if (typeof
|
|
64
|
-
if (
|
|
65
|
-
|
|
54
|
+
if (typeof c == "function") {
|
|
55
|
+
if (Te(c)) {
|
|
56
|
+
re(c(t), n, s, t);
|
|
66
57
|
return;
|
|
67
58
|
}
|
|
68
|
-
|
|
69
|
-
validator:
|
|
70
|
-
classGroupId:
|
|
59
|
+
n.validators.push({
|
|
60
|
+
validator: c,
|
|
61
|
+
classGroupId: s
|
|
71
62
|
});
|
|
72
63
|
return;
|
|
73
64
|
}
|
|
74
|
-
Object.entries(
|
|
75
|
-
|
|
65
|
+
Object.entries(c).forEach(([m, i]) => {
|
|
66
|
+
re(i, be(n, m), s, t);
|
|
76
67
|
});
|
|
77
68
|
});
|
|
78
|
-
},
|
|
79
|
-
let
|
|
80
|
-
return
|
|
81
|
-
|
|
69
|
+
}, be = (e, n) => {
|
|
70
|
+
let s = e;
|
|
71
|
+
return n.split(ne).forEach((t) => {
|
|
72
|
+
s.nextPart.has(t) || s.nextPart.set(t, {
|
|
82
73
|
nextPart: /* @__PURE__ */ new Map(),
|
|
83
74
|
validators: []
|
|
84
|
-
}),
|
|
85
|
-
}),
|
|
86
|
-
},
|
|
75
|
+
}), s = s.nextPart.get(t);
|
|
76
|
+
}), s;
|
|
77
|
+
}, Te = (e) => e.isThemeGetter, Ee = (e) => {
|
|
87
78
|
if (e < 1)
|
|
88
79
|
return {
|
|
89
80
|
get: () => {
|
|
@@ -91,178 +82,178 @@ const X = ({ children: e, element: t = "div", className: r = "", ...o }) => /* @
|
|
|
91
82
|
set: () => {
|
|
92
83
|
}
|
|
93
84
|
};
|
|
94
|
-
let
|
|
95
|
-
const
|
|
96
|
-
|
|
85
|
+
let n = 0, s = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
86
|
+
const c = (m, i) => {
|
|
87
|
+
s.set(m, i), n++, n > e && (n = 0, t = s, s = /* @__PURE__ */ new Map());
|
|
97
88
|
};
|
|
98
89
|
return {
|
|
99
|
-
get(
|
|
100
|
-
let
|
|
101
|
-
if (
|
|
102
|
-
return
|
|
103
|
-
if ((
|
|
104
|
-
return
|
|
90
|
+
get(m) {
|
|
91
|
+
let i = s.get(m);
|
|
92
|
+
if (i !== void 0)
|
|
93
|
+
return i;
|
|
94
|
+
if ((i = t.get(m)) !== void 0)
|
|
95
|
+
return c(m, i), i;
|
|
105
96
|
},
|
|
106
|
-
set(
|
|
107
|
-
|
|
97
|
+
set(m, i) {
|
|
98
|
+
s.has(m) ? s.set(m, i) : c(m, i);
|
|
108
99
|
}
|
|
109
100
|
};
|
|
110
|
-
},
|
|
101
|
+
}, te = "!", se = ":", Le = se.length, Ne = (e) => {
|
|
111
102
|
const {
|
|
112
|
-
prefix:
|
|
113
|
-
experimentalParseClassName:
|
|
103
|
+
prefix: n,
|
|
104
|
+
experimentalParseClassName: s
|
|
114
105
|
} = e;
|
|
115
|
-
let
|
|
116
|
-
const
|
|
117
|
-
let
|
|
118
|
-
for (let
|
|
119
|
-
let
|
|
120
|
-
if (
|
|
121
|
-
if (
|
|
122
|
-
|
|
106
|
+
let t = (c) => {
|
|
107
|
+
const m = [];
|
|
108
|
+
let i = 0, u = 0, p = 0, g;
|
|
109
|
+
for (let k = 0; k < c.length; k++) {
|
|
110
|
+
let y = c[k];
|
|
111
|
+
if (i === 0 && u === 0) {
|
|
112
|
+
if (y === se) {
|
|
113
|
+
m.push(c.slice(p, k)), p = k + Le;
|
|
123
114
|
continue;
|
|
124
115
|
}
|
|
125
|
-
if (
|
|
126
|
-
|
|
116
|
+
if (y === "/") {
|
|
117
|
+
g = k;
|
|
127
118
|
continue;
|
|
128
119
|
}
|
|
129
120
|
}
|
|
130
|
-
|
|
121
|
+
y === "[" ? i++ : y === "]" ? i-- : y === "(" ? u++ : y === ")" && u--;
|
|
131
122
|
}
|
|
132
|
-
const
|
|
123
|
+
const h = m.length === 0 ? c : c.substring(p), M = Ve(h), O = M !== h, F = g && g > p ? g - p : void 0;
|
|
133
124
|
return {
|
|
134
|
-
modifiers:
|
|
135
|
-
hasImportantModifier:
|
|
136
|
-
baseClassName:
|
|
137
|
-
maybePostfixModifierPosition:
|
|
125
|
+
modifiers: m,
|
|
126
|
+
hasImportantModifier: O,
|
|
127
|
+
baseClassName: M,
|
|
128
|
+
maybePostfixModifierPosition: F
|
|
138
129
|
};
|
|
139
130
|
};
|
|
140
|
-
if (
|
|
141
|
-
const
|
|
142
|
-
|
|
131
|
+
if (n) {
|
|
132
|
+
const c = n + se, m = t;
|
|
133
|
+
t = (i) => i.startsWith(c) ? m(i.substring(c.length)) : {
|
|
143
134
|
isExternal: !0,
|
|
144
135
|
modifiers: [],
|
|
145
136
|
hasImportantModifier: !1,
|
|
146
|
-
baseClassName:
|
|
137
|
+
baseClassName: i,
|
|
147
138
|
maybePostfixModifierPosition: void 0
|
|
148
139
|
};
|
|
149
140
|
}
|
|
150
|
-
if (
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
className:
|
|
154
|
-
parseClassName:
|
|
141
|
+
if (s) {
|
|
142
|
+
const c = t;
|
|
143
|
+
t = (m) => s({
|
|
144
|
+
className: m,
|
|
145
|
+
parseClassName: c
|
|
155
146
|
});
|
|
156
147
|
}
|
|
157
|
-
return
|
|
158
|
-
},
|
|
159
|
-
const
|
|
160
|
-
return (
|
|
161
|
-
if (
|
|
162
|
-
return
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
return
|
|
166
|
-
|
|
167
|
-
}),
|
|
148
|
+
return t;
|
|
149
|
+
}, Ve = (e) => e.endsWith(te) ? e.substring(0, e.length - 1) : e.startsWith(te) ? e.substring(1) : e, je = (e) => {
|
|
150
|
+
const n = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
|
|
151
|
+
return (t) => {
|
|
152
|
+
if (t.length <= 1)
|
|
153
|
+
return t;
|
|
154
|
+
const c = [];
|
|
155
|
+
let m = [];
|
|
156
|
+
return t.forEach((i) => {
|
|
157
|
+
i[0] === "[" || n[i] ? (c.push(...m.sort(), i), m = []) : m.push(i);
|
|
158
|
+
}), c.push(...m.sort()), c;
|
|
168
159
|
};
|
|
169
|
-
},
|
|
170
|
-
cache:
|
|
171
|
-
parseClassName:
|
|
172
|
-
sortModifiers:
|
|
173
|
-
...
|
|
174
|
-
}),
|
|
160
|
+
}, Oe = (e) => ({
|
|
161
|
+
cache: Ee(e.cacheSize),
|
|
162
|
+
parseClassName: Ne(e),
|
|
163
|
+
sortModifiers: je(e),
|
|
164
|
+
...Re(e)
|
|
165
|
+
}), Fe = /\s+/, _e = (e, n) => {
|
|
175
166
|
const {
|
|
176
|
-
parseClassName:
|
|
177
|
-
getClassGroupId:
|
|
178
|
-
getConflictingClassGroupIds:
|
|
179
|
-
sortModifiers:
|
|
180
|
-
} =
|
|
181
|
-
let
|
|
182
|
-
for (let
|
|
183
|
-
const
|
|
184
|
-
isExternal:
|
|
185
|
-
modifiers:
|
|
186
|
-
hasImportantModifier:
|
|
187
|
-
baseClassName:
|
|
188
|
-
maybePostfixModifierPosition:
|
|
189
|
-
} =
|
|
190
|
-
if (
|
|
191
|
-
|
|
167
|
+
parseClassName: s,
|
|
168
|
+
getClassGroupId: t,
|
|
169
|
+
getConflictingClassGroupIds: c,
|
|
170
|
+
sortModifiers: m
|
|
171
|
+
} = n, i = [], u = e.trim().split(Fe);
|
|
172
|
+
let p = "";
|
|
173
|
+
for (let g = u.length - 1; g >= 0; g -= 1) {
|
|
174
|
+
const h = u[g], {
|
|
175
|
+
isExternal: M,
|
|
176
|
+
modifiers: O,
|
|
177
|
+
hasImportantModifier: F,
|
|
178
|
+
baseClassName: k,
|
|
179
|
+
maybePostfixModifierPosition: y
|
|
180
|
+
} = s(h);
|
|
181
|
+
if (M) {
|
|
182
|
+
p = h + (p.length > 0 ? " " + p : p);
|
|
192
183
|
continue;
|
|
193
184
|
}
|
|
194
|
-
let
|
|
195
|
-
if (!
|
|
196
|
-
if (!
|
|
197
|
-
|
|
185
|
+
let G = !!y, A = t(G ? k.substring(0, y) : k);
|
|
186
|
+
if (!A) {
|
|
187
|
+
if (!G) {
|
|
188
|
+
p = h + (p.length > 0 ? " " + p : p);
|
|
198
189
|
continue;
|
|
199
190
|
}
|
|
200
|
-
if (
|
|
201
|
-
|
|
191
|
+
if (A = t(k), !A) {
|
|
192
|
+
p = h + (p.length > 0 ? " " + p : p);
|
|
202
193
|
continue;
|
|
203
194
|
}
|
|
204
|
-
|
|
195
|
+
G = !1;
|
|
205
196
|
}
|
|
206
|
-
const
|
|
207
|
-
if (
|
|
197
|
+
const $ = m(O).join(":"), _ = F ? $ + te : $, T = _ + A;
|
|
198
|
+
if (i.includes(T))
|
|
208
199
|
continue;
|
|
209
|
-
|
|
210
|
-
const
|
|
211
|
-
for (let
|
|
212
|
-
const
|
|
213
|
-
|
|
200
|
+
i.push(T);
|
|
201
|
+
const E = c(A, G);
|
|
202
|
+
for (let I = 0; I < E.length; ++I) {
|
|
203
|
+
const B = E[I];
|
|
204
|
+
i.push(_ + B);
|
|
214
205
|
}
|
|
215
|
-
|
|
206
|
+
p = h + (p.length > 0 ? " " + p : p);
|
|
216
207
|
}
|
|
217
|
-
return
|
|
208
|
+
return p;
|
|
218
209
|
};
|
|
219
|
-
function
|
|
220
|
-
let e = 0,
|
|
210
|
+
function Be() {
|
|
211
|
+
let e = 0, n, s, t = "";
|
|
221
212
|
for (; e < arguments.length; )
|
|
222
|
-
(
|
|
223
|
-
return
|
|
213
|
+
(n = arguments[e++]) && (s = we(n)) && (t && (t += " "), t += s);
|
|
214
|
+
return t;
|
|
224
215
|
}
|
|
225
|
-
const
|
|
216
|
+
const we = (e) => {
|
|
226
217
|
if (typeof e == "string")
|
|
227
218
|
return e;
|
|
228
|
-
let
|
|
229
|
-
for (let
|
|
230
|
-
e[
|
|
231
|
-
return
|
|
219
|
+
let n, s = "";
|
|
220
|
+
for (let t = 0; t < e.length; t++)
|
|
221
|
+
e[t] && (n = we(e[t])) && (s && (s += " "), s += n);
|
|
222
|
+
return s;
|
|
232
223
|
};
|
|
233
|
-
function
|
|
234
|
-
let
|
|
235
|
-
function
|
|
236
|
-
const
|
|
237
|
-
return
|
|
224
|
+
function We(e, ...n) {
|
|
225
|
+
let s, t, c, m = i;
|
|
226
|
+
function i(p) {
|
|
227
|
+
const g = n.reduce((h, M) => M(h), e());
|
|
228
|
+
return s = Oe(g), t = s.cache.get, c = s.cache.set, m = u, u(p);
|
|
238
229
|
}
|
|
239
|
-
function p
|
|
240
|
-
const
|
|
241
|
-
if (
|
|
242
|
-
return
|
|
243
|
-
const
|
|
244
|
-
return
|
|
230
|
+
function u(p) {
|
|
231
|
+
const g = t(p);
|
|
232
|
+
if (g)
|
|
233
|
+
return g;
|
|
234
|
+
const h = _e(p, s);
|
|
235
|
+
return c(p, h), h;
|
|
245
236
|
}
|
|
246
237
|
return function() {
|
|
247
|
-
return
|
|
238
|
+
return m(Be.apply(null, arguments));
|
|
248
239
|
};
|
|
249
240
|
}
|
|
250
|
-
const
|
|
251
|
-
const
|
|
252
|
-
return
|
|
253
|
-
},
|
|
241
|
+
const f = (e) => {
|
|
242
|
+
const n = (s) => s[e] || [];
|
|
243
|
+
return n.isThemeGetter = !0, n;
|
|
244
|
+
}, ke = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $e = /^\d+\/\d+$/, Ue = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qe = /\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$/, He = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Je = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, N = (e) => $e.test(e), d = (e) => !!e && !Number.isNaN(Number(e)), S = (e) => !!e && Number.isInteger(Number(e)), ee = (e) => e.endsWith("%") && d(e.slice(0, -1)), C = (e) => Ue.test(e), De = () => !0, Ke = (e) => (
|
|
254
245
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
255
246
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
256
247
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
257
|
-
|
|
258
|
-
),
|
|
259
|
-
const
|
|
260
|
-
return
|
|
261
|
-
},
|
|
262
|
-
const
|
|
263
|
-
return
|
|
264
|
-
},
|
|
265
|
-
const e =
|
|
248
|
+
qe.test(e) && !He.test(e)
|
|
249
|
+
), ve = () => !1, Qe = (e) => Je.test(e), Ye = (e) => Xe.test(e), Ze = (e) => !o(e) && !r(e), eo = (e) => V(e, Me, ve), o = (e) => ke.test(e), P = (e) => V(e, Se, Ke), oe = (e) => V(e, no, d), ge = (e) => V(e, ze, ve), oo = (e) => V(e, Ce, Ye), D = (e) => V(e, Ae, Qe), r = (e) => ye.test(e), W = (e) => j(e, Se), ro = (e) => j(e, ao), he = (e) => j(e, ze), to = (e) => j(e, Me), so = (e) => j(e, Ce), K = (e) => j(e, Ae, !0), V = (e, n, s) => {
|
|
250
|
+
const t = ke.exec(e);
|
|
251
|
+
return t ? t[1] ? n(t[1]) : s(t[2]) : !1;
|
|
252
|
+
}, j = (e, n, s = !1) => {
|
|
253
|
+
const t = ye.exec(e);
|
|
254
|
+
return t ? t[1] ? n(t[1]) : s : !1;
|
|
255
|
+
}, ze = (e) => e === "position" || e === "percentage", Ce = (e) => e === "image" || e === "url", Me = (e) => e === "length" || e === "size" || e === "bg-size", Se = (e) => e === "length", no = (e) => e === "number", ao = (e) => e === "family-name", Ae = (e) => e === "shadow", io = () => {
|
|
256
|
+
const e = f("color"), n = f("font"), s = f("text"), t = f("font-weight"), c = f("tracking"), m = f("leading"), i = f("breakpoint"), u = f("container"), p = f("spacing"), g = f("radius"), h = f("shadow"), M = f("inset-shadow"), O = f("text-shadow"), F = f("drop-shadow"), k = f("blur"), y = f("perspective"), G = f("aspect"), A = f("ease"), $ = f("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [
|
|
266
257
|
"center",
|
|
267
258
|
"top",
|
|
268
259
|
"bottom",
|
|
@@ -280,51 +271,51 @@ const h = (e) => {
|
|
|
280
271
|
"bottom-left",
|
|
281
272
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
282
273
|
"left-bottom"
|
|
283
|
-
],
|
|
284
|
-
span: ["full",
|
|
285
|
-
},
|
|
286
|
-
position: [
|
|
287
|
-
}],
|
|
274
|
+
], E = () => [...T(), r, o], I = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], l = () => [r, o, p], v = () => [N, "full", "auto", ...l()], ae = () => [S, "none", "subgrid", r, o], ie = () => ["auto", {
|
|
275
|
+
span: ["full", S, r, o]
|
|
276
|
+
}, S, r, o], U = () => [S, "auto", r, o], le = () => ["auto", "min", "max", "fr", r, o], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...l()], R = () => [N, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...l()], a = () => [e, r, o], ce = () => [...T(), he, ge, {
|
|
277
|
+
position: [r, o]
|
|
278
|
+
}], de = () => ["no-repeat", {
|
|
288
279
|
repeat: ["", "x", "y", "space", "round"]
|
|
289
|
-
}],
|
|
290
|
-
size: [
|
|
291
|
-
}],
|
|
280
|
+
}], me = () => ["auto", "cover", "contain", to, eo, {
|
|
281
|
+
size: [r, o]
|
|
282
|
+
}], Y = () => [ee, W, P], x = () => [
|
|
292
283
|
// Deprecated since Tailwind CSS v4.0.0
|
|
293
284
|
"",
|
|
294
285
|
"none",
|
|
295
286
|
"full",
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
],
|
|
287
|
+
g,
|
|
288
|
+
r,
|
|
289
|
+
o
|
|
290
|
+
], w = () => ["", d, W, P], q = () => ["solid", "dashed", "dotted", "double"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], b = () => [d, ee, he, ge], ue = () => [
|
|
300
291
|
// Deprecated since Tailwind CSS v4.0.0
|
|
301
292
|
"",
|
|
302
293
|
"none",
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
],
|
|
294
|
+
k,
|
|
295
|
+
r,
|
|
296
|
+
o
|
|
297
|
+
], H = () => ["none", d, r, o], J = () => ["none", d, r, o], Z = () => [d, r, o], X = () => [N, "full", ...l()];
|
|
307
298
|
return {
|
|
308
299
|
cacheSize: 500,
|
|
309
300
|
theme: {
|
|
310
301
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
311
302
|
aspect: ["video"],
|
|
312
|
-
blur: [
|
|
313
|
-
breakpoint: [
|
|
314
|
-
color: [
|
|
315
|
-
container: [
|
|
316
|
-
"drop-shadow": [
|
|
303
|
+
blur: [C],
|
|
304
|
+
breakpoint: [C],
|
|
305
|
+
color: [De],
|
|
306
|
+
container: [C],
|
|
307
|
+
"drop-shadow": [C],
|
|
317
308
|
ease: ["in", "out", "in-out"],
|
|
318
|
-
font: [
|
|
309
|
+
font: [Ze],
|
|
319
310
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
320
|
-
"inset-shadow": [
|
|
311
|
+
"inset-shadow": [C],
|
|
321
312
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
322
313
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
323
|
-
radius: [
|
|
324
|
-
shadow: [
|
|
325
|
-
spacing: ["px",
|
|
326
|
-
text: [
|
|
327
|
-
"text-shadow": [
|
|
314
|
+
radius: [C],
|
|
315
|
+
shadow: [C],
|
|
316
|
+
spacing: ["px", d],
|
|
317
|
+
text: [C],
|
|
318
|
+
"text-shadow": [C],
|
|
328
319
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
329
320
|
},
|
|
330
321
|
classGroups: {
|
|
@@ -336,7 +327,7 @@ const h = (e) => {
|
|
|
336
327
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
337
328
|
*/
|
|
338
329
|
aspect: [{
|
|
339
|
-
aspect: ["auto", "square",
|
|
330
|
+
aspect: ["auto", "square", N, o, r, G]
|
|
340
331
|
}],
|
|
341
332
|
/**
|
|
342
333
|
* Container
|
|
@@ -349,21 +340,21 @@ const h = (e) => {
|
|
|
349
340
|
* @see https://tailwindcss.com/docs/columns
|
|
350
341
|
*/
|
|
351
342
|
columns: [{
|
|
352
|
-
columns: [
|
|
343
|
+
columns: [d, o, r, u]
|
|
353
344
|
}],
|
|
354
345
|
/**
|
|
355
346
|
* Break After
|
|
356
347
|
* @see https://tailwindcss.com/docs/break-after
|
|
357
348
|
*/
|
|
358
349
|
"break-after": [{
|
|
359
|
-
"break-after":
|
|
350
|
+
"break-after": _()
|
|
360
351
|
}],
|
|
361
352
|
/**
|
|
362
353
|
* Break Before
|
|
363
354
|
* @see https://tailwindcss.com/docs/break-before
|
|
364
355
|
*/
|
|
365
356
|
"break-before": [{
|
|
366
|
-
"break-before":
|
|
357
|
+
"break-before": _()
|
|
367
358
|
}],
|
|
368
359
|
/**
|
|
369
360
|
* Break Inside
|
|
@@ -427,49 +418,49 @@ const h = (e) => {
|
|
|
427
418
|
* @see https://tailwindcss.com/docs/object-position
|
|
428
419
|
*/
|
|
429
420
|
"object-position": [{
|
|
430
|
-
object:
|
|
421
|
+
object: E()
|
|
431
422
|
}],
|
|
432
423
|
/**
|
|
433
424
|
* Overflow
|
|
434
425
|
* @see https://tailwindcss.com/docs/overflow
|
|
435
426
|
*/
|
|
436
427
|
overflow: [{
|
|
437
|
-
overflow:
|
|
428
|
+
overflow: I()
|
|
438
429
|
}],
|
|
439
430
|
/**
|
|
440
431
|
* Overflow X
|
|
441
432
|
* @see https://tailwindcss.com/docs/overflow
|
|
442
433
|
*/
|
|
443
434
|
"overflow-x": [{
|
|
444
|
-
"overflow-x":
|
|
435
|
+
"overflow-x": I()
|
|
445
436
|
}],
|
|
446
437
|
/**
|
|
447
438
|
* Overflow Y
|
|
448
439
|
* @see https://tailwindcss.com/docs/overflow
|
|
449
440
|
*/
|
|
450
441
|
"overflow-y": [{
|
|
451
|
-
"overflow-y":
|
|
442
|
+
"overflow-y": I()
|
|
452
443
|
}],
|
|
453
444
|
/**
|
|
454
445
|
* Overscroll Behavior
|
|
455
446
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
456
447
|
*/
|
|
457
448
|
overscroll: [{
|
|
458
|
-
overscroll:
|
|
449
|
+
overscroll: B()
|
|
459
450
|
}],
|
|
460
451
|
/**
|
|
461
452
|
* Overscroll Behavior X
|
|
462
453
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
463
454
|
*/
|
|
464
455
|
"overscroll-x": [{
|
|
465
|
-
"overscroll-x":
|
|
456
|
+
"overscroll-x": B()
|
|
466
457
|
}],
|
|
467
458
|
/**
|
|
468
459
|
* Overscroll Behavior Y
|
|
469
460
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
470
461
|
*/
|
|
471
462
|
"overscroll-y": [{
|
|
472
|
-
"overscroll-y":
|
|
463
|
+
"overscroll-y": B()
|
|
473
464
|
}],
|
|
474
465
|
/**
|
|
475
466
|
* Position
|
|
@@ -481,63 +472,63 @@ const h = (e) => {
|
|
|
481
472
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
482
473
|
*/
|
|
483
474
|
inset: [{
|
|
484
|
-
inset:
|
|
475
|
+
inset: v()
|
|
485
476
|
}],
|
|
486
477
|
/**
|
|
487
478
|
* Right / Left
|
|
488
479
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
489
480
|
*/
|
|
490
481
|
"inset-x": [{
|
|
491
|
-
"inset-x":
|
|
482
|
+
"inset-x": v()
|
|
492
483
|
}],
|
|
493
484
|
/**
|
|
494
485
|
* Top / Bottom
|
|
495
486
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
496
487
|
*/
|
|
497
488
|
"inset-y": [{
|
|
498
|
-
"inset-y":
|
|
489
|
+
"inset-y": v()
|
|
499
490
|
}],
|
|
500
491
|
/**
|
|
501
492
|
* Start
|
|
502
493
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
503
494
|
*/
|
|
504
495
|
start: [{
|
|
505
|
-
start:
|
|
496
|
+
start: v()
|
|
506
497
|
}],
|
|
507
498
|
/**
|
|
508
499
|
* End
|
|
509
500
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
510
501
|
*/
|
|
511
502
|
end: [{
|
|
512
|
-
end:
|
|
503
|
+
end: v()
|
|
513
504
|
}],
|
|
514
505
|
/**
|
|
515
506
|
* Top
|
|
516
507
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
517
508
|
*/
|
|
518
509
|
top: [{
|
|
519
|
-
top:
|
|
510
|
+
top: v()
|
|
520
511
|
}],
|
|
521
512
|
/**
|
|
522
513
|
* Right
|
|
523
514
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
524
515
|
*/
|
|
525
516
|
right: [{
|
|
526
|
-
right:
|
|
517
|
+
right: v()
|
|
527
518
|
}],
|
|
528
519
|
/**
|
|
529
520
|
* Bottom
|
|
530
521
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
531
522
|
*/
|
|
532
523
|
bottom: [{
|
|
533
|
-
bottom:
|
|
524
|
+
bottom: v()
|
|
534
525
|
}],
|
|
535
526
|
/**
|
|
536
527
|
* Left
|
|
537
528
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
538
529
|
*/
|
|
539
530
|
left: [{
|
|
540
|
-
left:
|
|
531
|
+
left: v()
|
|
541
532
|
}],
|
|
542
533
|
/**
|
|
543
534
|
* Visibility
|
|
@@ -549,7 +540,7 @@ const h = (e) => {
|
|
|
549
540
|
* @see https://tailwindcss.com/docs/z-index
|
|
550
541
|
*/
|
|
551
542
|
z: [{
|
|
552
|
-
z: [
|
|
543
|
+
z: [S, "auto", r, o]
|
|
553
544
|
}],
|
|
554
545
|
// ------------------------
|
|
555
546
|
// --- Flexbox and Grid ---
|
|
@@ -559,7 +550,7 @@ const h = (e) => {
|
|
|
559
550
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
560
551
|
*/
|
|
561
552
|
basis: [{
|
|
562
|
-
basis: [
|
|
553
|
+
basis: [N, "full", "auto", u, ...l()]
|
|
563
554
|
}],
|
|
564
555
|
/**
|
|
565
556
|
* Flex Direction
|
|
@@ -580,84 +571,84 @@ const h = (e) => {
|
|
|
580
571
|
* @see https://tailwindcss.com/docs/flex
|
|
581
572
|
*/
|
|
582
573
|
flex: [{
|
|
583
|
-
flex: [
|
|
574
|
+
flex: [d, N, "auto", "initial", "none", o]
|
|
584
575
|
}],
|
|
585
576
|
/**
|
|
586
577
|
* Flex Grow
|
|
587
578
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
588
579
|
*/
|
|
589
580
|
grow: [{
|
|
590
|
-
grow: ["",
|
|
581
|
+
grow: ["", d, r, o]
|
|
591
582
|
}],
|
|
592
583
|
/**
|
|
593
584
|
* Flex Shrink
|
|
594
585
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
595
586
|
*/
|
|
596
587
|
shrink: [{
|
|
597
|
-
shrink: ["",
|
|
588
|
+
shrink: ["", d, r, o]
|
|
598
589
|
}],
|
|
599
590
|
/**
|
|
600
591
|
* Order
|
|
601
592
|
* @see https://tailwindcss.com/docs/order
|
|
602
593
|
*/
|
|
603
594
|
order: [{
|
|
604
|
-
order: [
|
|
595
|
+
order: [S, "first", "last", "none", r, o]
|
|
605
596
|
}],
|
|
606
597
|
/**
|
|
607
598
|
* Grid Template Columns
|
|
608
599
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
609
600
|
*/
|
|
610
601
|
"grid-cols": [{
|
|
611
|
-
"grid-cols":
|
|
602
|
+
"grid-cols": ae()
|
|
612
603
|
}],
|
|
613
604
|
/**
|
|
614
605
|
* Grid Column Start / End
|
|
615
606
|
* @see https://tailwindcss.com/docs/grid-column
|
|
616
607
|
*/
|
|
617
608
|
"col-start-end": [{
|
|
618
|
-
col:
|
|
609
|
+
col: ie()
|
|
619
610
|
}],
|
|
620
611
|
/**
|
|
621
612
|
* Grid Column Start
|
|
622
613
|
* @see https://tailwindcss.com/docs/grid-column
|
|
623
614
|
*/
|
|
624
615
|
"col-start": [{
|
|
625
|
-
"col-start":
|
|
616
|
+
"col-start": U()
|
|
626
617
|
}],
|
|
627
618
|
/**
|
|
628
619
|
* Grid Column End
|
|
629
620
|
* @see https://tailwindcss.com/docs/grid-column
|
|
630
621
|
*/
|
|
631
622
|
"col-end": [{
|
|
632
|
-
"col-end":
|
|
623
|
+
"col-end": U()
|
|
633
624
|
}],
|
|
634
625
|
/**
|
|
635
626
|
* Grid Template Rows
|
|
636
627
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
637
628
|
*/
|
|
638
629
|
"grid-rows": [{
|
|
639
|
-
"grid-rows":
|
|
630
|
+
"grid-rows": ae()
|
|
640
631
|
}],
|
|
641
632
|
/**
|
|
642
633
|
* Grid Row Start / End
|
|
643
634
|
* @see https://tailwindcss.com/docs/grid-row
|
|
644
635
|
*/
|
|
645
636
|
"row-start-end": [{
|
|
646
|
-
row:
|
|
637
|
+
row: ie()
|
|
647
638
|
}],
|
|
648
639
|
/**
|
|
649
640
|
* Grid Row Start
|
|
650
641
|
* @see https://tailwindcss.com/docs/grid-row
|
|
651
642
|
*/
|
|
652
643
|
"row-start": [{
|
|
653
|
-
"row-start":
|
|
644
|
+
"row-start": U()
|
|
654
645
|
}],
|
|
655
646
|
/**
|
|
656
647
|
* Grid Row End
|
|
657
648
|
* @see https://tailwindcss.com/docs/grid-row
|
|
658
649
|
*/
|
|
659
650
|
"row-end": [{
|
|
660
|
-
"row-end":
|
|
651
|
+
"row-end": U()
|
|
661
652
|
}],
|
|
662
653
|
/**
|
|
663
654
|
* Grid Auto Flow
|
|
@@ -671,70 +662,70 @@ const h = (e) => {
|
|
|
671
662
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
672
663
|
*/
|
|
673
664
|
"auto-cols": [{
|
|
674
|
-
"auto-cols":
|
|
665
|
+
"auto-cols": le()
|
|
675
666
|
}],
|
|
676
667
|
/**
|
|
677
668
|
* Grid Auto Rows
|
|
678
669
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
679
670
|
*/
|
|
680
671
|
"auto-rows": [{
|
|
681
|
-
"auto-rows":
|
|
672
|
+
"auto-rows": le()
|
|
682
673
|
}],
|
|
683
674
|
/**
|
|
684
675
|
* Gap
|
|
685
676
|
* @see https://tailwindcss.com/docs/gap
|
|
686
677
|
*/
|
|
687
678
|
gap: [{
|
|
688
|
-
gap:
|
|
679
|
+
gap: l()
|
|
689
680
|
}],
|
|
690
681
|
/**
|
|
691
682
|
* Gap X
|
|
692
683
|
* @see https://tailwindcss.com/docs/gap
|
|
693
684
|
*/
|
|
694
685
|
"gap-x": [{
|
|
695
|
-
"gap-x":
|
|
686
|
+
"gap-x": l()
|
|
696
687
|
}],
|
|
697
688
|
/**
|
|
698
689
|
* Gap Y
|
|
699
690
|
* @see https://tailwindcss.com/docs/gap
|
|
700
691
|
*/
|
|
701
692
|
"gap-y": [{
|
|
702
|
-
"gap-y":
|
|
693
|
+
"gap-y": l()
|
|
703
694
|
}],
|
|
704
695
|
/**
|
|
705
696
|
* Justify Content
|
|
706
697
|
* @see https://tailwindcss.com/docs/justify-content
|
|
707
698
|
*/
|
|
708
699
|
"justify-content": [{
|
|
709
|
-
justify: [...
|
|
700
|
+
justify: [...Q(), "normal"]
|
|
710
701
|
}],
|
|
711
702
|
/**
|
|
712
703
|
* Justify Items
|
|
713
704
|
* @see https://tailwindcss.com/docs/justify-items
|
|
714
705
|
*/
|
|
715
706
|
"justify-items": [{
|
|
716
|
-
"justify-items": [...
|
|
707
|
+
"justify-items": [...L(), "normal"]
|
|
717
708
|
}],
|
|
718
709
|
/**
|
|
719
710
|
* Justify Self
|
|
720
711
|
* @see https://tailwindcss.com/docs/justify-self
|
|
721
712
|
*/
|
|
722
713
|
"justify-self": [{
|
|
723
|
-
"justify-self": ["auto", ...
|
|
714
|
+
"justify-self": ["auto", ...L()]
|
|
724
715
|
}],
|
|
725
716
|
/**
|
|
726
717
|
* Align Content
|
|
727
718
|
* @see https://tailwindcss.com/docs/align-content
|
|
728
719
|
*/
|
|
729
720
|
"align-content": [{
|
|
730
|
-
content: ["normal", ...
|
|
721
|
+
content: ["normal", ...Q()]
|
|
731
722
|
}],
|
|
732
723
|
/**
|
|
733
724
|
* Align Items
|
|
734
725
|
* @see https://tailwindcss.com/docs/align-items
|
|
735
726
|
*/
|
|
736
727
|
"align-items": [{
|
|
737
|
-
items: [...
|
|
728
|
+
items: [...L(), {
|
|
738
729
|
baseline: ["", "last"]
|
|
739
730
|
}]
|
|
740
731
|
}],
|
|
@@ -743,7 +734,7 @@ const h = (e) => {
|
|
|
743
734
|
* @see https://tailwindcss.com/docs/align-self
|
|
744
735
|
*/
|
|
745
736
|
"align-self": [{
|
|
746
|
-
self: ["auto", ...
|
|
737
|
+
self: ["auto", ...L(), {
|
|
747
738
|
baseline: ["", "last"]
|
|
748
739
|
}]
|
|
749
740
|
}],
|
|
@@ -752,21 +743,21 @@ const h = (e) => {
|
|
|
752
743
|
* @see https://tailwindcss.com/docs/place-content
|
|
753
744
|
*/
|
|
754
745
|
"place-content": [{
|
|
755
|
-
"place-content":
|
|
746
|
+
"place-content": Q()
|
|
756
747
|
}],
|
|
757
748
|
/**
|
|
758
749
|
* Place Items
|
|
759
750
|
* @see https://tailwindcss.com/docs/place-items
|
|
760
751
|
*/
|
|
761
752
|
"place-items": [{
|
|
762
|
-
"place-items": [...
|
|
753
|
+
"place-items": [...L(), "baseline"]
|
|
763
754
|
}],
|
|
764
755
|
/**
|
|
765
756
|
* Place Self
|
|
766
757
|
* @see https://tailwindcss.com/docs/place-self
|
|
767
758
|
*/
|
|
768
759
|
"place-self": [{
|
|
769
|
-
"place-self": ["auto", ...
|
|
760
|
+
"place-self": ["auto", ...L()]
|
|
770
761
|
}],
|
|
771
762
|
// Spacing
|
|
772
763
|
/**
|
|
@@ -774,133 +765,133 @@ const h = (e) => {
|
|
|
774
765
|
* @see https://tailwindcss.com/docs/padding
|
|
775
766
|
*/
|
|
776
767
|
p: [{
|
|
777
|
-
p:
|
|
768
|
+
p: l()
|
|
778
769
|
}],
|
|
779
770
|
/**
|
|
780
771
|
* Padding X
|
|
781
772
|
* @see https://tailwindcss.com/docs/padding
|
|
782
773
|
*/
|
|
783
774
|
px: [{
|
|
784
|
-
px:
|
|
775
|
+
px: l()
|
|
785
776
|
}],
|
|
786
777
|
/**
|
|
787
778
|
* Padding Y
|
|
788
779
|
* @see https://tailwindcss.com/docs/padding
|
|
789
780
|
*/
|
|
790
781
|
py: [{
|
|
791
|
-
py:
|
|
782
|
+
py: l()
|
|
792
783
|
}],
|
|
793
784
|
/**
|
|
794
785
|
* Padding Start
|
|
795
786
|
* @see https://tailwindcss.com/docs/padding
|
|
796
787
|
*/
|
|
797
788
|
ps: [{
|
|
798
|
-
ps:
|
|
789
|
+
ps: l()
|
|
799
790
|
}],
|
|
800
791
|
/**
|
|
801
792
|
* Padding End
|
|
802
793
|
* @see https://tailwindcss.com/docs/padding
|
|
803
794
|
*/
|
|
804
795
|
pe: [{
|
|
805
|
-
pe:
|
|
796
|
+
pe: l()
|
|
806
797
|
}],
|
|
807
798
|
/**
|
|
808
799
|
* Padding Top
|
|
809
800
|
* @see https://tailwindcss.com/docs/padding
|
|
810
801
|
*/
|
|
811
802
|
pt: [{
|
|
812
|
-
pt:
|
|
803
|
+
pt: l()
|
|
813
804
|
}],
|
|
814
805
|
/**
|
|
815
806
|
* Padding Right
|
|
816
807
|
* @see https://tailwindcss.com/docs/padding
|
|
817
808
|
*/
|
|
818
809
|
pr: [{
|
|
819
|
-
pr:
|
|
810
|
+
pr: l()
|
|
820
811
|
}],
|
|
821
812
|
/**
|
|
822
813
|
* Padding Bottom
|
|
823
814
|
* @see https://tailwindcss.com/docs/padding
|
|
824
815
|
*/
|
|
825
816
|
pb: [{
|
|
826
|
-
pb:
|
|
817
|
+
pb: l()
|
|
827
818
|
}],
|
|
828
819
|
/**
|
|
829
820
|
* Padding Left
|
|
830
821
|
* @see https://tailwindcss.com/docs/padding
|
|
831
822
|
*/
|
|
832
823
|
pl: [{
|
|
833
|
-
pl:
|
|
824
|
+
pl: l()
|
|
834
825
|
}],
|
|
835
826
|
/**
|
|
836
827
|
* Margin
|
|
837
828
|
* @see https://tailwindcss.com/docs/margin
|
|
838
829
|
*/
|
|
839
830
|
m: [{
|
|
840
|
-
m:
|
|
831
|
+
m: z()
|
|
841
832
|
}],
|
|
842
833
|
/**
|
|
843
834
|
* Margin X
|
|
844
835
|
* @see https://tailwindcss.com/docs/margin
|
|
845
836
|
*/
|
|
846
837
|
mx: [{
|
|
847
|
-
mx:
|
|
838
|
+
mx: z()
|
|
848
839
|
}],
|
|
849
840
|
/**
|
|
850
841
|
* Margin Y
|
|
851
842
|
* @see https://tailwindcss.com/docs/margin
|
|
852
843
|
*/
|
|
853
844
|
my: [{
|
|
854
|
-
my:
|
|
845
|
+
my: z()
|
|
855
846
|
}],
|
|
856
847
|
/**
|
|
857
848
|
* Margin Start
|
|
858
849
|
* @see https://tailwindcss.com/docs/margin
|
|
859
850
|
*/
|
|
860
851
|
ms: [{
|
|
861
|
-
ms:
|
|
852
|
+
ms: z()
|
|
862
853
|
}],
|
|
863
854
|
/**
|
|
864
855
|
* Margin End
|
|
865
856
|
* @see https://tailwindcss.com/docs/margin
|
|
866
857
|
*/
|
|
867
858
|
me: [{
|
|
868
|
-
me:
|
|
859
|
+
me: z()
|
|
869
860
|
}],
|
|
870
861
|
/**
|
|
871
862
|
* Margin Top
|
|
872
863
|
* @see https://tailwindcss.com/docs/margin
|
|
873
864
|
*/
|
|
874
865
|
mt: [{
|
|
875
|
-
mt:
|
|
866
|
+
mt: z()
|
|
876
867
|
}],
|
|
877
868
|
/**
|
|
878
869
|
* Margin Right
|
|
879
870
|
* @see https://tailwindcss.com/docs/margin
|
|
880
871
|
*/
|
|
881
872
|
mr: [{
|
|
882
|
-
mr:
|
|
873
|
+
mr: z()
|
|
883
874
|
}],
|
|
884
875
|
/**
|
|
885
876
|
* Margin Bottom
|
|
886
877
|
* @see https://tailwindcss.com/docs/margin
|
|
887
878
|
*/
|
|
888
879
|
mb: [{
|
|
889
|
-
mb:
|
|
880
|
+
mb: z()
|
|
890
881
|
}],
|
|
891
882
|
/**
|
|
892
883
|
* Margin Left
|
|
893
884
|
* @see https://tailwindcss.com/docs/margin
|
|
894
885
|
*/
|
|
895
886
|
ml: [{
|
|
896
|
-
ml:
|
|
887
|
+
ml: z()
|
|
897
888
|
}],
|
|
898
889
|
/**
|
|
899
890
|
* Space Between X
|
|
900
891
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
901
892
|
*/
|
|
902
893
|
"space-x": [{
|
|
903
|
-
"space-x":
|
|
894
|
+
"space-x": l()
|
|
904
895
|
}],
|
|
905
896
|
/**
|
|
906
897
|
* Space Between X Reverse
|
|
@@ -912,7 +903,7 @@ const h = (e) => {
|
|
|
912
903
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
913
904
|
*/
|
|
914
905
|
"space-y": [{
|
|
915
|
-
"space-y":
|
|
906
|
+
"space-y": l()
|
|
916
907
|
}],
|
|
917
908
|
/**
|
|
918
909
|
* Space Between Y Reverse
|
|
@@ -927,14 +918,14 @@ const h = (e) => {
|
|
|
927
918
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
928
919
|
*/
|
|
929
920
|
size: [{
|
|
930
|
-
size:
|
|
921
|
+
size: R()
|
|
931
922
|
}],
|
|
932
923
|
/**
|
|
933
924
|
* Width
|
|
934
925
|
* @see https://tailwindcss.com/docs/width
|
|
935
926
|
*/
|
|
936
927
|
w: [{
|
|
937
|
-
w: [
|
|
928
|
+
w: [u, "screen", ...R()]
|
|
938
929
|
}],
|
|
939
930
|
/**
|
|
940
931
|
* Min-Width
|
|
@@ -942,11 +933,11 @@ const h = (e) => {
|
|
|
942
933
|
*/
|
|
943
934
|
"min-w": [{
|
|
944
935
|
"min-w": [
|
|
945
|
-
|
|
936
|
+
u,
|
|
946
937
|
"screen",
|
|
947
938
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
948
939
|
"none",
|
|
949
|
-
...
|
|
940
|
+
...R()
|
|
950
941
|
]
|
|
951
942
|
}],
|
|
952
943
|
/**
|
|
@@ -955,16 +946,16 @@ const h = (e) => {
|
|
|
955
946
|
*/
|
|
956
947
|
"max-w": [{
|
|
957
948
|
"max-w": [
|
|
958
|
-
|
|
949
|
+
u,
|
|
959
950
|
"screen",
|
|
960
951
|
"none",
|
|
961
952
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
962
953
|
"prose",
|
|
963
954
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
964
955
|
{
|
|
965
|
-
screen: [
|
|
956
|
+
screen: [i]
|
|
966
957
|
},
|
|
967
|
-
...
|
|
958
|
+
...R()
|
|
968
959
|
]
|
|
969
960
|
}],
|
|
970
961
|
/**
|
|
@@ -972,21 +963,21 @@ const h = (e) => {
|
|
|
972
963
|
* @see https://tailwindcss.com/docs/height
|
|
973
964
|
*/
|
|
974
965
|
h: [{
|
|
975
|
-
h: ["screen", "lh", ...
|
|
966
|
+
h: ["screen", "lh", ...R()]
|
|
976
967
|
}],
|
|
977
968
|
/**
|
|
978
969
|
* Min-Height
|
|
979
970
|
* @see https://tailwindcss.com/docs/min-height
|
|
980
971
|
*/
|
|
981
972
|
"min-h": [{
|
|
982
|
-
"min-h": ["screen", "lh", "none", ...
|
|
973
|
+
"min-h": ["screen", "lh", "none", ...R()]
|
|
983
974
|
}],
|
|
984
975
|
/**
|
|
985
976
|
* Max-Height
|
|
986
977
|
* @see https://tailwindcss.com/docs/max-height
|
|
987
978
|
*/
|
|
988
979
|
"max-h": [{
|
|
989
|
-
"max-h": ["screen", "lh", ...
|
|
980
|
+
"max-h": ["screen", "lh", ...R()]
|
|
990
981
|
}],
|
|
991
982
|
// ------------------
|
|
992
983
|
// --- Typography ---
|
|
@@ -996,7 +987,7 @@ const h = (e) => {
|
|
|
996
987
|
* @see https://tailwindcss.com/docs/font-size
|
|
997
988
|
*/
|
|
998
989
|
"font-size": [{
|
|
999
|
-
text: ["base",
|
|
990
|
+
text: ["base", s, W, P]
|
|
1000
991
|
}],
|
|
1001
992
|
/**
|
|
1002
993
|
* Font Smoothing
|
|
@@ -1013,21 +1004,21 @@ const h = (e) => {
|
|
|
1013
1004
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1014
1005
|
*/
|
|
1015
1006
|
"font-weight": [{
|
|
1016
|
-
font: [
|
|
1007
|
+
font: [t, r, oe]
|
|
1017
1008
|
}],
|
|
1018
1009
|
/**
|
|
1019
1010
|
* Font Stretch
|
|
1020
1011
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1021
1012
|
*/
|
|
1022
1013
|
"font-stretch": [{
|
|
1023
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1014
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ee, o]
|
|
1024
1015
|
}],
|
|
1025
1016
|
/**
|
|
1026
1017
|
* Font Family
|
|
1027
1018
|
* @see https://tailwindcss.com/docs/font-family
|
|
1028
1019
|
*/
|
|
1029
1020
|
"font-family": [{
|
|
1030
|
-
font: [
|
|
1021
|
+
font: [ro, o, n]
|
|
1031
1022
|
}],
|
|
1032
1023
|
/**
|
|
1033
1024
|
* Font Variant Numeric
|
|
@@ -1064,14 +1055,14 @@ const h = (e) => {
|
|
|
1064
1055
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1065
1056
|
*/
|
|
1066
1057
|
tracking: [{
|
|
1067
|
-
tracking: [
|
|
1058
|
+
tracking: [c, r, o]
|
|
1068
1059
|
}],
|
|
1069
1060
|
/**
|
|
1070
1061
|
* Line Clamp
|
|
1071
1062
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1072
1063
|
*/
|
|
1073
1064
|
"line-clamp": [{
|
|
1074
|
-
"line-clamp": [
|
|
1065
|
+
"line-clamp": [d, "none", r, oe]
|
|
1075
1066
|
}],
|
|
1076
1067
|
/**
|
|
1077
1068
|
* Line Height
|
|
@@ -1080,8 +1071,8 @@ const h = (e) => {
|
|
|
1080
1071
|
leading: [{
|
|
1081
1072
|
leading: [
|
|
1082
1073
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1083
|
-
|
|
1084
|
-
...
|
|
1074
|
+
m,
|
|
1075
|
+
...l()
|
|
1085
1076
|
]
|
|
1086
1077
|
}],
|
|
1087
1078
|
/**
|
|
@@ -1089,7 +1080,7 @@ const h = (e) => {
|
|
|
1089
1080
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1090
1081
|
*/
|
|
1091
1082
|
"list-image": [{
|
|
1092
|
-
"list-image": ["none",
|
|
1083
|
+
"list-image": ["none", r, o]
|
|
1093
1084
|
}],
|
|
1094
1085
|
/**
|
|
1095
1086
|
* List Style Position
|
|
@@ -1103,7 +1094,7 @@ const h = (e) => {
|
|
|
1103
1094
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1104
1095
|
*/
|
|
1105
1096
|
"list-style-type": [{
|
|
1106
|
-
list: ["disc", "decimal", "none",
|
|
1097
|
+
list: ["disc", "decimal", "none", r, o]
|
|
1107
1098
|
}],
|
|
1108
1099
|
/**
|
|
1109
1100
|
* Text Alignment
|
|
@@ -1118,14 +1109,14 @@ const h = (e) => {
|
|
|
1118
1109
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1119
1110
|
*/
|
|
1120
1111
|
"placeholder-color": [{
|
|
1121
|
-
placeholder:
|
|
1112
|
+
placeholder: a()
|
|
1122
1113
|
}],
|
|
1123
1114
|
/**
|
|
1124
1115
|
* Text Color
|
|
1125
1116
|
* @see https://tailwindcss.com/docs/text-color
|
|
1126
1117
|
*/
|
|
1127
1118
|
"text-color": [{
|
|
1128
|
-
text:
|
|
1119
|
+
text: a()
|
|
1129
1120
|
}],
|
|
1130
1121
|
/**
|
|
1131
1122
|
* Text Decoration
|
|
@@ -1137,28 +1128,28 @@ const h = (e) => {
|
|
|
1137
1128
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1138
1129
|
*/
|
|
1139
1130
|
"text-decoration-style": [{
|
|
1140
|
-
decoration: [...
|
|
1131
|
+
decoration: [...q(), "wavy"]
|
|
1141
1132
|
}],
|
|
1142
1133
|
/**
|
|
1143
1134
|
* Text Decoration Thickness
|
|
1144
1135
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1145
1136
|
*/
|
|
1146
1137
|
"text-decoration-thickness": [{
|
|
1147
|
-
decoration: [
|
|
1138
|
+
decoration: [d, "from-font", "auto", r, P]
|
|
1148
1139
|
}],
|
|
1149
1140
|
/**
|
|
1150
1141
|
* Text Decoration Color
|
|
1151
1142
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1152
1143
|
*/
|
|
1153
1144
|
"text-decoration-color": [{
|
|
1154
|
-
decoration:
|
|
1145
|
+
decoration: a()
|
|
1155
1146
|
}],
|
|
1156
1147
|
/**
|
|
1157
1148
|
* Text Underline Offset
|
|
1158
1149
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1159
1150
|
*/
|
|
1160
1151
|
"underline-offset": [{
|
|
1161
|
-
"underline-offset": [
|
|
1152
|
+
"underline-offset": [d, "auto", r, o]
|
|
1162
1153
|
}],
|
|
1163
1154
|
/**
|
|
1164
1155
|
* Text Transform
|
|
@@ -1182,14 +1173,14 @@ const h = (e) => {
|
|
|
1182
1173
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1183
1174
|
*/
|
|
1184
1175
|
indent: [{
|
|
1185
|
-
indent:
|
|
1176
|
+
indent: l()
|
|
1186
1177
|
}],
|
|
1187
1178
|
/**
|
|
1188
1179
|
* Vertical Alignment
|
|
1189
1180
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1190
1181
|
*/
|
|
1191
1182
|
"vertical-align": [{
|
|
1192
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1183
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", r, o]
|
|
1193
1184
|
}],
|
|
1194
1185
|
/**
|
|
1195
1186
|
* Whitespace
|
|
@@ -1224,7 +1215,7 @@ const h = (e) => {
|
|
|
1224
1215
|
* @see https://tailwindcss.com/docs/content
|
|
1225
1216
|
*/
|
|
1226
1217
|
content: [{
|
|
1227
|
-
content: ["none",
|
|
1218
|
+
content: ["none", r, o]
|
|
1228
1219
|
}],
|
|
1229
1220
|
// -------------------
|
|
1230
1221
|
// --- Backgrounds ---
|
|
@@ -1255,21 +1246,21 @@ const h = (e) => {
|
|
|
1255
1246
|
* @see https://tailwindcss.com/docs/background-position
|
|
1256
1247
|
*/
|
|
1257
1248
|
"bg-position": [{
|
|
1258
|
-
bg:
|
|
1249
|
+
bg: ce()
|
|
1259
1250
|
}],
|
|
1260
1251
|
/**
|
|
1261
1252
|
* Background Repeat
|
|
1262
1253
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1263
1254
|
*/
|
|
1264
1255
|
"bg-repeat": [{
|
|
1265
|
-
bg:
|
|
1256
|
+
bg: de()
|
|
1266
1257
|
}],
|
|
1267
1258
|
/**
|
|
1268
1259
|
* Background Size
|
|
1269
1260
|
* @see https://tailwindcss.com/docs/background-size
|
|
1270
1261
|
*/
|
|
1271
1262
|
"bg-size": [{
|
|
1272
|
-
bg:
|
|
1263
|
+
bg: me()
|
|
1273
1264
|
}],
|
|
1274
1265
|
/**
|
|
1275
1266
|
* Background Image
|
|
@@ -1279,59 +1270,59 @@ const h = (e) => {
|
|
|
1279
1270
|
bg: ["none", {
|
|
1280
1271
|
linear: [{
|
|
1281
1272
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1282
|
-
},
|
|
1283
|
-
radial: ["",
|
|
1284
|
-
conic: [
|
|
1285
|
-
},
|
|
1273
|
+
}, S, r, o],
|
|
1274
|
+
radial: ["", r, o],
|
|
1275
|
+
conic: [S, r, o]
|
|
1276
|
+
}, so, oo]
|
|
1286
1277
|
}],
|
|
1287
1278
|
/**
|
|
1288
1279
|
* Background Color
|
|
1289
1280
|
* @see https://tailwindcss.com/docs/background-color
|
|
1290
1281
|
*/
|
|
1291
1282
|
"bg-color": [{
|
|
1292
|
-
bg:
|
|
1283
|
+
bg: a()
|
|
1293
1284
|
}],
|
|
1294
1285
|
/**
|
|
1295
1286
|
* Gradient Color Stops From Position
|
|
1296
1287
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1297
1288
|
*/
|
|
1298
1289
|
"gradient-from-pos": [{
|
|
1299
|
-
from:
|
|
1290
|
+
from: Y()
|
|
1300
1291
|
}],
|
|
1301
1292
|
/**
|
|
1302
1293
|
* Gradient Color Stops Via Position
|
|
1303
1294
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1304
1295
|
*/
|
|
1305
1296
|
"gradient-via-pos": [{
|
|
1306
|
-
via:
|
|
1297
|
+
via: Y()
|
|
1307
1298
|
}],
|
|
1308
1299
|
/**
|
|
1309
1300
|
* Gradient Color Stops To Position
|
|
1310
1301
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1311
1302
|
*/
|
|
1312
1303
|
"gradient-to-pos": [{
|
|
1313
|
-
to:
|
|
1304
|
+
to: Y()
|
|
1314
1305
|
}],
|
|
1315
1306
|
/**
|
|
1316
1307
|
* Gradient Color Stops From
|
|
1317
1308
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1318
1309
|
*/
|
|
1319
1310
|
"gradient-from": [{
|
|
1320
|
-
from:
|
|
1311
|
+
from: a()
|
|
1321
1312
|
}],
|
|
1322
1313
|
/**
|
|
1323
1314
|
* Gradient Color Stops Via
|
|
1324
1315
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1325
1316
|
*/
|
|
1326
1317
|
"gradient-via": [{
|
|
1327
|
-
via:
|
|
1318
|
+
via: a()
|
|
1328
1319
|
}],
|
|
1329
1320
|
/**
|
|
1330
1321
|
* Gradient Color Stops To
|
|
1331
1322
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1332
1323
|
*/
|
|
1333
1324
|
"gradient-to": [{
|
|
1334
|
-
to:
|
|
1325
|
+
to: a()
|
|
1335
1326
|
}],
|
|
1336
1327
|
// ---------------
|
|
1337
1328
|
// --- Borders ---
|
|
@@ -1341,175 +1332,175 @@ const h = (e) => {
|
|
|
1341
1332
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1342
1333
|
*/
|
|
1343
1334
|
rounded: [{
|
|
1344
|
-
rounded:
|
|
1335
|
+
rounded: x()
|
|
1345
1336
|
}],
|
|
1346
1337
|
/**
|
|
1347
1338
|
* Border Radius Start
|
|
1348
1339
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1349
1340
|
*/
|
|
1350
1341
|
"rounded-s": [{
|
|
1351
|
-
"rounded-s":
|
|
1342
|
+
"rounded-s": x()
|
|
1352
1343
|
}],
|
|
1353
1344
|
/**
|
|
1354
1345
|
* Border Radius End
|
|
1355
1346
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1356
1347
|
*/
|
|
1357
1348
|
"rounded-e": [{
|
|
1358
|
-
"rounded-e":
|
|
1349
|
+
"rounded-e": x()
|
|
1359
1350
|
}],
|
|
1360
1351
|
/**
|
|
1361
1352
|
* Border Radius Top
|
|
1362
1353
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1363
1354
|
*/
|
|
1364
1355
|
"rounded-t": [{
|
|
1365
|
-
"rounded-t":
|
|
1356
|
+
"rounded-t": x()
|
|
1366
1357
|
}],
|
|
1367
1358
|
/**
|
|
1368
1359
|
* Border Radius Right
|
|
1369
1360
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1370
1361
|
*/
|
|
1371
1362
|
"rounded-r": [{
|
|
1372
|
-
"rounded-r":
|
|
1363
|
+
"rounded-r": x()
|
|
1373
1364
|
}],
|
|
1374
1365
|
/**
|
|
1375
1366
|
* Border Radius Bottom
|
|
1376
1367
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1377
1368
|
*/
|
|
1378
1369
|
"rounded-b": [{
|
|
1379
|
-
"rounded-b":
|
|
1370
|
+
"rounded-b": x()
|
|
1380
1371
|
}],
|
|
1381
1372
|
/**
|
|
1382
1373
|
* Border Radius Left
|
|
1383
1374
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1384
1375
|
*/
|
|
1385
1376
|
"rounded-l": [{
|
|
1386
|
-
"rounded-l":
|
|
1377
|
+
"rounded-l": x()
|
|
1387
1378
|
}],
|
|
1388
1379
|
/**
|
|
1389
1380
|
* Border Radius Start Start
|
|
1390
1381
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1391
1382
|
*/
|
|
1392
1383
|
"rounded-ss": [{
|
|
1393
|
-
"rounded-ss":
|
|
1384
|
+
"rounded-ss": x()
|
|
1394
1385
|
}],
|
|
1395
1386
|
/**
|
|
1396
1387
|
* Border Radius Start End
|
|
1397
1388
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1398
1389
|
*/
|
|
1399
1390
|
"rounded-se": [{
|
|
1400
|
-
"rounded-se":
|
|
1391
|
+
"rounded-se": x()
|
|
1401
1392
|
}],
|
|
1402
1393
|
/**
|
|
1403
1394
|
* Border Radius End End
|
|
1404
1395
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1405
1396
|
*/
|
|
1406
1397
|
"rounded-ee": [{
|
|
1407
|
-
"rounded-ee":
|
|
1398
|
+
"rounded-ee": x()
|
|
1408
1399
|
}],
|
|
1409
1400
|
/**
|
|
1410
1401
|
* Border Radius End Start
|
|
1411
1402
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1412
1403
|
*/
|
|
1413
1404
|
"rounded-es": [{
|
|
1414
|
-
"rounded-es":
|
|
1405
|
+
"rounded-es": x()
|
|
1415
1406
|
}],
|
|
1416
1407
|
/**
|
|
1417
1408
|
* Border Radius Top Left
|
|
1418
1409
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1419
1410
|
*/
|
|
1420
1411
|
"rounded-tl": [{
|
|
1421
|
-
"rounded-tl":
|
|
1412
|
+
"rounded-tl": x()
|
|
1422
1413
|
}],
|
|
1423
1414
|
/**
|
|
1424
1415
|
* Border Radius Top Right
|
|
1425
1416
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1426
1417
|
*/
|
|
1427
1418
|
"rounded-tr": [{
|
|
1428
|
-
"rounded-tr":
|
|
1419
|
+
"rounded-tr": x()
|
|
1429
1420
|
}],
|
|
1430
1421
|
/**
|
|
1431
1422
|
* Border Radius Bottom Right
|
|
1432
1423
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1433
1424
|
*/
|
|
1434
1425
|
"rounded-br": [{
|
|
1435
|
-
"rounded-br":
|
|
1426
|
+
"rounded-br": x()
|
|
1436
1427
|
}],
|
|
1437
1428
|
/**
|
|
1438
1429
|
* Border Radius Bottom Left
|
|
1439
1430
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1440
1431
|
*/
|
|
1441
1432
|
"rounded-bl": [{
|
|
1442
|
-
"rounded-bl":
|
|
1433
|
+
"rounded-bl": x()
|
|
1443
1434
|
}],
|
|
1444
1435
|
/**
|
|
1445
1436
|
* Border Width
|
|
1446
1437
|
* @see https://tailwindcss.com/docs/border-width
|
|
1447
1438
|
*/
|
|
1448
1439
|
"border-w": [{
|
|
1449
|
-
border:
|
|
1440
|
+
border: w()
|
|
1450
1441
|
}],
|
|
1451
1442
|
/**
|
|
1452
1443
|
* Border Width X
|
|
1453
1444
|
* @see https://tailwindcss.com/docs/border-width
|
|
1454
1445
|
*/
|
|
1455
1446
|
"border-w-x": [{
|
|
1456
|
-
"border-x":
|
|
1447
|
+
"border-x": w()
|
|
1457
1448
|
}],
|
|
1458
1449
|
/**
|
|
1459
1450
|
* Border Width Y
|
|
1460
1451
|
* @see https://tailwindcss.com/docs/border-width
|
|
1461
1452
|
*/
|
|
1462
1453
|
"border-w-y": [{
|
|
1463
|
-
"border-y":
|
|
1454
|
+
"border-y": w()
|
|
1464
1455
|
}],
|
|
1465
1456
|
/**
|
|
1466
1457
|
* Border Width Start
|
|
1467
1458
|
* @see https://tailwindcss.com/docs/border-width
|
|
1468
1459
|
*/
|
|
1469
1460
|
"border-w-s": [{
|
|
1470
|
-
"border-s":
|
|
1461
|
+
"border-s": w()
|
|
1471
1462
|
}],
|
|
1472
1463
|
/**
|
|
1473
1464
|
* Border Width End
|
|
1474
1465
|
* @see https://tailwindcss.com/docs/border-width
|
|
1475
1466
|
*/
|
|
1476
1467
|
"border-w-e": [{
|
|
1477
|
-
"border-e":
|
|
1468
|
+
"border-e": w()
|
|
1478
1469
|
}],
|
|
1479
1470
|
/**
|
|
1480
1471
|
* Border Width Top
|
|
1481
1472
|
* @see https://tailwindcss.com/docs/border-width
|
|
1482
1473
|
*/
|
|
1483
1474
|
"border-w-t": [{
|
|
1484
|
-
"border-t":
|
|
1475
|
+
"border-t": w()
|
|
1485
1476
|
}],
|
|
1486
1477
|
/**
|
|
1487
1478
|
* Border Width Right
|
|
1488
1479
|
* @see https://tailwindcss.com/docs/border-width
|
|
1489
1480
|
*/
|
|
1490
1481
|
"border-w-r": [{
|
|
1491
|
-
"border-r":
|
|
1482
|
+
"border-r": w()
|
|
1492
1483
|
}],
|
|
1493
1484
|
/**
|
|
1494
1485
|
* Border Width Bottom
|
|
1495
1486
|
* @see https://tailwindcss.com/docs/border-width
|
|
1496
1487
|
*/
|
|
1497
1488
|
"border-w-b": [{
|
|
1498
|
-
"border-b":
|
|
1489
|
+
"border-b": w()
|
|
1499
1490
|
}],
|
|
1500
1491
|
/**
|
|
1501
1492
|
* Border Width Left
|
|
1502
1493
|
* @see https://tailwindcss.com/docs/border-width
|
|
1503
1494
|
*/
|
|
1504
1495
|
"border-w-l": [{
|
|
1505
|
-
"border-l":
|
|
1496
|
+
"border-l": w()
|
|
1506
1497
|
}],
|
|
1507
1498
|
/**
|
|
1508
1499
|
* Divide Width X
|
|
1509
1500
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1510
1501
|
*/
|
|
1511
1502
|
"divide-x": [{
|
|
1512
|
-
"divide-x":
|
|
1503
|
+
"divide-x": w()
|
|
1513
1504
|
}],
|
|
1514
1505
|
/**
|
|
1515
1506
|
* Divide Width X Reverse
|
|
@@ -1521,7 +1512,7 @@ const h = (e) => {
|
|
|
1521
1512
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1522
1513
|
*/
|
|
1523
1514
|
"divide-y": [{
|
|
1524
|
-
"divide-y":
|
|
1515
|
+
"divide-y": w()
|
|
1525
1516
|
}],
|
|
1526
1517
|
/**
|
|
1527
1518
|
* Divide Width Y Reverse
|
|
@@ -1533,112 +1524,112 @@ const h = (e) => {
|
|
|
1533
1524
|
* @see https://tailwindcss.com/docs/border-style
|
|
1534
1525
|
*/
|
|
1535
1526
|
"border-style": [{
|
|
1536
|
-
border: [...
|
|
1527
|
+
border: [...q(), "hidden", "none"]
|
|
1537
1528
|
}],
|
|
1538
1529
|
/**
|
|
1539
1530
|
* Divide Style
|
|
1540
1531
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1541
1532
|
*/
|
|
1542
1533
|
"divide-style": [{
|
|
1543
|
-
divide: [...
|
|
1534
|
+
divide: [...q(), "hidden", "none"]
|
|
1544
1535
|
}],
|
|
1545
1536
|
/**
|
|
1546
1537
|
* Border Color
|
|
1547
1538
|
* @see https://tailwindcss.com/docs/border-color
|
|
1548
1539
|
*/
|
|
1549
1540
|
"border-color": [{
|
|
1550
|
-
border:
|
|
1541
|
+
border: a()
|
|
1551
1542
|
}],
|
|
1552
1543
|
/**
|
|
1553
1544
|
* Border Color X
|
|
1554
1545
|
* @see https://tailwindcss.com/docs/border-color
|
|
1555
1546
|
*/
|
|
1556
1547
|
"border-color-x": [{
|
|
1557
|
-
"border-x":
|
|
1548
|
+
"border-x": a()
|
|
1558
1549
|
}],
|
|
1559
1550
|
/**
|
|
1560
1551
|
* Border Color Y
|
|
1561
1552
|
* @see https://tailwindcss.com/docs/border-color
|
|
1562
1553
|
*/
|
|
1563
1554
|
"border-color-y": [{
|
|
1564
|
-
"border-y":
|
|
1555
|
+
"border-y": a()
|
|
1565
1556
|
}],
|
|
1566
1557
|
/**
|
|
1567
1558
|
* Border Color S
|
|
1568
1559
|
* @see https://tailwindcss.com/docs/border-color
|
|
1569
1560
|
*/
|
|
1570
1561
|
"border-color-s": [{
|
|
1571
|
-
"border-s":
|
|
1562
|
+
"border-s": a()
|
|
1572
1563
|
}],
|
|
1573
1564
|
/**
|
|
1574
1565
|
* Border Color E
|
|
1575
1566
|
* @see https://tailwindcss.com/docs/border-color
|
|
1576
1567
|
*/
|
|
1577
1568
|
"border-color-e": [{
|
|
1578
|
-
"border-e":
|
|
1569
|
+
"border-e": a()
|
|
1579
1570
|
}],
|
|
1580
1571
|
/**
|
|
1581
1572
|
* Border Color Top
|
|
1582
1573
|
* @see https://tailwindcss.com/docs/border-color
|
|
1583
1574
|
*/
|
|
1584
1575
|
"border-color-t": [{
|
|
1585
|
-
"border-t":
|
|
1576
|
+
"border-t": a()
|
|
1586
1577
|
}],
|
|
1587
1578
|
/**
|
|
1588
1579
|
* Border Color Right
|
|
1589
1580
|
* @see https://tailwindcss.com/docs/border-color
|
|
1590
1581
|
*/
|
|
1591
1582
|
"border-color-r": [{
|
|
1592
|
-
"border-r":
|
|
1583
|
+
"border-r": a()
|
|
1593
1584
|
}],
|
|
1594
1585
|
/**
|
|
1595
1586
|
* Border Color Bottom
|
|
1596
1587
|
* @see https://tailwindcss.com/docs/border-color
|
|
1597
1588
|
*/
|
|
1598
1589
|
"border-color-b": [{
|
|
1599
|
-
"border-b":
|
|
1590
|
+
"border-b": a()
|
|
1600
1591
|
}],
|
|
1601
1592
|
/**
|
|
1602
1593
|
* Border Color Left
|
|
1603
1594
|
* @see https://tailwindcss.com/docs/border-color
|
|
1604
1595
|
*/
|
|
1605
1596
|
"border-color-l": [{
|
|
1606
|
-
"border-l":
|
|
1597
|
+
"border-l": a()
|
|
1607
1598
|
}],
|
|
1608
1599
|
/**
|
|
1609
1600
|
* Divide Color
|
|
1610
1601
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1611
1602
|
*/
|
|
1612
1603
|
"divide-color": [{
|
|
1613
|
-
divide:
|
|
1604
|
+
divide: a()
|
|
1614
1605
|
}],
|
|
1615
1606
|
/**
|
|
1616
1607
|
* Outline Style
|
|
1617
1608
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1618
1609
|
*/
|
|
1619
1610
|
"outline-style": [{
|
|
1620
|
-
outline: [...
|
|
1611
|
+
outline: [...q(), "none", "hidden"]
|
|
1621
1612
|
}],
|
|
1622
1613
|
/**
|
|
1623
1614
|
* Outline Offset
|
|
1624
1615
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1625
1616
|
*/
|
|
1626
1617
|
"outline-offset": [{
|
|
1627
|
-
"outline-offset": [
|
|
1618
|
+
"outline-offset": [d, r, o]
|
|
1628
1619
|
}],
|
|
1629
1620
|
/**
|
|
1630
1621
|
* Outline Width
|
|
1631
1622
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1632
1623
|
*/
|
|
1633
1624
|
"outline-w": [{
|
|
1634
|
-
outline: ["",
|
|
1625
|
+
outline: ["", d, W, P]
|
|
1635
1626
|
}],
|
|
1636
1627
|
/**
|
|
1637
1628
|
* Outline Color
|
|
1638
1629
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1639
1630
|
*/
|
|
1640
1631
|
"outline-color": [{
|
|
1641
|
-
outline:
|
|
1632
|
+
outline: a()
|
|
1642
1633
|
}],
|
|
1643
1634
|
// ---------------
|
|
1644
1635
|
// --- Effects ---
|
|
@@ -1652,9 +1643,9 @@ const h = (e) => {
|
|
|
1652
1643
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1653
1644
|
"",
|
|
1654
1645
|
"none",
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1646
|
+
h,
|
|
1647
|
+
K,
|
|
1648
|
+
D
|
|
1658
1649
|
]
|
|
1659
1650
|
}],
|
|
1660
1651
|
/**
|
|
@@ -1662,28 +1653,28 @@ const h = (e) => {
|
|
|
1662
1653
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1663
1654
|
*/
|
|
1664
1655
|
"shadow-color": [{
|
|
1665
|
-
shadow:
|
|
1656
|
+
shadow: a()
|
|
1666
1657
|
}],
|
|
1667
1658
|
/**
|
|
1668
1659
|
* Inset Box Shadow
|
|
1669
1660
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1670
1661
|
*/
|
|
1671
1662
|
"inset-shadow": [{
|
|
1672
|
-
"inset-shadow": ["none",
|
|
1663
|
+
"inset-shadow": ["none", M, K, D]
|
|
1673
1664
|
}],
|
|
1674
1665
|
/**
|
|
1675
1666
|
* Inset Box Shadow Color
|
|
1676
1667
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1677
1668
|
*/
|
|
1678
1669
|
"inset-shadow-color": [{
|
|
1679
|
-
"inset-shadow":
|
|
1670
|
+
"inset-shadow": a()
|
|
1680
1671
|
}],
|
|
1681
1672
|
/**
|
|
1682
1673
|
* Ring Width
|
|
1683
1674
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1684
1675
|
*/
|
|
1685
1676
|
"ring-w": [{
|
|
1686
|
-
ring:
|
|
1677
|
+
ring: w()
|
|
1687
1678
|
}],
|
|
1688
1679
|
/**
|
|
1689
1680
|
* Ring Width Inset
|
|
@@ -1697,7 +1688,7 @@ const h = (e) => {
|
|
|
1697
1688
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1698
1689
|
*/
|
|
1699
1690
|
"ring-color": [{
|
|
1700
|
-
ring:
|
|
1691
|
+
ring: a()
|
|
1701
1692
|
}],
|
|
1702
1693
|
/**
|
|
1703
1694
|
* Ring Offset Width
|
|
@@ -1706,7 +1697,7 @@ const h = (e) => {
|
|
|
1706
1697
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1707
1698
|
*/
|
|
1708
1699
|
"ring-offset-w": [{
|
|
1709
|
-
"ring-offset": [
|
|
1700
|
+
"ring-offset": [d, P]
|
|
1710
1701
|
}],
|
|
1711
1702
|
/**
|
|
1712
1703
|
* Ring Offset Color
|
|
@@ -1715,56 +1706,56 @@ const h = (e) => {
|
|
|
1715
1706
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1716
1707
|
*/
|
|
1717
1708
|
"ring-offset-color": [{
|
|
1718
|
-
"ring-offset":
|
|
1709
|
+
"ring-offset": a()
|
|
1719
1710
|
}],
|
|
1720
1711
|
/**
|
|
1721
1712
|
* Inset Ring Width
|
|
1722
1713
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1723
1714
|
*/
|
|
1724
1715
|
"inset-ring-w": [{
|
|
1725
|
-
"inset-ring":
|
|
1716
|
+
"inset-ring": w()
|
|
1726
1717
|
}],
|
|
1727
1718
|
/**
|
|
1728
1719
|
* Inset Ring Color
|
|
1729
1720
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1730
1721
|
*/
|
|
1731
1722
|
"inset-ring-color": [{
|
|
1732
|
-
"inset-ring":
|
|
1723
|
+
"inset-ring": a()
|
|
1733
1724
|
}],
|
|
1734
1725
|
/**
|
|
1735
1726
|
* Text Shadow
|
|
1736
1727
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1737
1728
|
*/
|
|
1738
1729
|
"text-shadow": [{
|
|
1739
|
-
"text-shadow": ["none",
|
|
1730
|
+
"text-shadow": ["none", O, K, D]
|
|
1740
1731
|
}],
|
|
1741
1732
|
/**
|
|
1742
1733
|
* Text Shadow Color
|
|
1743
1734
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1744
1735
|
*/
|
|
1745
1736
|
"text-shadow-color": [{
|
|
1746
|
-
"text-shadow":
|
|
1737
|
+
"text-shadow": a()
|
|
1747
1738
|
}],
|
|
1748
1739
|
/**
|
|
1749
1740
|
* Opacity
|
|
1750
1741
|
* @see https://tailwindcss.com/docs/opacity
|
|
1751
1742
|
*/
|
|
1752
1743
|
opacity: [{
|
|
1753
|
-
opacity: [
|
|
1744
|
+
opacity: [d, r, o]
|
|
1754
1745
|
}],
|
|
1755
1746
|
/**
|
|
1756
1747
|
* Mix Blend Mode
|
|
1757
1748
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1758
1749
|
*/
|
|
1759
1750
|
"mix-blend": [{
|
|
1760
|
-
"mix-blend": [...
|
|
1751
|
+
"mix-blend": [...pe(), "plus-darker", "plus-lighter"]
|
|
1761
1752
|
}],
|
|
1762
1753
|
/**
|
|
1763
1754
|
* Background Blend Mode
|
|
1764
1755
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1765
1756
|
*/
|
|
1766
1757
|
"bg-blend": [{
|
|
1767
|
-
"bg-blend":
|
|
1758
|
+
"bg-blend": pe()
|
|
1768
1759
|
}],
|
|
1769
1760
|
/**
|
|
1770
1761
|
* Mask Clip
|
|
@@ -1785,106 +1776,106 @@ const h = (e) => {
|
|
|
1785
1776
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1786
1777
|
*/
|
|
1787
1778
|
"mask-image-linear-pos": [{
|
|
1788
|
-
"mask-linear": [
|
|
1779
|
+
"mask-linear": [d]
|
|
1789
1780
|
}],
|
|
1790
1781
|
"mask-image-linear-from-pos": [{
|
|
1791
|
-
"mask-linear-from":
|
|
1782
|
+
"mask-linear-from": b()
|
|
1792
1783
|
}],
|
|
1793
1784
|
"mask-image-linear-to-pos": [{
|
|
1794
|
-
"mask-linear-to":
|
|
1785
|
+
"mask-linear-to": b()
|
|
1795
1786
|
}],
|
|
1796
1787
|
"mask-image-linear-from-color": [{
|
|
1797
|
-
"mask-linear-from":
|
|
1788
|
+
"mask-linear-from": a()
|
|
1798
1789
|
}],
|
|
1799
1790
|
"mask-image-linear-to-color": [{
|
|
1800
|
-
"mask-linear-to":
|
|
1791
|
+
"mask-linear-to": a()
|
|
1801
1792
|
}],
|
|
1802
1793
|
"mask-image-t-from-pos": [{
|
|
1803
|
-
"mask-t-from":
|
|
1794
|
+
"mask-t-from": b()
|
|
1804
1795
|
}],
|
|
1805
1796
|
"mask-image-t-to-pos": [{
|
|
1806
|
-
"mask-t-to":
|
|
1797
|
+
"mask-t-to": b()
|
|
1807
1798
|
}],
|
|
1808
1799
|
"mask-image-t-from-color": [{
|
|
1809
|
-
"mask-t-from":
|
|
1800
|
+
"mask-t-from": a()
|
|
1810
1801
|
}],
|
|
1811
1802
|
"mask-image-t-to-color": [{
|
|
1812
|
-
"mask-t-to":
|
|
1803
|
+
"mask-t-to": a()
|
|
1813
1804
|
}],
|
|
1814
1805
|
"mask-image-r-from-pos": [{
|
|
1815
|
-
"mask-r-from":
|
|
1806
|
+
"mask-r-from": b()
|
|
1816
1807
|
}],
|
|
1817
1808
|
"mask-image-r-to-pos": [{
|
|
1818
|
-
"mask-r-to":
|
|
1809
|
+
"mask-r-to": b()
|
|
1819
1810
|
}],
|
|
1820
1811
|
"mask-image-r-from-color": [{
|
|
1821
|
-
"mask-r-from":
|
|
1812
|
+
"mask-r-from": a()
|
|
1822
1813
|
}],
|
|
1823
1814
|
"mask-image-r-to-color": [{
|
|
1824
|
-
"mask-r-to":
|
|
1815
|
+
"mask-r-to": a()
|
|
1825
1816
|
}],
|
|
1826
1817
|
"mask-image-b-from-pos": [{
|
|
1827
|
-
"mask-b-from":
|
|
1818
|
+
"mask-b-from": b()
|
|
1828
1819
|
}],
|
|
1829
1820
|
"mask-image-b-to-pos": [{
|
|
1830
|
-
"mask-b-to":
|
|
1821
|
+
"mask-b-to": b()
|
|
1831
1822
|
}],
|
|
1832
1823
|
"mask-image-b-from-color": [{
|
|
1833
|
-
"mask-b-from":
|
|
1824
|
+
"mask-b-from": a()
|
|
1834
1825
|
}],
|
|
1835
1826
|
"mask-image-b-to-color": [{
|
|
1836
|
-
"mask-b-to":
|
|
1827
|
+
"mask-b-to": a()
|
|
1837
1828
|
}],
|
|
1838
1829
|
"mask-image-l-from-pos": [{
|
|
1839
|
-
"mask-l-from":
|
|
1830
|
+
"mask-l-from": b()
|
|
1840
1831
|
}],
|
|
1841
1832
|
"mask-image-l-to-pos": [{
|
|
1842
|
-
"mask-l-to":
|
|
1833
|
+
"mask-l-to": b()
|
|
1843
1834
|
}],
|
|
1844
1835
|
"mask-image-l-from-color": [{
|
|
1845
|
-
"mask-l-from":
|
|
1836
|
+
"mask-l-from": a()
|
|
1846
1837
|
}],
|
|
1847
1838
|
"mask-image-l-to-color": [{
|
|
1848
|
-
"mask-l-to":
|
|
1839
|
+
"mask-l-to": a()
|
|
1849
1840
|
}],
|
|
1850
1841
|
"mask-image-x-from-pos": [{
|
|
1851
|
-
"mask-x-from":
|
|
1842
|
+
"mask-x-from": b()
|
|
1852
1843
|
}],
|
|
1853
1844
|
"mask-image-x-to-pos": [{
|
|
1854
|
-
"mask-x-to":
|
|
1845
|
+
"mask-x-to": b()
|
|
1855
1846
|
}],
|
|
1856
1847
|
"mask-image-x-from-color": [{
|
|
1857
|
-
"mask-x-from":
|
|
1848
|
+
"mask-x-from": a()
|
|
1858
1849
|
}],
|
|
1859
1850
|
"mask-image-x-to-color": [{
|
|
1860
|
-
"mask-x-to":
|
|
1851
|
+
"mask-x-to": a()
|
|
1861
1852
|
}],
|
|
1862
1853
|
"mask-image-y-from-pos": [{
|
|
1863
|
-
"mask-y-from":
|
|
1854
|
+
"mask-y-from": b()
|
|
1864
1855
|
}],
|
|
1865
1856
|
"mask-image-y-to-pos": [{
|
|
1866
|
-
"mask-y-to":
|
|
1857
|
+
"mask-y-to": b()
|
|
1867
1858
|
}],
|
|
1868
1859
|
"mask-image-y-from-color": [{
|
|
1869
|
-
"mask-y-from":
|
|
1860
|
+
"mask-y-from": a()
|
|
1870
1861
|
}],
|
|
1871
1862
|
"mask-image-y-to-color": [{
|
|
1872
|
-
"mask-y-to":
|
|
1863
|
+
"mask-y-to": a()
|
|
1873
1864
|
}],
|
|
1874
1865
|
"mask-image-radial": [{
|
|
1875
|
-
"mask-radial": [
|
|
1866
|
+
"mask-radial": [r, o]
|
|
1876
1867
|
}],
|
|
1877
1868
|
"mask-image-radial-from-pos": [{
|
|
1878
|
-
"mask-radial-from":
|
|
1869
|
+
"mask-radial-from": b()
|
|
1879
1870
|
}],
|
|
1880
1871
|
"mask-image-radial-to-pos": [{
|
|
1881
|
-
"mask-radial-to":
|
|
1872
|
+
"mask-radial-to": b()
|
|
1882
1873
|
}],
|
|
1883
1874
|
"mask-image-radial-from-color": [{
|
|
1884
|
-
"mask-radial-from":
|
|
1875
|
+
"mask-radial-from": a()
|
|
1885
1876
|
}],
|
|
1886
1877
|
"mask-image-radial-to-color": [{
|
|
1887
|
-
"mask-radial-to":
|
|
1878
|
+
"mask-radial-to": a()
|
|
1888
1879
|
}],
|
|
1889
1880
|
"mask-image-radial-shape": [{
|
|
1890
1881
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1896,22 +1887,22 @@ const h = (e) => {
|
|
|
1896
1887
|
}]
|
|
1897
1888
|
}],
|
|
1898
1889
|
"mask-image-radial-pos": [{
|
|
1899
|
-
"mask-radial-at":
|
|
1890
|
+
"mask-radial-at": T()
|
|
1900
1891
|
}],
|
|
1901
1892
|
"mask-image-conic-pos": [{
|
|
1902
|
-
"mask-conic": [
|
|
1893
|
+
"mask-conic": [d]
|
|
1903
1894
|
}],
|
|
1904
1895
|
"mask-image-conic-from-pos": [{
|
|
1905
|
-
"mask-conic-from":
|
|
1896
|
+
"mask-conic-from": b()
|
|
1906
1897
|
}],
|
|
1907
1898
|
"mask-image-conic-to-pos": [{
|
|
1908
|
-
"mask-conic-to":
|
|
1899
|
+
"mask-conic-to": b()
|
|
1909
1900
|
}],
|
|
1910
1901
|
"mask-image-conic-from-color": [{
|
|
1911
|
-
"mask-conic-from":
|
|
1902
|
+
"mask-conic-from": a()
|
|
1912
1903
|
}],
|
|
1913
1904
|
"mask-image-conic-to-color": [{
|
|
1914
|
-
"mask-conic-to":
|
|
1905
|
+
"mask-conic-to": a()
|
|
1915
1906
|
}],
|
|
1916
1907
|
/**
|
|
1917
1908
|
* Mask Mode
|
|
@@ -1932,21 +1923,21 @@ const h = (e) => {
|
|
|
1932
1923
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1933
1924
|
*/
|
|
1934
1925
|
"mask-position": [{
|
|
1935
|
-
mask:
|
|
1926
|
+
mask: ce()
|
|
1936
1927
|
}],
|
|
1937
1928
|
/**
|
|
1938
1929
|
* Mask Repeat
|
|
1939
1930
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1940
1931
|
*/
|
|
1941
1932
|
"mask-repeat": [{
|
|
1942
|
-
mask:
|
|
1933
|
+
mask: de()
|
|
1943
1934
|
}],
|
|
1944
1935
|
/**
|
|
1945
1936
|
* Mask Size
|
|
1946
1937
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1947
1938
|
*/
|
|
1948
1939
|
"mask-size": [{
|
|
1949
|
-
mask:
|
|
1940
|
+
mask: me()
|
|
1950
1941
|
}],
|
|
1951
1942
|
/**
|
|
1952
1943
|
* Mask Type
|
|
@@ -1960,7 +1951,7 @@ const h = (e) => {
|
|
|
1960
1951
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1961
1952
|
*/
|
|
1962
1953
|
"mask-image": [{
|
|
1963
|
-
mask: ["none",
|
|
1954
|
+
mask: ["none", r, o]
|
|
1964
1955
|
}],
|
|
1965
1956
|
// ---------------
|
|
1966
1957
|
// --- Filters ---
|
|
@@ -1974,8 +1965,8 @@ const h = (e) => {
|
|
|
1974
1965
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1975
1966
|
"",
|
|
1976
1967
|
"none",
|
|
1977
|
-
|
|
1978
|
-
|
|
1968
|
+
r,
|
|
1969
|
+
o
|
|
1979
1970
|
]
|
|
1980
1971
|
}],
|
|
1981
1972
|
/**
|
|
@@ -1983,21 +1974,21 @@ const h = (e) => {
|
|
|
1983
1974
|
* @see https://tailwindcss.com/docs/blur
|
|
1984
1975
|
*/
|
|
1985
1976
|
blur: [{
|
|
1986
|
-
blur:
|
|
1977
|
+
blur: ue()
|
|
1987
1978
|
}],
|
|
1988
1979
|
/**
|
|
1989
1980
|
* Brightness
|
|
1990
1981
|
* @see https://tailwindcss.com/docs/brightness
|
|
1991
1982
|
*/
|
|
1992
1983
|
brightness: [{
|
|
1993
|
-
brightness: [
|
|
1984
|
+
brightness: [d, r, o]
|
|
1994
1985
|
}],
|
|
1995
1986
|
/**
|
|
1996
1987
|
* Contrast
|
|
1997
1988
|
* @see https://tailwindcss.com/docs/contrast
|
|
1998
1989
|
*/
|
|
1999
1990
|
contrast: [{
|
|
2000
|
-
contrast: [
|
|
1991
|
+
contrast: [d, r, o]
|
|
2001
1992
|
}],
|
|
2002
1993
|
/**
|
|
2003
1994
|
* Drop Shadow
|
|
@@ -2008,9 +1999,9 @@ const h = (e) => {
|
|
|
2008
1999
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2009
2000
|
"",
|
|
2010
2001
|
"none",
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2002
|
+
F,
|
|
2003
|
+
K,
|
|
2004
|
+
D
|
|
2014
2005
|
]
|
|
2015
2006
|
}],
|
|
2016
2007
|
/**
|
|
@@ -2018,42 +2009,42 @@ const h = (e) => {
|
|
|
2018
2009
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2019
2010
|
*/
|
|
2020
2011
|
"drop-shadow-color": [{
|
|
2021
|
-
"drop-shadow":
|
|
2012
|
+
"drop-shadow": a()
|
|
2022
2013
|
}],
|
|
2023
2014
|
/**
|
|
2024
2015
|
* Grayscale
|
|
2025
2016
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2026
2017
|
*/
|
|
2027
2018
|
grayscale: [{
|
|
2028
|
-
grayscale: ["",
|
|
2019
|
+
grayscale: ["", d, r, o]
|
|
2029
2020
|
}],
|
|
2030
2021
|
/**
|
|
2031
2022
|
* Hue Rotate
|
|
2032
2023
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2033
2024
|
*/
|
|
2034
2025
|
"hue-rotate": [{
|
|
2035
|
-
"hue-rotate": [
|
|
2026
|
+
"hue-rotate": [d, r, o]
|
|
2036
2027
|
}],
|
|
2037
2028
|
/**
|
|
2038
2029
|
* Invert
|
|
2039
2030
|
* @see https://tailwindcss.com/docs/invert
|
|
2040
2031
|
*/
|
|
2041
2032
|
invert: [{
|
|
2042
|
-
invert: ["",
|
|
2033
|
+
invert: ["", d, r, o]
|
|
2043
2034
|
}],
|
|
2044
2035
|
/**
|
|
2045
2036
|
* Saturate
|
|
2046
2037
|
* @see https://tailwindcss.com/docs/saturate
|
|
2047
2038
|
*/
|
|
2048
2039
|
saturate: [{
|
|
2049
|
-
saturate: [
|
|
2040
|
+
saturate: [d, r, o]
|
|
2050
2041
|
}],
|
|
2051
2042
|
/**
|
|
2052
2043
|
* Sepia
|
|
2053
2044
|
* @see https://tailwindcss.com/docs/sepia
|
|
2054
2045
|
*/
|
|
2055
2046
|
sepia: [{
|
|
2056
|
-
sepia: ["",
|
|
2047
|
+
sepia: ["", d, r, o]
|
|
2057
2048
|
}],
|
|
2058
2049
|
/**
|
|
2059
2050
|
* Backdrop Filter
|
|
@@ -2064,8 +2055,8 @@ const h = (e) => {
|
|
|
2064
2055
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2065
2056
|
"",
|
|
2066
2057
|
"none",
|
|
2067
|
-
|
|
2068
|
-
|
|
2058
|
+
r,
|
|
2059
|
+
o
|
|
2069
2060
|
]
|
|
2070
2061
|
}],
|
|
2071
2062
|
/**
|
|
@@ -2073,63 +2064,63 @@ const h = (e) => {
|
|
|
2073
2064
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2074
2065
|
*/
|
|
2075
2066
|
"backdrop-blur": [{
|
|
2076
|
-
"backdrop-blur":
|
|
2067
|
+
"backdrop-blur": ue()
|
|
2077
2068
|
}],
|
|
2078
2069
|
/**
|
|
2079
2070
|
* Backdrop Brightness
|
|
2080
2071
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2081
2072
|
*/
|
|
2082
2073
|
"backdrop-brightness": [{
|
|
2083
|
-
"backdrop-brightness": [
|
|
2074
|
+
"backdrop-brightness": [d, r, o]
|
|
2084
2075
|
}],
|
|
2085
2076
|
/**
|
|
2086
2077
|
* Backdrop Contrast
|
|
2087
2078
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2088
2079
|
*/
|
|
2089
2080
|
"backdrop-contrast": [{
|
|
2090
|
-
"backdrop-contrast": [
|
|
2081
|
+
"backdrop-contrast": [d, r, o]
|
|
2091
2082
|
}],
|
|
2092
2083
|
/**
|
|
2093
2084
|
* Backdrop Grayscale
|
|
2094
2085
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2095
2086
|
*/
|
|
2096
2087
|
"backdrop-grayscale": [{
|
|
2097
|
-
"backdrop-grayscale": ["",
|
|
2088
|
+
"backdrop-grayscale": ["", d, r, o]
|
|
2098
2089
|
}],
|
|
2099
2090
|
/**
|
|
2100
2091
|
* Backdrop Hue Rotate
|
|
2101
2092
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2102
2093
|
*/
|
|
2103
2094
|
"backdrop-hue-rotate": [{
|
|
2104
|
-
"backdrop-hue-rotate": [
|
|
2095
|
+
"backdrop-hue-rotate": [d, r, o]
|
|
2105
2096
|
}],
|
|
2106
2097
|
/**
|
|
2107
2098
|
* Backdrop Invert
|
|
2108
2099
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2109
2100
|
*/
|
|
2110
2101
|
"backdrop-invert": [{
|
|
2111
|
-
"backdrop-invert": ["",
|
|
2102
|
+
"backdrop-invert": ["", d, r, o]
|
|
2112
2103
|
}],
|
|
2113
2104
|
/**
|
|
2114
2105
|
* Backdrop Opacity
|
|
2115
2106
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2116
2107
|
*/
|
|
2117
2108
|
"backdrop-opacity": [{
|
|
2118
|
-
"backdrop-opacity": [
|
|
2109
|
+
"backdrop-opacity": [d, r, o]
|
|
2119
2110
|
}],
|
|
2120
2111
|
/**
|
|
2121
2112
|
* Backdrop Saturate
|
|
2122
2113
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2123
2114
|
*/
|
|
2124
2115
|
"backdrop-saturate": [{
|
|
2125
|
-
"backdrop-saturate": [
|
|
2116
|
+
"backdrop-saturate": [d, r, o]
|
|
2126
2117
|
}],
|
|
2127
2118
|
/**
|
|
2128
2119
|
* Backdrop Sepia
|
|
2129
2120
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2130
2121
|
*/
|
|
2131
2122
|
"backdrop-sepia": [{
|
|
2132
|
-
"backdrop-sepia": ["",
|
|
2123
|
+
"backdrop-sepia": ["", d, r, o]
|
|
2133
2124
|
}],
|
|
2134
2125
|
// --------------
|
|
2135
2126
|
// --- Tables ---
|
|
@@ -2146,21 +2137,21 @@ const h = (e) => {
|
|
|
2146
2137
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2147
2138
|
*/
|
|
2148
2139
|
"border-spacing": [{
|
|
2149
|
-
"border-spacing":
|
|
2140
|
+
"border-spacing": l()
|
|
2150
2141
|
}],
|
|
2151
2142
|
/**
|
|
2152
2143
|
* Border Spacing X
|
|
2153
2144
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2154
2145
|
*/
|
|
2155
2146
|
"border-spacing-x": [{
|
|
2156
|
-
"border-spacing-x":
|
|
2147
|
+
"border-spacing-x": l()
|
|
2157
2148
|
}],
|
|
2158
2149
|
/**
|
|
2159
2150
|
* Border Spacing Y
|
|
2160
2151
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2161
2152
|
*/
|
|
2162
2153
|
"border-spacing-y": [{
|
|
2163
|
-
"border-spacing-y":
|
|
2154
|
+
"border-spacing-y": l()
|
|
2164
2155
|
}],
|
|
2165
2156
|
/**
|
|
2166
2157
|
* Table Layout
|
|
@@ -2184,7 +2175,7 @@ const h = (e) => {
|
|
|
2184
2175
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2185
2176
|
*/
|
|
2186
2177
|
transition: [{
|
|
2187
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2178
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", r, o]
|
|
2188
2179
|
}],
|
|
2189
2180
|
/**
|
|
2190
2181
|
* Transition Behavior
|
|
@@ -2198,28 +2189,28 @@ const h = (e) => {
|
|
|
2198
2189
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2199
2190
|
*/
|
|
2200
2191
|
duration: [{
|
|
2201
|
-
duration: [
|
|
2192
|
+
duration: [d, "initial", r, o]
|
|
2202
2193
|
}],
|
|
2203
2194
|
/**
|
|
2204
2195
|
* Transition Timing Function
|
|
2205
2196
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2206
2197
|
*/
|
|
2207
2198
|
ease: [{
|
|
2208
|
-
ease: ["linear", "initial",
|
|
2199
|
+
ease: ["linear", "initial", A, r, o]
|
|
2209
2200
|
}],
|
|
2210
2201
|
/**
|
|
2211
2202
|
* Transition Delay
|
|
2212
2203
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2213
2204
|
*/
|
|
2214
2205
|
delay: [{
|
|
2215
|
-
delay: [
|
|
2206
|
+
delay: [d, r, o]
|
|
2216
2207
|
}],
|
|
2217
2208
|
/**
|
|
2218
2209
|
* Animation
|
|
2219
2210
|
* @see https://tailwindcss.com/docs/animation
|
|
2220
2211
|
*/
|
|
2221
2212
|
animate: [{
|
|
2222
|
-
animate: ["none",
|
|
2213
|
+
animate: ["none", $, r, o]
|
|
2223
2214
|
}],
|
|
2224
2215
|
// ------------------
|
|
2225
2216
|
// --- Transforms ---
|
|
@@ -2236,70 +2227,70 @@ const h = (e) => {
|
|
|
2236
2227
|
* @see https://tailwindcss.com/docs/perspective
|
|
2237
2228
|
*/
|
|
2238
2229
|
perspective: [{
|
|
2239
|
-
perspective: [
|
|
2230
|
+
perspective: [y, r, o]
|
|
2240
2231
|
}],
|
|
2241
2232
|
/**
|
|
2242
2233
|
* Perspective Origin
|
|
2243
2234
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2244
2235
|
*/
|
|
2245
2236
|
"perspective-origin": [{
|
|
2246
|
-
"perspective-origin":
|
|
2237
|
+
"perspective-origin": E()
|
|
2247
2238
|
}],
|
|
2248
2239
|
/**
|
|
2249
2240
|
* Rotate
|
|
2250
2241
|
* @see https://tailwindcss.com/docs/rotate
|
|
2251
2242
|
*/
|
|
2252
2243
|
rotate: [{
|
|
2253
|
-
rotate:
|
|
2244
|
+
rotate: H()
|
|
2254
2245
|
}],
|
|
2255
2246
|
/**
|
|
2256
2247
|
* Rotate X
|
|
2257
2248
|
* @see https://tailwindcss.com/docs/rotate
|
|
2258
2249
|
*/
|
|
2259
2250
|
"rotate-x": [{
|
|
2260
|
-
"rotate-x":
|
|
2251
|
+
"rotate-x": H()
|
|
2261
2252
|
}],
|
|
2262
2253
|
/**
|
|
2263
2254
|
* Rotate Y
|
|
2264
2255
|
* @see https://tailwindcss.com/docs/rotate
|
|
2265
2256
|
*/
|
|
2266
2257
|
"rotate-y": [{
|
|
2267
|
-
"rotate-y":
|
|
2258
|
+
"rotate-y": H()
|
|
2268
2259
|
}],
|
|
2269
2260
|
/**
|
|
2270
2261
|
* Rotate Z
|
|
2271
2262
|
* @see https://tailwindcss.com/docs/rotate
|
|
2272
2263
|
*/
|
|
2273
2264
|
"rotate-z": [{
|
|
2274
|
-
"rotate-z":
|
|
2265
|
+
"rotate-z": H()
|
|
2275
2266
|
}],
|
|
2276
2267
|
/**
|
|
2277
2268
|
* Scale
|
|
2278
2269
|
* @see https://tailwindcss.com/docs/scale
|
|
2279
2270
|
*/
|
|
2280
2271
|
scale: [{
|
|
2281
|
-
scale:
|
|
2272
|
+
scale: J()
|
|
2282
2273
|
}],
|
|
2283
2274
|
/**
|
|
2284
2275
|
* Scale X
|
|
2285
2276
|
* @see https://tailwindcss.com/docs/scale
|
|
2286
2277
|
*/
|
|
2287
2278
|
"scale-x": [{
|
|
2288
|
-
"scale-x":
|
|
2279
|
+
"scale-x": J()
|
|
2289
2280
|
}],
|
|
2290
2281
|
/**
|
|
2291
2282
|
* Scale Y
|
|
2292
2283
|
* @see https://tailwindcss.com/docs/scale
|
|
2293
2284
|
*/
|
|
2294
2285
|
"scale-y": [{
|
|
2295
|
-
"scale-y":
|
|
2286
|
+
"scale-y": J()
|
|
2296
2287
|
}],
|
|
2297
2288
|
/**
|
|
2298
2289
|
* Scale Z
|
|
2299
2290
|
* @see https://tailwindcss.com/docs/scale
|
|
2300
2291
|
*/
|
|
2301
2292
|
"scale-z": [{
|
|
2302
|
-
"scale-z":
|
|
2293
|
+
"scale-z": J()
|
|
2303
2294
|
}],
|
|
2304
2295
|
/**
|
|
2305
2296
|
* Scale 3D
|
|
@@ -2311,35 +2302,35 @@ const h = (e) => {
|
|
|
2311
2302
|
* @see https://tailwindcss.com/docs/skew
|
|
2312
2303
|
*/
|
|
2313
2304
|
skew: [{
|
|
2314
|
-
skew:
|
|
2305
|
+
skew: Z()
|
|
2315
2306
|
}],
|
|
2316
2307
|
/**
|
|
2317
2308
|
* Skew X
|
|
2318
2309
|
* @see https://tailwindcss.com/docs/skew
|
|
2319
2310
|
*/
|
|
2320
2311
|
"skew-x": [{
|
|
2321
|
-
"skew-x":
|
|
2312
|
+
"skew-x": Z()
|
|
2322
2313
|
}],
|
|
2323
2314
|
/**
|
|
2324
2315
|
* Skew Y
|
|
2325
2316
|
* @see https://tailwindcss.com/docs/skew
|
|
2326
2317
|
*/
|
|
2327
2318
|
"skew-y": [{
|
|
2328
|
-
"skew-y":
|
|
2319
|
+
"skew-y": Z()
|
|
2329
2320
|
}],
|
|
2330
2321
|
/**
|
|
2331
2322
|
* Transform
|
|
2332
2323
|
* @see https://tailwindcss.com/docs/transform
|
|
2333
2324
|
*/
|
|
2334
2325
|
transform: [{
|
|
2335
|
-
transform: [
|
|
2326
|
+
transform: [r, o, "", "none", "gpu", "cpu"]
|
|
2336
2327
|
}],
|
|
2337
2328
|
/**
|
|
2338
2329
|
* Transform Origin
|
|
2339
2330
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2340
2331
|
*/
|
|
2341
2332
|
"transform-origin": [{
|
|
2342
|
-
origin:
|
|
2333
|
+
origin: E()
|
|
2343
2334
|
}],
|
|
2344
2335
|
/**
|
|
2345
2336
|
* Transform Style
|
|
@@ -2353,28 +2344,28 @@ const h = (e) => {
|
|
|
2353
2344
|
* @see https://tailwindcss.com/docs/translate
|
|
2354
2345
|
*/
|
|
2355
2346
|
translate: [{
|
|
2356
|
-
translate:
|
|
2347
|
+
translate: X()
|
|
2357
2348
|
}],
|
|
2358
2349
|
/**
|
|
2359
2350
|
* Translate X
|
|
2360
2351
|
* @see https://tailwindcss.com/docs/translate
|
|
2361
2352
|
*/
|
|
2362
2353
|
"translate-x": [{
|
|
2363
|
-
"translate-x":
|
|
2354
|
+
"translate-x": X()
|
|
2364
2355
|
}],
|
|
2365
2356
|
/**
|
|
2366
2357
|
* Translate Y
|
|
2367
2358
|
* @see https://tailwindcss.com/docs/translate
|
|
2368
2359
|
*/
|
|
2369
2360
|
"translate-y": [{
|
|
2370
|
-
"translate-y":
|
|
2361
|
+
"translate-y": X()
|
|
2371
2362
|
}],
|
|
2372
2363
|
/**
|
|
2373
2364
|
* Translate Z
|
|
2374
2365
|
* @see https://tailwindcss.com/docs/translate
|
|
2375
2366
|
*/
|
|
2376
2367
|
"translate-z": [{
|
|
2377
|
-
"translate-z":
|
|
2368
|
+
"translate-z": X()
|
|
2378
2369
|
}],
|
|
2379
2370
|
/**
|
|
2380
2371
|
* Translate None
|
|
@@ -2389,7 +2380,7 @@ const h = (e) => {
|
|
|
2389
2380
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2390
2381
|
*/
|
|
2391
2382
|
accent: [{
|
|
2392
|
-
accent:
|
|
2383
|
+
accent: a()
|
|
2393
2384
|
}],
|
|
2394
2385
|
/**
|
|
2395
2386
|
* Appearance
|
|
@@ -2403,7 +2394,7 @@ const h = (e) => {
|
|
|
2403
2394
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2404
2395
|
*/
|
|
2405
2396
|
"caret-color": [{
|
|
2406
|
-
caret:
|
|
2397
|
+
caret: a()
|
|
2407
2398
|
}],
|
|
2408
2399
|
/**
|
|
2409
2400
|
* Color Scheme
|
|
@@ -2417,7 +2408,7 @@ const h = (e) => {
|
|
|
2417
2408
|
* @see https://tailwindcss.com/docs/cursor
|
|
2418
2409
|
*/
|
|
2419
2410
|
cursor: [{
|
|
2420
|
-
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",
|
|
2411
|
+
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", r, o]
|
|
2421
2412
|
}],
|
|
2422
2413
|
/**
|
|
2423
2414
|
* Field Sizing
|
|
@@ -2452,126 +2443,126 @@ const h = (e) => {
|
|
|
2452
2443
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2453
2444
|
*/
|
|
2454
2445
|
"scroll-m": [{
|
|
2455
|
-
"scroll-m":
|
|
2446
|
+
"scroll-m": l()
|
|
2456
2447
|
}],
|
|
2457
2448
|
/**
|
|
2458
2449
|
* Scroll Margin X
|
|
2459
2450
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2460
2451
|
*/
|
|
2461
2452
|
"scroll-mx": [{
|
|
2462
|
-
"scroll-mx":
|
|
2453
|
+
"scroll-mx": l()
|
|
2463
2454
|
}],
|
|
2464
2455
|
/**
|
|
2465
2456
|
* Scroll Margin Y
|
|
2466
2457
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2467
2458
|
*/
|
|
2468
2459
|
"scroll-my": [{
|
|
2469
|
-
"scroll-my":
|
|
2460
|
+
"scroll-my": l()
|
|
2470
2461
|
}],
|
|
2471
2462
|
/**
|
|
2472
2463
|
* Scroll Margin Start
|
|
2473
2464
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2474
2465
|
*/
|
|
2475
2466
|
"scroll-ms": [{
|
|
2476
|
-
"scroll-ms":
|
|
2467
|
+
"scroll-ms": l()
|
|
2477
2468
|
}],
|
|
2478
2469
|
/**
|
|
2479
2470
|
* Scroll Margin End
|
|
2480
2471
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2481
2472
|
*/
|
|
2482
2473
|
"scroll-me": [{
|
|
2483
|
-
"scroll-me":
|
|
2474
|
+
"scroll-me": l()
|
|
2484
2475
|
}],
|
|
2485
2476
|
/**
|
|
2486
2477
|
* Scroll Margin Top
|
|
2487
2478
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2488
2479
|
*/
|
|
2489
2480
|
"scroll-mt": [{
|
|
2490
|
-
"scroll-mt":
|
|
2481
|
+
"scroll-mt": l()
|
|
2491
2482
|
}],
|
|
2492
2483
|
/**
|
|
2493
2484
|
* Scroll Margin Right
|
|
2494
2485
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2495
2486
|
*/
|
|
2496
2487
|
"scroll-mr": [{
|
|
2497
|
-
"scroll-mr":
|
|
2488
|
+
"scroll-mr": l()
|
|
2498
2489
|
}],
|
|
2499
2490
|
/**
|
|
2500
2491
|
* Scroll Margin Bottom
|
|
2501
2492
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2502
2493
|
*/
|
|
2503
2494
|
"scroll-mb": [{
|
|
2504
|
-
"scroll-mb":
|
|
2495
|
+
"scroll-mb": l()
|
|
2505
2496
|
}],
|
|
2506
2497
|
/**
|
|
2507
2498
|
* Scroll Margin Left
|
|
2508
2499
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2509
2500
|
*/
|
|
2510
2501
|
"scroll-ml": [{
|
|
2511
|
-
"scroll-ml":
|
|
2502
|
+
"scroll-ml": l()
|
|
2512
2503
|
}],
|
|
2513
2504
|
/**
|
|
2514
2505
|
* Scroll Padding
|
|
2515
2506
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2516
2507
|
*/
|
|
2517
2508
|
"scroll-p": [{
|
|
2518
|
-
"scroll-p":
|
|
2509
|
+
"scroll-p": l()
|
|
2519
2510
|
}],
|
|
2520
2511
|
/**
|
|
2521
2512
|
* Scroll Padding X
|
|
2522
2513
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2523
2514
|
*/
|
|
2524
2515
|
"scroll-px": [{
|
|
2525
|
-
"scroll-px":
|
|
2516
|
+
"scroll-px": l()
|
|
2526
2517
|
}],
|
|
2527
2518
|
/**
|
|
2528
2519
|
* Scroll Padding Y
|
|
2529
2520
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2530
2521
|
*/
|
|
2531
2522
|
"scroll-py": [{
|
|
2532
|
-
"scroll-py":
|
|
2523
|
+
"scroll-py": l()
|
|
2533
2524
|
}],
|
|
2534
2525
|
/**
|
|
2535
2526
|
* Scroll Padding Start
|
|
2536
2527
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2537
2528
|
*/
|
|
2538
2529
|
"scroll-ps": [{
|
|
2539
|
-
"scroll-ps":
|
|
2530
|
+
"scroll-ps": l()
|
|
2540
2531
|
}],
|
|
2541
2532
|
/**
|
|
2542
2533
|
* Scroll Padding End
|
|
2543
2534
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2544
2535
|
*/
|
|
2545
2536
|
"scroll-pe": [{
|
|
2546
|
-
"scroll-pe":
|
|
2537
|
+
"scroll-pe": l()
|
|
2547
2538
|
}],
|
|
2548
2539
|
/**
|
|
2549
2540
|
* Scroll Padding Top
|
|
2550
2541
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2551
2542
|
*/
|
|
2552
2543
|
"scroll-pt": [{
|
|
2553
|
-
"scroll-pt":
|
|
2544
|
+
"scroll-pt": l()
|
|
2554
2545
|
}],
|
|
2555
2546
|
/**
|
|
2556
2547
|
* Scroll Padding Right
|
|
2557
2548
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2558
2549
|
*/
|
|
2559
2550
|
"scroll-pr": [{
|
|
2560
|
-
"scroll-pr":
|
|
2551
|
+
"scroll-pr": l()
|
|
2561
2552
|
}],
|
|
2562
2553
|
/**
|
|
2563
2554
|
* Scroll Padding Bottom
|
|
2564
2555
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2565
2556
|
*/
|
|
2566
2557
|
"scroll-pb": [{
|
|
2567
|
-
"scroll-pb":
|
|
2558
|
+
"scroll-pb": l()
|
|
2568
2559
|
}],
|
|
2569
2560
|
/**
|
|
2570
2561
|
* Scroll Padding Left
|
|
2571
2562
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2572
2563
|
*/
|
|
2573
2564
|
"scroll-pl": [{
|
|
2574
|
-
"scroll-pl":
|
|
2565
|
+
"scroll-pl": l()
|
|
2575
2566
|
}],
|
|
2576
2567
|
/**
|
|
2577
2568
|
* Scroll Snap Align
|
|
@@ -2639,7 +2630,7 @@ const h = (e) => {
|
|
|
2639
2630
|
* @see https://tailwindcss.com/docs/will-change
|
|
2640
2631
|
*/
|
|
2641
2632
|
"will-change": [{
|
|
2642
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2633
|
+
"will-change": ["auto", "scroll", "contents", "transform", r, o]
|
|
2643
2634
|
}],
|
|
2644
2635
|
// -----------
|
|
2645
2636
|
// --- SVG ---
|
|
@@ -2649,21 +2640,21 @@ const h = (e) => {
|
|
|
2649
2640
|
* @see https://tailwindcss.com/docs/fill
|
|
2650
2641
|
*/
|
|
2651
2642
|
fill: [{
|
|
2652
|
-
fill: ["none", ...
|
|
2643
|
+
fill: ["none", ...a()]
|
|
2653
2644
|
}],
|
|
2654
2645
|
/**
|
|
2655
2646
|
* Stroke Width
|
|
2656
2647
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2657
2648
|
*/
|
|
2658
2649
|
"stroke-w": [{
|
|
2659
|
-
stroke: [
|
|
2650
|
+
stroke: [d, W, P, oe]
|
|
2660
2651
|
}],
|
|
2661
2652
|
/**
|
|
2662
2653
|
* Stroke
|
|
2663
2654
|
* @see https://tailwindcss.com/docs/stroke
|
|
2664
2655
|
*/
|
|
2665
2656
|
stroke: [{
|
|
2666
|
-
stroke: ["none", ...
|
|
2657
|
+
stroke: ["none", ...a()]
|
|
2667
2658
|
}],
|
|
2668
2659
|
// ---------------------
|
|
2669
2660
|
// --- Accessibility ---
|
|
@@ -2731,911 +2722,10 @@ const h = (e) => {
|
|
|
2731
2722
|
},
|
|
2732
2723
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2733
2724
|
};
|
|
2734
|
-
},
|
|
2735
|
-
function
|
|
2736
|
-
return
|
|
2737
|
-
}
|
|
2738
|
-
const Ar = ({ className: e = "", children: t, element: r, ...o }) => /* @__PURE__ */ m(
|
|
2739
|
-
X,
|
|
2740
|
-
{
|
|
2741
|
-
element: r,
|
|
2742
|
-
className: w("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", e),
|
|
2743
|
-
...o,
|
|
2744
|
-
children: t
|
|
2745
|
-
}
|
|
2746
|
-
), Ge = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, je = Fe, Ht = (e, t) => (r) => {
|
|
2747
|
-
var o;
|
|
2748
|
-
if ((t == null ? void 0 : t.variants) == null) return je(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
2749
|
-
const { variants: n, defaultVariants: s } = t, a = Object.keys(n).map((f) => {
|
|
2750
|
-
const b = r == null ? void 0 : r[f], z = s == null ? void 0 : s[f];
|
|
2751
|
-
if (b === null) return null;
|
|
2752
|
-
const A = Ge(b) || Ge(z);
|
|
2753
|
-
return n[f][A];
|
|
2754
|
-
}), p = r && Object.entries(r).reduce((f, b) => {
|
|
2755
|
-
let [z, A] = b;
|
|
2756
|
-
return A === void 0 || (f[z] = A), f;
|
|
2757
|
-
}, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, b) => {
|
|
2758
|
-
let { class: z, className: A, ...T } = b;
|
|
2759
|
-
return Object.entries(T).every((N) => {
|
|
2760
|
-
let [S, M] = N;
|
|
2761
|
-
return Array.isArray(M) ? M.includes({
|
|
2762
|
-
...s,
|
|
2763
|
-
...p
|
|
2764
|
-
}[S]) : {
|
|
2765
|
-
...s,
|
|
2766
|
-
...p
|
|
2767
|
-
}[S] === M;
|
|
2768
|
-
}) ? [
|
|
2769
|
-
...f,
|
|
2770
|
-
z,
|
|
2771
|
-
A
|
|
2772
|
-
] : f;
|
|
2773
|
-
}, []);
|
|
2774
|
-
return je(e, a, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
2775
|
-
}, Xe = {
|
|
2776
|
-
start: "justify-start",
|
|
2777
|
-
end: "justify-end",
|
|
2778
|
-
center: "justify-center",
|
|
2779
|
-
between: "justify-between",
|
|
2780
|
-
around: "justify-around",
|
|
2781
|
-
evenly: "justify-evenly",
|
|
2782
|
-
stretch: "justify-stretch"
|
|
2783
|
-
}, Ze = {
|
|
2784
|
-
start: "items-start",
|
|
2785
|
-
end: "items-end",
|
|
2786
|
-
center: "items-center",
|
|
2787
|
-
baseline: "items-baseline",
|
|
2788
|
-
stretch: "items-stretch"
|
|
2789
|
-
}, Jt = {
|
|
2790
|
-
body: "font-sans",
|
|
2791
|
-
heading: "font-sans",
|
|
2792
|
-
caption: "font-sans"
|
|
2793
|
-
}, Qt = {
|
|
2794
|
-
xs: "text-xs",
|
|
2795
|
-
sm: "text-sm",
|
|
2796
|
-
base: "text-base",
|
|
2797
|
-
lg: "text-lg",
|
|
2798
|
-
xl: "text-xl",
|
|
2799
|
-
"2xl": "text-2xl",
|
|
2800
|
-
"3xl": "text-3xl",
|
|
2801
|
-
"4xl": "text-4xl",
|
|
2802
|
-
"5xl": "text-5xl",
|
|
2803
|
-
"6xl": "text-6xl",
|
|
2804
|
-
"7xl": "text-7xl",
|
|
2805
|
-
"8xl": "text-8xl",
|
|
2806
|
-
"9xl": "text-9xl"
|
|
2807
|
-
}, Xt = {
|
|
2808
|
-
normal: "font-normal",
|
|
2809
|
-
medium: "font-medium",
|
|
2810
|
-
semibold: "font-semibold",
|
|
2811
|
-
bold: "font-bold",
|
|
2812
|
-
light: "font-light"
|
|
2813
|
-
}, Zt = {
|
|
2814
|
-
1: "grid-cols-1",
|
|
2815
|
-
2: "grid-cols-2",
|
|
2816
|
-
3: "grid-cols-3",
|
|
2817
|
-
4: "grid-cols-4",
|
|
2818
|
-
5: "grid-cols-5",
|
|
2819
|
-
6: "grid-cols-6",
|
|
2820
|
-
7: "grid-cols-7",
|
|
2821
|
-
8: "grid-cols-8",
|
|
2822
|
-
9: "grid-cols-9"
|
|
2823
|
-
}, Yt = {
|
|
2824
|
-
1: "grid-rows-1",
|
|
2825
|
-
2: "grid-rows-2",
|
|
2826
|
-
3: "grid-rows-3",
|
|
2827
|
-
4: "grid-rows-4",
|
|
2828
|
-
5: "grid-rows-5",
|
|
2829
|
-
6: "grid-rows-6",
|
|
2830
|
-
7: "grid-rows-7",
|
|
2831
|
-
8: "grid-rows-8",
|
|
2832
|
-
9: "grid-rows-9"
|
|
2833
|
-
}, Ye = {
|
|
2834
|
-
1: "gap-1",
|
|
2835
|
-
2: "gap-2",
|
|
2836
|
-
3: "gap-3",
|
|
2837
|
-
4: "gap-4",
|
|
2838
|
-
5: "gap-5",
|
|
2839
|
-
6: "gap-6",
|
|
2840
|
-
7: "gap-7",
|
|
2841
|
-
8: "gap-8",
|
|
2842
|
-
9: "gap-9"
|
|
2843
|
-
}, er = Ht(
|
|
2844
|
-
"inline-flex justify-center items-center gap-2 disabled:opacity-50 aria-invalid:border-destructive focus-visible:border-ring rounded-md outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap transition-all [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
|
|
2845
|
-
{
|
|
2846
|
-
variants: {
|
|
2847
|
-
variant: {
|
|
2848
|
-
default: `
|
|
2849
|
-
bg-primary text-primary-foreground shadow-xs
|
|
2850
|
-
hover:bg-primary/90
|
|
2851
|
-
`,
|
|
2852
|
-
destructive: `
|
|
2853
|
-
bg-destructive text-white shadow-xs
|
|
2854
|
-
hover:bg-destructive/90
|
|
2855
|
-
focus-visible:ring-destructive/20
|
|
2856
|
-
dark:bg-destructive/60 dark:focus-visible:ring-destructive/40
|
|
2857
|
-
`,
|
|
2858
|
-
outline: `
|
|
2859
|
-
border bg-background shadow-xs
|
|
2860
|
-
hover:bg-accent hover:text-accent-foreground
|
|
2861
|
-
dark:border-input dark:bg-input/30 dark:hover:bg-input/50
|
|
2862
|
-
`,
|
|
2863
|
-
secondary: `
|
|
2864
|
-
bg-secondary text-secondary-foreground shadow-xs
|
|
2865
|
-
hover:bg-secondary/80
|
|
2866
|
-
`,
|
|
2867
|
-
ghost: `
|
|
2868
|
-
hover:bg-accent hover:text-accent-foreground
|
|
2869
|
-
dark:hover:bg-accent/50
|
|
2870
|
-
`,
|
|
2871
|
-
link: `
|
|
2872
|
-
text-primary underline-offset-4
|
|
2873
|
-
hover:underline
|
|
2874
|
-
`
|
|
2875
|
-
},
|
|
2876
|
-
size: {
|
|
2877
|
-
default: `
|
|
2878
|
-
h-9 px-4 py-2
|
|
2879
|
-
has-[>svg]:px-3
|
|
2880
|
-
`,
|
|
2881
|
-
sm: `
|
|
2882
|
-
h-8 gap-1.5 rounded-md px-3
|
|
2883
|
-
has-[>svg]:px-2.5
|
|
2884
|
-
`,
|
|
2885
|
-
lg: `
|
|
2886
|
-
h-10 rounded-md px-6
|
|
2887
|
-
has-[>svg]:px-4
|
|
2888
|
-
`,
|
|
2889
|
-
icon: "size-9"
|
|
2890
|
-
}
|
|
2891
|
-
},
|
|
2892
|
-
defaultVariants: {
|
|
2893
|
-
variant: "default",
|
|
2894
|
-
size: "default"
|
|
2895
|
-
}
|
|
2896
|
-
}
|
|
2897
|
-
), tr = {
|
|
2898
|
-
row: "flex-row",
|
|
2899
|
-
col: "flex-col",
|
|
2900
|
-
row_reverse: "flex-row-reverse",
|
|
2901
|
-
col_reverse: "flex-col-reverse"
|
|
2902
|
-
}, rr = {
|
|
2903
|
-
wrap: "flex-wrap",
|
|
2904
|
-
nowrap: "flex-nowrap",
|
|
2905
|
-
wrap_reverse: "flex-wrap-reverse"
|
|
2906
|
-
}, Cr = ({
|
|
2907
|
-
children: e,
|
|
2908
|
-
gap: t,
|
|
2909
|
-
direction: r,
|
|
2910
|
-
justify: o,
|
|
2911
|
-
align: n,
|
|
2912
|
-
wrap: s,
|
|
2913
|
-
className: a = "",
|
|
2914
|
-
element: p,
|
|
2915
|
-
...d
|
|
2916
|
-
}) => /* @__PURE__ */ m(
|
|
2917
|
-
X,
|
|
2918
|
-
{
|
|
2919
|
-
element: p,
|
|
2920
|
-
className: w(
|
|
2921
|
-
"flex",
|
|
2922
|
-
r && tr[r],
|
|
2923
|
-
o && Xe[o],
|
|
2924
|
-
n && Ze[n],
|
|
2925
|
-
s && rr[s],
|
|
2926
|
-
t && Ye[t],
|
|
2927
|
-
a
|
|
2928
|
-
),
|
|
2929
|
-
...d,
|
|
2930
|
-
children: e
|
|
2931
|
-
}
|
|
2932
|
-
), Mr = ({
|
|
2933
|
-
children: e,
|
|
2934
|
-
className: t,
|
|
2935
|
-
cols: r,
|
|
2936
|
-
rows: o,
|
|
2937
|
-
gap: n,
|
|
2938
|
-
justify: s,
|
|
2939
|
-
align: a,
|
|
2940
|
-
element: p,
|
|
2941
|
-
...d
|
|
2942
|
-
}) => /* @__PURE__ */ m(
|
|
2943
|
-
X,
|
|
2944
|
-
{
|
|
2945
|
-
element: p,
|
|
2946
|
-
className: w(
|
|
2947
|
-
"grid",
|
|
2948
|
-
r && Zt[r],
|
|
2949
|
-
o && Yt[o],
|
|
2950
|
-
n && Ye[n],
|
|
2951
|
-
s && Xe[s],
|
|
2952
|
-
a && Ze[a],
|
|
2953
|
-
t
|
|
2954
|
-
),
|
|
2955
|
-
...d,
|
|
2956
|
-
children: e
|
|
2957
|
-
}
|
|
2958
|
-
), or = {
|
|
2959
|
-
xs: "xs",
|
|
2960
|
-
sm: "sm",
|
|
2961
|
-
base: "base",
|
|
2962
|
-
lg: "lg",
|
|
2963
|
-
xl: "xl",
|
|
2964
|
-
"2xl": "2xl",
|
|
2965
|
-
"3xl": "3xl",
|
|
2966
|
-
"4xl": "4xl"
|
|
2967
|
-
}, Ir = ({ children: e, element: t, className: r, size: o, ...n }) => /* @__PURE__ */ m(
|
|
2968
|
-
Z,
|
|
2969
|
-
{
|
|
2970
|
-
className: r,
|
|
2971
|
-
element: t,
|
|
2972
|
-
size: or[o],
|
|
2973
|
-
variant: "heading",
|
|
2974
|
-
weight: "medium",
|
|
2975
|
-
...n,
|
|
2976
|
-
children: e
|
|
2977
|
-
}
|
|
2978
|
-
), Rr = ({ children: e, className: t, href: r, ...o }) => /* @__PURE__ */ m(
|
|
2979
|
-
"a",
|
|
2980
|
-
{
|
|
2981
|
-
"data-testid": "link",
|
|
2982
|
-
href: r,
|
|
2983
|
-
rel: "noopener noreferrer",
|
|
2984
|
-
target: "_blank",
|
|
2985
|
-
className: w(
|
|
2986
|
-
"focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",
|
|
2987
|
-
t
|
|
2988
|
-
),
|
|
2989
|
-
...o,
|
|
2990
|
-
children: e
|
|
2991
|
-
}
|
|
2992
|
-
), nr = {
|
|
2993
|
-
xs: "xs",
|
|
2994
|
-
sm: "sm",
|
|
2995
|
-
base: "base",
|
|
2996
|
-
lg: "lg"
|
|
2997
|
-
}, Lr = ({ children: e, className: t, size: r, ...o }) => /* @__PURE__ */ m(
|
|
2998
|
-
Z,
|
|
2999
|
-
{
|
|
3000
|
-
className: t,
|
|
3001
|
-
element: "p",
|
|
3002
|
-
size: nr[r],
|
|
3003
|
-
variant: "body",
|
|
3004
|
-
weight: "normal",
|
|
3005
|
-
...o,
|
|
3006
|
-
children: e
|
|
3007
|
-
}
|
|
3008
|
-
), Er = ({ className: e = "", children: t, ...r }) => /* @__PURE__ */ m(X, { element: "section", className: e, ...r, children: t }), Tr = ({
|
|
3009
|
-
children: e,
|
|
3010
|
-
direction: t = "horizontal",
|
|
3011
|
-
spacing: r = "space-x-2",
|
|
3012
|
-
element: o,
|
|
3013
|
-
className: n,
|
|
3014
|
-
...s
|
|
3015
|
-
}) => /* @__PURE__ */ m(X, { className: w("flex", t === "vertical" ? "flex-col" : "flex-row", r, n), element: o, ...s, children: e }), Z = ({
|
|
3016
|
-
className: e,
|
|
3017
|
-
children: t,
|
|
3018
|
-
element: r,
|
|
3019
|
-
weight: o,
|
|
3020
|
-
variant: n,
|
|
3021
|
-
size: s,
|
|
3022
|
-
...a
|
|
3023
|
-
}) => /* @__PURE__ */ m(
|
|
3024
|
-
r,
|
|
3025
|
-
{
|
|
3026
|
-
"data-testid": "text",
|
|
3027
|
-
className: w(
|
|
3028
|
-
"font-normal text-base",
|
|
3029
|
-
s && Qt[s],
|
|
3030
|
-
o && Xt[o],
|
|
3031
|
-
n && Jt[n],
|
|
3032
|
-
e
|
|
3033
|
-
),
|
|
3034
|
-
...a,
|
|
3035
|
-
children: t
|
|
3036
|
-
}
|
|
3037
|
-
);
|
|
3038
|
-
function _r({
|
|
3039
|
-
className: e,
|
|
3040
|
-
variant: t,
|
|
3041
|
-
size: r,
|
|
3042
|
-
asChild: o = !1,
|
|
3043
|
-
...n
|
|
3044
|
-
}) {
|
|
3045
|
-
return /* @__PURE__ */ m(
|
|
3046
|
-
o ? ct : "button",
|
|
3047
|
-
{
|
|
3048
|
-
"data-slot": "button",
|
|
3049
|
-
className: w(er({ variant: t, size: r, className: e })),
|
|
3050
|
-
...n,
|
|
3051
|
-
"data-testid": "button"
|
|
3052
|
-
}
|
|
3053
|
-
);
|
|
3054
|
-
}
|
|
3055
|
-
function Gr({ className: e, type: t, ...r }) {
|
|
3056
|
-
return /* @__PURE__ */ m(
|
|
3057
|
-
"input",
|
|
3058
|
-
{
|
|
3059
|
-
type: t,
|
|
3060
|
-
"data-slot": "input",
|
|
3061
|
-
className: w(
|
|
3062
|
-
`
|
|
3063
|
-
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent
|
|
3064
|
-
px-3 py-1 text-base shadow-xs transition-[color,box-shadow]
|
|
3065
|
-
outline-none
|
|
3066
|
-
selection:bg-primary selection:text-primary-foreground
|
|
3067
|
-
file:inline-flex file:h-7 file:border-0 file:bg-transparent
|
|
3068
|
-
file:text-sm file:font-medium file:text-foreground
|
|
3069
|
-
placeholder:text-muted-foreground
|
|
3070
|
-
disabled:pointer-events-none disabled:cursor-not-allowed
|
|
3071
|
-
disabled:opacity-50
|
|
3072
|
-
md:text-sm
|
|
3073
|
-
dark:bg-input/30
|
|
3074
|
-
`,
|
|
3075
|
-
`
|
|
3076
|
-
focus-visible:border-ring focus-visible:ring-[3px]
|
|
3077
|
-
focus-visible:ring-ring/50
|
|
3078
|
-
`,
|
|
3079
|
-
`
|
|
3080
|
-
aria-invalid:border-destructive aria-invalid:ring-destructive/20
|
|
3081
|
-
dark:aria-invalid:ring-destructive/40
|
|
3082
|
-
`,
|
|
3083
|
-
e
|
|
3084
|
-
),
|
|
3085
|
-
...r,
|
|
3086
|
-
"data-testid": "input"
|
|
3087
|
-
}
|
|
3088
|
-
);
|
|
3089
|
-
}
|
|
3090
|
-
const sr = ut(
|
|
3091
|
-
({
|
|
3092
|
-
children: e,
|
|
3093
|
-
className: t = "",
|
|
3094
|
-
colors: r = ["#FF0080", "#7928CA", "#0070F3", "#38bdf8"],
|
|
3095
|
-
speed: o = 1
|
|
3096
|
-
}) => {
|
|
3097
|
-
const n = {
|
|
3098
|
-
backgroundImage: `linear-gradient(135deg, ${r.join(", ")}, ${r[0]})`,
|
|
3099
|
-
WebkitBackgroundClip: "text",
|
|
3100
|
-
WebkitTextFillColor: "transparent",
|
|
3101
|
-
animationDuration: `${10 / o}s`
|
|
3102
|
-
};
|
|
3103
|
-
return /* @__PURE__ */ Q(
|
|
3104
|
-
"span",
|
|
3105
|
-
{
|
|
3106
|
-
className: `
|
|
3107
|
-
relative inline-block
|
|
3108
|
-
${t}
|
|
3109
|
-
`,
|
|
3110
|
-
"data-testid": "auroraText",
|
|
3111
|
-
children: [
|
|
3112
|
-
/* @__PURE__ */ m("span", { className: "sr-only", children: e }),
|
|
3113
|
-
/* @__PURE__ */ m(
|
|
3114
|
-
"span",
|
|
3115
|
-
{
|
|
3116
|
-
className: `
|
|
3117
|
-
relative animate-aurora bg-clip-text text-transparent
|
|
3118
|
-
bg-[length:200%_auto]
|
|
3119
|
-
`,
|
|
3120
|
-
style: n,
|
|
3121
|
-
"aria-hidden": "true",
|
|
3122
|
-
children: e
|
|
3123
|
-
}
|
|
3124
|
-
)
|
|
3125
|
-
]
|
|
3126
|
-
}
|
|
3127
|
-
);
|
|
3128
|
-
}
|
|
3129
|
-
);
|
|
3130
|
-
sr.displayName = "AuroraText";
|
|
3131
|
-
function ar({ ...e }) {
|
|
3132
|
-
return /* @__PURE__ */ m(k.Root, { "data-slot": "select", ...e });
|
|
3133
|
-
}
|
|
3134
|
-
function jr({ ...e }) {
|
|
3135
|
-
return /* @__PURE__ */ m(k.Group, { "data-slot": "select-group", ...e });
|
|
3136
|
-
}
|
|
3137
|
-
function ir({ ...e }) {
|
|
3138
|
-
return /* @__PURE__ */ m(k.Value, { "data-slot": "select-value", ...e });
|
|
3139
|
-
}
|
|
3140
|
-
function lr({
|
|
3141
|
-
className: e,
|
|
3142
|
-
size: t = "default",
|
|
3143
|
-
children: r,
|
|
3144
|
-
...o
|
|
3145
|
-
}) {
|
|
3146
|
-
return /* @__PURE__ */ Q(
|
|
3147
|
-
k.Trigger,
|
|
3148
|
-
{
|
|
3149
|
-
"data-slot": "select-trigger",
|
|
3150
|
-
"data-size": t,
|
|
3151
|
-
className: w(
|
|
3152
|
-
`
|
|
3153
|
-
flex w-fit items-center justify-between gap-2 rounded-md border
|
|
3154
|
-
border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap
|
|
3155
|
-
shadow-xs transition-[color,box-shadow] outline-none
|
|
3156
|
-
focus-visible:border-ring focus-visible:ring-[3px]
|
|
3157
|
-
focus-visible:ring-ring/50
|
|
3158
|
-
disabled:cursor-not-allowed disabled:opacity-50
|
|
3159
|
-
aria-invalid:border-destructive aria-invalid:ring-destructive/20
|
|
3160
|
-
data-[placeholder]:text-muted-foreground
|
|
3161
|
-
data-[size=default]:h-9
|
|
3162
|
-
data-[size=sm]:h-8
|
|
3163
|
-
*:data-[slot=select-value]:line-clamp-1
|
|
3164
|
-
*:data-[slot=select-value]:flex
|
|
3165
|
-
*:data-[slot=select-value]:items-center
|
|
3166
|
-
*:data-[slot=select-value]:gap-2
|
|
3167
|
-
dark:bg-input/30 dark:hover:bg-input/50
|
|
3168
|
-
dark:aria-invalid:ring-destructive/40
|
|
3169
|
-
[&_svg]:pointer-events-none [&_svg]:shrink-0
|
|
3170
|
-
[&_svg:not([class*='size-'])]:size-4
|
|
3171
|
-
[&_svg:not([class*='text-'])]:text-muted-foreground
|
|
3172
|
-
`,
|
|
3173
|
-
e
|
|
3174
|
-
),
|
|
3175
|
-
...o,
|
|
3176
|
-
children: [
|
|
3177
|
-
r,
|
|
3178
|
-
/* @__PURE__ */ m(k.Icon, { asChild: !0, children: /* @__PURE__ */ m(Ve, { className: "size-4 opacity-50" }) })
|
|
3179
|
-
]
|
|
3180
|
-
}
|
|
3181
|
-
);
|
|
3182
|
-
}
|
|
3183
|
-
function cr({
|
|
3184
|
-
className: e,
|
|
3185
|
-
children: t,
|
|
3186
|
-
position: r = "popper",
|
|
3187
|
-
...o
|
|
3188
|
-
}) {
|
|
3189
|
-
return /* @__PURE__ */ m(k.Portal, { "data-testid": "select", children: /* @__PURE__ */ Q(
|
|
3190
|
-
k.Content,
|
|
3191
|
-
{
|
|
3192
|
-
"data-slot": "select-content",
|
|
3193
|
-
className: w(
|
|
3194
|
-
`
|
|
3195
|
-
relative z-50 max-h-(--radix-select-content-available-height)
|
|
3196
|
-
min-w-[8rem] origin-(--radix-select-content-transform-origin)
|
|
3197
|
-
overflow-x-hidden overflow-y-auto rounded-md border bg-popover
|
|
3198
|
-
text-popover-foreground shadow-md
|
|
3199
|
-
data-[side=bottom]:slide-in-from-top-2
|
|
3200
|
-
data-[side=left]:slide-in-from-right-2
|
|
3201
|
-
data-[side=right]:slide-in-from-left-2
|
|
3202
|
-
data-[side=top]:slide-in-from-bottom-2
|
|
3203
|
-
data-[state=closed]:animate-out data-[state=closed]:fade-out-0
|
|
3204
|
-
data-[state=closed]:zoom-out-95
|
|
3205
|
-
data-[state=open]:animate-in data-[state=open]:fade-in-0
|
|
3206
|
-
data-[state=open]:zoom-in-95
|
|
3207
|
-
`,
|
|
3208
|
-
r === "popper" && `
|
|
3209
|
-
data-[side=bottom]:translate-y-1
|
|
3210
|
-
data-[side=left]:-translate-x-1
|
|
3211
|
-
data-[side=right]:translate-x-1
|
|
3212
|
-
data-[side=top]:-translate-y-1
|
|
3213
|
-
`,
|
|
3214
|
-
e
|
|
3215
|
-
),
|
|
3216
|
-
position: r,
|
|
3217
|
-
...o,
|
|
3218
|
-
children: [
|
|
3219
|
-
/* @__PURE__ */ m(ur, {}),
|
|
3220
|
-
/* @__PURE__ */ m(
|
|
3221
|
-
k.Viewport,
|
|
3222
|
-
{
|
|
3223
|
-
className: w(
|
|
3224
|
-
"p-1",
|
|
3225
|
-
r === "popper" && `
|
|
3226
|
-
h-[var(--radix-select-trigger-height)] w-full
|
|
3227
|
-
min-w-[var(--radix-select-trigger-width)] scroll-my-1
|
|
3228
|
-
`
|
|
3229
|
-
),
|
|
3230
|
-
children: t
|
|
3231
|
-
}
|
|
3232
|
-
),
|
|
3233
|
-
/* @__PURE__ */ m(mr, {})
|
|
3234
|
-
]
|
|
3235
|
-
}
|
|
3236
|
-
) });
|
|
3237
|
-
}
|
|
3238
|
-
function Fr({ className: e, ...t }) {
|
|
3239
|
-
return /* @__PURE__ */ m(
|
|
3240
|
-
k.Label,
|
|
3241
|
-
{
|
|
3242
|
-
"data-slot": "select-label",
|
|
3243
|
-
className: w("px-2 py-1.5 text-xs text-muted-foreground", e),
|
|
3244
|
-
...t
|
|
3245
|
-
}
|
|
3246
|
-
);
|
|
3247
|
-
}
|
|
3248
|
-
function dr({
|
|
3249
|
-
className: e,
|
|
3250
|
-
children: t,
|
|
3251
|
-
...r
|
|
3252
|
-
}) {
|
|
3253
|
-
return /* @__PURE__ */ Q(
|
|
3254
|
-
k.Item,
|
|
3255
|
-
{
|
|
3256
|
-
"data-slot": "select-item",
|
|
3257
|
-
className: w(
|
|
3258
|
-
`
|
|
3259
|
-
relative flex w-full cursor-default items-center gap-2 rounded-sm
|
|
3260
|
-
py-1.5 pr-8 pl-2 text-sm outline-hidden select-none
|
|
3261
|
-
focus:bg-accent focus:text-accent-foreground
|
|
3262
|
-
data-[disabled]:pointer-events-none data-[disabled]:opacity-50
|
|
3263
|
-
[&_svg]:pointer-events-none [&_svg]:shrink-0
|
|
3264
|
-
[&_svg:not([class*='size-'])]:size-4
|
|
3265
|
-
[&_svg:not([class*='text-'])]:text-muted-foreground
|
|
3266
|
-
*:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2
|
|
3267
|
-
`,
|
|
3268
|
-
e
|
|
3269
|
-
),
|
|
3270
|
-
...r,
|
|
3271
|
-
children: [
|
|
3272
|
-
/* @__PURE__ */ m("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ m(k.ItemIndicator, { children: /* @__PURE__ */ m(mt, { className: "size-4" }) }) }),
|
|
3273
|
-
/* @__PURE__ */ m(k.ItemText, { children: t })
|
|
3274
|
-
]
|
|
3275
|
-
}
|
|
3276
|
-
);
|
|
3277
|
-
}
|
|
3278
|
-
function Vr({
|
|
3279
|
-
className: e,
|
|
3280
|
-
...t
|
|
3281
|
-
}) {
|
|
3282
|
-
return /* @__PURE__ */ m(
|
|
3283
|
-
k.Separator,
|
|
3284
|
-
{
|
|
3285
|
-
"data-slot": "select-separator",
|
|
3286
|
-
className: w("pointer-events-none -mx-1 my-1 h-px bg-border", e),
|
|
3287
|
-
...t
|
|
3288
|
-
}
|
|
3289
|
-
);
|
|
3290
|
-
}
|
|
3291
|
-
function ur({
|
|
3292
|
-
className: e,
|
|
3293
|
-
...t
|
|
3294
|
-
}) {
|
|
3295
|
-
return /* @__PURE__ */ m(
|
|
3296
|
-
k.ScrollUpButton,
|
|
3297
|
-
{
|
|
3298
|
-
"data-slot": "select-scroll-up-button",
|
|
3299
|
-
className: w("flex cursor-default items-center justify-center py-1", e),
|
|
3300
|
-
...t,
|
|
3301
|
-
children: /* @__PURE__ */ m(pt, { className: "size-4" })
|
|
3302
|
-
}
|
|
3303
|
-
);
|
|
3304
|
-
}
|
|
3305
|
-
function mr({
|
|
3306
|
-
className: e,
|
|
3307
|
-
...t
|
|
3308
|
-
}) {
|
|
3309
|
-
return /* @__PURE__ */ m(
|
|
3310
|
-
k.ScrollDownButton,
|
|
3311
|
-
{
|
|
3312
|
-
"data-slot": "select-scroll-down-button",
|
|
3313
|
-
className: w("flex cursor-default items-center justify-center py-1", e),
|
|
3314
|
-
...t,
|
|
3315
|
-
children: /* @__PURE__ */ m(Ve, { className: "size-4" })
|
|
3316
|
-
}
|
|
3317
|
-
);
|
|
3318
|
-
}
|
|
3319
|
-
const Dr = ({
|
|
3320
|
-
translationKey: e,
|
|
3321
|
-
translationOptions: t,
|
|
3322
|
-
namespace: r,
|
|
3323
|
-
...o
|
|
3324
|
-
}) => {
|
|
3325
|
-
const s = De(r)(
|
|
3326
|
-
e,
|
|
3327
|
-
t == null ? void 0 : t.args
|
|
3328
|
-
);
|
|
3329
|
-
return /* @__PURE__ */ m(Z, { ...o, children: s });
|
|
3330
|
-
}, Br = ({
|
|
3331
|
-
translationKey: e,
|
|
3332
|
-
translationOptions: t,
|
|
3333
|
-
namespace: r,
|
|
3334
|
-
className: o,
|
|
3335
|
-
tag: n = "div"
|
|
3336
|
-
}) => {
|
|
3337
|
-
const a = De(r)(
|
|
3338
|
-
e,
|
|
3339
|
-
t == null ? void 0 : t.args
|
|
3340
|
-
);
|
|
3341
|
-
return dt.createElement(n, { className: o, "data-testid": "translated-html" }, a);
|
|
3342
|
-
};
|
|
3343
|
-
var pr = Object.defineProperty, v = (e, t) => pr(e, "name", { value: t, configurable: !0 }), fe = /* @__PURE__ */ new Map(), be = /* @__PURE__ */ new Map();
|
|
3344
|
-
function ke(e, t) {
|
|
3345
|
-
return `${e}:${JSON.stringify(t ?? {})}`;
|
|
3346
|
-
}
|
|
3347
|
-
v(ke, "getFormatterKey");
|
|
3348
|
-
function et(e) {
|
|
3349
|
-
const t = typeof e == "string" || typeof e == "number" ? new Date(e) : e;
|
|
3350
|
-
return t instanceof Date && !Number.isNaN(t.getTime()) ? t : null;
|
|
3351
|
-
}
|
|
3352
|
-
v(et, "parseDate");
|
|
3353
|
-
function tt(e, t = "en", r) {
|
|
3354
|
-
var s;
|
|
3355
|
-
const o = et(e);
|
|
3356
|
-
if (!o)
|
|
3357
|
-
return "";
|
|
3358
|
-
const n = ke(t, r);
|
|
3359
|
-
return fe.has(n) || fe.set(n, new Intl.DateTimeFormat(t, r)), ((s = fe.get(n)) == null ? void 0 : s.format(o)) ?? "";
|
|
3360
|
-
}
|
|
3361
|
-
v(tt, "formatDate");
|
|
3362
|
-
function rt(e, t = "en", r) {
|
|
3363
|
-
var n;
|
|
3364
|
-
if (typeof e != "number" || Number.isNaN(e))
|
|
3365
|
-
return "";
|
|
3366
|
-
const o = ke(t, r);
|
|
3367
|
-
return be.has(o) || be.set(o, new Intl.NumberFormat(t, r)), ((n = be.get(o)) == null ? void 0 : n.format(e)) ?? "";
|
|
3368
|
-
}
|
|
3369
|
-
v(rt, "formatNumber");
|
|
3370
|
-
var ce = {
|
|
3371
|
-
defaultLocale: "en",
|
|
3372
|
-
supportedLocales: ["en", "es", "fr", "it", "pt-BR", "pt-PT"],
|
|
3373
|
-
fallbackLocale: "en"
|
|
3374
|
-
};
|
|
3375
|
-
function gr() {
|
|
3376
|
-
return ce.supportedLocales;
|
|
3377
|
-
}
|
|
3378
|
-
v(gr, "getSupportedLanguages");
|
|
3379
|
-
function fr() {
|
|
3380
|
-
return ce.defaultLocale;
|
|
3381
|
-
}
|
|
3382
|
-
v(fr, "getDefaultLanguage");
|
|
3383
|
-
function br() {
|
|
3384
|
-
return ce.fallbackLocale;
|
|
3385
|
-
}
|
|
3386
|
-
v(br, "getFallbackLanguage");
|
|
3387
|
-
function hr(e) {
|
|
3388
|
-
return ce.supportedLocales.includes(e);
|
|
3389
|
-
}
|
|
3390
|
-
v(hr, "isSupportedLanguage");
|
|
3391
|
-
var V = /* @__PURE__ */ new Map();
|
|
3392
|
-
function xr({
|
|
3393
|
-
value: e,
|
|
3394
|
-
forms: t,
|
|
3395
|
-
lang: r,
|
|
3396
|
-
type: o = "cardinal"
|
|
3397
|
-
}) {
|
|
3398
|
-
if (!nt(e, t))
|
|
3399
|
-
return "";
|
|
3400
|
-
if (e === 0 && t.zero)
|
|
3401
|
-
return we(t.zero, e);
|
|
3402
|
-
const s = st(r, o).select(e), a = ot(t, s) ?? t.other ?? Object.values(t)[0];
|
|
3403
|
-
return a ? we(a, e) : "";
|
|
3404
|
-
}
|
|
3405
|
-
v(xr, "pluralize");
|
|
3406
|
-
function ze(e, t) {
|
|
3407
|
-
return `${e}:${t}`;
|
|
3408
|
-
}
|
|
3409
|
-
v(ze, "getPluralRulesKey");
|
|
3410
|
-
var vr = /{count}|#/g;
|
|
3411
|
-
function ot(e, t) {
|
|
3412
|
-
switch (t) {
|
|
3413
|
-
case "zero":
|
|
3414
|
-
return e.zero;
|
|
3415
|
-
case "one":
|
|
3416
|
-
return e.one;
|
|
3417
|
-
case "two":
|
|
3418
|
-
return e.two;
|
|
3419
|
-
case "few":
|
|
3420
|
-
return e.few;
|
|
3421
|
-
case "many":
|
|
3422
|
-
return e.many;
|
|
3423
|
-
case "other":
|
|
3424
|
-
return e.other;
|
|
3425
|
-
default:
|
|
3426
|
-
return;
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
v(ot, "selectTemplate");
|
|
3430
|
-
function nt(e, t) {
|
|
3431
|
-
return typeof e == "number" && t && typeof t == "object";
|
|
3432
|
-
}
|
|
3433
|
-
v(nt, "isValidInput");
|
|
3434
|
-
function we(e, t) {
|
|
3435
|
-
return e.replaceAll(vr, t.toString());
|
|
3436
|
-
}
|
|
3437
|
-
v(we, "replacePlaceholders");
|
|
3438
|
-
function st(e, t) {
|
|
3439
|
-
const r = ze(e, t);
|
|
3440
|
-
if (!V.has(r))
|
|
3441
|
-
try {
|
|
3442
|
-
V.set(r, new Intl.PluralRules(e, { type: t }));
|
|
3443
|
-
} catch {
|
|
3444
|
-
return le(r, t);
|
|
3445
|
-
}
|
|
3446
|
-
return V.get(r) ?? le(r, t);
|
|
3447
|
-
}
|
|
3448
|
-
v(st, "getPluralRules");
|
|
3449
|
-
function le(e, t) {
|
|
3450
|
-
const r = ze("en", t);
|
|
3451
|
-
V.has(r) || V.set(r, new Intl.PluralRules("en", { type: t }));
|
|
3452
|
-
const o = V.get(r) ?? le(r, t);
|
|
3453
|
-
return V.set(e, o), o;
|
|
3454
|
-
}
|
|
3455
|
-
v(le, "getFallbackPluralRules");
|
|
3456
|
-
var C;
|
|
3457
|
-
C = class {
|
|
3458
|
-
constructor() {
|
|
3459
|
-
se(this, "fallbackLocale");
|
|
3460
|
-
this.fallbackLocale = "en";
|
|
3461
|
-
}
|
|
3462
|
-
/**
|
|
3463
|
-
* Get the singleton instance of LocaleDetector.
|
|
3464
|
-
* @returns {LocaleDetector} The singleton instance.
|
|
3465
|
-
*/
|
|
3466
|
-
static getInstance() {
|
|
3467
|
-
return C.instance || (C.instance = new C()), C.instance;
|
|
3468
|
-
}
|
|
3469
|
-
/**
|
|
3470
|
-
* Detect locale using server-side request or client-side settings.
|
|
3471
|
-
* @param {any} [request] - Optional server request object.
|
|
3472
|
-
* @returns {string} Detected locale string.
|
|
3473
|
-
*/
|
|
3474
|
-
detectLocale(t) {
|
|
3475
|
-
return t ? this.detectFromRequest(t) : this.fallbackLocale;
|
|
3476
|
-
}
|
|
3477
|
-
/**
|
|
3478
|
-
* Detect locale from a server request (query, headers, cookies).
|
|
3479
|
-
* @param {any} request - Server request object.
|
|
3480
|
-
* @returns {string} Detected locale string.
|
|
3481
|
-
* @private
|
|
3482
|
-
*/
|
|
3483
|
-
detectFromRequest(t) {
|
|
3484
|
-
var s, a, p;
|
|
3485
|
-
const r = (s = t.url.split("?")[1]) == null ? void 0 : s.split("=")[1], o = t.headers.get("accept-language"), n = (p = (a = t.headers.get("cookie")) == null ? void 0 : a.split("; ").find((d) => d.startsWith("locale="))) == null ? void 0 : p.split("=")[1];
|
|
3486
|
-
return r ?? n ?? this.parseAcceptLanguage(o ?? "") ?? this.fallbackLocale;
|
|
3487
|
-
}
|
|
3488
|
-
/**
|
|
3489
|
-
* Parse Accept-Language header and return the highest priority language.
|
|
3490
|
-
* @param {string} header - Accept-Language header value.
|
|
3491
|
-
* @returns {string|null} Best language or null.
|
|
3492
|
-
* @private
|
|
3493
|
-
*/
|
|
3494
|
-
parseAcceptLanguage(t) {
|
|
3495
|
-
if (!t)
|
|
3496
|
-
return null;
|
|
3497
|
-
let r = null, o = 0;
|
|
3498
|
-
for (const n of t.split(",")) {
|
|
3499
|
-
const { lang: s, q: a } = this.parseLangAndQ(n.trim());
|
|
3500
|
-
if (a > o && (o = a, r = s, a === 1))
|
|
3501
|
-
break;
|
|
3502
|
-
}
|
|
3503
|
-
return r;
|
|
3504
|
-
}
|
|
3505
|
-
parseLangAndQ(t) {
|
|
3506
|
-
const r = t.indexOf(";"), o = r === -1 ? t : t.slice(0, Math.max(0, r));
|
|
3507
|
-
let n = 1;
|
|
3508
|
-
if (r !== -1) {
|
|
3509
|
-
const s = /q=(?<q>[\d.]+)/.exec(t.slice(r + 1));
|
|
3510
|
-
n = s != null && s.groups ? Number.parseFloat(s.groups.q) || 0 : 1;
|
|
3511
|
-
}
|
|
3512
|
-
return { lang: o, q: n };
|
|
3513
|
-
}
|
|
3514
|
-
/**
|
|
3515
|
-
* Set the fallback locale.
|
|
3516
|
-
* @param {string} locale - Fallback locale string.
|
|
3517
|
-
* @internal
|
|
3518
|
-
*/
|
|
3519
|
-
setFallbackLocale(t) {
|
|
3520
|
-
this.fallbackLocale = t;
|
|
3521
|
-
}
|
|
3522
|
-
}, v(C, "LocaleDetector"), se(C, "instance");
|
|
3523
|
-
var W;
|
|
3524
|
-
W = class {
|
|
3525
|
-
constructor(t) {
|
|
3526
|
-
se(this, "namespaces");
|
|
3527
|
-
this.namespaces = t ? new Map(t) : /* @__PURE__ */ new Map();
|
|
3528
|
-
}
|
|
3529
|
-
/**
|
|
3530
|
-
* Add a namespace with its translations.
|
|
3531
|
-
* @param {string} name - Namespace name.
|
|
3532
|
-
* @param {Record<string, string>} translations - Translation key-value pairs.
|
|
3533
|
-
* @throws {Error} If the namespace name is invalid.
|
|
3534
|
-
*/
|
|
3535
|
-
addNamespace(t, r) {
|
|
3536
|
-
if (!at(t))
|
|
3537
|
-
throw new Error("Invalid namespace name");
|
|
3538
|
-
this.namespaces.set(t, r);
|
|
3539
|
-
}
|
|
3540
|
-
/**
|
|
3541
|
-
* Get a namespace by name.
|
|
3542
|
-
* @param {string} name - Namespace name.
|
|
3543
|
-
* @returns {Record<string, string> | undefined} Namespace translations or undefined.
|
|
3544
|
-
*/
|
|
3545
|
-
getNamespace(t) {
|
|
3546
|
-
return this.namespaces.get(t);
|
|
3547
|
-
}
|
|
3548
|
-
/**
|
|
3549
|
-
* Get all namespace names.
|
|
3550
|
-
* @returns {string[]} Array of namespace names.
|
|
3551
|
-
*/
|
|
3552
|
-
getAllNamespaces() {
|
|
3553
|
-
return [...this.namespaces.keys()];
|
|
3554
|
-
}
|
|
3555
|
-
/**
|
|
3556
|
-
* Merge two namespaces into the target.
|
|
3557
|
-
* @param {string} target - Target namespace name.
|
|
3558
|
-
* @param {string} source - Source namespace name.
|
|
3559
|
-
*/
|
|
3560
|
-
mergeNamespaces(t, r) {
|
|
3561
|
-
const o = this.namespaces.get(t) ?? {}, n = this.namespaces.get(r) ?? {};
|
|
3562
|
-
this.namespaces.set(t, { ...o, ...n });
|
|
3563
|
-
}
|
|
3564
|
-
/**
|
|
3565
|
-
* Validate a namespace against a schema.
|
|
3566
|
-
* @param {string} name - Namespace name.
|
|
3567
|
-
* @param {Record<string, string>} [schema] - Optional schema to validate against.
|
|
3568
|
-
* @returns {boolean} True if valid, false otherwise.
|
|
3569
|
-
*/
|
|
3570
|
-
validateNamespace(t, r) {
|
|
3571
|
-
const o = this.namespaces.get(t);
|
|
3572
|
-
return o ? r ? Object.entries(r).every(([n, s]) => {
|
|
3573
|
-
var p;
|
|
3574
|
-
const a = (p = Object.getOwnPropertyDescriptor(o, n)) == null ? void 0 : p.value;
|
|
3575
|
-
return a !== void 0 && typeof a === s;
|
|
3576
|
-
}) : !0 : !1;
|
|
3577
|
-
}
|
|
3578
|
-
}, v(W, "NamespaceManager");
|
|
3579
|
-
function at(e) {
|
|
3580
|
-
return /^\w+$/.test(e);
|
|
3581
|
-
}
|
|
3582
|
-
v(at, "isSafeKey");
|
|
3583
|
-
const Or = ({
|
|
3584
|
-
date: e,
|
|
3585
|
-
formatOptions: t,
|
|
3586
|
-
locale: r,
|
|
3587
|
-
...o
|
|
3588
|
-
}) => {
|
|
3589
|
-
const n = tt(e, r, t);
|
|
3590
|
-
return /* @__PURE__ */ m(Z, { ...o, children: n });
|
|
3591
|
-
}, $r = ({
|
|
3592
|
-
value: e,
|
|
3593
|
-
formatOptions: t,
|
|
3594
|
-
locale: r,
|
|
3595
|
-
...o
|
|
3596
|
-
}) => {
|
|
3597
|
-
const n = rt(e, r, t);
|
|
3598
|
-
return /* @__PURE__ */ m(Z, { ...o, children: n });
|
|
3599
|
-
};
|
|
3600
|
-
function Wr({
|
|
3601
|
-
locale: e,
|
|
3602
|
-
locales: t,
|
|
3603
|
-
onChange: r,
|
|
3604
|
-
getLabel: o,
|
|
3605
|
-
disabled: n
|
|
3606
|
-
}) {
|
|
3607
|
-
return /* @__PURE__ */ Q(ar, { value: e, onValueChange: r, disabled: n, children: [
|
|
3608
|
-
/* @__PURE__ */ m(lr, { children: /* @__PURE__ */ m(ir, { placeholder: o(e) }) }),
|
|
3609
|
-
/* @__PURE__ */ m(cr, { children: t.map((s) => /* @__PURE__ */ m(dr, { value: s, children: o(s) }, s)) })
|
|
3610
|
-
] });
|
|
2725
|
+
}, lo = /* @__PURE__ */ We(io);
|
|
2726
|
+
function mo(...e) {
|
|
2727
|
+
return lo(Ie(e));
|
|
3611
2728
|
}
|
|
3612
2729
|
export {
|
|
3613
|
-
|
|
3614
|
-
X as Box,
|
|
3615
|
-
_r as Button,
|
|
3616
|
-
Ar as Container,
|
|
3617
|
-
Rr as ExternalLink,
|
|
3618
|
-
Cr as Flex,
|
|
3619
|
-
Or as FormattedDate,
|
|
3620
|
-
$r as FormattedNumber,
|
|
3621
|
-
Mr as Grid,
|
|
3622
|
-
Ir as Heading,
|
|
3623
|
-
Gr as Input,
|
|
3624
|
-
Wr as LanguageSelector,
|
|
3625
|
-
Lr as Paragraph,
|
|
3626
|
-
Er as Section,
|
|
3627
|
-
ar as Select,
|
|
3628
|
-
cr as SelectContent,
|
|
3629
|
-
jr as SelectGroup,
|
|
3630
|
-
dr as SelectItem,
|
|
3631
|
-
Fr as SelectLabel,
|
|
3632
|
-
mr as SelectScrollDownButton,
|
|
3633
|
-
ur as SelectScrollUpButton,
|
|
3634
|
-
Vr as SelectSeparator,
|
|
3635
|
-
lr as SelectTrigger,
|
|
3636
|
-
ir as SelectValue,
|
|
3637
|
-
Tr as Stack,
|
|
3638
|
-
Z as Text,
|
|
3639
|
-
Br as TranslatedHtml,
|
|
3640
|
-
Dr as TranslatedText
|
|
2730
|
+
mo as c
|
|
3641
2731
|
};
|