@takecasper/acuity-design-system 1.6.2 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +341 -332
- package/dist/index.es.js.map +1 -1
- package/package.json +8 -5
package/dist/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ function rt() {
|
|
|
16
16
|
return ue;
|
|
17
17
|
rr = 1;
|
|
18
18
|
var e = fr, a = Symbol.for("react.element"), i = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
-
function
|
|
19
|
+
function d(u, h, g) {
|
|
20
20
|
var f, m = {}, j = null, _ = null;
|
|
21
21
|
g !== void 0 && (j = "" + g), h.key !== void 0 && (j = "" + h.key), h.ref !== void 0 && (_ = h.ref);
|
|
22
22
|
for (f in h)
|
|
@@ -26,7 +26,7 @@ function rt() {
|
|
|
26
26
|
m[f] === void 0 && (m[f] = h[f]);
|
|
27
27
|
return { $$typeof: a, type: u, key: j, ref: _, props: m, _owner: s.current };
|
|
28
28
|
}
|
|
29
|
-
return ue.Fragment = i, ue.jsx =
|
|
29
|
+
return ue.Fragment = i, ue.jsx = d, ue.jsxs = d, ue;
|
|
30
30
|
}
|
|
31
31
|
var fe = {};
|
|
32
32
|
/**
|
|
@@ -41,7 +41,7 @@ var fe = {};
|
|
|
41
41
|
var tr;
|
|
42
42
|
function tt() {
|
|
43
43
|
return tr || (tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var e = fr, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"),
|
|
44
|
+
var e = fr, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), P = Symbol.iterator, M = "@@iterator";
|
|
45
45
|
function R(t) {
|
|
46
46
|
if (t === null || typeof t != "object")
|
|
47
47
|
return null;
|
|
@@ -51,16 +51,16 @@ function tt() {
|
|
|
51
51
|
var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function y(t) {
|
|
53
53
|
{
|
|
54
|
-
for (var l = arguments.length,
|
|
55
|
-
|
|
56
|
-
Ce("error", t,
|
|
54
|
+
for (var l = arguments.length, c = new Array(l > 1 ? l - 1 : 0), p = 1; p < l; p++)
|
|
55
|
+
c[p - 1] = arguments[p];
|
|
56
|
+
Ce("error", t, c);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function Ce(t, l,
|
|
59
|
+
function Ce(t, l, c) {
|
|
60
60
|
{
|
|
61
61
|
var p = S.ReactDebugCurrentFrame, v = p.getStackAddendum();
|
|
62
|
-
v !== "" && (l += "%s",
|
|
63
|
-
var w =
|
|
62
|
+
v !== "" && (l += "%s", c = c.concat([v]));
|
|
63
|
+
var w = c.map(function(x) {
|
|
64
64
|
return String(x);
|
|
65
65
|
});
|
|
66
66
|
w.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, w);
|
|
@@ -69,18 +69,18 @@ function tt() {
|
|
|
69
69
|
var se = !1, be = !1, xe = !1, me = !1, ve = !1, J;
|
|
70
70
|
J = Symbol.for("react.module.reference");
|
|
71
71
|
function ie(t) {
|
|
72
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t === n || ve || t === s || t === g || t === f || me || t === _ || se || be || xe || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === m || t.$$typeof ===
|
|
72
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === n || ve || t === s || t === g || t === f || me || t === _ || se || be || xe || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === m || t.$$typeof === d || t.$$typeof === u || t.$$typeof === h || // 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
|
t.$$typeof === J || t.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function ae(t, l,
|
|
78
|
+
function ae(t, l, c) {
|
|
79
79
|
var p = t.displayName;
|
|
80
80
|
if (p)
|
|
81
81
|
return p;
|
|
82
82
|
var v = l.displayName || l.name || "";
|
|
83
|
-
return v !== "" ?
|
|
83
|
+
return v !== "" ? c + "(" + v + ")" : c;
|
|
84
84
|
}
|
|
85
85
|
function k(t) {
|
|
86
86
|
return t.displayName || "Context";
|
|
@@ -111,9 +111,9 @@ function tt() {
|
|
|
111
111
|
case u:
|
|
112
112
|
var l = t;
|
|
113
113
|
return k(l) + ".Consumer";
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return k(
|
|
114
|
+
case d:
|
|
115
|
+
var c = t;
|
|
116
|
+
return k(c._context) + ".Provider";
|
|
117
117
|
case h:
|
|
118
118
|
return ae(t, t.render, "ForwardRef");
|
|
119
119
|
case m:
|
|
@@ -130,14 +130,14 @@ function tt() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var T = Object.assign, N = 0, z, le, K, F,
|
|
133
|
+
var T = Object.assign, N = 0, z, le, K, F, de, H, Z;
|
|
134
134
|
function Ne() {
|
|
135
135
|
}
|
|
136
136
|
Ne.__reactDisabledLog = !0;
|
|
137
137
|
function Rr() {
|
|
138
138
|
{
|
|
139
139
|
if (N === 0) {
|
|
140
|
-
z = console.log, le = console.info, K = console.warn, F = console.error,
|
|
140
|
+
z = console.log, le = console.info, K = console.warn, F = console.error, de = console.group, H = console.groupCollapsed, Z = console.groupEnd;
|
|
141
141
|
var t = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -179,7 +179,7 @@ function tt() {
|
|
|
179
179
|
value: F
|
|
180
180
|
}),
|
|
181
181
|
group: T({}, t, {
|
|
182
|
-
value:
|
|
182
|
+
value: de
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: T({}, t, {
|
|
185
185
|
value: H
|
|
@@ -193,7 +193,7 @@ function tt() {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var Re = S.ReactCurrentDispatcher, We;
|
|
196
|
-
function ke(t, l,
|
|
196
|
+
function ke(t, l, c) {
|
|
197
197
|
{
|
|
198
198
|
if (We === void 0)
|
|
199
199
|
try {
|
|
@@ -215,9 +215,9 @@ function tt() {
|
|
|
215
215
|
if (!t || _e)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
218
|
+
var c = we.get(t);
|
|
219
|
+
if (c !== void 0)
|
|
220
|
+
return c;
|
|
221
221
|
}
|
|
222
222
|
var p;
|
|
223
223
|
_e = !0;
|
|
@@ -282,14 +282,14 @@ function tt() {
|
|
|
282
282
|
var Q = t ? t.displayName || t.name : "", er = Q ? ke(Q) : "";
|
|
283
283
|
return typeof t == "function" && we.set(t, er), er;
|
|
284
284
|
}
|
|
285
|
-
function Sr(t, l,
|
|
285
|
+
function Sr(t, l, c) {
|
|
286
286
|
return Fe(t, !1);
|
|
287
287
|
}
|
|
288
288
|
function $r(t) {
|
|
289
289
|
var l = t.prototype;
|
|
290
290
|
return !!(l && l.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function je(t, l,
|
|
292
|
+
function je(t, l, c) {
|
|
293
293
|
if (t == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof t == "function")
|
|
@@ -307,11 +307,11 @@ function tt() {
|
|
|
307
307
|
case h:
|
|
308
308
|
return Sr(t.render);
|
|
309
309
|
case m:
|
|
310
|
-
return je(t.type, l,
|
|
310
|
+
return je(t.type, l, c);
|
|
311
311
|
case j: {
|
|
312
312
|
var p = t, v = p._payload, w = p._init;
|
|
313
313
|
try {
|
|
314
|
-
return je(w(v), l,
|
|
314
|
+
return je(w(v), l, c);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
@@ -321,12 +321,12 @@ function tt() {
|
|
|
321
321
|
var ye = Object.prototype.hasOwnProperty, He = {}, De = S.ReactDebugCurrentFrame;
|
|
322
322
|
function Le(t) {
|
|
323
323
|
if (t) {
|
|
324
|
-
var l = t._owner,
|
|
325
|
-
De.setExtraStackFrame(
|
|
324
|
+
var l = t._owner, c = je(t.type, t._source, l ? l.type : null);
|
|
325
|
+
De.setExtraStackFrame(c);
|
|
326
326
|
} else
|
|
327
327
|
De.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function Vr(t, l,
|
|
329
|
+
function Vr(t, l, c, p, v) {
|
|
330
330
|
{
|
|
331
331
|
var w = Function.call.bind(ye);
|
|
332
332
|
for (var x in t)
|
|
@@ -334,14 +334,14 @@ function tt() {
|
|
|
334
334
|
var b = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof t[x] != "function") {
|
|
337
|
-
var $ = Error((p || "React class") + ": " +
|
|
337
|
+
var $ = Error((p || "React class") + ": " + c + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw $.name = "Invariant Violation", $;
|
|
339
339
|
}
|
|
340
|
-
b = t[x](l, x, p,
|
|
340
|
+
b = t[x](l, x, p, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (E) {
|
|
342
342
|
b = E;
|
|
343
343
|
}
|
|
344
|
-
b && !(b instanceof Error) && (Le(v), y("%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).", p || "React class",
|
|
344
|
+
b && !(b instanceof Error) && (Le(v), y("%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).", p || "React class", c, x, typeof b), Le(null)), b instanceof Error && !(b.message in He) && (He[b.message] = !0, Le(v), y("Failed %s type: %s", c, b.message), Le(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -351,8 +351,8 @@ function tt() {
|
|
|
351
351
|
}
|
|
352
352
|
function Ar(t) {
|
|
353
353
|
{
|
|
354
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
355
|
-
return
|
|
354
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, c = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
355
|
+
return c;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
function Pr(t) {
|
|
@@ -369,7 +369,7 @@ function tt() {
|
|
|
369
369
|
if (Pr(t))
|
|
370
370
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ar(t)), Ge(t);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var ce = S.ReactCurrentOwner, Or = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
@@ -393,41 +393,41 @@ function tt() {
|
|
|
393
393
|
return t.key !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function Nr(t, l) {
|
|
396
|
-
if (typeof t.ref == "string" &&
|
|
397
|
-
var
|
|
398
|
-
$e[
|
|
396
|
+
if (typeof t.ref == "string" && ce.current && l && ce.current.stateNode !== l) {
|
|
397
|
+
var c = V(ce.current.type);
|
|
398
|
+
$e[c] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(ce.current.type), t.ref), $e[c] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
function Fr(t, l) {
|
|
402
402
|
{
|
|
403
|
-
var
|
|
403
|
+
var c = function() {
|
|
404
404
|
Ze || (Ze = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
405
405
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
406
|
+
c.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
407
|
+
get: c,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
function Hr(t, l) {
|
|
413
413
|
{
|
|
414
|
-
var
|
|
414
|
+
var c = function() {
|
|
415
415
|
Ue || (Ue = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
417
|
+
c.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
418
|
+
get: c,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var Dr = function(t, l,
|
|
423
|
+
var Dr = function(t, l, c, p, v, w, x) {
|
|
424
424
|
var b = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: a,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: t,
|
|
429
429
|
key: l,
|
|
430
|
-
ref:
|
|
430
|
+
ref: c,
|
|
431
431
|
props: x,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: w
|
|
@@ -449,10 +449,10 @@ function tt() {
|
|
|
449
449
|
value: v
|
|
450
450
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
451
451
|
};
|
|
452
|
-
function Gr(t, l,
|
|
452
|
+
function Gr(t, l, c, p, v) {
|
|
453
453
|
{
|
|
454
454
|
var w, x = {}, b = null, $ = null;
|
|
455
|
-
|
|
455
|
+
c !== void 0 && (ze(c), b = "" + c), Br(l) && (ze(l.key), b = "" + l.key), Ir(l) && ($ = l.ref, Nr(l, v));
|
|
456
456
|
for (w in l)
|
|
457
457
|
ye.call(l, w) && !Or.hasOwnProperty(w) && (x[w] = l[w]);
|
|
458
458
|
if (t && t.defaultProps) {
|
|
@@ -464,14 +464,14 @@ function tt() {
|
|
|
464
464
|
var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
465
465
|
b && Fr(x, W), $ && Hr(x, W);
|
|
466
466
|
}
|
|
467
|
-
return Dr(t, b, $, v, p,
|
|
467
|
+
return Dr(t, b, $, v, p, ce.current, x);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var Ve = S.ReactCurrentOwner, Ye = S.ReactDebugCurrentFrame;
|
|
471
471
|
function X(t) {
|
|
472
472
|
if (t) {
|
|
473
|
-
var l = t._owner,
|
|
474
|
-
Ye.setExtraStackFrame(
|
|
473
|
+
var l = t._owner, c = je(t.type, t._source, l ? l.type : null);
|
|
474
|
+
Ye.setExtraStackFrame(c);
|
|
475
475
|
} else
|
|
476
476
|
Ye.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
@@ -495,10 +495,10 @@ Check the render method of \`` + t + "`.";
|
|
|
495
495
|
function zr(t) {
|
|
496
496
|
{
|
|
497
497
|
if (t !== void 0) {
|
|
498
|
-
var l = t.fileName.replace(/^.*[\\\/]/, ""),
|
|
498
|
+
var l = t.fileName.replace(/^.*[\\\/]/, ""), c = t.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` + l + ":" +
|
|
501
|
+
Check your code at ` + l + ":" + c + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
@@ -508,10 +508,10 @@ Check your code at ` + l + ":" + d + ".";
|
|
|
508
508
|
{
|
|
509
509
|
var l = qe();
|
|
510
510
|
if (!l) {
|
|
511
|
-
var
|
|
512
|
-
|
|
511
|
+
var c = typeof t == "string" ? t : t.displayName || t.name;
|
|
512
|
+
c && (l = `
|
|
513
513
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + c + ">.");
|
|
515
515
|
}
|
|
516
516
|
return l;
|
|
517
517
|
}
|
|
@@ -521,12 +521,12 @@ Check the top-level render call using <` + d + ">.");
|
|
|
521
521
|
if (!t._store || t._store.validated || t.key != null)
|
|
522
522
|
return;
|
|
523
523
|
t._store.validated = !0;
|
|
524
|
-
var
|
|
525
|
-
if (Je[
|
|
524
|
+
var c = Zr(l);
|
|
525
|
+
if (Je[c])
|
|
526
526
|
return;
|
|
527
|
-
Je[
|
|
527
|
+
Je[c] = !0;
|
|
528
528
|
var p = "";
|
|
529
|
-
t && t._owner && t._owner !== Ve.current && (p = " It was passed a child from " + V(t._owner.type) + "."), X(t), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
529
|
+
t && t._owner && t._owner !== Ve.current && (p = " It was passed a child from " + V(t._owner.type) + "."), X(t), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, p), X(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Xe(t, l) {
|
|
@@ -534,8 +534,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
534
534
|
if (typeof t != "object")
|
|
535
535
|
return;
|
|
536
536
|
if (Se(t))
|
|
537
|
-
for (var
|
|
538
|
-
var p = t[
|
|
537
|
+
for (var c = 0; c < t.length; c++) {
|
|
538
|
+
var p = t[c];
|
|
539
539
|
Ae(p) && Ke(p, l);
|
|
540
540
|
}
|
|
541
541
|
else if (Ae(t))
|
|
@@ -553,18 +553,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
553
553
|
var l = t.type;
|
|
554
554
|
if (l == null || typeof l == "string")
|
|
555
555
|
return;
|
|
556
|
-
var
|
|
556
|
+
var c;
|
|
557
557
|
if (typeof l == "function")
|
|
558
|
-
|
|
558
|
+
c = l.propTypes;
|
|
559
559
|
else if (typeof l == "object" && (l.$$typeof === h || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
561
|
l.$$typeof === m))
|
|
562
|
-
|
|
562
|
+
c = l.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
565
|
+
if (c) {
|
|
566
566
|
var p = V(l);
|
|
567
|
-
Vr(
|
|
567
|
+
Vr(c, t.props, "prop", p, t);
|
|
568
568
|
} else if (l.PropTypes !== void 0 && !Te) {
|
|
569
569
|
Te = !0;
|
|
570
570
|
var v = V(l);
|
|
@@ -575,8 +575,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
575
575
|
}
|
|
576
576
|
function Yr(t) {
|
|
577
577
|
{
|
|
578
|
-
for (var l = Object.keys(t.props),
|
|
579
|
-
var p = l[
|
|
578
|
+
for (var l = Object.keys(t.props), c = 0; c < l.length; c++) {
|
|
579
|
+
var p = l[c];
|
|
580
580
|
if (p !== "children" && p !== "key") {
|
|
581
581
|
X(t), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), X(null);
|
|
582
582
|
break;
|
|
@@ -585,7 +585,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
585
585
|
t.ref !== null && (X(t), y("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function Qe(t, l,
|
|
588
|
+
function Qe(t, l, c, p, v, w) {
|
|
589
589
|
{
|
|
590
590
|
var x = ie(t);
|
|
591
591
|
if (!x) {
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
596
596
|
var E;
|
|
597
597
|
t === null ? E = "null" : Se(t) ? E = "array" : t !== void 0 && t.$$typeof === a ? (E = "<" + (V(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : E = typeof t, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, b);
|
|
598
598
|
}
|
|
599
|
-
var W = Gr(t, l,
|
|
599
|
+
var W = Gr(t, l, c, v, w);
|
|
600
600
|
if (W == null)
|
|
601
601
|
return W;
|
|
602
602
|
if (x) {
|
|
@@ -615,11 +615,11 @@ Check the top-level render call using <` + d + ">.");
|
|
|
615
615
|
return t === r ? Yr(W) : Ur(W), W;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function qr(t, l,
|
|
619
|
-
return Qe(t, l,
|
|
618
|
+
function qr(t, l, c) {
|
|
619
|
+
return Qe(t, l, c, !0);
|
|
620
620
|
}
|
|
621
|
-
function Jr(t, l,
|
|
622
|
-
return Qe(t, l,
|
|
621
|
+
function Jr(t, l, c) {
|
|
622
|
+
return Qe(t, l, c, !1);
|
|
623
623
|
}
|
|
624
624
|
var Kr = Jr, Xr = qr;
|
|
625
625
|
fe.Fragment = r, fe.jsx = Kr, fe.jsxs = Xr;
|
|
@@ -953,7 +953,7 @@ const ot = ({
|
|
|
953
953
|
]
|
|
954
954
|
}
|
|
955
955
|
);
|
|
956
|
-
},
|
|
956
|
+
}, dt = lt, ct = ({
|
|
957
957
|
width: e = "24",
|
|
958
958
|
height: a = "24",
|
|
959
959
|
className: i = "",
|
|
@@ -998,7 +998,7 @@ const ot = ({
|
|
|
998
998
|
]
|
|
999
999
|
}
|
|
1000
1000
|
);
|
|
1001
|
-
}, ut =
|
|
1001
|
+
}, ut = ct, ft = ({
|
|
1002
1002
|
width: e = "24",
|
|
1003
1003
|
height: a = "24",
|
|
1004
1004
|
className: i = "",
|
|
@@ -2093,7 +2093,7 @@ const or = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, nr =
|
|
|
2093
2093
|
var r;
|
|
2094
2094
|
if ((a == null ? void 0 : a.variants) == null)
|
|
2095
2095
|
return nr(e, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
2096
|
-
const { variants: s, defaultVariants: n } = a,
|
|
2096
|
+
const { variants: s, defaultVariants: n } = a, d = Object.keys(s).map((g) => {
|
|
2097
2097
|
const f = i == null ? void 0 : i[g], m = n == null ? void 0 : n[g];
|
|
2098
2098
|
if (f === null)
|
|
2099
2099
|
return null;
|
|
@@ -2119,20 +2119,20 @@ const or = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, nr =
|
|
|
2119
2119
|
j
|
|
2120
2120
|
] : g;
|
|
2121
2121
|
}, []);
|
|
2122
|
-
return nr(e,
|
|
2122
|
+
return nr(e, d, h, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
2123
2123
|
}, Be = "-";
|
|
2124
2124
|
function Ut(e) {
|
|
2125
2125
|
const a = qt(e), {
|
|
2126
2126
|
conflictingClassGroups: i,
|
|
2127
2127
|
conflictingClassGroupModifiers: r
|
|
2128
2128
|
} = e;
|
|
2129
|
-
function s(
|
|
2130
|
-
const u =
|
|
2131
|
-
return u[0] === "" && u.length !== 1 && u.shift(), mr(u, a) || Yt(
|
|
2129
|
+
function s(d) {
|
|
2130
|
+
const u = d.split(Be);
|
|
2131
|
+
return u[0] === "" && u.length !== 1 && u.shift(), mr(u, a) || Yt(d);
|
|
2132
2132
|
}
|
|
2133
|
-
function n(
|
|
2134
|
-
const h = i[
|
|
2135
|
-
return u && r[
|
|
2133
|
+
function n(d, u) {
|
|
2134
|
+
const h = i[d] || [];
|
|
2135
|
+
return u && r[d] ? [...h, ...r[d]] : h;
|
|
2136
2136
|
}
|
|
2137
2137
|
return {
|
|
2138
2138
|
getClassGroupId: s,
|
|
@@ -2140,7 +2140,7 @@ function Ut(e) {
|
|
|
2140
2140
|
};
|
|
2141
2141
|
}
|
|
2142
2142
|
function mr(e, a) {
|
|
2143
|
-
var
|
|
2143
|
+
var d;
|
|
2144
2144
|
if (e.length === 0)
|
|
2145
2145
|
return a.classGroupId;
|
|
2146
2146
|
const i = e[0], r = a.nextPart.get(i), s = r ? mr(e.slice(1), r) : void 0;
|
|
@@ -2149,9 +2149,9 @@ function mr(e, a) {
|
|
|
2149
2149
|
if (a.validators.length === 0)
|
|
2150
2150
|
return;
|
|
2151
2151
|
const n = e.join(Be);
|
|
2152
|
-
return (
|
|
2152
|
+
return (d = a.validators.find(({
|
|
2153
2153
|
validator: u
|
|
2154
|
-
}) => u(n))) == null ? void 0 :
|
|
2154
|
+
}) => u(n))) == null ? void 0 : d.classGroupId;
|
|
2155
2155
|
}
|
|
2156
2156
|
const sr = /^\[(.+)\]$/;
|
|
2157
2157
|
function Yt(e) {
|
|
@@ -2169,8 +2169,8 @@ function qt(e) {
|
|
|
2169
2169
|
nextPart: /* @__PURE__ */ new Map(),
|
|
2170
2170
|
validators: []
|
|
2171
2171
|
};
|
|
2172
|
-
return Kt(Object.entries(e.classGroups), i).forEach(([n,
|
|
2173
|
-
Ie(
|
|
2172
|
+
return Kt(Object.entries(e.classGroups), i).forEach(([n, d]) => {
|
|
2173
|
+
Ie(d, r, n, a);
|
|
2174
2174
|
}), r;
|
|
2175
2175
|
}
|
|
2176
2176
|
function Ie(e, a, i, r) {
|
|
@@ -2191,8 +2191,8 @@ function Ie(e, a, i, r) {
|
|
|
2191
2191
|
});
|
|
2192
2192
|
return;
|
|
2193
2193
|
}
|
|
2194
|
-
Object.entries(s).forEach(([n,
|
|
2195
|
-
Ie(
|
|
2194
|
+
Object.entries(s).forEach(([n, d]) => {
|
|
2195
|
+
Ie(d, ir(a, n), i, r);
|
|
2196
2196
|
});
|
|
2197
2197
|
});
|
|
2198
2198
|
}
|
|
@@ -2210,7 +2210,7 @@ function Jt(e) {
|
|
|
2210
2210
|
}
|
|
2211
2211
|
function Kt(e, a) {
|
|
2212
2212
|
return a ? e.map(([i, r]) => {
|
|
2213
|
-
const s = r.map((n) => typeof n == "string" ? a + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([
|
|
2213
|
+
const s = r.map((n) => typeof n == "string" ? a + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([d, u]) => [a + d, u])) : n);
|
|
2214
2214
|
return [i, s];
|
|
2215
2215
|
}) : e;
|
|
2216
2216
|
}
|
|
@@ -2223,33 +2223,33 @@ function Xt(e) {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
2225
|
let a = 0, i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
2226
|
-
function s(n,
|
|
2227
|
-
i.set(n,
|
|
2226
|
+
function s(n, d) {
|
|
2227
|
+
i.set(n, d), a++, a > e && (a = 0, r = i, i = /* @__PURE__ */ new Map());
|
|
2228
2228
|
}
|
|
2229
2229
|
return {
|
|
2230
2230
|
get(n) {
|
|
2231
|
-
let
|
|
2232
|
-
if (
|
|
2233
|
-
return
|
|
2234
|
-
if ((
|
|
2235
|
-
return s(n,
|
|
2231
|
+
let d = i.get(n);
|
|
2232
|
+
if (d !== void 0)
|
|
2233
|
+
return d;
|
|
2234
|
+
if ((d = r.get(n)) !== void 0)
|
|
2235
|
+
return s(n, d), d;
|
|
2236
2236
|
},
|
|
2237
|
-
set(n,
|
|
2238
|
-
i.has(n) ? i.set(n,
|
|
2237
|
+
set(n, d) {
|
|
2238
|
+
i.has(n) ? i.set(n, d) : s(n, d);
|
|
2239
2239
|
}
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
2242
|
const vr = "!";
|
|
2243
2243
|
function Qt(e) {
|
|
2244
2244
|
const a = e.separator, i = a.length === 1, r = a[0], s = a.length;
|
|
2245
|
-
return function(
|
|
2245
|
+
return function(d) {
|
|
2246
2246
|
const u = [];
|
|
2247
2247
|
let h = 0, g = 0, f;
|
|
2248
|
-
for (let M = 0; M <
|
|
2249
|
-
let R =
|
|
2248
|
+
for (let M = 0; M < d.length; M++) {
|
|
2249
|
+
let R = d[M];
|
|
2250
2250
|
if (h === 0) {
|
|
2251
|
-
if (R === r && (i ||
|
|
2252
|
-
u.push(
|
|
2251
|
+
if (R === r && (i || d.slice(M, M + s) === a)) {
|
|
2252
|
+
u.push(d.slice(g, M)), g = M + s;
|
|
2253
2253
|
continue;
|
|
2254
2254
|
}
|
|
2255
2255
|
if (R === "/") {
|
|
@@ -2259,7 +2259,7 @@ function Qt(e) {
|
|
|
2259
2259
|
}
|
|
2260
2260
|
R === "[" ? h++ : R === "]" && h--;
|
|
2261
2261
|
}
|
|
2262
|
-
const m = u.length === 0 ?
|
|
2262
|
+
const m = u.length === 0 ? d : d.substring(g), j = m.startsWith(vr), _ = j ? m.substring(1) : m, P = f && f > g ? f - g : void 0;
|
|
2263
2263
|
return {
|
|
2264
2264
|
modifiers: u,
|
|
2265
2265
|
hasImportantModifier: j,
|
|
@@ -2291,24 +2291,24 @@ function o1(e, a) {
|
|
|
2291
2291
|
getClassGroupId: r,
|
|
2292
2292
|
getConflictingClassGroupIds: s
|
|
2293
2293
|
} = a, n = /* @__PURE__ */ new Set();
|
|
2294
|
-
return e.trim().split(t1).map((
|
|
2294
|
+
return e.trim().split(t1).map((d) => {
|
|
2295
2295
|
const {
|
|
2296
2296
|
modifiers: u,
|
|
2297
2297
|
hasImportantModifier: h,
|
|
2298
2298
|
baseClassName: g,
|
|
2299
2299
|
maybePostfixModifierPosition: f
|
|
2300
|
-
} = i(
|
|
2300
|
+
} = i(d);
|
|
2301
2301
|
let m = r(f ? g.substring(0, f) : g), j = !!f;
|
|
2302
2302
|
if (!m) {
|
|
2303
2303
|
if (!f)
|
|
2304
2304
|
return {
|
|
2305
2305
|
isTailwindClass: !1,
|
|
2306
|
-
originalClassName:
|
|
2306
|
+
originalClassName: d
|
|
2307
2307
|
};
|
|
2308
2308
|
if (m = r(g), !m)
|
|
2309
2309
|
return {
|
|
2310
2310
|
isTailwindClass: !1,
|
|
2311
|
-
originalClassName:
|
|
2311
|
+
originalClassName: d
|
|
2312
2312
|
};
|
|
2313
2313
|
j = !1;
|
|
2314
2314
|
}
|
|
@@ -2317,19 +2317,19 @@ function o1(e, a) {
|
|
|
2317
2317
|
isTailwindClass: !0,
|
|
2318
2318
|
modifierId: h ? _ + vr : _,
|
|
2319
2319
|
classGroupId: m,
|
|
2320
|
-
originalClassName:
|
|
2320
|
+
originalClassName: d,
|
|
2321
2321
|
hasPostfixModifier: j
|
|
2322
2322
|
};
|
|
2323
|
-
}).reverse().filter((
|
|
2324
|
-
if (!
|
|
2323
|
+
}).reverse().filter((d) => {
|
|
2324
|
+
if (!d.isTailwindClass)
|
|
2325
2325
|
return !0;
|
|
2326
2326
|
const {
|
|
2327
2327
|
modifierId: u,
|
|
2328
2328
|
classGroupId: h,
|
|
2329
2329
|
hasPostfixModifier: g
|
|
2330
|
-
} =
|
|
2330
|
+
} = d, f = u + h;
|
|
2331
2331
|
return n.has(f) ? !1 : (n.add(f), s(h, g).forEach((m) => n.add(u + m)), !0);
|
|
2332
|
-
}).reverse().map((
|
|
2332
|
+
}).reverse().map((d) => d.originalClassName).join(" ");
|
|
2333
2333
|
}
|
|
2334
2334
|
function n1() {
|
|
2335
2335
|
let e = 0, a, i, r = "";
|
|
@@ -2346,8 +2346,8 @@ function kr(e) {
|
|
|
2346
2346
|
return i;
|
|
2347
2347
|
}
|
|
2348
2348
|
function s1(e, ...a) {
|
|
2349
|
-
let i, r, s, n =
|
|
2350
|
-
function
|
|
2349
|
+
let i, r, s, n = d;
|
|
2350
|
+
function d(h) {
|
|
2351
2351
|
const g = a.reduce((f, m) => m(f), e());
|
|
2352
2352
|
return i = r1(g), r = i.cache.get, s = i.cache.set, n = u, u(h);
|
|
2353
2353
|
}
|
|
@@ -2366,7 +2366,7 @@ function L(e) {
|
|
|
2366
2366
|
const a = (i) => i[e] || [];
|
|
2367
2367
|
return a.isThemeGetter = !0, a;
|
|
2368
2368
|
}
|
|
2369
|
-
const wr = /^\[(?:([a-z-]+):)?(.+)\]$/i, i1 = /^\d+\/\d+$/, a1 = /* @__PURE__ */ new Set(["px", "full", "screen"]), l1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,
|
|
2369
|
+
const wr = /^\[(?:([a-z-]+):)?(.+)\]$/i, i1 = /^\d+\/\d+$/, a1 = /* @__PURE__ */ new Set(["px", "full", "screen"]), l1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, d1 = /\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$/, c1 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, u1 = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, f1 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
2370
2370
|
function B(e) {
|
|
2371
2371
|
return U(e) || a1.has(e) || i1.test(e);
|
|
2372
2372
|
}
|
|
@@ -2413,7 +2413,7 @@ function re(e, a, i) {
|
|
|
2413
2413
|
return r ? r[1] ? typeof a == "string" ? r[1] === a : a.has(r[1]) : i(r[2]) : !1;
|
|
2414
2414
|
}
|
|
2415
2415
|
function v1(e) {
|
|
2416
|
-
return
|
|
2416
|
+
return d1.test(e) && !c1.test(e);
|
|
2417
2417
|
}
|
|
2418
2418
|
function jr() {
|
|
2419
2419
|
return !1;
|
|
@@ -2425,7 +2425,7 @@ function w1(e) {
|
|
|
2425
2425
|
return f1.test(e);
|
|
2426
2426
|
}
|
|
2427
2427
|
function j1() {
|
|
2428
|
-
const e = L("colors"), a = L("spacing"), i = L("blur"), r = L("brightness"), s = L("borderColor"), n = L("borderRadius"),
|
|
2428
|
+
const e = L("colors"), a = L("spacing"), i = L("blur"), r = L("brightness"), s = L("borderColor"), n = L("borderRadius"), d = L("borderSpacing"), u = L("borderWidth"), h = L("contrast"), g = L("grayscale"), f = L("hueRotate"), m = L("invert"), j = L("gap"), _ = L("gradientColorStops"), P = L("gradientColorStopPositions"), M = L("inset"), R = L("margin"), S = L("opacity"), y = L("padding"), Ce = L("saturate"), se = L("scale"), be = L("sepia"), xe = L("skew"), me = L("space"), ve = L("translate"), J = () => ["auto", "contain", "none"], ie = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", C, a], k = () => [C, a], V = () => ["", B, D], T = () => ["auto", U, C], N = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], z = () => ["solid", "dashed", "dotted", "double", "none"], le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], F = () => ["", "0", C], de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [U, Me], Z = () => [U, C];
|
|
2429
2429
|
return {
|
|
2430
2430
|
cacheSize: 500,
|
|
2431
2431
|
separator: ":",
|
|
@@ -2482,14 +2482,14 @@ function j1() {
|
|
|
2482
2482
|
* @see https://tailwindcss.com/docs/break-after
|
|
2483
2483
|
*/
|
|
2484
2484
|
"break-after": [{
|
|
2485
|
-
"break-after":
|
|
2485
|
+
"break-after": de()
|
|
2486
2486
|
}],
|
|
2487
2487
|
/**
|
|
2488
2488
|
* Break Before
|
|
2489
2489
|
* @see https://tailwindcss.com/docs/break-before
|
|
2490
2490
|
*/
|
|
2491
2491
|
"break-before": [{
|
|
2492
|
-
"break-before":
|
|
2492
|
+
"break-before": de()
|
|
2493
2493
|
}],
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Break Inside
|
|
@@ -3970,21 +3970,21 @@ function j1() {
|
|
|
3970
3970
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3971
3971
|
*/
|
|
3972
3972
|
"border-spacing": [{
|
|
3973
|
-
"border-spacing": [
|
|
3973
|
+
"border-spacing": [d]
|
|
3974
3974
|
}],
|
|
3975
3975
|
/**
|
|
3976
3976
|
* Border Spacing X
|
|
3977
3977
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3978
3978
|
*/
|
|
3979
3979
|
"border-spacing-x": [{
|
|
3980
|
-
"border-spacing-x": [
|
|
3980
|
+
"border-spacing-x": [d]
|
|
3981
3981
|
}],
|
|
3982
3982
|
/**
|
|
3983
3983
|
* Border Spacing Y
|
|
3984
3984
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3985
3985
|
*/
|
|
3986
3986
|
"border-spacing-y": [{
|
|
3987
|
-
"border-spacing-y": [
|
|
3987
|
+
"border-spacing-y": [d]
|
|
3988
3988
|
}],
|
|
3989
3989
|
/**
|
|
3990
3990
|
* Table Layout
|
|
@@ -4446,41 +4446,41 @@ function y1() {
|
|
|
4446
4446
|
}
|
|
4447
4447
|
const L1 = O(
|
|
4448
4448
|
[
|
|
4449
|
-
"flex",
|
|
4450
|
-
"w-full",
|
|
4451
|
-
"flex-row",
|
|
4452
|
-
"justify-between",
|
|
4453
|
-
"rounded",
|
|
4454
|
-
"px-4",
|
|
4455
|
-
"py-4",
|
|
4456
|
-
"font-sans"
|
|
4449
|
+
"ds-flex",
|
|
4450
|
+
"ds-w-full",
|
|
4451
|
+
"ds-flex-row",
|
|
4452
|
+
"ds-justify-between",
|
|
4453
|
+
"ds-rounded",
|
|
4454
|
+
"ds-px-4",
|
|
4455
|
+
"ds-py-4",
|
|
4456
|
+
"ds-font-sans"
|
|
4457
4457
|
],
|
|
4458
4458
|
{
|
|
4459
4459
|
variants: {
|
|
4460
4460
|
variant: {
|
|
4461
|
-
success: ["bg-success-green-lightest", "text-success-green-darkest"],
|
|
4462
|
-
info: ["bg-information-blue-lightest", "text-information-blue-darkest"],
|
|
4463
|
-
warning: ["bg-warning-yellow-lightest", "text-neutrals-darker"],
|
|
4464
|
-
error: ["bg-danger-red-lightest", "text-danger-red-darkest"]
|
|
4461
|
+
success: ["ds-bg-success-green-lightest", "ds-text-success-green-darkest"],
|
|
4462
|
+
info: ["ds-bg-information-blue-lightest", "ds-text-information-blue-darkest"],
|
|
4463
|
+
warning: ["ds-bg-warning-yellow-lightest", "ds-text-neutrals-darker"],
|
|
4464
|
+
error: ["ds-bg-danger-red-lightest", "ds-text-danger-red-darkest"]
|
|
4465
4465
|
}
|
|
4466
4466
|
}
|
|
4467
4467
|
}
|
|
4468
4468
|
), M1 = (e) => Y(L1(e)), E1 = O("", {
|
|
4469
4469
|
variants: {
|
|
4470
4470
|
variant: {
|
|
4471
|
-
success: "text-success-green-dark",
|
|
4472
|
-
info: "text-information-blue-dark",
|
|
4473
|
-
warning: "text-warning-yellow-darkest",
|
|
4474
|
-
error: "text-danger-red-dark"
|
|
4471
|
+
success: "ds-text-success-green-dark",
|
|
4472
|
+
info: "ds-text-information-blue-dark",
|
|
4473
|
+
warning: "ds-text-warning-yellow-darkest",
|
|
4474
|
+
error: "ds-text-danger-red-dark"
|
|
4475
4475
|
}
|
|
4476
4476
|
}
|
|
4477
4477
|
}), ar = (e) => Y(E1(e)), R1 = O("", {
|
|
4478
4478
|
variants: {
|
|
4479
4479
|
variant: {
|
|
4480
|
-
success: ["text-success-green-darkest", "stroke-success-green-darkest"],
|
|
4481
|
-
info: ["text-information-blue-darkest", "stroke-information-blue-darkest"],
|
|
4482
|
-
warning: ["text-neutrals-darker", "stroke-neutrals-darker"],
|
|
4483
|
-
error: ["text-danger-red-darkest", "stroke-danger-red-darkest"]
|
|
4480
|
+
success: ["ds-text-success-green-darkest", "ds-stroke-success-green-darkest"],
|
|
4481
|
+
info: ["ds-text-information-blue-darkest", "ds-stroke-information-blue-darkest"],
|
|
4482
|
+
warning: ["ds-text-neutrals-darker", "ds-stroke-neutrals-darker"],
|
|
4483
|
+
error: ["ds-text-danger-red-darkest", "ds-stroke-danger-red-darkest"]
|
|
4484
4484
|
}
|
|
4485
4485
|
}
|
|
4486
4486
|
}), ee = (e) => Y(R1(e)), W1 = ({
|
|
@@ -4490,7 +4490,7 @@ const L1 = O(
|
|
|
4490
4490
|
titleSize: r = "large",
|
|
4491
4491
|
title: s = "",
|
|
4492
4492
|
description: n = "",
|
|
4493
|
-
content:
|
|
4493
|
+
content: d = void 0,
|
|
4494
4494
|
closeAriaLabel: u = "Close button",
|
|
4495
4495
|
id: h = "alert_" + y1().toString(),
|
|
4496
4496
|
handleClose: g
|
|
@@ -4502,26 +4502,32 @@ const L1 = O(
|
|
|
4502
4502
|
error: /* @__PURE__ */ o.jsx(Cr, { className: ee({ variant: e }) })
|
|
4503
4503
|
};
|
|
4504
4504
|
return /* @__PURE__ */ o.jsxs("div", { id: h, className: M1({ variant: e }), children: [
|
|
4505
|
-
/* @__PURE__ */ o.jsxs("div", { className: "flex flex-row", children: [
|
|
4505
|
+
/* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-row", children: [
|
|
4506
4506
|
i && /* @__PURE__ */ o.jsx(
|
|
4507
4507
|
"div",
|
|
4508
4508
|
{
|
|
4509
|
-
className: `flex pr-2 ${r === "large" && s !== "" && "h-[1.75rem] items-center"}`,
|
|
4509
|
+
className: `ds-flex ds-pr-2 ${r === "large" && s !== "" && "ds-h-[1.75rem] ds-items-center"}`,
|
|
4510
4510
|
children: f[e]
|
|
4511
4511
|
}
|
|
4512
4512
|
),
|
|
4513
|
-
/* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
4513
|
+
/* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-col ds-gap-3", children: [
|
|
4514
4514
|
/* @__PURE__ */ o.jsxs(
|
|
4515
4515
|
"div",
|
|
4516
4516
|
{
|
|
4517
|
-
className: `${r === "large" ? "flex-col" : "flex-row"} flex gap-3`,
|
|
4517
|
+
className: `${r === "large" ? "ds-flex-col" : "ds-flex-row"} ds-flex ds-gap-3`,
|
|
4518
4518
|
children: [
|
|
4519
|
-
r !== "none" && s !== "" && /* @__PURE__ */ o.jsx(
|
|
4519
|
+
r !== "none" && s !== "" && /* @__PURE__ */ o.jsx(
|
|
4520
|
+
"h1",
|
|
4521
|
+
{
|
|
4522
|
+
className: r === "large" ? "ds-text-xl ds-font-semibold" : "ds-hidden",
|
|
4523
|
+
children: s
|
|
4524
|
+
}
|
|
4525
|
+
),
|
|
4520
4526
|
/* @__PURE__ */ o.jsxs("div", { className: ar({ variant: e }), children: [
|
|
4521
4527
|
/* @__PURE__ */ o.jsx(
|
|
4522
4528
|
"span",
|
|
4523
4529
|
{
|
|
4524
|
-
className: `${ee({ variant: e })} ${r === "small" && s !== "" ? "pr-2 text-base font-semibold" : "hidden"}`,
|
|
4530
|
+
className: `${ee({ variant: e })} ${r === "small" && s !== "" ? "ds-pr-2 ds-text-base ds-font-semibold" : "ds-hidden"}`,
|
|
4525
4531
|
children: s
|
|
4526
4532
|
}
|
|
4527
4533
|
),
|
|
@@ -4530,10 +4536,10 @@ const L1 = O(
|
|
|
4530
4536
|
]
|
|
4531
4537
|
}
|
|
4532
4538
|
),
|
|
4533
|
-
|
|
4539
|
+
d && /* @__PURE__ */ o.jsx("div", { className: ar({ variant: e }), children: d })
|
|
4534
4540
|
] })
|
|
4535
4541
|
] }),
|
|
4536
|
-
a === !0 && /* @__PURE__ */ o.jsx("button", { className: "h-5", onClick: g, "aria-label": u, children: /* @__PURE__ */ o.jsx(br, { width: "1rem", height: "1rem", className: ee({ variant: e }) }) })
|
|
4542
|
+
a === !0 && /* @__PURE__ */ o.jsx("button", { className: "ds-h-5", onClick: g, "aria-label": u, children: /* @__PURE__ */ o.jsx(br, { width: "1rem", height: "1rem", className: ee({ variant: e }) }) })
|
|
4537
4543
|
] });
|
|
4538
4544
|
}, J1 = W1, _1 = ({
|
|
4539
4545
|
size: e = "small",
|
|
@@ -4551,12 +4557,12 @@ const L1 = O(
|
|
|
4551
4557
|
width: "24",
|
|
4552
4558
|
height: "24"
|
|
4553
4559
|
}
|
|
4554
|
-
},
|
|
4560
|
+
}, d = {
|
|
4555
4561
|
settings: /* @__PURE__ */ o.jsx(mt, { ...n[e], className: r, title: s }),
|
|
4556
4562
|
questionCircle: /* @__PURE__ */ o.jsx(bt, { ...n[e], className: r, title: s }),
|
|
4557
4563
|
notifications: /* @__PURE__ */ o.jsx(ht, { ...n[e], className: r, title: s }),
|
|
4558
4564
|
flag: /* @__PURE__ */ o.jsx(ut, { ...n[e], className: r, title: s }),
|
|
4559
|
-
edit: /* @__PURE__ */ o.jsx(
|
|
4565
|
+
edit: /* @__PURE__ */ o.jsx(dt, { ...n[e], className: r, title: s }),
|
|
4560
4566
|
infoCircle: /* @__PURE__ */ o.jsx(hr, { ...n[e], className: r, title: s }),
|
|
4561
4567
|
delete: /* @__PURE__ */ o.jsx(Lt, { ...n[e], className: r, title: s }),
|
|
4562
4568
|
resourceCenter: /* @__PURE__ */ o.jsx(Ot, { ...n[e], className: r, title: s }),
|
|
@@ -4591,25 +4597,25 @@ const L1 = O(
|
|
|
4591
4597
|
}
|
|
4592
4598
|
),
|
|
4593
4599
|
bookmark: /* @__PURE__ */ o.jsx(Vt, { ...n[e], className: r, title: s }),
|
|
4594
|
-
settings:
|
|
4595
|
-
questionCircle:
|
|
4596
|
-
flag:
|
|
4597
|
-
edit:
|
|
4598
|
-
delete:
|
|
4599
|
-
search:
|
|
4600
|
-
error:
|
|
4601
|
-
warning:
|
|
4602
|
-
dropdown:
|
|
4603
|
-
calendar:
|
|
4604
|
-
infoCircle:
|
|
4605
|
-
menu:
|
|
4606
|
-
add:
|
|
4607
|
-
exclude:
|
|
4608
|
-
email:
|
|
4609
|
-
close:
|
|
4610
|
-
checkCircle:
|
|
4611
|
-
linkNewTab:
|
|
4612
|
-
}, h = i ? u[a] :
|
|
4600
|
+
settings: d.settings,
|
|
4601
|
+
questionCircle: d.questionCircle,
|
|
4602
|
+
flag: d.flag,
|
|
4603
|
+
edit: d.edit,
|
|
4604
|
+
delete: d.delete,
|
|
4605
|
+
search: d.search,
|
|
4606
|
+
error: d.error,
|
|
4607
|
+
warning: d.warning,
|
|
4608
|
+
dropdown: d.dropdown,
|
|
4609
|
+
calendar: d.calendar,
|
|
4610
|
+
infoCircle: d.infoCircle,
|
|
4611
|
+
menu: d.menu,
|
|
4612
|
+
add: d.add,
|
|
4613
|
+
exclude: d.exclude,
|
|
4614
|
+
email: d.email,
|
|
4615
|
+
close: d.close,
|
|
4616
|
+
checkCircle: d.checkCircle,
|
|
4617
|
+
linkNewTab: d.linkNewTab
|
|
4618
|
+
}, h = i ? u[a] : d[a];
|
|
4613
4619
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: h });
|
|
4614
4620
|
}, ge = _1;
|
|
4615
4621
|
function yr(e) {
|
|
@@ -4632,114 +4638,114 @@ function S1() {
|
|
|
4632
4638
|
return r;
|
|
4633
4639
|
}
|
|
4634
4640
|
const lr = (...e) => Y(S1(...e)), Pe = [
|
|
4635
|
-
"disabled:bg-neutrals-lighter",
|
|
4636
|
-
"disabled:text-neutrals-dark",
|
|
4637
|
-
"disabled:border-neutrals-light",
|
|
4638
|
-
"disabled:cursor-not-allowed"
|
|
4641
|
+
"disabled:ds-bg-neutrals-lighter",
|
|
4642
|
+
"disabled:ds-text-neutrals-dark",
|
|
4643
|
+
"disabled:ds-border-neutrals-light",
|
|
4644
|
+
"disabled:ds-cursor-not-allowed"
|
|
4639
4645
|
], Lr = [
|
|
4640
|
-
"disabled:bg-neutrals-lighter",
|
|
4641
|
-
"disabled:text-neutrals-dark",
|
|
4642
|
-
"disabled:border-neutrals-lighter",
|
|
4643
|
-
"disabled:cursor-not-allowed"
|
|
4644
|
-
],
|
|
4645
|
-
"p-[0.75rem]",
|
|
4646
|
-
"text-neutrals-black",
|
|
4647
|
-
"bg-neutrals-white",
|
|
4648
|
-
"border-neutrals-white",
|
|
4649
|
-
"hover:bg-neutrals-lighter",
|
|
4650
|
-
"hover:border-neutrals-lighter",
|
|
4651
|
-
"active:bg-neutrals-transparent-medium",
|
|
4652
|
-
"active:border-neutrals-transparent-medium",
|
|
4653
|
-
"focus-visible:bg-neutrals-lighter",
|
|
4654
|
-
"focus-visible:border-neutrals-dark",
|
|
4655
|
-
"focus-visible:ring-neutrals-black",
|
|
4646
|
+
"disabled:ds-bg-neutrals-lighter",
|
|
4647
|
+
"disabled:ds-text-neutrals-dark",
|
|
4648
|
+
"disabled:ds-border-neutrals-lighter",
|
|
4649
|
+
"disabled:ds-cursor-not-allowed"
|
|
4650
|
+
], dr = [
|
|
4651
|
+
"ds-p-[0.75rem]",
|
|
4652
|
+
"ds-text-neutrals-black",
|
|
4653
|
+
"ds-bg-neutrals-white",
|
|
4654
|
+
"ds-border-neutrals-white",
|
|
4655
|
+
"hover:ds-bg-neutrals-lighter",
|
|
4656
|
+
"hover:ds-border-neutrals-lighter",
|
|
4657
|
+
"active:ds-bg-neutrals-transparent-medium",
|
|
4658
|
+
"active:ds-border-neutrals-transparent-medium",
|
|
4659
|
+
"focus-visible:ds-bg-neutrals-lighter",
|
|
4660
|
+
"focus-visible:ds-border-neutrals-dark",
|
|
4661
|
+
"focus-visible:ds-ring-neutrals-black",
|
|
4656
4662
|
...Lr
|
|
4657
|
-
],
|
|
4663
|
+
], cr = O(
|
|
4658
4664
|
[
|
|
4659
|
-
"rounded",
|
|
4660
|
-
"text-base",
|
|
4661
|
-
"font-semibold",
|
|
4662
|
-
"border",
|
|
4663
|
-
"transition",
|
|
4664
|
-
"duration-100",
|
|
4665
|
-
"text-nowrap",
|
|
4666
|
-
"focus-visible:ring",
|
|
4667
|
-
"focus-visible:ring-2",
|
|
4668
|
-
"focus-visible:outline-none",
|
|
4669
|
-
"focus-visible:ring-offset-2"
|
|
4665
|
+
"ds-rounded",
|
|
4666
|
+
"ds-text-base",
|
|
4667
|
+
"ds-font-semibold",
|
|
4668
|
+
"ds-border",
|
|
4669
|
+
"ds-transition",
|
|
4670
|
+
"ds-duration-100",
|
|
4671
|
+
"ds-text-nowrap",
|
|
4672
|
+
"focus-visible:ds-ring",
|
|
4673
|
+
"focus-visible:ds-ring-2",
|
|
4674
|
+
"focus-visible:ds-outline-none",
|
|
4675
|
+
"focus-visible:ds-ring-offset-2"
|
|
4670
4676
|
],
|
|
4671
4677
|
{
|
|
4672
4678
|
variants: {
|
|
4673
4679
|
variant: {
|
|
4674
4680
|
primary: [
|
|
4675
|
-
"py-3",
|
|
4676
|
-
"px-4",
|
|
4677
|
-
"text-neutrals-white",
|
|
4678
|
-
"bg-acuity-blue",
|
|
4679
|
-
"border-acuity-blue",
|
|
4680
|
-
"hover:bg-acuity-blue-dark",
|
|
4681
|
-
"hover:border-acuity-blue-dark",
|
|
4682
|
-
"active:bg-acuity-blue-darkest",
|
|
4683
|
-
"active:border-acuity-blue-darkest",
|
|
4684
|
-
"active:text-neutrals-white",
|
|
4685
|
-
"focus-visible:text-neutrals-black",
|
|
4686
|
-
"focus-visible:bg-acuity-blue-light",
|
|
4687
|
-
"focus-visible:border-acuity-blue",
|
|
4688
|
-
"focus-visible:ring-acuity-blue",
|
|
4681
|
+
"ds-py-3",
|
|
4682
|
+
"ds-px-4",
|
|
4683
|
+
"ds-text-neutrals-white",
|
|
4684
|
+
"ds-bg-acuity-blue",
|
|
4685
|
+
"ds-border-acuity-blue",
|
|
4686
|
+
"hover:ds-bg-acuity-blue-dark",
|
|
4687
|
+
"hover:ds-border-acuity-blue-dark",
|
|
4688
|
+
"active:ds-bg-acuity-blue-darkest",
|
|
4689
|
+
"active:ds-border-acuity-blue-darkest",
|
|
4690
|
+
"active:ds-text-neutrals-white",
|
|
4691
|
+
"focus-visible:ds-text-neutrals-black",
|
|
4692
|
+
"focus-visible:ds-bg-acuity-blue-light",
|
|
4693
|
+
"focus-visible:ds-border-acuity-blue",
|
|
4694
|
+
"focus-visible:ds-ring-acuity-blue",
|
|
4689
4695
|
...Pe
|
|
4690
4696
|
],
|
|
4691
4697
|
secondary: [
|
|
4692
|
-
"py-3",
|
|
4693
|
-
"px-4",
|
|
4694
|
-
"text-neutrals-black",
|
|
4695
|
-
"bg-neutrals-white",
|
|
4696
|
-
"border-neutrals",
|
|
4697
|
-
"hover:bg-neutrals-lighter",
|
|
4698
|
-
"hover:border-neutrals-darker",
|
|
4699
|
-
"active:bg-acuity-blue-darkest",
|
|
4700
|
-
"active:border-acuity-blue-darkest",
|
|
4701
|
-
"active:text-neutrals-white",
|
|
4702
|
-
"focus-visible:text-neutrals-black",
|
|
4703
|
-
"focus-visible:bg-neutrals-lighter",
|
|
4704
|
-
"focus-visible:border-neutrals-black",
|
|
4705
|
-
"focus-visible:ring-neutrals-black",
|
|
4698
|
+
"ds-py-3",
|
|
4699
|
+
"ds-px-4",
|
|
4700
|
+
"ds-text-neutrals-black",
|
|
4701
|
+
"ds-bg-neutrals-white",
|
|
4702
|
+
"ds-border-neutrals",
|
|
4703
|
+
"hover:ds-bg-neutrals-lighter",
|
|
4704
|
+
"hover:ds-border-neutrals-darker",
|
|
4705
|
+
"active:ds-bg-acuity-blue-darkest",
|
|
4706
|
+
"active:ds-border-acuity-blue-darkest",
|
|
4707
|
+
"active:ds-text-neutrals-white",
|
|
4708
|
+
"focus-visible:ds-text-neutrals-black",
|
|
4709
|
+
"focus-visible:ds-bg-neutrals-lighter",
|
|
4710
|
+
"focus-visible:ds-border-neutrals-black",
|
|
4711
|
+
"focus-visible:ds-ring-neutrals-black",
|
|
4706
4712
|
...Pe
|
|
4707
4713
|
],
|
|
4708
4714
|
danger: [
|
|
4709
|
-
"py-3",
|
|
4710
|
-
"px-4",
|
|
4711
|
-
"text-neutrals-white",
|
|
4712
|
-
"bg-danger-red",
|
|
4713
|
-
"border-danger-red",
|
|
4714
|
-
"hover:bg-danger-red-dark",
|
|
4715
|
-
"hover:border-danger-red-dark",
|
|
4716
|
-
"active:bg-danger-red-darkest",
|
|
4717
|
-
"active:border-danger-red-darkest",
|
|
4718
|
-
"active:text-neutrals-white",
|
|
4719
|
-
"focus-visible:text-neutrals-black",
|
|
4720
|
-
"focus-visible:bg-danger-red-lighter",
|
|
4721
|
-
"focus-visible:border-danger-red-darkest",
|
|
4722
|
-
"focus-visible:ring-danger-red-darkest",
|
|
4715
|
+
"ds-py-3",
|
|
4716
|
+
"ds-px-4",
|
|
4717
|
+
"ds-text-neutrals-white",
|
|
4718
|
+
"ds-bg-danger-red",
|
|
4719
|
+
"ds-border-danger-red",
|
|
4720
|
+
"hover:ds-bg-danger-red-dark",
|
|
4721
|
+
"hover:ds-border-danger-red-dark",
|
|
4722
|
+
"active:ds-bg-danger-red-darkest",
|
|
4723
|
+
"active:ds-border-danger-red-darkest",
|
|
4724
|
+
"active:ds-text-neutrals-white",
|
|
4725
|
+
"focus-visible:ds-text-neutrals-black",
|
|
4726
|
+
"focus-visible:ds-bg-danger-red-lighter",
|
|
4727
|
+
"focus-visible:ds-border-danger-red-darkest",
|
|
4728
|
+
"focus-visible:ds-ring-danger-red-darkest",
|
|
4723
4729
|
...Pe
|
|
4724
4730
|
],
|
|
4725
4731
|
inline: [
|
|
4726
|
-
"p-1",
|
|
4727
|
-
"text-neutrals-black",
|
|
4728
|
-
"bg-neutrals-white",
|
|
4729
|
-
"border-neutrals-white",
|
|
4730
|
-
"hover:bg-neutrals-lighter",
|
|
4731
|
-
"hover:border-neutrals-lighter",
|
|
4732
|
-
"active:bg-neutrals-dark",
|
|
4733
|
-
"active:border-neutrals-dark",
|
|
4734
|
-
"active:text-neutrals-white",
|
|
4735
|
-
"focus-visible:text-neutrals-black",
|
|
4736
|
-
"focus-visible:bg-neutrals-lighter",
|
|
4737
|
-
"focus-visible:border-neutrals-dark",
|
|
4738
|
-
"focus-visible:ring-neutrals-black",
|
|
4732
|
+
"ds-p-1",
|
|
4733
|
+
"ds-text-neutrals-black",
|
|
4734
|
+
"ds-bg-neutrals-white",
|
|
4735
|
+
"ds-border-neutrals-white",
|
|
4736
|
+
"hover:ds-bg-neutrals-lighter",
|
|
4737
|
+
"hover:ds-border-neutrals-lighter",
|
|
4738
|
+
"active:ds-bg-neutrals-dark",
|
|
4739
|
+
"active:ds-border-neutrals-dark",
|
|
4740
|
+
"active:ds-text-neutrals-white",
|
|
4741
|
+
"focus-visible:ds-text-neutrals-black",
|
|
4742
|
+
"focus-visible:ds-bg-neutrals-lighter",
|
|
4743
|
+
"focus-visible:ds-border-neutrals-dark",
|
|
4744
|
+
"focus-visible:ds-ring-neutrals-black",
|
|
4739
4745
|
...Lr
|
|
4740
4746
|
],
|
|
4741
|
-
icon: ["relative", "group", ...
|
|
4742
|
-
"icon-no-label": [...
|
|
4747
|
+
icon: ["ds-relative", "ds-group", ...dr],
|
|
4748
|
+
"icon-no-label": [...dr]
|
|
4743
4749
|
}
|
|
4744
4750
|
}
|
|
4745
4751
|
}
|
|
@@ -4750,7 +4756,7 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4750
4756
|
disabled: r = !1,
|
|
4751
4757
|
className: s = "",
|
|
4752
4758
|
onClick: n,
|
|
4753
|
-
iconName:
|
|
4759
|
+
iconName: d,
|
|
4754
4760
|
iconIndicator: u = !1,
|
|
4755
4761
|
leadingIcon: h = !1,
|
|
4756
4762
|
trailingIcon: g = !1,
|
|
@@ -4760,7 +4766,7 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4760
4766
|
{
|
|
4761
4767
|
disabled: r,
|
|
4762
4768
|
onClick: n,
|
|
4763
|
-
className: lr(
|
|
4769
|
+
className: lr(cr({ variant: e }), s),
|
|
4764
4770
|
"aria-label": i,
|
|
4765
4771
|
...f,
|
|
4766
4772
|
children: [
|
|
@@ -4768,9 +4774,9 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4768
4774
|
ge,
|
|
4769
4775
|
{
|
|
4770
4776
|
size: "medium",
|
|
4771
|
-
name:
|
|
4777
|
+
name: d ?? "edit",
|
|
4772
4778
|
hasIndicator: u,
|
|
4773
|
-
className: r ? "text-neutrals-dark" : "text-neutrals-black",
|
|
4779
|
+
className: r ? "ds-text-neutrals-dark" : "ds-text-neutrals-black",
|
|
4774
4780
|
altText: i
|
|
4775
4781
|
}
|
|
4776
4782
|
),
|
|
@@ -4778,7 +4784,7 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4778
4784
|
"div",
|
|
4779
4785
|
{
|
|
4780
4786
|
"aria-hidden": "true",
|
|
4781
|
-
className: "absolute left-1/2 top-[3.5rem] z-10 hidden
|
|
4787
|
+
className: "ds-absolute ds-left-1/2 ds-top-[3.5rem] ds-z-10 ds-hidden ds--translate-x-1/2 ds-cursor-default ds-rounded ds-bg-neutrals-darker ds-px-2 ds-py-1 ds-text-sm ds-font-normal ds-text-neutrals-white ds-transition-all ds-duration-100 group-hover:ds-block group-focus-visible:ds-block group-active:ds-block",
|
|
4782
4788
|
children: i
|
|
4783
4789
|
}
|
|
4784
4790
|
)
|
|
@@ -4789,26 +4795,26 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4789
4795
|
{
|
|
4790
4796
|
disabled: r,
|
|
4791
4797
|
onClick: n,
|
|
4792
|
-
className: lr(
|
|
4798
|
+
className: lr(cr({ variant: e }), s),
|
|
4793
4799
|
"aria-label": i,
|
|
4794
4800
|
...f,
|
|
4795
4801
|
children: e === "icon-no-label" ? /* @__PURE__ */ o.jsx(
|
|
4796
4802
|
ge,
|
|
4797
4803
|
{
|
|
4798
4804
|
size: "medium",
|
|
4799
|
-
name:
|
|
4805
|
+
name: d ?? "edit",
|
|
4800
4806
|
hasIndicator: u,
|
|
4801
|
-
className: r ? "text-neutrals-dark" : "text-neutrals-black",
|
|
4807
|
+
className: r ? "ds-text-neutrals-dark" : "ds-text-neutrals-black",
|
|
4802
4808
|
altText: i
|
|
4803
4809
|
}
|
|
4804
|
-
) : /* @__PURE__ */ o.jsxs("div", { className: "flex flex-wrap content-center justify-center", children: [
|
|
4810
|
+
) : /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-wrap ds-content-center ds-justify-center", children: [
|
|
4805
4811
|
h && /* @__PURE__ */ o.jsx(
|
|
4806
4812
|
ge,
|
|
4807
4813
|
{
|
|
4808
4814
|
size: "small",
|
|
4809
|
-
name:
|
|
4815
|
+
name: d ?? "edit",
|
|
4810
4816
|
hasIndicator: u,
|
|
4811
|
-
className: "mr-2 self-center",
|
|
4817
|
+
className: "ds-mr-2 ds-self-center",
|
|
4812
4818
|
altText: ""
|
|
4813
4819
|
}
|
|
4814
4820
|
),
|
|
@@ -4817,9 +4823,9 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4817
4823
|
ge,
|
|
4818
4824
|
{
|
|
4819
4825
|
size: "small",
|
|
4820
|
-
name:
|
|
4826
|
+
name: d ?? "edit",
|
|
4821
4827
|
hasIndicator: u,
|
|
4822
|
-
className: "ml-2 self-center",
|
|
4828
|
+
className: "ds-ml-2 ds-self-center",
|
|
4823
4829
|
altText: ""
|
|
4824
4830
|
}
|
|
4825
4831
|
)
|
|
@@ -4830,44 +4836,47 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4830
4836
|
iconName: a = void 0,
|
|
4831
4837
|
title: i = "",
|
|
4832
4838
|
footerContent: r = void 0
|
|
4833
|
-
}) => /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-start gap-6 rounded-lg border border-neutrals-light p-5", children: [
|
|
4834
|
-
i && /* @__PURE__ */ o.jsxs("div", { className: "flex flex-row items-center gap-3", children: [
|
|
4839
|
+
}) => /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-col ds-items-start ds-gap-6 ds-rounded-lg ds-border ds-border-neutrals-light ds-p-5", children: [
|
|
4840
|
+
i && /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-row ds-items-center ds-gap-3", children: [
|
|
4835
4841
|
a && /* @__PURE__ */ o.jsx(
|
|
4836
4842
|
ge,
|
|
4837
4843
|
{
|
|
4838
4844
|
size: "medium",
|
|
4839
4845
|
name: a,
|
|
4840
|
-
className: "text-neutrals-darker",
|
|
4846
|
+
className: "ds-text-neutrals-darker",
|
|
4841
4847
|
hasIndicator: !1,
|
|
4842
4848
|
altText: a
|
|
4843
4849
|
}
|
|
4844
4850
|
),
|
|
4845
4851
|
/* @__PURE__ */ o.jsx(Z1, { size: "small", text: i, hasMarginBottom: !1 })
|
|
4846
4852
|
] }),
|
|
4847
|
-
e && /* @__PURE__ */ o.jsx("div", { className: "text-base", children: e }),
|
|
4853
|
+
e && /* @__PURE__ */ o.jsx("div", { className: "ds-text-base", children: e }),
|
|
4848
4854
|
r && /* @__PURE__ */ o.jsx("div", { children: r })
|
|
4849
|
-
] }), X1 = V1, T1 = O(
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4855
|
+
] }), X1 = V1, T1 = O(
|
|
4856
|
+
["ds-h-4", "ds-w-4", "focus:ds-ring-acuity-blue", "ds-border-neutrals"],
|
|
4857
|
+
{
|
|
4858
|
+
variants: {
|
|
4859
|
+
disabled: {
|
|
4860
|
+
false: [
|
|
4861
|
+
"ds-text-acuity-blue",
|
|
4862
|
+
"ds-bg-neutrals-white",
|
|
4863
|
+
"hover:ds-border-acuity-blue",
|
|
4864
|
+
"hover:ds-bg-acuity-blue-lightest",
|
|
4865
|
+
"hover:ds-text-acuity-blue-dark",
|
|
4866
|
+
"active:ds-border-acuity-blue-darkest",
|
|
4867
|
+
"active:ds-bg-acuity-blue-darkest",
|
|
4868
|
+
"active:ds-text-acuity-blue-darkest",
|
|
4869
|
+
"ds-cursor-pointer"
|
|
4870
|
+
],
|
|
4871
|
+
true: ["ds-text-neutrals", "ds-bg-neutrals-lighter"]
|
|
4872
|
+
}
|
|
4864
4873
|
}
|
|
4865
4874
|
}
|
|
4866
|
-
|
|
4875
|
+
), Mr = (e) => Y(T1(e)), A1 = O(["ds-font-base", "ds-ml-2", "ds-text-base"], {
|
|
4867
4876
|
variants: {
|
|
4868
4877
|
disabled: {
|
|
4869
|
-
false: "cursor-pointer",
|
|
4870
|
-
true: "text-neutrals"
|
|
4878
|
+
false: "ds-cursor-pointer",
|
|
4879
|
+
true: "ds-text-neutrals"
|
|
4871
4880
|
}
|
|
4872
4881
|
}
|
|
4873
4882
|
}), Er = (e) => Y(A1(e)), P1 = ({
|
|
@@ -4877,12 +4886,12 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4877
4886
|
checked: r = !1,
|
|
4878
4887
|
disabled: s = !1,
|
|
4879
4888
|
indeterminate: n = !1,
|
|
4880
|
-
...
|
|
4889
|
+
...d
|
|
4881
4890
|
}) => {
|
|
4882
4891
|
const u = Qr(null);
|
|
4883
4892
|
return et(() => {
|
|
4884
4893
|
u.current && (u.current.indeterminate = n);
|
|
4885
|
-
}, [n, u]), /* @__PURE__ */ o.jsxs("div", { className: "flex h-4 items-center", children: [
|
|
4894
|
+
}, [n, u]), /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-h-4 ds-items-center", children: [
|
|
4886
4895
|
/* @__PURE__ */ o.jsx(
|
|
4887
4896
|
"input",
|
|
4888
4897
|
{
|
|
@@ -4890,10 +4899,10 @@ const lr = (...e) => Y(S1(...e)), Pe = [
|
|
|
4890
4899
|
name: i,
|
|
4891
4900
|
disabled: s,
|
|
4892
4901
|
type: "checkbox",
|
|
4893
|
-
className: `${Mr({ disabled: s })} rounded`,
|
|
4902
|
+
className: `${Mr({ disabled: s })} ds-rounded`,
|
|
4894
4903
|
checked: r,
|
|
4895
4904
|
ref: u,
|
|
4896
|
-
...
|
|
4905
|
+
...d
|
|
4897
4906
|
}
|
|
4898
4907
|
),
|
|
4899
4908
|
/* @__PURE__ */ o.jsx("label", { htmlFor: e, className: Er({ disabled: s }), children: a })
|
|
@@ -4910,46 +4919,46 @@ function N1(e) {
|
|
|
4910
4919
|
const F1 = O("", {
|
|
4911
4920
|
variants: {
|
|
4912
4921
|
size: {
|
|
4913
|
-
[oe]: "mb-3",
|
|
4914
|
-
[te]: "mb-5",
|
|
4915
|
-
[q]: "mb-5",
|
|
4916
|
-
[ne]: "mb-6"
|
|
4922
|
+
[oe]: "ds-mb-3",
|
|
4923
|
+
[te]: "ds-mb-5",
|
|
4924
|
+
[q]: "ds-mb-5",
|
|
4925
|
+
[ne]: "ds-mb-6"
|
|
4917
4926
|
}
|
|
4918
4927
|
}
|
|
4919
|
-
}), Ee = O("text-neutrals-darker", {
|
|
4928
|
+
}), Ee = O("ds-text-neutrals-darker", {
|
|
4920
4929
|
variants: {
|
|
4921
4930
|
size: {
|
|
4922
|
-
[oe]: "text-xl font-semibold",
|
|
4923
|
-
[te]: "text-2xl font-semibold",
|
|
4924
|
-
[q]: "text-3xl font-bold",
|
|
4925
|
-
[ne]: "text-4xl font-semibold"
|
|
4931
|
+
[oe]: "ds-text-xl ds-font-semibold",
|
|
4932
|
+
[te]: "ds-text-2xl ds-font-semibold",
|
|
4933
|
+
[q]: "ds-text-3xl ds-font-bold",
|
|
4934
|
+
[ne]: "ds-text-4xl ds-font-semibold"
|
|
4926
4935
|
}
|
|
4927
4936
|
}
|
|
4928
|
-
}), H1 = O("mt-0 font-bold text-neutrals-dark", {
|
|
4937
|
+
}), H1 = O("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
|
|
4929
4938
|
variants: {
|
|
4930
4939
|
size: {
|
|
4931
|
-
[oe]: "mb-1 text-sm",
|
|
4932
|
-
[te]: "mb-2 text-sm",
|
|
4933
|
-
[q]: "mb-2 text-base",
|
|
4934
|
-
[ne]: "mb-3 text-base"
|
|
4940
|
+
[oe]: "ds-mb-1 ds-text-sm",
|
|
4941
|
+
[te]: "ds-mb-2 ds-text-sm",
|
|
4942
|
+
[q]: "ds-mb-2 ds-text-base",
|
|
4943
|
+
[ne]: "ds-mb-3 ds-text-base"
|
|
4935
4944
|
}
|
|
4936
4945
|
}
|
|
4937
|
-
}), D1 = O("mb-0 text-neutrals-dark", {
|
|
4946
|
+
}), D1 = O("ds-mb-0 ds-text-neutrals-dark", {
|
|
4938
4947
|
variants: {
|
|
4939
4948
|
size: {
|
|
4940
|
-
[oe]: "mt-1 text-base",
|
|
4941
|
-
[te]: "mt-2 text-base",
|
|
4942
|
-
[q]: "mt-2 text-base",
|
|
4943
|
-
[ne]: "mt-3 text-base"
|
|
4949
|
+
[oe]: "ds-mt-1 ds-text-base",
|
|
4950
|
+
[te]: "ds-mt-2 ds-text-base",
|
|
4951
|
+
[q]: "ds-mt-2 ds-text-base",
|
|
4952
|
+
[ne]: "ds-mt-3 ds-text-base"
|
|
4944
4953
|
}
|
|
4945
4954
|
}
|
|
4946
|
-
}), G1 = O("text-neutrals-light", {
|
|
4955
|
+
}), G1 = O("ds-text-neutrals-light", {
|
|
4947
4956
|
variants: {
|
|
4948
4957
|
size: {
|
|
4949
|
-
[oe]: "mt-2",
|
|
4950
|
-
[te]: "mt-2",
|
|
4951
|
-
[q]: "mt-2",
|
|
4952
|
-
[ne]: "mt-3"
|
|
4958
|
+
[oe]: "ds-mt-2",
|
|
4959
|
+
[te]: "ds-mt-2",
|
|
4960
|
+
[q]: "ds-mt-2",
|
|
4961
|
+
[ne]: "ds-mt-3"
|
|
4953
4962
|
}
|
|
4954
4963
|
}
|
|
4955
4964
|
}), z1 = ({
|
|
@@ -4959,11 +4968,11 @@ const F1 = O("", {
|
|
|
4959
4968
|
descriptionTop: r = "",
|
|
4960
4969
|
descriptionBottom: s = "",
|
|
4961
4970
|
hasHorizontalRule: n = !1,
|
|
4962
|
-
hasMarginBottom:
|
|
4971
|
+
hasMarginBottom: d = !0,
|
|
4963
4972
|
headingTag: u,
|
|
4964
4973
|
...h
|
|
4965
4974
|
}) => {
|
|
4966
|
-
const g = r ? /* @__PURE__ */ o.jsx("p", { className: H1({ size: e }), children: r }) : null, f = s ? /* @__PURE__ */ o.jsx("p", { className: D1({ size: e }), children: s }) : null, m = n ? /* @__PURE__ */ o.jsx("hr", { className: G1({ size: e }) }) : null, j =
|
|
4975
|
+
const g = r ? /* @__PURE__ */ o.jsx("p", { className: H1({ size: e }), children: r }) : null, f = s ? /* @__PURE__ */ o.jsx("p", { className: D1({ size: e }), children: s }) : null, m = n ? /* @__PURE__ */ o.jsx("hr", { className: G1({ size: e }) }) : null, j = d ? F1({ size: e }) : "", _ = {
|
|
4967
4976
|
div: /* @__PURE__ */ o.jsx("div", { className: Ee({ size: e }), children: i }),
|
|
4968
4977
|
h3: /* @__PURE__ */ o.jsx("h3", { className: Ee({ size: e }), children: i }),
|
|
4969
4978
|
h2: /* @__PURE__ */ o.jsx("h2", { className: Ee({ size: e }), children: i }),
|
|
@@ -4975,7 +4984,7 @@ const F1 = O("", {
|
|
|
4975
4984
|
f,
|
|
4976
4985
|
m
|
|
4977
4986
|
] });
|
|
4978
|
-
}, Z1 = z1, U1 = ({ label: e = "", name: a, id: i, disabled: r = !1, ...s }) => /* @__PURE__ */ o.jsxs("div", { className: "flex h-4 items-center", children: [
|
|
4987
|
+
}, Z1 = z1, U1 = ({ label: e = "", name: a, id: i, disabled: r = !1, ...s }) => /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-h-4 ds-items-center", children: [
|
|
4979
4988
|
/* @__PURE__ */ o.jsx(
|
|
4980
4989
|
"input",
|
|
4981
4990
|
{
|