@tracktor/design-system 4.7.3 → 4.7.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
@@ -158,7 +158,7 @@ function Pr() {
158
158
  }
159
159
  }
160
160
  function o() {
161
- var f = N.A;
161
+ var f = Z.A;
162
162
  return f === null ? null : f.getOwner();
163
163
  }
164
164
  function i() {
@@ -185,7 +185,7 @@ function Pr() {
185
185
  }
186
186
  function c() {
187
187
  var f = A(this.type);
188
- return Z[f] || (Z[f] = !0, console.error(
188
+ return V[f] || (V[f] = !0, console.error(
189
189
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
190
190
  )), f = this.props.ref, f !== void 0 ? f : null;
191
191
  }
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  function g(f) {
275
275
  typeof f == "object" && f !== null && f.$$typeof === w && f._store && (f._store.validated = 1);
276
276
  }
277
- var v = Er, w = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), h = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), X = Symbol.for("react.client.reference"), N = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, K = Array.isArray, AA = console.createTask ? console.createTask : function() {
277
+ var v = Er, w = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), h = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), X = Symbol.for("react.client.reference"), Z = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, K = Array.isArray, AA = console.createTask ? console.createTask : function() {
278
278
  return null;
279
279
  };
280
280
  v = {
@@ -282,12 +282,12 @@ React keys must be passed directly to JSX without using spread:
282
282
  return f();
283
283
  }
284
284
  };
