@fast-food/design-system 1.10.2 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fast-food-design-system-1.11.1.tgz +0 -0
- package/dist/fast-food-design-system.cjs.js +6 -6
- package/dist/fast-food-design-system.css +1 -1
- package/dist/fast-food-design-system.es.js +315 -195
- package/dist/styles/tailwind.css +29 -0
- package/package.json +4 -2
- package/dist/fast-food-design-system-1.10.2.tgz +0 -0
|
@@ -9,10 +9,10 @@ var dr = { exports: {} }, ar = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
12
|
+
var yr;
|
|
13
|
+
function Hr() {
|
|
14
|
+
if (yr) return ar;
|
|
15
|
+
yr = 1;
|
|
16
16
|
var r = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
|
|
17
17
|
function o(t, a, p) {
|
|
18
18
|
var m = null;
|
|
@@ -41,16 +41,16 @@ var pr = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
44
|
+
var vr;
|
|
45
|
+
function Xr() {
|
|
46
|
+
return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
47
|
function r(i) {
|
|
48
48
|
if (i == null) return null;
|
|
49
49
|
if (typeof i == "function")
|
|
50
50
|
return i.$$typeof === nr ? null : i.displayName || i.name || null;
|
|
51
51
|
if (typeof i == "string") return i;
|
|
52
52
|
switch (i) {
|
|
53
|
-
case
|
|
53
|
+
case R:
|
|
54
54
|
return "Fragment";
|
|
55
55
|
case M:
|
|
56
56
|
return "Profiler";
|
|
@@ -67,7 +67,7 @@ function Hr() {
|
|
|
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 j:
|
|
71
71
|
return "Portal";
|
|
72
72
|
case D:
|
|
73
73
|
return (i.displayName || "Context") + ".Provider";
|
|
@@ -99,8 +99,8 @@ function Hr() {
|
|
|
99
99
|
}
|
|
100
100
|
if (f) {
|
|
101
101
|
f = console;
|
|
102
|
-
var
|
|
103
|
-
return
|
|
102
|
+
var x = f.error, w = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
103
|
+
return x.call(
|
|
104
104
|
f,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
w
|
|
@@ -108,7 +108,7 @@ function Hr() {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function t(i) {
|
|
111
|
-
if (i ===
|
|
111
|
+
if (i === R) return "<>";
|
|
112
112
|
if (typeof i == "object" && i !== null && i.$$typeof === u)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
@@ -133,14 +133,14 @@ function Hr() {
|
|
|
133
133
|
return i.key !== void 0;
|
|
134
134
|
}
|
|
135
135
|
function c(i, f) {
|
|
136
|
-
function
|
|
136
|
+
function x() {
|
|
137
137
|
G || (G = !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
|
));
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
get:
|
|
142
|
+
x.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
143
|
+
get: x,
|
|
144
144
|
configurable: !0
|
|
145
145
|
});
|
|
146
146
|
}
|
|
@@ -150,14 +150,14 @@ function Hr() {
|
|
|
150
150
|
"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
151
|
)), i = this.props.ref, i !== void 0 ? i : null;
|
|
152
152
|
}
|
|
153
|
-
function b(i, f,
|
|
154
|
-
return
|
|
153
|
+
function b(i, f, x, w, y, T, K, v) {
|
|
154
|
+
return x = T.ref, i = {
|
|
155
155
|
$$typeof: O,
|
|
156
156
|
type: i,
|
|
157
157
|
key: f,
|
|
158
|
-
props:
|
|
159
|
-
_owner:
|
|
160
|
-
}, (
|
|
158
|
+
props: T,
|
|
159
|
+
_owner: y
|
|
160
|
+
}, (x !== void 0 ? x : null) !== null ? Object.defineProperty(i, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
162
|
get: d
|
|
163
163
|
}) : Object.defineProperty(i, "ref", { enumerable: !1, value: null }), i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
@@ -182,25 +182,25 @@ function Hr() {
|
|
|
182
182
|
value: v
|
|
183
183
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
184
184
|
}
|
|
185
|
-
function h(i, f,
|
|
186
|
-
var
|
|
187
|
-
if (
|
|
185
|
+
function h(i, f, x, w, y, T, K, v) {
|
|
186
|
+
var z = f.children;
|
|
187
|
+
if (z !== void 0)
|
|
188
188
|
if (w)
|
|
189
|
-
if (lr(
|
|
190
|
-
for (w = 0; w <
|
|
191
|
-
|
|
192
|
-
Object.freeze && Object.freeze(
|
|
189
|
+
if (lr(z)) {
|
|
190
|
+
for (w = 0; w < z.length; w++)
|
|
191
|
+
E(z[w]);
|
|
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 E(z);
|
|
198
198
|
if (J.call(f, "key")) {
|
|
199
|
-
|
|
199
|
+
z = r(i);
|
|
200
200
|
var N = Object.keys(f).filter(function(ir) {
|
|
201
201
|
return ir !== "key";
|
|
202
202
|
});
|
|
203
|
-
w = 0 < N.length ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}", er[
|
|
203
|
+
w = 0 < N.length ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}", er[z + w] || (N = 0 < N.length ? "{" + N.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -208,77 +208,77 @@ React keys must be passed directly to JSX without using spread:
|
|
|
208
208
|
let props = %s;
|
|
209
209
|
<%s key={someKey} {...props} />`,
|
|
210
210
|
w,
|
|
211
|
-
|
|
211
|
+
z,
|
|
212
212
|
N,
|
|
213
|
-
|
|
214
|
-
), er[
|
|
213
|
+
z
|
|
214
|
+
), er[z + w] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (
|
|
217
|
-
|
|
216
|
+
if (z = null, x !== void 0 && (o(x), z = "" + x), m(f) && (o(f.key), z = "" + f.key), "key" in f) {
|
|
217
|
+
x = {};
|
|
218
218
|
for (var Y in f)
|
|
219
|
-
Y !== "key" && (
|
|
220
|
-
} else
|
|
221
|
-
return
|
|
222
|
-
|
|
219
|
+
Y !== "key" && (x[Y] = f[Y]);
|
|
220
|
+
} else x = f;
|
|
221
|
+
return z && c(
|
|
222
|
+
x,
|
|
223
223
|
typeof i == "function" ? i.displayName || i.name || "Unknown" : i
|
|
224
224
|
), b(
|
|
225
225
|
i,
|
|
226
|
+
z,
|
|
227
|
+
T,
|
|
226
228
|
y,
|
|
227
|
-
j,
|
|
228
|
-
x,
|
|
229
229
|
a(),
|
|
230
|
-
|
|
230
|
+
x,
|
|
231
231
|
K,
|
|
232
232
|
v
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function E(i) {
|
|
236
236
|
typeof i == "object" && i !== null && i.$$typeof === O && i._store && (i._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var S = Wr, O = Symbol.for("react.transitional.element"), j = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), D = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), V = 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 = S.__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
|
+
S = {
|
|
242
242
|
"react-stack-bottom-frame": function(i) {
|
|
243
243
|
return i();
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
var G, C = {}, I =
|
|
247
|
-
|
|
246
|
+
var G, C = {}, I = S["react-stack-bottom-frame"].bind(
|
|
247
|
+
S,
|
|
248
248
|
p
|
|
249
|
-
)(), l =
|
|
250
|
-
pr.Fragment =
|
|
251
|
-
var
|
|
249
|
+
)(), l = H(t(p)), er = {};
|
|
250
|
+
pr.Fragment = R, pr.jsx = function(i, f, x, w, y) {
|
|
251
|
+
var T = 1e4 > Q.recentlyCreatedOwnerStacks++;
|
|
252
252
|
return h(
|
|
253
253
|
i,
|
|
254
254
|
f,
|
|
255
|
-
|
|
255
|
+
x,
|
|
256
256
|
!1,
|
|
257
257
|
w,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
y,
|
|
259
|
+
T ? Error("react-stack-top-frame") : I,
|
|
260
|
+
T ? H(t(i)) : l
|
|
261
261
|
);
|
|
262
|
-
}, pr.jsxs = function(i, f,
|
|
263
|
-
var
|
|
262
|
+
}, pr.jsxs = function(i, f, x, w, y) {
|
|
263
|
+
var T = 1e4 > Q.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return h(
|
|
265
265
|
i,
|
|
266
266
|
f,
|
|
267
|
-
|
|
267
|
+
x,
|
|
268
268
|
!0,
|
|
269
269
|
w,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
y,
|
|
271
|
+
T ? Error("react-stack-top-frame") : I,
|
|
272
|
+
T ? H(t(i)) : l
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
275
|
}()), pr;
|
|
276
276
|
}
|
|
277
277
|
var zr;
|
|
278
278
|
function Zr() {
|
|
279
|
-
return zr || (zr = 1, process.env.NODE_ENV === "production" ? dr.exports =
|
|
279
|
+
return zr || (zr = 1, process.env.NODE_ENV === "production" ? dr.exports = Hr() : dr.exports = Xr()), dr.exports;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var k = Zr();
|
|
282
282
|
function Cr(r) {
|
|
283
283
|
var e, o, t = "";
|
|
284
284
|
if (typeof r == "string" || typeof r == "number") t += r;
|
|
@@ -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
|
|
402
|
+
for (let j = 0; j < a.length; j++) {
|
|
403
|
+
let R = a[j];
|
|
404
404
|
if (m === 0 && c === 0) {
|
|
405
|
-
if (
|
|
406
|
-
p.push(a.slice(d,
|
|
405
|
+
if (R === kr) {
|
|
406
|
+
p.push(a.slice(d, j)), d = j + eo;
|
|
407
407
|
continue;
|
|
408
408
|
}
|
|
409
|
-
if (
|
|
410
|
-
b =
|
|
409
|
+
if (R === "/") {
|
|
410
|
+
b = j;
|
|
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), E = ao(h), S = E !== h, O = b && b > d ? b - d : void 0;
|
|
417
417
|
return {
|
|
418
418
|
modifiers: p,
|
|
419
|
-
hasImportantModifier:
|
|
420
|
-
baseClassName:
|
|
419
|
+
hasImportantModifier: S,
|
|
420
|
+
baseClassName: E,
|
|
421
421
|
maybePostfixModifierPosition: O
|
|
422
422
|
};
|
|
423
423
|
};
|
|
@@ -465,29 +465,29 @@ 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: E,
|
|
469
|
+
modifiers: S,
|
|
470
470
|
hasImportantModifier: O,
|
|
471
|
-
baseClassName:
|
|
472
|
-
maybePostfixModifierPosition:
|
|
471
|
+
baseClassName: j,
|
|
472
|
+
maybePostfixModifierPosition: R
|
|
473
473
|
} = o(h);
|
|
474
|
-
if (
|
|
474
|
+
if (E) {
|
|
475
475
|
d = h + (d.length > 0 ? " " + d : d);
|
|
476
476
|
continue;
|
|
477
477
|
}
|
|
478
|
-
let A = !!
|
|
478
|
+
let A = !!R, M = t(A ? j.substring(0, R) : j);
|
|
479
479
|
if (!M) {
|
|
480
480
|
if (!A) {
|
|
481
481
|
d = h + (d.length > 0 ? " " + d : d);
|
|
482
482
|
continue;
|
|
483
483
|
}
|
|
484
|
-
if (M = t(
|
|
484
|
+
if (M = t(j), !M) {
|
|
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(S).join(":"), D = O ? Z + wr : Z, $ = D + M;
|
|
491
491
|
if (m.includes($))
|
|
492
492
|
continue;
|
|
493
493
|
m.push($);
|
|
@@ -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, E) => E(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) {
|
|
@@ -531,7 +531,7 @@ function co(r, ...e) {
|
|
|
531
531
|
return p(lo.apply(null, arguments));
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
|
-
const
|
|
534
|
+
const q = (r) => {
|
|
535
535
|
const e = (o) => o[r] || [];
|
|
536
536
|
return e.isThemeGetter = !0, e;
|
|
537
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)), L = (r) => fo.test(r), ko = () => !0, xo = (r) => (
|
|
@@ -539,14 +539,14 @@ const z = (r) => {
|
|
|
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,
|
|
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), Er = (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), Eo = (r) => tr(r, Ao), Sr = (r) => tr(r, Vr), So = (r) => tr(r, Lr), jo = (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
|
-
}, 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",
|
|
549
|
-
const r =
|
|
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"), E = q("inset-shadow"), S = q("text-shadow"), O = q("drop-shadow"), j = q("blur"), R = q("perspective"), A = q("aspect"), M = q("ease"), Z = q("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
|
|
550
550
|
"center",
|
|
551
551
|
"top",
|
|
552
552
|
"bottom",
|
|
@@ -566,13 +566,13 @@ const z = (r) => {
|
|
|
566
566
|
"left-bottom"
|
|
567
567
|
], W = () => [...$(), n, s], V = () => ["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],
|
|
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"], G = () => ["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 = () => [...$(), Sr, Er, {
|
|
570
570
|
position: [n, s]
|
|
571
571
|
}], i = () => ["no-repeat", {
|
|
572
572
|
repeat: ["", "x", "y", "space", "round"]
|
|
573
573
|
}], f = () => ["auto", "cover", "contain", So, qo, {
|
|
574
574
|
size: [n, s]
|
|
575
|
-
}],
|
|
575
|
+
}], x = () => [gr, mr, X], w = () => [
|
|
576
576
|
// Deprecated since Tailwind CSS v4.0.0
|
|
577
577
|
"",
|
|
578
578
|
"none",
|
|
@@ -580,11 +580,11 @@ const z = (r) => {
|
|
|
580
580
|
b,
|
|
581
581
|
n,
|
|
582
582
|
s
|
|
583
|
-
],
|
|
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, Sr, Er], z = () => [
|
|
584
584
|
// Deprecated since Tailwind CSS v4.0.0
|
|
585
585
|
"",
|
|
586
586
|
"none",
|
|
587
|
-
|
|
587
|
+
j,
|
|
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()];
|
|
@@ -990,7 +990,7 @@ const z = (r) => {
|
|
|
990
990
|
* @see https://tailwindcss.com/docs/justify-content
|
|
991
991
|
*/
|
|
992
992
|
"justify-content": [{
|
|
993
|
-
justify: [...
|
|
993
|
+
justify: [...H(), "normal"]
|
|
994
994
|
}],
|
|
995
995
|
/**
|
|
996
996
|
* Justify Items
|
|
@@ -1011,7 +1011,7 @@ const z = (r) => {
|
|
|
1011
1011
|
* @see https://tailwindcss.com/docs/align-content
|
|
1012
1012
|
*/
|
|
1013
1013
|
"align-content": [{
|
|
1014
|
-
content: ["normal", ...
|
|
1014
|
+
content: ["normal", ...H()]
|
|
1015
1015
|
}],
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Align Items
|
|
@@ -1036,7 +1036,7 @@ const z = (r) => {
|
|
|
1036
1036
|
* @see https://tailwindcss.com/docs/place-content
|
|
1037
1037
|
*/
|
|
1038
1038
|
"place-content": [{
|
|
1039
|
-
"place-content":
|
|
1039
|
+
"place-content": H()
|
|
1040
1040
|
}],
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Place Items
|
|
@@ -1280,7 +1280,7 @@ const z = (r) => {
|
|
|
1280
1280
|
* @see https://tailwindcss.com/docs/font-size
|
|
1281
1281
|
*/
|
|
1282
1282
|
"font-size": [{
|
|
1283
|
-
text: ["base", o, mr,
|
|
1283
|
+
text: ["base", o, mr, X]
|
|
1284
1284
|
}],
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Font Smoothing
|
|
@@ -1421,14 +1421,14 @@ const z = (r) => {
|
|
|
1421
1421
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1422
1422
|
*/
|
|
1423
1423
|
"text-decoration-style": [{
|
|
1424
|
-
decoration: [...
|
|
1424
|
+
decoration: [...T(), "wavy"]
|
|
1425
1425
|
}],
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Text Decoration Thickness
|
|
1428
1428
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1429
1429
|
*/
|
|
1430
1430
|
"text-decoration-thickness": [{
|
|
1431
|
-
decoration: [g, "from-font", "auto", n,
|
|
1431
|
+
decoration: [g, "from-font", "auto", n, X]
|
|
1432
1432
|
}],
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Text Decoration Color
|
|
@@ -1566,7 +1566,7 @@ const z = (r) => {
|
|
|
1566
1566
|
}, U, n, s],
|
|
1567
1567
|
radial: ["", n, s],
|
|
1568
1568
|
conic: [U, n, s]
|
|
1569
|
-
},
|
|
1569
|
+
}, jo, Ro]
|
|
1570
1570
|
}],
|
|
1571
1571
|
/**
|
|
1572
1572
|
* Background Color
|
|
@@ -1580,21 +1580,21 @@ const z = (r) => {
|
|
|
1580
1580
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1581
1581
|
*/
|
|
1582
1582
|
"gradient-from-pos": [{
|
|
1583
|
-
from:
|
|
1583
|
+
from: x()
|
|
1584
1584
|
}],
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Gradient Color Stops Via Position
|
|
1587
1587
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1588
1588
|
*/
|
|
1589
1589
|
"gradient-via-pos": [{
|
|
1590
|
-
via:
|
|
1590
|
+
via: x()
|
|
1591
1591
|
}],
|
|
1592
1592
|
/**
|
|
1593
1593
|
* Gradient Color Stops To Position
|
|
1594
1594
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1595
1595
|
*/
|
|
1596
1596
|
"gradient-to-pos": [{
|
|
1597
|
-
to:
|
|
1597
|
+
to: x()
|
|
1598
1598
|
}],
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Gradient Color Stops From
|
|
@@ -1730,70 +1730,70 @@ const z = (r) => {
|
|
|
1730
1730
|
* @see https://tailwindcss.com/docs/border-width
|
|
1731
1731
|
*/
|
|
1732
1732
|
"border-w": [{
|
|
1733
|
-
border:
|
|
1733
|
+
border: y()
|
|
1734
1734
|
}],
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Border Width X
|
|
1737
1737
|
* @see https://tailwindcss.com/docs/border-width
|
|
1738
1738
|
*/
|
|
1739
1739
|
"border-w-x": [{
|
|
1740
|
-
"border-x":
|
|
1740
|
+
"border-x": y()
|
|
1741
1741
|
}],
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Border Width Y
|
|
1744
1744
|
* @see https://tailwindcss.com/docs/border-width
|
|
1745
1745
|
*/
|
|
1746
1746
|
"border-w-y": [{
|
|
1747
|
-
"border-y":
|
|
1747
|
+
"border-y": y()
|
|
1748
1748
|
}],
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Border Width Start
|
|
1751
1751
|
* @see https://tailwindcss.com/docs/border-width
|
|
1752
1752
|
*/
|
|
1753
1753
|
"border-w-s": [{
|
|
1754
|
-
"border-s":
|
|
1754
|
+
"border-s": y()
|
|
1755
1755
|
}],
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Border Width End
|
|
1758
1758
|
* @see https://tailwindcss.com/docs/border-width
|
|
1759
1759
|
*/
|
|
1760
1760
|
"border-w-e": [{
|
|
1761
|
-
"border-e":
|
|
1761
|
+
"border-e": y()
|
|
1762
1762
|
}],
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Border Width Top
|
|
1765
1765
|
* @see https://tailwindcss.com/docs/border-width
|
|
1766
1766
|
*/
|
|
1767
1767
|
"border-w-t": [{
|
|
1768
|
-
"border-t":
|
|
1768
|
+
"border-t": y()
|
|
1769
1769
|
}],
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Border Width Right
|
|
1772
1772
|
* @see https://tailwindcss.com/docs/border-width
|
|
1773
1773
|
*/
|
|
1774
1774
|
"border-w-r": [{
|
|
1775
|
-
"border-r":
|
|
1775
|
+
"border-r": y()
|
|
1776
1776
|
}],
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Border Width Bottom
|
|
1779
1779
|
* @see https://tailwindcss.com/docs/border-width
|
|
1780
1780
|
*/
|
|
1781
1781
|
"border-w-b": [{
|
|
1782
|
-
"border-b":
|
|
1782
|
+
"border-b": y()
|
|
1783
1783
|
}],
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Border Width Left
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/border-width
|
|
1787
1787
|
*/
|
|
1788
1788
|
"border-w-l": [{
|
|
1789
|
-
"border-l":
|
|
1789
|
+
"border-l": y()
|
|
1790
1790
|
}],
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Divide Width X
|
|
1793
1793
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1794
1794
|
*/
|
|
1795
1795
|
"divide-x": [{
|
|
1796
|
-
"divide-x":
|
|
1796
|
+
"divide-x": y()
|
|
1797
1797
|
}],
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Divide Width X Reverse
|
|
@@ -1805,7 +1805,7 @@ const z = (r) => {
|
|
|
1805
1805
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1806
1806
|
*/
|
|
1807
1807
|
"divide-y": [{
|
|
1808
|
-
"divide-y":
|
|
1808
|
+
"divide-y": y()
|
|
1809
1809
|
}],
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Divide Width Y Reverse
|
|
@@ -1817,14 +1817,14 @@ const z = (r) => {
|
|
|
1817
1817
|
* @see https://tailwindcss.com/docs/border-style
|
|
1818
1818
|
*/
|
|
1819
1819
|
"border-style": [{
|
|
1820
|
-
border: [...
|
|
1820
|
+
border: [...T(), "hidden", "none"]
|
|
1821
1821
|
}],
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Divide Style
|
|
1824
1824
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1825
1825
|
*/
|
|
1826
1826
|
"divide-style": [{
|
|
1827
|
-
divide: [...
|
|
1827
|
+
divide: [...T(), "hidden", "none"]
|
|
1828
1828
|
}],
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Border Color
|
|
@@ -1901,7 +1901,7 @@ const z = (r) => {
|
|
|
1901
1901
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1902
1902
|
*/
|
|
1903
1903
|
"outline-style": [{
|
|
1904
|
-
outline: [...
|
|
1904
|
+
outline: [...T(), "none", "hidden"]
|
|
1905
1905
|
}],
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Outline Offset
|
|
@@ -1915,7 +1915,7 @@ const z = (r) => {
|
|
|
1915
1915
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1916
1916
|
*/
|
|
1917
1917
|
"outline-w": [{
|
|
1918
|
-
outline: ["", g, mr,
|
|
1918
|
+
outline: ["", g, mr, X]
|
|
1919
1919
|
}],
|
|
1920
1920
|
/**
|
|
1921
1921
|
* Outline Color
|
|
@@ -1953,7 +1953,7 @@ const z = (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", E, fr, ur]
|
|
1957
1957
|
}],
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Inset Box Shadow Color
|
|
@@ -1967,7 +1967,7 @@ const z = (r) => {
|
|
|
1967
1967
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1968
1968
|
*/
|
|
1969
1969
|
"ring-w": [{
|
|
1970
|
-
ring:
|
|
1970
|
+
ring: y()
|
|
1971
1971
|
}],
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Ring Width Inset
|
|
@@ -1990,7 +1990,7 @@ const z = (r) => {
|
|
|
1990
1990
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1991
1991
|
*/
|
|
1992
1992
|
"ring-offset-w": [{
|
|
1993
|
-
"ring-offset": [g,
|
|
1993
|
+
"ring-offset": [g, X]
|
|
1994
1994
|
}],
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Ring Offset Color
|
|
@@ -2006,7 +2006,7 @@ const z = (r) => {
|
|
|
2006
2006
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2007
2007
|
*/
|
|
2008
2008
|
"inset-ring-w": [{
|
|
2009
|
-
"inset-ring":
|
|
2009
|
+
"inset-ring": y()
|
|
2010
2010
|
}],
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Inset Ring Color
|
|
@@ -2020,7 +2020,7 @@ const z = (r) => {
|
|
|
2020
2020
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2021
2021
|
*/
|
|
2022
2022
|
"text-shadow": [{
|
|
2023
|
-
"text-shadow": ["none",
|
|
2023
|
+
"text-shadow": ["none", S, fr, ur]
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Text Shadow Color
|
|
@@ -2267,7 +2267,7 @@ const z = (r) => {
|
|
|
2267
2267
|
* @see https://tailwindcss.com/docs/blur
|
|
2268
2268
|
*/
|
|
2269
2269
|
blur: [{
|
|
2270
|
-
blur:
|
|
2270
|
+
blur: z()
|
|
2271
2271
|
}],
|
|
2272
2272
|
/**
|
|
2273
2273
|
* Brightness
|
|
@@ -2357,7 +2357,7 @@ const z = (r) => {
|
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2358
2358
|
*/
|
|
2359
2359
|
"backdrop-blur": [{
|
|
2360
|
-
"backdrop-blur":
|
|
2360
|
+
"backdrop-blur": z()
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Backdrop Brightness
|
|
@@ -2520,7 +2520,7 @@ const z = (r) => {
|
|
|
2520
2520
|
* @see https://tailwindcss.com/docs/perspective
|
|
2521
2521
|
*/
|
|
2522
2522
|
perspective: [{
|
|
2523
|
-
perspective: [
|
|
2523
|
+
perspective: [R, n, s]
|
|
2524
2524
|
}],
|
|
2525
2525
|
/**
|
|
2526
2526
|
* Perspective Origin
|
|
@@ -2940,7 +2940,7 @@ const z = (r) => {
|
|
|
2940
2940
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2941
2941
|
*/
|
|
2942
2942
|
"stroke-w": [{
|
|
2943
|
-
stroke: [g, mr,
|
|
2943
|
+
stroke: [g, mr, X, br]
|
|
2944
2944
|
}],
|
|
2945
2945
|
/**
|
|
2946
2946
|
* Stroke
|
|
@@ -3015,35 +3015,35 @@ const z = (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)), jr = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, Tr = _r, F = (r, e) => (o) => {
|
|
3019
3019
|
var t;
|
|
3020
|
-
if ((e == null ? void 0 : e.variants) == null) return
|
|
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], E = p == null ? void 0 : p[b];
|
|
3023
3023
|
if (h === null) return null;
|
|
3024
|
-
const
|
|
3025
|
-
return a[b][
|
|
3024
|
+
const S = jr(h) || jr(E);
|
|
3025
|
+
return a[b][S];
|
|
3026
3026
|
}), c = o && Object.entries(o).reduce((b, h) => {
|
|
3027
|
-
let [
|
|
3028
|
-
return
|
|
3027
|
+
let [E, S] = h;
|
|
3028
|
+
return S === void 0 || (b[E] = S), 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 [
|
|
3030
|
+
let { class: E, className: S, ...O } = h;
|
|
3031
|
+
return Object.entries(O).every((j) => {
|
|
3032
|
+
let [R, A] = j;
|
|
3033
3033
|
return Array.isArray(A) ? A.includes({
|
|
3034
3034
|
...p,
|
|
3035
3035
|
...c
|
|
3036
|
-
}[
|
|
3036
|
+
}[R]) : {
|
|
3037
3037
|
...p,
|
|
3038
3038
|
...c
|
|
3039
|
-
}[
|
|
3039
|
+
}[R] === A;
|
|
3040
3040
|
}) ? [
|
|
3041
3041
|
...b,
|
|
3042
|
-
|
|
3043
|
-
|
|
3042
|
+
E,
|
|
3043
|
+
S
|
|
3044
3044
|
] : b;
|
|
3045
3045
|
}, []);
|
|
3046
|
-
return
|
|
3046
|
+
return Tr(r, m, d, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
3047
3047
|
}, Po = F(
|
|
3048
3048
|
`
|
|
3049
3049
|
rounded-md
|
|
@@ -3111,7 +3111,7 @@ const z = (r) => {
|
|
|
3111
3111
|
size: "md"
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
|
-
),
|
|
3114
|
+
), No = ({
|
|
3115
3115
|
children: r,
|
|
3116
3116
|
className: e,
|
|
3117
3117
|
variant: o,
|
|
@@ -3120,7 +3120,7 @@ const z = (r) => {
|
|
|
3120
3120
|
isLoading: p = !1,
|
|
3121
3121
|
disabled: m = !1,
|
|
3122
3122
|
...c
|
|
3123
|
-
}) => /* @__PURE__ */
|
|
3123
|
+
}) => /* @__PURE__ */ k.jsx(
|
|
3124
3124
|
"button",
|
|
3125
3125
|
{
|
|
3126
3126
|
className: _(Po({ variant: o, size: t, className: e })),
|
|
@@ -3129,15 +3129,15 @@ const z = (r) => {
|
|
|
3129
3129
|
...c,
|
|
3130
3130
|
children: r
|
|
3131
3131
|
}
|
|
3132
|
-
),
|
|
3132
|
+
), Oo = F(
|
|
3133
3133
|
"text-sm text-black dark:text-white font-semibold"
|
|
3134
|
-
),
|
|
3134
|
+
), et = ({ className: r, ...e }) => /* @__PURE__ */ k.jsx(
|
|
3135
3135
|
"label",
|
|
3136
3136
|
{
|
|
3137
|
-
className: _(
|
|
3137
|
+
className: _(Oo({ className: r })),
|
|
3138
3138
|
...e
|
|
3139
3139
|
}
|
|
3140
|
-
),
|
|
3140
|
+
), Io = F("", {
|
|
3141
3141
|
variants: {
|
|
3142
3142
|
variant: {
|
|
3143
3143
|
default: "text-black dark:text-white",
|
|
@@ -3149,19 +3149,19 @@ const z = (r) => {
|
|
|
3149
3149
|
defaultVariants: {
|
|
3150
3150
|
variant: "default"
|
|
3151
3151
|
}
|
|
3152
|
-
}),
|
|
3152
|
+
}), it = ({
|
|
3153
3153
|
children: r,
|
|
3154
3154
|
className: e,
|
|
3155
3155
|
variant: o,
|
|
3156
3156
|
...t
|
|
3157
|
-
}) => /* @__PURE__ */
|
|
3157
|
+
}) => /* @__PURE__ */ k.jsx(
|
|
3158
3158
|
"h1",
|
|
3159
3159
|
{
|
|
3160
|
-
className: _(
|
|
3160
|
+
className: _(Io({ variant: o, className: e })),
|
|
3161
3161
|
...t,
|
|
3162
3162
|
children: r
|
|
3163
3163
|
}
|
|
3164
|
-
),
|
|
3164
|
+
), Mo = F("", {
|
|
3165
3165
|
variants: {
|
|
3166
3166
|
variant: {
|
|
3167
3167
|
default: "text-gray-900 dark:text-gray-50",
|
|
@@ -5020,7 +5020,7 @@ const Ar = {
|
|
|
5020
5020
|
zap: () => import("./zap-CIyjpnAY.js"),
|
|
5021
5021
|
"zoom-in": () => import("./zoom-in-DuYhciZN.js"),
|
|
5022
5022
|
"zoom-out": () => import("./zoom-out-CHkWNOgx.js")
|
|
5023
|
-
},
|
|
5023
|
+
}, Vo = /* @__PURE__ */ k.jsx("div", { style: { background: "transparent", width: 24, height: 24 } }), Go = Yr(
|
|
5024
5024
|
({
|
|
5025
5025
|
className: r,
|
|
5026
5026
|
fill: e = "transparent",
|
|
@@ -5038,11 +5038,11 @@ const Ar = {
|
|
|
5038
5038
|
if (!Ar[t])
|
|
5039
5039
|
return console.warn(`Ícone '${t}' não encontrado no Lucide.`), null;
|
|
5040
5040
|
const h = Ur(Ar[t]);
|
|
5041
|
-
return h ? /* @__PURE__ */
|
|
5041
|
+
return h ? /* @__PURE__ */ k.jsx(Dr, { fallback: Vo, children: /* @__PURE__ */ k.jsx(
|
|
5042
5042
|
h,
|
|
5043
5043
|
{
|
|
5044
5044
|
className: _(
|
|
5045
|
-
|
|
5045
|
+
Mo({ variant: a, size: p, className: r })
|
|
5046
5046
|
),
|
|
5047
5047
|
onClick: b,
|
|
5048
5048
|
fill: e,
|
|
@@ -5055,8 +5055,8 @@ const Ar = {
|
|
|
5055
5055
|
) }) : null;
|
|
5056
5056
|
}
|
|
5057
5057
|
);
|
|
5058
|
-
|
|
5059
|
-
const
|
|
5058
|
+
Go.displayName = "Icon";
|
|
5059
|
+
const Lo = F(
|
|
5060
5060
|
[
|
|
5061
5061
|
"block",
|
|
5062
5062
|
"w-full",
|
|
@@ -5100,7 +5100,7 @@ const Go = F(
|
|
|
5100
5100
|
disabled: !1
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
5103
|
-
),
|
|
5103
|
+
), Fo = sr(
|
|
5104
5104
|
({
|
|
5105
5105
|
className: r,
|
|
5106
5106
|
variant: e = "default",
|
|
@@ -5109,13 +5109,13 @@ const Go = F(
|
|
|
5109
5109
|
disabled: a = !1,
|
|
5110
5110
|
type: p = "text",
|
|
5111
5111
|
...m
|
|
5112
|
-
}, c) => /* @__PURE__ */
|
|
5112
|
+
}, c) => /* @__PURE__ */ k.jsx(
|
|
5113
5113
|
"input",
|
|
5114
5114
|
{
|
|
5115
5115
|
ref: c,
|
|
5116
5116
|
type: p,
|
|
5117
5117
|
className: _(
|
|
5118
|
-
|
|
5118
|
+
Lo({ variant: e, size: o, error: t, disabled: a }),
|
|
5119
5119
|
r
|
|
5120
5120
|
),
|
|
5121
5121
|
disabled: a,
|
|
@@ -5124,8 +5124,8 @@ const Go = F(
|
|
|
5124
5124
|
}
|
|
5125
5125
|
)
|
|
5126
5126
|
);
|
|
5127
|
-
|
|
5128
|
-
const
|
|
5127
|
+
Fo.displayName = "Input";
|
|
5128
|
+
const $o = F(
|
|
5129
5129
|
[
|
|
5130
5130
|
"block",
|
|
5131
5131
|
"w-full",
|
|
@@ -5170,7 +5170,7 @@ const Fo = F(
|
|
|
5170
5170
|
disabled: !1
|
|
5171
5171
|
}
|
|
5172
5172
|
}
|
|
5173
|
-
),
|
|
5173
|
+
), Wo = sr(
|
|
5174
5174
|
({
|
|
5175
5175
|
className: r,
|
|
5176
5176
|
variant: e = "default",
|
|
@@ -5178,12 +5178,12 @@ const Fo = F(
|
|
|
5178
5178
|
error: t = !1,
|
|
5179
5179
|
disabled: a = !1,
|
|
5180
5180
|
...p
|
|
5181
|
-
}, m) => /* @__PURE__ */
|
|
5181
|
+
}, m) => /* @__PURE__ */ k.jsx(
|
|
5182
5182
|
"textarea",
|
|
5183
5183
|
{
|
|
5184
5184
|
ref: m,
|
|
5185
5185
|
className: _(
|
|
5186
|
-
|
|
5186
|
+
$o({ variant: e, size: o, error: t, disabled: a }),
|
|
5187
5187
|
r
|
|
5188
5188
|
),
|
|
5189
5189
|
disabled: a,
|
|
@@ -5192,8 +5192,8 @@ const Fo = F(
|
|
|
5192
5192
|
}
|
|
5193
5193
|
)
|
|
5194
5194
|
);
|
|
5195
|
-
|
|
5196
|
-
const
|
|
5195
|
+
Wo.displayName = "Textarea";
|
|
5196
|
+
const Yo = F(
|
|
5197
5197
|
[
|
|
5198
5198
|
"block",
|
|
5199
5199
|
"w-full",
|
|
@@ -5240,7 +5240,7 @@ const Wo = F(
|
|
|
5240
5240
|
disabled: !1
|
|
5241
5241
|
}
|
|
5242
5242
|
}
|
|
5243
|
-
),
|
|
5243
|
+
), Uo = sr(
|
|
5244
5244
|
({
|
|
5245
5245
|
className: r,
|
|
5246
5246
|
variant: e = "default",
|
|
@@ -5249,12 +5249,12 @@ const Wo = F(
|
|
|
5249
5249
|
disabled: a = !1,
|
|
5250
5250
|
children: p,
|
|
5251
5251
|
...m
|
|
5252
|
-
}, c) => /* @__PURE__ */
|
|
5252
|
+
}, c) => /* @__PURE__ */ k.jsx(
|
|
5253
5253
|
"select",
|
|
5254
5254
|
{
|
|
5255
5255
|
ref: c,
|
|
5256
5256
|
className: _(
|
|
5257
|
-
|
|
5257
|
+
Yo({ variant: e, size: o, error: t, disabled: a }),
|
|
5258
5258
|
r
|
|
5259
5259
|
),
|
|
5260
5260
|
disabled: a,
|
|
@@ -5264,8 +5264,8 @@ const Wo = F(
|
|
|
5264
5264
|
}
|
|
5265
5265
|
)
|
|
5266
5266
|
);
|
|
5267
|
-
|
|
5268
|
-
const
|
|
5267
|
+
Uo.displayName = "Select";
|
|
5268
|
+
const Do = F(
|
|
5269
5269
|
[
|
|
5270
5270
|
"form-checkbox",
|
|
5271
5271
|
"rounded",
|
|
@@ -5308,7 +5308,7 @@ const Uo = F(
|
|
|
5308
5308
|
disabled: !1
|
|
5309
5309
|
}
|
|
5310
5310
|
}
|
|
5311
|
-
),
|
|
5311
|
+
), Bo = sr(
|
|
5312
5312
|
({
|
|
5313
5313
|
className: r,
|
|
5314
5314
|
variant: e = "default",
|
|
@@ -5323,13 +5323,13 @@ const Uo = F(
|
|
|
5323
5323
|
};
|
|
5324
5324
|
return Jr(() => {
|
|
5325
5325
|
d.current && (d.current.indeterminate = a);
|
|
5326
|
-
}, [a]), /* @__PURE__ */
|
|
5326
|
+
}, [a]), /* @__PURE__ */ k.jsx(
|
|
5327
5327
|
"input",
|
|
5328
5328
|
{
|
|
5329
5329
|
ref: b,
|
|
5330
5330
|
type: "checkbox",
|
|
5331
5331
|
className: _(
|
|
5332
|
-
|
|
5332
|
+
Do({ variant: e, size: o, error: t, disabled: p }),
|
|
5333
5333
|
r
|
|
5334
5334
|
),
|
|
5335
5335
|
disabled: p,
|
|
@@ -5340,8 +5340,8 @@ const Uo = F(
|
|
|
5340
5340
|
);
|
|
5341
5341
|
}
|
|
5342
5342
|
);
|
|
5343
|
-
|
|
5344
|
-
const
|
|
5343
|
+
Bo.displayName = "Checkbox";
|
|
5344
|
+
const Jo = F(
|
|
5345
5345
|
[
|
|
5346
5346
|
"form-radio",
|
|
5347
5347
|
"rounded-full",
|
|
@@ -5384,7 +5384,7 @@ const Bo = F(
|
|
|
5384
5384
|
disabled: !1
|
|
5385
5385
|
}
|
|
5386
5386
|
}
|
|
5387
|
-
),
|
|
5387
|
+
), Ho = sr(
|
|
5388
5388
|
({
|
|
5389
5389
|
className: r,
|
|
5390
5390
|
variant: e = "default",
|
|
@@ -5392,13 +5392,13 @@ const Bo = F(
|
|
|
5392
5392
|
error: t = !1,
|
|
5393
5393
|
disabled: a = !1,
|
|
5394
5394
|
...p
|
|
5395
|
-
}, m) => /* @__PURE__ */
|
|
5395
|
+
}, m) => /* @__PURE__ */ k.jsx(
|
|
5396
5396
|
"input",
|
|
5397
5397
|
{
|
|
5398
5398
|
ref: m,
|
|
5399
5399
|
type: "radio",
|
|
5400
5400
|
className: _(
|
|
5401
|
-
|
|
5401
|
+
Jo({ variant: e, size: o, error: t, disabled: a }),
|
|
5402
5402
|
r
|
|
5403
5403
|
),
|
|
5404
5404
|
disabled: a,
|
|
@@ -5407,7 +5407,7 @@ const Bo = F(
|
|
|
5407
5407
|
}
|
|
5408
5408
|
)
|
|
5409
5409
|
);
|
|
5410
|
-
|
|
5410
|
+
Ho.displayName = "Radio";
|
|
5411
5411
|
const Xo = ({
|
|
5412
5412
|
disabled: r,
|
|
5413
5413
|
className: e
|
|
@@ -5415,21 +5415,21 @@ const Xo = ({
|
|
|
5415
5415
|
"inline-flex items-center cursor-pointer select-none",
|
|
5416
5416
|
r ? "opacity-50 cursor-not-allowed" : "",
|
|
5417
5417
|
e
|
|
5418
|
-
),
|
|
5418
|
+
), Zo = ({
|
|
5419
5419
|
checked: r,
|
|
5420
5420
|
disabled: e
|
|
5421
5421
|
}) => _(
|
|
5422
5422
|
"w-10 h-6 rounded-full transition-colors duration-200 relative",
|
|
5423
5423
|
r ? "bg-primary-500" : "bg-gray-300",
|
|
5424
5424
|
e ? "bg-gray-200" : ""
|
|
5425
|
-
),
|
|
5425
|
+
), Qo = ({
|
|
5426
5426
|
checked: r,
|
|
5427
5427
|
disabled: e
|
|
5428
5428
|
}) => _(
|
|
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
|
-
),
|
|
5432
|
+
), Ko = () => "ml-3 text-sm font-medium text-gray-900", at = ({
|
|
5433
5433
|
checked: r,
|
|
5434
5434
|
onChange: e,
|
|
5435
5435
|
disabled: o = !1,
|
|
@@ -5438,8 +5438,8 @@ const Xo = ({
|
|
|
5438
5438
|
className: p,
|
|
5439
5439
|
children: m,
|
|
5440
5440
|
...c
|
|
5441
|
-
}) => /* @__PURE__ */
|
|
5442
|
-
/* @__PURE__ */
|
|
5441
|
+
}) => /* @__PURE__ */ k.jsxs("label", { className: Xo({ disabled: o, className: p }), children: [
|
|
5442
|
+
/* @__PURE__ */ k.jsx(
|
|
5443
5443
|
"input",
|
|
5444
5444
|
{
|
|
5445
5445
|
type: "checkbox",
|
|
@@ -5453,19 +5453,139 @@ const Xo = ({
|
|
|
5453
5453
|
...c
|
|
5454
5454
|
}
|
|
5455
5455
|
),
|
|
5456
|
-
/* @__PURE__ */
|
|
5457
|
-
m && /* @__PURE__ */
|
|
5458
|
-
] })
|
|
5456
|
+
/* @__PURE__ */ k.jsx("span", { className: Zo({ checked: r, disabled: o }), children: /* @__PURE__ */ k.jsx("span", { className: Qo({ checked: r, disabled: o }) }) }),
|
|
5457
|
+
m && /* @__PURE__ */ k.jsx("span", { className: Ko(), children: m })
|
|
5458
|
+
] }), rt = [
|
|
5459
|
+
{ label: "Home", route: "/" },
|
|
5460
|
+
{ label: "Plataforma", route: "/plataforma" },
|
|
5461
|
+
{ label: "Contato", route: "/contato" },
|
|
5462
|
+
{ label: "Carreira", route: "/carreira" }
|
|
5463
|
+
], ot = ({ onNavigate: r }) => /* @__PURE__ */ k.jsx(
|
|
5464
|
+
"header",
|
|
5465
|
+
{
|
|
5466
|
+
style: {
|
|
5467
|
+
width: "100%",
|
|
5468
|
+
background: "var(--primary)",
|
|
5469
|
+
color: "#fff",
|
|
5470
|
+
padding: "0 2rem",
|
|
5471
|
+
boxSizing: "border-box",
|
|
5472
|
+
boxShadow: "0 2px 8px rgba(0,0,0,0.04)"
|
|
5473
|
+
},
|
|
5474
|
+
children: /* @__PURE__ */ k.jsxs(
|
|
5475
|
+
"nav",
|
|
5476
|
+
{
|
|
5477
|
+
style: {
|
|
5478
|
+
display: "flex",
|
|
5479
|
+
alignItems: "center",
|
|
5480
|
+
justifyContent: "space-between",
|
|
5481
|
+
height: 64,
|
|
5482
|
+
maxWidth: 1200,
|
|
5483
|
+
margin: "0 auto"
|
|
5484
|
+
},
|
|
5485
|
+
children: [
|
|
5486
|
+
/* @__PURE__ */ k.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 32 }, children: [
|
|
5487
|
+
/* @__PURE__ */ k.jsx("span", { style: { fontWeight: 700, fontSize: 22, letterSpacing: 1 }, children: "Fast Food Manager" }),
|
|
5488
|
+
rt.map((e) => /* @__PURE__ */ k.jsx(
|
|
5489
|
+
"button",
|
|
5490
|
+
{
|
|
5491
|
+
onClick: () => r == null ? void 0 : r(e.route),
|
|
5492
|
+
style: {
|
|
5493
|
+
background: "none",
|
|
5494
|
+
border: "none",
|
|
5495
|
+
color: "#fff",
|
|
5496
|
+
fontSize: 16,
|
|
5497
|
+
cursor: "pointer",
|
|
5498
|
+
padding: "8px 12px",
|
|
5499
|
+
borderRadius: 6,
|
|
5500
|
+
transition: "background 0.2s"
|
|
5501
|
+
},
|
|
5502
|
+
onMouseOver: (o) => o.currentTarget.style.background = "rgba(255,255,255,0.08)",
|
|
5503
|
+
onMouseOut: (o) => o.currentTarget.style.background = "none",
|
|
5504
|
+
children: e.label
|
|
5505
|
+
},
|
|
5506
|
+
e.route
|
|
5507
|
+
))
|
|
5508
|
+
] }),
|
|
5509
|
+
/* @__PURE__ */ k.jsx(
|
|
5510
|
+
No,
|
|
5511
|
+
{
|
|
5512
|
+
style: {
|
|
5513
|
+
background: "#fff",
|
|
5514
|
+
color: "var(--primary)",
|
|
5515
|
+
fontWeight: "bold",
|
|
5516
|
+
borderRadius: 6,
|
|
5517
|
+
padding: "8px 20px",
|
|
5518
|
+
fontSize: 16,
|
|
5519
|
+
boxShadow: "0 1px 4px rgba(0,0,0,0.04)"
|
|
5520
|
+
},
|
|
5521
|
+
onClick: () => r == null ? void 0 : r("/login"),
|
|
5522
|
+
children: "Login"
|
|
5523
|
+
}
|
|
5524
|
+
)
|
|
5525
|
+
]
|
|
5526
|
+
}
|
|
5527
|
+
)
|
|
5528
|
+
}
|
|
5529
|
+
), pt = ({
|
|
5530
|
+
children: r,
|
|
5531
|
+
showHeader: e = !0,
|
|
5532
|
+
headerProps: o,
|
|
5533
|
+
footerContent: t
|
|
5534
|
+
}) => /* @__PURE__ */ k.jsxs(
|
|
5535
|
+
"div",
|
|
5536
|
+
{
|
|
5537
|
+
style: {
|
|
5538
|
+
minHeight: "100vh",
|
|
5539
|
+
display: "flex",
|
|
5540
|
+
flexDirection: "column",
|
|
5541
|
+
background: "var(--background)"
|
|
5542
|
+
},
|
|
5543
|
+
children: [
|
|
5544
|
+
e && /* @__PURE__ */ k.jsx(ot, { ...o }),
|
|
5545
|
+
/* @__PURE__ */ k.jsx(
|
|
5546
|
+
"main",
|
|
5547
|
+
{
|
|
5548
|
+
style: {
|
|
5549
|
+
flex: 1,
|
|
5550
|
+
width: "100%",
|
|
5551
|
+
maxWidth: 1200,
|
|
5552
|
+
margin: "0 auto",
|
|
5553
|
+
padding: "2rem 1rem"
|
|
5554
|
+
},
|
|
5555
|
+
children: r
|
|
5556
|
+
}
|
|
5557
|
+
),
|
|
5558
|
+
/* @__PURE__ */ k.jsx(
|
|
5559
|
+
"footer",
|
|
5560
|
+
{
|
|
5561
|
+
style: {
|
|
5562
|
+
padding: "1rem 0",
|
|
5563
|
+
background: "var(--gray-900)",
|
|
5564
|
+
color: "#fff",
|
|
5565
|
+
textAlign: "center"
|
|
5566
|
+
},
|
|
5567
|
+
children: t || /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
|
5568
|
+
"© ",
|
|
5569
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
5570
|
+
" Fast Food Manager. Todos os direitos reservados. "
|
|
5571
|
+
] })
|
|
5572
|
+
}
|
|
5573
|
+
)
|
|
5574
|
+
]
|
|
5575
|
+
}
|
|
5576
|
+
);
|
|
5459
5577
|
export {
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5578
|
+
No as Button,
|
|
5579
|
+
Bo as Checkbox,
|
|
5580
|
+
ot as Header,
|
|
5581
|
+
Go as Icon,
|
|
5582
|
+
Fo as Input,
|
|
5583
|
+
et as Label,
|
|
5584
|
+
pt as Layout,
|
|
5585
|
+
Ho as Radio,
|
|
5586
|
+
Uo as Select,
|
|
5587
|
+
at as Switch,
|
|
5588
|
+
Wo as Textarea,
|
|
5589
|
+
it as Title,
|
|
5470
5590
|
_ as mergeClassNames
|
|
5471
5591
|
};
|