@fast-food/design-system 1.12.0 → 1.13.0
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ur, { memo as Dr, lazy as Br, Suspense as Jr, forwardRef as sr, useRef as hr, useEffect as Hr, useState as vr } from "react";
|
|
2
|
+
import { createPortal as Xr } from "react-dom";
|
|
2
3
|
var dr = { exports: {} }, ar = {};
|
|
3
4
|
/**
|
|
4
5
|
* @license React
|
|
@@ -9,17 +10,17 @@ var dr = { exports: {} }, ar = {};
|
|
|
9
10
|
* This source code is licensed under the MIT license found in the
|
|
10
11
|
* LICENSE file in the root directory of this source tree.
|
|
11
12
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
13
|
+
var zr;
|
|
14
|
+
function Zr() {
|
|
15
|
+
if (zr) return ar;
|
|
16
|
+
zr = 1;
|
|
16
17
|
var r = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
|
|
17
18
|
function o(t, a, p) {
|
|
18
19
|
var m = null;
|
|
19
20
|
if (p !== void 0 && (m = "" + p), a.key !== void 0 && (m = "" + a.key), "key" in a) {
|
|
20
21
|
p = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
22
|
+
for (var l in a)
|
|
23
|
+
l !== "key" && (p[l] = a[l]);
|
|
23
24
|
} else p = a;
|
|
24
25
|
return a = p.ref, {
|
|
25
26
|
$$typeof: r,
|
|
@@ -41,33 +42,33 @@ var pr = {};
|
|
|
41
42
|
* This source code is licensed under the MIT license found in the
|
|
42
43
|
* LICENSE file in the root directory of this source tree.
|
|
43
44
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
45
|
+
var qr;
|
|
46
|
+
function Qr() {
|
|
47
|
+
return qr || (qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
48
|
function r(i) {
|
|
48
49
|
if (i == null) return null;
|
|
49
50
|
if (typeof i == "function")
|
|
50
51
|
return i.$$typeof === nr ? null : i.displayName || i.name || null;
|
|
51
52
|
if (typeof i == "string") return i;
|
|
52
53
|
switch (i) {
|
|
53
|
-
case
|
|
54
|
+
case y:
|
|
54
55
|
return "Fragment";
|
|
55
56
|
case V:
|
|
56
57
|
return "Profiler";
|
|
57
|
-
case
|
|
58
|
+
case C:
|
|
58
59
|
return "StrictMode";
|
|
59
60
|
case W:
|
|
60
61
|
return "Suspense";
|
|
61
62
|
case G:
|
|
62
63
|
return "SuspenseList";
|
|
63
|
-
case
|
|
64
|
+
case N:
|
|
64
65
|
return "Activity";
|
|
65
66
|
}
|
|
66
67
|
if (typeof i == "object")
|
|
67
68
|
switch (typeof i.tag == "number" && console.error(
|
|
68
69
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
70
|
), i.$$typeof) {
|
|
70
|
-
case
|
|
71
|
+
case j:
|
|
71
72
|
return "Portal";
|
|
72
73
|
case D:
|
|
73
74
|
return (i.displayName || "Context") + ".Provider";
|
|
@@ -108,7 +109,7 @@ function Xr() {
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
function t(i) {
|
|
111
|
-
if (i ===
|
|
112
|
+
if (i === y) return "<>";
|
|
112
113
|
if (typeof i == "object" && i !== null && i.$$typeof === u)
|
|
113
114
|
return "<...>";
|
|
114
115
|
try {
|
|
@@ -132,7 +133,7 @@ function Xr() {
|
|
|
132
133
|
}
|
|
133
134
|
return i.key !== void 0;
|
|
134
135
|
}
|
|
135
|
-
function
|
|
136
|
+
function l(i, f) {
|
|
136
137
|
function x() {
|
|
137
138
|
L || (L = !0, console.error(
|
|
138
139
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
@@ -146,17 +147,17 @@ function Xr() {
|
|
|
146
147
|
}
|
|
147
148
|
function d() {
|
|
148
149
|
var i = r(this.type);
|
|
149
|
-
return
|
|
150
|
+
return P[i] || (P[i] = !0, console.error(
|
|
150
151
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
152
|
)), i = this.props.ref, i !== void 0 ? i : null;
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
return x =
|
|
155
|
-
$$typeof:
|
|
154
|
+
function h(i, f, x, w, v, A, K, z) {
|
|
155
|
+
return x = A.ref, i = {
|
|
156
|
+
$$typeof: T,
|
|
156
157
|
type: i,
|
|
157
158
|
key: f,
|
|
158
|
-
props:
|
|
159
|
-
_owner:
|
|
159
|
+
props: A,
|
|
160
|
+
_owner: v
|
|
160
161
|
}, (x !== void 0 ? x : null) !== null ? Object.defineProperty(i, "ref", {
|
|
161
162
|
enumerable: !1,
|
|
162
163
|
get: d
|
|
@@ -179,28 +180,28 @@ function Xr() {
|
|
|
179
180
|
configurable: !1,
|
|
180
181
|
enumerable: !1,
|
|
181
182
|
writable: !0,
|
|
182
|
-
value:
|
|
183
|
+
value: z
|
|
183
184
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
184
185
|
}
|
|
185
|
-
function
|
|
186
|
-
var
|
|
187
|
-
if (
|
|
186
|
+
function b(i, f, x, w, v, A, K, z) {
|
|
187
|
+
var S = f.children;
|
|
188
|
+
if (S !== void 0)
|
|
188
189
|
if (w)
|
|
189
|
-
if (lr(
|
|
190
|
-
for (w = 0; w <
|
|
191
|
-
S
|
|
192
|
-
Object.freeze && Object.freeze(
|
|
190
|
+
if (lr(S)) {
|
|
191
|
+
for (w = 0; w < S.length; w++)
|
|
192
|
+
q(S[w]);
|
|
193
|
+
Object.freeze && Object.freeze(S);
|
|
193
194
|
} else
|
|
194
195
|
console.error(
|
|
195
196
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
197
|
);
|
|
197
|
-
else S
|
|
198
|
+
else q(S);
|
|
198
199
|
if (J.call(f, "key")) {
|
|
199
|
-
|
|
200
|
-
var
|
|
200
|
+
S = r(i);
|
|
201
|
+
var M = Object.keys(f).filter(function(ir) {
|
|
201
202
|
return ir !== "key";
|
|
202
203
|
});
|
|
203
|
-
w = 0 <
|
|
204
|
+
w = 0 < M.length ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}", er[S + w] || (M = 0 < M.length ? "{" + M.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
205
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
206
|
let props = %s;
|
|
206
207
|
<%s {...props} />
|
|
@@ -208,125 +209,125 @@ React keys must be passed directly to JSX without using spread:
|
|
|
208
209
|
let props = %s;
|
|
209
210
|
<%s key={someKey} {...props} />`,
|
|
210
211
|
w,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
), er[
|
|
212
|
+
S,
|
|
213
|
+
M,
|
|
214
|
+
S
|
|
215
|
+
), er[S + w] = !0);
|
|
215
216
|
}
|
|
216
|
-
if (
|
|
217
|
+
if (S = null, x !== void 0 && (o(x), S = "" + x), m(f) && (o(f.key), S = "" + f.key), "key" in f) {
|
|
217
218
|
x = {};
|
|
218
219
|
for (var Y in f)
|
|
219
220
|
Y !== "key" && (x[Y] = f[Y]);
|
|
220
221
|
} else x = f;
|
|
221
|
-
return
|
|
222
|
+
return S && l(
|
|
222
223
|
x,
|
|
223
224
|
typeof i == "function" ? i.displayName || i.name || "Unknown" : i
|
|
224
|
-
),
|
|
225
|
+
), h(
|
|
225
226
|
i,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
S,
|
|
228
|
+
A,
|
|
229
|
+
v,
|
|
229
230
|
a(),
|
|
230
231
|
x,
|
|
231
232
|
K,
|
|
232
|
-
|
|
233
|
+
z
|
|
233
234
|
);
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
typeof i == "object" && i !== null && i.$$typeof ===
|
|
236
|
+
function q(i) {
|
|
237
|
+
typeof i == "object" && i !== null && i.$$typeof === T && i._store && (i._store.validated = 1);
|
|
237
238
|
}
|
|
238
|
-
var
|
|
239
|
+
var R = Ur, T = Symbol.for("react.transitional.element"), j = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), D = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), u = Symbol.for("react.lazy"), N = Symbol.for("react.activity"), nr = Symbol.for("react.client.reference"), Q = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, lr = Array.isArray, H = console.createTask ? console.createTask : function() {
|
|
239
240
|
return null;
|
|
240
241
|
};
|
|
241
|
-
|
|
242
|
+
R = {
|
|
242
243
|
"react-stack-bottom-frame": function(i) {
|
|
243
244
|
return i();
|
|
244
245
|
}
|
|
245
246
|
};
|
|
246
|
-
var L,
|
|
247
|
-
|
|
247
|
+
var L, P = {}, O = R["react-stack-bottom-frame"].bind(
|
|
248
|
+
R,
|
|
248
249
|
p
|
|
249
|
-
)(),
|
|
250
|
-
pr.Fragment =
|
|
251
|
-
var
|
|
252
|
-
return
|
|
250
|
+
)(), c = H(t(p)), er = {};
|
|
251
|
+
pr.Fragment = y, pr.jsx = function(i, f, x, w, v) {
|
|
252
|
+
var A = 1e4 > Q.recentlyCreatedOwnerStacks++;
|
|
253
|
+
return b(
|
|
253
254
|
i,
|
|
254
255
|
f,
|
|
255
256
|
x,
|
|
256
257
|
!1,
|
|
257
258
|
w,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
v,
|
|
260
|
+
A ? Error("react-stack-top-frame") : O,
|
|
261
|
+
A ? H(t(i)) : c
|
|
261
262
|
);
|
|
262
|
-
}, pr.jsxs = function(i, f, x, w,
|
|
263
|
-
var
|
|
264
|
-
return
|
|
263
|
+
}, pr.jsxs = function(i, f, x, w, v) {
|
|
264
|
+
var A = 1e4 > Q.recentlyCreatedOwnerStacks++;
|
|
265
|
+
return b(
|
|
265
266
|
i,
|
|
266
267
|
f,
|
|
267
268
|
x,
|
|
268
269
|
!0,
|
|
269
270
|
w,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
v,
|
|
272
|
+
A ? Error("react-stack-top-frame") : O,
|
|
273
|
+
A ? H(t(i)) : c
|
|
273
274
|
);
|
|
274
275
|
};
|
|
275
276
|
}()), pr;
|
|
276
277
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
278
|
+
var Rr;
|
|
279
|
+
function Kr() {
|
|
280
|
+
return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? dr.exports = Zr() : dr.exports = Qr()), dr.exports;
|
|
280
281
|
}
|
|
281
|
-
var k =
|
|
282
|
-
function
|
|
282
|
+
var k = Kr();
|
|
283
|
+
function _r(r) {
|
|
283
284
|
var e, o, t = "";
|
|
284
285
|
if (typeof r == "string" || typeof r == "number") t += r;
|
|
285
286
|
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
286
287
|
var a = r.length;
|
|
287
|
-
for (e = 0; e < a; e++) r[e] && (o =
|
|
288
|
+
for (e = 0; e < a; e++) r[e] && (o = _r(r[e])) && (t && (t += " "), t += o);
|
|
288
289
|
} else for (o in r) r[o] && (t && (t += " "), t += o);
|
|
289
290
|
return t;
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
-
for (var r, e, o = 0, t = "", a = arguments.length; o < a; o++) (r = arguments[o]) && (e =
|
|
292
|
+
function Nr() {
|
|
293
|
+
for (var r, e, o = 0, t = "", a = arguments.length; o < a; o++) (r = arguments[o]) && (e = _r(r)) && (t && (t += " "), t += e);
|
|
293
294
|
return t;
|
|
294
295
|
}
|
|
295
|
-
const
|
|
296
|
-
const e =
|
|
296
|
+
const yr = "-", ro = (r) => {
|
|
297
|
+
const e = to(r), {
|
|
297
298
|
conflictingClassGroups: o,
|
|
298
299
|
conflictingClassGroupModifiers: t
|
|
299
300
|
} = r;
|
|
300
301
|
return {
|
|
301
302
|
getClassGroupId: (m) => {
|
|
302
|
-
const
|
|
303
|
-
return
|
|
303
|
+
const l = m.split(yr);
|
|
304
|
+
return l[0] === "" && l.length !== 1 && l.shift(), Mr(l, e) || oo(m);
|
|
304
305
|
},
|
|
305
|
-
getConflictingClassGroupIds: (m,
|
|
306
|
+
getConflictingClassGroupIds: (m, l) => {
|
|
306
307
|
const d = o[m] || [];
|
|
307
|
-
return
|
|
308
|
+
return l && t[m] ? [...d, ...t[m]] : d;
|
|
308
309
|
}
|
|
309
310
|
};
|
|
310
|
-
},
|
|
311
|
+
}, Mr = (r, e) => {
|
|
311
312
|
var m;
|
|
312
313
|
if (r.length === 0)
|
|
313
314
|
return e.classGroupId;
|
|
314
|
-
const o = r[0], t = e.nextPart.get(o), a = t ?
|
|
315
|
+
const o = r[0], t = e.nextPart.get(o), a = t ? Mr(r.slice(1), t) : void 0;
|
|
315
316
|
if (a)
|
|
316
317
|
return a;
|
|
317
318
|
if (e.validators.length === 0)
|
|
318
319
|
return;
|
|
319
|
-
const p = r.join(
|
|
320
|
+
const p = r.join(yr);
|
|
320
321
|
return (m = e.validators.find(({
|
|
321
|
-
validator:
|
|
322
|
-
}) =>
|
|
323
|
-
},
|
|
324
|
-
if (
|
|
325
|
-
const e =
|
|
322
|
+
validator: l
|
|
323
|
+
}) => l(p))) == null ? void 0 : m.classGroupId;
|
|
324
|
+
}, jr = /^\[(.+)\]$/, oo = (r) => {
|
|
325
|
+
if (jr.test(r)) {
|
|
326
|
+
const e = jr.exec(r)[1], o = e == null ? void 0 : e.substring(0, e.indexOf(":"));
|
|
326
327
|
if (o)
|
|
327
328
|
return "arbitrary.." + o;
|
|
328
329
|
}
|
|
329
|
-
},
|
|
330
|
+
}, to = (r) => {
|
|
330
331
|
const {
|
|
331
332
|
theme: e,
|
|
332
333
|
classGroups: o
|
|
@@ -335,18 +336,18 @@ const xr = "-", Qr = (r) => {
|
|
|
335
336
|
validators: []
|
|
336
337
|
};
|
|
337
338
|
for (const a in o)
|
|
338
|
-
|
|
339
|
+
wr(o[a], t, a, e);
|
|
339
340
|
return t;
|
|
340
|
-
},
|
|
341
|
+
}, wr = (r, e, o, t) => {
|
|
341
342
|
r.forEach((a) => {
|
|
342
343
|
if (typeof a == "string") {
|
|
343
|
-
const p = a === "" ? e :
|
|
344
|
+
const p = a === "" ? e : Sr(e, a);
|
|
344
345
|
p.classGroupId = o;
|
|
345
346
|
return;
|
|
346
347
|
}
|
|
347
348
|
if (typeof a == "function") {
|
|
348
|
-
if (
|
|
349
|
-
|
|
349
|
+
if (eo(a)) {
|
|
350
|
+
wr(a(t), e, o, t);
|
|
350
351
|
return;
|
|
351
352
|
}
|
|
352
353
|
e.validators.push({
|
|
@@ -356,18 +357,18 @@ const xr = "-", Qr = (r) => {
|
|
|
356
357
|
return;
|
|
357
358
|
}
|
|
358
359
|
Object.entries(a).forEach(([p, m]) => {
|
|
359
|
-
|
|
360
|
+
wr(m, Sr(e, p), o, t);
|
|
360
361
|
});
|
|
361
362
|
});
|
|
362
|
-
},
|
|
363
|
+
}, Sr = (r, e) => {
|
|
363
364
|
let o = r;
|
|
364
|
-
return e.split(
|
|
365
|
+
return e.split(yr).forEach((t) => {
|
|
365
366
|
o.nextPart.has(t) || o.nextPart.set(t, {
|
|
366
367
|
nextPart: /* @__PURE__ */ new Map(),
|
|
367
368
|
validators: []
|
|
368
369
|
}), o = o.nextPart.get(t);
|
|
369
370
|
}), o;
|
|
370
|
-
},
|
|
371
|
+
}, eo = (r) => r.isThemeGetter, io = (r) => {
|
|
371
372
|
if (r < 1)
|
|
372
373
|
return {
|
|
373
374
|
get: () => {
|
|
@@ -391,38 +392,38 @@ const xr = "-", Qr = (r) => {
|
|
|
391
392
|
o.has(p) ? o.set(p, m) : a(p, m);
|
|
392
393
|
}
|
|
393
394
|
};
|
|
394
|
-
},
|
|
395
|
+
}, kr = "!", xr = ":", ao = xr.length, po = (r) => {
|
|
395
396
|
const {
|
|
396
397
|
prefix: e,
|
|
397
398
|
experimentalParseClassName: o
|
|
398
399
|
} = r;
|
|
399
400
|
let t = (a) => {
|
|
400
401
|
const p = [];
|
|
401
|
-
let m = 0,
|
|
402
|
-
for (let
|
|
403
|
-
let
|
|
404
|
-
if (m === 0 &&
|
|
405
|
-
if (
|
|
406
|
-
p.push(a.slice(d,
|
|
402
|
+
let m = 0, l = 0, d = 0, h;
|
|
403
|
+
for (let j = 0; j < a.length; j++) {
|
|
404
|
+
let y = a[j];
|
|
405
|
+
if (m === 0 && l === 0) {
|
|
406
|
+
if (y === xr) {
|
|
407
|
+
p.push(a.slice(d, j)), d = j + ao;
|
|
407
408
|
continue;
|
|
408
409
|
}
|
|
409
|
-
if (
|
|
410
|
-
|
|
410
|
+
if (y === "/") {
|
|
411
|
+
h = j;
|
|
411
412
|
continue;
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
|
-
|
|
415
|
+
y === "[" ? m++ : y === "]" ? m-- : y === "(" ? l++ : y === ")" && l--;
|
|
415
416
|
}
|
|
416
|
-
const
|
|
417
|
+
const b = p.length === 0 ? a : a.substring(d), q = mo(b), R = q !== b, T = h && h > d ? h - d : void 0;
|
|
417
418
|
return {
|
|
418
419
|
modifiers: p,
|
|
419
|
-
hasImportantModifier:
|
|
420
|
-
baseClassName:
|
|
421
|
-
maybePostfixModifierPosition:
|
|
420
|
+
hasImportantModifier: R,
|
|
421
|
+
baseClassName: q,
|
|
422
|
+
maybePostfixModifierPosition: T
|
|
422
423
|
};
|
|
423
424
|
};
|
|
424
425
|
if (e) {
|
|
425
|
-
const a = e +
|
|
426
|
+
const a = e + xr, p = t;
|
|
426
427
|
t = (m) => m.startsWith(a) ? p(m.substring(a.length)) : {
|
|
427
428
|
isExternal: !0,
|
|
428
429
|
modifiers: [],
|
|
@@ -439,7 +440,7 @@ const xr = "-", Qr = (r) => {
|
|
|
439
440
|
});
|
|
440
441
|
}
|
|
441
442
|
return t;
|
|
442
|
-
},
|
|
443
|
+
}, mo = (r) => r.endsWith(kr) ? r.substring(0, r.length - 1) : r.startsWith(kr) ? r.substring(1) : r, so = (r) => {
|
|
443
444
|
const e = Object.fromEntries(r.orderSensitiveModifiers.map((t) => [t, !0]));
|
|
444
445
|
return (t) => {
|
|
445
446
|
if (t.length <= 1)
|
|
@@ -450,103 +451,103 @@ const xr = "-", Qr = (r) => {
|
|
|
450
451
|
m[0] === "[" || e[m] ? (a.push(...p.sort(), m), p = []) : p.push(m);
|
|
451
452
|
}), a.push(...p.sort()), a;
|
|
452
453
|
};
|
|
453
|
-
},
|
|
454
|
-
cache:
|
|
455
|
-
parseClassName:
|
|
456
|
-
sortModifiers:
|
|
457
|
-
...
|
|
458
|
-
}),
|
|
454
|
+
}, no = (r) => ({
|
|
455
|
+
cache: io(r.cacheSize),
|
|
456
|
+
parseClassName: po(r),
|
|
457
|
+
sortModifiers: so(r),
|
|
458
|
+
...ro(r)
|
|
459
|
+
}), lo = /\s+/, co = (r, e) => {
|
|
459
460
|
const {
|
|
460
461
|
parseClassName: o,
|
|
461
462
|
getClassGroupId: t,
|
|
462
463
|
getConflictingClassGroupIds: a,
|
|
463
464
|
sortModifiers: p
|
|
464
|
-
} = e, m = [],
|
|
465
|
+
} = e, m = [], l = r.trim().split(lo);
|
|
465
466
|
let d = "";
|
|
466
|
-
for (let
|
|
467
|
-
const
|
|
468
|
-
isExternal:
|
|
469
|
-
modifiers:
|
|
470
|
-
hasImportantModifier:
|
|
471
|
-
baseClassName:
|
|
472
|
-
maybePostfixModifierPosition:
|
|
473
|
-
} = o(
|
|
474
|
-
if (
|
|
475
|
-
d =
|
|
467
|
+
for (let h = l.length - 1; h >= 0; h -= 1) {
|
|
468
|
+
const b = l[h], {
|
|
469
|
+
isExternal: q,
|
|
470
|
+
modifiers: R,
|
|
471
|
+
hasImportantModifier: T,
|
|
472
|
+
baseClassName: j,
|
|
473
|
+
maybePostfixModifierPosition: y
|
|
474
|
+
} = o(b);
|
|
475
|
+
if (q) {
|
|
476
|
+
d = b + (d.length > 0 ? " " + d : d);
|
|
476
477
|
continue;
|
|
477
478
|
}
|
|
478
|
-
let
|
|
479
|
+
let C = !!y, V = t(C ? j.substring(0, y) : j);
|
|
479
480
|
if (!V) {
|
|
480
|
-
if (!
|
|
481
|
-
d =
|
|
481
|
+
if (!C) {
|
|
482
|
+
d = b + (d.length > 0 ? " " + d : d);
|
|
482
483
|
continue;
|
|
483
484
|
}
|
|
484
|
-
if (V = t(
|
|
485
|
-
d =
|
|
485
|
+
if (V = t(j), !V) {
|
|
486
|
+
d = b + (d.length > 0 ? " " + d : d);
|
|
486
487
|
continue;
|
|
487
488
|
}
|
|
488
|
-
|
|
489
|
+
C = !1;
|
|
489
490
|
}
|
|
490
|
-
const Z = p(
|
|
491
|
+
const Z = p(R).join(":"), D = T ? Z + kr : Z, $ = D + V;
|
|
491
492
|
if (m.includes($))
|
|
492
493
|
continue;
|
|
493
494
|
m.push($);
|
|
494
|
-
const W = a(V,
|
|
495
|
+
const W = a(V, C);
|
|
495
496
|
for (let G = 0; G < W.length; ++G) {
|
|
496
497
|
const B = W[G];
|
|
497
498
|
m.push(D + B);
|
|
498
499
|
}
|
|
499
|
-
d =
|
|
500
|
+
d = b + (d.length > 0 ? " " + d : d);
|
|
500
501
|
}
|
|
501
502
|
return d;
|
|
502
503
|
};
|
|
503
|
-
function
|
|
504
|
+
function uo() {
|
|
504
505
|
let r = 0, e, o, t = "";
|
|
505
506
|
for (; r < arguments.length; )
|
|
506
|
-
(e = arguments[r++]) && (o =
|
|
507
|
+
(e = arguments[r++]) && (o = Ir(e)) && (t && (t += " "), t += o);
|
|
507
508
|
return t;
|
|
508
509
|
}
|
|
509
|
-
const
|
|
510
|
+
const Ir = (r) => {
|
|
510
511
|
if (typeof r == "string")
|
|
511
512
|
return r;
|
|
512
513
|
let e, o = "";
|
|
513
514
|
for (let t = 0; t < r.length; t++)
|
|
514
|
-
r[t] && (e =
|
|
515
|
+
r[t] && (e = Ir(r[t])) && (o && (o += " "), o += e);
|
|
515
516
|
return o;
|
|
516
517
|
};
|
|
517
|
-
function
|
|
518
|
+
function fo(r, ...e) {
|
|
518
519
|
let o, t, a, p = m;
|
|
519
520
|
function m(d) {
|
|
520
|
-
const
|
|
521
|
-
return o =
|
|
521
|
+
const h = e.reduce((b, q) => q(b), r());
|
|
522
|
+
return o = no(h), t = o.cache.get, a = o.cache.set, p = l, l(d);
|
|
522
523
|
}
|
|
523
|
-
function
|
|
524
|
-
const
|
|
525
|
-
if (
|
|
526
|
-
return
|
|
527
|
-
const
|
|
528
|
-
return a(d,
|
|
524
|
+
function l(d) {
|
|
525
|
+
const h = t(d);
|
|
526
|
+
if (h)
|
|
527
|
+
return h;
|
|
528
|
+
const b = co(d, o);
|
|
529
|
+
return a(d, b), b;
|
|
529
530
|
}
|
|
530
531
|
return function() {
|
|
531
|
-
return p(
|
|
532
|
+
return p(uo.apply(null, arguments));
|
|
532
533
|
};
|
|
533
534
|
}
|
|
534
|
-
const
|
|
535
|
+
const E = (r) => {
|
|
535
536
|
const e = (o) => o[r] || [];
|
|
536
537
|
return e.isThemeGetter = !0, e;
|
|
537
|
-
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i,
|
|
538
|
+
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Vr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, go = /^\d+\/\d+$/, bo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ho = /\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$/, wo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ko = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rr = (r) => go.test(r), g = (r) => !!r && !Number.isNaN(Number(r)), U = (r) => !!r && Number.isInteger(Number(r)), gr = (r) => r.endsWith("%") && g(r.slice(0, -1)), F = (r) => bo.test(r), yo = () => !0, vo = (r) => (
|
|
538
539
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
539
540
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
540
541
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
541
|
-
|
|
542
|
-
),
|
|
542
|
+
ho.test(r) && !wo.test(r)
|
|
543
|
+
), Gr = () => !1, zo = (r) => ko.test(r), qo = (r) => xo.test(r), Ro = (r) => !s(r) && !n(r), jo = (r) => or(r, $r, Gr), s = (r) => Or.test(r), X = (r) => or(r, Wr, vo), br = (r) => or(r, Co, g), Er = (r) => or(r, Lr, Gr), So = (r) => or(r, Fr, qo), ur = (r) => or(r, Yr, zo), n = (r) => Vr.test(r), mr = (r) => tr(r, Wr), Eo = (r) => tr(r, Po), Tr = (r) => tr(r, Lr), To = (r) => tr(r, $r), Ao = (r) => tr(r, Fr), fr = (r) => tr(r, Yr, !0), or = (r, e, o) => {
|
|
543
544
|
const t = Or.exec(r);
|
|
544
545
|
return t ? t[1] ? e(t[1]) : o(t[2]) : !1;
|
|
545
546
|
}, tr = (r, e, o = !1) => {
|
|
546
|
-
const t =
|
|
547
|
+
const t = Vr.exec(r);
|
|
547
548
|
return t ? t[1] ? e(t[1]) : o : !1;
|
|
548
|
-
},
|
|
549
|
-
const r =
|
|
549
|
+
}, Lr = (r) => r === "position" || r === "percentage", Fr = (r) => r === "image" || r === "url", $r = (r) => r === "length" || r === "size" || r === "bg-size", Wr = (r) => r === "length", Co = (r) => r === "number", Po = (r) => r === "family-name", Yr = (r) => r === "shadow", _o = () => {
|
|
550
|
+
const r = E("color"), e = E("font"), o = E("text"), t = E("font-weight"), a = E("tracking"), p = E("leading"), m = E("breakpoint"), l = E("container"), d = E("spacing"), h = E("radius"), b = E("shadow"), q = E("inset-shadow"), R = E("text-shadow"), T = E("drop-shadow"), j = E("blur"), y = E("perspective"), C = E("aspect"), V = E("ease"), Z = E("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
|
|
550
551
|
"center",
|
|
551
552
|
"top",
|
|
552
553
|
"bottom",
|
|
@@ -564,30 +565,30 @@ const q = (r) => {
|
|
|
564
565
|
"bottom-left",
|
|
565
566
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
566
567
|
"left-bottom"
|
|
567
|
-
], W = () => [...$(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], u = () => [n, s, d],
|
|
568
|
+
], W = () => [...$(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], u = () => [n, s, d], N = () => [rr, "full", "auto", ...u()], nr = () => [U, "none", "subgrid", n, s], Q = () => ["auto", {
|
|
568
569
|
span: ["full", U, n, s]
|
|
569
|
-
}, U, n, s], J = () => [U, "auto", n, s], lr = () => ["auto", "min", "max", "fr", n, s], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"],
|
|
570
|
+
}, U, n, s], J = () => [U, "auto", n, s], lr = () => ["auto", "min", "max", "fr", n, s], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...u()], O = () => [rr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [r, n, s], er = () => [...$(), Tr, Er, {
|
|
570
571
|
position: [n, s]
|
|
571
572
|
}], i = () => ["no-repeat", {
|
|
572
573
|
repeat: ["", "x", "y", "space", "round"]
|
|
573
|
-
}], f = () => ["auto", "cover", "contain",
|
|
574
|
+
}], f = () => ["auto", "cover", "contain", To, jo, {
|
|
574
575
|
size: [n, s]
|
|
575
576
|
}], x = () => [gr, mr, X], w = () => [
|
|
576
577
|
// Deprecated since Tailwind CSS v4.0.0
|
|
577
578
|
"",
|
|
578
579
|
"none",
|
|
579
580
|
"full",
|
|
580
|
-
|
|
581
|
+
h,
|
|
581
582
|
n,
|
|
582
583
|
s
|
|
583
|
-
],
|
|
584
|
+
], v = () => ["", g, mr, X], A = () => ["solid", "dashed", "dotted", "double"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [g, gr, Tr, Er], S = () => [
|
|
584
585
|
// Deprecated since Tailwind CSS v4.0.0
|
|
585
586
|
"",
|
|
586
587
|
"none",
|
|
587
|
-
|
|
588
|
+
j,
|
|
588
589
|
n,
|
|
589
590
|
s
|
|
590
|
-
],
|
|
591
|
+
], M = () => ["none", g, n, s], Y = () => ["none", g, n, s], ir = () => [g, n, s], cr = () => [rr, "full", ...u()];
|
|
591
592
|
return {
|
|
592
593
|
cacheSize: 500,
|
|
593
594
|
theme: {
|
|
@@ -595,11 +596,11 @@ const q = (r) => {
|
|
|
595
596
|
aspect: ["video"],
|
|
596
597
|
blur: [F],
|
|
597
598
|
breakpoint: [F],
|
|
598
|
-
color: [
|
|
599
|
+
color: [yo],
|
|
599
600
|
container: [F],
|
|
600
601
|
"drop-shadow": [F],
|
|
601
602
|
ease: ["in", "out", "in-out"],
|
|
602
|
-
font: [
|
|
603
|
+
font: [Ro],
|
|
603
604
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
604
605
|
"inset-shadow": [F],
|
|
605
606
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -620,7 +621,7 @@ const q = (r) => {
|
|
|
620
621
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
621
622
|
*/
|
|
622
623
|
aspect: [{
|
|
623
|
-
aspect: ["auto", "square", rr, s, n,
|
|
624
|
+
aspect: ["auto", "square", rr, s, n, C]
|
|
624
625
|
}],
|
|
625
626
|
/**
|
|
626
627
|
* Container
|
|
@@ -633,7 +634,7 @@ const q = (r) => {
|
|
|
633
634
|
* @see https://tailwindcss.com/docs/columns
|
|
634
635
|
*/
|
|
635
636
|
columns: [{
|
|
636
|
-
columns: [g, s, n,
|
|
637
|
+
columns: [g, s, n, l]
|
|
637
638
|
}],
|
|
638
639
|
/**
|
|
639
640
|
* Break After
|
|
@@ -765,63 +766,63 @@ const q = (r) => {
|
|
|
765
766
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
766
767
|
*/
|
|
767
768
|
inset: [{
|
|
768
|
-
inset:
|
|
769
|
+
inset: N()
|
|
769
770
|
}],
|
|
770
771
|
/**
|
|
771
772
|
* Right / Left
|
|
772
773
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
773
774
|
*/
|
|
774
775
|
"inset-x": [{
|
|
775
|
-
"inset-x":
|
|
776
|
+
"inset-x": N()
|
|
776
777
|
}],
|
|
777
778
|
/**
|
|
778
779
|
* Top / Bottom
|
|
779
780
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
780
781
|
*/
|
|
781
782
|
"inset-y": [{
|
|
782
|
-
"inset-y":
|
|
783
|
+
"inset-y": N()
|
|
783
784
|
}],
|
|
784
785
|
/**
|
|
785
786
|
* Start
|
|
786
787
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
787
788
|
*/
|
|
788
789
|
start: [{
|
|
789
|
-
start:
|
|
790
|
+
start: N()
|
|
790
791
|
}],
|
|
791
792
|
/**
|
|
792
793
|
* End
|
|
793
794
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
794
795
|
*/
|
|
795
796
|
end: [{
|
|
796
|
-
end:
|
|
797
|
+
end: N()
|
|
797
798
|
}],
|
|
798
799
|
/**
|
|
799
800
|
* Top
|
|
800
801
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
801
802
|
*/
|
|
802
803
|
top: [{
|
|
803
|
-
top:
|
|
804
|
+
top: N()
|
|
804
805
|
}],
|
|
805
806
|
/**
|
|
806
807
|
* Right
|
|
807
808
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
808
809
|
*/
|
|
809
810
|
right: [{
|
|
810
|
-
right:
|
|
811
|
+
right: N()
|
|
811
812
|
}],
|
|
812
813
|
/**
|
|
813
814
|
* Bottom
|
|
814
815
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
815
816
|
*/
|
|
816
817
|
bottom: [{
|
|
817
|
-
bottom:
|
|
818
|
+
bottom: N()
|
|
818
819
|
}],
|
|
819
820
|
/**
|
|
820
821
|
* Left
|
|
821
822
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
822
823
|
*/
|
|
823
824
|
left: [{
|
|
824
|
-
left:
|
|
825
|
+
left: N()
|
|
825
826
|
}],
|
|
826
827
|
/**
|
|
827
828
|
* Visibility
|
|
@@ -843,7 +844,7 @@ const q = (r) => {
|
|
|
843
844
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
844
845
|
*/
|
|
845
846
|
basis: [{
|
|
846
|
-
basis: [rr, "full", "auto",
|
|
847
|
+
basis: [rr, "full", "auto", l, ...u()]
|
|
847
848
|
}],
|
|
848
849
|
/**
|
|
849
850
|
* Flex Direction
|
|
@@ -1121,63 +1122,63 @@ const q = (r) => {
|
|
|
1121
1122
|
* @see https://tailwindcss.com/docs/margin
|
|
1122
1123
|
*/
|
|
1123
1124
|
m: [{
|
|
1124
|
-
m:
|
|
1125
|
+
m: P()
|
|
1125
1126
|
}],
|
|
1126
1127
|
/**
|
|
1127
1128
|
* Margin X
|
|
1128
1129
|
* @see https://tailwindcss.com/docs/margin
|
|
1129
1130
|
*/
|
|
1130
1131
|
mx: [{
|
|
1131
|
-
mx:
|
|
1132
|
+
mx: P()
|
|
1132
1133
|
}],
|
|
1133
1134
|
/**
|
|
1134
1135
|
* Margin Y
|
|
1135
1136
|
* @see https://tailwindcss.com/docs/margin
|
|
1136
1137
|
*/
|
|
1137
1138
|
my: [{
|
|
1138
|
-
my:
|
|
1139
|
+
my: P()
|
|
1139
1140
|
}],
|
|
1140
1141
|
/**
|
|
1141
1142
|
* Margin Start
|
|
1142
1143
|
* @see https://tailwindcss.com/docs/margin
|
|
1143
1144
|
*/
|
|
1144
1145
|
ms: [{
|
|
1145
|
-
ms:
|
|
1146
|
+
ms: P()
|
|
1146
1147
|
}],
|
|
1147
1148
|
/**
|
|
1148
1149
|
* Margin End
|
|
1149
1150
|
* @see https://tailwindcss.com/docs/margin
|
|
1150
1151
|
*/
|
|
1151
1152
|
me: [{
|
|
1152
|
-
me:
|
|
1153
|
+
me: P()
|
|
1153
1154
|
}],
|
|
1154
1155
|
/**
|
|
1155
1156
|
* Margin Top
|
|
1156
1157
|
* @see https://tailwindcss.com/docs/margin
|
|
1157
1158
|
*/
|
|
1158
1159
|
mt: [{
|
|
1159
|
-
mt:
|
|
1160
|
+
mt: P()
|
|
1160
1161
|
}],
|
|
1161
1162
|
/**
|
|
1162
1163
|
* Margin Right
|
|
1163
1164
|
* @see https://tailwindcss.com/docs/margin
|
|
1164
1165
|
*/
|
|
1165
1166
|
mr: [{
|
|
1166
|
-
mr:
|
|
1167
|
+
mr: P()
|
|
1167
1168
|
}],
|
|
1168
1169
|
/**
|
|
1169
1170
|
* Margin Bottom
|
|
1170
1171
|
* @see https://tailwindcss.com/docs/margin
|
|
1171
1172
|
*/
|
|
1172
1173
|
mb: [{
|
|
1173
|
-
mb:
|
|
1174
|
+
mb: P()
|
|
1174
1175
|
}],
|
|
1175
1176
|
/**
|
|
1176
1177
|
* Margin Left
|
|
1177
1178
|
* @see https://tailwindcss.com/docs/margin
|
|
1178
1179
|
*/
|
|
1179
1180
|
ml: [{
|
|
1180
|
-
ml:
|
|
1181
|
+
ml: P()
|
|
1181
1182
|
}],
|
|
1182
1183
|
/**
|
|
1183
1184
|
* Space Between X
|
|
@@ -1211,14 +1212,14 @@ const q = (r) => {
|
|
|
1211
1212
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1212
1213
|
*/
|
|
1213
1214
|
size: [{
|
|
1214
|
-
size:
|
|
1215
|
+
size: O()
|
|
1215
1216
|
}],
|
|
1216
1217
|
/**
|
|
1217
1218
|
* Width
|
|
1218
1219
|
* @see https://tailwindcss.com/docs/width
|
|
1219
1220
|
*/
|
|
1220
1221
|
w: [{
|
|
1221
|
-
w: [
|
|
1222
|
+
w: [l, "screen", ...O()]
|
|
1222
1223
|
}],
|
|
1223
1224
|
/**
|
|
1224
1225
|
* Min-Width
|
|
@@ -1226,11 +1227,11 @@ const q = (r) => {
|
|
|
1226
1227
|
*/
|
|
1227
1228
|
"min-w": [{
|
|
1228
1229
|
"min-w": [
|
|
1229
|
-
|
|
1230
|
+
l,
|
|
1230
1231
|
"screen",
|
|
1231
1232
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1232
1233
|
"none",
|
|
1233
|
-
...
|
|
1234
|
+
...O()
|
|
1234
1235
|
]
|
|
1235
1236
|
}],
|
|
1236
1237
|
/**
|
|
@@ -1239,7 +1240,7 @@ const q = (r) => {
|
|
|
1239
1240
|
*/
|
|
1240
1241
|
"max-w": [{
|
|
1241
1242
|
"max-w": [
|
|
1242
|
-
|
|
1243
|
+
l,
|
|
1243
1244
|
"screen",
|
|
1244
1245
|
"none",
|
|
1245
1246
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1248,7 +1249,7 @@ const q = (r) => {
|
|
|
1248
1249
|
{
|
|
1249
1250
|
screen: [m]
|
|
1250
1251
|
},
|
|
1251
|
-
...
|
|
1252
|
+
...O()
|
|
1252
1253
|
]
|
|
1253
1254
|
}],
|
|
1254
1255
|
/**
|
|
@@ -1256,21 +1257,21 @@ const q = (r) => {
|
|
|
1256
1257
|
* @see https://tailwindcss.com/docs/height
|
|
1257
1258
|
*/
|
|
1258
1259
|
h: [{
|
|
1259
|
-
h: ["screen", "lh", ...
|
|
1260
|
+
h: ["screen", "lh", ...O()]
|
|
1260
1261
|
}],
|
|
1261
1262
|
/**
|
|
1262
1263
|
* Min-Height
|
|
1263
1264
|
* @see https://tailwindcss.com/docs/min-height
|
|
1264
1265
|
*/
|
|
1265
1266
|
"min-h": [{
|
|
1266
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1267
|
+
"min-h": ["screen", "lh", "none", ...O()]
|
|
1267
1268
|
}],
|
|
1268
1269
|
/**
|
|
1269
1270
|
* Max-Height
|
|
1270
1271
|
* @see https://tailwindcss.com/docs/max-height
|
|
1271
1272
|
*/
|
|
1272
1273
|
"max-h": [{
|
|
1273
|
-
"max-h": ["screen", "lh", ...
|
|
1274
|
+
"max-h": ["screen", "lh", ...O()]
|
|
1274
1275
|
}],
|
|
1275
1276
|
// ------------------
|
|
1276
1277
|
// --- Typography ---
|
|
@@ -1311,7 +1312,7 @@ const q = (r) => {
|
|
|
1311
1312
|
* @see https://tailwindcss.com/docs/font-family
|
|
1312
1313
|
*/
|
|
1313
1314
|
"font-family": [{
|
|
1314
|
-
font: [
|
|
1315
|
+
font: [Eo, s, e]
|
|
1315
1316
|
}],
|
|
1316
1317
|
/**
|
|
1317
1318
|
* Font Variant Numeric
|
|
@@ -1402,14 +1403,14 @@ const q = (r) => {
|
|
|
1402
1403
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1403
1404
|
*/
|
|
1404
1405
|
"placeholder-color": [{
|
|
1405
|
-
placeholder:
|
|
1406
|
+
placeholder: c()
|
|
1406
1407
|
}],
|
|
1407
1408
|
/**
|
|
1408
1409
|
* Text Color
|
|
1409
1410
|
* @see https://tailwindcss.com/docs/text-color
|
|
1410
1411
|
*/
|
|
1411
1412
|
"text-color": [{
|
|
1412
|
-
text:
|
|
1413
|
+
text: c()
|
|
1413
1414
|
}],
|
|
1414
1415
|
/**
|
|
1415
1416
|
* Text Decoration
|
|
@@ -1421,7 +1422,7 @@ const q = (r) => {
|
|
|
1421
1422
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1422
1423
|
*/
|
|
1423
1424
|
"text-decoration-style": [{
|
|
1424
|
-
decoration: [...
|
|
1425
|
+
decoration: [...A(), "wavy"]
|
|
1425
1426
|
}],
|
|
1426
1427
|
/**
|
|
1427
1428
|
* Text Decoration Thickness
|
|
@@ -1435,7 +1436,7 @@ const q = (r) => {
|
|
|
1435
1436
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1436
1437
|
*/
|
|
1437
1438
|
"text-decoration-color": [{
|
|
1438
|
-
decoration:
|
|
1439
|
+
decoration: c()
|
|
1439
1440
|
}],
|
|
1440
1441
|
/**
|
|
1441
1442
|
* Text Underline Offset
|
|
@@ -1566,14 +1567,14 @@ const q = (r) => {
|
|
|
1566
1567
|
}, U, n, s],
|
|
1567
1568
|
radial: ["", n, s],
|
|
1568
1569
|
conic: [U, n, s]
|
|
1569
|
-
},
|
|
1570
|
+
}, Ao, So]
|
|
1570
1571
|
}],
|
|
1571
1572
|
/**
|
|
1572
1573
|
* Background Color
|
|
1573
1574
|
* @see https://tailwindcss.com/docs/background-color
|
|
1574
1575
|
*/
|
|
1575
1576
|
"bg-color": [{
|
|
1576
|
-
bg:
|
|
1577
|
+
bg: c()
|
|
1577
1578
|
}],
|
|
1578
1579
|
/**
|
|
1579
1580
|
* Gradient Color Stops From Position
|
|
@@ -1601,21 +1602,21 @@ const q = (r) => {
|
|
|
1601
1602
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1602
1603
|
*/
|
|
1603
1604
|
"gradient-from": [{
|
|
1604
|
-
from:
|
|
1605
|
+
from: c()
|
|
1605
1606
|
}],
|
|
1606
1607
|
/**
|
|
1607
1608
|
* Gradient Color Stops Via
|
|
1608
1609
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1609
1610
|
*/
|
|
1610
1611
|
"gradient-via": [{
|
|
1611
|
-
via:
|
|
1612
|
+
via: c()
|
|
1612
1613
|
}],
|
|
1613
1614
|
/**
|
|
1614
1615
|
* Gradient Color Stops To
|
|
1615
1616
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1616
1617
|
*/
|
|
1617
1618
|
"gradient-to": [{
|
|
1618
|
-
to:
|
|
1619
|
+
to: c()
|
|
1619
1620
|
}],
|
|
1620
1621
|
// ---------------
|
|
1621
1622
|
// --- Borders ---
|
|
@@ -1730,70 +1731,70 @@ const q = (r) => {
|
|
|
1730
1731
|
* @see https://tailwindcss.com/docs/border-width
|
|
1731
1732
|
*/
|
|
1732
1733
|
"border-w": [{
|
|
1733
|
-
border:
|
|
1734
|
+
border: v()
|
|
1734
1735
|
}],
|
|
1735
1736
|
/**
|
|
1736
1737
|
* Border Width X
|
|
1737
1738
|
* @see https://tailwindcss.com/docs/border-width
|
|
1738
1739
|
*/
|
|
1739
1740
|
"border-w-x": [{
|
|
1740
|
-
"border-x":
|
|
1741
|
+
"border-x": v()
|
|
1741
1742
|
}],
|
|
1742
1743
|
/**
|
|
1743
1744
|
* Border Width Y
|
|
1744
1745
|
* @see https://tailwindcss.com/docs/border-width
|
|
1745
1746
|
*/
|
|
1746
1747
|
"border-w-y": [{
|
|
1747
|
-
"border-y":
|
|
1748
|
+
"border-y": v()
|
|
1748
1749
|
}],
|
|
1749
1750
|
/**
|
|
1750
1751
|
* Border Width Start
|
|
1751
1752
|
* @see https://tailwindcss.com/docs/border-width
|
|
1752
1753
|
*/
|
|
1753
1754
|
"border-w-s": [{
|
|
1754
|
-
"border-s":
|
|
1755
|
+
"border-s": v()
|
|
1755
1756
|
}],
|
|
1756
1757
|
/**
|
|
1757
1758
|
* Border Width End
|
|
1758
1759
|
* @see https://tailwindcss.com/docs/border-width
|
|
1759
1760
|
*/
|
|
1760
1761
|
"border-w-e": [{
|
|
1761
|
-
"border-e":
|
|
1762
|
+
"border-e": v()
|
|
1762
1763
|
}],
|
|
1763
1764
|
/**
|
|
1764
1765
|
* Border Width Top
|
|
1765
1766
|
* @see https://tailwindcss.com/docs/border-width
|
|
1766
1767
|
*/
|
|
1767
1768
|
"border-w-t": [{
|
|
1768
|
-
"border-t":
|
|
1769
|
+
"border-t": v()
|
|
1769
1770
|
}],
|
|
1770
1771
|
/**
|
|
1771
1772
|
* Border Width Right
|
|
1772
1773
|
* @see https://tailwindcss.com/docs/border-width
|
|
1773
1774
|
*/
|
|
1774
1775
|
"border-w-r": [{
|
|
1775
|
-
"border-r":
|
|
1776
|
+
"border-r": v()
|
|
1776
1777
|
}],
|
|
1777
1778
|
/**
|
|
1778
1779
|
* Border Width Bottom
|
|
1779
1780
|
* @see https://tailwindcss.com/docs/border-width
|
|
1780
1781
|
*/
|
|
1781
1782
|
"border-w-b": [{
|
|
1782
|
-
"border-b":
|
|
1783
|
+
"border-b": v()
|
|
1783
1784
|
}],
|
|
1784
1785
|
/**
|
|
1785
1786
|
* Border Width Left
|
|
1786
1787
|
* @see https://tailwindcss.com/docs/border-width
|
|
1787
1788
|
*/
|
|
1788
1789
|
"border-w-l": [{
|
|
1789
|
-
"border-l":
|
|
1790
|
+
"border-l": v()
|
|
1790
1791
|
}],
|
|
1791
1792
|
/**
|
|
1792
1793
|
* Divide Width X
|
|
1793
1794
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1794
1795
|
*/
|
|
1795
1796
|
"divide-x": [{
|
|
1796
|
-
"divide-x":
|
|
1797
|
+
"divide-x": v()
|
|
1797
1798
|
}],
|
|
1798
1799
|
/**
|
|
1799
1800
|
* Divide Width X Reverse
|
|
@@ -1805,7 +1806,7 @@ const q = (r) => {
|
|
|
1805
1806
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1806
1807
|
*/
|
|
1807
1808
|
"divide-y": [{
|
|
1808
|
-
"divide-y":
|
|
1809
|
+
"divide-y": v()
|
|
1809
1810
|
}],
|
|
1810
1811
|
/**
|
|
1811
1812
|
* Divide Width Y Reverse
|
|
@@ -1817,91 +1818,91 @@ const q = (r) => {
|
|
|
1817
1818
|
* @see https://tailwindcss.com/docs/border-style
|
|
1818
1819
|
*/
|
|
1819
1820
|
"border-style": [{
|
|
1820
|
-
border: [...
|
|
1821
|
+
border: [...A(), "hidden", "none"]
|
|
1821
1822
|
}],
|
|
1822
1823
|
/**
|
|
1823
1824
|
* Divide Style
|
|
1824
1825
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1825
1826
|
*/
|
|
1826
1827
|
"divide-style": [{
|
|
1827
|
-
divide: [...
|
|
1828
|
+
divide: [...A(), "hidden", "none"]
|
|
1828
1829
|
}],
|
|
1829
1830
|
/**
|
|
1830
1831
|
* Border Color
|
|
1831
1832
|
* @see https://tailwindcss.com/docs/border-color
|
|
1832
1833
|
*/
|
|
1833
1834
|
"border-color": [{
|
|
1834
|
-
border:
|
|
1835
|
+
border: c()
|
|
1835
1836
|
}],
|
|
1836
1837
|
/**
|
|
1837
1838
|
* Border Color X
|
|
1838
1839
|
* @see https://tailwindcss.com/docs/border-color
|
|
1839
1840
|
*/
|
|
1840
1841
|
"border-color-x": [{
|
|
1841
|
-
"border-x":
|
|
1842
|
+
"border-x": c()
|
|
1842
1843
|
}],
|
|
1843
1844
|
/**
|
|
1844
1845
|
* Border Color Y
|
|
1845
1846
|
* @see https://tailwindcss.com/docs/border-color
|
|
1846
1847
|
*/
|
|
1847
1848
|
"border-color-y": [{
|
|
1848
|
-
"border-y":
|
|
1849
|
+
"border-y": c()
|
|
1849
1850
|
}],
|
|
1850
1851
|
/**
|
|
1851
1852
|
* Border Color S
|
|
1852
1853
|
* @see https://tailwindcss.com/docs/border-color
|
|
1853
1854
|
*/
|
|
1854
1855
|
"border-color-s": [{
|
|
1855
|
-
"border-s":
|
|
1856
|
+
"border-s": c()
|
|
1856
1857
|
}],
|
|
1857
1858
|
/**
|
|
1858
1859
|
* Border Color E
|
|
1859
1860
|
* @see https://tailwindcss.com/docs/border-color
|
|
1860
1861
|
*/
|
|
1861
1862
|
"border-color-e": [{
|
|
1862
|
-
"border-e":
|
|
1863
|
+
"border-e": c()
|
|
1863
1864
|
}],
|
|
1864
1865
|
/**
|
|
1865
1866
|
* Border Color Top
|
|
1866
1867
|
* @see https://tailwindcss.com/docs/border-color
|
|
1867
1868
|
*/
|
|
1868
1869
|
"border-color-t": [{
|
|
1869
|
-
"border-t":
|
|
1870
|
+
"border-t": c()
|
|
1870
1871
|
}],
|
|
1871
1872
|
/**
|
|
1872
1873
|
* Border Color Right
|
|
1873
1874
|
* @see https://tailwindcss.com/docs/border-color
|
|
1874
1875
|
*/
|
|
1875
1876
|
"border-color-r": [{
|
|
1876
|
-
"border-r":
|
|
1877
|
+
"border-r": c()
|
|
1877
1878
|
}],
|
|
1878
1879
|
/**
|
|
1879
1880
|
* Border Color Bottom
|
|
1880
1881
|
* @see https://tailwindcss.com/docs/border-color
|
|
1881
1882
|
*/
|
|
1882
1883
|
"border-color-b": [{
|
|
1883
|
-
"border-b":
|
|
1884
|
+
"border-b": c()
|
|
1884
1885
|
}],
|
|
1885
1886
|
/**
|
|
1886
1887
|
* Border Color Left
|
|
1887
1888
|
* @see https://tailwindcss.com/docs/border-color
|
|
1888
1889
|
*/
|
|
1889
1890
|
"border-color-l": [{
|
|
1890
|
-
"border-l":
|
|
1891
|
+
"border-l": c()
|
|
1891
1892
|
}],
|
|
1892
1893
|
/**
|
|
1893
1894
|
* Divide Color
|
|
1894
1895
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1895
1896
|
*/
|
|
1896
1897
|
"divide-color": [{
|
|
1897
|
-
divide:
|
|
1898
|
+
divide: c()
|
|
1898
1899
|
}],
|
|
1899
1900
|
/**
|
|
1900
1901
|
* Outline Style
|
|
1901
1902
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1902
1903
|
*/
|
|
1903
1904
|
"outline-style": [{
|
|
1904
|
-
outline: [...
|
|
1905
|
+
outline: [...A(), "none", "hidden"]
|
|
1905
1906
|
}],
|
|
1906
1907
|
/**
|
|
1907
1908
|
* Outline Offset
|
|
@@ -1922,7 +1923,7 @@ const q = (r) => {
|
|
|
1922
1923
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1923
1924
|
*/
|
|
1924
1925
|
"outline-color": [{
|
|
1925
|
-
outline:
|
|
1926
|
+
outline: c()
|
|
1926
1927
|
}],
|
|
1927
1928
|
// ---------------
|
|
1928
1929
|
// --- Effects ---
|
|
@@ -1936,7 +1937,7 @@ const q = (r) => {
|
|
|
1936
1937
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1937
1938
|
"",
|
|
1938
1939
|
"none",
|
|
1939
|
-
|
|
1940
|
+
b,
|
|
1940
1941
|
fr,
|
|
1941
1942
|
ur
|
|
1942
1943
|
]
|
|
@@ -1946,28 +1947,28 @@ const q = (r) => {
|
|
|
1946
1947
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1947
1948
|
*/
|
|
1948
1949
|
"shadow-color": [{
|
|
1949
|
-
shadow:
|
|
1950
|
+
shadow: c()
|
|
1950
1951
|
}],
|
|
1951
1952
|
/**
|
|
1952
1953
|
* Inset Box Shadow
|
|
1953
1954
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1954
1955
|
*/
|
|
1955
1956
|
"inset-shadow": [{
|
|
1956
|
-
"inset-shadow": ["none",
|
|
1957
|
+
"inset-shadow": ["none", q, fr, ur]
|
|
1957
1958
|
}],
|
|
1958
1959
|
/**
|
|
1959
1960
|
* Inset Box Shadow Color
|
|
1960
1961
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1961
1962
|
*/
|
|
1962
1963
|
"inset-shadow-color": [{
|
|
1963
|
-
"inset-shadow":
|
|
1964
|
+
"inset-shadow": c()
|
|
1964
1965
|
}],
|
|
1965
1966
|
/**
|
|
1966
1967
|
* Ring Width
|
|
1967
1968
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1968
1969
|
*/
|
|
1969
1970
|
"ring-w": [{
|
|
1970
|
-
ring:
|
|
1971
|
+
ring: v()
|
|
1971
1972
|
}],
|
|
1972
1973
|
/**
|
|
1973
1974
|
* Ring Width Inset
|
|
@@ -1981,7 +1982,7 @@ const q = (r) => {
|
|
|
1981
1982
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1982
1983
|
*/
|
|
1983
1984
|
"ring-color": [{
|
|
1984
|
-
ring:
|
|
1985
|
+
ring: c()
|
|
1985
1986
|
}],
|
|
1986
1987
|
/**
|
|
1987
1988
|
* Ring Offset Width
|
|
@@ -1999,35 +2000,35 @@ const q = (r) => {
|
|
|
1999
2000
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2000
2001
|
*/
|
|
2001
2002
|
"ring-offset-color": [{
|
|
2002
|
-
"ring-offset":
|
|
2003
|
+
"ring-offset": c()
|
|
2003
2004
|
}],
|
|
2004
2005
|
/**
|
|
2005
2006
|
* Inset Ring Width
|
|
2006
2007
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2007
2008
|
*/
|
|
2008
2009
|
"inset-ring-w": [{
|
|
2009
|
-
"inset-ring":
|
|
2010
|
+
"inset-ring": v()
|
|
2010
2011
|
}],
|
|
2011
2012
|
/**
|
|
2012
2013
|
* Inset Ring Color
|
|
2013
2014
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2014
2015
|
*/
|
|
2015
2016
|
"inset-ring-color": [{
|
|
2016
|
-
"inset-ring":
|
|
2017
|
+
"inset-ring": c()
|
|
2017
2018
|
}],
|
|
2018
2019
|
/**
|
|
2019
2020
|
* Text Shadow
|
|
2020
2021
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2021
2022
|
*/
|
|
2022
2023
|
"text-shadow": [{
|
|
2023
|
-
"text-shadow": ["none",
|
|
2024
|
+
"text-shadow": ["none", R, fr, ur]
|
|
2024
2025
|
}],
|
|
2025
2026
|
/**
|
|
2026
2027
|
* Text Shadow Color
|
|
2027
2028
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2028
2029
|
*/
|
|
2029
2030
|
"text-shadow-color": [{
|
|
2030
|
-
"text-shadow":
|
|
2031
|
+
"text-shadow": c()
|
|
2031
2032
|
}],
|
|
2032
2033
|
/**
|
|
2033
2034
|
* Opacity
|
|
@@ -2072,103 +2073,103 @@ const q = (r) => {
|
|
|
2072
2073
|
"mask-linear": [g]
|
|
2073
2074
|
}],
|
|
2074
2075
|
"mask-image-linear-from-pos": [{
|
|
2075
|
-
"mask-linear-from":
|
|
2076
|
+
"mask-linear-from": z()
|
|
2076
2077
|
}],
|
|
2077
2078
|
"mask-image-linear-to-pos": [{
|
|
2078
|
-
"mask-linear-to":
|
|
2079
|
+
"mask-linear-to": z()
|
|
2079
2080
|
}],
|
|
2080
2081
|
"mask-image-linear-from-color": [{
|
|
2081
|
-
"mask-linear-from":
|
|
2082
|
+
"mask-linear-from": c()
|
|
2082
2083
|
}],
|
|
2083
2084
|
"mask-image-linear-to-color": [{
|
|
2084
|
-
"mask-linear-to":
|
|
2085
|
+
"mask-linear-to": c()
|
|
2085
2086
|
}],
|
|
2086
2087
|
"mask-image-t-from-pos": [{
|
|
2087
|
-
"mask-t-from":
|
|
2088
|
+
"mask-t-from": z()
|
|
2088
2089
|
}],
|
|
2089
2090
|
"mask-image-t-to-pos": [{
|
|
2090
|
-
"mask-t-to":
|
|
2091
|
+
"mask-t-to": z()
|
|
2091
2092
|
}],
|
|
2092
2093
|
"mask-image-t-from-color": [{
|
|
2093
|
-
"mask-t-from":
|
|
2094
|
+
"mask-t-from": c()
|
|
2094
2095
|
}],
|
|
2095
2096
|
"mask-image-t-to-color": [{
|
|
2096
|
-
"mask-t-to":
|
|
2097
|
+
"mask-t-to": c()
|
|
2097
2098
|
}],
|
|
2098
2099
|
"mask-image-r-from-pos": [{
|
|
2099
|
-
"mask-r-from":
|
|
2100
|
+
"mask-r-from": z()
|
|
2100
2101
|
}],
|
|
2101
2102
|
"mask-image-r-to-pos": [{
|
|
2102
|
-
"mask-r-to":
|
|
2103
|
+
"mask-r-to": z()
|
|
2103
2104
|
}],
|
|
2104
2105
|
"mask-image-r-from-color": [{
|
|
2105
|
-
"mask-r-from":
|
|
2106
|
+
"mask-r-from": c()
|
|
2106
2107
|
}],
|
|
2107
2108
|
"mask-image-r-to-color": [{
|
|
2108
|
-
"mask-r-to":
|
|
2109
|
+
"mask-r-to": c()
|
|
2109
2110
|
}],
|
|
2110
2111
|
"mask-image-b-from-pos": [{
|
|
2111
|
-
"mask-b-from":
|
|
2112
|
+
"mask-b-from": z()
|
|
2112
2113
|
}],
|
|
2113
2114
|
"mask-image-b-to-pos": [{
|
|
2114
|
-
"mask-b-to":
|
|
2115
|
+
"mask-b-to": z()
|
|
2115
2116
|
}],
|
|
2116
2117
|
"mask-image-b-from-color": [{
|
|
2117
|
-
"mask-b-from":
|
|
2118
|
+
"mask-b-from": c()
|
|
2118
2119
|
}],
|
|
2119
2120
|
"mask-image-b-to-color": [{
|
|
2120
|
-
"mask-b-to":
|
|
2121
|
+
"mask-b-to": c()
|
|
2121
2122
|
}],
|
|
2122
2123
|
"mask-image-l-from-pos": [{
|
|
2123
|
-
"mask-l-from":
|
|
2124
|
+
"mask-l-from": z()
|
|
2124
2125
|
}],
|
|
2125
2126
|
"mask-image-l-to-pos": [{
|
|
2126
|
-
"mask-l-to":
|
|
2127
|
+
"mask-l-to": z()
|
|
2127
2128
|
}],
|
|
2128
2129
|
"mask-image-l-from-color": [{
|
|
2129
|
-
"mask-l-from":
|
|
2130
|
+
"mask-l-from": c()
|
|
2130
2131
|
}],
|
|
2131
2132
|
"mask-image-l-to-color": [{
|
|
2132
|
-
"mask-l-to":
|
|
2133
|
+
"mask-l-to": c()
|
|
2133
2134
|
}],
|
|
2134
2135
|
"mask-image-x-from-pos": [{
|
|
2135
|
-
"mask-x-from":
|
|
2136
|
+
"mask-x-from": z()
|
|
2136
2137
|
}],
|
|
2137
2138
|
"mask-image-x-to-pos": [{
|
|
2138
|
-
"mask-x-to":
|
|
2139
|
+
"mask-x-to": z()
|
|
2139
2140
|
}],
|
|
2140
2141
|
"mask-image-x-from-color": [{
|
|
2141
|
-
"mask-x-from":
|
|
2142
|
+
"mask-x-from": c()
|
|
2142
2143
|
}],
|
|
2143
2144
|
"mask-image-x-to-color": [{
|
|
2144
|
-
"mask-x-to":
|
|
2145
|
+
"mask-x-to": c()
|
|
2145
2146
|
}],
|
|
2146
2147
|
"mask-image-y-from-pos": [{
|
|
2147
|
-
"mask-y-from":
|
|
2148
|
+
"mask-y-from": z()
|
|
2148
2149
|
}],
|
|
2149
2150
|
"mask-image-y-to-pos": [{
|
|
2150
|
-
"mask-y-to":
|
|
2151
|
+
"mask-y-to": z()
|
|
2151
2152
|
}],
|
|
2152
2153
|
"mask-image-y-from-color": [{
|
|
2153
|
-
"mask-y-from":
|
|
2154
|
+
"mask-y-from": c()
|
|
2154
2155
|
}],
|
|
2155
2156
|
"mask-image-y-to-color": [{
|
|
2156
|
-
"mask-y-to":
|
|
2157
|
+
"mask-y-to": c()
|
|
2157
2158
|
}],
|
|
2158
2159
|
"mask-image-radial": [{
|
|
2159
2160
|
"mask-radial": [n, s]
|
|
2160
2161
|
}],
|
|
2161
2162
|
"mask-image-radial-from-pos": [{
|
|
2162
|
-
"mask-radial-from":
|
|
2163
|
+
"mask-radial-from": z()
|
|
2163
2164
|
}],
|
|
2164
2165
|
"mask-image-radial-to-pos": [{
|
|
2165
|
-
"mask-radial-to":
|
|
2166
|
+
"mask-radial-to": z()
|
|
2166
2167
|
}],
|
|
2167
2168
|
"mask-image-radial-from-color": [{
|
|
2168
|
-
"mask-radial-from":
|
|
2169
|
+
"mask-radial-from": c()
|
|
2169
2170
|
}],
|
|
2170
2171
|
"mask-image-radial-to-color": [{
|
|
2171
|
-
"mask-radial-to":
|
|
2172
|
+
"mask-radial-to": c()
|
|
2172
2173
|
}],
|
|
2173
2174
|
"mask-image-radial-shape": [{
|
|
2174
2175
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2186,16 +2187,16 @@ const q = (r) => {
|
|
|
2186
2187
|
"mask-conic": [g]
|
|
2187
2188
|
}],
|
|
2188
2189
|
"mask-image-conic-from-pos": [{
|
|
2189
|
-
"mask-conic-from":
|
|
2190
|
+
"mask-conic-from": z()
|
|
2190
2191
|
}],
|
|
2191
2192
|
"mask-image-conic-to-pos": [{
|
|
2192
|
-
"mask-conic-to":
|
|
2193
|
+
"mask-conic-to": z()
|
|
2193
2194
|
}],
|
|
2194
2195
|
"mask-image-conic-from-color": [{
|
|
2195
|
-
"mask-conic-from":
|
|
2196
|
+
"mask-conic-from": c()
|
|
2196
2197
|
}],
|
|
2197
2198
|
"mask-image-conic-to-color": [{
|
|
2198
|
-
"mask-conic-to":
|
|
2199
|
+
"mask-conic-to": c()
|
|
2199
2200
|
}],
|
|
2200
2201
|
/**
|
|
2201
2202
|
* Mask Mode
|
|
@@ -2267,7 +2268,7 @@ const q = (r) => {
|
|
|
2267
2268
|
* @see https://tailwindcss.com/docs/blur
|
|
2268
2269
|
*/
|
|
2269
2270
|
blur: [{
|
|
2270
|
-
blur:
|
|
2271
|
+
blur: S()
|
|
2271
2272
|
}],
|
|
2272
2273
|
/**
|
|
2273
2274
|
* Brightness
|
|
@@ -2292,7 +2293,7 @@ const q = (r) => {
|
|
|
2292
2293
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2293
2294
|
"",
|
|
2294
2295
|
"none",
|
|
2295
|
-
|
|
2296
|
+
T,
|
|
2296
2297
|
fr,
|
|
2297
2298
|
ur
|
|
2298
2299
|
]
|
|
@@ -2302,7 +2303,7 @@ const q = (r) => {
|
|
|
2302
2303
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2303
2304
|
*/
|
|
2304
2305
|
"drop-shadow-color": [{
|
|
2305
|
-
"drop-shadow":
|
|
2306
|
+
"drop-shadow": c()
|
|
2306
2307
|
}],
|
|
2307
2308
|
/**
|
|
2308
2309
|
* Grayscale
|
|
@@ -2357,7 +2358,7 @@ const q = (r) => {
|
|
|
2357
2358
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2358
2359
|
*/
|
|
2359
2360
|
"backdrop-blur": [{
|
|
2360
|
-
"backdrop-blur":
|
|
2361
|
+
"backdrop-blur": S()
|
|
2361
2362
|
}],
|
|
2362
2363
|
/**
|
|
2363
2364
|
* Backdrop Brightness
|
|
@@ -2520,7 +2521,7 @@ const q = (r) => {
|
|
|
2520
2521
|
* @see https://tailwindcss.com/docs/perspective
|
|
2521
2522
|
*/
|
|
2522
2523
|
perspective: [{
|
|
2523
|
-
perspective: [
|
|
2524
|
+
perspective: [y, n, s]
|
|
2524
2525
|
}],
|
|
2525
2526
|
/**
|
|
2526
2527
|
* Perspective Origin
|
|
@@ -2534,28 +2535,28 @@ const q = (r) => {
|
|
|
2534
2535
|
* @see https://tailwindcss.com/docs/rotate
|
|
2535
2536
|
*/
|
|
2536
2537
|
rotate: [{
|
|
2537
|
-
rotate:
|
|
2538
|
+
rotate: M()
|
|
2538
2539
|
}],
|
|
2539
2540
|
/**
|
|
2540
2541
|
* Rotate X
|
|
2541
2542
|
* @see https://tailwindcss.com/docs/rotate
|
|
2542
2543
|
*/
|
|
2543
2544
|
"rotate-x": [{
|
|
2544
|
-
"rotate-x":
|
|
2545
|
+
"rotate-x": M()
|
|
2545
2546
|
}],
|
|
2546
2547
|
/**
|
|
2547
2548
|
* Rotate Y
|
|
2548
2549
|
* @see https://tailwindcss.com/docs/rotate
|
|
2549
2550
|
*/
|
|
2550
2551
|
"rotate-y": [{
|
|
2551
|
-
"rotate-y":
|
|
2552
|
+
"rotate-y": M()
|
|
2552
2553
|
}],
|
|
2553
2554
|
/**
|
|
2554
2555
|
* Rotate Z
|
|
2555
2556
|
* @see https://tailwindcss.com/docs/rotate
|
|
2556
2557
|
*/
|
|
2557
2558
|
"rotate-z": [{
|
|
2558
|
-
"rotate-z":
|
|
2559
|
+
"rotate-z": M()
|
|
2559
2560
|
}],
|
|
2560
2561
|
/**
|
|
2561
2562
|
* Scale
|
|
@@ -2673,7 +2674,7 @@ const q = (r) => {
|
|
|
2673
2674
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2674
2675
|
*/
|
|
2675
2676
|
accent: [{
|
|
2676
|
-
accent:
|
|
2677
|
+
accent: c()
|
|
2677
2678
|
}],
|
|
2678
2679
|
/**
|
|
2679
2680
|
* Appearance
|
|
@@ -2687,7 +2688,7 @@ const q = (r) => {
|
|
|
2687
2688
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2688
2689
|
*/
|
|
2689
2690
|
"caret-color": [{
|
|
2690
|
-
caret:
|
|
2691
|
+
caret: c()
|
|
2691
2692
|
}],
|
|
2692
2693
|
/**
|
|
2693
2694
|
* Color Scheme
|
|
@@ -2933,7 +2934,7 @@ const q = (r) => {
|
|
|
2933
2934
|
* @see https://tailwindcss.com/docs/fill
|
|
2934
2935
|
*/
|
|
2935
2936
|
fill: [{
|
|
2936
|
-
fill: ["none", ...
|
|
2937
|
+
fill: ["none", ...c()]
|
|
2937
2938
|
}],
|
|
2938
2939
|
/**
|
|
2939
2940
|
* Stroke Width
|
|
@@ -2947,7 +2948,7 @@ const q = (r) => {
|
|
|
2947
2948
|
* @see https://tailwindcss.com/docs/stroke
|
|
2948
2949
|
*/
|
|
2949
2950
|
stroke: [{
|
|
2950
|
-
stroke: ["none", ...
|
|
2951
|
+
stroke: ["none", ...c()]
|
|
2951
2952
|
}],
|
|
2952
2953
|
// ---------------------
|
|
2953
2954
|
// --- Accessibility ---
|
|
@@ -3015,36 +3016,36 @@ const q = (r) => {
|
|
|
3015
3016
|
},
|
|
3016
3017
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3017
3018
|
};
|
|
3018
|
-
},
|
|
3019
|
+
}, No = /* @__PURE__ */ fo(_o), _ = (...r) => No(Nr(r)), Ar = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, Cr = Nr, I = (r, e) => (o) => {
|
|
3019
3020
|
var t;
|
|
3020
|
-
if ((e == null ? void 0 : e.variants) == null) return
|
|
3021
|
-
const { variants: a, defaultVariants: p } = e, m = Object.keys(a).map((
|
|
3022
|
-
const
|
|
3023
|
-
if (
|
|
3024
|
-
const
|
|
3025
|
-
return a[
|
|
3026
|
-
}),
|
|
3027
|
-
let [
|
|
3028
|
-
return
|
|
3029
|
-
}, {}), d = e == null || (t = e.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((
|
|
3030
|
-
let { class:
|
|
3031
|
-
return Object.entries(
|
|
3032
|
-
let [
|
|
3033
|
-
return Array.isArray(
|
|
3021
|
+
if ((e == null ? void 0 : e.variants) == null) return Cr(r, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
3022
|
+
const { variants: a, defaultVariants: p } = e, m = Object.keys(a).map((h) => {
|
|
3023
|
+
const b = o == null ? void 0 : o[h], q = p == null ? void 0 : p[h];
|
|
3024
|
+
if (b === null) return null;
|
|
3025
|
+
const R = Ar(b) || Ar(q);
|
|
3026
|
+
return a[h][R];
|
|
3027
|
+
}), l = o && Object.entries(o).reduce((h, b) => {
|
|
3028
|
+
let [q, R] = b;
|
|
3029
|
+
return R === void 0 || (h[q] = R), h;
|
|
3030
|
+
}, {}), d = e == null || (t = e.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((h, b) => {
|
|
3031
|
+
let { class: q, className: R, ...T } = b;
|
|
3032
|
+
return Object.entries(T).every((j) => {
|
|
3033
|
+
let [y, C] = j;
|
|
3034
|
+
return Array.isArray(C) ? C.includes({
|
|
3034
3035
|
...p,
|
|
3035
|
-
...
|
|
3036
|
-
}[
|
|
3036
|
+
...l
|
|
3037
|
+
}[y]) : {
|
|
3037
3038
|
...p,
|
|
3038
|
-
...
|
|
3039
|
-
}[
|
|
3039
|
+
...l
|
|
3040
|
+
}[y] === C;
|
|
3040
3041
|
}) ? [
|
|
3041
|
-
...
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
] :
|
|
3042
|
+
...h,
|
|
3043
|
+
q,
|
|
3044
|
+
R
|
|
3045
|
+
] : h;
|
|
3045
3046
|
}, []);
|
|
3046
|
-
return
|
|
3047
|
-
},
|
|
3047
|
+
return Cr(r, m, d, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
3048
|
+
}, Mo = I(
|
|
3048
3049
|
`
|
|
3049
3050
|
rounded-md
|
|
3050
3051
|
font-semibold
|
|
@@ -3111,7 +3112,7 @@ const q = (r) => {
|
|
|
3111
3112
|
size: "md"
|
|
3112
3113
|
}
|
|
3113
3114
|
}
|
|
3114
|
-
),
|
|
3115
|
+
), Io = ({
|
|
3115
3116
|
children: r,
|
|
3116
3117
|
className: e,
|
|
3117
3118
|
variant: o,
|
|
@@ -3119,25 +3120,25 @@ const q = (r) => {
|
|
|
3119
3120
|
type: a = "button",
|
|
3120
3121
|
isLoading: p = !1,
|
|
3121
3122
|
disabled: m = !1,
|
|
3122
|
-
...
|
|
3123
|
+
...l
|
|
3123
3124
|
}) => /* @__PURE__ */ k.jsx(
|
|
3124
3125
|
"button",
|
|
3125
3126
|
{
|
|
3126
|
-
className: _(
|
|
3127
|
+
className: _(Mo({ variant: o, size: t, className: e })),
|
|
3127
3128
|
type: a,
|
|
3128
3129
|
disabled: m || p,
|
|
3129
|
-
...
|
|
3130
|
+
...l,
|
|
3130
3131
|
children: r
|
|
3131
3132
|
}
|
|
3132
|
-
), Oo =
|
|
3133
|
+
), Oo = I(
|
|
3133
3134
|
"text-sm text-black dark:text-white font-semibold"
|
|
3134
|
-
),
|
|
3135
|
+
), st = ({ className: r, ...e }) => /* @__PURE__ */ k.jsx(
|
|
3135
3136
|
"label",
|
|
3136
3137
|
{
|
|
3137
3138
|
className: _(Oo({ className: r })),
|
|
3138
3139
|
...e
|
|
3139
3140
|
}
|
|
3140
|
-
),
|
|
3141
|
+
), Vo = I("", {
|
|
3141
3142
|
variants: {
|
|
3142
3143
|
variant: {
|
|
3143
3144
|
default: "text-black dark:text-white",
|
|
@@ -3149,7 +3150,7 @@ const q = (r) => {
|
|
|
3149
3150
|
defaultVariants: {
|
|
3150
3151
|
variant: "default"
|
|
3151
3152
|
}
|
|
3152
|
-
}),
|
|
3153
|
+
}), nt = ({
|
|
3153
3154
|
children: r,
|
|
3154
3155
|
className: e,
|
|
3155
3156
|
variant: o,
|
|
@@ -3157,11 +3158,11 @@ const q = (r) => {
|
|
|
3157
3158
|
}) => /* @__PURE__ */ k.jsx(
|
|
3158
3159
|
"h1",
|
|
3159
3160
|
{
|
|
3160
|
-
className: _(
|
|
3161
|
+
className: _(Vo({ variant: o, className: e })),
|
|
3161
3162
|
...t,
|
|
3162
3163
|
children: r
|
|
3163
3164
|
}
|
|
3164
|
-
),
|
|
3165
|
+
), Go = I("", {
|
|
3165
3166
|
variants: {
|
|
3166
3167
|
variant: {
|
|
3167
3168
|
default: "text-gray-900 dark:text-gray-50",
|
|
@@ -3193,7 +3194,7 @@ const q = (r) => {
|
|
|
3193
3194
|
* This source code is licensed under the ISC license.
|
|
3194
3195
|
* See the LICENSE file in the root directory of this source tree.
|
|
3195
3196
|
*/
|
|
3196
|
-
const
|
|
3197
|
+
const Pr = {
|
|
3197
3198
|
"a-arrow-down": () => import("./a-arrow-down-CQQeS6wL.js"),
|
|
3198
3199
|
"a-arrow-up": () => import("./a-arrow-up-CHs7lzk-.js"),
|
|
3199
3200
|
"a-large-small": () => import("./a-large-small-B-gVTQdE.js"),
|
|
@@ -5020,7 +5021,7 @@ const Ar = {
|
|
|
5020
5021
|
zap: () => import("./zap-CIyjpnAY.js"),
|
|
5021
5022
|
"zoom-in": () => import("./zoom-in-DuYhciZN.js"),
|
|
5022
5023
|
"zoom-out": () => import("./zoom-out-CHkWNOgx.js")
|
|
5023
|
-
},
|
|
5024
|
+
}, Lo = /* @__PURE__ */ k.jsx("div", { style: { background: "transparent", width: 24, height: 24 } }), Fo = Dr(
|
|
5024
5025
|
({
|
|
5025
5026
|
className: r,
|
|
5026
5027
|
fill: e = "transparent",
|
|
@@ -5029,25 +5030,25 @@ const Ar = {
|
|
|
5029
5030
|
variant: a,
|
|
5030
5031
|
size: p,
|
|
5031
5032
|
"aria-label": m,
|
|
5032
|
-
"aria-hidden":
|
|
5033
|
+
"aria-hidden": l,
|
|
5033
5034
|
...d
|
|
5034
5035
|
}) => {
|
|
5035
|
-
const
|
|
5036
|
+
const h = () => {
|
|
5036
5037
|
o && o();
|
|
5037
5038
|
};
|
|
5038
|
-
if (!
|
|
5039
|
+
if (!Pr[t])
|
|
5039
5040
|
return console.warn(`Ícone '${t}' não encontrado no Lucide.`), null;
|
|
5040
|
-
const
|
|
5041
|
-
return
|
|
5042
|
-
|
|
5041
|
+
const b = Br(Pr[t]);
|
|
5042
|
+
return b ? /* @__PURE__ */ k.jsx(Jr, { fallback: Lo, children: /* @__PURE__ */ k.jsx(
|
|
5043
|
+
b,
|
|
5043
5044
|
{
|
|
5044
5045
|
className: _(
|
|
5045
|
-
|
|
5046
|
+
Go({ variant: a, size: p, className: r })
|
|
5046
5047
|
),
|
|
5047
|
-
onClick:
|
|
5048
|
+
onClick: h,
|
|
5048
5049
|
fill: e,
|
|
5049
5050
|
"aria-label": m,
|
|
5050
|
-
"aria-hidden":
|
|
5051
|
+
"aria-hidden": l,
|
|
5051
5052
|
role: "img",
|
|
5052
5053
|
...d
|
|
5053
5054
|
},
|
|
@@ -5055,8 +5056,8 @@ const Ar = {
|
|
|
5055
5056
|
) }) : null;
|
|
5056
5057
|
}
|
|
5057
5058
|
);
|
|
5058
|
-
|
|
5059
|
-
const
|
|
5059
|
+
Fo.displayName = "Icon";
|
|
5060
|
+
const $o = I(
|
|
5060
5061
|
[
|
|
5061
5062
|
"block",
|
|
5062
5063
|
"w-full",
|
|
@@ -5100,7 +5101,7 @@ const Lo = M(
|
|
|
5100
5101
|
disabled: !1
|
|
5101
5102
|
}
|
|
5102
5103
|
}
|
|
5103
|
-
),
|
|
5104
|
+
), Wo = sr(
|
|
5104
5105
|
({
|
|
5105
5106
|
className: r,
|
|
5106
5107
|
variant: e = "default",
|
|
@@ -5109,13 +5110,13 @@ const Lo = M(
|
|
|
5109
5110
|
disabled: a = !1,
|
|
5110
5111
|
type: p = "text",
|
|
5111
5112
|
...m
|
|
5112
|
-
},
|
|
5113
|
+
}, l) => /* @__PURE__ */ k.jsx(
|
|
5113
5114
|
"input",
|
|
5114
5115
|
{
|
|
5115
|
-
ref:
|
|
5116
|
+
ref: l,
|
|
5116
5117
|
type: p,
|
|
5117
5118
|
className: _(
|
|
5118
|
-
|
|
5119
|
+
$o({ variant: e, size: o, error: t, disabled: a }),
|
|
5119
5120
|
r
|
|
5120
5121
|
),
|
|
5121
5122
|
disabled: a,
|
|
@@ -5124,8 +5125,8 @@ const Lo = M(
|
|
|
5124
5125
|
}
|
|
5125
5126
|
)
|
|
5126
5127
|
);
|
|
5127
|
-
|
|
5128
|
-
const
|
|
5128
|
+
Wo.displayName = "Input";
|
|
5129
|
+
const Yo = I(
|
|
5129
5130
|
[
|
|
5130
5131
|
"block",
|
|
5131
5132
|
"w-full",
|
|
@@ -5170,7 +5171,7 @@ const $o = M(
|
|
|
5170
5171
|
disabled: !1
|
|
5171
5172
|
}
|
|
5172
5173
|
}
|
|
5173
|
-
),
|
|
5174
|
+
), Uo = sr(
|
|
5174
5175
|
({
|
|
5175
5176
|
className: r,
|
|
5176
5177
|
variant: e = "default",
|
|
@@ -5183,7 +5184,7 @@ const $o = M(
|
|
|
5183
5184
|
{
|
|
5184
5185
|
ref: m,
|
|
5185
5186
|
className: _(
|
|
5186
|
-
|
|
5187
|
+
Yo({ variant: e, size: o, error: t, disabled: a }),
|
|
5187
5188
|
r
|
|
5188
5189
|
),
|
|
5189
5190
|
disabled: a,
|
|
@@ -5192,8 +5193,8 @@ const $o = M(
|
|
|
5192
5193
|
}
|
|
5193
5194
|
)
|
|
5194
5195
|
);
|
|
5195
|
-
|
|
5196
|
-
const
|
|
5196
|
+
Uo.displayName = "Textarea";
|
|
5197
|
+
const Do = I(
|
|
5197
5198
|
[
|
|
5198
5199
|
"block",
|
|
5199
5200
|
"w-full",
|
|
@@ -5240,7 +5241,7 @@ const Yo = M(
|
|
|
5240
5241
|
disabled: !1
|
|
5241
5242
|
}
|
|
5242
5243
|
}
|
|
5243
|
-
),
|
|
5244
|
+
), Bo = sr(
|
|
5244
5245
|
({
|
|
5245
5246
|
className: r,
|
|
5246
5247
|
variant: e = "default",
|
|
@@ -5249,12 +5250,12 @@ const Yo = M(
|
|
|
5249
5250
|
disabled: a = !1,
|
|
5250
5251
|
children: p,
|
|
5251
5252
|
...m
|
|
5252
|
-
},
|
|
5253
|
+
}, l) => /* @__PURE__ */ k.jsx(
|
|
5253
5254
|
"select",
|
|
5254
5255
|
{
|
|
5255
|
-
ref:
|
|
5256
|
+
ref: l,
|
|
5256
5257
|
className: _(
|
|
5257
|
-
|
|
5258
|
+
Do({ variant: e, size: o, error: t, disabled: a }),
|
|
5258
5259
|
r
|
|
5259
5260
|
),
|
|
5260
5261
|
disabled: a,
|
|
@@ -5264,8 +5265,8 @@ const Yo = M(
|
|
|
5264
5265
|
}
|
|
5265
5266
|
)
|
|
5266
5267
|
);
|
|
5267
|
-
|
|
5268
|
-
const
|
|
5268
|
+
Bo.displayName = "Select";
|
|
5269
|
+
const Jo = I(
|
|
5269
5270
|
[
|
|
5270
5271
|
"form-checkbox",
|
|
5271
5272
|
"rounded",
|
|
@@ -5308,7 +5309,7 @@ const Do = M(
|
|
|
5308
5309
|
disabled: !1
|
|
5309
5310
|
}
|
|
5310
5311
|
}
|
|
5311
|
-
),
|
|
5312
|
+
), Ho = sr(
|
|
5312
5313
|
({
|
|
5313
5314
|
className: r,
|
|
5314
5315
|
variant: e = "default",
|
|
@@ -5317,19 +5318,19 @@ const Do = M(
|
|
|
5317
5318
|
indeterminate: a = !1,
|
|
5318
5319
|
disabled: p = !1,
|
|
5319
5320
|
...m
|
|
5320
|
-
},
|
|
5321
|
-
const d =
|
|
5322
|
-
typeof
|
|
5321
|
+
}, l) => {
|
|
5322
|
+
const d = hr(null), h = (b) => {
|
|
5323
|
+
typeof l == "function" ? l(b) : l && (l.current = b), d.current = b;
|
|
5323
5324
|
};
|
|
5324
|
-
return
|
|
5325
|
+
return Hr(() => {
|
|
5325
5326
|
d.current && (d.current.indeterminate = a);
|
|
5326
5327
|
}, [a]), /* @__PURE__ */ k.jsx(
|
|
5327
5328
|
"input",
|
|
5328
5329
|
{
|
|
5329
|
-
ref:
|
|
5330
|
+
ref: h,
|
|
5330
5331
|
type: "checkbox",
|
|
5331
5332
|
className: _(
|
|
5332
|
-
|
|
5333
|
+
Jo({ variant: e, size: o, error: t, disabled: p }),
|
|
5333
5334
|
r
|
|
5334
5335
|
),
|
|
5335
5336
|
disabled: p,
|
|
@@ -5340,8 +5341,8 @@ const Do = M(
|
|
|
5340
5341
|
);
|
|
5341
5342
|
}
|
|
5342
5343
|
);
|
|
5343
|
-
|
|
5344
|
-
const
|
|
5344
|
+
Ho.displayName = "Checkbox";
|
|
5345
|
+
const Xo = I(
|
|
5345
5346
|
[
|
|
5346
5347
|
"form-radio",
|
|
5347
5348
|
"rounded-full",
|
|
@@ -5384,7 +5385,7 @@ const Jo = M(
|
|
|
5384
5385
|
disabled: !1
|
|
5385
5386
|
}
|
|
5386
5387
|
}
|
|
5387
|
-
),
|
|
5388
|
+
), Zo = sr(
|
|
5388
5389
|
({
|
|
5389
5390
|
className: r,
|
|
5390
5391
|
variant: e = "default",
|
|
@@ -5398,7 +5399,7 @@ const Jo = M(
|
|
|
5398
5399
|
ref: m,
|
|
5399
5400
|
type: "radio",
|
|
5400
5401
|
className: _(
|
|
5401
|
-
|
|
5402
|
+
Xo({ variant: e, size: o, error: t, disabled: a }),
|
|
5402
5403
|
r
|
|
5403
5404
|
),
|
|
5404
5405
|
disabled: a,
|
|
@@ -5407,29 +5408,29 @@ const Jo = M(
|
|
|
5407
5408
|
}
|
|
5408
5409
|
)
|
|
5409
5410
|
);
|
|
5410
|
-
|
|
5411
|
-
const
|
|
5411
|
+
Zo.displayName = "Radio";
|
|
5412
|
+
const Qo = ({
|
|
5412
5413
|
disabled: r,
|
|
5413
5414
|
className: e
|
|
5414
5415
|
}) => _(
|
|
5415
5416
|
"inline-flex items-center cursor-pointer select-none",
|
|
5416
5417
|
r ? "opacity-50 cursor-not-allowed" : "",
|
|
5417
5418
|
e
|
|
5418
|
-
),
|
|
5419
|
+
), Ko = ({
|
|
5419
5420
|
checked: r,
|
|
5420
5421
|
disabled: e
|
|
5421
5422
|
}) => _(
|
|
5422
5423
|
"w-10 h-6 rounded-full transition-colors duration-200 relative",
|
|
5423
5424
|
r ? "bg-primary-500" : "bg-gray-300",
|
|
5424
5425
|
e ? "bg-gray-200" : ""
|
|
5425
|
-
),
|
|
5426
|
+
), rt = ({
|
|
5426
5427
|
checked: r,
|
|
5427
5428
|
disabled: e
|
|
5428
5429
|
}) => _(
|
|
5429
5430
|
"absolute top-0.5 left-0.5 w-5 h-5 rounded-full bg-white shadow transition-transform duration-200",
|
|
5430
5431
|
r ? "translate-x-4" : "translate-x-0",
|
|
5431
5432
|
e ? "bg-gray-100" : ""
|
|
5432
|
-
),
|
|
5433
|
+
), ot = () => "ml-3 text-sm font-medium text-gray-900", lt = ({
|
|
5433
5434
|
checked: r,
|
|
5434
5435
|
onChange: e,
|
|
5435
5436
|
disabled: o = !1,
|
|
@@ -5437,8 +5438,8 @@ const Xo = ({
|
|
|
5437
5438
|
name: a,
|
|
5438
5439
|
className: p,
|
|
5439
5440
|
children: m,
|
|
5440
|
-
...
|
|
5441
|
-
}) => /* @__PURE__ */ k.jsxs("label", { className:
|
|
5441
|
+
...l
|
|
5442
|
+
}) => /* @__PURE__ */ k.jsxs("label", { className: Qo({ disabled: o, className: p }), children: [
|
|
5442
5443
|
/* @__PURE__ */ k.jsx(
|
|
5443
5444
|
"input",
|
|
5444
5445
|
{
|
|
@@ -5450,12 +5451,12 @@ const Xo = ({
|
|
|
5450
5451
|
id: t,
|
|
5451
5452
|
name: a,
|
|
5452
5453
|
className: "sr-only",
|
|
5453
|
-
...
|
|
5454
|
+
...l
|
|
5454
5455
|
}
|
|
5455
5456
|
),
|
|
5456
|
-
/* @__PURE__ */ k.jsx("span", { className:
|
|
5457
|
-
m && /* @__PURE__ */ k.jsx("span", { className:
|
|
5458
|
-
] }),
|
|
5457
|
+
/* @__PURE__ */ k.jsx("span", { className: Ko({ checked: r, disabled: o }), children: /* @__PURE__ */ k.jsx("span", { className: rt({ checked: r, disabled: o }) }) }),
|
|
5458
|
+
m && /* @__PURE__ */ k.jsx("span", { className: ot(), children: m })
|
|
5459
|
+
] }), tt = I("text-xs mt-1 block", {
|
|
5459
5460
|
variants: {
|
|
5460
5461
|
error: {
|
|
5461
5462
|
true: "text-red-600",
|
|
@@ -5465,23 +5466,115 @@ const Xo = ({
|
|
|
5465
5466
|
defaultVariants: {
|
|
5466
5467
|
error: !1
|
|
5467
5468
|
}
|
|
5468
|
-
}),
|
|
5469
|
+
}), ct = ({
|
|
5469
5470
|
children: r,
|
|
5470
5471
|
error: e = !1,
|
|
5471
5472
|
className: o
|
|
5472
5473
|
}) => /* @__PURE__ */ k.jsx(
|
|
5473
5474
|
"span",
|
|
5474
5475
|
{
|
|
5475
|
-
className:
|
|
5476
|
+
className: tt({ error: e, className: o }),
|
|
5476
5477
|
role: e ? "alert" : void 0,
|
|
5477
5478
|
children: r
|
|
5478
5479
|
}
|
|
5479
|
-
),
|
|
5480
|
+
), et = I(
|
|
5481
|
+
[
|
|
5482
|
+
"bg-gray-900",
|
|
5483
|
+
"text-white",
|
|
5484
|
+
"text-xs",
|
|
5485
|
+
"rounded",
|
|
5486
|
+
"shadow-lg",
|
|
5487
|
+
"px-2",
|
|
5488
|
+
"py-1",
|
|
5489
|
+
"border",
|
|
5490
|
+
"border-gray-700",
|
|
5491
|
+
"transition-opacity",
|
|
5492
|
+
"duration-150",
|
|
5493
|
+
"opacity-95",
|
|
5494
|
+
"pointer-events-none",
|
|
5495
|
+
"select-none",
|
|
5496
|
+
"max-w-xs",
|
|
5497
|
+
"break-words"
|
|
5498
|
+
],
|
|
5499
|
+
{
|
|
5500
|
+
variants: {
|
|
5501
|
+
position: {
|
|
5502
|
+
top: "mb-2",
|
|
5503
|
+
bottom: "mt-2",
|
|
5504
|
+
left: "mr-2",
|
|
5505
|
+
right: "ml-2"
|
|
5506
|
+
}
|
|
5507
|
+
},
|
|
5508
|
+
defaultVariants: {
|
|
5509
|
+
position: "top"
|
|
5510
|
+
}
|
|
5511
|
+
}
|
|
5512
|
+
);
|
|
5513
|
+
function dt({
|
|
5514
|
+
children: r,
|
|
5515
|
+
content: e,
|
|
5516
|
+
position: o = "top",
|
|
5517
|
+
delay: t = 200,
|
|
5518
|
+
className: a
|
|
5519
|
+
}) {
|
|
5520
|
+
const [p, m] = vr(!1), [l, d] = vr({
|
|
5521
|
+
top: 0,
|
|
5522
|
+
left: 0
|
|
5523
|
+
}), h = hr(void 0), b = hr(null);
|
|
5524
|
+
function q() {
|
|
5525
|
+
h.current = window.setTimeout(() => {
|
|
5526
|
+
if (b.current) {
|
|
5527
|
+
const T = b.current.getBoundingClientRect();
|
|
5528
|
+
let j = T.top, y = T.left + T.width / 2;
|
|
5529
|
+
o === "top" && (j -= 8), o === "bottom" && (j += T.height + 8), o === "left" && (y = T.left - 8), o === "right" && (y = T.right + 8), d({ top: Math.round(j), left: Math.round(y) });
|
|
5530
|
+
}
|
|
5531
|
+
m(!0);
|
|
5532
|
+
}, t);
|
|
5533
|
+
}
|
|
5534
|
+
function R() {
|
|
5535
|
+
clearTimeout(h.current), m(!1);
|
|
5536
|
+
}
|
|
5537
|
+
return /* @__PURE__ */ k.jsxs(
|
|
5538
|
+
"span",
|
|
5539
|
+
{
|
|
5540
|
+
ref: b,
|
|
5541
|
+
tabIndex: 0,
|
|
5542
|
+
"aria-describedby": p ? "tooltip" : void 0,
|
|
5543
|
+
onMouseEnter: q,
|
|
5544
|
+
onMouseLeave: R,
|
|
5545
|
+
onFocus: q,
|
|
5546
|
+
onBlur: R,
|
|
5547
|
+
className: "inline-flex",
|
|
5548
|
+
children: [
|
|
5549
|
+
r,
|
|
5550
|
+
p && Xr(
|
|
5551
|
+
/* @__PURE__ */ k.jsx(
|
|
5552
|
+
"div",
|
|
5553
|
+
{
|
|
5554
|
+
id: "tooltip",
|
|
5555
|
+
role: "tooltip",
|
|
5556
|
+
className: et({ position: o, className: a }),
|
|
5557
|
+
style: {
|
|
5558
|
+
position: "fixed",
|
|
5559
|
+
top: l.top,
|
|
5560
|
+
left: l.left,
|
|
5561
|
+
zIndex: 50
|
|
5562
|
+
},
|
|
5563
|
+
children: e
|
|
5564
|
+
}
|
|
5565
|
+
),
|
|
5566
|
+
document.body
|
|
5567
|
+
)
|
|
5568
|
+
]
|
|
5569
|
+
}
|
|
5570
|
+
);
|
|
5571
|
+
}
|
|
5572
|
+
const it = [
|
|
5480
5573
|
{ label: "Home", route: "/" },
|
|
5481
5574
|
{ label: "Plataforma", route: "/plataforma" },
|
|
5482
5575
|
{ label: "Contato", route: "/contato" },
|
|
5483
5576
|
{ label: "Carreira", route: "/carreira" }
|
|
5484
|
-
],
|
|
5577
|
+
], at = ({ onNavigate: r }) => /* @__PURE__ */ k.jsx(
|
|
5485
5578
|
"header",
|
|
5486
5579
|
{
|
|
5487
5580
|
style: {
|
|
@@ -5506,7 +5599,7 @@ const Xo = ({
|
|
|
5506
5599
|
children: [
|
|
5507
5600
|
/* @__PURE__ */ k.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 32 }, children: [
|
|
5508
5601
|
/* @__PURE__ */ k.jsx("span", { style: { fontWeight: 700, fontSize: 22, letterSpacing: 1 }, children: "Fast Food Manager" }),
|
|
5509
|
-
|
|
5602
|
+
it.map((e) => /* @__PURE__ */ k.jsx(
|
|
5510
5603
|
"button",
|
|
5511
5604
|
{
|
|
5512
5605
|
onClick: () => r == null ? void 0 : r(e.route),
|
|
@@ -5528,7 +5621,7 @@ const Xo = ({
|
|
|
5528
5621
|
))
|
|
5529
5622
|
] }),
|
|
5530
5623
|
/* @__PURE__ */ k.jsx(
|
|
5531
|
-
|
|
5624
|
+
Io,
|
|
5532
5625
|
{
|
|
5533
5626
|
style: {
|
|
5534
5627
|
background: "#fff",
|
|
@@ -5547,7 +5640,7 @@ const Xo = ({
|
|
|
5547
5640
|
}
|
|
5548
5641
|
)
|
|
5549
5642
|
}
|
|
5550
|
-
),
|
|
5643
|
+
), ut = ({
|
|
5551
5644
|
children: r,
|
|
5552
5645
|
showHeader: e = !0,
|
|
5553
5646
|
headerProps: o,
|
|
@@ -5562,7 +5655,7 @@ const Xo = ({
|
|
|
5562
5655
|
background: "var(--background)"
|
|
5563
5656
|
},
|
|
5564
5657
|
children: [
|
|
5565
|
-
e && /* @__PURE__ */ k.jsx(
|
|
5658
|
+
e && /* @__PURE__ */ k.jsx(at, { ...o }),
|
|
5566
5659
|
/* @__PURE__ */ k.jsx(
|
|
5567
5660
|
"main",
|
|
5568
5661
|
{
|
|
@@ -5596,19 +5689,20 @@ const Xo = ({
|
|
|
5596
5689
|
}
|
|
5597
5690
|
);
|
|
5598
5691
|
export {
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5692
|
+
Io as Button,
|
|
5693
|
+
Ho as Checkbox,
|
|
5694
|
+
at as Header,
|
|
5695
|
+
ct as HelperText,
|
|
5696
|
+
Fo as Icon,
|
|
5697
|
+
Wo as Input,
|
|
5698
|
+
st as Label,
|
|
5699
|
+
ut as Layout,
|
|
5700
|
+
Zo as Radio,
|
|
5701
|
+
Bo as Select,
|
|
5702
|
+
lt as Switch,
|
|
5703
|
+
Uo as Textarea,
|
|
5704
|
+
nt as Title,
|
|
5705
|
+
dt as Tooltip,
|
|
5706
|
+
tt as helperTextStyles,
|
|
5613
5707
|
_ as mergeClassNames
|
|
5614
5708
|
};
|