welcome-ui 10.0.0-alpha.14 → 10.0.0-alpha.15

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/FileDrop.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import './FileDrop.css';
3
- import { jsxs as T, Fragment as ui, jsx as m } from "react/jsx-runtime";
3
+ import { jsxs as L, Fragment as vi, jsx as m } from "react/jsx-runtime";
4
4
  import Si, { useMemo as J, useRef as xa, useReducer as qi, useEffect as ta, useCallback as _, forwardRef as fi, useImperativeHandle as Ti, Fragment as Li, useState as Qa } from "react";
5
5
  import { _ as B, P as s } from "./tslib.es6-C80jYMbM.js";
6
- import { g as Ci, c as Ea } from "./index-PAaZGbyz.js";
7
- import { Button as ka } from "./Button.js";
6
+ import { g as Ci, c as Aa } from "./index-PAaZGbyz.js";
7
+ import { Button as ja } from "./Button.js";
8
8
  import { Icon as U } from "./Icon.js";
9
9
  import { c as ai } from "./create-event-rXDe5aCQ.js";
10
10
  import { g as Mi, a as Ni, b as xi } from "./index-DmEMuVTM.js";
11
- import { Text as ja } from "./Text.js";
11
+ import { Text as Da } from "./Text.js";
12
12
  const $i = /* @__PURE__ */ new Map([
13
13
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
14
14
  ["1km", "application/vnd.1000minds.decision-model+xml"],
@@ -1246,16 +1246,16 @@ const Hi = [
1246
1246
  ];
1247
1247
  function Wi(a) {
1248
1248
  return B(this, void 0, void 0, function* () {
1249
- return Da(a) && Ui(a.dataTransfer) ? Gi(a.dataTransfer, a.type) : Bi(a) ? Yi(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? Vi(a) : [];
1249
+ return za(a) && Ui(a.dataTransfer) ? Gi(a.dataTransfer, a.type) : Bi(a) ? Yi(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? Vi(a) : [];
1250
1250
  });
1251
1251
  }
1252
1252
  function Ui(a) {
1253
- return Da(a);
1253
+ return za(a);
1254
1254
  }
1255
1255
  function Bi(a) {
1256
- return Da(a) && Da(a.target);
1256
+ return za(a) && za(a.target);
1257
1257
  }
1258
- function Da(a) {
1258
+ function za(a) {
1259
1259
  return typeof a == "object" && a !== null;
1260
1260
  }
1261
1261
  function Yi(a) {
@@ -1373,7 +1373,7 @@ function Qi() {
1373
1373
  }), ga;
1374
1374
  }
1375
1375
  var at = Qi();
1376
- const Ca = /* @__PURE__ */ Ci(at);
1376
+ const Ma = /* @__PURE__ */ Ci(at);
1377
1377
  function pi(a) {
1378
1378
  return et(a) || tt(a) || yi(a) || it();
1379
1379
  }
@@ -1439,8 +1439,8 @@ function pt(a, i) {
1439
1439
  try {
1440
1440
  for (t = t.call(a); !(n = (l = t.next()).done) && (e.push(l.value), !(i && e.length === i)); n = !0)
1441
1441
  ;
1442
- } catch (u) {
1443
- o = !0, r = u;
1442
+ } catch (v) {
1443
+ o = !0, r = v;
1444
1444
  } finally {
1445
1445
  try {
1446
1446
  !n && t.return != null && t.return();
@@ -1454,7 +1454,7 @@ function pt(a, i) {
1454
1454
  function ot(a) {
1455
1455
  if (Array.isArray(a)) return a;
1456
1456
  }
1457
- var ct = typeof Ca == "function" ? Ca : Ca.default, lt = "file-invalid-type", rt = "file-too-large", st = "file-too-small", dt = "too-many-files", mt = function() {
1457
+ var ct = typeof Ma == "function" ? Ma : Ma.default, lt = "file-invalid-type", rt = "file-too-large", st = "file-too-small", dt = "too-many-files", mt = function() {
1458
1458
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), e = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
1459
1459
  return {
1460
1460
  code: lt,
@@ -1470,7 +1470,7 @@ var ct = typeof Ca == "function" ? Ca : Ca.default, lt = "file-invalid-type", rt
1470
1470
  code: st,
1471
1471
  message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1472
1472
  };
1473
- }, vt = {
1473
+ }, ut = {
1474
1474
  code: dt,
1475
1475
  message: "Too many files"
1476
1476
  };
@@ -1492,14 +1492,14 @@ function ki(a, i, t) {
1492
1492
  function W(a) {
1493
1493
  return a != null;
1494
1494
  }
1495
- function ut(a) {
1495
+ function vt(a) {
1496
1496
  var i = a.files, t = a.accept, e = a.minSize, n = a.maxSize, o = a.multiple, l = a.maxFiles, r = a.validator;
1497
- return !o && i.length > 1 || o && l >= 1 && i.length > l ? !1 : i.every(function(u) {
1498
- var j = wi(u, t), D = ea(j, 1), f = D[0], L = ki(u, e, n), C = ea(L, 1), R = C[0], P = r ? r(u) : null;
1499
- return f && R && !P;
1497
+ return !o && i.length > 1 || o && l >= 1 && i.length > l ? !1 : i.every(function(v) {
1498
+ var j = wi(v, t), D = ea(j, 1), f = D[0], R = ki(v, e, n), C = ea(R, 1), S = C[0], P = r ? r(v) : null;
1499
+ return f && S && !P;
1500
1500
  });
1501
1501
  }
1502
- function za(a) {
1502
+ function _a(a) {
1503
1503
  return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
1504
1504
  }
1505
1505
  function ba(a) {
@@ -1527,7 +1527,7 @@ function F() {
1527
1527
  for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++)
1528
1528
  o[l - 1] = arguments[l];
1529
1529
  return i.some(function(r) {
1530
- return !za(e) && r && r.apply(void 0, [e].concat(o)), za(e);
1530
+ return !_a(e) && r && r.apply(void 0, [e].concat(o)), _a(e);
1531
1531
  });
1532
1532
  };
1533
1533
  }
@@ -1586,7 +1586,7 @@ function Ot(a) {
1586
1586
  function Ft(a) {
1587
1587
  if (Array.isArray(a)) return Ha(a);
1588
1588
  }
1589
- function Ma(a, i) {
1589
+ function Na(a, i) {
1590
1590
  return Rt(a) || It(a, i) || zi(a, i) || Pt();
1591
1591
  }
1592
1592
  function Pt() {
@@ -1614,8 +1614,8 @@ function It(a, i) {
1614
1614
  try {
1615
1615
  for (t = t.call(a); !(n = (l = t.next()).done) && (e.push(l.value), !(i && e.length === i)); n = !0)
1616
1616
  ;
1617
- } catch (u) {
1618
- o = !0, r = u;
1617
+ } catch (v) {
1618
+ o = !0, r = v;
1619
1619
  } finally {
1620
1620
  try {
1621
1621
  !n && t.return != null && t.return();
@@ -1653,7 +1653,7 @@ function d(a) {
1653
1653
  function Wa(a, i, t) {
1654
1654
  return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1655
1655
  }
1656
- function _a(a, i) {
1656
+ function Ea(a, i) {
1657
1657
  if (a == null) return {};
1658
1658
  var t = St(a, i), e, n;
1659
1659
  if (Object.getOwnPropertySymbols) {
@@ -1671,7 +1671,7 @@ function St(a, i) {
1671
1671
  return t;
1672
1672
  }
1673
1673
  var Ba = /* @__PURE__ */ fi(function(a, i) {
1674
- var t = a.children, e = _a(a, jt), n = Ei(e), o = n.open, l = _a(n, Dt);
1674
+ var t = a.children, e = Ea(a, jt), n = Ei(e), o = n.open, l = Ea(n, Dt);
1675
1675
  return Ti(i, function() {
1676
1676
  return {
1677
1677
  open: o
@@ -1876,7 +1876,7 @@ var Ua = {
1876
1876
  fileRejections: []
1877
1877
  };
1878
1878
  function Ei() {
1879
- var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = d(d({}, _i), a), t = i.accept, e = i.disabled, n = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, u = i.maxFiles, j = i.onDragEnter, D = i.onDragLeave, f = i.onDragOver, L = i.onDrop, C = i.onDropAccepted, R = i.onDropRejected, P = i.onFileDialogCancel, M = i.onFileDialogOpen, z = i.useFsAccessApi, N = i.autoFocus, $ = i.preventDropOnDocument, na = i.noClick, Q = i.noKeyboard, pa = i.noDrag, g = i.noDragEventsBubbling, S = i.onError, K = i.validator, I = J(function() {
1879
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = d(d({}, _i), a), t = i.accept, e = i.disabled, n = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, v = i.maxFiles, j = i.onDragEnter, D = i.onDragLeave, f = i.onDragOver, R = i.onDrop, C = i.onDropAccepted, S = i.onDropRejected, P = i.onFileDialogCancel, M = i.onFileDialogOpen, z = i.useFsAccessApi, N = i.autoFocus, $ = i.preventDropOnDocument, na = i.noClick, Q = i.noKeyboard, pa = i.noDrag, g = i.noDragEventsBubbling, q = i.onError, K = i.validator, I = J(function() {
1880
1880
  return yt(t);
1881
1881
  }, [t]), oa = J(function() {
1882
1882
  return ht(t);
@@ -1884,7 +1884,7 @@ function Ei() {
1884
1884
  return typeof M == "function" ? M : mi;
1885
1885
  }, [M]), Y = J(function() {
1886
1886
  return typeof P == "function" ? P : mi;
1887
- }, [P]), b = xa(null), w = xa(null), ca = qi(qt, Ua), la = Ma(ca, 2), H = la[0], h = la[1], Oa = H.isFocused, A = H.isFileDialogActive, y = xa(typeof window < "u" && window.isSecureContext && z && bt()), E = function() {
1887
+ }, [P]), b = xa(null), w = xa(null), ca = qi(qt, Ua), la = Na(ca, 2), H = la[0], h = la[1], Fa = H.isFocused, A = H.isFileDialogActive, y = xa(typeof window < "u" && window.isSecureContext && z && bt()), E = function() {
1888
1888
  !y.current && A && setTimeout(function() {
1889
1889
  if (w.current) {
1890
1890
  var c = w.current.files;
@@ -1899,8 +1899,8 @@ function Ei() {
1899
1899
  window.removeEventListener("focus", E, !1);
1900
1900
  };
1901
1901
  }, [w, A, Y, y]);
1902
- var q = xa([]), ra = function(c) {
1903
- b.current && b.current.contains(c.target) || (c.preventDefault(), q.current = []);
1902
+ var T = xa([]), ra = function(c) {
1903
+ b.current && b.current.contains(c.target) || (c.preventDefault(), T.current = []);
1904
1904
  };
1905
1905
  ta(function() {
1906
1906
  return $ && (document.addEventListener("dragover", si, !1), document.addEventListener("drop", ra, !1)), function() {
@@ -1911,19 +1911,19 @@ function Ei() {
1911
1911
  };
1912
1912
  }, [b, N, e]);
1913
1913
  var O = _(function(p) {
1914
- S ? S(p) : console.error(p);
1915
- }, [S]), sa = _(function(p) {
1916
- p.preventDefault(), p.persist(), ua(p), q.current = [].concat(Et(q.current), [p.target]), ba(p) && Promise.resolve(n(p)).then(function(c) {
1917
- if (!(za(p) && !g)) {
1918
- var v = c.length, x = v > 0 && ut({
1914
+ q ? q(p) : console.error(p);
1915
+ }, [q]), sa = _(function(p) {
1916
+ p.preventDefault(), p.persist(), va(p), T.current = [].concat(Et(T.current), [p.target]), ba(p) && Promise.resolve(n(p)).then(function(c) {
1917
+ if (!(_a(p) && !g)) {
1918
+ var u = c.length, x = u > 0 && vt({
1919
1919
  files: c,
1920
1920
  accept: I,
1921
1921
  minSize: l,
1922
1922
  maxSize: o,
1923
1923
  multiple: r,
1924
- maxFiles: u,
1924
+ maxFiles: v,
1925
1925
  validator: K
1926
- }), k = v > 0 && !x;
1926
+ }), k = u > 0 && !x;
1927
1927
  h({
1928
1928
  isDragAccept: x,
1929
1929
  isDragReject: k,
@@ -1934,8 +1934,8 @@ function Ei() {
1934
1934
  }).catch(function(c) {
1935
1935
  return O(c);
1936
1936
  });
1937
- }, [n, j, O, g, I, l, o, r, u, K]), Ya = _(function(p) {
1938
- p.preventDefault(), p.persist(), ua(p);
1937
+ }, [n, j, O, g, I, l, o, r, v, K]), Ya = _(function(p) {
1938
+ p.preventDefault(), p.persist(), va(p);
1939
1939
  var c = ba(p);
1940
1940
  if (c && p.dataTransfer)
1941
1941
  try {
@@ -1944,45 +1944,45 @@ function Ei() {
1944
1944
  }
1945
1945
  return c && f && f(p), !1;
1946
1946
  }, [f, g]), Va = _(function(p) {
1947
- p.preventDefault(), p.persist(), ua(p);
1948
- var c = q.current.filter(function(x) {
1947
+ p.preventDefault(), p.persist(), va(p);
1948
+ var c = T.current.filter(function(x) {
1949
1949
  return b.current && b.current.contains(x);
1950
- }), v = c.indexOf(p.target);
1951
- v !== -1 && c.splice(v, 1), q.current = c, !(c.length > 0) && (h({
1950
+ }), u = c.indexOf(p.target);
1951
+ u !== -1 && c.splice(u, 1), T.current = c, !(c.length > 0) && (h({
1952
1952
  type: "setDraggedFiles",
1953
1953
  isDragActive: !1,
1954
1954
  isDragAccept: !1,
1955
1955
  isDragReject: !1
1956
1956
  }), ba(p) && D && D(p));
1957
1957
  }, [b, D, g]), da = _(function(p, c) {
1958
- var v = [], x = [];
1958
+ var u = [], x = [];
1959
1959
  p.forEach(function(k) {
1960
- var ia = wi(k, I), Z = Ma(ia, 2), Pa = Z[0], Ia = Z[1], Ra = ki(k, l, o), fa = Ma(Ra, 2), Sa = fa[0], qa = fa[1], Ta = K ? K(k) : null;
1961
- if (Pa && Sa && !Ta)
1962
- v.push(k);
1960
+ var ia = wi(k, I), Z = Na(ia, 2), Ia = Z[0], Ra = Z[1], Sa = ki(k, l, o), fa = Na(Sa, 2), qa = fa[0], Ta = fa[1], La = K ? K(k) : null;
1961
+ if (Ia && qa && !La)
1962
+ u.push(k);
1963
1963
  else {
1964
- var La = [Ia, qa];
1965
- Ta && (La = La.concat(Ta)), x.push({
1964
+ var Ca = [Ra, Ta];
1965
+ La && (Ca = Ca.concat(La)), x.push({
1966
1966
  file: k,
1967
- errors: La.filter(function(Ri) {
1967
+ errors: Ca.filter(function(Ri) {
1968
1968
  return Ri;
1969
1969
  })
1970
1970
  });
1971
1971
  }
1972
- }), (!r && v.length > 1 || r && u >= 1 && v.length > u) && (v.forEach(function(k) {
1972
+ }), (!r && u.length > 1 || r && v >= 1 && u.length > v) && (u.forEach(function(k) {
1973
1973
  x.push({
1974
1974
  file: k,
1975
- errors: [vt]
1975
+ errors: [ut]
1976
1976
  });
1977
- }), v.splice(0)), h({
1978
- acceptedFiles: v,
1977
+ }), u.splice(0)), h({
1978
+ acceptedFiles: u,
1979
1979
  fileRejections: x,
1980
1980
  isDragReject: x.length > 0,
1981
1981
  type: "setFiles"
1982
- }), L && L(v, x, c), x.length > 0 && R && R(x, c), v.length > 0 && C && C(v, c);
1983
- }, [h, r, I, l, o, u, L, C, R, K]), ma = _(function(p) {
1984
- p.preventDefault(), p.persist(), ua(p), q.current = [], ba(p) && Promise.resolve(n(p)).then(function(c) {
1985
- za(p) && !g || da(c, p);
1982
+ }), R && R(u, x, c), x.length > 0 && S && S(x, c), u.length > 0 && C && C(u, c);
1983
+ }, [h, r, I, l, o, v, R, C, S, K]), ma = _(function(p) {
1984
+ p.preventDefault(), p.persist(), va(p), T.current = [], ba(p) && Promise.resolve(n(p)).then(function(c) {
1985
+ _a(p) && !g || da(c, p);
1986
1986
  }).catch(function(c) {
1987
1987
  return O(c);
1988
1988
  }), h({
@@ -2027,34 +2027,34 @@ function Ei() {
2027
2027
  na || (gt() ? setTimeout(V, 0) : V());
2028
2028
  }, [na, V]), G = function(c) {
2029
2029
  return e ? null : c;
2030
- }, Fa = function(c) {
2030
+ }, Pa = function(c) {
2031
2031
  return Q ? null : G(c);
2032
- }, va = function(c) {
2033
- return pa ? null : G(c);
2034
2032
  }, ua = function(c) {
2033
+ return pa ? null : G(c);
2034
+ }, va = function(c) {
2035
2035
  g && c.stopPropagation();
2036
2036
  }, Fi = J(function() {
2037
2037
  return function() {
2038
- var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, v = c === void 0 ? "ref" : c, x = p.role, k = p.onKeyDown, ia = p.onFocus, Z = p.onBlur, Pa = p.onClick, Ia = p.onDragEnter, Ra = p.onDragOver, fa = p.onDragLeave, Sa = p.onDrop, qa = _a(p, zt);
2038
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, u = c === void 0 ? "ref" : c, x = p.role, k = p.onKeyDown, ia = p.onFocus, Z = p.onBlur, Ia = p.onClick, Ra = p.onDragEnter, Sa = p.onDragOver, fa = p.onDragLeave, qa = p.onDrop, Ta = Ea(p, zt);
2039
2039
  return d(d(Wa({
2040
- onKeyDown: Fa(F(k, Ga)),
2041
- onFocus: Fa(F(ia, Za)),
2042
- onBlur: Fa(F(Z, Ja)),
2043
- onClick: G(F(Pa, Xa)),
2044
- onDragEnter: va(F(Ia, sa)),
2045
- onDragOver: va(F(Ra, Ya)),
2046
- onDragLeave: va(F(fa, Va)),
2047
- onDrop: va(F(Sa, ma)),
2040
+ onKeyDown: Pa(F(k, Ga)),
2041
+ onFocus: Pa(F(ia, Za)),
2042
+ onBlur: Pa(F(Z, Ja)),
2043
+ onClick: G(F(Ia, Xa)),
2044
+ onDragEnter: ua(F(Ra, sa)),
2045
+ onDragOver: ua(F(Sa, Ya)),
2046
+ onDragLeave: ua(F(fa, Va)),
2047
+ onDrop: ua(F(qa, ma)),
2048
2048
  role: typeof x == "string" && x !== "" ? x : "presentation"
2049
- }, v, b), !e && !Q ? {
2049
+ }, u, b), !e && !Q ? {
2050
2050
  tabIndex: 0
2051
- } : {}), qa);
2051
+ } : {}), Ta);
2052
2052
  };
2053
2053
  }, [b, Ga, Za, Ja, Xa, sa, Ya, Va, ma, Q, pa, e]), Pi = _(function(p) {
2054
2054
  p.stopPropagation();
2055
2055
  }, []), Ii = J(function() {
2056
2056
  return function() {
2057
- var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, v = c === void 0 ? "ref" : c, x = p.onChange, k = p.onClick, ia = _a(p, _t), Z = Wa({
2057
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, u = c === void 0 ? "ref" : c, x = p.onChange, k = p.onClick, ia = Ea(p, _t), Z = Wa({
2058
2058
  accept: I,
2059
2059
  multiple: r,
2060
2060
  type: "file",
@@ -2073,12 +2073,12 @@ function Ei() {
2073
2073
  onChange: G(F(x, ma)),
2074
2074
  onClick: G(F(k, Pi)),
2075
2075
  tabIndex: -1
2076
- }, v, w);
2076
+ }, u, w);
2077
2077
  return d(d({}, Z), ia);
2078
2078
  };
2079
2079
  }, [w, t, r, ma, e]);
2080
2080
  return d(d({}, H), {}, {
2081
- isFocused: Oa && !e,
2081
+ isFocused: Fa && !e,
2082
2082
  getRootProps: Fi,
2083
2083
  getInputProps: Ii,
2084
2084
  rootRef: b,
@@ -2124,31 +2124,32 @@ function qt(a, i) {
2124
2124
  }
2125
2125
  function mi() {
2126
2126
  }
2127
- const Tt = "_root_z1bfm_2", Lt = "_disabled_z1bfm_26", Ct = "_actions_z1bfm_68", Aa = {
2127
+ const Tt = "_root_dadju_2", Lt = "_disabled_dadju_26", Ct = "_actions_dadju_68", Oa = {
2128
2128
  root: Tt,
2129
2129
  disabled: Lt,
2130
- "drag-reject": "_drag-reject_z1bfm_32",
2131
- "file-input": "_file-input_z1bfm_35",
2132
- "file-preview": "_file-preview_z1bfm_40",
2133
- "file-preview-icon": "_file-preview-icon_z1bfm_48",
2134
- "file-preview-name": "_file-preview-name_z1bfm_51",
2135
- "file-preview-size": "_file-preview-size_z1bfm_55",
2136
- "file-preview-button": "_file-preview-button_z1bfm_58",
2137
- "image-preview": "_image-preview_z1bfm_63",
2130
+ "drag-reject": "_drag-reject_dadju_32",
2131
+ "file-input": "_file-input_dadju_35",
2132
+ "file-preview": "_file-preview_dadju_40",
2133
+ "file-preview-icon": "_file-preview-icon_dadju_48",
2134
+ "file-preview-name": "_file-preview-name_dadju_51",
2135
+ "file-preview-size": "_file-preview-size_dadju_55",
2136
+ "file-preview-button": "_file-preview-button_dadju_58",
2137
+ "image-preview": "_image-preview_dadju_63",
2138
2138
  actions: Ct,
2139
- "message-title": "_message-title_z1bfm_73",
2140
- "message-hint": "_message-hint_z1bfm_76",
2141
- "message-file-button-text": "_message-file-button-text_z1bfm_81"
2142
- }, ha = Ea(Aa), Ai = ({
2139
+ "message-title": "_message-title_dadju_73",
2140
+ "message-hint": "_message-hint_dadju_76",
2141
+ "message-file-button-text": "_message-file-button-text_dadju_81",
2142
+ "message-icon": "_message-icon_dadju_84"
2143
+ }, ha = Aa(Oa), Ai = ({
2143
2144
  file: a,
2144
2145
  fileName: i,
2145
2146
  forceFileType: t,
2146
2147
  previewButtonText: e = "Preview"
2147
2148
  }) => {
2148
2149
  const n = typeof a == "string", o = Mi(a, t), l = a instanceof File ? Ni(a) : null, r = n && i ? i : xi(a);
2149
- return /* @__PURE__ */ T(ui, { children: [
2150
- n ? /* @__PURE__ */ T(
2151
- ka,
2150
+ return /* @__PURE__ */ L(vi, { children: [
2151
+ n ? /* @__PURE__ */ L(
2152
+ ja,
2152
2153
  {
2153
2154
  as: "a",
2154
2155
  className: ha("file-preview-size", "file-preview-button"),
@@ -2164,26 +2165,26 @@ const Tt = "_root_z1bfm_2", Lt = "_disabled_z1bfm_26", Ct = "_actions_z1bfm_68",
2164
2165
  }
2165
2166
  ) : null,
2166
2167
  /* @__PURE__ */ m(U, { className: ha("file-preview-icon"), name: o, size: "xxl" }),
2167
- /* @__PURE__ */ m(ja, { className: ha("file-preview-name"), lines: 1, variant: "heading-xs-strong", children: r }),
2168
- !n && /* @__PURE__ */ m(ja, { className: ha("file-preview-size"), lines: 1, variant: "body-md", children: l })
2168
+ /* @__PURE__ */ m(Da, { className: ha("file-preview-name"), lines: 1, variant: "heading-xs-strong", children: r }),
2169
+ !n && /* @__PURE__ */ m(Da, { className: ha("file-preview-size"), lines: 1, variant: "body-md", children: l })
2169
2170
  ] });
2170
2171
  };
2171
2172
  Ai.displayName = "FileDrop.FilePreview";
2172
- const Na = Ea(Aa), wa = ({
2173
+ const ya = Aa(Oa), ka = ({
2173
2174
  disabled: a,
2174
2175
  fileButtonText: i = "Browse file",
2175
2176
  hint: t = "Drag & drop a file here or",
2176
2177
  isLoading: e,
2177
2178
  openFile: n,
2178
2179
  title: o = "Add file"
2179
- }) => /* @__PURE__ */ T(ui, { children: [
2180
- /* @__PURE__ */ m(U, { className: "mb-lg", name: "import", size: "lg" }),
2181
- /* @__PURE__ */ m(ja, { className: Na("message-title"), variant: "heading-xs-strong", children: o }),
2182
- /* @__PURE__ */ m(ja, { className: Na("message-hint"), variant: "body-md", children: t }),
2180
+ }) => /* @__PURE__ */ L(vi, { children: [
2181
+ /* @__PURE__ */ m(U, { className: ya("message-icon"), name: "import", size: "lg" }),
2182
+ /* @__PURE__ */ m(Da, { className: ya("message-title"), variant: "heading-xs-strong", children: o }),
2183
+ /* @__PURE__ */ m(Da, { className: ya("message-hint"), variant: "body-md", children: t }),
2183
2184
  /* @__PURE__ */ m(
2184
- ka,
2185
+ ja,
2185
2186
  {
2186
- className: Na("message-file-button-text"),
2187
+ className: ya("message-file-button-text"),
2187
2188
  disabled: a,
2188
2189
  isLoading: e,
2189
2190
  onClick: n,
@@ -2192,8 +2193,8 @@ const Na = Ea(Aa), wa = ({
2192
2193
  }
2193
2194
  )
2194
2195
  ] });
2195
- wa.displayName = "FileDrop.Message";
2196
- const Mt = Ea(Aa), Oi = ({
2196
+ ka.displayName = "FileDrop.Message";
2197
+ const Mt = Aa(Oa), Oi = ({
2197
2198
  disabled: a,
2198
2199
  error: i,
2199
2200
  file: t,
@@ -2202,21 +2203,21 @@ const Mt = Ea(Aa), Oi = ({
2202
2203
  forceFileType: o,
2203
2204
  isAnImage: l,
2204
2205
  isHoverAccept: r,
2205
- isHoverReject: u,
2206
+ isHoverReject: v,
2206
2207
  isLoading: j,
2207
2208
  openFile: D,
2208
2209
  wordings: f
2209
- }) => r ? /* @__PURE__ */ m(U, { name: "smile-beam-solid" }) : u ? /* @__PURE__ */ m(U, { name: "sad-solid" }) : j ? /* @__PURE__ */ m(
2210
- wa,
2210
+ }) => r ? /* @__PURE__ */ m(U, { name: "smile-beam-solid" }) : v ? /* @__PURE__ */ m(U, { name: "sad-solid" }) : j ? /* @__PURE__ */ m(
2211
+ ka,
2211
2212
  {
2212
2213
  hint: f == null ? void 0 : f.loadingHint,
2213
2214
  isLoading: !0,
2214
2215
  openFile: D,
2215
2216
  title: f == null ? void 0 : f.loadingTitle
2216
2217
  }
2217
- ) : i ? /* @__PURE__ */ m(wa, { openFile: D, ...f }) : n ? l ? /* @__PURE__ */ m("img", { className: Mt("image-preview"), src: n }) : /* @__PURE__ */ m(Ai, { file: t, fileName: e, forceFileType: o, ...f }) : /* @__PURE__ */ m(wa, { disabled: a, openFile: D, ...f });
2218
+ ) : i ? /* @__PURE__ */ m(ka, { openFile: D, ...f }) : n ? l ? /* @__PURE__ */ m("img", { className: Mt("image-preview"), src: n }) : /* @__PURE__ */ m(Ai, { file: t, fileName: e, forceFileType: o, ...f }) : /* @__PURE__ */ m(ka, { disabled: a, openFile: D, ...f });
2218
2219
  Oi.displayName = "FileDrop.Preview";
2219
- const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ? !!xi(a).match(vi) : a.name ? !!a.name.match(vi) : !1 : !1, $t = (a) => {
2220
+ const ui = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ? !!xi(a).match(ui) : a.name ? !!a.name.match(ui) : !1 : !1, $t = (a) => {
2220
2221
  let i;
2221
2222
  if (a instanceof File ? i = a.preview : i = a, typeof i != "string" || i.startsWith("blob:"))
2222
2223
  return i;
@@ -2226,7 +2227,7 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2226
2227
  } catch {
2227
2228
  return;
2228
2229
  }
2229
- }, Kt = 2e6, Ht = "ERROR_INVALID_TYPE", Wt = "ERROR_INVALID_SIZE", ya = Ea(Aa), Ut = fi(
2230
+ }, Kt = 2e6, Ht = "ERROR_INVALID_TYPE", Wt = "ERROR_INVALID_SIZE", wa = Aa(Oa), Ut = fi(
2230
2231
  ({
2231
2232
  accept: a = {
2232
2233
  "image/*": []
@@ -2238,13 +2239,13 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2238
2239
  editButtonText: o = "Edit",
2239
2240
  fileName: l,
2240
2241
  forceFileType: r,
2241
- handleAddFile: u,
2242
+ handleAddFile: v,
2242
2243
  handleRemoveFile: j,
2243
2244
  isClearable: D,
2244
2245
  isEditable: f,
2245
- isLoading: L,
2246
+ isLoading: R,
2246
2247
  maxSize: C = Kt,
2247
- multiple: R,
2248
+ multiple: S,
2248
2249
  name: P,
2249
2250
  onBlur: M,
2250
2251
  onChange: z,
@@ -2253,40 +2254,40 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2253
2254
  wordings: na,
2254
2255
  ...Q
2255
2256
  }, pa) => {
2256
- const [g, S] = Qa($), [K, I] = Qa(void 0);
2257
+ const [g, q] = Qa($), [K, I] = Qa(void 0);
2257
2258
  ta(() => {
2258
- S($);
2259
+ q($);
2259
2260
  }, [$]), ta(() => () => g && g instanceof File && URL.revokeObjectURL(g.preview), [g]);
2260
2261
  const oa = (A) => {
2261
2262
  const [y] = A;
2262
- y instanceof File && (y.preview = URL.createObjectURL(y)), S(y), I(null);
2263
+ y instanceof File && (y.preview = URL.createObjectURL(y)), q(y), I(null);
2263
2264
  const E = ai({ name: P, value: y });
2264
- z == null || z(E), u == null || u(E);
2265
+ z == null || z(E), v == null || v(E);
2265
2266
  }, aa = (A, y) => {
2266
2267
  let E;
2267
- A.map(({ errors: q }) => {
2268
- q.map((ra) => {
2268
+ A.map(({ errors: T }) => {
2269
+ T.map((ra) => {
2269
2270
  const { code: O, message: sa } = ra;
2270
2271
  O === "file-invalid-type" ? E = Ht : O === "file-too-large" ? E = Wt : E = sa;
2271
2272
  });
2272
- }), S(null), I(E), N == null || N(E), z == null || z(y), M == null || M();
2273
+ }), q(null), I(E), N == null || N(E), z == null || z(y), M == null || M();
2273
2274
  }, Y = (A) => {
2274
- A.preventDefault(), S(null), I(null);
2275
+ A.preventDefault(), q(null), I(null);
2275
2276
  const y = ai({ name: P, value: null });
2276
2277
  z == null || z(y), j == null || j(y);
2277
2278
  }, { getInputProps: b, getRootProps: w, isDragAccept: ca, isDragActive: la, isDragReject: H, open: h } = Ei({
2278
2279
  accept: a,
2279
2280
  disabled: n,
2280
2281
  maxSize: C,
2281
- multiple: R,
2282
+ multiple: S,
2282
2283
  noClick: !0,
2283
2284
  onDropAccepted: oa,
2284
2285
  onDropRejected: aa
2285
- }), Oa = (A) => N(A);
2286
- return /* @__PURE__ */ T(
2286
+ }), Fa = (A) => N(A);
2287
+ return /* @__PURE__ */ L(
2287
2288
  "div",
2288
2289
  {
2289
- className: ya(
2290
+ className: wa(
2290
2291
  "root",
2291
2292
  n && "disabled",
2292
2293
  H && "drag-reject",
@@ -2308,11 +2309,11 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2308
2309
  /* @__PURE__ */ m(
2309
2310
  "input",
2310
2311
  {
2311
- className: ya("file-input"),
2312
- ...b({ disabled: n, multiple: R, name: P, onError: Oa })
2312
+ className: wa("file-input"),
2313
+ ...b({ disabled: n, multiple: S, name: P, onError: Fa })
2313
2314
  }
2314
2315
  ),
2315
- /* @__PURE__ */ T("div", { className: ya("file-preview"), children: [
2316
+ /* @__PURE__ */ L("div", { className: wa("file-preview"), children: [
2316
2317
  i({
2317
2318
  disabled: n,
2318
2319
  error: K,
@@ -2323,13 +2324,13 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2323
2324
  isAnImage: r === "image" || Nt(g),
2324
2325
  isHoverAccept: ca,
2325
2326
  isHoverReject: H,
2326
- isLoading: L,
2327
+ isLoading: R,
2327
2328
  openFile: h,
2328
2329
  wordings: na
2329
2330
  }),
2330
- g ? /* @__PURE__ */ T("div", { className: ya("actions"), children: [
2331
- /* @__PURE__ */ T(
2332
- ka,
2331
+ !R && g ? /* @__PURE__ */ L("div", { className: wa("actions"), children: [
2332
+ /* @__PURE__ */ L(
2333
+ ja,
2333
2334
  {
2334
2335
  disabled: !f,
2335
2336
  onClick: h,
@@ -2342,8 +2343,8 @@ const vi = /\.(jpeg|jpg|gif|png|webp)$/, Nt = (a) => a ? typeof a == "string" ?
2342
2343
  ]
2343
2344
  }
2344
2345
  ),
2345
- /* @__PURE__ */ T(
2346
- ka,
2346
+ /* @__PURE__ */ L(
2347
+ ja,
2347
2348
  {
2348
2349
  disabled: !D,
2349
2350
  onClick: Y,
package/dist/Icon.js CHANGED
@@ -38,6 +38,8 @@ const s = "_root_576cf_2", A = {
38
38
  /* @__PURE__ */ l("symbol", { id: "left-arrow-from-left", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { d: "M17 11H5.41L7.71 8.71C7.80324 8.61676 7.8772 8.50607 7.92766 8.38425C7.97812 8.26243 8.00409 8.13186 8.00409 8C8.00409 7.86814 7.97812 7.73757 7.92766 7.61575C7.8772 7.49393 7.80324 7.38324 7.71 7.29C7.61676 7.19676 7.50607 7.1228 7.38425 7.07234C7.26243 7.02188 7.13186 6.99591 7 6.99591C6.86814 6.99591 6.73757 7.02188 6.61575 7.07234C6.49393 7.1228 6.38324 7.19676 6.29 7.29L2.29 11.29C2.19896 11.3851 2.12759 11.4972 2.08 11.62C1.97998 11.8635 1.97998 12.1365 2.08 12.38C2.12759 12.5028 2.19896 12.6149 2.29 12.71L6.29 16.71C6.38296 16.8037 6.49356 16.8781 6.61542 16.9289C6.73728 16.9797 6.86799 17.0058 7 17.0058C7.13201 17.0058 7.26272 16.9797 7.38458 16.9289C7.50644 16.8781 7.61704 16.8037 7.71 16.71C7.80373 16.617 7.87812 16.5064 7.92889 16.3846C7.97966 16.2627 8.0058 16.132 8.0058 16C8.0058 15.868 7.97966 15.7373 7.92889 15.6154C7.87812 15.4936 7.80373 15.383 7.71 15.29L5.41 13H17C17.2652 13 17.5196 12.8946 17.7071 12.7071C17.8946 12.5196 18 12.2652 18 12C18 11.7348 17.8946 11.4804 17.7071 11.2929C17.5196 11.1054 17.2652 11 17 11ZM21 4C20.7348 4 20.4804 4.10536 20.2929 4.29289C20.1054 4.48043 20 4.73478 20 5V19C20 19.2652 20.1054 19.5196 20.2929 19.7071C20.4804 19.8946 20.7348 20 21 20C21.2652 20 21.5196 19.8946 21.7071 19.7071C21.8946 19.5196 22 19.2652 22 19V5C22 4.73478 21.8946 4.48043 21.7071 4.29289C21.5196 4.10536 21.2652 4 21 4Z", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }) }),
39
39
  /* @__PURE__ */ l("symbol", { id: "arrow-from-right", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { d: "M3 4C2.73478 4 2.48043 4.10536 2.29289 4.29289C2.10536 4.48043 2 4.73478 2 5V19C2 19.2652 2.10536 19.5196 2.29289 19.7071C2.48043 19.8946 2.73478 20 3 20C3.26522 20 3.51957 19.8946 3.70711 19.7071C3.89464 19.5196 4 19.2652 4 19V5C4 4.73478 3.89464 4.48043 3.70711 4.29289C3.51957 4.10536 3.26522 4 3 4ZM21.92 11.62C21.8724 11.4972 21.801 11.3851 21.71 11.29L17.71 7.29C17.6168 7.19676 17.5061 7.1228 17.3842 7.07234C17.2624 7.02188 17.1319 6.99591 17 6.99591C16.7337 6.99591 16.4783 7.1017 16.29 7.29C16.1017 7.4783 15.9959 7.7337 15.9959 8C15.9959 8.2663 16.1017 8.5217 16.29 8.71L18.59 11H7C6.73478 11 6.48043 11.1054 6.29289 11.2929C6.10536 11.4804 6 11.7348 6 12C6 12.2652 6.10536 12.5196 6.29289 12.7071C6.48043 12.8946 6.73478 13 7 13H18.59L16.29 15.29C16.1963 15.383 16.1219 15.4936 16.0711 15.6154C16.0203 15.7373 15.9942 15.868 15.9942 16C15.9942 16.132 16.0203 16.2627 16.0711 16.3846C16.1219 16.5064 16.1963 16.617 16.29 16.71C16.383 16.8037 16.4936 16.8781 16.6154 16.9289C16.7373 16.9797 16.868 17.0058 17 17.0058C17.132 17.0058 17.2627 16.9797 17.3846 16.9289C17.5064 16.8781 17.617 16.8037 17.71 16.71L21.71 12.71C21.801 12.6149 21.8724 12.5028 21.92 12.38C22.02 12.1365 22.02 11.8635 21.92 11.62Z", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }) }),
40
40
  /* @__PURE__ */ l("symbol", { id: "arrow-resize-diagonal", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { d: "M21.92 2.62C21.8185 2.37565 21.6243 2.18147 21.38 2.08C21.2598 2.02876 21.1307 2.00158 21 2H15C14.7348 2 14.4804 2.10536 14.2929 2.29289C14.1054 2.48043 14 2.73478 14 3C14 3.26522 14.1054 3.51957 14.2929 3.70711C14.4804 3.89464 14.7348 4 15 4H18.59L4 18.59V15C4 14.7348 3.89464 14.4804 3.70711 14.2929C3.51957 14.1054 3.26522 14 3 14C2.73478 14 2.48043 14.1054 2.29289 14.2929C2.10536 14.4804 2 14.7348 2 15V21C2.00158 21.1307 2.02876 21.2598 2.08 21.38C2.18147 21.6243 2.37565 21.8185 2.62 21.92C2.74022 21.9712 2.86932 21.9984 3 22H9C9.26522 22 9.51957 21.8946 9.70711 21.7071C9.89464 21.5196 10 21.2652 10 21C10 20.7348 9.89464 20.4804 9.70711 20.2929C9.51957 20.1054 9.26522 20 9 20H5.41L20 5.41V9C20 9.26522 20.1054 9.51957 20.2929 9.70711C20.4804 9.89464 20.7348 10 21 10C21.2652 10 21.5196 9.89464 21.7071 9.70711C21.8946 9.51957 22 9.26522 22 9V3C21.9984 2.86932 21.9712 2.74022 21.92 2.62Z", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }) }),
41
+ /* @__PURE__ */ l("symbol", { id: "draggabledots", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M8.5,10a2,2,0,1,0,2,2A2,2,0,0,0,8.5,10Zm0,7a2,2,0,1,0,2,2A2,2,0,0,0,8.5,17Zm7-10a2,2,0,1,0-2-2A2,2,0,0,0,15.5,7Zm-7-4a2,2,0,1,0,2,2A2,2,0,0,0,8.5,3Zm7,14a2,2,0,1,0,2,2A2,2,0,0,0,15.5,17Zm0-7a2,2,0,1,0,2,2A2,2,0,0,0,15.5,10Z", xmlns: "http://www.w3.org/2000/svg" }) }),
42
+ /* @__PURE__ */ l("symbol", { id: "compress-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M21.71,2.29a1,1,0,0,0-1.42,0L14.5,8.09V6.5a1,1,0,0,0-2,0v4a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54,1,1,0,0,0,.38.08h4a1,1,0,0,0,0-2H15.91l5.8-5.79A1,1,0,0,0,21.71,2.29ZM10.88,12.58a1,1,0,0,0-.38-.08h-4a1,1,0,0,0,0,2H8.09l-5.8,5.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5.79-5.8V17.5a1,1,0,0,0,2,0v-4a1,1,0,0,0-.08-.38A1,1,0,0,0,10.88,12.58Z", xmlns: "http://www.w3.org/2000/svg" }) }),
41
43
  /* @__PURE__ */ l("symbol", { id: "external-link-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M18,10.82a1,1,0,0,0-1,1V19a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V8A1,1,0,0,1,5,7h7.18a1,1,0,0,0,0-2H5A3,3,0,0,0,2,8V19a3,3,0,0,0,3,3H16a3,3,0,0,0,3-3V11.82A1,1,0,0,0,18,10.82Zm3.92-8.2a1,1,0,0,0-.54-.54A1,1,0,0,0,21,2H15a1,1,0,0,0,0,2h3.59L8.29,14.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L20,5.41V9a1,1,0,0,0,2,0V3A1,1,0,0,0,21.92,2.62Z", xmlns: "http://www.w3.org/2000/svg" }) }),
42
44
  /* @__PURE__ */ l("symbol", { id: "heart-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M20.16,5A6.29,6.29,0,0,0,12,4.36a6.27,6.27,0,0,0-8.16,9.48l6.21,6.22a2.78,2.78,0,0,0,3.9,0l6.21-6.22A6.27,6.27,0,0,0,20.16,5Zm-1.41,7.46-6.21,6.21a.76.76,0,0,1-1.08,0L5.25,12.43a4.29,4.29,0,0,1,0-6,4.27,4.27,0,0,1,6,0,1,1,0,0,0,1.42,0,4.27,4.27,0,0,1,6,0A4.29,4.29,0,0,1,18.75,12.43Z", xmlns: "http://www.w3.org/2000/svg" }) }),
43
45
  /* @__PURE__ */ l("symbol", { id: "heart", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M20.16,5A6.29,6.29,0,0,0,12,4.36a6.27,6.27,0,0,0-8.16,9.48l6.21,6.22a2.78,2.78,0,0,0,3.9,0l6.21-6.22A6.27,6.27,0,0,0,20.16,5Zm-1.41,7.46-6.21,6.21a.76.76,0,0,1-1.08,0L5.25,12.43a4.29,4.29,0,0,1,0-6,4.27,4.27,0,0,1,6,0,1,1,0,0,0,1.42,0,4.27,4.27,0,0,1,6,0A4.29,4.29,0,0,1,18.75,12.43Z", xmlns: "http://www.w3.org/2000/svg" }) }),
@@ -223,13 +225,13 @@ const s = "_root_576cf_2", A = {
223
225
  /* @__PURE__ */ l("symbol", { id: "trees", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M16.5,5A4.86,4.86,0,0,0,14,5.69,6,6,0,0,0,2.5,8v4a6,6,0,0,0,5,5.91V21a1,1,0,0,0,2,0V17.91a6.08,6.08,0,0,0,2.78-1.26A5,5,0,0,0,15.5,18.9V21a1,1,0,0,0,2,0V18.9a5,5,0,0,0,4-4.9V10A5,5,0,0,0,16.5,5Zm-5,5v4a5.23,5.23,0,0,0,.06.57,4,4,0,0,1-2.06,1.3V13a1,1,0,0,0-2,0v2.86A4,4,0,0,1,4.5,12V8a4,4,0,0,1,6.83-2.84,3.94,3.94,0,0,1,1.06,2A5,5,0,0,0,11.5,10Zm8,4a3,3,0,0,1-2,2.82V13a1,1,0,0,0-2,0v3.82a3,3,0,0,1-2-2.82V10a3,3,0,0,1,6,0Z", xmlns: "http://www.w3.org/2000/svg" }) }),
224
226
  /* @__PURE__ */ l("symbol", { id: "exit", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M4,12a1,1,0,0,0,1,1h7.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-4-4a1,1,0,1,0-1.42,1.42L12.59,11H5A1,1,0,0,0,4,12ZM17,2H7A3,3,0,0,0,4,5V8A1,1,0,0,0,6,8V5A1,1,0,0,1,7,4H17a1,1,0,0,1,1,1V19a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V5A3,3,0,0,0,17,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
225
227
  /* @__PURE__ */ l("symbol", { id: "ban", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,0,1-8-8A7.92,7.92,0,0,1,5.69,7.1L16.9,18.31A7.92,7.92,0,0,1,12,20Zm6.31-3.1L7.1,5.69A7.92,7.92,0,0,1,12,4a8,8,0,0,1,8,8A7.92,7.92,0,0,1,18.31,16.9Z", xmlns: "http://www.w3.org/2000/svg" }) })
226
- ] }), n = e(A), m = C(
228
+ ] }), m = e(A), n = C(
227
229
  ({ "aria-label": a, className: w, name: r, size: h = "md", ...t }, i) => /* @__PURE__ */ l(
228
230
  "svg",
229
231
  {
230
232
  "aria-hidden": a ? "false" : "true",
231
233
  "aria-label": a,
232
- className: n("root", `size-${h}`, `name-${r}`, w),
234
+ className: m("root", `size-${h}`, `name-${r}`, w),
233
235
  ref: i,
234
236
  role: a ? "img" : void 0,
235
237
  ...t,
@@ -237,8 +239,8 @@ const s = "_root_576cf_2", A = {
237
239
  }
238
240
  )
239
241
  );
240
- m.displayName = "Icon";
242
+ n.displayName = "Icon";
241
243
  export {
242
- m as Icon,
244
+ n as Icon,
243
245
  v as Sprite
244
246
  };