aravint-ui-navigation 1.0.66 → 1.0.67
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/navigation.cjs.js +8 -8
- package/dist/navigation.css +1 -1
- package/dist/navigation.es.js +265 -266
- package/dist/types/icons/icon.d.ts +2 -1
- package/package.json +1 -1
package/dist/navigation.es.js
CHANGED
|
@@ -3,8 +3,7 @@ import * as m from "react";
|
|
|
3
3
|
import Ir, { useState as Mr, memo as Wr, useMemo as go, forwardRef as yo, useLayoutEffect as vo } from "react";
|
|
4
4
|
import * as Br from "react-dom";
|
|
5
5
|
import bo from "react-dom";
|
|
6
|
-
|
|
7
|
-
const Pa = ({
|
|
6
|
+
const Oa = ({
|
|
8
7
|
tabs: e,
|
|
9
8
|
defaultValue: t,
|
|
10
9
|
value: r,
|
|
@@ -52,7 +51,7 @@ const Pa = ({
|
|
|
52
51
|
borderTopRightRadius: 8,
|
|
53
52
|
marginBottom: -1,
|
|
54
53
|
zIndex: 2
|
|
55
|
-
},
|
|
54
|
+
}, C = {
|
|
56
55
|
background: "transparent",
|
|
57
56
|
color: "#2D3748",
|
|
58
57
|
borderTop: "3px solid transparent",
|
|
@@ -188,7 +187,7 @@ const Pa = ({
|
|
|
188
187
|
onClick: () => !j.disabled && y(j.id),
|
|
189
188
|
style: {
|
|
190
189
|
...w,
|
|
191
|
-
...J ? O :
|
|
190
|
+
...J ? O : C,
|
|
192
191
|
opacity: j.disabled ? 0.5 : 1,
|
|
193
192
|
cursor: j.disabled ? "not-allowed" : "pointer"
|
|
194
193
|
},
|
|
@@ -215,7 +214,7 @@ const Pa = ({
|
|
|
215
214
|
]
|
|
216
215
|
}
|
|
217
216
|
);
|
|
218
|
-
},
|
|
217
|
+
}, xo = (e) => /* @__PURE__ */ m.createElement("svg", { viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M2 6.2L4.6 8.8L10 3", stroke: "#ffffff", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round" })), wo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5026_14435)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.83792%201.74731C11.057%200.528242%2013.0335%200.528242%2014.2525%201.74731C15.4716%202.96637%2015.4716%204.94287%2014.2525%206.16193L7.92901%2012.4855C7.56773%2012.8468%207.35506%2013.0595%207.11846%2013.244C6.8396%2013.4615%206.53786%2013.648%206.2186%2013.8001C5.94774%2013.9292%205.66239%2014.0243%205.17765%2014.1859L2.9569%2014.9261L2.42218%2015.1044C1.98848%2015.249%201.51031%2015.1361%201.18704%2014.8128C0.863776%2014.4895%200.750898%2014.0114%200.895467%2013.5777L1.81395%2010.8222C1.97551%2010.3375%202.07062%2010.0521%202.19971%209.78125C2.35186%209.46199%202.53834%209.16025%202.75585%208.88139C2.94039%208.64479%203.15309%208.43211%203.51441%208.07082L9.83792%201.74731ZM2.93384%2013.8797L4.82818%2013.2483C5.35559%2013.0725%205.57968%2012.9969%205.78838%2012.8974C6.04208%2012.7765%206.28185%2012.6283%206.50344%2012.4555C6.68574%2012.3133%206.85358%2012.1467%207.24669%2011.7536L12.293%206.70725C11.7672%206.52182%2011.0899%206.17809%2010.4558%205.54401C9.82176%204.90993%209.47803%204.2326%209.2926%203.70684L4.24628%208.75316C3.85317%209.14627%203.68656%209.31411%203.54436%209.49641C3.37152%209.71801%203.22334%209.95777%203.10243%2010.2115C3.00297%2010.4202%202.92736%2010.6443%202.75156%2011.1717L2.12011%2013.066L2.93384%2013.8797ZM10.1037%202.8957C10.1265%203.01234%2010.1651%203.1709%2010.2294%203.35626C10.3742%203.77356%2010.6476%204.3216%2011.1629%204.83691C11.6783%205.35221%2012.2263%205.6257%2012.6436%205.77047C12.8289%205.83478%2012.9875%205.87332%2013.1041%205.89612L13.5454%205.45482C14.374%204.62628%2014.374%203.28295%2013.5454%202.45441C12.7169%201.62587%2011.3736%201.62587%2010.545%202.45441L10.1037%202.8957Z'%20fill='%232563EB'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5026_14435'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Hr = Wr(({ computed: e, showTime: t }) => {
|
|
219
218
|
const { step: r, index: n, status: o } = e, i = o === "active" || o === "current", s = "label" in r ? r.label : r.title, c = "num" in r ? r.num : n, a = [
|
|
220
219
|
"rs-stepper__circle",
|
|
221
220
|
o === "completed" ? "rs-stepper__circle--completed" : "",
|
|
@@ -232,7 +231,7 @@ const Pa = ({
|
|
|
232
231
|
return /* @__PURE__ */ le("div", { className: "rs-stepper__step", children: [
|
|
233
232
|
/* @__PURE__ */ le("div", { className: "rs-stepper__circle-wrap", children: [
|
|
234
233
|
/* @__PURE__ */ W("div", { className: a, children: c }),
|
|
235
|
-
(o === "completed" || o === "rejected") && /* @__PURE__ */ W("span", { className: `rs-stepper__check${o === "rejected" ? " rs-stepper__check--rejected" : ""}`, "aria-hidden": "true", children: /* @__PURE__ */ W(
|
|
234
|
+
(o === "completed" || o === "rejected") && /* @__PURE__ */ W("span", { className: `rs-stepper__check${o === "rejected" ? " rs-stepper__check--rejected" : ""}`, "aria-hidden": "true", children: /* @__PURE__ */ W(xo, {}) })
|
|
236
235
|
] }),
|
|
237
236
|
/* @__PURE__ */ W("div", { className: d, children: s }),
|
|
238
237
|
r.date && /* @__PURE__ */ W("div", { className: "rs-stepper__date", children: r.date }),
|
|
@@ -259,7 +258,7 @@ const ko = ({
|
|
|
259
258
|
), g = h.length > 0 && h.every((E) => E.status === "completed"), y = u || g, b = a > 0 ? 100 / a / 2 : 0, x = h.reduce(
|
|
260
259
|
(E, k) => k.status === "completed" || k.status === "active" || k.status === "current" || k.status === "rejected" ? k.index : E,
|
|
261
260
|
-1
|
|
262
|
-
), w = a > 1 ? y ? 100 : Math.max(0, x) / (a - 1) * 100 : 0, O = x >= 0 ? r : i,
|
|
261
|
+
), w = a > 1 ? y ? 100 : Math.max(0, x) / (a - 1) * 100 : 0, O = x >= 0 ? r : i, C = y ? r : i, D = {
|
|
263
262
|
"--rs-completed-color": r,
|
|
264
263
|
"--rs-pending-color": n,
|
|
265
264
|
"--rs-active-color": o,
|
|
@@ -268,7 +267,7 @@ const ko = ({
|
|
|
268
267
|
"--rs-half-step": `${b}%`,
|
|
269
268
|
"--rs-progress": `${w}%`,
|
|
270
269
|
"--rs-left-side-color": O,
|
|
271
|
-
"--rs-right-side-color":
|
|
270
|
+
"--rs-right-side-color": C
|
|
272
271
|
};
|
|
273
272
|
return a === 0 ? null : /* @__PURE__ */ le("div", { className: "border border-[#E5E7EB] py-2 mx-2 rounded-lg bg-[#F9FAFB] shadow-[0px_2px_4px_-1px_#00000008,0px_4px_6px_-1px_#0000000D]", children: [
|
|
274
273
|
/* @__PURE__ */ W("div", { className: "pl-2 pt-2 pb-3 text-[14px] font-bold", children: "Workflow Progress" }),
|
|
@@ -284,7 +283,7 @@ const ko = ({
|
|
|
284
283
|
))
|
|
285
284
|
] }) }) })
|
|
286
285
|
] });
|
|
287
|
-
},
|
|
286
|
+
}, Pa = Wr(ko);
|
|
288
287
|
var Ot = { exports: {} }, qe = {};
|
|
289
288
|
/**
|
|
290
289
|
* @license React
|
|
@@ -341,16 +340,16 @@ function Eo() {
|
|
|
341
340
|
{
|
|
342
341
|
var A = x.ReactDebugCurrentFrame, H = A.getStackAddendum();
|
|
343
342
|
H !== "" && (v += "%s", R = R.concat([H]));
|
|
344
|
-
var U = R.map(function(
|
|
345
|
-
return String(
|
|
343
|
+
var U = R.map(function($) {
|
|
344
|
+
return String($);
|
|
346
345
|
});
|
|
347
346
|
U.unshift("Warning: " + v), Function.prototype.apply.call(console[l], console, U);
|
|
348
347
|
}
|
|
349
348
|
}
|
|
350
|
-
var
|
|
349
|
+
var C = !1, D = !1, N = !1, E = !1, k = !1, j;
|
|
351
350
|
j = Symbol.for("react.module.reference");
|
|
352
351
|
function B(l) {
|
|
353
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === i || k || l === o || l === d || l === u || E || l === h ||
|
|
352
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === i || k || l === o || l === d || l === u || E || l === h || C || D || N || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === f || l.$$typeof === s || l.$$typeof === c || l.$$typeof === a || // This needs to include all possible module reference object
|
|
354
353
|
// types supported by any Flight configuration anywhere since
|
|
355
354
|
// we don't know which Flight build this will end up being used
|
|
356
355
|
// with.
|
|
@@ -401,9 +400,9 @@ function Eo() {
|
|
|
401
400
|
var A = l.displayName || null;
|
|
402
401
|
return A !== null ? A : V(l.type) || "Memo";
|
|
403
402
|
case p: {
|
|
404
|
-
var H = l, U = H._payload,
|
|
403
|
+
var H = l, U = H._payload, $ = H._init;
|
|
405
404
|
try {
|
|
406
|
-
return V(
|
|
405
|
+
return V($(U));
|
|
407
406
|
} catch {
|
|
408
407
|
return null;
|
|
409
408
|
}
|
|
@@ -411,14 +410,14 @@ function Eo() {
|
|
|
411
410
|
}
|
|
412
411
|
return null;
|
|
413
412
|
}
|
|
414
|
-
var
|
|
413
|
+
var L = Object.assign, X = 0, I, M, _, K, re, Re, Ce;
|
|
415
414
|
function Q() {
|
|
416
415
|
}
|
|
417
416
|
Q.__reactDisabledLog = !0;
|
|
418
417
|
function q() {
|
|
419
418
|
{
|
|
420
419
|
if (X === 0) {
|
|
421
|
-
I = console.log, M = console.info, _ = console.warn, K = console.error, re = console.group, Re = console.groupCollapsed,
|
|
420
|
+
I = console.log, M = console.info, _ = console.warn, K = console.error, re = console.group, Re = console.groupCollapsed, Ce = console.groupEnd;
|
|
422
421
|
var l = {
|
|
423
422
|
configurable: !0,
|
|
424
423
|
enumerable: !0,
|
|
@@ -447,33 +446,33 @@ function Eo() {
|
|
|
447
446
|
writable: !0
|
|
448
447
|
};
|
|
449
448
|
Object.defineProperties(console, {
|
|
450
|
-
log:
|
|
449
|
+
log: L({}, l, {
|
|
451
450
|
value: I
|
|
452
451
|
}),
|
|
453
|
-
info:
|
|
452
|
+
info: L({}, l, {
|
|
454
453
|
value: M
|
|
455
454
|
}),
|
|
456
|
-
warn:
|
|
455
|
+
warn: L({}, l, {
|
|
457
456
|
value: _
|
|
458
457
|
}),
|
|
459
|
-
error:
|
|
458
|
+
error: L({}, l, {
|
|
460
459
|
value: K
|
|
461
460
|
}),
|
|
462
|
-
group:
|
|
461
|
+
group: L({}, l, {
|
|
463
462
|
value: re
|
|
464
463
|
}),
|
|
465
|
-
groupCollapsed:
|
|
464
|
+
groupCollapsed: L({}, l, {
|
|
466
465
|
value: Re
|
|
467
466
|
}),
|
|
468
|
-
groupEnd:
|
|
469
|
-
value:
|
|
467
|
+
groupEnd: L({}, l, {
|
|
468
|
+
value: Ce
|
|
470
469
|
})
|
|
471
470
|
});
|
|
472
471
|
}
|
|
473
472
|
X < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
474
473
|
}
|
|
475
474
|
}
|
|
476
|
-
var
|
|
475
|
+
var Te = x.ReactCurrentDispatcher, G;
|
|
477
476
|
function ye(l, v, R) {
|
|
478
477
|
{
|
|
479
478
|
if (G === void 0)
|
|
@@ -505,30 +504,30 @@ function Eo() {
|
|
|
505
504
|
var H = Error.prepareStackTrace;
|
|
506
505
|
Error.prepareStackTrace = void 0;
|
|
507
506
|
var U;
|
|
508
|
-
U =
|
|
507
|
+
U = Te.current, Te.current = null, q();
|
|
509
508
|
try {
|
|
510
509
|
if (v) {
|
|
511
|
-
var
|
|
510
|
+
var $ = function() {
|
|
512
511
|
throw Error();
|
|
513
512
|
};
|
|
514
|
-
if (Object.defineProperty(
|
|
513
|
+
if (Object.defineProperty($.prototype, "props", {
|
|
515
514
|
set: function() {
|
|
516
515
|
throw Error();
|
|
517
516
|
}
|
|
518
517
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
519
518
|
try {
|
|
520
|
-
Reflect.construct(
|
|
519
|
+
Reflect.construct($, []);
|
|
521
520
|
} catch (oe) {
|
|
522
521
|
A = oe;
|
|
523
522
|
}
|
|
524
|
-
Reflect.construct(l, [],
|
|
523
|
+
Reflect.construct(l, [], $);
|
|
525
524
|
} else {
|
|
526
525
|
try {
|
|
527
|
-
|
|
526
|
+
$.call();
|
|
528
527
|
} catch (oe) {
|
|
529
528
|
A = oe;
|
|
530
529
|
}
|
|
531
|
-
l.call(
|
|
530
|
+
l.call($.prototype);
|
|
532
531
|
}
|
|
533
532
|
} else {
|
|
534
533
|
try {
|
|
@@ -558,7 +557,7 @@ function Eo() {
|
|
|
558
557
|
}
|
|
559
558
|
}
|
|
560
559
|
} finally {
|
|
561
|
-
fe = !1,
|
|
560
|
+
fe = !1, Te.current = U, ge(), Error.prepareStackTrace = H;
|
|
562
561
|
}
|
|
563
562
|
var He = l ? l.displayName || l.name : "", Fe = He ? ye(He) : "";
|
|
564
563
|
return typeof l == "function" && ce.set(l, Fe), Fe;
|
|
@@ -610,19 +609,19 @@ function Eo() {
|
|
|
610
609
|
function Yn(l, v, R, A, H) {
|
|
611
610
|
{
|
|
612
611
|
var U = Function.call.bind(ze);
|
|
613
|
-
for (var
|
|
614
|
-
if (U(l,
|
|
612
|
+
for (var $ in l)
|
|
613
|
+
if (U(l, $)) {
|
|
615
614
|
var F = void 0;
|
|
616
615
|
try {
|
|
617
|
-
if (typeof l[
|
|
618
|
-
var ne = Error((A || "React class") + ": " + R + " type `" +
|
|
616
|
+
if (typeof l[$] != "function") {
|
|
617
|
+
var ne = Error((A || "React class") + ": " + R + " type `" + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[$] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
619
618
|
throw ne.name = "Invariant Violation", ne;
|
|
620
619
|
}
|
|
621
|
-
F = l[
|
|
620
|
+
F = l[$](v, $, A, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
622
621
|
} catch (Z) {
|
|
623
622
|
F = Z;
|
|
624
623
|
}
|
|
625
|
-
F && !(F instanceof Error) && (be(H), w("%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).", A || "React class", R,
|
|
624
|
+
F && !(F instanceof Error) && (be(H), w("%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).", A || "React class", R, $, typeof F), be(null)), F instanceof Error && !(F.message in ot) && (ot[F.message] = !0, be(H), w("Failed %s type: %s", R, F.message), be(null));
|
|
626
625
|
}
|
|
627
626
|
}
|
|
628
627
|
}
|
|
@@ -697,7 +696,7 @@ function Eo() {
|
|
|
697
696
|
});
|
|
698
697
|
}
|
|
699
698
|
}
|
|
700
|
-
var ro = function(l, v, R, A, H, U,
|
|
699
|
+
var ro = function(l, v, R, A, H, U, $) {
|
|
701
700
|
var F = {
|
|
702
701
|
// This tag allows us to uniquely identify this as a React Element
|
|
703
702
|
$$typeof: t,
|
|
@@ -705,7 +704,7 @@ function Eo() {
|
|
|
705
704
|
type: l,
|
|
706
705
|
key: v,
|
|
707
706
|
ref: R,
|
|
708
|
-
props:
|
|
707
|
+
props: $,
|
|
709
708
|
// Record the component responsible for creating this element.
|
|
710
709
|
_owner: U
|
|
711
710
|
};
|
|
@@ -728,20 +727,20 @@ function Eo() {
|
|
|
728
727
|
};
|
|
729
728
|
function no(l, v, R, A, H) {
|
|
730
729
|
{
|
|
731
|
-
var U,
|
|
730
|
+
var U, $ = {}, F = null, ne = null;
|
|
732
731
|
R !== void 0 && (or(R), F = "" + R), qn(v) && (or(v.key), F = "" + v.key), Qn(v) && (ne = v.ref, Zn(v));
|
|
733
732
|
for (U in v)
|
|
734
|
-
ze.call(v, U) && !Jn.hasOwnProperty(U) && (
|
|
733
|
+
ze.call(v, U) && !Jn.hasOwnProperty(U) && ($[U] = v[U]);
|
|
735
734
|
if (l && l.defaultProps) {
|
|
736
735
|
var Z = l.defaultProps;
|
|
737
736
|
for (U in Z)
|
|
738
|
-
|
|
737
|
+
$[U] === void 0 && ($[U] = Z[U]);
|
|
739
738
|
}
|
|
740
739
|
if (F || ne) {
|
|
741
740
|
var ee = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
742
|
-
F && eo(
|
|
741
|
+
F && eo($, ee), ne && to($, ee);
|
|
743
742
|
}
|
|
744
|
-
return ro(l, F, ne, H, A, ir.current,
|
|
743
|
+
return ro(l, F, ne, H, A, ir.current, $);
|
|
745
744
|
}
|
|
746
745
|
}
|
|
747
746
|
var Rt = x.ReactCurrentOwner, lr = x.ReactDebugCurrentFrame;
|
|
@@ -752,9 +751,9 @@ function Eo() {
|
|
|
752
751
|
} else
|
|
753
752
|
lr.setExtraStackFrame(null);
|
|
754
753
|
}
|
|
755
|
-
var
|
|
756
|
-
|
|
757
|
-
function
|
|
754
|
+
var Ct;
|
|
755
|
+
Ct = !1;
|
|
756
|
+
function Tt(l) {
|
|
758
757
|
return typeof l == "object" && l !== null && l.$$typeof === t;
|
|
759
758
|
}
|
|
760
759
|
function cr() {
|
|
@@ -805,15 +804,15 @@ Check the top-level render call using <` + R + ">.");
|
|
|
805
804
|
if (Et(l))
|
|
806
805
|
for (var R = 0; R < l.length; R++) {
|
|
807
806
|
var A = l[R];
|
|
808
|
-
|
|
807
|
+
Tt(A) && dr(A, v);
|
|
809
808
|
}
|
|
810
|
-
else if (
|
|
809
|
+
else if (Tt(l))
|
|
811
810
|
l._store && (l._store.validated = !0);
|
|
812
811
|
else if (l) {
|
|
813
812
|
var H = b(l);
|
|
814
813
|
if (typeof H == "function" && H !== l.entries)
|
|
815
|
-
for (var U = H.call(l),
|
|
816
|
-
|
|
814
|
+
for (var U = H.call(l), $; !($ = U.next()).done; )
|
|
815
|
+
Tt($.value) && dr($.value, v);
|
|
817
816
|
}
|
|
818
817
|
}
|
|
819
818
|
}
|
|
@@ -834,8 +833,8 @@ Check the top-level render call using <` + R + ">.");
|
|
|
834
833
|
if (R) {
|
|
835
834
|
var A = V(v);
|
|
836
835
|
Yn(R, l.props, "prop", A, l);
|
|
837
|
-
} else if (v.PropTypes !== void 0 && !
|
|
838
|
-
|
|
836
|
+
} else if (v.PropTypes !== void 0 && !Ct) {
|
|
837
|
+
Ct = !0;
|
|
839
838
|
var H = V(v);
|
|
840
839
|
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
|
|
841
840
|
}
|
|
@@ -857,8 +856,8 @@ Check the top-level render call using <` + R + ">.");
|
|
|
857
856
|
var pr = {};
|
|
858
857
|
function mr(l, v, R, A, H, U) {
|
|
859
858
|
{
|
|
860
|
-
var
|
|
861
|
-
if (
|
|
859
|
+
var $ = B(l);
|
|
860
|
+
if (!$) {
|
|
862
861
|
var F = "";
|
|
863
862
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
864
863
|
var ne = oo();
|
|
@@ -869,7 +868,7 @@ Check the top-level render call using <` + R + ">.");
|
|
|
869
868
|
var ee = no(l, v, R, H, U);
|
|
870
869
|
if (ee == null)
|
|
871
870
|
return ee;
|
|
872
|
-
if (
|
|
871
|
+
if ($) {
|
|
873
872
|
var ae = v.children;
|
|
874
873
|
if (ae !== void 0)
|
|
875
874
|
if (A)
|
|
@@ -885,15 +884,15 @@ Check the top-level render call using <` + R + ">.");
|
|
|
885
884
|
if (ze.call(v, "key")) {
|
|
886
885
|
var Fe = V(l), oe = Object.keys(v).filter(function(mo) {
|
|
887
886
|
return mo !== "key";
|
|
888
|
-
}),
|
|
889
|
-
if (!pr[Fe +
|
|
887
|
+
}), St = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
888
|
+
if (!pr[Fe + St]) {
|
|
890
889
|
var po = oe.length > 0 ? "{" + oe.join(": ..., ") + ": ...}" : "{}";
|
|
891
890
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
892
891
|
let props = %s;
|
|
893
892
|
<%s {...props} />
|
|
894
893
|
React keys must be passed directly to JSX without using spread:
|
|
895
894
|
let props = %s;
|
|
896
|
-
<%s key={someKey} {...props} />`,
|
|
895
|
+
<%s key={someKey} {...props} />`, St, Fe, po, Fe), pr[Fe + St] = !0;
|
|
897
896
|
}
|
|
898
897
|
}
|
|
899
898
|
return l === n ? ao(ee) : so(ee), ee;
|
|
@@ -927,7 +926,7 @@ function Ur() {
|
|
|
927
926
|
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Vr(e)) && (n && (n += " "), n += t);
|
|
928
927
|
return n;
|
|
929
928
|
}
|
|
930
|
-
const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur,
|
|
929
|
+
const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, Co = (e, t) => (r) => {
|
|
931
930
|
var n;
|
|
932
931
|
if ((t == null ? void 0 : t.variants) == null) return br(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
933
932
|
const { variants: o, defaultVariants: i } = t, s = Object.keys(o).map((d) => {
|
|
@@ -956,7 +955,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
956
955
|
] : d;
|
|
957
956
|
}, []);
|
|
958
957
|
return br(e, s, a, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
959
|
-
}, Vt = "-",
|
|
958
|
+
}, Vt = "-", To = (e) => {
|
|
960
959
|
const t = Oo(e), {
|
|
961
960
|
conflictingClassGroups: r,
|
|
962
961
|
conflictingClassGroupModifiers: n
|
|
@@ -964,7 +963,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
964
963
|
return {
|
|
965
964
|
getClassGroupId: (o) => {
|
|
966
965
|
const i = o.split(Vt);
|
|
967
|
-
return i[0] === "" && i.length !== 1 && i.shift(), Yr(i, t) ||
|
|
966
|
+
return i[0] === "" && i.length !== 1 && i.shift(), Yr(i, t) || So(o);
|
|
968
967
|
},
|
|
969
968
|
getConflictingClassGroupIds: (o, i) => {
|
|
970
969
|
const s = r[o] || [];
|
|
@@ -984,7 +983,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
984
983
|
return (r = t.validators.find(({
|
|
985
984
|
validator: c
|
|
986
985
|
}) => c(s))) == null ? void 0 : r.classGroupId;
|
|
987
|
-
}, xr = /^\[(.+)\]$/,
|
|
986
|
+
}, xr = /^\[(.+)\]$/, So = (e) => {
|
|
988
987
|
if (xr.test(e)) {
|
|
989
988
|
const t = xr.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
990
989
|
if (r)
|
|
@@ -1055,7 +1054,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
1055
1054
|
r.has(i) ? r.set(i, s) : o(i, s);
|
|
1056
1055
|
}
|
|
1057
1056
|
};
|
|
1058
|
-
}, Ft = "!",
|
|
1057
|
+
}, Ft = "!", Lt = ":", jo = Lt.length, Do = (e) => {
|
|
1059
1058
|
const {
|
|
1060
1059
|
prefix: t,
|
|
1061
1060
|
experimentalParseClassName: r
|
|
@@ -1066,7 +1065,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
1066
1065
|
for (let g = 0; g < o.length; g++) {
|
|
1067
1066
|
let y = o[g];
|
|
1068
1067
|
if (s === 0 && c === 0) {
|
|
1069
|
-
if (y ===
|
|
1068
|
+
if (y === Lt) {
|
|
1070
1069
|
i.push(o.slice(a, g)), a = g + jo;
|
|
1071
1070
|
continue;
|
|
1072
1071
|
}
|
|
@@ -1086,7 +1085,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
1086
1085
|
};
|
|
1087
1086
|
};
|
|
1088
1087
|
if (t) {
|
|
1089
|
-
const o = t +
|
|
1088
|
+
const o = t + Lt, i = n;
|
|
1090
1089
|
n = (s) => s.startsWith(o) ? i(s.substring(o.length)) : {
|
|
1091
1090
|
isExternal: !0,
|
|
1092
1091
|
modifiers: [],
|
|
@@ -1118,14 +1117,14 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
1118
1117
|
cache: No(e.cacheSize),
|
|
1119
1118
|
parseClassName: Do(e),
|
|
1120
1119
|
sortModifiers: zo(e),
|
|
1121
|
-
...
|
|
1122
|
-
}),
|
|
1120
|
+
...To(e)
|
|
1121
|
+
}), Lo = /\s+/, $o = (e, t) => {
|
|
1123
1122
|
const {
|
|
1124
1123
|
parseClassName: r,
|
|
1125
1124
|
getClassGroupId: n,
|
|
1126
1125
|
getConflictingClassGroupIds: o,
|
|
1127
1126
|
sortModifiers: i
|
|
1128
|
-
} = t, s = [], c = e.trim().split(
|
|
1127
|
+
} = t, s = [], c = e.trim().split(Lo);
|
|
1129
1128
|
let a = "";
|
|
1130
1129
|
for (let d = c.length - 1; d >= 0; d -= 1) {
|
|
1131
1130
|
const u = c[d], {
|
|
@@ -1151,10 +1150,10 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, T
|
|
|
1151
1150
|
}
|
|
1152
1151
|
b = !1;
|
|
1153
1152
|
}
|
|
1154
|
-
const w = i(p).join(":"), O = h ? w + Ft : w,
|
|
1155
|
-
if (s.includes(
|
|
1153
|
+
const w = i(p).join(":"), O = h ? w + Ft : w, C = O + x;
|
|
1154
|
+
if (s.includes(C))
|
|
1156
1155
|
continue;
|
|
1157
|
-
s.push(
|
|
1156
|
+
s.push(C);
|
|
1158
1157
|
const D = o(x, b);
|
|
1159
1158
|
for (let N = 0; N < D.length; ++N) {
|
|
1160
1159
|
const E = D[N];
|
|
@@ -1188,7 +1187,7 @@ function Mo(e, ...t) {
|
|
|
1188
1187
|
const d = n(a);
|
|
1189
1188
|
if (d)
|
|
1190
1189
|
return d;
|
|
1191
|
-
const u =
|
|
1190
|
+
const u = $o(a, r);
|
|
1192
1191
|
return o(a, u), u;
|
|
1193
1192
|
}
|
|
1194
1193
|
return function() {
|
|
@@ -1198,19 +1197,19 @@ function Mo(e, ...t) {
|
|
|
1198
1197
|
const te = (e) => {
|
|
1199
1198
|
const t = (r) => r[e] || [];
|
|
1200
1199
|
return t.isThemeGetter = !0, t;
|
|
1201
|
-
}, Xr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wo = /^\d+\/\d+$/, Bo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ho = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Vo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Uo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Yo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (e) => Wo.test(e), z = (e) => !!e && !Number.isNaN(Number(e)),
|
|
1200
|
+
}, Xr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wo = /^\d+\/\d+$/, Bo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ho = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Vo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Uo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Yo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (e) => Wo.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), Se = (e) => !!e && Number.isInteger(Number(e)), Pt = (e) => e.endsWith("%") && z(e.slice(0, -1)), xe = (e) => Bo.test(e), Go = () => !0, Xo = (e) => (
|
|
1202
1201
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1203
1202
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1204
1203
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1205
1204
|
Ho.test(e) && !Vo.test(e)
|
|
1206
|
-
), Jr = () => !1, Ko = (e) => Uo.test(e), Jo = (e) => Yo.test(e), Qo = (e) => !
|
|
1205
|
+
), Jr = () => !1, Ko = (e) => Uo.test(e), Jo = (e) => Yo.test(e), Qo = (e) => !T(e) && !S(e), qo = (e) => Xe(e, Zr, Jr), T = (e) => Xr.test(e), Le = (e) => Xe(e, en, Xo), Nt = (e) => Xe(e, ni, z), kr = (e) => Xe(e, Qr, Jr), Zo = (e) => Xe(e, qr, Jo), at = (e) => Xe(e, tn, Ko), S = (e) => Kr.test(e), Ze = (e) => Ke(e, en), ei = (e) => Ke(e, oi), _r = (e) => Ke(e, Qr), ti = (e) => Ke(e, Zr), ri = (e) => Ke(e, qr), lt = (e) => Ke(e, tn, !0), Xe = (e, t, r) => {
|
|
1207
1206
|
const n = Xr.exec(e);
|
|
1208
1207
|
return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
|
|
1209
1208
|
}, Ke = (e, t, r = !1) => {
|
|
1210
1209
|
const n = Kr.exec(e);
|
|
1211
1210
|
return n ? n[1] ? t(n[1]) : r : !1;
|
|
1212
1211
|
}, Qr = (e) => e === "position" || e === "percentage", qr = (e) => e === "image" || e === "url", Zr = (e) => e === "length" || e === "size" || e === "bg-size", en = (e) => e === "length", ni = (e) => e === "number", oi = (e) => e === "family-name", tn = (e) => e === "shadow", ii = () => {
|
|
1213
|
-
const e = te("color"), t = te("font"), r = te("text"), n = te("font-weight"), o = te("tracking"), i = te("leading"), s = te("breakpoint"), c = te("container"), a = te("spacing"), d = te("radius"), u = te("shadow"), f = te("inset-shadow"), p = te("text-shadow"), h = te("drop-shadow"), g = te("blur"), y = te("perspective"), b = te("aspect"), x = te("ease"), w = te("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"],
|
|
1212
|
+
const e = te("color"), t = te("font"), r = te("text"), n = te("font-weight"), o = te("tracking"), i = te("leading"), s = te("breakpoint"), c = te("container"), a = te("spacing"), d = te("radius"), u = te("shadow"), f = te("inset-shadow"), p = te("text-shadow"), h = te("drop-shadow"), g = te("blur"), y = te("perspective"), b = te("aspect"), x = te("ease"), w = te("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
|
|
1214
1213
|
"center",
|
|
1215
1214
|
"top",
|
|
1216
1215
|
"bottom",
|
|
@@ -1228,30 +1227,30 @@ const te = (e) => {
|
|
|
1228
1227
|
"bottom-left",
|
|
1229
1228
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1230
1229
|
"left-bottom"
|
|
1231
|
-
], D = () => [...
|
|
1232
|
-
span: ["full",
|
|
1233
|
-
},
|
|
1234
|
-
position: [
|
|
1230
|
+
], D = () => [...C(), S, T], N = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], k = () => [S, T, a], j = () => [Ve, "full", "auto", ...k()], B = () => [Se, "none", "subgrid", S, T], J = () => ["auto", {
|
|
1231
|
+
span: ["full", Se, S, T]
|
|
1232
|
+
}, Se, S, T], Y = () => [Se, "auto", S, T], V = () => ["auto", "min", "max", "fr", S, T], L = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...k()], M = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], _ = () => [e, S, T], K = () => [...C(), _r, kr, {
|
|
1233
|
+
position: [S, T]
|
|
1235
1234
|
}], re = () => ["no-repeat", {
|
|
1236
1235
|
repeat: ["", "x", "y", "space", "round"]
|
|
1237
1236
|
}], Re = () => ["auto", "cover", "contain", ti, qo, {
|
|
1238
|
-
size: [
|
|
1239
|
-
}],
|
|
1237
|
+
size: [S, T]
|
|
1238
|
+
}], Ce = () => [Pt, Ze, Le], Q = () => [
|
|
1240
1239
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1241
1240
|
"",
|
|
1242
1241
|
"none",
|
|
1243
1242
|
"full",
|
|
1244
1243
|
d,
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
], q = () => ["", z, Ze,
|
|
1244
|
+
S,
|
|
1245
|
+
T
|
|
1246
|
+
], q = () => ["", z, Ze, Le], ge = () => ["solid", "dashed", "dotted", "double"], Te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], G = () => [z, Pt, _r, kr], ye = () => [
|
|
1248
1247
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1249
1248
|
"",
|
|
1250
1249
|
"none",
|
|
1251
1250
|
g,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
], fe = () => ["none", z,
|
|
1251
|
+
S,
|
|
1252
|
+
T
|
|
1253
|
+
], fe = () => ["none", z, S, T], ce = () => ["none", z, S, T], De = () => [z, S, T], ve = () => [Ve, "full", ...k()];
|
|
1255
1254
|
return {
|
|
1256
1255
|
cacheSize: 500,
|
|
1257
1256
|
theme: {
|
|
@@ -1284,7 +1283,7 @@ const te = (e) => {
|
|
|
1284
1283
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1285
1284
|
*/
|
|
1286
1285
|
aspect: [{
|
|
1287
|
-
aspect: ["auto", "square", Ve,
|
|
1286
|
+
aspect: ["auto", "square", Ve, T, S, b]
|
|
1288
1287
|
}],
|
|
1289
1288
|
/**
|
|
1290
1289
|
* Container
|
|
@@ -1297,7 +1296,7 @@ const te = (e) => {
|
|
|
1297
1296
|
* @see https://tailwindcss.com/docs/columns
|
|
1298
1297
|
*/
|
|
1299
1298
|
columns: [{
|
|
1300
|
-
columns: [z,
|
|
1299
|
+
columns: [z, T, S, c]
|
|
1301
1300
|
}],
|
|
1302
1301
|
/**
|
|
1303
1302
|
* Break After
|
|
@@ -1497,7 +1496,7 @@ const te = (e) => {
|
|
|
1497
1496
|
* @see https://tailwindcss.com/docs/z-index
|
|
1498
1497
|
*/
|
|
1499
1498
|
z: [{
|
|
1500
|
-
z: [
|
|
1499
|
+
z: [Se, "auto", S, T]
|
|
1501
1500
|
}],
|
|
1502
1501
|
// ------------------------
|
|
1503
1502
|
// --- Flexbox and Grid ---
|
|
@@ -1528,28 +1527,28 @@ const te = (e) => {
|
|
|
1528
1527
|
* @see https://tailwindcss.com/docs/flex
|
|
1529
1528
|
*/
|
|
1530
1529
|
flex: [{
|
|
1531
|
-
flex: [z, Ve, "auto", "initial", "none",
|
|
1530
|
+
flex: [z, Ve, "auto", "initial", "none", T]
|
|
1532
1531
|
}],
|
|
1533
1532
|
/**
|
|
1534
1533
|
* Flex Grow
|
|
1535
1534
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1536
1535
|
*/
|
|
1537
1536
|
grow: [{
|
|
1538
|
-
grow: ["", z,
|
|
1537
|
+
grow: ["", z, S, T]
|
|
1539
1538
|
}],
|
|
1540
1539
|
/**
|
|
1541
1540
|
* Flex Shrink
|
|
1542
1541
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1543
1542
|
*/
|
|
1544
1543
|
shrink: [{
|
|
1545
|
-
shrink: ["", z,
|
|
1544
|
+
shrink: ["", z, S, T]
|
|
1546
1545
|
}],
|
|
1547
1546
|
/**
|
|
1548
1547
|
* Order
|
|
1549
1548
|
* @see https://tailwindcss.com/docs/order
|
|
1550
1549
|
*/
|
|
1551
1550
|
order: [{
|
|
1552
|
-
order: [
|
|
1551
|
+
order: [Se, "first", "last", "none", S, T]
|
|
1553
1552
|
}],
|
|
1554
1553
|
/**
|
|
1555
1554
|
* Grid Template Columns
|
|
@@ -1654,7 +1653,7 @@ const te = (e) => {
|
|
|
1654
1653
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1655
1654
|
*/
|
|
1656
1655
|
"justify-content": [{
|
|
1657
|
-
justify: [
|
|
1656
|
+
justify: [...L(), "normal"]
|
|
1658
1657
|
}],
|
|
1659
1658
|
/**
|
|
1660
1659
|
* Justify Items
|
|
@@ -1675,7 +1674,7 @@ const te = (e) => {
|
|
|
1675
1674
|
* @see https://tailwindcss.com/docs/align-content
|
|
1676
1675
|
*/
|
|
1677
1676
|
"align-content": [{
|
|
1678
|
-
content: ["normal",
|
|
1677
|
+
content: ["normal", ...L()]
|
|
1679
1678
|
}],
|
|
1680
1679
|
/**
|
|
1681
1680
|
* Align Items
|
|
@@ -1700,7 +1699,7 @@ const te = (e) => {
|
|
|
1700
1699
|
* @see https://tailwindcss.com/docs/place-content
|
|
1701
1700
|
*/
|
|
1702
1701
|
"place-content": [{
|
|
1703
|
-
"place-content":
|
|
1702
|
+
"place-content": L()
|
|
1704
1703
|
}],
|
|
1705
1704
|
/**
|
|
1706
1705
|
* Place Items
|
|
@@ -1944,7 +1943,7 @@ const te = (e) => {
|
|
|
1944
1943
|
* @see https://tailwindcss.com/docs/font-size
|
|
1945
1944
|
*/
|
|
1946
1945
|
"font-size": [{
|
|
1947
|
-
text: ["base", r, Ze,
|
|
1946
|
+
text: ["base", r, Ze, Le]
|
|
1948
1947
|
}],
|
|
1949
1948
|
/**
|
|
1950
1949
|
* Font Smoothing
|
|
@@ -1961,21 +1960,21 @@ const te = (e) => {
|
|
|
1961
1960
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1962
1961
|
*/
|
|
1963
1962
|
"font-weight": [{
|
|
1964
|
-
font: [n,
|
|
1963
|
+
font: [n, S, Nt]
|
|
1965
1964
|
}],
|
|
1966
1965
|
/**
|
|
1967
1966
|
* Font Stretch
|
|
1968
1967
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1969
1968
|
*/
|
|
1970
1969
|
"font-stretch": [{
|
|
1971
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Pt,
|
|
1970
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Pt, T]
|
|
1972
1971
|
}],
|
|
1973
1972
|
/**
|
|
1974
1973
|
* Font Family
|
|
1975
1974
|
* @see https://tailwindcss.com/docs/font-family
|
|
1976
1975
|
*/
|
|
1977
1976
|
"font-family": [{
|
|
1978
|
-
font: [ei,
|
|
1977
|
+
font: [ei, T, t]
|
|
1979
1978
|
}],
|
|
1980
1979
|
/**
|
|
1981
1980
|
* Font Variant Numeric
|
|
@@ -2012,14 +2011,14 @@ const te = (e) => {
|
|
|
2012
2011
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2013
2012
|
*/
|
|
2014
2013
|
tracking: [{
|
|
2015
|
-
tracking: [o,
|
|
2014
|
+
tracking: [o, S, T]
|
|
2016
2015
|
}],
|
|
2017
2016
|
/**
|
|
2018
2017
|
* Line Clamp
|
|
2019
2018
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2020
2019
|
*/
|
|
2021
2020
|
"line-clamp": [{
|
|
2022
|
-
"line-clamp": [z, "none",
|
|
2021
|
+
"line-clamp": [z, "none", S, Nt]
|
|
2023
2022
|
}],
|
|
2024
2023
|
/**
|
|
2025
2024
|
* Line Height
|
|
@@ -2037,7 +2036,7 @@ const te = (e) => {
|
|
|
2037
2036
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
2038
2037
|
*/
|
|
2039
2038
|
"list-image": [{
|
|
2040
|
-
"list-image": ["none",
|
|
2039
|
+
"list-image": ["none", S, T]
|
|
2041
2040
|
}],
|
|
2042
2041
|
/**
|
|
2043
2042
|
* List Style Position
|
|
@@ -2051,7 +2050,7 @@ const te = (e) => {
|
|
|
2051
2050
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
2052
2051
|
*/
|
|
2053
2052
|
"list-style-type": [{
|
|
2054
|
-
list: ["disc", "decimal", "none",
|
|
2053
|
+
list: ["disc", "decimal", "none", S, T]
|
|
2055
2054
|
}],
|
|
2056
2055
|
/**
|
|
2057
2056
|
* Text Alignment
|
|
@@ -2092,7 +2091,7 @@ const te = (e) => {
|
|
|
2092
2091
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2093
2092
|
*/
|
|
2094
2093
|
"text-decoration-thickness": [{
|
|
2095
|
-
decoration: [z, "from-font", "auto",
|
|
2094
|
+
decoration: [z, "from-font", "auto", S, Le]
|
|
2096
2095
|
}],
|
|
2097
2096
|
/**
|
|
2098
2097
|
* Text Decoration Color
|
|
@@ -2106,7 +2105,7 @@ const te = (e) => {
|
|
|
2106
2105
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2107
2106
|
*/
|
|
2108
2107
|
"underline-offset": [{
|
|
2109
|
-
"underline-offset": [z, "auto",
|
|
2108
|
+
"underline-offset": [z, "auto", S, T]
|
|
2110
2109
|
}],
|
|
2111
2110
|
/**
|
|
2112
2111
|
* Text Transform
|
|
@@ -2137,7 +2136,7 @@ const te = (e) => {
|
|
|
2137
2136
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
2138
2137
|
*/
|
|
2139
2138
|
"vertical-align": [{
|
|
2140
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
2139
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", S, T]
|
|
2141
2140
|
}],
|
|
2142
2141
|
/**
|
|
2143
2142
|
* Whitespace
|
|
@@ -2172,7 +2171,7 @@ const te = (e) => {
|
|
|
2172
2171
|
* @see https://tailwindcss.com/docs/content
|
|
2173
2172
|
*/
|
|
2174
2173
|
content: [{
|
|
2175
|
-
content: ["none",
|
|
2174
|
+
content: ["none", S, T]
|
|
2176
2175
|
}],
|
|
2177
2176
|
// -------------------
|
|
2178
2177
|
// --- Backgrounds ---
|
|
@@ -2227,9 +2226,9 @@ const te = (e) => {
|
|
|
2227
2226
|
bg: ["none", {
|
|
2228
2227
|
linear: [{
|
|
2229
2228
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2230
|
-
},
|
|
2231
|
-
radial: ["",
|
|
2232
|
-
conic: [
|
|
2229
|
+
}, Se, S, T],
|
|
2230
|
+
radial: ["", S, T],
|
|
2231
|
+
conic: [Se, S, T]
|
|
2233
2232
|
}, ri, Zo]
|
|
2234
2233
|
}],
|
|
2235
2234
|
/**
|
|
@@ -2244,21 +2243,21 @@ const te = (e) => {
|
|
|
2244
2243
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2245
2244
|
*/
|
|
2246
2245
|
"gradient-from-pos": [{
|
|
2247
|
-
from:
|
|
2246
|
+
from: Ce()
|
|
2248
2247
|
}],
|
|
2249
2248
|
/**
|
|
2250
2249
|
* Gradient Color Stops Via Position
|
|
2251
2250
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2252
2251
|
*/
|
|
2253
2252
|
"gradient-via-pos": [{
|
|
2254
|
-
via:
|
|
2253
|
+
via: Ce()
|
|
2255
2254
|
}],
|
|
2256
2255
|
/**
|
|
2257
2256
|
* Gradient Color Stops To Position
|
|
2258
2257
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2259
2258
|
*/
|
|
2260
2259
|
"gradient-to-pos": [{
|
|
2261
|
-
to:
|
|
2260
|
+
to: Ce()
|
|
2262
2261
|
}],
|
|
2263
2262
|
/**
|
|
2264
2263
|
* Gradient Color Stops From
|
|
@@ -2572,14 +2571,14 @@ const te = (e) => {
|
|
|
2572
2571
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2573
2572
|
*/
|
|
2574
2573
|
"outline-offset": [{
|
|
2575
|
-
"outline-offset": [z,
|
|
2574
|
+
"outline-offset": [z, S, T]
|
|
2576
2575
|
}],
|
|
2577
2576
|
/**
|
|
2578
2577
|
* Outline Width
|
|
2579
2578
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2580
2579
|
*/
|
|
2581
2580
|
"outline-w": [{
|
|
2582
|
-
outline: ["", z, Ze,
|
|
2581
|
+
outline: ["", z, Ze, Le]
|
|
2583
2582
|
}],
|
|
2584
2583
|
/**
|
|
2585
2584
|
* Outline Color
|
|
@@ -2654,7 +2653,7 @@ const te = (e) => {
|
|
|
2654
2653
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2655
2654
|
*/
|
|
2656
2655
|
"ring-offset-w": [{
|
|
2657
|
-
"ring-offset": [z,
|
|
2656
|
+
"ring-offset": [z, Le]
|
|
2658
2657
|
}],
|
|
2659
2658
|
/**
|
|
2660
2659
|
* Ring Offset Color
|
|
@@ -2698,21 +2697,21 @@ const te = (e) => {
|
|
|
2698
2697
|
* @see https://tailwindcss.com/docs/opacity
|
|
2699
2698
|
*/
|
|
2700
2699
|
opacity: [{
|
|
2701
|
-
opacity: [z,
|
|
2700
|
+
opacity: [z, S, T]
|
|
2702
2701
|
}],
|
|
2703
2702
|
/**
|
|
2704
2703
|
* Mix Blend Mode
|
|
2705
2704
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2706
2705
|
*/
|
|
2707
2706
|
"mix-blend": [{
|
|
2708
|
-
"mix-blend": [...
|
|
2707
|
+
"mix-blend": [...Te(), "plus-darker", "plus-lighter"]
|
|
2709
2708
|
}],
|
|
2710
2709
|
/**
|
|
2711
2710
|
* Background Blend Mode
|
|
2712
2711
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2713
2712
|
*/
|
|
2714
2713
|
"bg-blend": [{
|
|
2715
|
-
"bg-blend":
|
|
2714
|
+
"bg-blend": Te()
|
|
2716
2715
|
}],
|
|
2717
2716
|
/**
|
|
2718
2717
|
* Mask Clip
|
|
@@ -2820,7 +2819,7 @@ const te = (e) => {
|
|
|
2820
2819
|
"mask-y-to": _()
|
|
2821
2820
|
}],
|
|
2822
2821
|
"mask-image-radial": [{
|
|
2823
|
-
"mask-radial": [
|
|
2822
|
+
"mask-radial": [S, T]
|
|
2824
2823
|
}],
|
|
2825
2824
|
"mask-image-radial-from-pos": [{
|
|
2826
2825
|
"mask-radial-from": G()
|
|
@@ -2844,7 +2843,7 @@ const te = (e) => {
|
|
|
2844
2843
|
}]
|
|
2845
2844
|
}],
|
|
2846
2845
|
"mask-image-radial-pos": [{
|
|
2847
|
-
"mask-radial-at":
|
|
2846
|
+
"mask-radial-at": C()
|
|
2848
2847
|
}],
|
|
2849
2848
|
"mask-image-conic-pos": [{
|
|
2850
2849
|
"mask-conic": [z]
|
|
@@ -2908,7 +2907,7 @@ const te = (e) => {
|
|
|
2908
2907
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2909
2908
|
*/
|
|
2910
2909
|
"mask-image": [{
|
|
2911
|
-
mask: ["none",
|
|
2910
|
+
mask: ["none", S, T]
|
|
2912
2911
|
}],
|
|
2913
2912
|
// ---------------
|
|
2914
2913
|
// --- Filters ---
|
|
@@ -2922,8 +2921,8 @@ const te = (e) => {
|
|
|
2922
2921
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2923
2922
|
"",
|
|
2924
2923
|
"none",
|
|
2925
|
-
|
|
2926
|
-
|
|
2924
|
+
S,
|
|
2925
|
+
T
|
|
2927
2926
|
]
|
|
2928
2927
|
}],
|
|
2929
2928
|
/**
|
|
@@ -2938,14 +2937,14 @@ const te = (e) => {
|
|
|
2938
2937
|
* @see https://tailwindcss.com/docs/brightness
|
|
2939
2938
|
*/
|
|
2940
2939
|
brightness: [{
|
|
2941
|
-
brightness: [z,
|
|
2940
|
+
brightness: [z, S, T]
|
|
2942
2941
|
}],
|
|
2943
2942
|
/**
|
|
2944
2943
|
* Contrast
|
|
2945
2944
|
* @see https://tailwindcss.com/docs/contrast
|
|
2946
2945
|
*/
|
|
2947
2946
|
contrast: [{
|
|
2948
|
-
contrast: [z,
|
|
2947
|
+
contrast: [z, S, T]
|
|
2949
2948
|
}],
|
|
2950
2949
|
/**
|
|
2951
2950
|
* Drop Shadow
|
|
@@ -2973,35 +2972,35 @@ const te = (e) => {
|
|
|
2973
2972
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2974
2973
|
*/
|
|
2975
2974
|
grayscale: [{
|
|
2976
|
-
grayscale: ["", z,
|
|
2975
|
+
grayscale: ["", z, S, T]
|
|
2977
2976
|
}],
|
|
2978
2977
|
/**
|
|
2979
2978
|
* Hue Rotate
|
|
2980
2979
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2981
2980
|
*/
|
|
2982
2981
|
"hue-rotate": [{
|
|
2983
|
-
"hue-rotate": [z,
|
|
2982
|
+
"hue-rotate": [z, S, T]
|
|
2984
2983
|
}],
|
|
2985
2984
|
/**
|
|
2986
2985
|
* Invert
|
|
2987
2986
|
* @see https://tailwindcss.com/docs/invert
|
|
2988
2987
|
*/
|
|
2989
2988
|
invert: [{
|
|
2990
|
-
invert: ["", z,
|
|
2989
|
+
invert: ["", z, S, T]
|
|
2991
2990
|
}],
|
|
2992
2991
|
/**
|
|
2993
2992
|
* Saturate
|
|
2994
2993
|
* @see https://tailwindcss.com/docs/saturate
|
|
2995
2994
|
*/
|
|
2996
2995
|
saturate: [{
|
|
2997
|
-
saturate: [z,
|
|
2996
|
+
saturate: [z, S, T]
|
|
2998
2997
|
}],
|
|
2999
2998
|
/**
|
|
3000
2999
|
* Sepia
|
|
3001
3000
|
* @see https://tailwindcss.com/docs/sepia
|
|
3002
3001
|
*/
|
|
3003
3002
|
sepia: [{
|
|
3004
|
-
sepia: ["", z,
|
|
3003
|
+
sepia: ["", z, S, T]
|
|
3005
3004
|
}],
|
|
3006
3005
|
/**
|
|
3007
3006
|
* Backdrop Filter
|
|
@@ -3012,8 +3011,8 @@ const te = (e) => {
|
|
|
3012
3011
|
// Deprecated since Tailwind CSS v3.0.0
|
|
3013
3012
|
"",
|
|
3014
3013
|
"none",
|
|
3015
|
-
|
|
3016
|
-
|
|
3014
|
+
S,
|
|
3015
|
+
T
|
|
3017
3016
|
]
|
|
3018
3017
|
}],
|
|
3019
3018
|
/**
|
|
@@ -3028,56 +3027,56 @@ const te = (e) => {
|
|
|
3028
3027
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3029
3028
|
*/
|
|
3030
3029
|
"backdrop-brightness": [{
|
|
3031
|
-
"backdrop-brightness": [z,
|
|
3030
|
+
"backdrop-brightness": [z, S, T]
|
|
3032
3031
|
}],
|
|
3033
3032
|
/**
|
|
3034
3033
|
* Backdrop Contrast
|
|
3035
3034
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3036
3035
|
*/
|
|
3037
3036
|
"backdrop-contrast": [{
|
|
3038
|
-
"backdrop-contrast": [z,
|
|
3037
|
+
"backdrop-contrast": [z, S, T]
|
|
3039
3038
|
}],
|
|
3040
3039
|
/**
|
|
3041
3040
|
* Backdrop Grayscale
|
|
3042
3041
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3043
3042
|
*/
|
|
3044
3043
|
"backdrop-grayscale": [{
|
|
3045
|
-
"backdrop-grayscale": ["", z,
|
|
3044
|
+
"backdrop-grayscale": ["", z, S, T]
|
|
3046
3045
|
}],
|
|
3047
3046
|
/**
|
|
3048
3047
|
* Backdrop Hue Rotate
|
|
3049
3048
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3050
3049
|
*/
|
|
3051
3050
|
"backdrop-hue-rotate": [{
|
|
3052
|
-
"backdrop-hue-rotate": [z,
|
|
3051
|
+
"backdrop-hue-rotate": [z, S, T]
|
|
3053
3052
|
}],
|
|
3054
3053
|
/**
|
|
3055
3054
|
* Backdrop Invert
|
|
3056
3055
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3057
3056
|
*/
|
|
3058
3057
|
"backdrop-invert": [{
|
|
3059
|
-
"backdrop-invert": ["", z,
|
|
3058
|
+
"backdrop-invert": ["", z, S, T]
|
|
3060
3059
|
}],
|
|
3061
3060
|
/**
|
|
3062
3061
|
* Backdrop Opacity
|
|
3063
3062
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3064
3063
|
*/
|
|
3065
3064
|
"backdrop-opacity": [{
|
|
3066
|
-
"backdrop-opacity": [z,
|
|
3065
|
+
"backdrop-opacity": [z, S, T]
|
|
3067
3066
|
}],
|
|
3068
3067
|
/**
|
|
3069
3068
|
* Backdrop Saturate
|
|
3070
3069
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3071
3070
|
*/
|
|
3072
3071
|
"backdrop-saturate": [{
|
|
3073
|
-
"backdrop-saturate": [z,
|
|
3072
|
+
"backdrop-saturate": [z, S, T]
|
|
3074
3073
|
}],
|
|
3075
3074
|
/**
|
|
3076
3075
|
* Backdrop Sepia
|
|
3077
3076
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3078
3077
|
*/
|
|
3079
3078
|
"backdrop-sepia": [{
|
|
3080
|
-
"backdrop-sepia": ["", z,
|
|
3079
|
+
"backdrop-sepia": ["", z, S, T]
|
|
3081
3080
|
}],
|
|
3082
3081
|
// --------------
|
|
3083
3082
|
// --- Tables ---
|
|
@@ -3132,7 +3131,7 @@ const te = (e) => {
|
|
|
3132
3131
|
* @see https://tailwindcss.com/docs/transition-property
|
|
3133
3132
|
*/
|
|
3134
3133
|
transition: [{
|
|
3135
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
3134
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", S, T]
|
|
3136
3135
|
}],
|
|
3137
3136
|
/**
|
|
3138
3137
|
* Transition Behavior
|
|
@@ -3146,28 +3145,28 @@ const te = (e) => {
|
|
|
3146
3145
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3147
3146
|
*/
|
|
3148
3147
|
duration: [{
|
|
3149
|
-
duration: [z, "initial",
|
|
3148
|
+
duration: [z, "initial", S, T]
|
|
3150
3149
|
}],
|
|
3151
3150
|
/**
|
|
3152
3151
|
* Transition Timing Function
|
|
3153
3152
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3154
3153
|
*/
|
|
3155
3154
|
ease: [{
|
|
3156
|
-
ease: ["linear", "initial", x,
|
|
3155
|
+
ease: ["linear", "initial", x, S, T]
|
|
3157
3156
|
}],
|
|
3158
3157
|
/**
|
|
3159
3158
|
* Transition Delay
|
|
3160
3159
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3161
3160
|
*/
|
|
3162
3161
|
delay: [{
|
|
3163
|
-
delay: [z,
|
|
3162
|
+
delay: [z, S, T]
|
|
3164
3163
|
}],
|
|
3165
3164
|
/**
|
|
3166
3165
|
* Animation
|
|
3167
3166
|
* @see https://tailwindcss.com/docs/animation
|
|
3168
3167
|
*/
|
|
3169
3168
|
animate: [{
|
|
3170
|
-
animate: ["none", w,
|
|
3169
|
+
animate: ["none", w, S, T]
|
|
3171
3170
|
}],
|
|
3172
3171
|
// ------------------
|
|
3173
3172
|
// --- Transforms ---
|
|
@@ -3184,7 +3183,7 @@ const te = (e) => {
|
|
|
3184
3183
|
* @see https://tailwindcss.com/docs/perspective
|
|
3185
3184
|
*/
|
|
3186
3185
|
perspective: [{
|
|
3187
|
-
perspective: [y,
|
|
3186
|
+
perspective: [y, S, T]
|
|
3188
3187
|
}],
|
|
3189
3188
|
/**
|
|
3190
3189
|
* Perspective Origin
|
|
@@ -3280,7 +3279,7 @@ const te = (e) => {
|
|
|
3280
3279
|
* @see https://tailwindcss.com/docs/transform
|
|
3281
3280
|
*/
|
|
3282
3281
|
transform: [{
|
|
3283
|
-
transform: [
|
|
3282
|
+
transform: [S, T, "", "none", "gpu", "cpu"]
|
|
3284
3283
|
}],
|
|
3285
3284
|
/**
|
|
3286
3285
|
* Transform Origin
|
|
@@ -3365,7 +3364,7 @@ const te = (e) => {
|
|
|
3365
3364
|
* @see https://tailwindcss.com/docs/cursor
|
|
3366
3365
|
*/
|
|
3367
3366
|
cursor: [{
|
|
3368
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
3367
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", S, T]
|
|
3369
3368
|
}],
|
|
3370
3369
|
/**
|
|
3371
3370
|
* Field Sizing
|
|
@@ -3587,7 +3586,7 @@ const te = (e) => {
|
|
|
3587
3586
|
* @see https://tailwindcss.com/docs/will-change
|
|
3588
3587
|
*/
|
|
3589
3588
|
"will-change": [{
|
|
3590
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3589
|
+
"will-change": ["auto", "scroll", "contents", "transform", S, T]
|
|
3591
3590
|
}],
|
|
3592
3591
|
// -----------
|
|
3593
3592
|
// --- SVG ---
|
|
@@ -3604,7 +3603,7 @@ const te = (e) => {
|
|
|
3604
3603
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3605
3604
|
*/
|
|
3606
3605
|
"stroke-w": [{
|
|
3607
|
-
stroke: [z, Ze,
|
|
3606
|
+
stroke: [z, Ze, Le, Nt]
|
|
3608
3607
|
}],
|
|
3609
3608
|
/**
|
|
3610
3609
|
* Stroke
|
|
@@ -3858,7 +3857,7 @@ function yi(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3858
3857
|
return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
|
|
3859
3858
|
}, [r, t]);
|
|
3860
3859
|
}
|
|
3861
|
-
var vi = "DismissableLayer",
|
|
3860
|
+
var vi = "DismissableLayer", $t = "dismissableLayer.update", bi = "dismissableLayer.pointerDownOutside", xi = "dismissableLayer.focusOutside", Rr, sn = m.createContext({
|
|
3862
3861
|
layers: /* @__PURE__ */ new Set(),
|
|
3863
3862
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3864
3863
|
branches: /* @__PURE__ */ new Set()
|
|
@@ -3872,9 +3871,9 @@ var vi = "DismissableLayer", Lt = "dismissableLayer.update", bi = "dismissableLa
|
|
|
3872
3871
|
onInteractOutside: s,
|
|
3873
3872
|
onDismiss: c,
|
|
3874
3873
|
...a
|
|
3875
|
-
} = e, d = m.useContext(sn), [u, f] = m.useState(null), p = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = m.useState({}), g = Me(t, (E) => f(E)), y = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), x = y.indexOf(b), w = u ? y.indexOf(u) : -1, O = d.layersWithOutsidePointerEventsDisabled.size > 0,
|
|
3874
|
+
} = e, d = m.useContext(sn), [u, f] = m.useState(null), p = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = m.useState({}), g = Me(t, (E) => f(E)), y = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), x = y.indexOf(b), w = u ? y.indexOf(u) : -1, O = d.layersWithOutsidePointerEventsDisabled.size > 0, C = w >= x, D = _i((E) => {
|
|
3876
3875
|
const k = E.target, j = [...d.branches].some((B) => B.contains(k));
|
|
3877
|
-
!
|
|
3876
|
+
!C || j || (o == null || o(E), s == null || s(E), E.defaultPrevented || c == null || c());
|
|
3878
3877
|
}, p), N = Ei((E) => {
|
|
3879
3878
|
const k = E.target;
|
|
3880
3879
|
[...d.branches].some((j) => j.contains(k)) || (i == null || i(E), s == null || s(E), E.defaultPrevented || c == null || c());
|
|
@@ -3883,21 +3882,21 @@ var vi = "DismissableLayer", Lt = "dismissableLayer.update", bi = "dismissableLa
|
|
|
3883
3882
|
w === d.layers.size - 1 && (n == null || n(E), !E.defaultPrevented && c && (E.preventDefault(), c()));
|
|
3884
3883
|
}, p), m.useEffect(() => {
|
|
3885
3884
|
if (u)
|
|
3886
|
-
return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (Rr = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(u)), d.layers.add(u),
|
|
3885
|
+
return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (Rr = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(u)), d.layers.add(u), Cr(), () => {
|
|
3887
3886
|
r && d.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = Rr);
|
|
3888
3887
|
};
|
|
3889
3888
|
}, [u, p, r, d]), m.useEffect(() => () => {
|
|
3890
|
-
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
3889
|
+
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), Cr());
|
|
3891
3890
|
}, [u, d]), m.useEffect(() => {
|
|
3892
3891
|
const E = () => h({});
|
|
3893
|
-
return document.addEventListener(
|
|
3892
|
+
return document.addEventListener($t, E), () => document.removeEventListener($t, E);
|
|
3894
3893
|
}, []), /* @__PURE__ */ P.jsx(
|
|
3895
3894
|
je.div,
|
|
3896
3895
|
{
|
|
3897
3896
|
...a,
|
|
3898
3897
|
ref: g,
|
|
3899
3898
|
style: {
|
|
3900
|
-
pointerEvents: O ?
|
|
3899
|
+
pointerEvents: O ? C ? "auto" : "none" : void 0,
|
|
3901
3900
|
...e.style
|
|
3902
3901
|
},
|
|
3903
3902
|
onFocusCapture: we(e.onFocusCapture, N.onFocusCapture),
|
|
@@ -3966,8 +3965,8 @@ function Ei(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3966
3965
|
onBlurCapture: () => n.current = !1
|
|
3967
3966
|
};
|
|
3968
3967
|
}
|
|
3969
|
-
function
|
|
3970
|
-
const e = new CustomEvent(
|
|
3968
|
+
function Cr() {
|
|
3969
|
+
const e = new CustomEvent($t);
|
|
3971
3970
|
document.dispatchEvent(e);
|
|
3972
3971
|
}
|
|
3973
3972
|
function ln(e, t, r, { discrete: n }) {
|
|
@@ -3976,14 +3975,14 @@ function ln(e, t, r, { discrete: n }) {
|
|
|
3976
3975
|
}
|
|
3977
3976
|
var Oe = globalThis != null && globalThis.document ? m.useLayoutEffect : () => {
|
|
3978
3977
|
}, Ri = m[" useId ".trim().toString()] || (() => {
|
|
3979
|
-
}),
|
|
3980
|
-
function
|
|
3978
|
+
}), Ci = 0;
|
|
3979
|
+
function Ti(e) {
|
|
3981
3980
|
const [t, r] = m.useState(Ri());
|
|
3982
3981
|
return Oe(() => {
|
|
3983
|
-
r((n) => n ?? String(
|
|
3982
|
+
r((n) => n ?? String(Ci++));
|
|
3984
3983
|
}, [e]), t ? `radix-${t}` : "";
|
|
3985
3984
|
}
|
|
3986
|
-
const
|
|
3985
|
+
const Si = ["top", "right", "bottom", "left"], Pe = Math.min, ie = Math.max, ft = Math.round, ct = Math.floor, me = (e) => ({
|
|
3987
3986
|
x: e,
|
|
3988
3987
|
y: e
|
|
3989
3988
|
}), Oi = {
|
|
@@ -4030,12 +4029,12 @@ function Ni(e) {
|
|
|
4030
4029
|
function Mt(e) {
|
|
4031
4030
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
4032
4031
|
}
|
|
4033
|
-
const
|
|
4032
|
+
const Tr = ["left", "right"], Sr = ["right", "left"], ji = ["top", "bottom"], Di = ["bottom", "top"];
|
|
4034
4033
|
function Ai(e, t, r) {
|
|
4035
4034
|
switch (e) {
|
|
4036
4035
|
case "top":
|
|
4037
4036
|
case "bottom":
|
|
4038
|
-
return r ? t ?
|
|
4037
|
+
return r ? t ? Sr : Tr : t ? Tr : Sr;
|
|
4039
4038
|
case "left":
|
|
4040
4039
|
case "right":
|
|
4041
4040
|
return t ? ji : Di;
|
|
@@ -4135,7 +4134,7 @@ function Or(e, t, r) {
|
|
|
4135
4134
|
}
|
|
4136
4135
|
return h;
|
|
4137
4136
|
}
|
|
4138
|
-
async function
|
|
4137
|
+
async function Li(e, t) {
|
|
4139
4138
|
var r;
|
|
4140
4139
|
t === void 0 && (t = {});
|
|
4141
4140
|
const {
|
|
@@ -4167,20 +4166,20 @@ async function $i(e, t) {
|
|
|
4167
4166
|
} : {
|
|
4168
4167
|
x: 1,
|
|
4169
4168
|
y: 1
|
|
4170
|
-
},
|
|
4169
|
+
}, C = mt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4171
4170
|
elements: c,
|
|
4172
4171
|
rect: x,
|
|
4173
4172
|
offsetParent: w,
|
|
4174
4173
|
strategy: a
|
|
4175
4174
|
}) : x);
|
|
4176
4175
|
return {
|
|
4177
|
-
top: (b.top -
|
|
4178
|
-
bottom: (
|
|
4179
|
-
left: (b.left -
|
|
4180
|
-
right: (
|
|
4176
|
+
top: (b.top - C.top + g.top) / O.y,
|
|
4177
|
+
bottom: (C.bottom - b.bottom + g.bottom) / O.y,
|
|
4178
|
+
left: (b.left - C.left + g.left) / O.x,
|
|
4179
|
+
right: (C.right - b.right + g.right) / O.x
|
|
4181
4180
|
};
|
|
4182
4181
|
}
|
|
4183
|
-
const
|
|
4182
|
+
const $i = 50, Ii = async (e, t, r) => {
|
|
4184
4183
|
const {
|
|
4185
4184
|
placement: n = "bottom",
|
|
4186
4185
|
strategy: o = "absolute",
|
|
@@ -4188,7 +4187,7 @@ const Li = 50, Ii = async (e, t, r) => {
|
|
|
4188
4187
|
platform: s
|
|
4189
4188
|
} = r, c = s.detectOverflow ? s : {
|
|
4190
4189
|
...s,
|
|
4191
|
-
detectOverflow:
|
|
4190
|
+
detectOverflow: Li
|
|
4192
4191
|
}, a = await (s.isRTL == null ? void 0 : s.isRTL(t));
|
|
4193
4192
|
let d = await s.getElementRects({
|
|
4194
4193
|
reference: e,
|
|
@@ -4208,7 +4207,7 @@ const Li = 50, Ii = async (e, t, r) => {
|
|
|
4208
4207
|
fn: w
|
|
4209
4208
|
} = b, {
|
|
4210
4209
|
x: O,
|
|
4211
|
-
y:
|
|
4210
|
+
y: C,
|
|
4212
4211
|
data: D,
|
|
4213
4212
|
reset: N
|
|
4214
4213
|
} = await w({
|
|
@@ -4225,10 +4224,10 @@ const Li = 50, Ii = async (e, t, r) => {
|
|
|
4225
4224
|
floating: t
|
|
4226
4225
|
}
|
|
4227
4226
|
});
|
|
4228
|
-
u = O ?? u, f =
|
|
4227
|
+
u = O ?? u, f = C ?? f, g[x] = {
|
|
4229
4228
|
...g[x],
|
|
4230
4229
|
...D
|
|
4231
|
-
}, N && h <
|
|
4230
|
+
}, N && h < $i && (h++, typeof N == "object" && (N.placement && (p = N.placement), N.rects && (d = N.rects === !0 ? await s.getElementRects({
|
|
4232
4231
|
reference: e,
|
|
4233
4232
|
floating: t,
|
|
4234
4233
|
strategy: o
|
|
@@ -4265,15 +4264,15 @@ const Li = 50, Ii = async (e, t, r) => {
|
|
|
4265
4264
|
const f = cn(u), p = {
|
|
4266
4265
|
x: r,
|
|
4267
4266
|
y: n
|
|
4268
|
-
}, h = Gt(o), g = Yt(h), y = await s.getDimensions(d), b = h === "y", x = b ? "top" : "left", w = b ? "bottom" : "right", O = b ? "clientHeight" : "clientWidth",
|
|
4267
|
+
}, h = Gt(o), g = Yt(h), y = await s.getDimensions(d), b = h === "y", x = b ? "top" : "left", w = b ? "bottom" : "right", O = b ? "clientHeight" : "clientWidth", C = i.reference[g] + i.reference[h] - p[h] - i.floating[g], D = p[h] - i.reference[h], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
|
|
4269
4268
|
let E = N ? N[O] : 0;
|
|
4270
4269
|
(!E || !await (s.isElement == null ? void 0 : s.isElement(N))) && (E = c.floating[O] || i.floating[g]);
|
|
4271
|
-
const k =
|
|
4270
|
+
const k = C / 2 - D / 2, j = E / 2 - y[g] / 2 - 1, B = Pe(f[x], j), J = Pe(f[w], j), Y = B, V = E - y[g] - J, L = E / 2 - y[g] / 2 + k, X = It(Y, L, V), I = !a.arrow && Je(o) != null && L !== X && i.reference[g] / 2 - (L < Y ? B : J) - y[g] / 2 < 0, M = I ? L < Y ? L - Y : L - V : 0;
|
|
4272
4271
|
return {
|
|
4273
4272
|
[h]: p[h] + M,
|
|
4274
4273
|
data: {
|
|
4275
4274
|
[h]: X,
|
|
4276
|
-
centerOffset:
|
|
4275
|
+
centerOffset: L - X - M,
|
|
4277
4276
|
...I && {
|
|
4278
4277
|
alignmentOffset: M
|
|
4279
4278
|
}
|
|
@@ -4305,26 +4304,26 @@ const Li = 50, Ii = async (e, t, r) => {
|
|
|
4305
4304
|
} = ke(e, t);
|
|
4306
4305
|
if ((r = i.arrow) != null && r.alignmentOffset)
|
|
4307
4306
|
return {};
|
|
4308
|
-
const x = _e(o), w = pe(c), O = _e(c) === c,
|
|
4309
|
-
!p && N && D.push(...zi(c, y, g,
|
|
4307
|
+
const x = _e(o), w = pe(c), O = _e(c) === c, C = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), D = p || (O || !y ? [pt(c)] : Ni(c)), N = g !== "none";
|
|
4308
|
+
!p && N && D.push(...zi(c, y, g, C));
|
|
4310
4309
|
const E = [c, ...D], k = await a.detectOverflow(t, b), j = [];
|
|
4311
4310
|
let B = ((n = i.flip) == null ? void 0 : n.overflows) || [];
|
|
4312
4311
|
if (u && j.push(k[x]), f) {
|
|
4313
|
-
const
|
|
4314
|
-
j.push(k[
|
|
4312
|
+
const L = Pi(o, s, C);
|
|
4313
|
+
j.push(k[L[0]], k[L[1]]);
|
|
4315
4314
|
}
|
|
4316
4315
|
if (B = [...B, {
|
|
4317
4316
|
placement: o,
|
|
4318
4317
|
overflows: j
|
|
4319
|
-
}], !j.every((
|
|
4318
|
+
}], !j.every((L) => L <= 0)) {
|
|
4320
4319
|
var J, Y;
|
|
4321
|
-
const
|
|
4320
|
+
const L = (((J = i.flip) == null ? void 0 : J.index) || 0) + 1, X = E[L];
|
|
4322
4321
|
if (X && (!(f === "alignment" && w !== pe(X)) || // We leave the current main axis only if every placement on that axis
|
|
4323
4322
|
// overflows the main axis.
|
|
4324
4323
|
B.every((M) => pe(M.placement) === w ? M.overflows[0] > 0 : !0)))
|
|
4325
4324
|
return {
|
|
4326
4325
|
data: {
|
|
4327
|
-
index:
|
|
4326
|
+
index: L,
|
|
4328
4327
|
overflows: B
|
|
4329
4328
|
},
|
|
4330
4329
|
reset: {
|
|
@@ -4372,7 +4371,7 @@ function Pr(e, t) {
|
|
|
4372
4371
|
};
|
|
4373
4372
|
}
|
|
4374
4373
|
function Nr(e) {
|
|
4375
|
-
return
|
|
4374
|
+
return Si.some((t) => e[t] >= 0);
|
|
4376
4375
|
}
|
|
4377
4376
|
const Bi = function(e) {
|
|
4378
4377
|
return e === void 0 && (e = {}), {
|
|
@@ -4498,12 +4497,12 @@ const Vi = function(e) {
|
|
|
4498
4497
|
}, f = await i.detectOverflow(t, d), p = pe(_e(o)), h = Ut(p);
|
|
4499
4498
|
let g = u[h], y = u[p];
|
|
4500
4499
|
if (s) {
|
|
4501
|
-
const x = h === "y" ? "top" : "left", w = h === "y" ? "bottom" : "right", O = g + f[x],
|
|
4502
|
-
g = It(O, g,
|
|
4500
|
+
const x = h === "y" ? "top" : "left", w = h === "y" ? "bottom" : "right", O = g + f[x], C = g - f[w];
|
|
4501
|
+
g = It(O, g, C);
|
|
4503
4502
|
}
|
|
4504
4503
|
if (c) {
|
|
4505
|
-
const x = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", O = y + f[x],
|
|
4506
|
-
y = It(O, y,
|
|
4504
|
+
const x = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", O = y + f[x], C = y - f[w];
|
|
4505
|
+
y = It(O, y, C);
|
|
4507
4506
|
}
|
|
4508
4507
|
const b = a.fn({
|
|
4509
4508
|
...t,
|
|
@@ -4551,12 +4550,12 @@ const Vi = function(e) {
|
|
|
4551
4550
|
...y
|
|
4552
4551
|
};
|
|
4553
4552
|
if (a) {
|
|
4554
|
-
const O = p === "y" ? "height" : "width",
|
|
4555
|
-
h <
|
|
4553
|
+
const O = p === "y" ? "height" : "width", C = i.reference[p] - i.floating[O] + b.mainAxis, D = i.reference[p] + i.reference[O] - b.mainAxis;
|
|
4554
|
+
h < C ? h = C : h > D && (h = D);
|
|
4556
4555
|
}
|
|
4557
4556
|
if (d) {
|
|
4558
4557
|
var x, w;
|
|
4559
|
-
const O = p === "y" ? "width" : "height",
|
|
4558
|
+
const O = p === "y" ? "width" : "height", C = un.has(_e(o)), D = i.reference[f] - i.floating[O] + (C && ((x = s.offset) == null ? void 0 : x[f]) || 0) + (C ? 0 : b.crossAxis), N = i.reference[f] + i.reference[O] + (C ? 0 : ((w = s.offset) == null ? void 0 : w[f]) || 0) - (C ? b.crossAxis : 0);
|
|
4560
4559
|
g < D ? g = D : g > N && (g = N);
|
|
4561
4560
|
}
|
|
4562
4561
|
return {
|
|
@@ -4586,8 +4585,8 @@ const Vi = function(e) {
|
|
|
4586
4585
|
} = i.floating;
|
|
4587
4586
|
let b, x;
|
|
4588
4587
|
f === "top" || f === "bottom" ? (b = f, x = p === (await (s.isRTL == null ? void 0 : s.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, b = p === "end" ? "top" : "bottom");
|
|
4589
|
-
const w = y - u.top - u.bottom, O = g - u.left - u.right,
|
|
4590
|
-
let E =
|
|
4588
|
+
const w = y - u.top - u.bottom, O = g - u.left - u.right, C = Pe(y - u[b], w), D = Pe(g - u[x], O), N = !t.middlewareData.shift;
|
|
4589
|
+
let E = C, k = D;
|
|
4591
4590
|
if ((r = t.middlewareData.shift) != null && r.enabled.x && (k = O), (n = t.middlewareData.shift) != null && n.enabled.y && (E = w), N && !p) {
|
|
4592
4591
|
const B = ie(u.left, 0), J = ie(u.right, 0), Y = ie(u.top, 0), V = ie(u.bottom, 0);
|
|
4593
4592
|
h ? k = g - 2 * (B !== 0 || J !== 0 ? B + J : ie(u.left, u.right)) : E = y - 2 * (Y !== 0 || V !== 0 ? Y + V : ie(u.top, u.bottom));
|
|
@@ -4656,11 +4655,11 @@ function vt(e) {
|
|
|
4656
4655
|
return !1;
|
|
4657
4656
|
}
|
|
4658
4657
|
}
|
|
4659
|
-
const Ki = /transform|translate|scale|rotate|perspective|filter/, Ji = /paint|layout|strict|content/,
|
|
4658
|
+
const Ki = /transform|translate|scale|rotate|perspective|filter/, Ji = /paint|layout|strict|content/, $e = (e) => !!e && e !== "none";
|
|
4660
4659
|
let jt;
|
|
4661
4660
|
function Xt(e) {
|
|
4662
4661
|
const t = ue(e) ? de(e) : e;
|
|
4663
|
-
return
|
|
4662
|
+
return $e(t.transform) || $e(t.translate) || $e(t.scale) || $e(t.rotate) || $e(t.perspective) || !Kt() && ($e(t.backdropFilter) || $e(t.filter)) || Ki.test(t.willChange || "") || Ji.test(t.contain || "");
|
|
4664
4663
|
}
|
|
4665
4664
|
function Qi(e) {
|
|
4666
4665
|
let t = Ne(e);
|
|
@@ -4770,8 +4769,8 @@ function Ie(e, t, r, n) {
|
|
|
4770
4769
|
const p = se(i), h = n && ue(n) ? se(n) : n;
|
|
4771
4770
|
let g = p, y = Wt(g);
|
|
4772
4771
|
for (; y && n && h !== g; ) {
|
|
4773
|
-
const b = Ue(y), x = y.getBoundingClientRect(), w = de(y), O = x.left + (y.clientLeft + parseFloat(w.paddingLeft)) * b.x,
|
|
4774
|
-
a *= b.x, d *= b.y, u *= b.x, f *= b.y, a += O, d +=
|
|
4772
|
+
const b = Ue(y), x = y.getBoundingClientRect(), w = de(y), O = x.left + (y.clientLeft + parseFloat(w.paddingLeft)) * b.x, C = x.top + (y.clientTop + parseFloat(w.paddingTop)) * b.y;
|
|
4773
|
+
a *= b.x, d *= b.y, u *= b.x, f *= b.y, a += O, d += C, g = se(y), y = Wt(g);
|
|
4775
4774
|
}
|
|
4776
4775
|
}
|
|
4777
4776
|
return mt({
|
|
@@ -5034,7 +5033,7 @@ function fs(e, t) {
|
|
|
5034
5033
|
threshold: ie(0, Pe(1, a)) || 1
|
|
5035
5034
|
};
|
|
5036
5035
|
let O = !0;
|
|
5037
|
-
function
|
|
5036
|
+
function C(D) {
|
|
5038
5037
|
const N = D[0].intersectionRatio;
|
|
5039
5038
|
if (N !== a) {
|
|
5040
5039
|
if (!O)
|
|
@@ -5046,13 +5045,13 @@ function fs(e, t) {
|
|
|
5046
5045
|
N === 1 && !vn(d, e.getBoundingClientRect()) && s(), O = !1;
|
|
5047
5046
|
}
|
|
5048
5047
|
try {
|
|
5049
|
-
r = new IntersectionObserver(
|
|
5048
|
+
r = new IntersectionObserver(C, {
|
|
5050
5049
|
...w,
|
|
5051
5050
|
// Handle <iframe>s
|
|
5052
5051
|
root: o.ownerDocument
|
|
5053
5052
|
});
|
|
5054
5053
|
} catch {
|
|
5055
|
-
r = new IntersectionObserver(
|
|
5054
|
+
r = new IntersectionObserver(C, w);
|
|
5056
5055
|
}
|
|
5057
5056
|
r.observe(e);
|
|
5058
5057
|
}
|
|
@@ -5142,7 +5141,7 @@ function ht(e, t) {
|
|
|
5142
5141
|
function bn(e) {
|
|
5143
5142
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5144
5143
|
}
|
|
5145
|
-
function
|
|
5144
|
+
function Lr(e, t) {
|
|
5146
5145
|
const r = bn(e);
|
|
5147
5146
|
return Math.round(t * r) / r;
|
|
5148
5147
|
}
|
|
@@ -5179,7 +5178,7 @@ function _s(e) {
|
|
|
5179
5178
|
_ !== N.current && (N.current = _, y(_));
|
|
5180
5179
|
}, []), O = m.useCallback((_) => {
|
|
5181
5180
|
_ !== E.current && (E.current = _, x(_));
|
|
5182
|
-
}, []),
|
|
5181
|
+
}, []), C = i || g, D = s || b, N = m.useRef(null), E = m.useRef(null), k = m.useRef(u), j = a != null, B = At(a), J = At(o), Y = At(d), V = m.useCallback(() => {
|
|
5183
5182
|
if (!N.current || !E.current)
|
|
5184
5183
|
return;
|
|
5185
5184
|
const _ = {
|
|
@@ -5196,7 +5195,7 @@ function _s(e) {
|
|
|
5196
5195
|
// setting it to `true` when `open === false` (must be specified).
|
|
5197
5196
|
isPositioned: Y.current !== !1
|
|
5198
5197
|
};
|
|
5199
|
-
|
|
5198
|
+
L.current && !ht(k.current, re) && (k.current = re, Br.flushSync(() => {
|
|
5200
5199
|
f(re);
|
|
5201
5200
|
}));
|
|
5202
5201
|
});
|
|
@@ -5207,25 +5206,25 @@ function _s(e) {
|
|
|
5207
5206
|
isPositioned: !1
|
|
5208
5207
|
})));
|
|
5209
5208
|
}, [d]);
|
|
5210
|
-
const
|
|
5211
|
-
dt(() => (
|
|
5212
|
-
|
|
5209
|
+
const L = m.useRef(!1);
|
|
5210
|
+
dt(() => (L.current = !0, () => {
|
|
5211
|
+
L.current = !1;
|
|
5213
5212
|
}), []), dt(() => {
|
|
5214
|
-
if (
|
|
5213
|
+
if (C && (N.current = C), D && (E.current = D), C && D) {
|
|
5215
5214
|
if (B.current)
|
|
5216
|
-
return B.current(
|
|
5215
|
+
return B.current(C, D, V);
|
|
5217
5216
|
V();
|
|
5218
5217
|
}
|
|
5219
|
-
}, [
|
|
5218
|
+
}, [C, D, V, B, j]);
|
|
5220
5219
|
const X = m.useMemo(() => ({
|
|
5221
5220
|
reference: N,
|
|
5222
5221
|
floating: E,
|
|
5223
5222
|
setReference: w,
|
|
5224
5223
|
setFloating: O
|
|
5225
5224
|
}), [w, O]), I = m.useMemo(() => ({
|
|
5226
|
-
reference:
|
|
5225
|
+
reference: C,
|
|
5227
5226
|
floating: D
|
|
5228
|
-
}), [
|
|
5227
|
+
}), [C, D]), M = m.useMemo(() => {
|
|
5229
5228
|
const _ = {
|
|
5230
5229
|
position: r,
|
|
5231
5230
|
left: 0,
|
|
@@ -5233,7 +5232,7 @@ function _s(e) {
|
|
|
5233
5232
|
};
|
|
5234
5233
|
if (!I.floating)
|
|
5235
5234
|
return _;
|
|
5236
|
-
const K =
|
|
5235
|
+
const K = Lr(I.floating, u.x), re = Lr(I.floating, u.y);
|
|
5237
5236
|
return c ? {
|
|
5238
5237
|
..._,
|
|
5239
5238
|
transform: "translate(" + K + "px, " + re + "px)",
|
|
@@ -5282,17 +5281,17 @@ const Es = (e) => {
|
|
|
5282
5281
|
fn: r.fn,
|
|
5283
5282
|
options: [e, t]
|
|
5284
5283
|
};
|
|
5285
|
-
},
|
|
5284
|
+
}, Cs = (e, t) => {
|
|
5286
5285
|
const r = hs(e);
|
|
5287
5286
|
return {
|
|
5288
5287
|
name: r.name,
|
|
5289
5288
|
fn: r.fn,
|
|
5290
5289
|
options: [e, t]
|
|
5291
5290
|
};
|
|
5292
|
-
},
|
|
5291
|
+
}, Ts = (e, t) => ({
|
|
5293
5292
|
fn: bs(e).fn,
|
|
5294
5293
|
options: [e, t]
|
|
5295
|
-
}),
|
|
5294
|
+
}), Ss = (e, t) => {
|
|
5296
5295
|
const r = gs(e);
|
|
5297
5296
|
return {
|
|
5298
5297
|
name: r.name,
|
|
@@ -5365,7 +5364,7 @@ var Qt = "Popper", [wn, kn] = nn(Qt), [zs, _n] = wn(Qt), En = (e) => {
|
|
|
5365
5364
|
return /* @__PURE__ */ P.jsx(zs, { scope: t, anchor: n, onAnchorChange: o, children: r });
|
|
5366
5365
|
};
|
|
5367
5366
|
En.displayName = Qt;
|
|
5368
|
-
var Rn = "PopperAnchor",
|
|
5367
|
+
var Rn = "PopperAnchor", Cn = m.forwardRef(
|
|
5369
5368
|
(e, t) => {
|
|
5370
5369
|
const { __scopePopper: r, virtualRef: n, ...o } = e, i = _n(Rn, r), s = m.useRef(null), c = Me(t, s), a = m.useRef(null);
|
|
5371
5370
|
return m.useEffect(() => {
|
|
@@ -5374,8 +5373,8 @@ var Rn = "PopperAnchor", Tn = m.forwardRef(
|
|
|
5374
5373
|
}), n ? null : /* @__PURE__ */ P.jsx(je.div, { ...o, ref: c });
|
|
5375
5374
|
}
|
|
5376
5375
|
);
|
|
5377
|
-
|
|
5378
|
-
var qt = "PopperContent", [Fs,
|
|
5376
|
+
Cn.displayName = Rn;
|
|
5377
|
+
var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = m.forwardRef(
|
|
5379
5378
|
(e, t) => {
|
|
5380
5379
|
var r, n, o, i, s, c;
|
|
5381
5380
|
const {
|
|
@@ -5391,14 +5390,14 @@ var qt = "PopperContent", [Fs, $s] = wn(qt), Sn = m.forwardRef(
|
|
|
5391
5390
|
sticky: x = "partial",
|
|
5392
5391
|
hideWhenDetached: w = !1,
|
|
5393
5392
|
updatePositionStrategy: O = "optimized",
|
|
5394
|
-
onPlaced:
|
|
5393
|
+
onPlaced: C,
|
|
5395
5394
|
...D
|
|
5396
|
-
} = e, N = _n(qt, a), [E, k] = m.useState(null), j = Me(t, (Ae) => k(Ae)), [B, J] = m.useState(null), Y = As(B), V = (Y == null ? void 0 : Y.width) ?? 0,
|
|
5395
|
+
} = e, N = _n(qt, a), [E, k] = m.useState(null), j = Me(t, (Ae) => k(Ae)), [B, J] = m.useState(null), Y = As(B), V = (Y == null ? void 0 : Y.width) ?? 0, L = (Y == null ? void 0 : Y.height) ?? 0, X = d + (f !== "center" ? "-" + f : ""), I = typeof b == "number" ? b : { top: 0, right: 0, bottom: 0, left: 0, ...b }, M = Array.isArray(y) ? y : [y], _ = M.length > 0, K = {
|
|
5397
5396
|
padding: I,
|
|
5398
5397
|
boundary: M.filter(Is),
|
|
5399
5398
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
5400
5399
|
altBoundary: _
|
|
5401
|
-
}, { refs: re, floatingStyles: Re, placement:
|
|
5400
|
+
}, { refs: re, floatingStyles: Re, placement: Ce, isPositioned: Q, middlewareData: q } = _s({
|
|
5402
5401
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
5403
5402
|
strategy: "fixed",
|
|
5404
5403
|
placement: X,
|
|
@@ -5409,14 +5408,14 @@ var qt = "PopperContent", [Fs, $s] = wn(qt), Sn = m.forwardRef(
|
|
|
5409
5408
|
reference: N.anchor
|
|
5410
5409
|
},
|
|
5411
5410
|
middleware: [
|
|
5412
|
-
Rs({ mainAxis: u +
|
|
5413
|
-
g &&
|
|
5411
|
+
Rs({ mainAxis: u + L, alignmentAxis: p }),
|
|
5412
|
+
g && Cs({
|
|
5414
5413
|
mainAxis: !0,
|
|
5415
5414
|
crossAxis: !1,
|
|
5416
|
-
limiter: x === "partial" ?
|
|
5415
|
+
limiter: x === "partial" ? Ts() : void 0,
|
|
5417
5416
|
...K
|
|
5418
5417
|
}),
|
|
5419
|
-
g &&
|
|
5418
|
+
g && Ss({ ...K }),
|
|
5420
5419
|
Os({
|
|
5421
5420
|
...K,
|
|
5422
5421
|
apply: ({ elements: Ae, rects: _t, availableWidth: We, availableHeight: ze }) => {
|
|
@@ -5425,10 +5424,10 @@ var qt = "PopperContent", [Fs, $s] = wn(qt), Sn = m.forwardRef(
|
|
|
5425
5424
|
}
|
|
5426
5425
|
}),
|
|
5427
5426
|
B && Ns({ element: B, padding: h }),
|
|
5428
|
-
Ms({ arrowWidth: V, arrowHeight:
|
|
5427
|
+
Ms({ arrowWidth: V, arrowHeight: L }),
|
|
5429
5428
|
w && Ps({ strategy: "referenceHidden", ...K })
|
|
5430
5429
|
]
|
|
5431
|
-
}), [ge,
|
|
5430
|
+
}), [ge, Te] = Pn(Ce), G = gt(C);
|
|
5432
5431
|
Oe(() => {
|
|
5433
5432
|
Q && (G == null || G());
|
|
5434
5433
|
}, [Q, G]);
|
|
@@ -5472,7 +5471,7 @@ var qt = "PopperContent", [Fs, $s] = wn(qt), Sn = m.forwardRef(
|
|
|
5472
5471
|
je.div,
|
|
5473
5472
|
{
|
|
5474
5473
|
"data-side": ge,
|
|
5475
|
-
"data-align":
|
|
5474
|
+
"data-align": Te,
|
|
5476
5475
|
...D,
|
|
5477
5476
|
ref: j,
|
|
5478
5477
|
style: {
|
|
@@ -5489,14 +5488,14 @@ var qt = "PopperContent", [Fs, $s] = wn(qt), Sn = m.forwardRef(
|
|
|
5489
5488
|
);
|
|
5490
5489
|
}
|
|
5491
5490
|
);
|
|
5492
|
-
|
|
5493
|
-
var
|
|
5491
|
+
Tn.displayName = qt;
|
|
5492
|
+
var Sn = "PopperArrow", $s = {
|
|
5494
5493
|
top: "bottom",
|
|
5495
5494
|
right: "left",
|
|
5496
5495
|
bottom: "top",
|
|
5497
5496
|
left: "right"
|
|
5498
5497
|
}, On = m.forwardRef(function(e, t) {
|
|
5499
|
-
const { __scopePopper: r, ...n } = e, o =
|
|
5498
|
+
const { __scopePopper: r, ...n } = e, o = Ls(Sn, r), i = $s[o.placedSide];
|
|
5500
5499
|
return (
|
|
5501
5500
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
5502
5501
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -5540,7 +5539,7 @@ var Cn = "PopperArrow", Ls = {
|
|
|
5540
5539
|
)
|
|
5541
5540
|
);
|
|
5542
5541
|
});
|
|
5543
|
-
On.displayName =
|
|
5542
|
+
On.displayName = Sn;
|
|
5544
5543
|
function Is(e) {
|
|
5545
5544
|
return e !== null;
|
|
5546
5545
|
}
|
|
@@ -5558,7 +5557,7 @@ function Pn(e) {
|
|
|
5558
5557
|
const [t, r = "center"] = e.split("-");
|
|
5559
5558
|
return [t, r];
|
|
5560
5559
|
}
|
|
5561
|
-
var Ws = En, Bs =
|
|
5560
|
+
var Ws = En, Bs = Cn, Hs = Tn, Vs = On, Us = "Portal", Nn = m.forwardRef((e, t) => {
|
|
5562
5561
|
var r;
|
|
5563
5562
|
const { container: n, ...o } = e, [i, s] = m.useState(!1);
|
|
5564
5563
|
Oe(() => s(!0), []);
|
|
@@ -5750,14 +5749,14 @@ var tt = "Tooltip", [oa, nt] = wt(tt), zn = (e) => {
|
|
|
5750
5749
|
onOpenChange: i,
|
|
5751
5750
|
disableHoverableContent: s,
|
|
5752
5751
|
delayDuration: c
|
|
5753
|
-
} = e, a = er(tt, e.__scopeTooltip), d = kt(t), [u, f] = m.useState(null), p =
|
|
5752
|
+
} = e, a = er(tt, e.__scopeTooltip), d = kt(t), [u, f] = m.useState(null), p = Ti(), h = m.useRef(0), g = s ?? a.disableHoverableContent, y = c ?? a.delayDuration, b = m.useRef(!1), [x, w] = Js({
|
|
5754
5753
|
prop: n,
|
|
5755
5754
|
defaultProp: o ?? !1,
|
|
5756
5755
|
onChange: (E) => {
|
|
5757
5756
|
E ? (a.onOpen(), document.dispatchEvent(new CustomEvent(Bt))) : a.onClose(), i == null || i(E);
|
|
5758
5757
|
},
|
|
5759
5758
|
caller: tt
|
|
5760
|
-
}), O = m.useMemo(() => x ? b.current ? "delayed-open" : "instant-open" : "closed", [x]),
|
|
5759
|
+
}), O = m.useMemo(() => x ? b.current ? "delayed-open" : "instant-open" : "closed", [x]), C = m.useCallback(() => {
|
|
5761
5760
|
window.clearTimeout(h.current), h.current = 0, b.current = !1, w(!0);
|
|
5762
5761
|
}, [w]), D = m.useCallback(() => {
|
|
5763
5762
|
window.clearTimeout(h.current), h.current = 0, w(!1);
|
|
@@ -5778,12 +5777,12 @@ var tt = "Tooltip", [oa, nt] = wt(tt), zn = (e) => {
|
|
|
5778
5777
|
trigger: u,
|
|
5779
5778
|
onTriggerChange: f,
|
|
5780
5779
|
onTriggerEnter: m.useCallback(() => {
|
|
5781
|
-
a.isOpenDelayedRef.current ? N() :
|
|
5782
|
-
}, [a.isOpenDelayedRef, N,
|
|
5780
|
+
a.isOpenDelayedRef.current ? N() : C();
|
|
5781
|
+
}, [a.isOpenDelayedRef, N, C]),
|
|
5783
5782
|
onTriggerLeave: m.useCallback(() => {
|
|
5784
5783
|
g ? D() : (window.clearTimeout(h.current), h.current = 0);
|
|
5785
5784
|
}, [D, g]),
|
|
5786
|
-
onOpen:
|
|
5785
|
+
onOpen: C,
|
|
5787
5786
|
onClose: D,
|
|
5788
5787
|
disableHoverableContent: g,
|
|
5789
5788
|
children: r
|
|
@@ -5822,12 +5821,12 @@ var Ht = "TooltipTrigger", Fn = m.forwardRef(
|
|
|
5822
5821
|
Fn.displayName = Ht;
|
|
5823
5822
|
var tr = "TooltipPortal", [ia, sa] = wt(tr, {
|
|
5824
5823
|
forceMount: void 0
|
|
5825
|
-
}),
|
|
5824
|
+
}), Ln = (e) => {
|
|
5826
5825
|
const { __scopeTooltip: t, forceMount: r, children: n, container: o } = e, i = nt(tr, t);
|
|
5827
5826
|
return /* @__PURE__ */ P.jsx(ia, { scope: t, forceMount: r, children: /* @__PURE__ */ P.jsx(Zt, { present: r || i.open, children: /* @__PURE__ */ P.jsx(Nn, { asChild: !0, container: o, children: n }) }) });
|
|
5828
5827
|
};
|
|
5829
|
-
|
|
5830
|
-
var Ge = "TooltipContent",
|
|
5828
|
+
Ln.displayName = tr;
|
|
5829
|
+
var Ge = "TooltipContent", $n = m.forwardRef(
|
|
5831
5830
|
(e, t) => {
|
|
5832
5831
|
const r = sa(Ge, e.__scopeTooltip), { forceMount: n = r.forceMount, side: o = "top", ...i } = e, s = nt(Ge, e.__scopeTooltip);
|
|
5833
5832
|
return /* @__PURE__ */ P.jsx(Zt, { present: n || s.open, children: s.disableHoverableContent ? /* @__PURE__ */ P.jsx(In, { side: o, ...i, ref: t }) : /* @__PURE__ */ P.jsx(aa, { side: o, ...i, ref: t }) });
|
|
@@ -5837,7 +5836,7 @@ var Ge = "TooltipContent", Ln = m.forwardRef(
|
|
|
5837
5836
|
c(null), f(!1);
|
|
5838
5837
|
}, [f]), h = m.useCallback(
|
|
5839
5838
|
(g, y) => {
|
|
5840
|
-
const b = g.currentTarget, x = { x: g.clientX, y: g.clientY }, w = da(x, b.getBoundingClientRect()), O = fa(x, w),
|
|
5839
|
+
const b = g.currentTarget, x = { x: g.clientX, y: g.clientY }, w = da(x, b.getBoundingClientRect()), O = fa(x, w), C = pa(y.getBoundingClientRect()), D = ha([...O, ...C]);
|
|
5841
5840
|
c(D), f(!0);
|
|
5842
5841
|
},
|
|
5843
5842
|
[f]
|
|
@@ -5910,7 +5909,7 @@ var Ge = "TooltipContent", Ln = m.forwardRef(
|
|
|
5910
5909
|
);
|
|
5911
5910
|
}
|
|
5912
5911
|
);
|
|
5913
|
-
|
|
5912
|
+
$n.displayName = Ge;
|
|
5914
5913
|
var Mn = "TooltipArrow", Wn = m.forwardRef(
|
|
5915
5914
|
(e, t) => {
|
|
5916
5915
|
const { __scopeTooltip: r, ...n } = e, o = kt(r);
|
|
@@ -6013,7 +6012,7 @@ function ga(e) {
|
|
|
6013
6012
|
}
|
|
6014
6013
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
6015
6014
|
}
|
|
6016
|
-
var ya = An, va = zn, ba = Fn, xa =
|
|
6015
|
+
var ya = An, va = zn, ba = Fn, xa = Ln, Bn = $n, wa = Wn;
|
|
6017
6016
|
const Hn = ya, Vn = va, Un = ba, rr = m.forwardRef(
|
|
6018
6017
|
({
|
|
6019
6018
|
className: e,
|
|
@@ -6070,7 +6069,7 @@ const Hn = ya, Vn = va, Un = ba, rr = m.forwardRef(
|
|
|
6070
6069
|
}
|
|
6071
6070
|
);
|
|
6072
6071
|
rr.displayName = Bn.displayName;
|
|
6073
|
-
const ka =
|
|
6072
|
+
const ka = Co(
|
|
6074
6073
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
6075
6074
|
{
|
|
6076
6075
|
variants: {
|
|
@@ -6125,7 +6124,7 @@ const ka = To(
|
|
|
6125
6124
|
outline: { backgroundColor: b }
|
|
6126
6125
|
}[t],
|
|
6127
6126
|
...d
|
|
6128
|
-
},
|
|
6127
|
+
}, C = /* @__PURE__ */ P.jsx(
|
|
6129
6128
|
"button",
|
|
6130
6129
|
{
|
|
6131
6130
|
ref: w,
|
|
@@ -6143,9 +6142,9 @@ const ka = To(
|
|
|
6143
6142
|
}
|
|
6144
6143
|
);
|
|
6145
6144
|
return u ? /* @__PURE__ */ P.jsx(Hn, { children: /* @__PURE__ */ P.jsxs(Vn, { children: [
|
|
6146
|
-
/* @__PURE__ */ P.jsx(Un, { asChild: !0, children:
|
|
6145
|
+
/* @__PURE__ */ P.jsx(Un, { asChild: !0, children: C }),
|
|
6147
6146
|
f && /* @__PURE__ */ P.jsx(rr, { children: f })
|
|
6148
|
-
] }) }) :
|
|
6147
|
+
] }) }) : C;
|
|
6149
6148
|
}
|
|
6150
6149
|
);
|
|
6151
6150
|
_a.displayName = "Button";
|
|
@@ -6189,7 +6188,7 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
|
|
|
6189
6188
|
]
|
|
6190
6189
|
}
|
|
6191
6190
|
);
|
|
6192
|
-
},
|
|
6191
|
+
}, $r = 50, Na = ({
|
|
6193
6192
|
rows: e,
|
|
6194
6193
|
className: t = "mt-2 mx-2",
|
|
6195
6194
|
showRowDividers: r = !0,
|
|
@@ -6214,7 +6213,7 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
|
|
|
6214
6213
|
"aria-label": "Edit",
|
|
6215
6214
|
children: [
|
|
6216
6215
|
/* @__PURE__ */ W("span", { children: "Edit" }),
|
|
6217
|
-
/* @__PURE__ */ W(
|
|
6216
|
+
/* @__PURE__ */ W(wo, {})
|
|
6218
6217
|
]
|
|
6219
6218
|
}
|
|
6220
6219
|
)
|
|
@@ -6233,7 +6232,7 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
|
|
|
6233
6232
|
{
|
|
6234
6233
|
className: `summary-detail-card__value ${d.size === "lg" ? " summary-detail-card__value--lg" : ""}`,
|
|
6235
6234
|
style: { color: d.valueColor },
|
|
6236
|
-
children: f.length >
|
|
6235
|
+
children: f.length > $r && d.label === "Description" ? /* @__PURE__ */ W(Ra, { text: f, limit: $r }) : /* @__PURE__ */ W(Ea, { text: f, maxLength: 20 })
|
|
6237
6236
|
}
|
|
6238
6237
|
)
|
|
6239
6238
|
]
|
|
@@ -6243,7 +6242,7 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
|
|
|
6243
6242
|
}) }, a))
|
|
6244
6243
|
]
|
|
6245
6244
|
}
|
|
6246
|
-
),
|
|
6245
|
+
), ja = ({
|
|
6247
6246
|
title: e,
|
|
6248
6247
|
description: t,
|
|
6249
6248
|
icon: r,
|
|
@@ -6272,8 +6271,8 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
|
|
|
6272
6271
|
}
|
|
6273
6272
|
);
|
|
6274
6273
|
export {
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6274
|
+
Oa as CustomTabs,
|
|
6275
|
+
ja as EmptyState,
|
|
6276
|
+
Pa as Stepper,
|
|
6277
|
+
Na as SummaryDetailsCard
|
|
6279
6278
|
};
|