285
- var _, Z = {}, q = v["react-stack-bottom-frame"].bind(
285
+ var _, V = {}, q = v["react-stack-bottom-frame"].bind(
286
286
  v,
287
287
  i
288
288
  )(), U = AA(n(i)), eA = {};
289
289
  QA.Fragment = u, QA.jsx = function(f, x, M, L, P) {
290
- var tA = 1e4 > N.recentlyCreatedOwnerStacks++;
290
+ var tA = 1e4 > Z.recentlyCreatedOwnerStacks++;
291
291
  return p(
292
292
  f,
293
293
  x,
@@ -299,7 +299,7 @@ React keys must be passed directly to JSX without using spread:
299
299
  tA ? AA(n(f)) : U
300
300
  );
301
301
  }, QA.jsxs = function(f, x, M, L, P) {
302
- var tA = 1e4 > N.recentlyCreatedOwnerStacks++;
302
+ var tA = 1e4 > Z.recentlyCreatedOwnerStacks++;
303
303
  return p(
304
304
  f,
305
305
  x,
@@ -936,7 +936,7 @@ var it = function(e, r, n, o) {
936
936
  insert: c
937
937
  };
938
938
  return C.sheet.hydrate(a), C;
939
- }, ee = { exports: {} }, V = {};
939
+ }, ee = { exports: {} }, F = {};
940
940
  /** @license React v16.13.1
941
941
  * react-is.production.min.js
942
942
  *
@@ -947,7 +947,7 @@ var it = function(e, r, n, o) {
947
947
  */
948
948
  var c1;
949
949
  function lt() {
950
- if (c1) return V;
950
+ if (c1) return F;
951
951
  c1 = 1;
952
952
  var A = typeof Symbol == "function" && Symbol.for, e = A ? Symbol.for("react.element") : 60103, r = A ? Symbol.for("react.portal") : 60106, n = A ? Symbol.for("react.fragment") : 60107, o = A ? Symbol.for("react.strict_mode") : 60108, i = A ? Symbol.for("react.profiler") : 60114, s = A ? Symbol.for("react.provider") : 60109, a = A ? Symbol.for("react.context") : 60110, c = A ? Symbol.for("react.async_mode") : 60111, d = A ? Symbol.for("react.concurrent_mode") : 60111, p = A ? Symbol.for("react.forward_ref") : 60112, g = A ? Symbol.for("react.suspense") : 60113, v = A ? Symbol.for("react.suspense_list") : 60120, w = A ? Symbol.for("react.memo") : 60115, C = A ? Symbol.for("react.lazy") : 60116, u = A ? Symbol.for("react.block") : 60121, b = A ? Symbol.for("react.fundamental") : 60117, I = A ? Symbol.for("react.responder") : 60118, S = A ? Symbol.for("react.scope") : 60119;
953
953
  function h(l) {
@@ -983,35 +983,35 @@ function lt() {
983
983
  function y(l) {
984
984
  return h(l) === d;
985
985
  }
986
- return V.AsyncMode = c, V.ConcurrentMode = d, V.ContextConsumer = a, V.ContextProvider = s, V.Element = e, V.ForwardRef = p, V.Fragment = n, V.Lazy = C, V.Memo = w, V.Portal = r, V.Profiler = i, V.StrictMode = o, V.Suspense = g, V.isAsyncMode = function(l) {
986
+ return F.AsyncMode = c, F.ConcurrentMode = d, F.ContextConsumer = a, F.ContextProvider = s, F.Element = e, F.ForwardRef = p, F.Fragment = n, F.Lazy = C, F.Memo = w, F.Portal = r, F.Profiler = i, F.StrictMode = o, F.Suspense = g, F.isAsyncMode = function(l) {
987
987
  return y(l) || h(l) === c;
988
- }, V.isConcurrentMode = y, V.isContextConsumer = function(l) {
988
+ }, F.isConcurrentMode = y, F.isContextConsumer = function(l) {
989
989
  return h(l) === a;
990
- }, V.isContextProvider = function(l) {
990
+ }, F.isContextProvider = function(l) {
991
991
  return h(l) === s;
992
- }, V.isElement = function(l) {
992
+ }, F.isElement = function(l) {
993
993
  return typeof l == "object" && l !== null && l.$$typeof === e;
994
- }, V.isForwardRef = function(l) {
994
+ }, F.isForwardRef = function(l) {
995
995
  return h(l) === p;
996
- }, V.isFragment = function(l) {
996
+ }, F.isFragment = function(l) {
997
997
  return h(l) === n;
998
- }, V.isLazy = function(l) {
998
+ }, F.isLazy = function(l) {
999
999
  return h(l) === C;
1000
- }, V.isMemo = function(l) {
1000
+ }, F.isMemo = function(l) {
1001
1001
  return h(l) === w;
1002
- }, V.isPortal = function(l) {
1002
+ }, F.isPortal = function(l) {
1003
1003
  return h(l) === r;
1004
- }, V.isProfiler = function(l) {
1004
+ }, F.isProfiler = function(l) {
1005
1005
  return h(l) === i;
1006
- }, V.isStrictMode = function(l) {
1006
+ }, F.isStrictMode = function(l) {
1007
1007
  return h(l) === o;
1008
- }, V.isSuspense = function(l) {
1008
+ }, F.isSuspense = function(l) {
1009
1009
  return h(l) === g;
1010
- }, V.isValidElementType = function(l) {
1010
+ }, F.isValidElementType = function(l) {
1011
1011
  return typeof l == "string" || typeof l == "function" || l === n || l === d || l === i || l === o || l === g || l === v || typeof l == "object" && l !== null && (l.$$typeof === C || l.$$typeof === w || l.$$typeof === s || l.$$typeof === a || l.$$typeof === p || l.$$typeof === b || l.$$typeof === I || l.$$typeof === S || l.$$typeof === u);
1012
- }, V.typeOf = h, V;
1012
+ }, F.typeOf = h, F;
1013
1013
  }
1014
- var F = {};
1014
+ var N = {};
1015
1015
  /** @license React v16.13.1
1016
1016
  * react-is.development.js
1017
1017
  *
@@ -1060,7 +1060,7 @@ function ct() {
1060
1060
  }
1061
1061
  }
1062
1062
  }
1063
- var l = c, k = d, E = a, D = s, T = e, X = p, N = n, J = C, K = w, AA = r, _ = i, Z = o, q = g, U = !1;
1063
+ var l = c, k = d, E = a, D = s, T = e, X = p, Z = n, J = C, K = w, AA = r, _ = i, V = o, q = g, U = !1;
1064
1064
  function eA(B) {
1065
1065
  return U || (U = !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.")), f(B) || y(B) === c;
1066
1066
  }
@@ -1100,8 +1100,8 @@ function ct() {
1100
1100
  function me(B) {
1101
1101
  return y(B) === g;
1102
1102
  }
1103
- F.AsyncMode = l, F.ConcurrentMode = k, F.ContextConsumer = E, F.ContextProvider = D, F.Element = T, F.ForwardRef = X, F.Fragment = N, F.Lazy = J, F.Memo = K, F.Portal = AA, F.Profiler = _, F.StrictMode = Z, F.Suspense = q, F.isAsyncMode = eA, F.isConcurrentMode = f, F.isContextConsumer = x, F.isContextProvider = M, F.isElement = L, F.isForwardRef = P, F.isFragment = tA, F.isLazy = aA, F.isMemo = bA, F.isPortal = Y, F.isProfiler = vA, F.isStrictMode = HA, F.isSuspense = me, F.isValidElementType = h, F.typeOf = y;
1104
- }()), F;
1103
+ N.AsyncMode = l, N.ConcurrentMode = k, N.ContextConsumer = E, N.ContextProvider = D, N.Element = T, N.ForwardRef = X, N.Fragment = Z, N.Lazy = J, N.Memo = K, N.Portal = AA, N.Profiler = _, N.StrictMode = V, N.Suspense = q, N.isAsyncMode = eA, N.isConcurrentMode = f, N.isContextConsumer = x, N.isContextProvider = M, N.isElement = L, N.isForwardRef = P, N.isFragment = tA, N.isLazy = aA, N.isMemo = bA, N.isPortal = Y, N.isProfiler = vA, N.isStrictMode = HA, N.isSuspense = me, N.isValidElementType = h, N.typeOf = y;
1104
+ }()), N;
1105
1105
  }
1106
1106
  var p1;
1107
1107
  function dt() {
@@ -2801,7 +2801,7 @@ const nn = (A, e) => {
2801
2801
  height: C = 152,
2802
2802
  width: u = 220
2803
2803
  }) => {
2804
- const [b, I] = G(!1), [S, h] = G(!1), [y, l] = G(!0), k = A?.toLowerCase(), E = !k?.endsWith(".pdf") && !k?.startsWith("blob:") && !k?.endsWith(".eml"), D = k?.endsWith(".pdf"), T = c ? 1 : 0.8, X = d ? !0 : !y, N = Fe(A) || Fe(e), J = (E || D) && !N && X && !S && !c && A, K = A?.split(".").pop()?.toLowerCase(), AA = r || A?.split("/").pop()?.split("?")[0] || "", _ = () => N ? q1 : S ? an : e || A || void 0, Z = () => {
2804
+ const [b, I] = G(!1), [S, h] = G(!1), [y, l] = G(!0), k = A?.toLowerCase(), E = !k?.endsWith(".pdf") && !k?.startsWith("blob:") && !k?.endsWith(".eml"), D = k?.endsWith(".pdf"), T = c ? 1 : 0.8, X = d ? !0 : !y, Z = Fe(A) || Fe(e), J = (E || D) && !Z && X && !S && !c && A, K = A?.split(".").pop()?.toLowerCase(), AA = r || A?.split("/").pop()?.split("?")[0] || "", _ = () => Z ? q1 : S ? an : e || A || void 0, V = () => {
2805
2805
  I((x) => !x);
2806
2806
  }, q = () => {
2807
2807
  I(!1), g?.();
@@ -2811,20 +2811,20 @@ const nn = (A, e) => {
2811
2811
  l(!1);
2812
2812
  };
2813
2813
  return /* @__PURE__ */ m(mA, { children: [
2814
- !d && !n && /* @__PURE__ */ t(Be, { title: N ? AA : "", children: /* @__PURE__ */ m(
2814
+ !d && !n && /* @__PURE__ */ t(Be, { title: Z ? AA : "", children: /* @__PURE__ */ m(
2815
2815
  R,
2816
2816
  {
2817
2817
  "data-test": "fileViewer",
2818
2818
  width: u,
2819
2819
  height: C,
2820
2820
  onClick: async () => {
2821
- if (N && A) {
2821
+ if (Z && A) {
2822
2822
  const M = await (await fetch(A)).blob(), L = window.URL.createObjectURL(M), P = document.createElement("a");
2823
2823
  P.href = L, P.download = AA, P.target = "_blank", document.body.appendChild(P), P.click(), setTimeout(() => {
2824
2824
  document.body.removeChild(P), window.URL.revokeObjectURL(L);
2825
2825
  }, 100);
2826
2826
  }
2827
- v?.(), Z();
2827
+ v?.(), V();
2828
2828
  },
2829
2829
  sx: {
2830
2830
  ...FA.container,
@@ -2847,13 +2847,13 @@ const nn = (A, e) => {
2847
2847
  onLoad: eA,
2848
2848
  sx: {
2849
2849
  ...FA.thumb,
2850
- objectFit: N ? "contain" : "cover",
2851
- padding: N ? "15%" : 0
2850
+ objectFit: Z ? "contain" : "cover",
2851
+ padding: Z ? "15%" : 0
2852
2852
  }
2853
2853
  },
2854
2854
  _()
2855
2855
  ),
2856
- N && /* @__PURE__ */ t(z, { sx: FA.extension, variant: "body3", color: "black", children: K })
2856
+ Z && /* @__PURE__ */ t(z, { sx: FA.extension, variant: "body3", color: "black", children: K })
2857
2857
  ]
2858
2858
  }
2859
2859
  ) }),
@@ -2873,7 +2873,7 @@ const nn = (A, e) => {
2873
2873
  n && /* @__PURE__ */ t(
2874
2874
  R,
2875
2875
  {
2876
- onClick: Z,
2876
+ onClick: V,
2877
2877
  sx: {
2878
2878
  ":hover": { opacity: T },
2879
2879
  cursor: "pointer"
@@ -3623,12 +3623,12 @@ const nn = (A, e) => {
3623
3623
  if (UA(T)) {
3624
3624
  if (T.key)
3625
3625
  return T;
3626
- const N = `${h}-${X}`;
3627
- return Xe(T, { key: N });
3626
+ const Z = `${h}-${X}`;
3627
+ return Xe(T, { key: Z });
3628
3628
  }
3629
3629
  if (T && typeof T == "object" && "url" in T) {
3630
- const { url: N, label: J, icon: K, active: AA, end: _, state: Z } = T, q = `${N}-${J}-${X}`;
3631
- return /* @__PURE__ */ t(lr, { sx: D.menuItem, onClick: u, children: /* @__PURE__ */ m(A1, { url: N, component: o, active: AA, end: _, state: Z, children: [
3630
+ const { url: Z, label: J, icon: K, active: AA, end: _, state: V } = T, q = `${Z}-${J}-${X}`;
3631
+ return /* @__PURE__ */ t(lr, { sx: D.menuItem, onClick: u, children: /* @__PURE__ */ m(A1, { url: Z, component: o, active: AA, end: _, state: V, children: [
3632
3632
  K && /* @__PURE__ */ t(cr, { children: K }),
3633
3633
  J && /* @__PURE__ */ t(BA, { children: J })
3634
3634
  ] }, q) }, q);
@@ -4790,30 +4790,30 @@ const nn = (A, e) => {
4790
4790
  value: b,
4791
4791
  variant: I = "vertical"
4792
4792
  }, S) => {
4793
- const [h, y] = G(null), { t: l } = Ar(), { palette: k } = uA(), E = I === "vertical", D = a || e, T = Te(null), X = Te(null), N = b !== void 0 ? b : h, J = Bn(N);
4794
- kr(S, () => ({
4795
- input: X.current,
4796
- reset: () => {
4793
+ const [h, y] = G(null), { t: l } = Ar(), { palette: k } = uA(), E = I === "vertical", D = a || e, T = Te(null), X = Te(null), Z = b !== void 0 ? b : h, J = Bn(Z);
4794
+ kr(S, () => {
4795
+ const V = X.current;
4796
+ return V.reset = () => {
4797
4797
  y(null), X.current && (X.current.value = "");
4798
- }
4799
- }));
4800
- const K = (Z) => {
4801
- v?.(Z), y(Z.target.files);
4798
+ }, V;
4799
+ });
4800
+ const K = (V) => {
4801
+ v?.(V), y(V.target.files);
4802
4802
  };
4803
4803
  return /* @__PURE__ */ m(
4804
4804
  ur,
4805
4805
  {
4806
4806
  ref: T,
4807
4807
  htmlFor: D,
4808
- onDragOver: (Z) => {
4809
- Z.preventDefault();
4808
+ onDragOver: (V) => {
4809
+ V.preventDefault();
4810
4810
  },
4811
- onDrop: (Z) => {
4812
- if (Z.preventDefault(), Z.dataTransfer.files.length > 0) {
4813
- const q = X.current, U = Z.dataTransfer.files;
4811
+ onDrop: (V) => {
4812
+ if (V.preventDefault(), V.dataTransfer.files.length > 0) {
4813
+ const q = X.current, U = V.dataTransfer.files;
4814
4814
  y(U);
4815
4815
  const eA = new DataTransfer();
4816
- Array.from(U).forEach((f) => eA.items.add(f)), q && (q.files = eA.files), q?.focus(), q?.blur(), v?.({ ...Z, target: q }), Z.dataTransfer.clearData();
4816
+ Array.from(U).forEach((f) => eA.items.add(f)), q && (q.files = eA.files), q?.focus(), q?.blur(), v?.({ ...V, target: q }), V.dataTransfer.clearData();
4817
4817
  }
4818
4818
  },
4819
4819
  sx: {
@@ -4844,7 +4844,7 @@ const nn = (A, e) => {
4844
4844
  g || /* @__PURE__ */ t(xn, { sx: { height: 40, width: 40 } }),
4845
4845
  J ? /* @__PURE__ */ m(mA, { children: [
4846
4846
  /* @__PURE__ */ m(z, { variant: "body2", color: "textSecondary", children: [
4847
- N?.length,
4847
+ Z?.length,
4848
4848
  " ",
4849
4849
  i?.files || l("files")
4850
4850
  ] }),
@@ -4958,7 +4958,7 @@ const nn = (A, e) => {
4958
4958
  children: [
4959
4959
  r?.map(
4960
4960
  ({ id: g, title: v, subtitle: w, image: C, thumbnail: u, secondaryAction: b, chipLabel: I, chipColor: S, onClick: h, icon: y, Avatar: l }, k) => {
4961
- const E = `key-${k}-${v}-${g}`, D = !!C?.toLowerCase()?.endsWith(".pdf"), T = B1(C), X = B1(u), N = Fe(C), J = h ? "none" : void 0, K = a || !!y || !T || N, AA = !!h || !!(!h && !a && (u || C)), _ = d === E, U = (X ? u : "") || (T ? C : "") || "";
4961
+ const E = `key-${k}-${v}-${g}`, D = !!C?.toLowerCase()?.endsWith(".pdf"), T = B1(C), X = B1(u), Z = Fe(C), J = h ? "none" : void 0, K = a || !!y || !T || Z, AA = !!h || !!(!h && !a && (u || C)), _ = d === E, U = (X ? u : "") || (T ? C : "") || "";
4962
4962
  return /* @__PURE__ */ m(
4963
4963
  EA,
4964
4964
  {
@@ -4971,7 +4971,7 @@ const nn = (A, e) => {
4971
4971
  ...w && { subtitle: w },
4972
4972
  ...u && { thumbnail: u },
4973
4973
  ...v && { thumbnail: u },
4974
- isFile: N,
4974
+ isFile: Z,
4975
4975
  isPdf: D
4976
4976
  }), AA && !_ && !h && p(E);
4977
4977
  },
@@ -5021,17 +5021,17 @@ const nn = (A, e) => {
5021
5021
  children: /* @__PURE__ */ t(
5022
5022
  kA,
5023
5023
  {
5024
- src: N ? q1 : U,
5024
+ src: Z ? q1 : U,
5025
5025
  variant: "rounded",
5026
5026
  sx: { marginRight: NA },
5027
5027
  slotProps: {
5028
5028
  img: {
5029
5029
  sx: {
5030
- ...N && { padding: "15%" }
5030
+ ...Z && { padding: "15%" }
5031
5031
  }
5032
5032
  }
5033
5033
  },
5034
- children: !N && (y || typeof v == "string" && (v || "")?.charAt(0).toUpperCase())
5034
+ children: !Z && (y || typeof v == "string" && (v || "")?.charAt(0).toUpperCase())
5035
5035
  }
5036
5036
  )
5037
5037
  }
@@ -5230,8 +5230,8 @@ const nn = (A, e) => {
5230
5230
  options: D = [],
5231
5231
  slotProps: T,
5232
5232
  ...X
5233
- }, N) => {
5234
- const [J, K] = G(!1), [AA, _] = G(""), Z = w || AA, q = A === "chip", U = Array.isArray(a) ? !!a.length : a != null, eA = Rn(a, E);
5233
+ }, Z) => {
5234
+ const [J, K] = G(!1), [AA, _] = G(""), V = w || AA, q = A === "chip", U = Array.isArray(a) ? !!a.length : a != null, eA = Rn(a, E);
5235
5235
  return /* @__PURE__ */ t(
5236
5236
  gr,
5237
5237
  {
@@ -5241,7 +5241,7 @@ const nn = (A, e) => {
5241
5241
  value: eA,
5242
5242
  options: D,
5243
5243
  loading: u,
5244
- ref: N,
5244
+ ref: Z,
5245
5245
  size: l,
5246
5246
  disableCloseOnSelect: k,
5247
5247
  onChange: (x, M, L, P) => {
@@ -5252,7 +5252,7 @@ const nn = (A, e) => {
5252
5252
  e?.(x, M, L, P), (!k || !E) && K(!1);
5253
5253
  },
5254
5254
  getLimitTagsText: Pn(A),
5255
- inputValue: Z,
5255
+ inputValue: V,
5256
5256
  open: p || J,
5257
5257
  onOpen: () => K(!0),
5258
5258
  sx: {
@@ -5330,7 +5330,7 @@ const nn = (A, e) => {
5330
5330
  transition: "transform 0.2s ease-in-out"
5331
5331
  },
5332
5332
  children: [
5333
- (Z || U) && !C && /* @__PURE__ */ t(
5333
+ (V || U) && !C && /* @__PURE__ */ t(
5334
5334
  gA,
5335
5335
  {
5336
5336
  size: "small",
@@ -5370,7 +5370,7 @@ const nn = (A, e) => {
5370
5370
  sx: {
5371
5371
  cursor: "pointer",
5372
5372
  transition: "opacity 0.2s ease-in-out",
5373
- ...(Z || U) && !C && {
5373
+ ...(V || U) && !C && {
5374
5374
  ".MuiTextField-root:hover &": {
5375
5375
  opacity: 0
5376
5376
  }
@@ -5389,7 +5389,7 @@ const nn = (A, e) => {
5389
5389
  right: 8
5390
5390
  },
5391
5391
  children: [
5392
- Z && !C && /* @__PURE__ */ t(
5392
+ V && !C && /* @__PURE__ */ t(
5393
5393
  gA,
5394
5394
  {
5395
5395
  size: "small",
@@ -5409,7 +5409,7 @@ const nn = (A, e) => {
5409
5409
  {
5410
5410
  sx: {
5411
5411
  "& .MuiInputBase-root .MuiInputBase-input": {
5412
- flex: !E || !J && !Z || J ? 1 : 0,
5412
+ flex: !E || !J && !V || J ? 1 : 0,
5413
5413
  minWidth: 0
5414
5414
  },
5415
5415
  ...q && {
@@ -21,9 +21,8 @@ export interface FileUploadProps {
21
21
  };
22
22
  onChange?(e: ChangeEvent<HTMLInputElement>): void;
23
23
  }
24
- export interface FileInputRef {
25
- input: HTMLInputElement | null;
26
- reset: () => void;
24
+ export interface HTMLInputElementFile extends HTMLInputElement {
25
+ reset?: () => void;
27
26
  }
28
- declare const File: import('react').ForwardRefExoticComponent<FileUploadProps & import('react').RefAttributes<FileInputRef>>;
27
+ declare const File: import('react').ForwardRefExoticComponent<FileUploadProps & import('react').RefAttributes<HTMLInputElementFile>>;
29
28
  export default File;
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": "4.7.3",
5
+ "version": "4.7.4",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",