@tracktor/design-system 3.13.3 → 3.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -94,16 +94,16 @@ function Tt() {
94
94
  {
95
95
  var T = v.ReactDebugCurrentFrame, N = T.getStackAddendum();
96
96
  N !== "" && (h += "%s", w = w.concat([N]));
97
- var G = w.map(function(O) {
98
- return String(O);
97
+ var G = w.map(function(Q) {
98
+ return String(Q);
99
99
  });
100
100
  G.unshift("Warning: " + h), Function.prototype.apply.call(console[o], console, G);
101
101
  }
102
102
  }
103
- var B = !1, d = !1, R = !1, S = !1, F = !1, P;
103
+ var B = !1, d = !1, R = !1, S = !1, O = !1, P;
104
104
  P = Symbol.for("react.module.reference");
105
105
  function X(o) {
106
- return !!(typeof o == "string" || typeof o == "function" || o === n || o === a || F || o === i || o === p || o === u || S || o === g || B || d || R || typeof o == "object" && o !== null && (o.$$typeof === x || o.$$typeof === C || o.$$typeof === s || o.$$typeof === l || o.$$typeof === c || // This needs to include all possible module reference object
106
+ return !!(typeof o == "string" || typeof o == "function" || o === n || o === a || O || o === i || o === p || o === u || S || o === g || B || d || R || typeof o == "object" && o !== null && (o.$$typeof === x || o.$$typeof === C || o.$$typeof === s || o.$$typeof === l || o.$$typeof === c || // This needs to include all possible module reference object
107
107
  // types supported by any Flight configuration anywhere since
108
108
  // we don't know which Flight build this will end up being used
109
109
  // with.
@@ -154,9 +154,9 @@ function Tt() {
154
154
  var T = o.displayName || null;
155
155
  return T !== null ? T : $(o.type) || "Memo";
156
156
  case x: {
157
- var N = o, G = N._payload, O = N._init;
157
+ var N = o, G = N._payload, Q = N._init;
158
158
  try {
159
- return $(O(G));
159
+ return $(Q(G));
160
160
  } catch {
161
161
  return null;
162
162
  }
@@ -164,14 +164,14 @@ function Tt() {
164
164
  }
165
165
  return null;
166
166
  }
167
- var V = Object.assign, W = 0, oA, uA, Q, M, Y, AA, eA;
167
+ var V = Object.assign, W = 0, oA, uA, F, M, Y, AA, eA;
168
168
  function wA() {
169
169
  }
170
170
  wA.__reactDisabledLog = !0;
171
171
  function qA() {
172
172
  {
173
173
  if (W === 0) {
174
- oA = console.log, uA = console.info, Q = console.warn, M = console.error, Y = console.group, AA = console.groupCollapsed, eA = console.groupEnd;
174
+ oA = console.log, uA = console.info, F = console.warn, M = console.error, Y = console.group, AA = console.groupCollapsed, eA = console.groupEnd;
175
175
  var o = {
176
176
  configurable: !0,
177
177
  enumerable: !0,
@@ -207,7 +207,7 @@ function Tt() {
207
207
  value: uA
208
208
  }),
209
209
  warn: V({}, o, {
210
- value: Q
210
+ value: F
211
211
  }),
212
212
  error: V({}, o, {
213
213
  value: M
@@ -261,27 +261,27 @@ function Tt() {
261
261
  G = bA.current, bA.current = null, qA();
262
262
  try {
263
263
  if (h) {
264
- var O = function() {
264
+ var Q = function() {
265
265
  throw Error();
266
266
  };
267
- if (Object.defineProperty(O.prototype, "props", {
267
+ if (Object.defineProperty(Q.prototype, "props", {
268
268
  set: function() {
269
269
  throw Error();
270
270
  }
271
271
  }), typeof Reflect == "object" && Reflect.construct) {
272
272
  try {
273
- Reflect.construct(O, []);
273
+ Reflect.construct(Q, []);
274
274
  } catch (fA) {
275
275
  T = fA;
276
276
  }
277
- Reflect.construct(o, [], O);
277
+ Reflect.construct(o, [], Q);
278
278
  } else {
279
279
  try {
280
- O.call();
280
+ Q.call();
281
281
  } catch (fA) {
282
282
  T = fA;
283
283
  }
284
- o.call(O.prototype);
284
+ o.call(Q.prototype);
285
285
  }
286
286
  } else {
287
287
  try {
@@ -363,19 +363,19 @@ function Tt() {
363
363
  function Lr(o, h, w, T, N) {
364
364
  {
365
365
  var G = Function.call.bind($A);
366
- for (var O in o)
367
- if (G(o, O)) {
366
+ for (var Q in o)
367
+ if (G(o, Q)) {
368
368
  var H = void 0;
369
369
  try {
370
- if (typeof o[O] != "function") {
371
- var dA = Error((T || "React class") + ": " + w + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
370
+ if (typeof o[Q] != "function") {
371
+ var dA = Error((T || "React class") + ": " + w + " type `" + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[Q] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
372
372
  throw dA.name = "Invariant Violation", dA;
373
373
  }
374
- H = o[O](h, O, T, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
374
+ H = o[Q](h, Q, T, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
375
375
  } catch (rA) {
376
376
  H = rA;
377
377
  }
378
- H && !(H instanceof Error) && (xe(N), E("%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).", T || "React class", w, O, typeof H), xe(null)), H instanceof Error && !(H.message in v1) && (v1[H.message] = !0, xe(N), E("Failed %s type: %s", w, H.message), xe(null));
378
+ H && !(H instanceof Error) && (xe(N), E("%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).", T || "React class", w, Q, typeof H), xe(null)), H instanceof Error && !(H.message in v1) && (v1[H.message] = !0, xe(N), E("Failed %s type: %s", w, H.message), xe(null));
379
379
  }
380
380
  }
381
381
  }
@@ -454,7 +454,7 @@ function Tt() {
454
454
  });
455
455
  }
456
456
  }
457
- var zr = function(o, h, w, T, N, G, O) {
457
+ var zr = function(o, h, w, T, N, G, Q) {
458
458
  var H = {
459
459
  // This tag allows us to uniquely identify this as a React Element
460
460
  $$typeof: e,
@@ -462,7 +462,7 @@ function Tt() {
462
462
  type: o,
463
463
  key: h,
464
464
  ref: w,
465
- props: O,
465
+ props: Q,
466
466
  // Record the component responsible for creating this element.
467
467
  _owner: G
468
468
  };
@@ -485,20 +485,20 @@ function Tt() {
485
485
  };
486
486
  function Ur(o, h, w, T, N) {
487
487
  {
488
- var G, O = {}, H = null, dA = null;
488
+ var G, Q = {}, H = null, dA = null;
489
489
  w !== void 0 && (I1(w), H = "" + w), Zr(h) && (I1(h.key), H = "" + h.key), Vr(h) && (dA = h.ref, jr(h, N));
490
490
  for (G in h)
491
- $A.call(h, G) && !Fr.hasOwnProperty(G) && (O[G] = h[G]);
491
+ $A.call(h, G) && !Fr.hasOwnProperty(G) && (Q[G] = h[G]);
492
492
  if (o && o.defaultProps) {
493
493
  var rA = o.defaultProps;
494
494
  for (G in rA)
495
- O[G] === void 0 && (O[G] = rA[G]);
495
+ Q[G] === void 0 && (Q[G] = rA[G]);
496
496
  }
497
497
  if (H || dA) {
498
498
  var nA = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
499
- H && Nr(O, nA), dA && Jr(O, nA);
499
+ H && Nr(Q, nA), dA && Jr(Q, nA);
500
500
  }
501
- return zr(o, H, dA, N, T, Ae.current, O);
501
+ return zr(o, H, dA, N, T, Ae.current, Q);
502
502
  }
503
503
  }
504
504
  var Ze = v.ReactCurrentOwner, k1 = v.ReactDebugCurrentFrame;
@@ -569,8 +569,8 @@ Check the top-level render call using <` + w + ">.");
569
569
  else if (o) {
570
570
  var N = f(o);
571
571
  if (typeof N == "function" && N !== o.entries)
572
- for (var G = N.call(o), O; !(O = G.next()).done; )
573
- Ne(O.value) && T1(O.value, h);
572
+ for (var G = N.call(o), Q; !(Q = G.next()).done; )
573
+ Ne(Q.value) && T1(Q.value, h);
574
574
  }
575
575
  }
576
576
  }
@@ -614,8 +614,8 @@ Check the top-level render call using <` + w + ">.");
614
614
  var D1 = {};
615
615
  function L1(o, h, w, T, N, G) {
616
616
  {
617
- var O = X(o);
618
- if (!O) {
617
+ var Q = X(o);
618
+ if (!Q) {
619
619
  var H = "";
620
620
  (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (H += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
621
621
  var dA = Yr();
@@ -626,7 +626,7 @@ Check the top-level render call using <` + w + ">.");
626
626
  var nA = Ur(o, h, w, N, G);
627
627
  if (nA == null)
628
628
  return nA;
629
- if (O) {
629
+ if (Q) {
630
630
  var mA = h.children;
631
631
  if (mA !== void 0)
632
632
  if (T)
@@ -1349,9 +1349,9 @@ function dn() {
1349
1349
  }
1350
1350
  }
1351
1351
  }
1352
- var d = c, R = p, S = l, F = s, P = e, X = u, K = n, tA = I, $ = g, V = r, W = a, oA = i, uA = C, Q = !1;
1352
+ var d = c, R = p, S = l, O = s, P = e, X = u, K = n, tA = I, $ = g, V = r, W = a, oA = i, uA = C, F = !1;
1353
1353
  function M(k) {
1354
- return Q || (Q = !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.")), Y(k) || B(k) === c;
1354
+ return F || (F = !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.")), Y(k) || B(k) === c;
1355
1355
  }
1356
1356
  function Y(k) {
1357
1357
  return B(k) === p;
@@ -1389,7 +1389,7 @@ function dn() {
1389
1389
  function Qe(k) {
1390
1390
  return B(k) === C;
1391
1391
  }
1392
- z.AsyncMode = d, z.ConcurrentMode = R, z.ContextConsumer = S, z.ContextProvider = F, z.Element = P, z.ForwardRef = X, z.Fragment = K, z.Lazy = tA, z.Memo = $, z.Portal = V, z.Profiler = W, z.StrictMode = oA, z.Suspense = uA, z.isAsyncMode = M, z.isConcurrentMode = Y, z.isContextConsumer = AA, z.isContextProvider = eA, z.isElement = wA, z.isForwardRef = qA, z.isFragment = OA, z.isLazy = bA, z.isMemo = _A, z.isPortal = QA, z.isProfiler = XA, z.isStrictMode = FA, z.isSuspense = Qe, z.isValidElementType = m, z.typeOf = B;
1392
+ z.AsyncMode = d, z.ConcurrentMode = R, z.ContextConsumer = S, z.ContextProvider = O, z.Element = P, z.ForwardRef = X, z.Fragment = K, z.Lazy = tA, z.Memo = $, z.Portal = V, z.Profiler = W, z.StrictMode = oA, z.Suspense = uA, z.isAsyncMode = M, z.isConcurrentMode = Y, z.isContextConsumer = AA, z.isContextProvider = eA, z.isElement = wA, z.isForwardRef = qA, z.isFragment = OA, z.isLazy = bA, z.isMemo = _A, z.isPortal = QA, z.isProfiler = XA, z.isStrictMode = FA, z.isSuspense = Qe, z.isValidElementType = m, z.typeOf = B;
1393
1393
  }()), z;
1394
1394
  }
1395
1395
  process.env.NODE_ENV === "production" ? t1.exports = cn() : t1.exports = dn();
@@ -1738,8 +1738,8 @@ const Y1 = 32, Ln = 24, Hn = 105, On = 24, Qn = 195, Fn = 44, Vn = 147, Zn = ()
1738
1738
  const [C, x] = aA(""), { palette: g } = vA(), { getTextColor: I, getImageModule: b, getSize: f, getShapeColor: v, getShapeBackgroundColor: E } = Zn(), { height: m, width: B } = f({ height: n, variant: c, width: i, withoutText: a }), d = I(r), R = v(A), S = E(e);
1739
1739
  if (f1(() => {
1740
1740
  p !== "svg" && (async () => {
1741
- const F = await b(c, s || g.mode, a);
1742
- x(F.default);
1741
+ const O = await b(c, s || g.mode, a);
1742
+ O != null && O.default && typeof O.default == "string" && x(O.default);
1743
1743
  })();
1744
1744
  }, [p, b, s, g.mode, c, a]), p === "img")
1745
1745
  return C ? /* @__PURE__ */ t(
@@ -1769,12 +1769,12 @@ const Y1 = 32, Ln = 24, Hn = 105, On = 24, Qn = 195, Fn = 44, Vn = 147, Zn = ()
1769
1769
  }
1770
1770
  );
1771
1771
  if (a) {
1772
- const F = A || g.primary.main;
1772
+ const O = A || g.primary.main;
1773
1773
  return /* @__PURE__ */ y(L, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: m, width: B, ...l }, children: [
1774
- /* @__PURE__ */ t("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: F }),
1775
- /* @__PURE__ */ t("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: F }),
1776
- /* @__PURE__ */ t("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: F }),
1777
- /* @__PURE__ */ t("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: F })
1774
+ /* @__PURE__ */ t("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: O }),
1775
+ /* @__PURE__ */ t("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: O }),
1776
+ /* @__PURE__ */ t("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: O }),
1777
+ /* @__PURE__ */ t("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: O })
1778
1778
  ] });
1779
1779
  }
1780
1780
  return c === "pricing" ? /* @__PURE__ */ y(
@@ -2952,11 +2952,11 @@ const si = (A, e) => {
2952
2952
  width: b = 220
2953
2953
  }) => {
2954
2954
  var AA, eA;
2955
- const [f, v] = aA(!1), [E, m] = aA(!1), [B, d] = aA(!0), R = A == null ? void 0 : A.toLowerCase(), S = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")) && !(R != null && R.endsWith(".eml")), F = R == null ? void 0 : R.endsWith(".pdf"), P = c ? 1 : 0.8, X = p ? !0 : !B, K = a1(A) || a1(e), tA = (S || F) && !K && X && !E && !c && A, $ = (AA = A == null ? void 0 : A.split(".").pop()) == null ? void 0 : AA.toLowerCase(), V = r || ((eA = A == null ? void 0 : A.split("/").pop()) == null ? void 0 : eA.split("?")[0]) || "", W = () => K ? kr : E ? ci : e || A || void 0, oA = () => {
2955
+ const [f, v] = aA(!1), [E, m] = aA(!1), [B, d] = aA(!0), R = A == null ? void 0 : A.toLowerCase(), S = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")) && !(R != null && R.endsWith(".eml")), O = R == null ? void 0 : R.endsWith(".pdf"), P = c ? 1 : 0.8, X = p ? !0 : !B, K = a1(A) || a1(e), tA = (S || O) && !K && X && !E && !c && A, $ = (AA = A == null ? void 0 : A.split(".").pop()) == null ? void 0 : AA.toLowerCase(), V = r || ((eA = A == null ? void 0 : A.split("/").pop()) == null ? void 0 : eA.split("?")[0]) || "", W = () => K ? kr : E ? ci : e || A || void 0, oA = () => {
2956
2956
  v((wA) => !wA);
2957
2957
  }, uA = () => {
2958
2958
  v(!1), C == null || C();
2959
- }, Q = () => {
2959
+ }, F = () => {
2960
2960
  m(!0);
2961
2961
  }, M = () => {
2962
2962
  d(!1);
@@ -2994,7 +2994,7 @@ const si = (A, e) => {
2994
2994
  component: S ? "img" : "iframe",
2995
2995
  height: S ? "100%" : "auto",
2996
2996
  src: W(),
2997
- onError: Q,
2997
+ onError: F,
2998
2998
  onLoad: M,
2999
2999
  sx: {
3000
3000
  ...ie.thumb,
@@ -3008,15 +3008,15 @@ const si = (A, e) => {
3008
3008
  ]
3009
3009
  }
3010
3010
  ) }),
3011
- tA && /* @__PURE__ */ t(Br, { open: u !== void 0 && (F || S) ? u : f, onClose: uA, src: A, title: r, children: /* @__PURE__ */ t(
3011
+ tA && /* @__PURE__ */ t(Br, { open: u !== void 0 && (O || S) ? u : f, onClose: uA, src: A, title: r, children: /* @__PURE__ */ t(
3012
3012
  L,
3013
3013
  {
3014
- component: F ? "iframe" : "img",
3014
+ component: O ? "iframe" : "img",
3015
3015
  src: A || e || void 0,
3016
3016
  width: a,
3017
3017
  height: s,
3018
3018
  sx: {
3019
- ...F ? ie.viewFile : ie.viewImage,
3019
+ ...O ? ie.viewFile : ie.viewImage,
3020
3020
  ...l
3021
3021
  }
3022
3022
  }
@@ -3707,7 +3707,7 @@ const si = (A, e) => {
3707
3707
  position: x = "static",
3708
3708
  elevation: g = 0
3709
3709
  }) => {
3710
- const { breakpoints: I } = vA(), { closeMenu: b, isMenuOpen: f, anchorMenu: v, openMenu: E } = Ci(), { menuItems: m, ...B } = a || {}, d = de(I.down("sm")), R = de(I.between("sm", "md")), S = d || R, F = {
3710
+ const { breakpoints: I } = vA(), { closeMenu: b, isMenuOpen: f, anchorMenu: v, openMenu: E } = Ci(), { menuItems: m, ...B } = a || {}, d = de(I.down("sm")), R = de(I.between("sm", "md")), S = d || R, O = {
3711
3711
  logoContainer: {
3712
3712
  a: {
3713
3713
  display: "flex"
@@ -3737,10 +3737,10 @@ const si = (A, e) => {
3737
3737
  paddingX: d ? 1 : 3,
3738
3738
  ...C
3739
3739
  };
3740
- return p ? /* @__PURE__ */ t(We, { position: x, elevation: g, sx: F, children: p }) : /* @__PURE__ */ y(kA, { children: [
3741
- /* @__PURE__ */ t(We, { position: x, elevation: g, sx: F, children: /* @__PURE__ */ y(U, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3740
+ return p ? /* @__PURE__ */ t(We, { position: x, elevation: g, sx: O, children: p }) : /* @__PURE__ */ y(kA, { children: [
3741
+ /* @__PURE__ */ t(We, { position: x, elevation: g, sx: O, children: /* @__PURE__ */ y(U, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3742
3742
  S && /* @__PURE__ */ t(MA, { onClick: u, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ t(Er, {}) }),
3743
- S || n === null ? null : /* @__PURE__ */ t(L, { sx: F.logoContainer, children: n || /* @__PURE__ */ t(Nn, { mode: "dark", ...c }) }),
3743
+ S || n === null ? null : /* @__PURE__ */ t(L, { sx: O.logoContainer, children: n || /* @__PURE__ */ t(Nn, { mode: "dark", ...c }) }),
3744
3744
  /* @__PURE__ */ y(U, { alignItems: "center", direction: "row", justifyContent: d ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3745
3745
  d && (r === null ? null : r || /* @__PURE__ */ t(K1, { ...l })),
3746
3746
  e === null ? null : e || /* @__PURE__ */ t(hi, { ...s })
@@ -3790,7 +3790,7 @@ const si = (A, e) => {
3790
3790
  }
3791
3791
  if (P && typeof P == "object" && "url" in P) {
3792
3792
  const { url: K, label: tA, icon: $, active: V, end: W, state: oA } = P, uA = `${K}-${tA}-${X}`;
3793
- return /* @__PURE__ */ t(ct, { sx: F.menuItem, onClick: b, children: /* @__PURE__ */ y(m1, { url: K, component: i, active: V, end: W, state: oA, children: [
3793
+ return /* @__PURE__ */ t(ct, { sx: O.menuItem, onClick: b, children: /* @__PURE__ */ y(m1, { url: K, component: i, active: V, end: W, state: oA, children: [
3794
3794
  $ && /* @__PURE__ */ t(dt, { children: $ }),
3795
3795
  tA && /* @__PURE__ */ t(JA, { children: tA })
3796
3796
  ] }, uA) }, uA);
@@ -4928,7 +4928,7 @@ const si = (A, e) => {
4928
4928
  title: b,
4929
4929
  variant: f = "vertical"
4930
4930
  }, v) => {
4931
- const { t: E } = Pr(), { palette: m } = vA(), B = f === "vertical", d = l || e, R = Ke(null), S = Ke(null), [F, P] = aA(null), X = Ti(F);
4931
+ const { t: E } = Pr(), { palette: m } = vA(), B = f === "vertical", d = l || e, R = Ke(null), S = Ke(null), [O, P] = aA(null), X = Ti(O);
4932
4932
  Bt(v, () => S.current);
4933
4933
  const K = (V) => {
4934
4934
  x == null || x(V), P(V.target.files);
@@ -4946,7 +4946,7 @@ const si = (A, e) => {
4946
4946
  const W = S.current, oA = V.dataTransfer.files;
4947
4947
  P(oA);
4948
4948
  const uA = new DataTransfer();
4949
- Array.from(oA).forEach((Q) => uA.items.add(Q)), W && (W.files = uA.files), W == null || W.focus(), W == null || W.blur(), x == null || x({ ...V, target: W }), V.dataTransfer.clearData();
4949
+ Array.from(oA).forEach((F) => uA.items.add(F)), W && (W.files = uA.files), W == null || W.focus(), W == null || W.blur(), x == null || x({ ...V, target: W }), V.dataTransfer.clearData();
4950
4950
  }
4951
4951
  },
4952
4952
  sx: {
@@ -4977,7 +4977,7 @@ const si = (A, e) => {
4977
4977
  C || /* @__PURE__ */ t(yi, { sx: { height: 40, width: 40 } }),
4978
4978
  X ? /* @__PURE__ */ y(kA, { children: [
4979
4979
  /* @__PURE__ */ y(q, { variant: "body2", color: "textSecondary", children: [
4980
- F == null ? void 0 : F.length,
4980
+ O == null ? void 0 : O.length,
4981
4981
  " ",
4982
4982
  (a == null ? void 0 : a.files) || E("files")
4983
4983
  ] }),
@@ -5092,7 +5092,7 @@ const si = (A, e) => {
5092
5092
  r == null ? void 0 : r.map(
5093
5093
  ({ id: x, title: g, subtitle: I, image: b, thumbnail: f, secondaryAction: v, chipLabel: E, chipColor: m, onClick: B, icon: d, Avatar: R }, S) => {
5094
5094
  var Y, AA;
5095
- const F = `key-${S}-${g}-${x}`, P = !!((Y = b == null ? void 0 : b.toLowerCase()) != null && Y.endsWith(".pdf")), X = rr(b), K = rr(f), tA = a1(b), $ = B ? "none" : void 0, V = l || !!d || !X || tA, W = !!B || !!(!B && !l && (f || b)), oA = p === F, M = (K ? f : "") || (X ? b : "") || "";
5095
+ const O = `key-${S}-${g}-${x}`, P = !!((Y = b == null ? void 0 : b.toLowerCase()) != null && Y.endsWith(".pdf")), X = rr(b), K = rr(f), tA = a1(b), $ = B ? "none" : void 0, V = l || !!d || !X || tA, W = !!B || !!(!B && !l && (f || b)), oA = p === O, M = (K ? f : "") || (X ? b : "") || "";
5096
5096
  return /* @__PURE__ */ y(
5097
5097
  PA,
5098
5098
  {
@@ -5107,7 +5107,7 @@ const si = (A, e) => {
5107
5107
  ...g && { thumbnail: f },
5108
5108
  isFile: tA,
5109
5109
  isPdf: P
5110
- }), W && !oA && !B && u(F);
5110
+ }), W && !oA && !B && u(O);
5111
5111
  },
5112
5112
  sx: {
5113
5113
  ...oe.listItem,
@@ -5191,7 +5191,7 @@ const si = (A, e) => {
5191
5191
  )
5192
5192
  ]
5193
5193
  },
5194
- F
5194
+ O
5195
5195
  );
5196
5196
  }
5197
5197
  ),
@@ -5344,7 +5344,7 @@ const si = (A, e) => {
5344
5344
  slotProps: d,
5345
5345
  ...R
5346
5346
  }, S) => {
5347
- const { palette: F } = vA(), [P, X] = aA(!1), [K, tA] = aA(""), $ = F.mode === "light" ? "default" : "primary", V = C || K, oA = m ? s ? Array.isArray(s) ? s : [s] : [] : s || null;
5347
+ const { palette: O } = vA(), [P, X] = aA(!1), [K, tA] = aA(""), $ = O.mode === "light" ? "default" : "primary", V = C || K, oA = m ? s ? Array.isArray(s) ? s : [s] : [] : s || null;
5348
5348
  return /* @__PURE__ */ t(
5349
5349
  ht,
5350
5350
  {
@@ -5357,12 +5357,12 @@ const si = (A, e) => {
5357
5357
  ref: S,
5358
5358
  size: v,
5359
5359
  disableCloseOnSelect: E,
5360
- onChange: (Q, M, Y, AA) => {
5360
+ onChange: (F, M, Y, AA) => {
5361
5361
  if (M === null) {
5362
- A == null || A(Q, m ? [] : null, Y, AA);
5362
+ A == null || A(F, m ? [] : null, Y, AA);
5363
5363
  return;
5364
5364
  }
5365
- A == null || A(Q, M, Y, AA), (!E || !m) && X(!1);
5365
+ A == null || A(F, M, Y, AA), (!E || !m) && X(!1);
5366
5366
  },
5367
5367
  getLimitTagsText: Di($),
5368
5368
  inputValue: V,
@@ -5385,21 +5385,21 @@ const si = (A, e) => {
5385
5385
  ...d == null ? void 0 : d.paper
5386
5386
  }
5387
5387
  },
5388
- onInputChange: (Q, M, Y) => {
5389
- Y === "reset" && P && !I || Y === "selectOption" && !I || Y === "removeOption" && !I || (C || tA(M), u == null || u(Q, M, Y));
5388
+ onInputChange: (F, M, Y) => {
5389
+ Y === "reset" && P && !I || Y === "selectOption" && !I || Y === "removeOption" && !I || (C || tA(M), u == null || u(F, M, Y));
5390
5390
  },
5391
- onFocus: (Q) => {
5392
- X(!0), l == null || l(Q);
5391
+ onFocus: (F) => {
5392
+ X(!0), l == null || l(F);
5393
5393
  },
5394
- onBlur: (Q) => {
5395
- X(!1), c == null || c(Q);
5394
+ onBlur: (F) => {
5395
+ X(!1), c == null || c(F);
5396
5396
  },
5397
- renderOption: b || ((Q, M, { selected: Y }) => {
5397
+ renderOption: b || ((F, M, { selected: Y }) => {
5398
5398
  var eA;
5399
5399
  if (g || M != null && M.isHeader)
5400
5400
  return null;
5401
- const AA = `${M == null ? void 0 : M.id}-${Q == null ? void 0 : Q.key}`;
5402
- return /* @__PURE__ */ Rt(PA, { ...Q, key: AA }, !e && /* @__PURE__ */ t(Xe, { disableRipple: !0, checked: Y, sx: s1 }), (M == null ? void 0 : M.image) && /* @__PURE__ */ t(
5401
+ const AA = `${M == null ? void 0 : M.id}-${F == null ? void 0 : F.key}`;
5402
+ return /* @__PURE__ */ Rt(PA, { ...F, key: AA }, !e && /* @__PURE__ */ t(Xe, { disableRipple: !0, checked: Y, sx: s1 }), (M == null ? void 0 : M.image) && /* @__PURE__ */ t(
5403
5403
  gt,
5404
5404
  {
5405
5405
  sx: {
@@ -5412,17 +5412,17 @@ const si = (A, e) => {
5412
5412
  }
5413
5413
  ), typeof (M == null ? void 0 : M.label) == "string" ? /* @__PURE__ */ t(q, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: M == null ? void 0 : M.label, children: M.label }) : M == null ? void 0 : M.label);
5414
5414
  }),
5415
- renderTags: f || ((Q, M, Y) => Array.isArray(Q) ? Q.map((AA, eA) => {
5415
+ renderTags: f || ((F, M, Y) => Array.isArray(F) ? F.map((AA, eA) => {
5416
5416
  const { key: wA } = M({ index: eA });
5417
5417
  return Y != null && Y.focused ? null : /* @__PURE__ */ t(q, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: AA == null ? void 0 : AA.label }, wA);
5418
5418
  }) : null),
5419
5419
  ...R,
5420
- renderInput: (Q) => {
5420
+ renderInput: (F) => {
5421
5421
  var AA, eA;
5422
5422
  const M = () => {
5423
5423
  if (!(!P && (Array.isArray(s) && s.length || !Array.isArray(s) && s)))
5424
5424
  return r;
5425
- }, Y = Pe((AA = Q.InputProps) == null ? void 0 : AA.endAdornment) ? (eA = Q.InputProps) == null ? void 0 : eA.endAdornment : null;
5425
+ }, Y = Pe((AA = F.InputProps) == null ? void 0 : AA.endAdornment) ? (eA = F.InputProps) == null ? void 0 : eA.endAdornment : null;
5426
5426
  return /* @__PURE__ */ t(
5427
5427
  Me,
5428
5428
  {
@@ -5432,10 +5432,10 @@ const si = (A, e) => {
5432
5432
  minWidth: 0
5433
5433
  }
5434
5434
  },
5435
- ...Q,
5435
+ ...F,
5436
5436
  slotProps: {
5437
5437
  input: {
5438
- ...Q.InputProps,
5438
+ ...F.InputProps,
5439
5439
  endAdornment: P ? /* @__PURE__ */ y(
5440
5440
  le,
5441
5441
  {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "3.13.3",
5
+ "version": "3.13.4",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",