@cgi-learning-hub/ui 0.0.1-dev.1717457153 → 0.0.1-dev.1718370056
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/{Box-w9A3CGWz.js → Box-BHWJ-D81.js} +2 -2
- package/dist/{Box-B5JvteYc.cjs → Box-DjpT-6Yv.cjs} +1 -1
- package/dist/{ButtonBase-DLRUHDp_.cjs → ButtonBase-BHN-4x4u.cjs} +1 -1
- package/dist/{ButtonBase-ClqFvN38.js → ButtonBase-BpYorbzW.js} +3 -3
- package/dist/{CircularProgress-CKU4oqMn.js → CircularProgress-C8TogtEK.js} +3 -3
- package/dist/{CircularProgress-LIVNb3Un.cjs → CircularProgress-CjET2rvP.cjs} +1 -1
- package/dist/{DefaultButton-Bk1TaeJZ.cjs → DefaultButton-BoDg7xMm.cjs} +1 -1
- package/dist/{DefaultButton-Pk7aXp0l.js → DefaultButton-y5BL9CKZ.js} +5 -5
- package/dist/{IconButton-SMmmWi-o.js → IconButton-Hsn7HKeI.js} +4 -4
- package/dist/{IconButton-djnEGxm7.cjs → IconButton-fqTVX40x.cjs} +1 -1
- package/dist/{InputBase-BnfifOOr.js → InputBase-BdOkEcEz.js} +3 -3
- package/dist/{InputBase-BPq0sWTY.cjs → InputBase-DLc7Nf1T.cjs} +1 -1
- package/dist/{LocalizationProvider-DabIC_L5.js → LocalizationProvider-B28kINsn.js} +12 -10
- package/dist/{LocalizationProvider-BqBo3ogt.cjs → LocalizationProvider-U4FHK15N.cjs} +3 -3
- package/dist/{SearchInput-CoPiN90W.cjs → SearchInput-B_Mgl-CJ.cjs} +1 -1
- package/dist/{SearchInput-BEYRgfVH.js → SearchInput-DVccMSI6.js} +5 -5
- package/dist/{Tabs-NsW3-ZTG.js → Tabs-C8ECGIYh.js} +190 -188
- package/dist/Tabs-Cij7O-J8.cjs +4 -0
- package/dist/{TextInput-DMTI0kNm.cjs → TextInput-5zTkdX7s.cjs} +1 -1
- package/dist/{TextInput-Db4gwAZh.js → TextInput-CpnUc54E.js} +7 -7
- package/dist/{TimePicker-UQHnH9uN.cjs → TimePicker-CLlQsAN4.cjs} +1 -1
- package/dist/{TimePicker-BFhOku5y.js → TimePicker-DlaMNb6D.js} +16 -16
- package/dist/{Typography-DOPsRNd4.cjs → Typography-6WB4M4zs.cjs} +1 -1
- package/dist/{Typography-dcZWbxlM.js → Typography-D9Jbc-Y5.js} +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +5 -5
- package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -2
- package/dist/components/LocalizationProvider/index.cjs.js +1 -1
- package/dist/components/LocalizationProvider/index.es.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +3 -3
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.cjs.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +11 -11
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +6 -6
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +1 -1
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +2 -2
- package/dist/components/lists/FileList/FileList.cjs.js +1 -1
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +6 -6
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +3 -3
- package/dist/{createSvgIcon-B7iWPHJ8.js → createSvgIcon-BpzrJYC7.js} +2 -2
- package/dist/{createSvgIcon-BI_WIb5V.js → createSvgIcon-CbXClqUM.js} +3 -3
- package/dist/{createSvgIcon-bF0lGTlg.cjs → createSvgIcon-DQmDu_xr.cjs} +1 -1
- package/dist/{createSvgIcon-DxmHHVAO.cjs → createSvgIcon-O41BSqQe.cjs} +1 -1
- package/dist/{fr-BunYFA4w.cjs → fr-LokUOTE7.cjs} +1 -1
- package/dist/{fr-CxSZx9ZV.js → fr-ndKV9IhC.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +11 -11
- package/dist/{refType-BZaHOHyZ.js → refType-CD9RZ5PF.js} +1 -1
- package/dist/{refType-B2Uz1rXB.cjs → refType-DR4z34r8.cjs} +1 -1
- package/dist/{styled-C9DDL6BK.cjs → styled-D6_yEe4a.cjs} +1 -1
- package/dist/{styled-DIjdzFBV.js → styled-DSGBDqKV.js} +1 -1
- package/dist/{useControlled-jN3fqFfv.cjs → useControlled-DKpcyPsg.cjs} +1 -1
- package/dist/{useControlled-BsLcOmhe.js → useControlled-DoRrpN8o.js} +1 -1
- package/dist/{useSlotProps-B8ywiWUP.js → useSlotProps-BCdUhJUO.js} +2 -2
- package/dist/{useSlotProps-CYib4OeI.cjs → useSlotProps-CXRrw38p.cjs} +1 -1
- package/dist/{useThemeProps-zi1FRI5J.cjs → useThemeProps-BktqG0To.cjs} +1 -1
- package/dist/{useThemeProps-B20BBUTu.js → useThemeProps-DJpU2Yr7.js} +155 -154
- package/package.json +1 -1
- package/dist/Tabs-Cr7s6H3h.cjs +0 -4
|
@@ -160,7 +160,7 @@ function Kt() {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
var y = l, Z = f, Re = u, je = s, Ie = t,
|
|
163
|
+
var y = l, Z = f, Re = u, je = s, Ie = t, ke = g, he = n, Me = v, De = b, ee = r, Ne = i, G = o, Q = h, be = !1;
|
|
164
164
|
function Be(p) {
|
|
165
165
|
return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), a(p) || W(p) === l;
|
|
166
166
|
}
|
|
@@ -179,7 +179,7 @@ function Kt() {
|
|
|
179
179
|
function O(p) {
|
|
180
180
|
return W(p) === g;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function w(p) {
|
|
183
183
|
return W(p) === n;
|
|
184
184
|
}
|
|
185
185
|
function E(p) {
|
|
@@ -188,19 +188,19 @@ function Kt() {
|
|
|
188
188
|
function _(p) {
|
|
189
189
|
return W(p) === b;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function C(p) {
|
|
192
192
|
return W(p) === r;
|
|
193
193
|
}
|
|
194
194
|
function R(p) {
|
|
195
195
|
return W(p) === i;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function $(p) {
|
|
198
198
|
return W(p) === o;
|
|
199
199
|
}
|
|
200
200
|
function z(p) {
|
|
201
201
|
return W(p) === h;
|
|
202
202
|
}
|
|
203
|
-
A.AsyncMode = y, A.ConcurrentMode = Z, A.ContextConsumer = Re, A.ContextProvider = je, A.Element = Ie, A.ForwardRef =
|
|
203
|
+
A.AsyncMode = y, A.ConcurrentMode = Z, A.ContextConsumer = Re, A.ContextProvider = je, A.Element = Ie, A.ForwardRef = ke, A.Fragment = he, A.Lazy = Me, A.Memo = De, A.Portal = ee, A.Profiler = Ne, A.StrictMode = G, A.Suspense = Q, A.isAsyncMode = Be, A.isConcurrentMode = a, A.isContextConsumer = m, A.isContextProvider = S, A.isElement = x, A.isForwardRef = O, A.isFragment = w, A.isLazy = E, A.isMemo = _, A.isPortal = C, A.isProfiler = R, A.isStrictMode = $, A.isSuspense = z, A.isValidElementType = N, A.typeOf = W;
|
|
204
204
|
}()), A;
|
|
205
205
|
}
|
|
206
206
|
var ot;
|
|
@@ -360,11 +360,11 @@ function Gt() {
|
|
|
360
360
|
element: W(),
|
|
361
361
|
elementType: y(),
|
|
362
362
|
instanceOf: Z,
|
|
363
|
-
node:
|
|
363
|
+
node: ke(),
|
|
364
364
|
objectOf: je,
|
|
365
365
|
oneOf: Re,
|
|
366
366
|
oneOfType: Ie,
|
|
367
|
-
shape:
|
|
367
|
+
shape: Me,
|
|
368
368
|
exact: De
|
|
369
369
|
};
|
|
370
370
|
function v(a, m) {
|
|
@@ -377,33 +377,33 @@ function Gt() {
|
|
|
377
377
|
function T(a) {
|
|
378
378
|
if (process.env.NODE_ENV !== "production")
|
|
379
379
|
var m = {}, S = 0;
|
|
380
|
-
function x(
|
|
381
|
-
if (
|
|
380
|
+
function x(w, E, _, C, R, $, z) {
|
|
381
|
+
if (C = C || c, $ = $ || _, z !== r) {
|
|
382
382
|
if (l) {
|
|
383
383
|
var p = new Error(
|
|
384
384
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
385
385
|
);
|
|
386
386
|
throw p.name = "Invariant Violation", p;
|
|
387
387
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
388
|
-
var H =
|
|
388
|
+
var H = C + ":" + _;
|
|
389
389
|
!m[H] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
390
390
|
S < 3 && (i(
|
|
391
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
391
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
392
392
|
), m[H] = !0, S++);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
return E[_] == null ?
|
|
395
|
+
return E[_] == null ? w ? E[_] === null ? new d("The " + R + " `" + $ + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new d("The " + R + " `" + $ + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : a(E, _, C, R, $);
|
|
396
396
|
}
|
|
397
397
|
var O = x.bind(null, !1);
|
|
398
398
|
return O.isRequired = x.bind(null, !0), O;
|
|
399
399
|
}
|
|
400
400
|
function j(a) {
|
|
401
|
-
function m(S, x, O,
|
|
402
|
-
var
|
|
401
|
+
function m(S, x, O, w, E, _) {
|
|
402
|
+
var C = S[x], R = G(C);
|
|
403
403
|
if (R !== a) {
|
|
404
|
-
var
|
|
404
|
+
var $ = Q(C);
|
|
405
405
|
return new d(
|
|
406
|
-
"Invalid " +
|
|
406
|
+
"Invalid " + w + " `" + E + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + a + "`."),
|
|
407
407
|
{ expectedType: a }
|
|
408
408
|
);
|
|
409
409
|
}
|
|
@@ -415,50 +415,50 @@ function Gt() {
|
|
|
415
415
|
return T(s);
|
|
416
416
|
}
|
|
417
417
|
function N(a) {
|
|
418
|
-
function m(S, x, O,
|
|
418
|
+
function m(S, x, O, w, E) {
|
|
419
419
|
if (typeof a != "function")
|
|
420
420
|
return new d("Property `" + E + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
421
421
|
var _ = S[x];
|
|
422
422
|
if (!Array.isArray(_)) {
|
|
423
|
-
var
|
|
424
|
-
return new d("Invalid " +
|
|
423
|
+
var C = G(_);
|
|
424
|
+
return new d("Invalid " + w + " `" + E + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected an array."));
|
|
425
425
|
}
|
|
426
426
|
for (var R = 0; R < _.length; R++) {
|
|
427
|
-
var
|
|
428
|
-
if (
|
|
429
|
-
return
|
|
427
|
+
var $ = a(_, R, O, w, E + "[" + R + "]", r);
|
|
428
|
+
if ($ instanceof Error)
|
|
429
|
+
return $;
|
|
430
430
|
}
|
|
431
431
|
return null;
|
|
432
432
|
}
|
|
433
433
|
return T(m);
|
|
434
434
|
}
|
|
435
435
|
function W() {
|
|
436
|
-
function a(m, S, x, O,
|
|
436
|
+
function a(m, S, x, O, w) {
|
|
437
437
|
var E = m[S];
|
|
438
438
|
if (!u(E)) {
|
|
439
439
|
var _ = G(E);
|
|
440
|
-
return new d("Invalid " + O + " `" +
|
|
440
|
+
return new d("Invalid " + O + " `" + w + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement."));
|
|
441
441
|
}
|
|
442
442
|
return null;
|
|
443
443
|
}
|
|
444
444
|
return T(a);
|
|
445
445
|
}
|
|
446
446
|
function y() {
|
|
447
|
-
function a(m, S, x, O,
|
|
447
|
+
function a(m, S, x, O, w) {
|
|
448
448
|
var E = m[S];
|
|
449
449
|
if (!e.isValidElementType(E)) {
|
|
450
450
|
var _ = G(E);
|
|
451
|
-
return new d("Invalid " + O + " `" +
|
|
451
|
+
return new d("Invalid " + O + " `" + w + "` of type " + ("`" + _ + "` supplied to `" + x + "`, expected a single ReactElement type."));
|
|
452
452
|
}
|
|
453
453
|
return null;
|
|
454
454
|
}
|
|
455
455
|
return T(a);
|
|
456
456
|
}
|
|
457
457
|
function Z(a) {
|
|
458
|
-
function m(S, x, O,
|
|
458
|
+
function m(S, x, O, w, E) {
|
|
459
459
|
if (!(S[x] instanceof a)) {
|
|
460
|
-
var _ = a.name || c,
|
|
461
|
-
return new d("Invalid " +
|
|
460
|
+
var _ = a.name || c, C = Be(S[x]);
|
|
461
|
+
return new d("Invalid " + w + " `" + E + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected ") + ("instance of `" + _ + "`."));
|
|
462
462
|
}
|
|
463
463
|
return null;
|
|
464
464
|
}
|
|
@@ -469,30 +469,30 @@ function Gt() {
|
|
|
469
469
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
470
470
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
471
471
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
472
|
-
function m(S, x, O,
|
|
473
|
-
for (var _ = S[x],
|
|
474
|
-
if (v(_, a[
|
|
472
|
+
function m(S, x, O, w, E) {
|
|
473
|
+
for (var _ = S[x], C = 0; C < a.length; C++)
|
|
474
|
+
if (v(_, a[C]))
|
|
475
475
|
return null;
|
|
476
476
|
var R = JSON.stringify(a, function(z, p) {
|
|
477
477
|
var H = Q(p);
|
|
478
478
|
return H === "symbol" ? String(p) : p;
|
|
479
479
|
});
|
|
480
|
-
return new d("Invalid " +
|
|
480
|
+
return new d("Invalid " + w + " `" + E + "` of value `" + String(_) + "` " + ("supplied to `" + O + "`, expected one of " + R + "."));
|
|
481
481
|
}
|
|
482
482
|
return T(m);
|
|
483
483
|
}
|
|
484
484
|
function je(a) {
|
|
485
|
-
function m(S, x, O,
|
|
485
|
+
function m(S, x, O, w, E) {
|
|
486
486
|
if (typeof a != "function")
|
|
487
487
|
return new d("Property `" + E + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
488
|
-
var _ = S[x],
|
|
489
|
-
if (
|
|
490
|
-
return new d("Invalid " +
|
|
488
|
+
var _ = S[x], C = G(_);
|
|
489
|
+
if (C !== "object")
|
|
490
|
+
return new d("Invalid " + w + " `" + E + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected an object."));
|
|
491
491
|
for (var R in _)
|
|
492
492
|
if (n(_, R)) {
|
|
493
|
-
var
|
|
494
|
-
if (
|
|
495
|
-
return
|
|
493
|
+
var $ = a(_, R, O, w, E + "." + R, r);
|
|
494
|
+
if ($ instanceof Error)
|
|
495
|
+
return $;
|
|
496
496
|
}
|
|
497
497
|
return null;
|
|
498
498
|
}
|
|
@@ -508,21 +508,21 @@ function Gt() {
|
|
|
508
508
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + be(S) + " at index " + m + "."
|
|
509
509
|
), s;
|
|
510
510
|
}
|
|
511
|
-
function x(O,
|
|
512
|
-
for (var R = [],
|
|
513
|
-
var z = a[
|
|
511
|
+
function x(O, w, E, _, C) {
|
|
512
|
+
for (var R = [], $ = 0; $ < a.length; $++) {
|
|
513
|
+
var z = a[$], p = z(O, w, E, _, C, r);
|
|
514
514
|
if (p == null)
|
|
515
515
|
return null;
|
|
516
516
|
p.data && n(p.data, "expectedType") && R.push(p.data.expectedType);
|
|
517
517
|
}
|
|
518
518
|
var H = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
|
|
519
|
-
return new d("Invalid " + _ + " `" +
|
|
519
|
+
return new d("Invalid " + _ + " `" + C + "` supplied to " + ("`" + E + "`" + H + "."));
|
|
520
520
|
}
|
|
521
521
|
return T(x);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
524
|
-
function a(m, S, x, O,
|
|
525
|
-
return ee(m[S]) ? null : new d("Invalid " + O + " `" +
|
|
523
|
+
function ke() {
|
|
524
|
+
function a(m, S, x, O, w) {
|
|
525
|
+
return ee(m[S]) ? null : new d("Invalid " + O + " `" + w + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
|
|
526
526
|
}
|
|
527
527
|
return T(a);
|
|
528
528
|
}
|
|
@@ -531,16 +531,16 @@ function Gt() {
|
|
|
531
531
|
(a || "React class") + ": " + m + " type `" + S + "." + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
532
532
|
);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
535
|
-
function m(S, x, O,
|
|
536
|
-
var _ = S[x],
|
|
537
|
-
if (
|
|
538
|
-
return new d("Invalid " +
|
|
534
|
+
function Me(a) {
|
|
535
|
+
function m(S, x, O, w, E) {
|
|
536
|
+
var _ = S[x], C = G(_);
|
|
537
|
+
if (C !== "object")
|
|
538
|
+
return new d("Invalid " + w + " `" + E + "` of type `" + C + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
539
539
|
for (var R in a) {
|
|
540
|
-
var
|
|
541
|
-
if (typeof
|
|
542
|
-
return he(O,
|
|
543
|
-
var z =
|
|
540
|
+
var $ = a[R];
|
|
541
|
+
if (typeof $ != "function")
|
|
542
|
+
return he(O, w, E, R, Q($));
|
|
543
|
+
var z = $(_, R, O, w, E + "." + R, r);
|
|
544
544
|
if (z)
|
|
545
545
|
return z;
|
|
546
546
|
}
|
|
@@ -549,21 +549,21 @@ function Gt() {
|
|
|
549
549
|
return T(m);
|
|
550
550
|
}
|
|
551
551
|
function De(a) {
|
|
552
|
-
function m(S, x, O,
|
|
553
|
-
var _ = S[x],
|
|
554
|
-
if (
|
|
555
|
-
return new d("Invalid " +
|
|
552
|
+
function m(S, x, O, w, E) {
|
|
553
|
+
var _ = S[x], C = G(_);
|
|
554
|
+
if (C !== "object")
|
|
555
|
+
return new d("Invalid " + w + " `" + E + "` of type `" + C + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
556
556
|
var R = t({}, S[x], a);
|
|
557
|
-
for (var
|
|
558
|
-
var z = a[
|
|
559
|
-
if (n(a,
|
|
560
|
-
return he(O,
|
|
557
|
+
for (var $ in R) {
|
|
558
|
+
var z = a[$];
|
|
559
|
+
if (n(a, $) && typeof z != "function")
|
|
560
|
+
return he(O, w, E, $, Q(z));
|
|
561
561
|
if (!z)
|
|
562
562
|
return new d(
|
|
563
|
-
"Invalid " +
|
|
563
|
+
"Invalid " + w + " `" + E + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(S[x], null, " ") + `
|
|
564
564
|
Valid keys: ` + JSON.stringify(Object.keys(a), null, " ")
|
|
565
565
|
);
|
|
566
|
-
var p = z(_,
|
|
566
|
+
var p = z(_, $, O, w, E + "." + $, r);
|
|
567
567
|
if (p)
|
|
568
568
|
return p;
|
|
569
569
|
}
|
|
@@ -740,7 +740,8 @@ function V(e, t, r = {
|
|
|
740
740
|
}) {
|
|
741
741
|
const n = r.clone ? D({}, e) : e;
|
|
742
742
|
return se(e) && se(t) && Object.keys(t).forEach((o) => {
|
|
743
|
-
|
|
743
|
+
se(t[o]) && // Avoid prototype pollution
|
|
744
|
+
Object.prototype.hasOwnProperty.call(e, o) && se(e[o]) ? n[o] = V(e[o], t[o], r) : r.clone ? n[o] = se(t[o]) ? _t(t[o]) : t[o] : n[o] = t[o];
|
|
744
745
|
}), n;
|
|
745
746
|
}
|
|
746
747
|
const Zt = ["values", "unit", "step"], Qt = (e) => {
|
|
@@ -853,7 +854,7 @@ function St(e = {}) {
|
|
|
853
854
|
return n[i] = {}, n;
|
|
854
855
|
}, {})) || {};
|
|
855
856
|
}
|
|
856
|
-
function
|
|
857
|
+
function wt(e, t) {
|
|
857
858
|
return e.reduce((r, n) => {
|
|
858
859
|
const o = r[n];
|
|
859
860
|
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
@@ -861,7 +862,7 @@ function Ct(e, t) {
|
|
|
861
862
|
}
|
|
862
863
|
function Vn(e, ...t) {
|
|
863
864
|
const r = St(e), n = [r, ...t].reduce((o, i) => V(o, i), {});
|
|
864
|
-
return
|
|
865
|
+
return wt(Object.keys(r), n);
|
|
865
866
|
}
|
|
866
867
|
function rr(e, t) {
|
|
867
868
|
if (typeof e != "object")
|
|
@@ -884,7 +885,7 @@ function Jn({
|
|
|
884
885
|
let i;
|
|
885
886
|
return o.reduce((s, u, l) => (Array.isArray(e) ? (s[u] = e[l] != null ? e[l] : e[i], i = l) : typeof e == "object" ? (s[u] = e[u] != null ? e[u] : e[i], i = u) : s[u] = e, s), {});
|
|
886
887
|
}
|
|
887
|
-
function
|
|
888
|
+
function Ct(e) {
|
|
888
889
|
if (typeof e != "string")
|
|
889
890
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : pe(7));
|
|
890
891
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -915,7 +916,7 @@ function B(e) {
|
|
|
915
916
|
const u = s[t], l = s.theme, f = xe(l, n) || {};
|
|
916
917
|
return J(s, u, (h) => {
|
|
917
918
|
let c = Ee(f, o, h);
|
|
918
|
-
return h === c && typeof h == "string" && (c = Ee(f, o, `${t}${h === "default" ? "" :
|
|
919
|
+
return h === c && typeof h == "string" && (c = Ee(f, o, `${t}${h === "default" ? "" : Ct(h)}`, h)), r === !1 ? c : {
|
|
919
920
|
[r]: c
|
|
920
921
|
};
|
|
921
922
|
});
|
|
@@ -961,7 +962,7 @@ function me(e, t, r, n) {
|
|
|
961
962
|
`)), () => {
|
|
962
963
|
});
|
|
963
964
|
}
|
|
964
|
-
function
|
|
965
|
+
function $t(e) {
|
|
965
966
|
return me(e, "spacing", 8, "spacing");
|
|
966
967
|
}
|
|
967
968
|
function ge(e, t) {
|
|
@@ -980,24 +981,24 @@ function cr(e, t, r, n) {
|
|
|
980
981
|
return J(e, s, i);
|
|
981
982
|
}
|
|
982
983
|
function Pt(e, t) {
|
|
983
|
-
const r =
|
|
984
|
+
const r = $t(e.theme);
|
|
984
985
|
return Object.keys(e).map((n) => cr(e, t, n, r)).reduce(de, {});
|
|
985
986
|
}
|
|
986
|
-
function
|
|
987
|
+
function k(e) {
|
|
987
988
|
return Pt(e, _e);
|
|
988
989
|
}
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
function
|
|
990
|
+
k.propTypes = process.env.NODE_ENV !== "production" ? _e.reduce((e, t) => (e[t] = X, e), {}) : {};
|
|
991
|
+
k.filterProps = _e;
|
|
992
|
+
function M(e) {
|
|
992
993
|
return Pt(e, Se);
|
|
993
994
|
}
|
|
994
|
-
|
|
995
|
-
|
|
995
|
+
M.propTypes = process.env.NODE_ENV !== "production" ? Se.reduce((e, t) => (e[t] = X, e), {}) : {};
|
|
996
|
+
M.filterProps = Se;
|
|
996
997
|
process.env.NODE_ENV !== "production" && ar.reduce((e, t) => (e[t] = X, e), {});
|
|
997
998
|
function fr(e = 8) {
|
|
998
999
|
if (e.mui)
|
|
999
1000
|
return e;
|
|
1000
|
-
const t =
|
|
1001
|
+
const t = $t({
|
|
1001
1002
|
spacing: e
|
|
1002
1003
|
}), r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
|
|
1003
1004
|
const s = t(i);
|
|
@@ -1005,7 +1006,7 @@ function fr(e = 8) {
|
|
|
1005
1006
|
}).join(" "));
|
|
1006
1007
|
return r.mui = !0, r;
|
|
1007
1008
|
}
|
|
1008
|
-
function
|
|
1009
|
+
function we(...e) {
|
|
1009
1010
|
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
1010
1011
|
n[i] = o;
|
|
1011
1012
|
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? de(o, t[i](n)) : o, {});
|
|
@@ -1021,7 +1022,7 @@ function Y(e, t) {
|
|
|
1021
1022
|
transform: t
|
|
1022
1023
|
});
|
|
1023
1024
|
}
|
|
1024
|
-
const lr = Y("border", L), dr = Y("borderTop", L), pr = Y("borderRight", L), yr = Y("borderBottom", L), mr = Y("borderLeft", L), gr = Y("borderColor"), hr = Y("borderTopColor"), br = Y("borderRightColor"), vr = Y("borderBottomColor"), Or = Y("borderLeftColor"), Er = Y("outline", L), Tr = Y("outlineColor"),
|
|
1025
|
+
const lr = Y("border", L), dr = Y("borderTop", L), pr = Y("borderRight", L), yr = Y("borderBottom", L), mr = Y("borderLeft", L), gr = Y("borderColor"), hr = Y("borderTopColor"), br = Y("borderRightColor"), vr = Y("borderBottomColor"), Or = Y("borderLeftColor"), Er = Y("outline", L), Tr = Y("outlineColor"), Ce = (e) => {
|
|
1025
1026
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1026
1027
|
const t = me(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
1027
1028
|
borderRadius: ge(t, n)
|
|
@@ -1030,12 +1031,12 @@ const lr = Y("border", L), dr = Y("borderTop", L), pr = Y("borderRight", L), yr
|
|
|
1030
1031
|
}
|
|
1031
1032
|
return null;
|
|
1032
1033
|
};
|
|
1033
|
-
|
|
1034
|
+
Ce.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1034
1035
|
borderRadius: X
|
|
1035
1036
|
} : {};
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
const
|
|
1037
|
+
Ce.filterProps = ["borderRadius"];
|
|
1038
|
+
we(lr, dr, pr, yr, mr, gr, hr, br, vr, Or, Ce, Er, Tr);
|
|
1039
|
+
const $e = (e) => {
|
|
1039
1040
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1040
1041
|
const t = me(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
1041
1042
|
gap: ge(t, n)
|
|
@@ -1044,10 +1045,10 @@ const we = (e) => {
|
|
|
1044
1045
|
}
|
|
1045
1046
|
return null;
|
|
1046
1047
|
};
|
|
1047
|
-
|
|
1048
|
+
$e.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1048
1049
|
gap: X
|
|
1049
1050
|
} : {};
|
|
1050
|
-
|
|
1051
|
+
$e.filterProps = ["gap"];
|
|
1051
1052
|
const Pe = (e) => {
|
|
1052
1053
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1053
1054
|
const t = me(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
@@ -1080,11 +1081,11 @@ const xr = B({
|
|
|
1080
1081
|
prop: "gridRow"
|
|
1081
1082
|
}), Sr = B({
|
|
1082
1083
|
prop: "gridAutoFlow"
|
|
1083
|
-
}),
|
|
1084
|
+
}), wr = B({
|
|
1084
1085
|
prop: "gridAutoColumns"
|
|
1085
|
-
}),
|
|
1086
|
+
}), Cr = B({
|
|
1086
1087
|
prop: "gridAutoRows"
|
|
1087
|
-
}),
|
|
1088
|
+
}), $r = B({
|
|
1088
1089
|
prop: "gridTemplateColumns"
|
|
1089
1090
|
}), Pr = B({
|
|
1090
1091
|
prop: "gridTemplateRows"
|
|
@@ -1093,7 +1094,7 @@ const xr = B({
|
|
|
1093
1094
|
}), Rr = B({
|
|
1094
1095
|
prop: "gridArea"
|
|
1095
1096
|
});
|
|
1096
|
-
|
|
1097
|
+
we($e, Pe, Ae, xr, _r, Sr, wr, Cr, $r, Pr, Ar, Rr);
|
|
1097
1098
|
function ae(e, t) {
|
|
1098
1099
|
return t === "grey" ? t : e;
|
|
1099
1100
|
}
|
|
@@ -1106,16 +1107,16 @@ const jr = B({
|
|
|
1106
1107
|
cssProperty: "backgroundColor",
|
|
1107
1108
|
themeKey: "palette",
|
|
1108
1109
|
transform: ae
|
|
1109
|
-
}),
|
|
1110
|
+
}), kr = B({
|
|
1110
1111
|
prop: "backgroundColor",
|
|
1111
1112
|
themeKey: "palette",
|
|
1112
1113
|
transform: ae
|
|
1113
1114
|
});
|
|
1114
|
-
|
|
1115
|
+
we(jr, Ir, kr);
|
|
1115
1116
|
function q(e) {
|
|
1116
1117
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1117
1118
|
}
|
|
1118
|
-
const
|
|
1119
|
+
const Mr = B({
|
|
1119
1120
|
prop: "width",
|
|
1120
1121
|
transform: q
|
|
1121
1122
|
}), Ve = (e) => {
|
|
@@ -1162,7 +1163,7 @@ B({
|
|
|
1162
1163
|
const Wr = B({
|
|
1163
1164
|
prop: "boxSizing"
|
|
1164
1165
|
});
|
|
1165
|
-
|
|
1166
|
+
we(Mr, Ve, Dr, Nr, Br, Ur, Wr);
|
|
1166
1167
|
const Je = {
|
|
1167
1168
|
// borders
|
|
1168
1169
|
border: {
|
|
@@ -1209,7 +1210,7 @@ const Je = {
|
|
|
1209
1210
|
},
|
|
1210
1211
|
borderRadius: {
|
|
1211
1212
|
themeKey: "shape.borderRadius",
|
|
1212
|
-
style:
|
|
1213
|
+
style: Ce
|
|
1213
1214
|
},
|
|
1214
1215
|
// palette
|
|
1215
1216
|
color: {
|
|
@@ -1227,124 +1228,124 @@ const Je = {
|
|
|
1227
1228
|
},
|
|
1228
1229
|
// spacing
|
|
1229
1230
|
p: {
|
|
1230
|
-
style:
|
|
1231
|
+
style: M
|
|
1231
1232
|
},
|
|
1232
1233
|
pt: {
|
|
1233
|
-
style:
|
|
1234
|
+
style: M
|
|
1234
1235
|
},
|
|
1235
1236
|
pr: {
|
|
1236
|
-
style:
|
|
1237
|
+
style: M
|
|
1237
1238
|
},
|
|
1238
1239
|
pb: {
|
|
1239
|
-
style:
|
|
1240
|
+
style: M
|
|
1240
1241
|
},
|
|
1241
1242
|
pl: {
|
|
1242
|
-
style:
|
|
1243
|
+
style: M
|
|
1243
1244
|
},
|
|
1244
1245
|
px: {
|
|
1245
|
-
style:
|
|
1246
|
+
style: M
|
|
1246
1247
|
},
|
|
1247
1248
|
py: {
|
|
1248
|
-
style:
|
|
1249
|
+
style: M
|
|
1249
1250
|
},
|
|
1250
1251
|
padding: {
|
|
1251
|
-
style:
|
|
1252
|
+
style: M
|
|
1252
1253
|
},
|
|
1253
1254
|
paddingTop: {
|
|
1254
|
-
style:
|
|
1255
|
+
style: M
|
|
1255
1256
|
},
|
|
1256
1257
|
paddingRight: {
|
|
1257
|
-
style:
|
|
1258
|
+
style: M
|
|
1258
1259
|
},
|
|
1259
1260
|
paddingBottom: {
|
|
1260
|
-
style:
|
|
1261
|
+
style: M
|
|
1261
1262
|
},
|
|
1262
1263
|
paddingLeft: {
|
|
1263
|
-
style:
|
|
1264
|
+
style: M
|
|
1264
1265
|
},
|
|
1265
1266
|
paddingX: {
|
|
1266
|
-
style:
|
|
1267
|
+
style: M
|
|
1267
1268
|
},
|
|
1268
1269
|
paddingY: {
|
|
1269
|
-
style:
|
|
1270
|
+
style: M
|
|
1270
1271
|
},
|
|
1271
1272
|
paddingInline: {
|
|
1272
|
-
style:
|
|
1273
|
+
style: M
|
|
1273
1274
|
},
|
|
1274
1275
|
paddingInlineStart: {
|
|
1275
|
-
style:
|
|
1276
|
+
style: M
|
|
1276
1277
|
},
|
|
1277
1278
|
paddingInlineEnd: {
|
|
1278
|
-
style:
|
|
1279
|
+
style: M
|
|
1279
1280
|
},
|
|
1280
1281
|
paddingBlock: {
|
|
1281
|
-
style:
|
|
1282
|
+
style: M
|
|
1282
1283
|
},
|
|
1283
1284
|
paddingBlockStart: {
|
|
1284
|
-
style:
|
|
1285
|
+
style: M
|
|
1285
1286
|
},
|
|
1286
1287
|
paddingBlockEnd: {
|
|
1287
|
-
style:
|
|
1288
|
+
style: M
|
|
1288
1289
|
},
|
|
1289
1290
|
m: {
|
|
1290
|
-
style:
|
|
1291
|
+
style: k
|
|
1291
1292
|
},
|
|
1292
1293
|
mt: {
|
|
1293
|
-
style:
|
|
1294
|
+
style: k
|
|
1294
1295
|
},
|
|
1295
1296
|
mr: {
|
|
1296
|
-
style:
|
|
1297
|
+
style: k
|
|
1297
1298
|
},
|
|
1298
1299
|
mb: {
|
|
1299
|
-
style:
|
|
1300
|
+
style: k
|
|
1300
1301
|
},
|
|
1301
1302
|
ml: {
|
|
1302
|
-
style:
|
|
1303
|
+
style: k
|
|
1303
1304
|
},
|
|
1304
1305
|
mx: {
|
|
1305
|
-
style:
|
|
1306
|
+
style: k
|
|
1306
1307
|
},
|
|
1307
1308
|
my: {
|
|
1308
|
-
style:
|
|
1309
|
+
style: k
|
|
1309
1310
|
},
|
|
1310
1311
|
margin: {
|
|
1311
|
-
style:
|
|
1312
|
+
style: k
|
|
1312
1313
|
},
|
|
1313
1314
|
marginTop: {
|
|
1314
|
-
style:
|
|
1315
|
+
style: k
|
|
1315
1316
|
},
|
|
1316
1317
|
marginRight: {
|
|
1317
|
-
style:
|
|
1318
|
+
style: k
|
|
1318
1319
|
},
|
|
1319
1320
|
marginBottom: {
|
|
1320
|
-
style:
|
|
1321
|
+
style: k
|
|
1321
1322
|
},
|
|
1322
1323
|
marginLeft: {
|
|
1323
|
-
style:
|
|
1324
|
+
style: k
|
|
1324
1325
|
},
|
|
1325
1326
|
marginX: {
|
|
1326
|
-
style:
|
|
1327
|
+
style: k
|
|
1327
1328
|
},
|
|
1328
1329
|
marginY: {
|
|
1329
|
-
style:
|
|
1330
|
+
style: k
|
|
1330
1331
|
},
|
|
1331
1332
|
marginInline: {
|
|
1332
|
-
style:
|
|
1333
|
+
style: k
|
|
1333
1334
|
},
|
|
1334
1335
|
marginInlineStart: {
|
|
1335
|
-
style:
|
|
1336
|
+
style: k
|
|
1336
1337
|
},
|
|
1337
1338
|
marginInlineEnd: {
|
|
1338
|
-
style:
|
|
1339
|
+
style: k
|
|
1339
1340
|
},
|
|
1340
1341
|
marginBlock: {
|
|
1341
|
-
style:
|
|
1342
|
+
style: k
|
|
1342
1343
|
},
|
|
1343
1344
|
marginBlockStart: {
|
|
1344
|
-
style:
|
|
1345
|
+
style: k
|
|
1345
1346
|
},
|
|
1346
1347
|
marginBlockEnd: {
|
|
1347
|
-
style:
|
|
1348
|
+
style: k
|
|
1348
1349
|
},
|
|
1349
1350
|
// display
|
|
1350
1351
|
displayPrint: {
|
|
@@ -1376,7 +1377,7 @@ const Je = {
|
|
|
1376
1377
|
justifySelf: {},
|
|
1377
1378
|
// grid
|
|
1378
1379
|
gap: {
|
|
1379
|
-
style:
|
|
1380
|
+
style: $e
|
|
1380
1381
|
},
|
|
1381
1382
|
rowGap: {
|
|
1382
1383
|
style: Ae
|
|
@@ -1480,7 +1481,7 @@ function Lr() {
|
|
|
1480
1481
|
const c = xe(o, f) || {};
|
|
1481
1482
|
return h ? h(s) : J(s, n, (v) => {
|
|
1482
1483
|
let d = Ee(c, g, v);
|
|
1483
|
-
return v === d && typeof v == "string" && (d = Ee(c, g, `${r}${v === "default" ? "" :
|
|
1484
|
+
return v === d && typeof v == "string" && (d = Ee(c, g, `${r}${v === "default" ? "" : Ct(v)}`, v)), l === !1 ? d : {
|
|
1484
1485
|
[l]: d
|
|
1485
1486
|
};
|
|
1486
1487
|
});
|
|
@@ -1523,7 +1524,7 @@ function Lr() {
|
|
|
1523
1524
|
}
|
|
1524
1525
|
else
|
|
1525
1526
|
c = de(c, e(b, v, i, s));
|
|
1526
|
-
}),
|
|
1527
|
+
}), wt(h, c);
|
|
1527
1528
|
}
|
|
1528
1529
|
return Array.isArray(o) ? o.map(u) : u(o);
|
|
1529
1530
|
}
|
|
@@ -1684,7 +1685,7 @@ var fn = U.darken = Qe;
|
|
|
1684
1685
|
U.decomposeColor = K;
|
|
1685
1686
|
var Zn = U.emphasize = Bt, yt = U.getContrastRatio = gn;
|
|
1686
1687
|
U.getLuminance = Te;
|
|
1687
|
-
U.hexToRgb =
|
|
1688
|
+
U.hexToRgb = kt;
|
|
1688
1689
|
U.hslToRgb = Dt;
|
|
1689
1690
|
var ln = U.lighten = et;
|
|
1690
1691
|
U.private_safeAlpha = hn;
|
|
@@ -1698,7 +1699,7 @@ var mt = It(un), dn = It(cn);
|
|
|
1698
1699
|
function Ze(e, t = 0, r = 1) {
|
|
1699
1700
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, dn.default)(e, t, r);
|
|
1700
1701
|
}
|
|
1701
|
-
function
|
|
1702
|
+
function kt(e) {
|
|
1702
1703
|
e = e.slice(1);
|
|
1703
1704
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1704
1705
|
let r = e.match(t);
|
|
@@ -1712,7 +1713,7 @@ function K(e) {
|
|
|
1712
1713
|
if (e.type)
|
|
1713
1714
|
return e;
|
|
1714
1715
|
if (e.charAt(0) === "#")
|
|
1715
|
-
return K(
|
|
1716
|
+
return K(kt(e));
|
|
1716
1717
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1717
1718
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
|
|
1718
1719
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -1730,14 +1731,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
1730
1731
|
colorSpace: o
|
|
1731
1732
|
};
|
|
1732
1733
|
}
|
|
1733
|
-
const
|
|
1734
|
+
const Mt = (e) => {
|
|
1734
1735
|
const t = K(e);
|
|
1735
1736
|
return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
|
|
1736
1737
|
};
|
|
1737
|
-
U.colorChannel =
|
|
1738
|
+
U.colorChannel = Mt;
|
|
1738
1739
|
const yn = (e, t) => {
|
|
1739
1740
|
try {
|
|
1740
|
-
return
|
|
1741
|
+
return Mt(e);
|
|
1741
1742
|
} catch {
|
|
1742
1743
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1743
1744
|
}
|
|
@@ -2039,7 +2040,7 @@ function Sn(e = "light") {
|
|
|
2039
2040
|
dark: te[700]
|
|
2040
2041
|
};
|
|
2041
2042
|
}
|
|
2042
|
-
function
|
|
2043
|
+
function wn(e = "light") {
|
|
2043
2044
|
return e === "dark" ? {
|
|
2044
2045
|
main: re[500],
|
|
2045
2046
|
light: re[300],
|
|
@@ -2050,7 +2051,7 @@ function Cn(e = "light") {
|
|
|
2050
2051
|
dark: re[800]
|
|
2051
2052
|
};
|
|
2052
2053
|
}
|
|
2053
|
-
function
|
|
2054
|
+
function Cn(e = "light") {
|
|
2054
2055
|
return e === "dark" ? {
|
|
2055
2056
|
main: oe[400],
|
|
2056
2057
|
light: oe[300],
|
|
@@ -2061,7 +2062,7 @@ function $n(e = "light") {
|
|
|
2061
2062
|
dark: oe[900]
|
|
2062
2063
|
};
|
|
2063
2064
|
}
|
|
2064
|
-
function
|
|
2065
|
+
function $n(e = "light") {
|
|
2065
2066
|
return e === "dark" ? {
|
|
2066
2067
|
main: ie[400],
|
|
2067
2068
|
light: ie[300],
|
|
@@ -2089,7 +2090,7 @@ function An(e) {
|
|
|
2089
2090
|
mode: t = "light",
|
|
2090
2091
|
contrastThreshold: r = 3,
|
|
2091
2092
|
tonalOffset: n = 0.2
|
|
2092
|
-
} = e, o = ue(e, xn), i = e.primary || _n(t), s = e.secondary || Sn(t), u = e.error ||
|
|
2093
|
+
} = e, o = ue(e, xn), i = e.primary || _n(t), s = e.secondary || Sn(t), u = e.error || wn(t), l = e.info || Cn(t), f = e.success || $n(t), g = e.warning || Pn(t);
|
|
2093
2094
|
function h(d) {
|
|
2094
2095
|
const T = yt(d, Ye.text.primary) >= r ? Ye.text.primary : gt.text.primary;
|
|
2095
2096
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2253,9 +2254,9 @@ function In(e, t) {
|
|
|
2253
2254
|
// No need to clone deep
|
|
2254
2255
|
});
|
|
2255
2256
|
}
|
|
2256
|
-
const
|
|
2257
|
+
const kn = 0.2, Mn = 0.14, Dn = 0.12;
|
|
2257
2258
|
function I(...e) {
|
|
2258
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2259
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${kn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Mn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Dn})`].join(",");
|
|
2259
2260
|
}
|
|
2260
2261
|
const Nn = ["none", I(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), I(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), I(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), I(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), I(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), I(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), I(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), I(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), I(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), I(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), I(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), I(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), I(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), I(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), I(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), I(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), I(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), I(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), I(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), I(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), I(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), I(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), I(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), I(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Bn = ["duration", "easing", "delay"], Un = {
|
|
2261
2262
|
// This is the most common easing curve.
|
|
@@ -2385,7 +2386,7 @@ function Qn({
|
|
|
2385
2386
|
}
|
|
2386
2387
|
export {
|
|
2387
2388
|
Jn as A,
|
|
2388
|
-
|
|
2389
|
+
$t as B,
|
|
2389
2390
|
Xr as C,
|
|
2390
2391
|
Vn as D,
|
|
2391
2392
|
tn as E,
|
|
@@ -2400,7 +2401,7 @@ export {
|
|
|
2400
2401
|
D as _,
|
|
2401
2402
|
Xn as a,
|
|
2402
2403
|
ue as b,
|
|
2403
|
-
|
|
2404
|
+
Ct as c,
|
|
2404
2405
|
Vr as d,
|
|
2405
2406
|
Yn as e,
|
|
2406
2407
|
Et as f,
|