@qodo/design-system 0.1.0 → 0.1.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/README.md +180 -106
- package/dist/design-system.css +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.esm.js +184 -154
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import * as $e from "react";
|
|
2
|
+
import We from "react";
|
|
3
|
+
const Cr = {
|
|
4
4
|
primary: {
|
|
5
5
|
50: "#eff6ff",
|
|
6
6
|
100: "#dbeafe",
|
|
@@ -25,19 +25,19 @@ const Pr = {
|
|
|
25
25
|
500: "#ef4444",
|
|
26
26
|
600: "#dc2626"
|
|
27
27
|
}
|
|
28
|
-
},
|
|
28
|
+
}, zr = {
|
|
29
29
|
xs: "0.25rem",
|
|
30
30
|
sm: "0.5rem",
|
|
31
31
|
md: "1rem",
|
|
32
32
|
lg: "1.5rem",
|
|
33
33
|
xl: "2rem",
|
|
34
34
|
"2xl": "3rem"
|
|
35
|
-
},
|
|
35
|
+
}, Or = {
|
|
36
36
|
sm: "0.25rem",
|
|
37
37
|
md: "0.375rem",
|
|
38
38
|
lg: "0.5rem",
|
|
39
39
|
xl: "0.75rem"
|
|
40
|
-
},
|
|
40
|
+
}, Nr = {
|
|
41
41
|
fontFamily: {
|
|
42
42
|
sans: ["Inter", "system-ui", "sans-serif"],
|
|
43
43
|
mono: ["JetBrains Mono", "monospace"]
|
|
@@ -62,7 +62,7 @@ var le = { exports: {} }, oe = {};
|
|
|
62
62
|
* LICENSE file in the root directory of this source tree.
|
|
63
63
|
*/
|
|
64
64
|
var he;
|
|
65
|
-
function
|
|
65
|
+
function Ye() {
|
|
66
66
|
if (he) return oe;
|
|
67
67
|
he = 1;
|
|
68
68
|
var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
@@ -94,7 +94,7 @@ var te = {};
|
|
|
94
94
|
* LICENSE file in the root directory of this source tree.
|
|
95
95
|
*/
|
|
96
96
|
var xe;
|
|
97
|
-
function
|
|
97
|
+
function Ue() {
|
|
98
98
|
return xe || (xe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
99
99
|
function e(r) {
|
|
100
100
|
if (r == null) return null;
|
|
@@ -104,7 +104,7 @@ function $e() {
|
|
|
104
104
|
switch (r) {
|
|
105
105
|
case E:
|
|
106
106
|
return "Fragment";
|
|
107
|
-
case
|
|
107
|
+
case M:
|
|
108
108
|
return "Profiler";
|
|
109
109
|
case P:
|
|
110
110
|
return "StrictMode";
|
|
@@ -178,7 +178,7 @@ function $e() {
|
|
|
178
178
|
return Error("react-stack-top-frame");
|
|
179
179
|
}
|
|
180
180
|
function c(r) {
|
|
181
|
-
if (
|
|
181
|
+
if (q.call(r, "key")) {
|
|
182
182
|
var m = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
183
183
|
if (m && m.isReactWarning) return !1;
|
|
184
184
|
}
|
|
@@ -202,9 +202,9 @@ function $e() {
|
|
|
202
202
|
"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."
|
|
203
203
|
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
204
204
|
}
|
|
205
|
-
function h(r, m, x, g, y, _, H,
|
|
205
|
+
function h(r, m, x, g, y, _, H, w) {
|
|
206
206
|
return x = _.ref, r = {
|
|
207
|
-
$$typeof:
|
|
207
|
+
$$typeof: N,
|
|
208
208
|
type: r,
|
|
209
209
|
key: m,
|
|
210
210
|
props: _,
|
|
@@ -231,28 +231,28 @@ function $e() {
|
|
|
231
231
|
configurable: !1,
|
|
232
232
|
enumerable: !1,
|
|
233
233
|
writable: !0,
|
|
234
|
-
value:
|
|
234
|
+
value: w
|
|
235
235
|
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
236
236
|
}
|
|
237
|
-
function v(r, m, x, g, y, _, H,
|
|
238
|
-
var
|
|
239
|
-
if (
|
|
237
|
+
function v(r, m, x, g, y, _, H, w) {
|
|
238
|
+
var k = m.children;
|
|
239
|
+
if (k !== void 0)
|
|
240
240
|
if (g)
|
|
241
|
-
if (ae(
|
|
242
|
-
for (g = 0; g <
|
|
243
|
-
A(
|
|
244
|
-
Object.freeze && Object.freeze(
|
|
241
|
+
if (ae(k)) {
|
|
242
|
+
for (g = 0; g < k.length; g++)
|
|
243
|
+
A(k[g]);
|
|
244
|
+
Object.freeze && Object.freeze(k);
|
|
245
245
|
} else
|
|
246
246
|
console.error(
|
|
247
247
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
248
248
|
);
|
|
249
|
-
else A(
|
|
250
|
-
if (
|
|
251
|
-
|
|
249
|
+
else A(k);
|
|
250
|
+
if (q.call(m, "key")) {
|
|
251
|
+
k = e(r);
|
|
252
252
|
var O = Object.keys(m).filter(function(re) {
|
|
253
253
|
return re !== "key";
|
|
254
254
|
});
|
|
255
|
-
g = 0 < O.length ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}", ee[
|
|
255
|
+
g = 0 < O.length ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}", ee[k + g] || (O = 0 < O.length ? "{" + O.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
256
256
|
`A props object containing a "key" prop is being spread into JSX:
|
|
257
257
|
let props = %s;
|
|
258
258
|
<%s {...props} />
|
|
@@ -260,34 +260,34 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
let props = %s;
|
|
261
261
|
<%s key={someKey} {...props} />`,
|
|
262
262
|
g,
|
|
263
|
-
|
|
263
|
+
k,
|
|
264
264
|
O,
|
|
265
|
-
|
|
266
|
-
), ee[
|
|
265
|
+
k
|
|
266
|
+
), ee[k + g] = !0);
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
268
|
+
if (k = null, x !== void 0 && (o(x), k = "" + x), c(m) && (o(m.key), k = "" + m.key), "key" in m) {
|
|
269
269
|
x = {};
|
|
270
270
|
for (var $ in m)
|
|
271
271
|
$ !== "key" && (x[$] = m[$]);
|
|
272
272
|
} else x = m;
|
|
273
|
-
return
|
|
273
|
+
return k && b(
|
|
274
274
|
x,
|
|
275
275
|
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
276
276
|
), h(
|
|
277
277
|
r,
|
|
278
|
-
|
|
278
|
+
k,
|
|
279
279
|
_,
|
|
280
280
|
y,
|
|
281
281
|
i(),
|
|
282
282
|
x,
|
|
283
283
|
H,
|
|
284
|
-
|
|
284
|
+
w
|
|
285
285
|
);
|
|
286
286
|
}
|
|
287
287
|
function A(r) {
|
|
288
|
-
typeof r == "object" && r !== null && r.$$typeof ===
|
|
288
|
+
typeof r == "object" && r !== null && r.$$typeof === N && r._store && (r._store.validated = 1);
|
|
289
289
|
}
|
|
290
|
-
var S =
|
|
290
|
+
var S = We, N = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), Y = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), U = Symbol.for("react.memo"), u = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), se = Symbol.for("react.client.reference"), X = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, ae = Array.isArray, B = console.createTask ? console.createTask : function() {
|
|
291
291
|
return null;
|
|
292
292
|
};
|
|
293
293
|
S = {
|
|
@@ -295,10 +295,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
295
295
|
return r();
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
|
-
var G, C = {},
|
|
298
|
+
var G, C = {}, j = S["react-stack-bottom-frame"].bind(
|
|
299
299
|
S,
|
|
300
300
|
l
|
|
301
|
-
)(), d =
|
|
301
|
+
)(), d = B(t(l)), ee = {};
|
|
302
302
|
te.Fragment = E, te.jsx = function(r, m, x, g, y) {
|
|
303
303
|
var _ = 1e4 > X.recentlyCreatedOwnerStacks++;
|
|
304
304
|
return v(
|
|
@@ -308,8 +308,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
308
308
|
!1,
|
|
309
309
|
g,
|
|
310
310
|
y,
|
|
311
|
-
_ ? Error("react-stack-top-frame") :
|
|
312
|
-
_ ?
|
|
311
|
+
_ ? Error("react-stack-top-frame") : j,
|
|
312
|
+
_ ? B(t(r)) : d
|
|
313
313
|
);
|
|
314
314
|
}, te.jsxs = function(r, m, x, g, y) {
|
|
315
315
|
var _ = 1e4 > X.recentlyCreatedOwnerStacks++;
|
|
@@ -320,33 +320,33 @@ React keys must be passed directly to JSX without using spread:
|
|
|
320
320
|
!0,
|
|
321
321
|
g,
|
|
322
322
|
y,
|
|
323
|
-
_ ? Error("react-stack-top-frame") :
|
|
324
|
-
_ ?
|
|
323
|
+
_ ? Error("react-stack-top-frame") : j,
|
|
324
|
+
_ ? B(t(r)) : d
|
|
325
325
|
);
|
|
326
326
|
};
|
|
327
327
|
}()), te;
|
|
328
328
|
}
|
|
329
329
|
var ve;
|
|
330
|
-
function
|
|
331
|
-
return ve || (ve = 1, process.env.NODE_ENV === "production" ? le.exports =
|
|
330
|
+
function qe() {
|
|
331
|
+
return ve || (ve = 1, process.env.NODE_ENV === "production" ? le.exports = Ye() : le.exports = Ue()), le.exports;
|
|
332
332
|
}
|
|
333
|
-
var
|
|
334
|
-
function
|
|
333
|
+
var Se = qe();
|
|
334
|
+
function Te(e) {
|
|
335
335
|
var n, o, t = "";
|
|
336
336
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
337
337
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
338
338
|
var i = e.length;
|
|
339
|
-
for (n = 0; n < i; n++) e[n] && (o =
|
|
339
|
+
for (n = 0; n < i; n++) e[n] && (o = Te(e[n])) && (t && (t += " "), t += o);
|
|
340
340
|
} else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
341
341
|
return t;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
for (var e, n, o = 0, t = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (n =
|
|
343
|
+
function _e() {
|
|
344
|
+
for (var e, n, o = 0, t = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (n = Te(e)) && (t && (t += " "), t += n);
|
|
345
345
|
return t;
|
|
346
346
|
}
|
|
347
|
-
const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e,
|
|
347
|
+
const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = _e, Pe = (e, n) => (o) => {
|
|
348
348
|
var t;
|
|
349
|
-
if (n?.variants == null) return
|
|
349
|
+
if (n?.variants == null) return we(e, o?.class, o?.className);
|
|
350
350
|
const { variants: i, defaultVariants: l } = n, c = Object.keys(i).map((h) => {
|
|
351
351
|
const v = o?.[h], A = l?.[h];
|
|
352
352
|
if (v === null) return null;
|
|
@@ -356,8 +356,8 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
356
356
|
let [A, S] = v;
|
|
357
357
|
return S === void 0 || (h[A] = S), h;
|
|
358
358
|
}, {}), f = n == null || (t = n.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((h, v) => {
|
|
359
|
-
let { class: A, className: S, ...
|
|
360
|
-
return Object.entries(
|
|
359
|
+
let { class: A, className: S, ...N } = v;
|
|
360
|
+
return Object.entries(N).every((T) => {
|
|
361
361
|
let [E, P] = T;
|
|
362
362
|
return Array.isArray(P) ? P.includes({
|
|
363
363
|
...l,
|
|
@@ -372,26 +372,26 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
372
372
|
S
|
|
373
373
|
] : h;
|
|
374
374
|
}, []);
|
|
375
|
-
return
|
|
375
|
+
return we(e, c, f, o?.class, o?.className);
|
|
376
376
|
}, ge = "-", Be = (e) => {
|
|
377
|
-
const n =
|
|
377
|
+
const n = Je(e), {
|
|
378
378
|
conflictingClassGroups: o,
|
|
379
379
|
conflictingClassGroupModifiers: t
|
|
380
380
|
} = e;
|
|
381
381
|
return {
|
|
382
382
|
getClassGroupId: (c) => {
|
|
383
383
|
const b = c.split(ge);
|
|
384
|
-
return b[0] === "" && b.length !== 1 && b.shift(),
|
|
384
|
+
return b[0] === "" && b.length !== 1 && b.shift(), Ce(b, n) || De(c);
|
|
385
385
|
},
|
|
386
386
|
getConflictingClassGroupIds: (c, b) => {
|
|
387
387
|
const f = o[c] || [];
|
|
388
388
|
return b && t[c] ? [...f, ...t[c]] : f;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
},
|
|
391
|
+
}, Ce = (e, n) => {
|
|
392
392
|
if (e.length === 0)
|
|
393
393
|
return n.classGroupId;
|
|
394
|
-
const o = e[0], t = n.nextPart.get(o), i = t ?
|
|
394
|
+
const o = e[0], t = n.nextPart.get(o), i = t ? Ce(e.slice(1), t) : void 0;
|
|
395
395
|
if (i)
|
|
396
396
|
return i;
|
|
397
397
|
if (n.validators.length === 0)
|
|
@@ -400,13 +400,13 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
400
400
|
return n.validators.find(({
|
|
401
401
|
validator: c
|
|
402
402
|
}) => c(l))?.classGroupId;
|
|
403
|
-
},
|
|
404
|
-
if (
|
|
405
|
-
const n =
|
|
403
|
+
}, ke = /^\[(.+)\]$/, De = (e) => {
|
|
404
|
+
if (ke.test(e)) {
|
|
405
|
+
const n = ke.exec(e)[1], o = n?.substring(0, n.indexOf(":"));
|
|
406
406
|
if (o)
|
|
407
407
|
return "arbitrary.." + o;
|
|
408
408
|
}
|
|
409
|
-
},
|
|
409
|
+
}, Je = (e) => {
|
|
410
410
|
const {
|
|
411
411
|
theme: n,
|
|
412
412
|
classGroups: o
|
|
@@ -425,7 +425,7 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
425
425
|
return;
|
|
426
426
|
}
|
|
427
427
|
if (typeof i == "function") {
|
|
428
|
-
if (
|
|
428
|
+
if (Xe(i)) {
|
|
429
429
|
fe(i(t), n, o, t);
|
|
430
430
|
return;
|
|
431
431
|
}
|
|
@@ -447,7 +447,7 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
447
447
|
validators: []
|
|
448
448
|
}), o = o.nextPart.get(t);
|
|
449
449
|
}), o;
|
|
450
|
-
},
|
|
450
|
+
}, Xe = (e) => e.isThemeGetter, He = (e) => {
|
|
451
451
|
if (e < 1)
|
|
452
452
|
return {
|
|
453
453
|
get: () => {
|
|
@@ -471,7 +471,7 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
471
471
|
o.has(l) ? o.set(l, c) : i(l, c);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
|
-
}, pe = "!", be = ":",
|
|
474
|
+
}, pe = "!", be = ":", Ze = be.length, Qe = (e) => {
|
|
475
475
|
const {
|
|
476
476
|
prefix: n,
|
|
477
477
|
experimentalParseClassName: o
|
|
@@ -483,7 +483,7 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
483
483
|
let E = i[T];
|
|
484
484
|
if (c === 0 && b === 0) {
|
|
485
485
|
if (E === be) {
|
|
486
|
-
l.push(i.slice(f, T)), f = T +
|
|
486
|
+
l.push(i.slice(f, T)), f = T + Ze;
|
|
487
487
|
continue;
|
|
488
488
|
}
|
|
489
489
|
if (E === "/") {
|
|
@@ -493,12 +493,12 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
493
493
|
}
|
|
494
494
|
E === "[" ? c++ : E === "]" ? c-- : E === "(" ? b++ : E === ")" && b--;
|
|
495
495
|
}
|
|
496
|
-
const v = l.length === 0 ? i : i.substring(f), A =
|
|
496
|
+
const v = l.length === 0 ? i : i.substring(f), A = Ke(v), S = A !== v, N = h && h > f ? h - f : void 0;
|
|
497
497
|
return {
|
|
498
498
|
modifiers: l,
|
|
499
499
|
hasImportantModifier: S,
|
|
500
500
|
baseClassName: A,
|
|
501
|
-
maybePostfixModifierPosition:
|
|
501
|
+
maybePostfixModifierPosition: N
|
|
502
502
|
};
|
|
503
503
|
};
|
|
504
504
|
if (n) {
|
|
@@ -519,7 +519,7 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
return t;
|
|
522
|
-
},
|
|
522
|
+
}, Ke = (e) => e.endsWith(pe) ? e.substring(0, e.length - 1) : e.startsWith(pe) ? e.substring(1) : e, er = (e) => {
|
|
523
523
|
const n = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
|
|
524
524
|
return (t) => {
|
|
525
525
|
if (t.length <= 1)
|
|
@@ -530,24 +530,24 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
530
530
|
c[0] === "[" || n[c] ? (i.push(...l.sort(), c), l = []) : l.push(c);
|
|
531
531
|
}), i.push(...l.sort()), i;
|
|
532
532
|
};
|
|
533
|
-
},
|
|
534
|
-
cache:
|
|
535
|
-
parseClassName:
|
|
536
|
-
sortModifiers:
|
|
533
|
+
}, rr = (e) => ({
|
|
534
|
+
cache: He(e.cacheSize),
|
|
535
|
+
parseClassName: Qe(e),
|
|
536
|
+
sortModifiers: er(e),
|
|
537
537
|
...Be(e)
|
|
538
|
-
}),
|
|
538
|
+
}), or = /\s+/, tr = (e, n) => {
|
|
539
539
|
const {
|
|
540
540
|
parseClassName: o,
|
|
541
541
|
getClassGroupId: t,
|
|
542
542
|
getConflictingClassGroupIds: i,
|
|
543
543
|
sortModifiers: l
|
|
544
|
-
} = n, c = [], b = e.trim().split(
|
|
544
|
+
} = n, c = [], b = e.trim().split(or);
|
|
545
545
|
let f = "";
|
|
546
546
|
for (let h = b.length - 1; h >= 0; h -= 1) {
|
|
547
547
|
const v = b[h], {
|
|
548
548
|
isExternal: A,
|
|
549
549
|
modifiers: S,
|
|
550
|
-
hasImportantModifier:
|
|
550
|
+
hasImportantModifier: N,
|
|
551
551
|
baseClassName: T,
|
|
552
552
|
maybePostfixModifierPosition: E
|
|
553
553
|
} = o(v);
|
|
@@ -555,23 +555,23 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
555
555
|
f = v + (f.length > 0 ? " " + f : f);
|
|
556
556
|
continue;
|
|
557
557
|
}
|
|
558
|
-
let P = !!E,
|
|
559
|
-
if (!
|
|
558
|
+
let P = !!E, M = t(P ? T.substring(0, E) : T);
|
|
559
|
+
if (!M) {
|
|
560
560
|
if (!P) {
|
|
561
561
|
f = v + (f.length > 0 ? " " + f : f);
|
|
562
562
|
continue;
|
|
563
563
|
}
|
|
564
|
-
if (
|
|
564
|
+
if (M = t(T), !M) {
|
|
565
565
|
f = v + (f.length > 0 ? " " + f : f);
|
|
566
566
|
continue;
|
|
567
567
|
}
|
|
568
568
|
P = !1;
|
|
569
569
|
}
|
|
570
|
-
const J = l(S).join(":"), Y =
|
|
570
|
+
const J = l(S).join(":"), Y = N ? J + pe : J, L = Y + M;
|
|
571
571
|
if (c.includes(L))
|
|
572
572
|
continue;
|
|
573
573
|
c.push(L);
|
|
574
|
-
const F = i(
|
|
574
|
+
const F = i(M, P);
|
|
575
575
|
for (let I = 0; I < F.length; ++I) {
|
|
576
576
|
const U = F[I];
|
|
577
577
|
c.push(Y + U);
|
|
@@ -580,53 +580,53 @@ const ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = Te, U
|
|
|
580
580
|
}
|
|
581
581
|
return f;
|
|
582
582
|
};
|
|
583
|
-
function
|
|
583
|
+
function nr() {
|
|
584
584
|
let e = 0, n, o, t = "";
|
|
585
585
|
for (; e < arguments.length; )
|
|
586
|
-
(n = arguments[e++]) && (o =
|
|
586
|
+
(n = arguments[e++]) && (o = ze(n)) && (t && (t += " "), t += o);
|
|
587
587
|
return t;
|
|
588
588
|
}
|
|
589
|
-
const
|
|
589
|
+
const ze = (e) => {
|
|
590
590
|
if (typeof e == "string")
|
|
591
591
|
return e;
|
|
592
592
|
let n, o = "";
|
|
593
593
|
for (let t = 0; t < e.length; t++)
|
|
594
|
-
e[t] && (n =
|
|
594
|
+
e[t] && (n = ze(e[t])) && (o && (o += " "), o += n);
|
|
595
595
|
return o;
|
|
596
596
|
};
|
|
597
|
-
function
|
|
597
|
+
function sr(e, ...n) {
|
|
598
598
|
let o, t, i, l = c;
|
|
599
599
|
function c(f) {
|
|
600
600
|
const h = n.reduce((v, A) => A(v), e());
|
|
601
|
-
return o =
|
|
601
|
+
return o = rr(h), t = o.cache.get, i = o.cache.set, l = b, b(f);
|
|
602
602
|
}
|
|
603
603
|
function b(f) {
|
|
604
604
|
const h = t(f);
|
|
605
605
|
if (h)
|
|
606
606
|
return h;
|
|
607
|
-
const v =
|
|
607
|
+
const v = tr(f, o);
|
|
608
608
|
return i(f, v), v;
|
|
609
609
|
}
|
|
610
610
|
return function() {
|
|
611
|
-
return l(
|
|
611
|
+
return l(nr.apply(null, arguments));
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
614
|
const R = (e) => {
|
|
615
615
|
const n = (o) => o[e] || [];
|
|
616
616
|
return n.isThemeGetter = !0, n;
|
|
617
|
-
},
|
|
617
|
+
}, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ne = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, ir = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, cr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => ar.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), W = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && p(e.slice(0, -1)), V = (e) => ir.test(e), mr = () => !0, fr = (e) => (
|
|
618
618
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
619
619
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
620
620
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
621
|
-
|
|
622
|
-
),
|
|
623
|
-
const t =
|
|
621
|
+
lr.test(e) && !cr.test(e)
|
|
622
|
+
), je = () => !1, pr = (e) => dr.test(e), br = (e) => ur.test(e), gr = (e) => !s(e) && !a(e), hr = (e) => Q(e, Ge, je), s = (e) => Oe.test(e), D = (e) => Q(e, Ve, fr), me = (e) => Q(e, kr, p), Ee = (e) => Q(e, Me, je), xr = (e) => Q(e, Ie, br), ce = (e) => Q(e, Le, pr), a = (e) => Ne.test(e), ne = (e) => K(e, Ve), vr = (e) => K(e, Rr), Ae = (e) => K(e, Me), yr = (e) => K(e, Ge), wr = (e) => K(e, Ie), de = (e) => K(e, Le, !0), Q = (e, n, o) => {
|
|
623
|
+
const t = Oe.exec(e);
|
|
624
624
|
return t ? t[1] ? n(t[1]) : o(t[2]) : !1;
|
|
625
625
|
}, K = (e, n, o = !1) => {
|
|
626
|
-
const t =
|
|
626
|
+
const t = Ne.exec(e);
|
|
627
627
|
return t ? t[1] ? n(t[1]) : o : !1;
|
|
628
|
-
}, Me = (e) => e === "position" || e === "percentage",
|
|
629
|
-
const e = R("color"), n = R("font"), o = R("text"), t = R("font-weight"), i = R("tracking"), l = R("leading"), c = R("breakpoint"), b = R("container"), f = R("spacing"), h = R("radius"), v = R("shadow"), A = R("inset-shadow"), S = R("text-shadow"),
|
|
628
|
+
}, Me = (e) => e === "position" || e === "percentage", Ie = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ve = (e) => e === "length", kr = (e) => e === "number", Rr = (e) => e === "family-name", Le = (e) => e === "shadow", Er = () => {
|
|
629
|
+
const e = R("color"), n = R("font"), o = R("text"), t = R("font-weight"), i = R("tracking"), l = R("leading"), c = R("breakpoint"), b = R("container"), f = R("spacing"), h = R("radius"), v = R("shadow"), A = R("inset-shadow"), S = R("text-shadow"), N = R("drop-shadow"), T = R("blur"), E = R("perspective"), P = R("aspect"), M = R("ease"), J = R("animate"), Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
|
|
630
630
|
"center",
|
|
631
631
|
"top",
|
|
632
632
|
"bottom",
|
|
@@ -646,13 +646,13 @@ const R = (e) => {
|
|
|
646
646
|
"left-bottom"
|
|
647
647
|
], F = () => [...L(), a, s], I = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], u = () => [a, s, f], z = () => [Z, "full", "auto", ...u()], se = () => [W, "none", "subgrid", a, s], X = () => ["auto", {
|
|
648
648
|
span: ["full", W, a, s]
|
|
649
|
-
}, W, a, s],
|
|
649
|
+
}, W, a, s], q = () => [W, "auto", a, s], ae = () => ["auto", "min", "max", "fr", a, s], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], C = () => ["auto", ...u()], j = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, a, s], ee = () => [...L(), Ae, Ee, {
|
|
650
650
|
position: [a, s]
|
|
651
651
|
}], r = () => ["no-repeat", {
|
|
652
652
|
repeat: ["", "x", "y", "space", "round"]
|
|
653
|
-
}], m = () => ["auto", "cover", "contain",
|
|
653
|
+
}], m = () => ["auto", "cover", "contain", yr, hr, {
|
|
654
654
|
size: [a, s]
|
|
655
|
-
}], x = () => [ue, ne,
|
|
655
|
+
}], x = () => [ue, ne, D], g = () => [
|
|
656
656
|
// Deprecated since Tailwind CSS v4.0.0
|
|
657
657
|
"",
|
|
658
658
|
"none",
|
|
@@ -660,7 +660,7 @@ const R = (e) => {
|
|
|
660
660
|
h,
|
|
661
661
|
a,
|
|
662
662
|
s
|
|
663
|
-
], y = () => ["", p, ne,
|
|
663
|
+
], y = () => ["", p, ne, D], _ = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => [p, ue, Ae, Ee], k = () => [
|
|
664
664
|
// Deprecated since Tailwind CSS v4.0.0
|
|
665
665
|
"",
|
|
666
666
|
"none",
|
|
@@ -675,11 +675,11 @@ const R = (e) => {
|
|
|
675
675
|
aspect: ["video"],
|
|
676
676
|
blur: [V],
|
|
677
677
|
breakpoint: [V],
|
|
678
|
-
color: [
|
|
678
|
+
color: [mr],
|
|
679
679
|
container: [V],
|
|
680
680
|
"drop-shadow": [V],
|
|
681
681
|
ease: ["in", "out", "in-out"],
|
|
682
|
-
font: [
|
|
682
|
+
font: [gr],
|
|
683
683
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
684
684
|
"inset-shadow": [V],
|
|
685
685
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -986,14 +986,14 @@ const R = (e) => {
|
|
|
986
986
|
* @see https://tailwindcss.com/docs/grid-column
|
|
987
987
|
*/
|
|
988
988
|
"col-start": [{
|
|
989
|
-
"col-start":
|
|
989
|
+
"col-start": q()
|
|
990
990
|
}],
|
|
991
991
|
/**
|
|
992
992
|
* Grid Column End
|
|
993
993
|
* @see https://tailwindcss.com/docs/grid-column
|
|
994
994
|
*/
|
|
995
995
|
"col-end": [{
|
|
996
|
-
"col-end":
|
|
996
|
+
"col-end": q()
|
|
997
997
|
}],
|
|
998
998
|
/**
|
|
999
999
|
* Grid Template Rows
|
|
@@ -1014,14 +1014,14 @@ const R = (e) => {
|
|
|
1014
1014
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1015
1015
|
*/
|
|
1016
1016
|
"row-start": [{
|
|
1017
|
-
"row-start":
|
|
1017
|
+
"row-start": q()
|
|
1018
1018
|
}],
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Grid Row End
|
|
1021
1021
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1022
1022
|
*/
|
|
1023
1023
|
"row-end": [{
|
|
1024
|
-
"row-end":
|
|
1024
|
+
"row-end": q()
|
|
1025
1025
|
}],
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Grid Auto Flow
|
|
@@ -1070,7 +1070,7 @@ const R = (e) => {
|
|
|
1070
1070
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1071
1071
|
*/
|
|
1072
1072
|
"justify-content": [{
|
|
1073
|
-
justify: [...
|
|
1073
|
+
justify: [...B(), "normal"]
|
|
1074
1074
|
}],
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Justify Items
|
|
@@ -1091,7 +1091,7 @@ const R = (e) => {
|
|
|
1091
1091
|
* @see https://tailwindcss.com/docs/align-content
|
|
1092
1092
|
*/
|
|
1093
1093
|
"align-content": [{
|
|
1094
|
-
content: ["normal", ...
|
|
1094
|
+
content: ["normal", ...B()]
|
|
1095
1095
|
}],
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Align Items
|
|
@@ -1116,7 +1116,7 @@ const R = (e) => {
|
|
|
1116
1116
|
* @see https://tailwindcss.com/docs/place-content
|
|
1117
1117
|
*/
|
|
1118
1118
|
"place-content": [{
|
|
1119
|
-
"place-content":
|
|
1119
|
+
"place-content": B()
|
|
1120
1120
|
}],
|
|
1121
1121
|
/**
|
|
1122
1122
|
* Place Items
|
|
@@ -1291,14 +1291,14 @@ const R = (e) => {
|
|
|
1291
1291
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1292
1292
|
*/
|
|
1293
1293
|
size: [{
|
|
1294
|
-
size:
|
|
1294
|
+
size: j()
|
|
1295
1295
|
}],
|
|
1296
1296
|
/**
|
|
1297
1297
|
* Width
|
|
1298
1298
|
* @see https://tailwindcss.com/docs/width
|
|
1299
1299
|
*/
|
|
1300
1300
|
w: [{
|
|
1301
|
-
w: [b, "screen", ...
|
|
1301
|
+
w: [b, "screen", ...j()]
|
|
1302
1302
|
}],
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Min-Width
|
|
@@ -1310,7 +1310,7 @@ const R = (e) => {
|
|
|
1310
1310
|
"screen",
|
|
1311
1311
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1312
1312
|
"none",
|
|
1313
|
-
...
|
|
1313
|
+
...j()
|
|
1314
1314
|
]
|
|
1315
1315
|
}],
|
|
1316
1316
|
/**
|
|
@@ -1328,7 +1328,7 @@ const R = (e) => {
|
|
|
1328
1328
|
{
|
|
1329
1329
|
screen: [c]
|
|
1330
1330
|
},
|
|
1331
|
-
...
|
|
1331
|
+
...j()
|
|
1332
1332
|
]
|
|
1333
1333
|
}],
|
|
1334
1334
|
/**
|
|
@@ -1336,21 +1336,21 @@ const R = (e) => {
|
|
|
1336
1336
|
* @see https://tailwindcss.com/docs/height
|
|
1337
1337
|
*/
|
|
1338
1338
|
h: [{
|
|
1339
|
-
h: ["screen", "lh", ...
|
|
1339
|
+
h: ["screen", "lh", ...j()]
|
|
1340
1340
|
}],
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Min-Height
|
|
1343
1343
|
* @see https://tailwindcss.com/docs/min-height
|
|
1344
1344
|
*/
|
|
1345
1345
|
"min-h": [{
|
|
1346
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1346
|
+
"min-h": ["screen", "lh", "none", ...j()]
|
|
1347
1347
|
}],
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Max-Height
|
|
1350
1350
|
* @see https://tailwindcss.com/docs/max-height
|
|
1351
1351
|
*/
|
|
1352
1352
|
"max-h": [{
|
|
1353
|
-
"max-h": ["screen", "lh", ...
|
|
1353
|
+
"max-h": ["screen", "lh", ...j()]
|
|
1354
1354
|
}],
|
|
1355
1355
|
// ------------------
|
|
1356
1356
|
// --- Typography ---
|
|
@@ -1360,7 +1360,7 @@ const R = (e) => {
|
|
|
1360
1360
|
* @see https://tailwindcss.com/docs/font-size
|
|
1361
1361
|
*/
|
|
1362
1362
|
"font-size": [{
|
|
1363
|
-
text: ["base", o, ne,
|
|
1363
|
+
text: ["base", o, ne, D]
|
|
1364
1364
|
}],
|
|
1365
1365
|
/**
|
|
1366
1366
|
* Font Smoothing
|
|
@@ -1391,7 +1391,7 @@ const R = (e) => {
|
|
|
1391
1391
|
* @see https://tailwindcss.com/docs/font-family
|
|
1392
1392
|
*/
|
|
1393
1393
|
"font-family": [{
|
|
1394
|
-
font: [
|
|
1394
|
+
font: [vr, s, n]
|
|
1395
1395
|
}],
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Font Variant Numeric
|
|
@@ -1508,7 +1508,7 @@ const R = (e) => {
|
|
|
1508
1508
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1509
1509
|
*/
|
|
1510
1510
|
"text-decoration-thickness": [{
|
|
1511
|
-
decoration: [p, "from-font", "auto", a,
|
|
1511
|
+
decoration: [p, "from-font", "auto", a, D]
|
|
1512
1512
|
}],
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Text Decoration Color
|
|
@@ -1646,7 +1646,7 @@ const R = (e) => {
|
|
|
1646
1646
|
}, W, a, s],
|
|
1647
1647
|
radial: ["", a, s],
|
|
1648
1648
|
conic: [W, a, s]
|
|
1649
|
-
},
|
|
1649
|
+
}, wr, xr]
|
|
1650
1650
|
}],
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Background Color
|
|
@@ -1995,7 +1995,7 @@ const R = (e) => {
|
|
|
1995
1995
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1996
1996
|
*/
|
|
1997
1997
|
"outline-w": [{
|
|
1998
|
-
outline: ["", p, ne,
|
|
1998
|
+
outline: ["", p, ne, D]
|
|
1999
1999
|
}],
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Outline Color
|
|
@@ -2070,7 +2070,7 @@ const R = (e) => {
|
|
|
2070
2070
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2071
2071
|
*/
|
|
2072
2072
|
"ring-offset-w": [{
|
|
2073
|
-
"ring-offset": [p,
|
|
2073
|
+
"ring-offset": [p, D]
|
|
2074
2074
|
}],
|
|
2075
2075
|
/**
|
|
2076
2076
|
* Ring Offset Color
|
|
@@ -2152,10 +2152,10 @@ const R = (e) => {
|
|
|
2152
2152
|
"mask-linear": [p]
|
|
2153
2153
|
}],
|
|
2154
2154
|
"mask-image-linear-from-pos": [{
|
|
2155
|
-
"mask-linear-from":
|
|
2155
|
+
"mask-linear-from": w()
|
|
2156
2156
|
}],
|
|
2157
2157
|
"mask-image-linear-to-pos": [{
|
|
2158
|
-
"mask-linear-to":
|
|
2158
|
+
"mask-linear-to": w()
|
|
2159
2159
|
}],
|
|
2160
2160
|
"mask-image-linear-from-color": [{
|
|
2161
2161
|
"mask-linear-from": d()
|
|
@@ -2164,10 +2164,10 @@ const R = (e) => {
|
|
|
2164
2164
|
"mask-linear-to": d()
|
|
2165
2165
|
}],
|
|
2166
2166
|
"mask-image-t-from-pos": [{
|
|
2167
|
-
"mask-t-from":
|
|
2167
|
+
"mask-t-from": w()
|
|
2168
2168
|
}],
|
|
2169
2169
|
"mask-image-t-to-pos": [{
|
|
2170
|
-
"mask-t-to":
|
|
2170
|
+
"mask-t-to": w()
|
|
2171
2171
|
}],
|
|
2172
2172
|
"mask-image-t-from-color": [{
|
|
2173
2173
|
"mask-t-from": d()
|
|
@@ -2176,10 +2176,10 @@ const R = (e) => {
|
|
|
2176
2176
|
"mask-t-to": d()
|
|
2177
2177
|
}],
|
|
2178
2178
|
"mask-image-r-from-pos": [{
|
|
2179
|
-
"mask-r-from":
|
|
2179
|
+
"mask-r-from": w()
|
|
2180
2180
|
}],
|
|
2181
2181
|
"mask-image-r-to-pos": [{
|
|
2182
|
-
"mask-r-to":
|
|
2182
|
+
"mask-r-to": w()
|
|
2183
2183
|
}],
|
|
2184
2184
|
"mask-image-r-from-color": [{
|
|
2185
2185
|
"mask-r-from": d()
|
|
@@ -2188,10 +2188,10 @@ const R = (e) => {
|
|
|
2188
2188
|
"mask-r-to": d()
|
|
2189
2189
|
}],
|
|
2190
2190
|
"mask-image-b-from-pos": [{
|
|
2191
|
-
"mask-b-from":
|
|
2191
|
+
"mask-b-from": w()
|
|
2192
2192
|
}],
|
|
2193
2193
|
"mask-image-b-to-pos": [{
|
|
2194
|
-
"mask-b-to":
|
|
2194
|
+
"mask-b-to": w()
|
|
2195
2195
|
}],
|
|
2196
2196
|
"mask-image-b-from-color": [{
|
|
2197
2197
|
"mask-b-from": d()
|
|
@@ -2200,10 +2200,10 @@ const R = (e) => {
|
|
|
2200
2200
|
"mask-b-to": d()
|
|
2201
2201
|
}],
|
|
2202
2202
|
"mask-image-l-from-pos": [{
|
|
2203
|
-
"mask-l-from":
|
|
2203
|
+
"mask-l-from": w()
|
|
2204
2204
|
}],
|
|
2205
2205
|
"mask-image-l-to-pos": [{
|
|
2206
|
-
"mask-l-to":
|
|
2206
|
+
"mask-l-to": w()
|
|
2207
2207
|
}],
|
|
2208
2208
|
"mask-image-l-from-color": [{
|
|
2209
2209
|
"mask-l-from": d()
|
|
@@ -2212,10 +2212,10 @@ const R = (e) => {
|
|
|
2212
2212
|
"mask-l-to": d()
|
|
2213
2213
|
}],
|
|
2214
2214
|
"mask-image-x-from-pos": [{
|
|
2215
|
-
"mask-x-from":
|
|
2215
|
+
"mask-x-from": w()
|
|
2216
2216
|
}],
|
|
2217
2217
|
"mask-image-x-to-pos": [{
|
|
2218
|
-
"mask-x-to":
|
|
2218
|
+
"mask-x-to": w()
|
|
2219
2219
|
}],
|
|
2220
2220
|
"mask-image-x-from-color": [{
|
|
2221
2221
|
"mask-x-from": d()
|
|
@@ -2224,10 +2224,10 @@ const R = (e) => {
|
|
|
2224
2224
|
"mask-x-to": d()
|
|
2225
2225
|
}],
|
|
2226
2226
|
"mask-image-y-from-pos": [{
|
|
2227
|
-
"mask-y-from":
|
|
2227
|
+
"mask-y-from": w()
|
|
2228
2228
|
}],
|
|
2229
2229
|
"mask-image-y-to-pos": [{
|
|
2230
|
-
"mask-y-to":
|
|
2230
|
+
"mask-y-to": w()
|
|
2231
2231
|
}],
|
|
2232
2232
|
"mask-image-y-from-color": [{
|
|
2233
2233
|
"mask-y-from": d()
|
|
@@ -2239,10 +2239,10 @@ const R = (e) => {
|
|
|
2239
2239
|
"mask-radial": [a, s]
|
|
2240
2240
|
}],
|
|
2241
2241
|
"mask-image-radial-from-pos": [{
|
|
2242
|
-
"mask-radial-from":
|
|
2242
|
+
"mask-radial-from": w()
|
|
2243
2243
|
}],
|
|
2244
2244
|
"mask-image-radial-to-pos": [{
|
|
2245
|
-
"mask-radial-to":
|
|
2245
|
+
"mask-radial-to": w()
|
|
2246
2246
|
}],
|
|
2247
2247
|
"mask-image-radial-from-color": [{
|
|
2248
2248
|
"mask-radial-from": d()
|
|
@@ -2266,10 +2266,10 @@ const R = (e) => {
|
|
|
2266
2266
|
"mask-conic": [p]
|
|
2267
2267
|
}],
|
|
2268
2268
|
"mask-image-conic-from-pos": [{
|
|
2269
|
-
"mask-conic-from":
|
|
2269
|
+
"mask-conic-from": w()
|
|
2270
2270
|
}],
|
|
2271
2271
|
"mask-image-conic-to-pos": [{
|
|
2272
|
-
"mask-conic-to":
|
|
2272
|
+
"mask-conic-to": w()
|
|
2273
2273
|
}],
|
|
2274
2274
|
"mask-image-conic-from-color": [{
|
|
2275
2275
|
"mask-conic-from": d()
|
|
@@ -2347,7 +2347,7 @@ const R = (e) => {
|
|
|
2347
2347
|
* @see https://tailwindcss.com/docs/blur
|
|
2348
2348
|
*/
|
|
2349
2349
|
blur: [{
|
|
2350
|
-
blur:
|
|
2350
|
+
blur: k()
|
|
2351
2351
|
}],
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Brightness
|
|
@@ -2372,7 +2372,7 @@ const R = (e) => {
|
|
|
2372
2372
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2373
2373
|
"",
|
|
2374
2374
|
"none",
|
|
2375
|
-
|
|
2375
|
+
N,
|
|
2376
2376
|
de,
|
|
2377
2377
|
ce
|
|
2378
2378
|
]
|
|
@@ -2437,7 +2437,7 @@ const R = (e) => {
|
|
|
2437
2437
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2438
2438
|
*/
|
|
2439
2439
|
"backdrop-blur": [{
|
|
2440
|
-
"backdrop-blur":
|
|
2440
|
+
"backdrop-blur": k()
|
|
2441
2441
|
}],
|
|
2442
2442
|
/**
|
|
2443
2443
|
* Backdrop Brightness
|
|
@@ -2569,7 +2569,7 @@ const R = (e) => {
|
|
|
2569
2569
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2570
2570
|
*/
|
|
2571
2571
|
ease: [{
|
|
2572
|
-
ease: ["linear", "initial",
|
|
2572
|
+
ease: ["linear", "initial", M, a, s]
|
|
2573
2573
|
}],
|
|
2574
2574
|
/**
|
|
2575
2575
|
* Transition Delay
|
|
@@ -3020,7 +3020,7 @@ const R = (e) => {
|
|
|
3020
3020
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3021
3021
|
*/
|
|
3022
3022
|
"stroke-w": [{
|
|
3023
|
-
stroke: [p, ne,
|
|
3023
|
+
stroke: [p, ne, D, me]
|
|
3024
3024
|
}],
|
|
3025
3025
|
/**
|
|
3026
3026
|
* Stroke
|
|
@@ -3095,11 +3095,11 @@ const R = (e) => {
|
|
|
3095
3095
|
},
|
|
3096
3096
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3097
3097
|
};
|
|
3098
|
-
},
|
|
3099
|
-
function
|
|
3100
|
-
return
|
|
3098
|
+
}, Ar = /* @__PURE__ */ sr(Er);
|
|
3099
|
+
function Fe(...e) {
|
|
3100
|
+
return Ar(_e(e));
|
|
3101
3101
|
}
|
|
3102
|
-
const Sr =
|
|
3102
|
+
const Sr = Pe(
|
|
3103
3103
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
3104
3104
|
{
|
|
3105
3105
|
variants: {
|
|
@@ -3125,23 +3125,53 @@ const Sr = Ue(
|
|
|
3125
3125
|
size: "default"
|
|
3126
3126
|
}
|
|
3127
3127
|
}
|
|
3128
|
-
), Tr =
|
|
3129
|
-
({ className: e, variant: n, size: o, ...t }, i) => /* @__PURE__ */
|
|
3128
|
+
), Tr = $e.forwardRef(
|
|
3129
|
+
({ className: e, variant: n, size: o, ...t }, i) => /* @__PURE__ */ Se.jsx(
|
|
3130
3130
|
"button",
|
|
3131
3131
|
{
|
|
3132
|
-
className:
|
|
3132
|
+
className: Fe(Sr({ variant: n, size: o, className: e })),
|
|
3133
3133
|
ref: i,
|
|
3134
3134
|
...t
|
|
3135
3135
|
}
|
|
3136
3136
|
)
|
|
3137
3137
|
);
|
|
3138
3138
|
Tr.displayName = "Button";
|
|
3139
|
+
const _r = Pe(
|
|
3140
|
+
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-background px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
3141
|
+
{
|
|
3142
|
+
variants: {
|
|
3143
|
+
variant: {
|
|
3144
|
+
default: "bg-background border-input text-foreground placeholder:text-muted-foreground",
|
|
3145
|
+
secondary: "bg-secondary border-secondary text-secondary-foreground placeholder:text-muted-foreground",
|
|
3146
|
+
accent: "bg-accent border-accent text-accent-foreground placeholder:text-muted-foreground",
|
|
3147
|
+
success: "bg-[var(--color-qodo-success)] border-[var(--color-qodo-success)] text-white placeholder:text-white/70",
|
|
3148
|
+
warning: "bg-[var(--color-qodo-warning)] border-[var(--color-qodo-warning)] text-black placeholder:text-black/70",
|
|
3149
|
+
destructive: "bg-destructive border-destructive text-destructive-foreground placeholder:text-destructive-foreground/70"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
defaultVariants: {
|
|
3153
|
+
variant: "default"
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
);
|
|
3157
|
+
function jr({ className: e, variant: n, type: o, ...t }) {
|
|
3158
|
+
return /* @__PURE__ */ Se.jsx(
|
|
3159
|
+
"input",
|
|
3160
|
+
{
|
|
3161
|
+
type: o,
|
|
3162
|
+
"data-slot": "input",
|
|
3163
|
+
className: Fe(_r({ variant: n, className: e })),
|
|
3164
|
+
...t
|
|
3165
|
+
}
|
|
3166
|
+
);
|
|
3167
|
+
}
|
|
3139
3168
|
export {
|
|
3140
3169
|
Tr as Button,
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
Cr as
|
|
3145
|
-
|
|
3170
|
+
jr as Input,
|
|
3171
|
+
Or as borderRadius,
|
|
3172
|
+
Fe as cn,
|
|
3173
|
+
Cr as colors,
|
|
3174
|
+
zr as spacing,
|
|
3175
|
+
Nr as typography
|
|
3146
3176
|
};
|
|
3147
3177
|
//# sourceMappingURL=index.esm.js.map
|