@clasing/ui 0.0.2 → 0.0.4
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/index.es.js +114 -114
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -16,14 +16,14 @@ function Gt() {
|
|
|
16
16
|
return ue;
|
|
17
17
|
Qe = 1;
|
|
18
18
|
var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
-
function s(c,
|
|
19
|
+
function s(c, b, d) {
|
|
20
20
|
var g, h = {}, S = null, P = null;
|
|
21
|
-
d !== void 0 && (S = "" + d),
|
|
22
|
-
for (g in
|
|
23
|
-
o.call(
|
|
21
|
+
d !== void 0 && (S = "" + d), b.key !== void 0 && (S = "" + b.key), b.ref !== void 0 && (P = b.ref);
|
|
22
|
+
for (g in b)
|
|
23
|
+
o.call(b, g) && !a.hasOwnProperty(g) && (h[g] = b[g]);
|
|
24
24
|
if (c && c.defaultProps)
|
|
25
|
-
for (g in
|
|
26
|
-
h[g] === void 0 && (h[g] =
|
|
25
|
+
for (g in b = c.defaultProps, b)
|
|
26
|
+
h[g] === void 0 && (h[g] = b[g]);
|
|
27
27
|
return { $$typeof: r, type: c, key: S, ref: P, props: h, _owner: u.current };
|
|
28
28
|
}
|
|
29
29
|
return ue.Fragment = n, ue.jsx = s, ue.jsxs = s, ue;
|
|
@@ -41,7 +41,7 @@ var ce = {};
|
|
|
41
41
|
var et;
|
|
42
42
|
function Bt() {
|
|
43
43
|
return et || (et = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"),
|
|
44
|
+
var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), V = Symbol.iterator, R = "@@iterator";
|
|
45
45
|
function j(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
@@ -51,14 +51,14 @@ function Bt() {
|
|
|
51
51
|
var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function k(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0),
|
|
55
|
-
l[
|
|
56
|
-
|
|
54
|
+
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), f = 1; f < i; f++)
|
|
55
|
+
l[f - 1] = arguments[f];
|
|
56
|
+
be("error", e, l);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function be(e, i, l) {
|
|
60
60
|
{
|
|
61
|
-
var
|
|
61
|
+
var f = O.ReactDebugCurrentFrame, x = f.getStackAddendum();
|
|
62
62
|
x !== "" && (i += "%s", l = l.concat([x]));
|
|
63
63
|
var w = l.map(function(v) {
|
|
64
64
|
return String(v);
|
|
@@ -69,16 +69,16 @@ function Bt() {
|
|
|
69
69
|
var re = !1, ge = !1, pe = !1, me = !1, ve = !1, H;
|
|
70
70
|
H = Symbol.for("react.module.reference");
|
|
71
71
|
function ne(e) {
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e === a || ve || e === u || e === d || e === g || me || e === P || re || ge || pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === h || e.$$typeof === s || e.$$typeof === c || e.$$typeof ===
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === a || ve || e === u || e === d || e === g || me || e === P || re || ge || pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === h || e.$$typeof === s || e.$$typeof === c || e.$$typeof === b || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
e.$$typeof === H || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
78
|
function oe(e, i, l) {
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
79
|
+
var f = e.displayName;
|
|
80
|
+
if (f)
|
|
81
|
+
return f;
|
|
82
82
|
var x = i.displayName || i.name || "";
|
|
83
83
|
return x !== "" ? l + "(" + x + ")" : l;
|
|
84
84
|
}
|
|
@@ -114,11 +114,11 @@ function Bt() {
|
|
|
114
114
|
case s:
|
|
115
115
|
var l = e;
|
|
116
116
|
return y(l._context) + ".Provider";
|
|
117
|
-
case
|
|
117
|
+
case b:
|
|
118
118
|
return oe(e, e.render, "ForwardRef");
|
|
119
119
|
case h:
|
|
120
|
-
var
|
|
121
|
-
return
|
|
120
|
+
var f = e.displayName || null;
|
|
121
|
+
return f !== null ? f : z(e.type) || "Memo";
|
|
122
122
|
case S: {
|
|
123
123
|
var x = e, w = x._payload, v = x._init;
|
|
124
124
|
try {
|
|
@@ -199,8 +199,8 @@ function Bt() {
|
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
201
|
} catch (x) {
|
|
202
|
-
var
|
|
203
|
-
Se =
|
|
202
|
+
var f = x.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
Se = f && f[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
206
|
` + Se + e;
|
|
@@ -219,7 +219,7 @@ function Bt() {
|
|
|
219
219
|
if (l !== void 0)
|
|
220
220
|
return l;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var f;
|
|
223
223
|
Re = !0;
|
|
224
224
|
var x = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
@@ -238,14 +238,14 @@ function Bt() {
|
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(v, []);
|
|
240
240
|
} catch (I) {
|
|
241
|
-
|
|
241
|
+
f = I;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(e, [], v);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
v.call();
|
|
247
247
|
} catch (I) {
|
|
248
|
-
|
|
248
|
+
f = I;
|
|
249
249
|
}
|
|
250
250
|
e.call(v.prototype);
|
|
251
251
|
}
|
|
@@ -253,14 +253,14 @@ function Bt() {
|
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
255
|
} catch (I) {
|
|
256
|
-
|
|
256
|
+
f = I;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
260
|
} catch (I) {
|
|
261
|
-
if (I &&
|
|
261
|
+
if (I && f && typeof I.stack == "string") {
|
|
262
262
|
for (var m = I.stack.split(`
|
|
263
|
-
`), A =
|
|
263
|
+
`), A = f.stack.split(`
|
|
264
264
|
`), _ = m.length - 1, T = A.length - 1; _ >= 1 && T >= 0 && m[_] !== A[T]; )
|
|
265
265
|
T--;
|
|
266
266
|
for (; _ >= 1 && T >= 0; _--, T--)
|
|
@@ -304,12 +304,12 @@ function Bt() {
|
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
307
|
+
case b:
|
|
308
308
|
return ht(e.render);
|
|
309
309
|
case h:
|
|
310
310
|
return ye(e.type, i, l);
|
|
311
311
|
case S: {
|
|
312
|
-
var
|
|
312
|
+
var f = e, x = f._payload, w = f._init;
|
|
313
313
|
try {
|
|
314
314
|
return ye(w(x), i, l);
|
|
315
315
|
} catch {
|
|
@@ -326,7 +326,7 @@ function Bt() {
|
|
|
326
326
|
} else
|
|
327
327
|
We.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function yt(e, i, l,
|
|
329
|
+
function yt(e, i, l, f, x) {
|
|
330
330
|
{
|
|
331
331
|
var w = Function.call.bind(le);
|
|
332
332
|
for (var v in e)
|
|
@@ -334,14 +334,14 @@ function Bt() {
|
|
|
334
334
|
var m = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[v] != "function") {
|
|
337
|
-
var A = Error((
|
|
337
|
+
var A = Error((f || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw A.name = "Invariant Violation", A;
|
|
339
339
|
}
|
|
340
|
-
m = e[v](i, v,
|
|
340
|
+
m = e[v](i, v, f, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (_) {
|
|
342
342
|
m = _;
|
|
343
343
|
}
|
|
344
|
-
m && !(m instanceof Error) && (we(x), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
344
|
+
m && !(m instanceof Error) && (we(x), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", l, v, typeof m), we(null)), m instanceof Error && !(m.message in Ne) && (Ne[m.message] = !0, we(x), k("Failed %s type: %s", l, m.message), we(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -420,7 +420,7 @@ function Bt() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var Pt = function(e, i, l,
|
|
423
|
+
var Pt = function(e, i, l, f, x, w, v) {
|
|
424
424
|
var m = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: r,
|
|
@@ -441,7 +441,7 @@ function Bt() {
|
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
444
|
+
value: f
|
|
445
445
|
}), Object.defineProperty(m, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
@@ -449,7 +449,7 @@ function Bt() {
|
|
|
449
449
|
value: x
|
|
450
450
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
451
451
|
};
|
|
452
|
-
function Ot(e, i, l,
|
|
452
|
+
function Ot(e, i, l, f, x) {
|
|
453
453
|
{
|
|
454
454
|
var w, v = {}, m = null, A = null;
|
|
455
455
|
l !== void 0 && (Ge(l), m = "" + l), Ct(i) && (Ge(i.key), m = "" + i.key), Rt(i) && (A = i.ref, _t(i, x));
|
|
@@ -464,7 +464,7 @@ function Bt() {
|
|
|
464
464
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
465
|
m && jt(v, T), A && Tt(v, T);
|
|
466
466
|
}
|
|
467
|
-
return Pt(e, m, A, x,
|
|
467
|
+
return Pt(e, m, A, x, f, se.current, v);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var je = O.ReactCurrentOwner, Ue = O.ReactDebugCurrentFrame;
|
|
@@ -517,8 +517,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
517
517
|
if (qe[l])
|
|
518
518
|
return;
|
|
519
519
|
qe[l] = !0;
|
|
520
|
-
var
|
|
521
|
-
e && e._owner && e._owner !== je.current && (
|
|
520
|
+
var f = "";
|
|
521
|
+
e && e._owner && e._owner !== je.current && (f = " It was passed a child from " + z(e._owner.type) + "."), Q(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, f), Q(null);
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
function Ke(e, i) {
|
|
@@ -527,8 +527,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
527
527
|
return;
|
|
528
528
|
if (Ce(e))
|
|
529
529
|
for (var l = 0; l < e.length; l++) {
|
|
530
|
-
var
|
|
531
|
-
Pe(
|
|
530
|
+
var f = e[l];
|
|
531
|
+
Pe(f) && Je(f, i);
|
|
532
532
|
}
|
|
533
533
|
else if (Pe(e))
|
|
534
534
|
e._store && (e._store.validated = !0);
|
|
@@ -548,15 +548,15 @@ Check the top-level render call using <` + l + ">.");
|
|
|
548
548
|
var l;
|
|
549
549
|
if (typeof i == "function")
|
|
550
550
|
l = i.propTypes;
|
|
551
|
-
else if (typeof i == "object" && (i.$$typeof ===
|
|
551
|
+
else if (typeof i == "object" && (i.$$typeof === b || // Note: Memo only checks outer props here.
|
|
552
552
|
// Inner props are checked in the reconciler.
|
|
553
553
|
i.$$typeof === h))
|
|
554
554
|
l = i.propTypes;
|
|
555
555
|
else
|
|
556
556
|
return;
|
|
557
557
|
if (l) {
|
|
558
|
-
var
|
|
559
|
-
yt(l, e.props, "prop",
|
|
558
|
+
var f = z(i);
|
|
559
|
+
yt(l, e.props, "prop", f, e);
|
|
560
560
|
} else if (i.PropTypes !== void 0 && !Te) {
|
|
561
561
|
Te = !0;
|
|
562
562
|
var x = z(i);
|
|
@@ -568,9 +568,9 @@ Check the top-level render call using <` + l + ">.");
|
|
|
568
568
|
function Mt(e) {
|
|
569
569
|
{
|
|
570
570
|
for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
Q(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
571
|
+
var f = i[l];
|
|
572
|
+
if (f !== "children" && f !== "key") {
|
|
573
|
+
Q(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), Q(null);
|
|
574
574
|
break;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
@@ -578,7 +578,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
var Xe = {};
|
|
581
|
-
function He(e, i, l,
|
|
581
|
+
function He(e, i, l, f, x, w) {
|
|
582
582
|
{
|
|
583
583
|
var v = ne(e);
|
|
584
584
|
if (!v) {
|
|
@@ -595,7 +595,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
595
595
|
if (v) {
|
|
596
596
|
var F = i.children;
|
|
597
597
|
if (F !== void 0)
|
|
598
|
-
if (
|
|
598
|
+
if (f)
|
|
599
599
|
if (Ce(F)) {
|
|
600
600
|
for (var ee = 0; ee < F.length; ee++)
|
|
601
601
|
Ke(F[ee], e);
|
|
@@ -664,8 +664,8 @@ function Ut(t) {
|
|
|
664
664
|
return c[0] === "" && c.length !== 1 && c.shift(), st(c, r) || Lt(s);
|
|
665
665
|
}
|
|
666
666
|
function a(s, c) {
|
|
667
|
-
const
|
|
668
|
-
return c && o[s] ? [...
|
|
667
|
+
const b = n[s] || [];
|
|
668
|
+
return c && o[s] ? [...b, ...o[s]] : b;
|
|
669
669
|
}
|
|
670
670
|
return {
|
|
671
671
|
getClassGroupId: u,
|
|
@@ -777,10 +777,10 @@ function Ht(t) {
|
|
|
777
777
|
const r = t.separator, n = r.length === 1, o = r[0], u = r.length;
|
|
778
778
|
return function(s) {
|
|
779
779
|
const c = [];
|
|
780
|
-
let
|
|
780
|
+
let b = 0, d = 0, g;
|
|
781
781
|
for (let R = 0; R < s.length; R++) {
|
|
782
782
|
let j = s[R];
|
|
783
|
-
if (
|
|
783
|
+
if (b === 0) {
|
|
784
784
|
if (j === o && (n || s.slice(R, R + u) === r)) {
|
|
785
785
|
c.push(s.slice(d, R)), d = R + u;
|
|
786
786
|
continue;
|
|
@@ -790,7 +790,7 @@ function Ht(t) {
|
|
|
790
790
|
continue;
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
j === "[" ?
|
|
793
|
+
j === "[" ? b++ : j === "]" && b--;
|
|
794
794
|
}
|
|
795
795
|
const h = c.length === 0 ? s : s.substring(d), S = h.startsWith(ut), P = S ? h.substring(1) : h, V = g && g > d ? g - d : void 0;
|
|
796
796
|
return {
|
|
@@ -827,7 +827,7 @@ function tr(t, r) {
|
|
|
827
827
|
return t.trim().split(er).map((s) => {
|
|
828
828
|
const {
|
|
829
829
|
modifiers: c,
|
|
830
|
-
hasImportantModifier:
|
|
830
|
+
hasImportantModifier: b,
|
|
831
831
|
baseClassName: d,
|
|
832
832
|
maybePostfixModifierPosition: g
|
|
833
833
|
} = n(s);
|
|
@@ -848,7 +848,7 @@ function tr(t, r) {
|
|
|
848
848
|
const P = Zt(c).join(":");
|
|
849
849
|
return {
|
|
850
850
|
isTailwindClass: !0,
|
|
851
|
-
modifierId:
|
|
851
|
+
modifierId: b ? P + ut : P,
|
|
852
852
|
classGroupId: h,
|
|
853
853
|
originalClassName: s,
|
|
854
854
|
hasPostfixModifier: S
|
|
@@ -858,10 +858,10 @@ function tr(t, r) {
|
|
|
858
858
|
return !0;
|
|
859
859
|
const {
|
|
860
860
|
modifierId: c,
|
|
861
|
-
classGroupId:
|
|
861
|
+
classGroupId: b,
|
|
862
862
|
hasPostfixModifier: d
|
|
863
|
-
} = s, g = c +
|
|
864
|
-
return a.has(g) ? !1 : (a.add(g), u(
|
|
863
|
+
} = s, g = c + b;
|
|
864
|
+
return a.has(g) ? !1 : (a.add(g), u(b, d).forEach((h) => a.add(c + h)), !0);
|
|
865
865
|
}).reverse().map((s) => s.originalClassName).join(" ");
|
|
866
866
|
}
|
|
867
867
|
function rr() {
|
|
@@ -880,16 +880,16 @@ function ct(t) {
|
|
|
880
880
|
}
|
|
881
881
|
function nr(t, ...r) {
|
|
882
882
|
let n, o, u, a = s;
|
|
883
|
-
function s(
|
|
883
|
+
function s(b) {
|
|
884
884
|
const d = r.reduce((g, h) => h(g), t());
|
|
885
|
-
return n = Qt(d), o = n.cache.get, u = n.cache.set, a = c, c(
|
|
885
|
+
return n = Qt(d), o = n.cache.get, u = n.cache.set, a = c, c(b);
|
|
886
886
|
}
|
|
887
|
-
function c(
|
|
888
|
-
const d = o(
|
|
887
|
+
function c(b) {
|
|
888
|
+
const d = o(b);
|
|
889
889
|
if (d)
|
|
890
890
|
return d;
|
|
891
|
-
const g = tr(
|
|
892
|
-
return u(
|
|
891
|
+
const g = tr(b, n);
|
|
892
|
+
return u(b, g), g;
|
|
893
893
|
}
|
|
894
894
|
return function() {
|
|
895
895
|
return a(rr.apply(null, arguments));
|
|
@@ -924,12 +924,12 @@ function p(t) {
|
|
|
924
924
|
function Y(t) {
|
|
925
925
|
return ar.test(t);
|
|
926
926
|
}
|
|
927
|
-
const
|
|
928
|
-
function
|
|
929
|
-
return te(t,
|
|
927
|
+
const fr = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
928
|
+
function br(t) {
|
|
929
|
+
return te(t, fr, ft);
|
|
930
930
|
}
|
|
931
931
|
function gr(t) {
|
|
932
|
-
return te(t, "position",
|
|
932
|
+
return te(t, "position", ft);
|
|
933
933
|
}
|
|
934
934
|
const pr = /* @__PURE__ */ new Set(["image", "url"]);
|
|
935
935
|
function mr(t) {
|
|
@@ -938,7 +938,7 @@ function mr(t) {
|
|
|
938
938
|
function vr(t) {
|
|
939
939
|
return te(t, "", xr);
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function fe() {
|
|
942
942
|
return !0;
|
|
943
943
|
}
|
|
944
944
|
function te(t, r, n) {
|
|
@@ -948,7 +948,7 @@ function te(t, r, n) {
|
|
|
948
948
|
function hr(t) {
|
|
949
949
|
return lr.test(t) && !sr.test(t);
|
|
950
950
|
}
|
|
951
|
-
function
|
|
951
|
+
function ft() {
|
|
952
952
|
return !1;
|
|
953
953
|
}
|
|
954
954
|
function xr(t) {
|
|
@@ -958,12 +958,12 @@ function yr(t) {
|
|
|
958
958
|
return cr.test(t);
|
|
959
959
|
}
|
|
960
960
|
function wr() {
|
|
961
|
-
const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), u = E("borderColor"), a = E("borderRadius"), s = E("borderSpacing"), c = E("borderWidth"),
|
|
961
|
+
const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), u = E("borderColor"), a = E("borderRadius"), s = E("borderSpacing"), c = E("borderWidth"), b = E("contrast"), d = E("grayscale"), g = E("hueRotate"), h = E("invert"), S = E("gap"), P = E("gradientColorStops"), V = E("gradientColorStopPositions"), R = E("inset"), j = E("margin"), O = E("opacity"), k = E("padding"), be = E("saturate"), re = E("scale"), ge = E("sepia"), pe = E("skew"), me = E("space"), ve = E("translate"), H = () => ["auto", "contain", "none"], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, r], y = () => [p, r], z = () => ["", N, B], M = () => ["auto", J, p], W = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], D = () => ["", "0", p], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [J, ke], L = () => [J, p];
|
|
962
962
|
return {
|
|
963
963
|
cacheSize: 500,
|
|
964
964
|
separator: ":",
|
|
965
965
|
theme: {
|
|
966
|
-
colors: [
|
|
966
|
+
colors: [fe],
|
|
967
967
|
spacing: [N, B],
|
|
968
968
|
blur: ["none", "", Y, p],
|
|
969
969
|
brightness: G(),
|
|
@@ -1260,7 +1260,7 @@ function wr() {
|
|
|
1260
1260
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1261
1261
|
*/
|
|
1262
1262
|
"grid-cols": [{
|
|
1263
|
-
"grid-cols": [
|
|
1263
|
+
"grid-cols": [fe]
|
|
1264
1264
|
}],
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Grid Column Start / End
|
|
@@ -1290,7 +1290,7 @@ function wr() {
|
|
|
1290
1290
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1291
1291
|
*/
|
|
1292
1292
|
"grid-rows": [{
|
|
1293
|
-
"grid-rows": [
|
|
1293
|
+
"grid-rows": [fe]
|
|
1294
1294
|
}],
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Grid Row Start / End
|
|
@@ -1653,7 +1653,7 @@ function wr() {
|
|
|
1653
1653
|
* @see https://tailwindcss.com/docs/font-family
|
|
1654
1654
|
*/
|
|
1655
1655
|
"font-family": [{
|
|
1656
|
-
font: [
|
|
1656
|
+
font: [fe]
|
|
1657
1657
|
}],
|
|
1658
1658
|
/**
|
|
1659
1659
|
* Font Variant Numeric
|
|
@@ -1906,7 +1906,7 @@ function wr() {
|
|
|
1906
1906
|
* @see https://tailwindcss.com/docs/background-size
|
|
1907
1907
|
*/
|
|
1908
1908
|
"bg-size": [{
|
|
1909
|
-
bg: ["auto", "cover", "contain",
|
|
1909
|
+
bg: ["auto", "cover", "contain", br]
|
|
1910
1910
|
}],
|
|
1911
1911
|
/**
|
|
1912
1912
|
* Background Image
|
|
@@ -2324,7 +2324,7 @@ function wr() {
|
|
|
2324
2324
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2325
2325
|
*/
|
|
2326
2326
|
"shadow-color": [{
|
|
2327
|
-
shadow: [
|
|
2327
|
+
shadow: [fe]
|
|
2328
2328
|
}],
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Opacity
|
|
@@ -2375,7 +2375,7 @@ function wr() {
|
|
|
2375
2375
|
* @see https://tailwindcss.com/docs/contrast
|
|
2376
2376
|
*/
|
|
2377
2377
|
contrast: [{
|
|
2378
|
-
contrast: [
|
|
2378
|
+
contrast: [b]
|
|
2379
2379
|
}],
|
|
2380
2380
|
/**
|
|
2381
2381
|
* Drop Shadow
|
|
@@ -2410,7 +2410,7 @@ function wr() {
|
|
|
2410
2410
|
* @see https://tailwindcss.com/docs/saturate
|
|
2411
2411
|
*/
|
|
2412
2412
|
saturate: [{
|
|
2413
|
-
saturate: [
|
|
2413
|
+
saturate: [be]
|
|
2414
2414
|
}],
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Sepia
|
|
@@ -2446,7 +2446,7 @@ function wr() {
|
|
|
2446
2446
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2447
2447
|
*/
|
|
2448
2448
|
"backdrop-contrast": [{
|
|
2449
|
-
"backdrop-contrast": [
|
|
2449
|
+
"backdrop-contrast": [b]
|
|
2450
2450
|
}],
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Backdrop Grayscale
|
|
@@ -2481,7 +2481,7 @@ function wr() {
|
|
|
2481
2481
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2482
2482
|
*/
|
|
2483
2483
|
"backdrop-saturate": [{
|
|
2484
|
-
"backdrop-saturate": [
|
|
2484
|
+
"backdrop-saturate": [be]
|
|
2485
2485
|
}],
|
|
2486
2486
|
/**
|
|
2487
2487
|
* Backdrop Sepia
|
|
@@ -2974,14 +2974,14 @@ function wr() {
|
|
|
2974
2974
|
};
|
|
2975
2975
|
}
|
|
2976
2976
|
const kr = /* @__PURE__ */ nr(wr), K = (...t) => kr(Yt(t));
|
|
2977
|
-
function
|
|
2977
|
+
function bt(t) {
|
|
2978
2978
|
var r, n, o = "";
|
|
2979
2979
|
if (typeof t == "string" || typeof t == "number")
|
|
2980
2980
|
o += t;
|
|
2981
2981
|
else if (typeof t == "object")
|
|
2982
2982
|
if (Array.isArray(t))
|
|
2983
2983
|
for (r = 0; r < t.length; r++)
|
|
2984
|
-
t[r] && (n =
|
|
2984
|
+
t[r] && (n = bt(t[r])) && (o && (o += " "), o += n);
|
|
2985
2985
|
else
|
|
2986
2986
|
for (r in t)
|
|
2987
2987
|
t[r] && (o && (o += " "), o += r);
|
|
@@ -2989,7 +2989,7 @@ function ft(t) {
|
|
|
2989
2989
|
}
|
|
2990
2990
|
function Er() {
|
|
2991
2991
|
for (var t, r, n = 0, o = ""; n < arguments.length; )
|
|
2992
|
-
(t = arguments[n++]) && (r =
|
|
2992
|
+
(t = arguments[n++]) && (r = bt(t)) && (o && (o += " "), o += r);
|
|
2993
2993
|
return o;
|
|
2994
2994
|
}
|
|
2995
2995
|
const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot = Er, $ = (t, r) => (n) => {
|
|
@@ -3005,7 +3005,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3005
3005
|
}), c = n && Object.entries(n).reduce((d, g) => {
|
|
3006
3006
|
let [h, S] = g;
|
|
3007
3007
|
return S === void 0 || (d[h] = S), d;
|
|
3008
|
-
}, {}),
|
|
3008
|
+
}, {}), b = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, g) => {
|
|
3009
3009
|
let { class: h, className: S, ...P } = g;
|
|
3010
3010
|
return Object.entries(P).every((V) => {
|
|
3011
3011
|
let [R, j] = V;
|
|
@@ -3022,51 +3022,51 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3022
3022
|
S
|
|
3023
3023
|
] : d;
|
|
3024
3024
|
}, []);
|
|
3025
|
-
return ot(t, s,
|
|
3025
|
+
return ot(t, s, b, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
3026
3026
|
}, X = ({ iconName: t, ...r }) => {
|
|
3027
3027
|
if (Ze[t]) {
|
|
3028
3028
|
const n = Ze[t];
|
|
3029
3029
|
return /* @__PURE__ */ C.jsx(n, { ...r });
|
|
3030
3030
|
} else
|
|
3031
3031
|
return console.error(`Icon ${t} not found`), null;
|
|
3032
|
-
}, Sr = "flex items-center justify-center gap-2 rounded-sm transition-colors", Rr = $(Sr, {
|
|
3032
|
+
}, Sr = "flex w-fit items-center justify-center gap-2 rounded-sm transition-colors", Rr = $(Sr, {
|
|
3033
3033
|
variants: {
|
|
3034
3034
|
status: {
|
|
3035
3035
|
locked: "bg-bg-disabled text-content-text-subtle",
|
|
3036
|
-
"locked-outline": "
|
|
3036
|
+
"locked-outline": "text-content-text-subtlest outline !outline-sm outline-border-disabled",
|
|
3037
3037
|
available: "bg-bg-utility-discovery-bolder text-content-text-inverse",
|
|
3038
|
-
"available-outline": "
|
|
3038
|
+
"available-outline": "text-content-utility-discovery outline !outline-sm outline-border-utility-discovery",
|
|
3039
3039
|
inProgress: "bg-bg-accent-blue-subtle text-content-text-default",
|
|
3040
|
-
"inProgress-outline": "
|
|
3040
|
+
"inProgress-outline": "text-content-accent-blue outline !outline-sm outline-border-accent-blue",
|
|
3041
3041
|
completed: "bg-bg-utility-success-bolder text-content-text-default",
|
|
3042
|
-
"completed-outline": "
|
|
3042
|
+
"completed-outline": "text-content-utility-success outline !outline-sm outline-border-utility-success",
|
|
3043
3043
|
viewed: "bg-bg-utility-informative-bolder text-content-text-inverse",
|
|
3044
|
-
"viewed-outline": "
|
|
3044
|
+
"viewed-outline": "text-content-utility-informative outline !outline-sm outline-border-utility-informative"
|
|
3045
3045
|
},
|
|
3046
3046
|
intent: {
|
|
3047
3047
|
neutral: "bg-bg-bolder text-content-text-inverse",
|
|
3048
|
-
"neutral-outline": "
|
|
3048
|
+
"neutral-outline": "text-content-text-default outline !outline-sm outline-border-bolder",
|
|
3049
3049
|
blue: "bg-bg-accent-blue text-content-text-inverse",
|
|
3050
|
-
"blue-outline": "
|
|
3050
|
+
"blue-outline": "text-content-accent-blue outline !outline-sm outline-border-accent-blue",
|
|
3051
3051
|
mustard: "bg-bg-accent-mustard text-content-text-default",
|
|
3052
|
-
"mustard-outline": "
|
|
3052
|
+
"mustard-outline": "text-content-accent-mustard outline !outline-sm outline-border-accent-mustard",
|
|
3053
3053
|
green: "bg-bg-accent-green text-content-text-inverse",
|
|
3054
|
-
"green-outline": "
|
|
3054
|
+
"green-outline": "text-content-accent-green outline !outline-sm outline-border-accent-green",
|
|
3055
3055
|
lime: "bg-bg-accent-lime text-content-text-default",
|
|
3056
|
-
"lime-outline": "
|
|
3056
|
+
"lime-outline": "text-content-accent-lime outline !outline-sm outline-border-accent-lime",
|
|
3057
3057
|
fuchsia: "bg-bg-accent-fuchsia text-content-text-inverse",
|
|
3058
|
-
"fuchsia-outline": "
|
|
3058
|
+
"fuchsia-outline": "text-content-accent-fuchsia outline !outline-sm outline-border-accent-fuchsia",
|
|
3059
3059
|
marine: "bg-bg-accent-marine text-content-text-inverse",
|
|
3060
|
-
"marine-outline": "
|
|
3060
|
+
"marine-outline": "text-content-accent-marine outline !outline-sm outline-border-accent-marine",
|
|
3061
3061
|
ice: "bg-bg-accent-ice text-content-text-inverse",
|
|
3062
|
-
"ice-outline": "
|
|
3062
|
+
"ice-outline": "text-content-accent-ice outline !outline-sm outline-border-accent-ice",
|
|
3063
3063
|
gray: "bg-bg-accent-gray text-content-text-inverse",
|
|
3064
|
-
"gray-outline": "
|
|
3064
|
+
"gray-outline": "text-content-accent-gray outline !outline-sm outline-border-accent-gray"
|
|
3065
3065
|
},
|
|
3066
3066
|
size: {
|
|
3067
|
-
small: "px-4 py-2 text-2xs",
|
|
3068
|
-
medium: "px-4 py-2 text-sm",
|
|
3069
|
-
large: "px-4 py-2 text-base"
|
|
3067
|
+
small: "h-[34px] px-4 py-2 text-2xs",
|
|
3068
|
+
medium: "h-9 px-4 py-2 text-sm",
|
|
3069
|
+
large: "h-10 px-4 py-2 text-base"
|
|
3070
3070
|
},
|
|
3071
3071
|
fontWeight: {
|
|
3072
3072
|
light: "font-light",
|
|
@@ -3093,19 +3093,19 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3093
3093
|
size: a = "medium",
|
|
3094
3094
|
rounded: s = "rectangle",
|
|
3095
3095
|
className: c,
|
|
3096
|
-
...
|
|
3096
|
+
...b
|
|
3097
3097
|
}) => {
|
|
3098
3098
|
typeof r == "string" && (r = { name: r }), typeof n == "string" && (n = { name: n });
|
|
3099
3099
|
const d = {
|
|
3100
|
-
small: "h-
|
|
3101
|
-
medium: "h-
|
|
3102
|
-
large: "h-
|
|
3100
|
+
small: "h-4",
|
|
3101
|
+
medium: "h-4",
|
|
3102
|
+
large: "h-5"
|
|
3103
3103
|
}, g = o ? { status: o } : { intent: u };
|
|
3104
3104
|
return /* @__PURE__ */ C.jsxs(
|
|
3105
3105
|
"span",
|
|
3106
3106
|
{
|
|
3107
3107
|
className: K(Rr({ ...g, size: a, rounded: s, className: c })),
|
|
3108
|
-
...
|
|
3108
|
+
...b,
|
|
3109
3109
|
children: [
|
|
3110
3110
|
r && /* @__PURE__ */ C.jsx(
|
|
3111
3111
|
X,
|
|
@@ -3288,7 +3288,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3288
3288
|
iconRight: a,
|
|
3289
3289
|
isLoading: s,
|
|
3290
3290
|
disabled: c,
|
|
3291
|
-
...
|
|
3291
|
+
...b
|
|
3292
3292
|
}) => {
|
|
3293
3293
|
typeof u == "string" && (u = { name: u }), typeof a == "string" && (a = { name: a });
|
|
3294
3294
|
const d = {
|
|
@@ -3303,7 +3303,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3303
3303
|
s ? _r({ intent: r, size: n, className: t }) : c ? jr({ intent: r, size: n, className: t }) : Cr({ intent: r, size: n, className: t })
|
|
3304
3304
|
),
|
|
3305
3305
|
disabled: c || s,
|
|
3306
|
-
...
|
|
3306
|
+
...b,
|
|
3307
3307
|
children: s ? /* @__PURE__ */ C.jsx(gt, { className: d[n || "medium"] }) : /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
3308
3308
|
u && /* @__PURE__ */ C.jsx(
|
|
3309
3309
|
X,
|
|
@@ -3431,7 +3431,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3431
3431
|
disabled: a,
|
|
3432
3432
|
isLoading: s,
|
|
3433
3433
|
notification: c,
|
|
3434
|
-
...
|
|
3434
|
+
...b
|
|
3435
3435
|
}) => {
|
|
3436
3436
|
typeof t == "string" && (t = { name: t });
|
|
3437
3437
|
const d = {
|
|
@@ -3446,7 +3446,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3446
3446
|
s ? Pr({ intent: n, size: o, rounded: u, className: r }) : a ? Or({ intent: n, size: o, rounded: u, className: r }) : Tr({ intent: n, size: o, rounded: u, className: r })
|
|
3447
3447
|
),
|
|
3448
3448
|
disabled: a || s,
|
|
3449
|
-
...
|
|
3449
|
+
...b,
|
|
3450
3450
|
children: [
|
|
3451
3451
|
c && !s && /* @__PURE__ */ C.jsx(
|
|
3452
3452
|
X,
|