@fast-food/design-system 1.11.1 → 1.12.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.
|
@@ -52,13 +52,13 @@ function Xr() {
|
|
|
52
52
|
switch (i) {
|
|
53
53
|
case R:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case
|
|
55
|
+
case V:
|
|
56
56
|
return "Profiler";
|
|
57
57
|
case A:
|
|
58
58
|
return "StrictMode";
|
|
59
59
|
case W:
|
|
60
60
|
return "Suspense";
|
|
61
|
-
case
|
|
61
|
+
case G:
|
|
62
62
|
return "SuspenseList";
|
|
63
63
|
case P:
|
|
64
64
|
return "Activity";
|
|
@@ -67,7 +67,7 @@ function Xr() {
|
|
|
67
67
|
switch (typeof i.tag == "number" && console.error(
|
|
68
68
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
69
|
), i.$$typeof) {
|
|
70
|
-
case
|
|
70
|
+
case E:
|
|
71
71
|
return "Portal";
|
|
72
72
|
case D:
|
|
73
73
|
return (i.displayName || "Context") + ".Provider";
|
|
@@ -134,7 +134,7 @@ function Xr() {
|
|
|
134
134
|
}
|
|
135
135
|
function c(i, f) {
|
|
136
136
|
function x() {
|
|
137
|
-
|
|
137
|
+
L || (L = !0, console.error(
|
|
138
138
|
"%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)",
|
|
139
139
|
f
|
|
140
140
|
));
|
|
@@ -188,13 +188,13 @@ function Xr() {
|
|
|
188
188
|
if (w)
|
|
189
189
|
if (lr(z)) {
|
|
190
190
|
for (w = 0; w < z.length; w++)
|
|
191
|
-
|
|
191
|
+
S(z[w]);
|
|
192
192
|
Object.freeze && Object.freeze(z);
|
|
193
193
|
} else
|
|
194
194
|
console.error(
|
|
195
195
|
"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
196
|
);
|
|
197
|
-
else
|
|
197
|
+
else S(z);
|
|
198
198
|
if (J.call(f, "key")) {
|
|
199
199
|
z = r(i);
|
|
200
200
|
var N = Object.keys(f).filter(function(ir) {
|
|
@@ -232,19 +232,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
232
232
|
v
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function S(i) {
|
|
236
236
|
typeof i == "object" && i !== null && i.$$typeof === O && i._store && (i._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var j = Wr, O = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), A = 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"), P = Symbol.for("react.activity"), nr = Symbol.for("react.client.reference"), Q = j.__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
239
|
return null;
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
j = {
|
|
242
242
|
"react-stack-bottom-frame": function(i) {
|
|
243
243
|
return i();
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var L, C = {}, I = j["react-stack-bottom-frame"].bind(
|
|
247
|
+
j,
|
|
248
248
|
p
|
|
249
249
|
)(), l = H(t(p)), er = {};
|
|
250
250
|
pr.Fragment = R, pr.jsx = function(i, f, x, w, y) {
|
|
@@ -399,25 +399,25 @@ const xr = "-", Qr = (r) => {
|
|
|
399
399
|
let t = (a) => {
|
|
400
400
|
const p = [];
|
|
401
401
|
let m = 0, c = 0, d = 0, b;
|
|
402
|
-
for (let
|
|
403
|
-
let R = a[
|
|
402
|
+
for (let E = 0; E < a.length; E++) {
|
|
403
|
+
let R = a[E];
|
|
404
404
|
if (m === 0 && c === 0) {
|
|
405
405
|
if (R === kr) {
|
|
406
|
-
p.push(a.slice(d,
|
|
406
|
+
p.push(a.slice(d, E)), d = E + eo;
|
|
407
407
|
continue;
|
|
408
408
|
}
|
|
409
409
|
if (R === "/") {
|
|
410
|
-
b =
|
|
410
|
+
b = E;
|
|
411
411
|
continue;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
R === "[" ? m++ : R === "]" ? m-- : R === "(" ? c++ : R === ")" && c--;
|
|
415
415
|
}
|
|
416
|
-
const h = p.length === 0 ? a : a.substring(d),
|
|
416
|
+
const h = p.length === 0 ? a : a.substring(d), S = ao(h), j = S !== h, O = b && b > d ? b - d : void 0;
|
|
417
417
|
return {
|
|
418
418
|
modifiers: p,
|
|
419
|
-
hasImportantModifier:
|
|
420
|
-
baseClassName:
|
|
419
|
+
hasImportantModifier: j,
|
|
420
|
+
baseClassName: S,
|
|
421
421
|
maybePostfixModifierPosition: O
|
|
422
422
|
};
|
|
423
423
|
};
|
|
@@ -465,35 +465,35 @@ const xr = "-", Qr = (r) => {
|
|
|
465
465
|
let d = "";
|
|
466
466
|
for (let b = c.length - 1; b >= 0; b -= 1) {
|
|
467
467
|
const h = c[b], {
|
|
468
|
-
isExternal:
|
|
469
|
-
modifiers:
|
|
468
|
+
isExternal: S,
|
|
469
|
+
modifiers: j,
|
|
470
470
|
hasImportantModifier: O,
|
|
471
|
-
baseClassName:
|
|
471
|
+
baseClassName: E,
|
|
472
472
|
maybePostfixModifierPosition: R
|
|
473
473
|
} = o(h);
|
|
474
|
-
if (
|
|
474
|
+
if (S) {
|
|
475
475
|
d = h + (d.length > 0 ? " " + d : d);
|
|
476
476
|
continue;
|
|
477
477
|
}
|
|
478
|
-
let A = !!R,
|
|
479
|
-
if (!
|
|
478
|
+
let A = !!R, V = t(A ? E.substring(0, R) : E);
|
|
479
|
+
if (!V) {
|
|
480
480
|
if (!A) {
|
|
481
481
|
d = h + (d.length > 0 ? " " + d : d);
|
|
482
482
|
continue;
|
|
483
483
|
}
|
|
484
|
-
if (
|
|
484
|
+
if (V = t(E), !V) {
|
|
485
485
|
d = h + (d.length > 0 ? " " + d : d);
|
|
486
486
|
continue;
|
|
487
487
|
}
|
|
488
488
|
A = !1;
|
|
489
489
|
}
|
|
490
|
-
const Z = p(
|
|
490
|
+
const Z = p(j).join(":"), D = O ? Z + wr : Z, $ = D + V;
|
|
491
491
|
if (m.includes($))
|
|
492
492
|
continue;
|
|
493
493
|
m.push($);
|
|
494
|
-
const W = a(
|
|
495
|
-
for (let
|
|
496
|
-
const B = W[
|
|
494
|
+
const W = a(V, A);
|
|
495
|
+
for (let G = 0; G < W.length; ++G) {
|
|
496
|
+
const B = W[G];
|
|
497
497
|
m.push(D + B);
|
|
498
498
|
}
|
|
499
499
|
d = h + (d.length > 0 ? " " + d : d);
|
|
@@ -517,7 +517,7 @@ const Nr = (r) => {
|
|
|
517
517
|
function co(r, ...e) {
|
|
518
518
|
let o, t, a, p = m;
|
|
519
519
|
function m(d) {
|
|
520
|
-
const b = e.reduce((h,
|
|
520
|
+
const b = e.reduce((h, S) => S(h), r());
|
|
521
521
|
return o = mo(b), t = o.cache.get, a = o.cache.set, p = c, c(d);
|
|
522
522
|
}
|
|
523
523
|
function c(d) {
|
|
@@ -534,19 +534,19 @@ function co(r, ...e) {
|
|
|
534
534
|
const q = (r) => {
|
|
535
535
|
const e = (o) => o[r] || [];
|
|
536
536
|
return e.isThemeGetter = !0, e;
|
|
537
|
-
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ir = /^\((?:(\w[\w-]*):)?(.+)\)$/i, uo = /^\d+\/\d+$/, fo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, go = /\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$/, bo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ho = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rr = (r) => uo.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)),
|
|
537
|
+
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ir = /^\((?:(\w[\w-]*):)?(.+)\)$/i, uo = /^\d+\/\d+$/, fo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, go = /\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$/, bo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ho = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rr = (r) => uo.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) => fo.test(r), ko = () => !0, xo = (r) => (
|
|
538
538
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
539
539
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
540
540
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
541
541
|
go.test(r) && !bo.test(r)
|
|
542
|
-
), Mr = () => !1, yo = (r) => ho.test(r), vo = (r) => wo.test(r), zo = (r) => !s(r) && !n(r), qo = (r) => or(r, Lr, Mr), s = (r) => Or.test(r), X = (r) => or(r, Fr, xo), br = (r) => or(r, To, g),
|
|
542
|
+
), Mr = () => !1, yo = (r) => ho.test(r), vo = (r) => wo.test(r), zo = (r) => !s(r) && !n(r), qo = (r) => or(r, Lr, Mr), s = (r) => Or.test(r), X = (r) => or(r, Fr, xo), br = (r) => or(r, To, g), Sr = (r) => or(r, Vr, Mr), Ro = (r) => or(r, Gr, vo), ur = (r) => or(r, $r, yo), n = (r) => Ir.test(r), mr = (r) => tr(r, Fr), So = (r) => tr(r, Ao), jr = (r) => tr(r, Vr), jo = (r) => tr(r, Lr), Eo = (r) => tr(r, Gr), fr = (r) => tr(r, $r, !0), or = (r, e, o) => {
|
|
543
543
|
const t = Or.exec(r);
|
|
544
544
|
return t ? t[1] ? e(t[1]) : o(t[2]) : !1;
|
|
545
545
|
}, tr = (r, e, o = !1) => {
|
|
546
546
|
const t = Ir.exec(r);
|
|
547
547
|
return t ? t[1] ? e(t[1]) : o : !1;
|
|
548
548
|
}, Vr = (r) => r === "position" || r === "percentage", Gr = (r) => r === "image" || r === "url", Lr = (r) => r === "length" || r === "size" || r === "bg-size", Fr = (r) => r === "length", To = (r) => r === "number", Ao = (r) => r === "family-name", $r = (r) => r === "shadow", Co = () => {
|
|
549
|
-
const r = q("color"), e = q("font"), o = q("text"), t = q("font-weight"), a = q("tracking"), p = q("leading"), m = q("breakpoint"), c = q("container"), d = q("spacing"), b = q("radius"), h = q("shadow"),
|
|
549
|
+
const r = q("color"), e = q("font"), o = q("text"), t = q("font-weight"), a = q("tracking"), p = q("leading"), m = q("breakpoint"), c = q("container"), d = q("spacing"), b = q("radius"), h = q("shadow"), S = q("inset-shadow"), j = q("text-shadow"), O = q("drop-shadow"), E = q("blur"), R = q("perspective"), A = q("aspect"), V = q("ease"), Z = q("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
|
|
550
550
|
"center",
|
|
551
551
|
"top",
|
|
552
552
|
"bottom",
|
|
@@ -564,13 +564,13 @@ const q = (r) => {
|
|
|
564
564
|
"bottom-left",
|
|
565
565
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
566
566
|
"left-bottom"
|
|
567
|
-
], W = () => [...$(), n, s],
|
|
567
|
+
], W = () => [...$(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], u = () => [n, s, d], P = () => [rr, "full", "auto", ...u()], nr = () => [U, "none", "subgrid", n, s], Q = () => ["auto", {
|
|
568
568
|
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"],
|
|
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"], C = () => ["auto", ...u()], I = () => [rr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], l = () => [r, n, s], er = () => [...$(), jr, Sr, {
|
|
570
570
|
position: [n, s]
|
|
571
571
|
}], i = () => ["no-repeat", {
|
|
572
572
|
repeat: ["", "x", "y", "space", "round"]
|
|
573
|
-
}], f = () => ["auto", "cover", "contain",
|
|
573
|
+
}], f = () => ["auto", "cover", "contain", jo, qo, {
|
|
574
574
|
size: [n, s]
|
|
575
575
|
}], x = () => [gr, mr, X], w = () => [
|
|
576
576
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -580,11 +580,11 @@ const q = (r) => {
|
|
|
580
580
|
b,
|
|
581
581
|
n,
|
|
582
582
|
s
|
|
583
|
-
], y = () => ["", g, mr, X], T = () => ["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"], v = () => [g, gr,
|
|
583
|
+
], y = () => ["", g, mr, X], T = () => ["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"], v = () => [g, gr, jr, Sr], z = () => [
|
|
584
584
|
// Deprecated since Tailwind CSS v4.0.0
|
|
585
585
|
"",
|
|
586
586
|
"none",
|
|
587
|
-
|
|
587
|
+
E,
|
|
588
588
|
n,
|
|
589
589
|
s
|
|
590
590
|
], N = () => ["none", g, n, s], Y = () => ["none", g, n, s], ir = () => [g, n, s], cr = () => [rr, "full", ...u()];
|
|
@@ -593,22 +593,22 @@ const q = (r) => {
|
|
|
593
593
|
theme: {
|
|
594
594
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
595
595
|
aspect: ["video"],
|
|
596
|
-
blur: [
|
|
597
|
-
breakpoint: [
|
|
596
|
+
blur: [F],
|
|
597
|
+
breakpoint: [F],
|
|
598
598
|
color: [ko],
|
|
599
|
-
container: [
|
|
600
|
-
"drop-shadow": [
|
|
599
|
+
container: [F],
|
|
600
|
+
"drop-shadow": [F],
|
|
601
601
|
ease: ["in", "out", "in-out"],
|
|
602
602
|
font: [zo],
|
|
603
603
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
604
|
-
"inset-shadow": [
|
|
604
|
+
"inset-shadow": [F],
|
|
605
605
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
606
606
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
607
|
-
radius: [
|
|
608
|
-
shadow: [
|
|
607
|
+
radius: [F],
|
|
608
|
+
shadow: [F],
|
|
609
609
|
spacing: ["px", g],
|
|
610
|
-
text: [
|
|
611
|
-
"text-shadow": [
|
|
610
|
+
text: [F],
|
|
611
|
+
"text-shadow": [F],
|
|
612
612
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
613
613
|
},
|
|
614
614
|
classGroups: {
|
|
@@ -718,21 +718,21 @@ const q = (r) => {
|
|
|
718
718
|
* @see https://tailwindcss.com/docs/overflow
|
|
719
719
|
*/
|
|
720
720
|
overflow: [{
|
|
721
|
-
overflow:
|
|
721
|
+
overflow: G()
|
|
722
722
|
}],
|
|
723
723
|
/**
|
|
724
724
|
* Overflow X
|
|
725
725
|
* @see https://tailwindcss.com/docs/overflow
|
|
726
726
|
*/
|
|
727
727
|
"overflow-x": [{
|
|
728
|
-
"overflow-x":
|
|
728
|
+
"overflow-x": G()
|
|
729
729
|
}],
|
|
730
730
|
/**
|
|
731
731
|
* Overflow Y
|
|
732
732
|
* @see https://tailwindcss.com/docs/overflow
|
|
733
733
|
*/
|
|
734
734
|
"overflow-y": [{
|
|
735
|
-
"overflow-y":
|
|
735
|
+
"overflow-y": G()
|
|
736
736
|
}],
|
|
737
737
|
/**
|
|
738
738
|
* Overscroll Behavior
|
|
@@ -997,14 +997,14 @@ const q = (r) => {
|
|
|
997
997
|
* @see https://tailwindcss.com/docs/justify-items
|
|
998
998
|
*/
|
|
999
999
|
"justify-items": [{
|
|
1000
|
-
"justify-items": [...
|
|
1000
|
+
"justify-items": [...L(), "normal"]
|
|
1001
1001
|
}],
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Justify Self
|
|
1004
1004
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1005
1005
|
*/
|
|
1006
1006
|
"justify-self": [{
|
|
1007
|
-
"justify-self": ["auto", ...
|
|
1007
|
+
"justify-self": ["auto", ...L()]
|
|
1008
1008
|
}],
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Align Content
|
|
@@ -1018,7 +1018,7 @@ const q = (r) => {
|
|
|
1018
1018
|
* @see https://tailwindcss.com/docs/align-items
|
|
1019
1019
|
*/
|
|
1020
1020
|
"align-items": [{
|
|
1021
|
-
items: [...
|
|
1021
|
+
items: [...L(), {
|
|
1022
1022
|
baseline: ["", "last"]
|
|
1023
1023
|
}]
|
|
1024
1024
|
}],
|
|
@@ -1027,7 +1027,7 @@ const q = (r) => {
|
|
|
1027
1027
|
* @see https://tailwindcss.com/docs/align-self
|
|
1028
1028
|
*/
|
|
1029
1029
|
"align-self": [{
|
|
1030
|
-
self: ["auto", ...
|
|
1030
|
+
self: ["auto", ...L(), {
|
|
1031
1031
|
baseline: ["", "last"]
|
|
1032
1032
|
}]
|
|
1033
1033
|
}],
|
|
@@ -1043,14 +1043,14 @@ const q = (r) => {
|
|
|
1043
1043
|
* @see https://tailwindcss.com/docs/place-items
|
|
1044
1044
|
*/
|
|
1045
1045
|
"place-items": [{
|
|
1046
|
-
"place-items": [...
|
|
1046
|
+
"place-items": [...L(), "baseline"]
|
|
1047
1047
|
}],
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Place Self
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/place-self
|
|
1051
1051
|
*/
|
|
1052
1052
|
"place-self": [{
|
|
1053
|
-
"place-self": ["auto", ...
|
|
1053
|
+
"place-self": ["auto", ...L()]
|
|
1054
1054
|
}],
|
|
1055
1055
|
// Spacing
|
|
1056
1056
|
/**
|
|
@@ -1311,7 +1311,7 @@ const q = (r) => {
|
|
|
1311
1311
|
* @see https://tailwindcss.com/docs/font-family
|
|
1312
1312
|
*/
|
|
1313
1313
|
"font-family": [{
|
|
1314
|
-
font: [
|
|
1314
|
+
font: [So, s, e]
|
|
1315
1315
|
}],
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Font Variant Numeric
|
|
@@ -1566,7 +1566,7 @@ const q = (r) => {
|
|
|
1566
1566
|
}, U, n, s],
|
|
1567
1567
|
radial: ["", n, s],
|
|
1568
1568
|
conic: [U, n, s]
|
|
1569
|
-
},
|
|
1569
|
+
}, Eo, Ro]
|
|
1570
1570
|
}],
|
|
1571
1571
|
/**
|
|
1572
1572
|
* Background Color
|
|
@@ -1953,7 +1953,7 @@ const q = (r) => {
|
|
|
1953
1953
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1954
1954
|
*/
|
|
1955
1955
|
"inset-shadow": [{
|
|
1956
|
-
"inset-shadow": ["none",
|
|
1956
|
+
"inset-shadow": ["none", S, fr, ur]
|
|
1957
1957
|
}],
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Inset Box Shadow Color
|
|
@@ -2020,7 +2020,7 @@ const q = (r) => {
|
|
|
2020
2020
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2021
2021
|
*/
|
|
2022
2022
|
"text-shadow": [{
|
|
2023
|
-
"text-shadow": ["none",
|
|
2023
|
+
"text-shadow": ["none", j, fr, ur]
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Text Shadow Color
|
|
@@ -2489,7 +2489,7 @@ const q = (r) => {
|
|
|
2489
2489
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2490
2490
|
*/
|
|
2491
2491
|
ease: [{
|
|
2492
|
-
ease: ["linear", "initial",
|
|
2492
|
+
ease: ["linear", "initial", V, n, s]
|
|
2493
2493
|
}],
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Transition Delay
|
|
@@ -3015,21 +3015,21 @@ const q = (r) => {
|
|
|
3015
3015
|
},
|
|
3016
3016
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3017
3017
|
};
|
|
3018
|
-
}, _o = /* @__PURE__ */ co(Co), _ = (...r) => _o(_r(r)),
|
|
3018
|
+
}, _o = /* @__PURE__ */ co(Co), _ = (...r) => _o(_r(r)), Er = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, Tr = _r, M = (r, e) => (o) => {
|
|
3019
3019
|
var t;
|
|
3020
3020
|
if ((e == null ? void 0 : e.variants) == null) return Tr(r, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
3021
3021
|
const { variants: a, defaultVariants: p } = e, m = Object.keys(a).map((b) => {
|
|
3022
|
-
const h = o == null ? void 0 : o[b],
|
|
3022
|
+
const h = o == null ? void 0 : o[b], S = p == null ? void 0 : p[b];
|
|
3023
3023
|
if (h === null) return null;
|
|
3024
|
-
const
|
|
3025
|
-
return a[b][
|
|
3024
|
+
const j = Er(h) || Er(S);
|
|
3025
|
+
return a[b][j];
|
|
3026
3026
|
}), c = o && Object.entries(o).reduce((b, h) => {
|
|
3027
|
-
let [
|
|
3028
|
-
return
|
|
3027
|
+
let [S, j] = h;
|
|
3028
|
+
return j === void 0 || (b[S] = j), b;
|
|
3029
3029
|
}, {}), d = e == null || (t = e.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((b, h) => {
|
|
3030
|
-
let { class:
|
|
3031
|
-
return Object.entries(O).every((
|
|
3032
|
-
let [R, A] =
|
|
3030
|
+
let { class: S, className: j, ...O } = h;
|
|
3031
|
+
return Object.entries(O).every((E) => {
|
|
3032
|
+
let [R, A] = E;
|
|
3033
3033
|
return Array.isArray(A) ? A.includes({
|
|
3034
3034
|
...p,
|
|
3035
3035
|
...c
|
|
@@ -3039,12 +3039,12 @@ const q = (r) => {
|
|
|
3039
3039
|
}[R] === A;
|
|
3040
3040
|
}) ? [
|
|
3041
3041
|
...b,
|
|
3042
|
-
|
|
3043
|
-
|
|
3042
|
+
S,
|
|
3043
|
+
j
|
|
3044
3044
|
] : b;
|
|
3045
3045
|
}, []);
|
|
3046
3046
|
return Tr(r, m, d, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
3047
|
-
}, Po =
|
|
3047
|
+
}, Po = M(
|
|
3048
3048
|
`
|
|
3049
3049
|
rounded-md
|
|
3050
3050
|
font-semibold
|
|
@@ -3129,15 +3129,15 @@ const q = (r) => {
|
|
|
3129
3129
|
...c,
|
|
3130
3130
|
children: r
|
|
3131
3131
|
}
|
|
3132
|
-
), Oo =
|
|
3132
|
+
), Oo = M(
|
|
3133
3133
|
"text-sm text-black dark:text-white font-semibold"
|
|
3134
|
-
),
|
|
3134
|
+
), it = ({ className: r, ...e }) => /* @__PURE__ */ k.jsx(
|
|
3135
3135
|
"label",
|
|
3136
3136
|
{
|
|
3137
3137
|
className: _(Oo({ className: r })),
|
|
3138
3138
|
...e
|
|
3139
3139
|
}
|
|
3140
|
-
), Io =
|
|
3140
|
+
), Io = M("", {
|
|
3141
3141
|
variants: {
|
|
3142
3142
|
variant: {
|
|
3143
3143
|
default: "text-black dark:text-white",
|
|
@@ -3149,7 +3149,7 @@ const q = (r) => {
|
|
|
3149
3149
|
defaultVariants: {
|
|
3150
3150
|
variant: "default"
|
|
3151
3151
|
}
|
|
3152
|
-
}),
|
|
3152
|
+
}), at = ({
|
|
3153
3153
|
children: r,
|
|
3154
3154
|
className: e,
|
|
3155
3155
|
variant: o,
|
|
@@ -3161,7 +3161,7 @@ const q = (r) => {
|
|
|
3161
3161
|
...t,
|
|
3162
3162
|
children: r
|
|
3163
3163
|
}
|
|
3164
|
-
), Mo =
|
|
3164
|
+
), Mo = M("", {
|
|
3165
3165
|
variants: {
|
|
3166
3166
|
variant: {
|
|
3167
3167
|
default: "text-gray-900 dark:text-gray-50",
|
|
@@ -5056,7 +5056,7 @@ const Ar = {
|
|
|
5056
5056
|
}
|
|
5057
5057
|
);
|
|
5058
5058
|
Go.displayName = "Icon";
|
|
5059
|
-
const Lo =
|
|
5059
|
+
const Lo = M(
|
|
5060
5060
|
[
|
|
5061
5061
|
"block",
|
|
5062
5062
|
"w-full",
|
|
@@ -5125,7 +5125,7 @@ const Lo = F(
|
|
|
5125
5125
|
)
|
|
5126
5126
|
);
|
|
5127
5127
|
Fo.displayName = "Input";
|
|
5128
|
-
const $o =
|
|
5128
|
+
const $o = M(
|
|
5129
5129
|
[
|
|
5130
5130
|
"block",
|
|
5131
5131
|
"w-full",
|
|
@@ -5193,7 +5193,7 @@ const $o = F(
|
|
|
5193
5193
|
)
|
|
5194
5194
|
);
|
|
5195
5195
|
Wo.displayName = "Textarea";
|
|
5196
|
-
const Yo =
|
|
5196
|
+
const Yo = M(
|
|
5197
5197
|
[
|
|
5198
5198
|
"block",
|
|
5199
5199
|
"w-full",
|
|
@@ -5265,7 +5265,7 @@ const Yo = F(
|
|
|
5265
5265
|
)
|
|
5266
5266
|
);
|
|
5267
5267
|
Uo.displayName = "Select";
|
|
5268
|
-
const Do =
|
|
5268
|
+
const Do = M(
|
|
5269
5269
|
[
|
|
5270
5270
|
"form-checkbox",
|
|
5271
5271
|
"rounded",
|
|
@@ -5341,7 +5341,7 @@ const Do = F(
|
|
|
5341
5341
|
}
|
|
5342
5342
|
);
|
|
5343
5343
|
Bo.displayName = "Checkbox";
|
|
5344
|
-
const Jo =
|
|
5344
|
+
const Jo = M(
|
|
5345
5345
|
[
|
|
5346
5346
|
"form-radio",
|
|
5347
5347
|
"rounded-full",
|
|
@@ -5429,7 +5429,7 @@ const Xo = ({
|
|
|
5429
5429
|
"absolute top-0.5 left-0.5 w-5 h-5 rounded-full bg-white shadow transition-transform duration-200",
|
|
5430
5430
|
r ? "translate-x-4" : "translate-x-0",
|
|
5431
5431
|
e ? "bg-gray-100" : ""
|
|
5432
|
-
), Ko = () => "ml-3 text-sm font-medium text-gray-900",
|
|
5432
|
+
), Ko = () => "ml-3 text-sm font-medium text-gray-900", pt = ({
|
|
5433
5433
|
checked: r,
|
|
5434
5434
|
onChange: e,
|
|
5435
5435
|
disabled: o = !1,
|
|
@@ -5455,12 +5455,33 @@ const Xo = ({
|
|
|
5455
5455
|
),
|
|
5456
5456
|
/* @__PURE__ */ k.jsx("span", { className: Zo({ checked: r, disabled: o }), children: /* @__PURE__ */ k.jsx("span", { className: Qo({ checked: r, disabled: o }) }) }),
|
|
5457
5457
|
m && /* @__PURE__ */ k.jsx("span", { className: Ko(), children: m })
|
|
5458
|
-
] }), rt =
|
|
5458
|
+
] }), rt = M("text-xs mt-1 block", {
|
|
5459
|
+
variants: {
|
|
5460
|
+
error: {
|
|
5461
|
+
true: "text-red-600",
|
|
5462
|
+
false: "text-gray-500"
|
|
5463
|
+
}
|
|
5464
|
+
},
|
|
5465
|
+
defaultVariants: {
|
|
5466
|
+
error: !1
|
|
5467
|
+
}
|
|
5468
|
+
}), mt = ({
|
|
5469
|
+
children: r,
|
|
5470
|
+
error: e = !1,
|
|
5471
|
+
className: o
|
|
5472
|
+
}) => /* @__PURE__ */ k.jsx(
|
|
5473
|
+
"span",
|
|
5474
|
+
{
|
|
5475
|
+
className: rt({ error: e, className: o }),
|
|
5476
|
+
role: e ? "alert" : void 0,
|
|
5477
|
+
children: r
|
|
5478
|
+
}
|
|
5479
|
+
), ot = [
|
|
5459
5480
|
{ label: "Home", route: "/" },
|
|
5460
5481
|
{ label: "Plataforma", route: "/plataforma" },
|
|
5461
5482
|
{ label: "Contato", route: "/contato" },
|
|
5462
5483
|
{ label: "Carreira", route: "/carreira" }
|
|
5463
|
-
],
|
|
5484
|
+
], tt = ({ onNavigate: r }) => /* @__PURE__ */ k.jsx(
|
|
5464
5485
|
"header",
|
|
5465
5486
|
{
|
|
5466
5487
|
style: {
|
|
@@ -5485,7 +5506,7 @@ const Xo = ({
|
|
|
5485
5506
|
children: [
|
|
5486
5507
|
/* @__PURE__ */ k.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 32 }, children: [
|
|
5487
5508
|
/* @__PURE__ */ k.jsx("span", { style: { fontWeight: 700, fontSize: 22, letterSpacing: 1 }, children: "Fast Food Manager" }),
|
|
5488
|
-
|
|
5509
|
+
ot.map((e) => /* @__PURE__ */ k.jsx(
|
|
5489
5510
|
"button",
|
|
5490
5511
|
{
|
|
5491
5512
|
onClick: () => r == null ? void 0 : r(e.route),
|
|
@@ -5526,7 +5547,7 @@ const Xo = ({
|
|
|
5526
5547
|
}
|
|
5527
5548
|
)
|
|
5528
5549
|
}
|
|
5529
|
-
),
|
|
5550
|
+
), st = ({
|
|
5530
5551
|
children: r,
|
|
5531
5552
|
showHeader: e = !0,
|
|
5532
5553
|
headerProps: o,
|
|
@@ -5541,7 +5562,7 @@ const Xo = ({
|
|
|
5541
5562
|
background: "var(--background)"
|
|
5542
5563
|
},
|
|
5543
5564
|
children: [
|
|
5544
|
-
e && /* @__PURE__ */ k.jsx(
|
|
5565
|
+
e && /* @__PURE__ */ k.jsx(tt, { ...o }),
|
|
5545
5566
|
/* @__PURE__ */ k.jsx(
|
|
5546
5567
|
"main",
|
|
5547
5568
|
{
|
|
@@ -5577,15 +5598,17 @@ const Xo = ({
|
|
|
5577
5598
|
export {
|
|
5578
5599
|
No as Button,
|
|
5579
5600
|
Bo as Checkbox,
|
|
5580
|
-
|
|
5601
|
+
tt as Header,
|
|
5602
|
+
mt as HelperText,
|
|
5581
5603
|
Go as Icon,
|
|
5582
5604
|
Fo as Input,
|
|
5583
|
-
|
|
5584
|
-
|
|
5605
|
+
it as Label,
|
|
5606
|
+
st as Layout,
|
|
5585
5607
|
Ho as Radio,
|
|
5586
5608
|
Uo as Select,
|
|
5587
|
-
|
|
5609
|
+
pt as Switch,
|
|
5588
5610
|
Wo as Textarea,
|
|
5589
|
-
|
|
5611
|
+
at as Title,
|
|
5612
|
+
rt as helperTextStyles,
|
|
5590
5613
|
_ as mergeClassNames
|
|
5591
5614
|
};
|
package/package.json
CHANGED
|
Binary file
|