@loopr-ai/craft 0.5.0 → 0.5.1

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.
@@ -4,6 +4,13 @@ import { IconButtonOwnProps } from "@mui/material/IconButton";
4
4
  import React from "react";
5
5
  import { ReactZoomPanPinchProps } from "react-zoom-pan-pinch";
6
6
  import { CraftFC } from "../../../global/interfaces";
7
+ interface ZoomControlWithDragProps extends ReactZoomPanPinchProps {
8
+ children?: React.ReactNode;
9
+ parentContainerProps?: ContainerOwnProps;
10
+ zoomControllerProps?: ZoomControllerProps;
11
+ defaultRotationAngle?: string;
12
+ onRotate?: (newValue: string) => void;
13
+ }
7
14
  interface ZoomControllerProps {
8
15
  controllerContainerProps?: ContainerOwnProps;
9
16
  zoomInButtonProps?: IconButtonOwnProps;
@@ -11,15 +18,7 @@ interface ZoomControllerProps {
11
18
  resetTransformButtonProps?: IconButtonOwnProps;
12
19
  rotateButtonProps?: IconButtonOwnProps;
13
20
  dividerProps?: DividerOwnProps;
14
- rotate: boolean;
15
21
  handleRotate: () => void;
16
22
  }
17
- interface ZoomControlWithDragProps extends ReactZoomPanPinchProps {
18
- children?: React.ReactNode;
19
- parentContainerProps?: ContainerOwnProps;
20
- zoomControllerProps?: ZoomControllerProps;
21
- isRotatedByDefault?: boolean;
22
- onRotate?: (newValue: boolean) => void;
23
- }
24
23
  declare const ZoomControlWithDrag: CraftFC<ZoomControlWithDragProps>;
25
24
  export default ZoomControlWithDrag;
@@ -320,7 +320,7 @@ function Wn(e) {
320
320
  } = E.useContext(_n);
321
321
  return (t) => o ? "" : e(t);
322
322
  }
323
- var H = "top", re = "bottom", ne = "right", F = "left", to = "auto", at = [H, re, ne, F], Be = "start", tt = "end", Yn = "clippingParents", tr = "viewport", qe = "popper", $n = "reference", _o = /* @__PURE__ */ at.reduce(function(e, o) {
323
+ var H = "top", re = "bottom", ne = "right", F = "left", to = "auto", at = [H, re, ne, F], Be = "start", tt = "end", $n = "clippingParents", tr = "viewport", qe = "popper", Yn = "reference", _o = /* @__PURE__ */ at.reduce(function(e, o) {
324
324
  return e.concat([o + "-" + Be, o + "-" + tt]);
325
325
  }, []), or = /* @__PURE__ */ [].concat(at, [to]).reduce(function(e, o) {
326
326
  return e.concat([o, o + "-" + Be, o + "-" + tt]);
@@ -457,7 +457,7 @@ function Ee(e) {
457
457
  e.document
458
458
  )) || window.document).documentElement;
459
459
  }
460
- function Yt(e) {
460
+ function $t(e) {
461
461
  return ve(e) === "html" ? e : (
462
462
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
463
463
  // $FlowFixMe[incompatible-return]
@@ -480,7 +480,7 @@ function Gn(e) {
480
480
  if (r.position === "fixed")
481
481
  return null;
482
482
  }
483
- var n = Yt(e);
483
+ var n = $t(e);
484
484
  for (oo(n) && (n = n.host); oe(n) && ["html", "body"].indexOf(ve(n)) < 0; ) {
485
485
  var i = be(n);
486
486
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || o && i.willChange === "filter" || o && i.filter && i.filter !== "none")
@@ -561,7 +561,7 @@ function ni(e, o) {
561
561
  y: ke(r * n) / n || 0
562
562
  };
563
563
  }
564
- function Yo(e) {
564
+ function $o(e) {
565
565
  var o, t = e.popper, r = e.popperRect, n = e.placement, i = e.variation, a = e.offsets, s = e.position, u = e.gpuAcceleration, d = e.adaptive, p = e.roundOffsets, f = e.isFixed, c = a.x, v = c === void 0 ? 0 : c, h = a.y, m = h === void 0 ? 0 : h, g = typeof p == "function" ? p({
566
566
  x: v,
567
567
  y: m
@@ -614,12 +614,12 @@ function ii(e) {
614
614
  gpuAcceleration: n,
615
615
  isFixed: o.options.strategy === "fixed"
616
616
  };
617
- o.modifiersData.popperOffsets != null && (o.styles.popper = Object.assign({}, o.styles.popper, Yo(Object.assign({}, d, {
617
+ o.modifiersData.popperOffsets != null && (o.styles.popper = Object.assign({}, o.styles.popper, $o(Object.assign({}, d, {
618
618
  offsets: o.modifiersData.popperOffsets,
619
619
  position: o.options.strategy,
620
620
  adaptive: a,
621
621
  roundOffsets: u
622
- })))), o.modifiersData.arrow != null && (o.styles.arrow = Object.assign({}, o.styles.arrow, Yo(Object.assign({}, d, {
622
+ })))), o.modifiersData.arrow != null && (o.styles.arrow = Object.assign({}, o.styles.arrow, $o(Object.assign({}, d, {
623
623
  offsets: o.modifiersData.arrow,
624
624
  position: "absolute",
625
625
  adaptive: !1,
@@ -663,7 +663,7 @@ var ui = {
663
663
  bottom: "top",
664
664
  top: "bottom"
665
665
  };
666
- function Ct(e) {
666
+ function Tt(e) {
667
667
  return e.replace(/left|right|bottom|top/g, function(o) {
668
668
  return ui[o];
669
669
  });
@@ -672,7 +672,7 @@ var pi = {
672
672
  start: "end",
673
673
  end: "start"
674
674
  };
675
- function $o(e) {
675
+ function Yo(e) {
676
676
  return e.replace(/start|end/g, function(o) {
677
677
  return pi[o];
678
678
  });
@@ -715,7 +715,7 @@ function so(e) {
715
715
  return /auto|scroll|overlay|hidden/.test(t + n + r);
716
716
  }
717
717
  function lr(e) {
718
- return ["html", "body", "#document"].indexOf(ve(e)) >= 0 ? e.ownerDocument.body : oe(e) && so(e) ? e : lr(Yt(e));
718
+ return ["html", "body", "#document"].indexOf(ve(e)) >= 0 ? e.ownerDocument.body : oe(e) && so(e) ? e : lr($t(e));
719
719
  }
720
720
  function Je(e, o) {
721
721
  var t;
@@ -723,7 +723,7 @@ function Je(e, o) {
723
723
  var r = lr(e), n = r === ((t = e.ownerDocument) == null ? void 0 : t.body), i = J(r), a = n ? [i].concat(i.visualViewport || [], so(r) ? r : []) : r, s = o.concat(a);
724
724
  return n ? s : (
725
725
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
726
- s.concat(Je(Yt(a)))
726
+ s.concat(Je($t(a)))
727
727
  );
728
728
  }
729
729
  function Gt(e) {
@@ -742,7 +742,7 @@ function Bo(e, o, t) {
742
742
  return o === tr ? Gt(di(e, t)) : Me(o) ? ci(o, t) : Gt(fi(Ee(e)));
743
743
  }
744
744
  function vi(e) {
745
- var o = Je(Yt(e)), t = ["absolute", "fixed"].indexOf(be(e).position) >= 0, r = t && oe(e) ? st(e) : e;
745
+ var o = Je($t(e)), t = ["absolute", "fixed"].indexOf(be(e).position) >= 0, r = t && oe(e) ? st(e) : e;
746
746
  return Me(r) ? o.filter(function(n) {
747
747
  return Me(n) && nr(n, r) && ve(n) !== "body";
748
748
  }) : [];
@@ -803,7 +803,7 @@ function ur(e) {
803
803
  }
804
804
  function ot(e, o) {
805
805
  o === void 0 && (o = {});
806
- var t = o, r = t.placement, n = r === void 0 ? e.placement : r, i = t.strategy, a = i === void 0 ? e.strategy : i, s = t.boundary, u = s === void 0 ? Yn : s, d = t.rootBoundary, p = d === void 0 ? tr : d, f = t.elementContext, c = f === void 0 ? qe : f, v = t.altBoundary, h = v === void 0 ? !1 : v, m = t.padding, g = m === void 0 ? 0 : m, w = ar(typeof g != "number" ? g : sr(g, at)), S = c === qe ? $n : qe, y = e.rects.popper, b = e.elements[h ? S : c], P = mi(Me(b) ? b : b.contextElement || Ee(e.elements.popper), u, p, a), C = ze(e.elements.reference), O = ur({
806
+ var t = o, r = t.placement, n = r === void 0 ? e.placement : r, i = t.strategy, a = i === void 0 ? e.strategy : i, s = t.boundary, u = s === void 0 ? $n : s, d = t.rootBoundary, p = d === void 0 ? tr : d, f = t.elementContext, c = f === void 0 ? qe : f, v = t.altBoundary, h = v === void 0 ? !1 : v, m = t.padding, g = m === void 0 ? 0 : m, w = ar(typeof g != "number" ? g : sr(g, at)), S = c === qe ? Yn : qe, y = e.rects.popper, b = e.elements[h ? S : c], P = mi(Me(b) ? b : b.contextElement || Ee(e.elements.popper), u, p, a), C = ze(e.elements.reference), O = ur({
807
807
  reference: C,
808
808
  element: y,
809
809
  strategy: "absolute",
@@ -846,13 +846,13 @@ function hi(e, o) {
846
846
  function gi(e) {
847
847
  if (ce(e) === to)
848
848
  return [];
849
- var o = Ct(e);
850
- return [$o(e), o, $o(o)];
849
+ var o = Tt(e);
850
+ return [Yo(e), o, Yo(o)];
851
851
  }
852
852
  function bi(e) {
853
853
  var o = e.state, t = e.options, r = e.name;
854
854
  if (!o.modifiersData[r]._skip) {
855
- for (var n = t.mainAxis, i = n === void 0 ? !0 : n, a = t.altAxis, s = a === void 0 ? !0 : a, u = t.fallbackPlacements, d = t.padding, p = t.boundary, f = t.rootBoundary, c = t.altBoundary, v = t.flipVariations, h = v === void 0 ? !0 : v, m = t.allowedAutoPlacements, g = o.options.placement, w = ce(g), S = w === g, y = u || (S || !h ? [Ct(g)] : gi(g)), b = [g].concat(y).reduce(function(K, Q) {
855
+ for (var n = t.mainAxis, i = n === void 0 ? !0 : n, a = t.altAxis, s = a === void 0 ? !0 : a, u = t.fallbackPlacements, d = t.padding, p = t.boundary, f = t.rootBoundary, c = t.altBoundary, v = t.flipVariations, h = v === void 0 ? !0 : v, m = t.allowedAutoPlacements, g = o.options.placement, w = ce(g), S = w === g, y = u || (S || !h ? [Tt(g)] : gi(g)), b = [g].concat(y).reduce(function(K, Q) {
856
856
  return K.concat(ce(Q) === to ? hi(o, {
857
857
  placement: Q,
858
858
  boundary: p,
@@ -862,16 +862,16 @@ function bi(e) {
862
862
  allowedAutoPlacements: m
863
863
  }) : Q);
864
864
  }, []), P = o.rects.reference, C = o.rects.popper, O = /* @__PURE__ */ new Map(), D = !0, x = b[0], R = 0; R < b.length; R++) {
865
- var M = b[R], B = ce(M), W = Xe(M) === Be, Z = [H, re].indexOf(B) >= 0, U = Z ? "width" : "height", Y = ot(o, {
865
+ var M = b[R], B = ce(M), W = Xe(M) === Be, Z = [H, re].indexOf(B) >= 0, U = Z ? "width" : "height", $ = ot(o, {
866
866
  placement: M,
867
867
  boundary: p,
868
868
  rootBoundary: f,
869
869
  altBoundary: c,
870
870
  padding: d
871
871
  }), k = Z ? W ? ne : F : W ? re : H;
872
- P[U] > C[U] && (k = Ct(k));
873
- var z = Ct(k), q = [];
874
- if (i && q.push(Y[B] <= 0), s && q.push(Y[k] <= 0, Y[z] <= 0), q.every(function(K) {
872
+ P[U] > C[U] && (k = Tt(k));
873
+ var z = Tt(k), q = [];
874
+ if (i && q.push($[B] <= 0), s && q.push($[k] <= 0, $[z] <= 0), q.every(function(K) {
875
875
  return K;
876
876
  })) {
877
877
  x = M, D = !1;
@@ -1011,14 +1011,14 @@ function Ri(e) {
1011
1011
  };
1012
1012
  if (C) {
1013
1013
  if (i) {
1014
- var W, Z = b === "y" ? H : F, U = b === "y" ? re : ne, Y = b === "y" ? "height" : "width", k = C[b], z = k + g[Z], q = k - g[U], ye = v ? -D[Y] / 2 : 0, le = S === Be ? O[Y] : D[Y], me = S === Be ? -D[Y] : -O[Y], ie = o.elements.arrow, K = v && ie ? ro(ie) : {
1014
+ var W, Z = b === "y" ? H : F, U = b === "y" ? re : ne, $ = b === "y" ? "height" : "width", k = C[b], z = k + g[Z], q = k - g[U], ye = v ? -D[$] / 2 : 0, le = S === Be ? O[$] : D[$], me = S === Be ? -D[$] : -O[$], ie = o.elements.arrow, K = v && ie ? ro(ie) : {
1015
1015
  width: 0,
1016
1016
  height: 0
1017
- }, Q = o.modifiersData["arrow#persistent"] ? o.modifiersData["arrow#persistent"].padding : ir(), ue = Q[Z], pe = Q[U], X = Ge(0, O[Y], K[Y]), L = y ? O[Y] / 2 - ye - X - ue - R.mainAxis : le - X - ue - R.mainAxis, he = y ? -O[Y] / 2 + ye + X + pe + R.mainAxis : me + X + pe + R.mainAxis, j = o.elements.arrow && st(o.elements.arrow), Le = j ? b === "y" ? j.clientTop || 0 : j.clientLeft || 0 : 0, _e = (W = M == null ? void 0 : M[b]) != null ? W : 0, ut = k + L - _e - Le, I = k + he - _e, We = Ge(v ? Et(z, ut) : z, k, v ? De(q, I) : q);
1017
+ }, Q = o.modifiersData["arrow#persistent"] ? o.modifiersData["arrow#persistent"].padding : ir(), ue = Q[Z], pe = Q[U], X = Ge(0, O[$], K[$]), L = y ? O[$] / 2 - ye - X - ue - R.mainAxis : le - X - ue - R.mainAxis, he = y ? -O[$] / 2 + ye + X + pe + R.mainAxis : me + X + pe + R.mainAxis, j = o.elements.arrow && st(o.elements.arrow), Le = j ? b === "y" ? j.clientTop || 0 : j.clientLeft || 0 : 0, _e = (W = M == null ? void 0 : M[b]) != null ? W : 0, ut = k + L - _e - Le, I = k + he - _e, We = Ge(v ? Et(z, ut) : z, k, v ? De(q, I) : q);
1018
1018
  C[b] = We, B[b] = We - k;
1019
1019
  }
1020
1020
  if (s) {
1021
- var pt, V = b === "x" ? H : F, dt = b === "x" ? re : ne, ae = C[P], Ye = P === "y" ? "height" : "width", Re = ae + g[V], $e = ae - g[dt], we = [H, F].indexOf(w) !== -1, Ae = (pt = M == null ? void 0 : M[P]) != null ? pt : 0, de = we ? Re : ae - O[Ye] - D[Ye] - Ae + R.altAxis, Ve = we ? ae + O[Ye] + D[Ye] - Ae - R.altAxis : $e, ft = v && we ? Jn(de, ae, Ve) : Ge(v ? de : Re, ae, v ? Ve : $e);
1021
+ var pt, V = b === "x" ? H : F, dt = b === "x" ? re : ne, ae = C[P], $e = P === "y" ? "height" : "width", Re = ae + g[V], Ye = ae - g[dt], we = [H, F].indexOf(w) !== -1, Ae = (pt = M == null ? void 0 : M[P]) != null ? pt : 0, de = we ? Re : ae - O[$e] - D[$e] - Ae + R.altAxis, Ve = we ? ae + O[$e] + D[$e] - Ae - R.altAxis : Ye, ft = v && we ? Jn(de, ae, Ve) : Ge(v ? de : Re, ae, v ? Ve : Ye);
1022
1022
  C[P] = ft, B[P] = ft - ae;
1023
1023
  }
1024
1024
  o.modifiersData[r] = B;
@@ -1080,7 +1080,7 @@ function Wi(e) {
1080
1080
  t.has(i.name) || n(i);
1081
1081
  }), r;
1082
1082
  }
1083
- function Yi(e) {
1083
+ function $i(e) {
1084
1084
  var o = Wi(e);
1085
1085
  return Zn.reduce(function(t, r) {
1086
1086
  return t.concat(o.filter(function(n) {
@@ -1088,7 +1088,7 @@ function Yi(e) {
1088
1088
  }));
1089
1089
  }, []);
1090
1090
  }
1091
- function $i(e) {
1091
+ function Yi(e) {
1092
1092
  var o;
1093
1093
  return function() {
1094
1094
  return o || (o = new Promise(function(t) {
@@ -1146,7 +1146,7 @@ function ki(e) {
1146
1146
  reference: Me(s) ? Je(s) : s.contextElement ? Je(s.contextElement) : [],
1147
1147
  popper: Je(u)
1148
1148
  };
1149
- var y = Yi(Bi([].concat(r, p.options.modifiers)));
1149
+ var y = $i(Bi([].concat(r, p.options.modifiers)));
1150
1150
  return p.orderedModifiers = y.filter(function(b) {
1151
1151
  return b.enabled;
1152
1152
  }), h(), v.update();
@@ -1184,7 +1184,7 @@ function ki(e) {
1184
1184
  },
1185
1185
  // Async and optimistically optimized update – it will not be executed if
1186
1186
  // not necessary (debounced to run at most once-per-tick)
1187
- update: $i(function() {
1187
+ update: Yi(function() {
1188
1188
  return new Promise(function(g) {
1189
1189
  v.forceUpdate(), g(p);
1190
1190
  });
@@ -1248,11 +1248,11 @@ function Hi(e, o) {
1248
1248
  function xt(e) {
1249
1249
  return typeof e == "function" ? e() : e;
1250
1250
  }
1251
- function $t(e) {
1251
+ function Yt(e) {
1252
1252
  return e.nodeType !== void 0;
1253
1253
  }
1254
1254
  function Fi(e) {
1255
- return !$t(e);
1255
+ return !Yt(e);
1256
1256
  }
1257
1257
  const Zi = () => nt({
1258
1258
  root: ["root"]
@@ -1288,12 +1288,12 @@ const Zi = () => nt({
1288
1288
  const U = (z) => {
1289
1289
  D(z.placement);
1290
1290
  };
1291
- if (process.env.NODE_ENV !== "production" && x && $t(x) && x.nodeType === 1) {
1291
+ if (process.env.NODE_ENV !== "production" && x && Yt(x) && x.nodeType === 1) {
1292
1292
  const z = x.getBoundingClientRect();
1293
1293
  process.env.NODE_ENV !== "test" && z.top === 0 && z.left === 0 && z.right === 0 && z.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1294
1294
  `));
1295
1295
  }
1296
- let Y = [{
1296
+ let $ = [{
1297
1297
  name: "preventOverflow",
1298
1298
  options: {
1299
1299
  altBoundary: s
@@ -1313,11 +1313,11 @@ const Zi = () => nt({
1313
1313
  U(z);
1314
1314
  }
1315
1315
  }];
1316
- u != null && (Y = Y.concat(u)), f && f.modifiers != null && (Y = Y.concat(f.modifiers));
1316
+ u != null && ($ = $.concat(u)), f && f.modifiers != null && ($ = $.concat(f.modifiers));
1317
1317
  const k = Xi(x, w.current, T({
1318
1318
  placement: C
1319
1319
  }, f, {
1320
- modifiers: Y
1320
+ modifiers: $
1321
1321
  }));
1322
1322
  return P.current(k), () => {
1323
1323
  k.destroy(), P.current(null);
@@ -1370,7 +1370,7 @@ const Zi = () => nt({
1370
1370
  O = i;
1371
1371
  else if (r) {
1372
1372
  const R = xt(r);
1373
- O = R && $t(R) ? Do(R).body : Do(null).body;
1373
+ O = R && Yt(R) ? Do(R).body : Do(null).body;
1374
1374
  }
1375
1375
  const D = !p && u && (!m || y) ? "none" : void 0, x = m ? {
1376
1376
  in: p,
@@ -1420,7 +1420,7 @@ process.env.NODE_ENV !== "production" && (pr.propTypes = {
1420
1420
  anchorEl: Jo(l.oneOfType([St, l.object, l.func]), (e) => {
1421
1421
  if (e.open) {
1422
1422
  const o = xt(e.anchorEl);
1423
- if (o && $t(o) && o.nodeType === 1) {
1423
+ if (o && Yt(o) && o.nodeType === 1) {
1424
1424
  const t = o.getBoundingClientRect();
1425
1425
  if (process.env.NODE_ENV !== "test" && t.top === 0 && t.left === 0 && t.right === 0 && t.bottom === 0)
1426
1426
  return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
@@ -2202,7 +2202,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2202
2202
  disableHoverListener: W = !1,
2203
2203
  disableInteractive: Z = !1,
2204
2204
  disableTouchListener: U = !1,
2205
- enterDelay: Y = 100,
2205
+ enterDelay: $ = 100,
2206
2206
  enterNextDelay: k = 0,
2207
2207
  enterTouchDelay: z = 700,
2208
2208
  followCursor: q = !1,
@@ -2222,7 +2222,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2222
2222
  TransitionProps: _e
2223
2223
  } = C, ut = Se(C, aa), I = /* @__PURE__ */ E.isValidElement(D) ? D : /* @__PURE__ */ N("span", {
2224
2224
  children: D
2225
- }), We = fn(), pt = We.direction === "rtl", [V, dt] = E.useState(), [ae, Ye] = E.useState(null), Re = E.useRef(!1), $e = Z || q, we = E.useRef(), Ae = E.useRef(), de = E.useRef(), Ve = E.useRef(), [ft, ho] = Kr({
2225
+ }), We = fn(), pt = We.direction === "rtl", [V, dt] = E.useState(), [ae, $e] = E.useState(null), Re = E.useRef(!1), Ye = Z || q, we = E.useRef(), Ae = E.useRef(), de = E.useRef(), Ve = E.useRef(), [ft, ho] = Kr({
2226
2226
  controlled: Q,
2227
2227
  default: !1,
2228
2228
  name: "Tooltip",
@@ -2258,9 +2258,9 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2258
2258
  }, We.transitions.duration.shortest);
2259
2259
  }
2260
2260
  ), Lt = (A) => {
2261
- Re.current && A.type !== "touchstart" || (V && V.removeAttribute("title"), clearTimeout(Ae.current), clearTimeout(de.current), Y || bt && k ? Ae.current = setTimeout(() => {
2261
+ Re.current && A.type !== "touchstart" || (V && V.removeAttribute("title"), clearTimeout(Ae.current), clearTimeout(de.current), $ || bt && k ? Ae.current = setTimeout(() => {
2262
2262
  go(A);
2263
- }, bt ? k : Y) : go(A));
2263
+ }, bt ? k : $) : go(A));
2264
2264
  }, bo = (A) => {
2265
2265
  clearTimeout(Ae.current), clearTimeout(de.current), de.current = setTimeout(() => {
2266
2266
  vt(A);
@@ -2268,12 +2268,12 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2268
2268
  }, {
2269
2269
  isFocusVisibleRef: yo,
2270
2270
  onBlur: Wr,
2271
- onFocus: Yr,
2272
- ref: $r
2271
+ onFocus: $r,
2272
+ ref: Yr
2273
2273
  } = vn(), [, wo] = E.useState(!1), Po = (A) => {
2274
2274
  Wr(A), yo.current === !1 && (wo(!1), bo(A));
2275
2275
  }, To = (A) => {
2276
- V || dt(A.currentTarget), Yr(A), yo.current === !0 && (wo(!0), Lt(A));
2276
+ V || dt(A.currentTarget), $r(A), yo.current === !0 && (wo(!0), Lt(A));
2277
2277
  }, Co = (A) => {
2278
2278
  Re.current = !0;
2279
2279
  const G = I.props;
@@ -2297,7 +2297,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2297
2297
  document.removeEventListener("keydown", A);
2298
2298
  };
2299
2299
  }, [vt, ge]);
2300
- const zr = Kt(I.ref, $r, dt, t);
2300
+ const zr = Kt(I.ref, Yr, dt, t);
2301
2301
  !j && j !== 0 && (ge = !1);
2302
2302
  const Vt = E.useRef(), Xr = (A) => {
2303
2303
  const G = I.props;
@@ -2319,7 +2319,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2319
2319
  `));
2320
2320
  }, [V]));
2321
2321
  const Ze = {};
2322
- U || (ee.onTouchStart = Br, ee.onTouchEnd = kr), W || (ee.onMouseOver = yt(So, ee.onMouseOver), ee.onMouseLeave = yt(Oo, ee.onMouseLeave), $e || (Ze.onMouseOver = So, Ze.onMouseLeave = Oo)), B || (ee.onFocus = yt(To, ee.onFocus), ee.onBlur = yt(Po, ee.onBlur), $e || (Ze.onFocus = To, Ze.onBlur = Po)), process.env.NODE_ENV !== "production" && I.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${I.props.title}\` or the Tooltip component.`].join(`
2322
+ U || (ee.onTouchStart = Br, ee.onTouchEnd = kr), W || (ee.onMouseOver = yt(So, ee.onMouseOver), ee.onMouseLeave = yt(Oo, ee.onMouseLeave), Ye || (Ze.onMouseOver = So, Ze.onMouseLeave = Oo)), B || (ee.onFocus = yt(To, ee.onFocus), ee.onBlur = yt(Po, ee.onBlur), Ye || (Ze.onFocus = To, Ze.onBlur = Po)), process.env.NODE_ENV !== "production" && I.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${I.props.title}\` or the Tooltip component.`].join(`
2323
2323
  `));
2324
2324
  const jr = E.useMemo(() => {
2325
2325
  var A;
@@ -2337,7 +2337,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2337
2337
  }, [ae, X]), Ue = T({}, C, {
2338
2338
  isRtl: pt,
2339
2339
  arrow: O,
2340
- disableInteractive: $e,
2340
+ disableInteractive: Ye,
2341
2341
  placement: ue,
2342
2342
  PopperComponentProp: pe,
2343
2343
  touch: Re.current
@@ -2375,7 +2375,7 @@ const hr = /* @__PURE__ */ E.forwardRef(function(o, t) {
2375
2375
  }, A, Vr, {
2376
2376
  children: /* @__PURE__ */ Ie(Ro, T({}, Hr, {
2377
2377
  children: [j, O ? /* @__PURE__ */ N(Ao, T({}, Fr, {
2378
- ref: Ye
2378
+ ref: $e
2379
2379
  })) : null]
2380
2380
  }))
2381
2381
  }))
@@ -2612,7 +2612,7 @@ var te = function(e, o) {
2612
2612
  return Number(e.toFixed(o));
2613
2613
  }, Ra = function(e, o) {
2614
2614
  return typeof e == "number" ? e : o;
2615
- }, $ = function(e, o, t) {
2615
+ }, Y = function(e, o, t) {
2616
2616
  t && typeof t == "function" && t(e, o);
2617
2617
  }, Aa = function(e) {
2618
2618
  return -Math.cos(e * Math.PI) / 2 + 0.5;
@@ -2626,9 +2626,9 @@ var te = function(e, o) {
2626
2626
  return e < 0.5 ? 2 * e * e : -1 + (4 - 2 * e) * e;
2627
2627
  }, Wa = function(e) {
2628
2628
  return e * e * e;
2629
- }, Ya = function(e) {
2630
- return --e * e * e + 1;
2631
2629
  }, $a = function(e) {
2630
+ return --e * e * e + 1;
2631
+ }, Ya = function(e) {
2632
2632
  return e < 0.5 ? 4 * e * e * e : (e - 1) * (2 * e - 2) * (2 * e - 2) + 1;
2633
2633
  }, Ba = function(e) {
2634
2634
  return e * e * e * e;
@@ -2649,8 +2649,8 @@ var te = function(e, o) {
2649
2649
  easeOutQuad: Ma,
2650
2650
  easeInOutQuad: _a,
2651
2651
  easeInCubic: Wa,
2652
- easeOutCubic: Ya,
2653
- easeInOutCubic: $a,
2652
+ easeOutCubic: $a,
2653
+ easeInOutCubic: Ya,
2654
2654
  easeInQuart: Ba,
2655
2655
  easeOutQuart: ka,
2656
2656
  easeInOutQuart: za,
@@ -2822,9 +2822,9 @@ function ts(e, o) {
2822
2822
  function os(e) {
2823
2823
  var o = e.velocity, t = e.bounds, r = e.setup, n = e.wrapperComponent, i = Ja(e);
2824
2824
  if (!(!i || !o || !t || !n)) {
2825
- var a = o.velocityX, s = o.velocityY, u = o.total, d = t.maxPositionX, p = t.minPositionX, f = t.maxPositionY, c = t.minPositionY, v = r.limitToBounds, h = r.alignmentAnimation, m = r.zoomAnimation, g = r.panning, w = g.lockAxisY, S = g.lockAxisX, y = m.animationType, b = h.sizeX, P = h.sizeY, C = h.velocityAlignmentTime, O = C, D = Ia(e, u), x = Math.max(D, O), R = Rt(e, b), M = Rt(e, P), B = R * n.offsetWidth / 100, W = M * n.offsetHeight / 100, Z = d + B, U = p - B, Y = f + W, k = c - W, z = e.transformState, q = (/* @__PURE__ */ new Date()).getTime();
2825
+ var a = o.velocityX, s = o.velocityY, u = o.total, d = t.maxPositionX, p = t.minPositionX, f = t.maxPositionY, c = t.minPositionY, v = r.limitToBounds, h = r.alignmentAnimation, m = r.zoomAnimation, g = r.panning, w = g.lockAxisY, S = g.lockAxisX, y = m.animationType, b = h.sizeX, P = h.sizeY, C = h.velocityAlignmentTime, O = C, D = Ia(e, u), x = Math.max(D, O), R = Rt(e, b), M = Rt(e, P), B = R * n.offsetWidth / 100, W = M * n.offsetHeight / 100, Z = d + B, U = p - B, $ = f + W, k = c - W, z = e.transformState, q = (/* @__PURE__ */ new Date()).getTime();
2826
2826
  Cr(e, y, x, function(ye) {
2827
- var le = e.transformState, me = le.scale, ie = le.positionX, K = le.positionY, Q = (/* @__PURE__ */ new Date()).getTime() - q, ue = Q / O, pe = Pr[h.animationType], X = 1 - pe(Math.min(1, ue)), L = 1 - ye, he = ie + a * L, j = K + s * L, Le = Fo(he, z.positionX, ie, S, v, p, d, U, Z, X), _e = Fo(j, z.positionY, K, w, v, c, f, k, Y, X);
2827
+ var le = e.transformState, me = le.scale, ie = le.positionX, K = le.positionY, Q = (/* @__PURE__ */ new Date()).getTime() - q, ue = Q / O, pe = Pr[h.animationType], X = 1 - pe(Math.min(1, ue)), L = 1 - ye, he = ie + a * L, j = K + s * L, Le = Fo(he, z.positionX, ie, S, v, p, d, U, Z, X), _e = Fo(j, z.positionY, K, w, v, c, f, k, $, X);
2828
2828
  (ie !== he || K !== j) && e.setTransformState(me, Le, _e);
2829
2829
  });
2830
2830
  }
@@ -3177,7 +3177,7 @@ var bs = function(e, o, t, r, n) {
3177
3177
  return lt(te(c, 2), a, i, d, !p && !u);
3178
3178
  }, Ss = 160, Os = 100, Es = function(e, o) {
3179
3179
  var t = e.props, r = t.onWheelStart, n = t.onZoomStart;
3180
- e.wheelStopEventTimer || (fe(e), $(_(e), o, r), $(_(e), o, n));
3180
+ e.wheelStopEventTimer || (fe(e), Y(_(e), o, r), Y(_(e), o, n));
3181
3181
  }, xs = function(e, o) {
3182
3182
  var t = e.props, r = t.onWheel, n = t.onZoom, i = e.contentComponent, a = e.setup, s = e.transformState, u = s.scale, d = a.limitToBounds, p = a.centerZoomedOut, f = a.zoomAnimation, c = a.wheel, v = a.disablePadding, h = a.smooth, m = f.size, g = f.disabled, w = c.step, S = c.smoothStep;
3183
3183
  if (!i)
@@ -3186,7 +3186,7 @@ var bs = function(e, o, t, r, n) {
3186
3186
  var y = gs(o, null), b = h ? S * Math.abs(o.deltaY) : w, P = bs(e, y, b, !o.ctrlKey);
3187
3187
  if (u !== P) {
3188
3188
  var C = je(e, P), O = Nr(o, i, u), D = g || m === 0 || p || v, x = d && D, R = kt(e, O.x, O.y, P, C, x), M = R.x, B = R.y;
3189
- e.previousWheelEvent = o, e.setTransformState(P, M, B), $(_(e), o, r), $(_(e), o, n);
3189
+ e.previousWheelEvent = o, e.setTransformState(P, M, B), Y(_(e), o, r), Y(_(e), o, n);
3190
3190
  }
3191
3191
  }, Rs = function(e, o) {
3192
3192
  var t = e.props, r = t.onWheelStop, n = t.onZoomStop;
@@ -3195,7 +3195,7 @@ var bs = function(e, o, t, r, n) {
3195
3195
  }, Os);
3196
3196
  var i = ys(e, o);
3197
3197
  i && (It(e.wheelStopEventTimer), e.wheelStopEventTimer = setTimeout(function() {
3198
- e.mounted && (e.wheelStopEventTimer = null, $(_(e), o, r), $(_(e), o, n));
3198
+ e.mounted && (e.wheelStopEventTimer = null, Y(_(e), o, r), Y(_(e), o, n));
3199
3199
  }, Ss));
3200
3200
  }, As = function(e, o) {
3201
3201
  var t = Mr(o);
@@ -3218,12 +3218,12 @@ var bs = function(e, o, t, r, n) {
3218
3218
  }, _r = function(e, o) {
3219
3219
  var t = e.props.onZoomStop, r = e.setup.doubleClick.animationTime;
3220
3220
  It(e.doubleClickStopEventTimer), e.doubleClickStopEventTimer = setTimeout(function() {
3221
- e.doubleClickStopEventTimer = null, $(_(e), o, t);
3221
+ e.doubleClickStopEventTimer = null, Y(_(e), o, t);
3222
3222
  }, r);
3223
3223
  }, Ms = function(e, o) {
3224
3224
  var t = e.props, r = t.onZoomStart, n = t.onZoom, i = e.setup.doubleClick, a = i.animationTime, s = i.animationType;
3225
- $(_(e), o, r), Ar(e, a, s, function() {
3226
- return $(_(e), o, n);
3225
+ Y(_(e), o, r), Ar(e, a, s, function() {
3226
+ return Y(_(e), o, n);
3227
3227
  }), _r(e, o);
3228
3228
  };
3229
3229
  function _s(e, o) {
@@ -3235,11 +3235,11 @@ function _s(e, o) {
3235
3235
  return console.error("No ContentComponent found");
3236
3236
  var g = c === "zoomOut" ? -1 : 1, w = xr(e, g, v);
3237
3237
  if (a !== w) {
3238
- $(_(e), o, u);
3238
+ Y(_(e), o, u);
3239
3239
  var S = Nr(o, i, a), y = mo(e, w, S.x, S.y);
3240
3240
  if (!y)
3241
3241
  return console.error("Error during zoom event. New transformation state was not calculated.");
3242
- $(_(e), o, d), xe(e, y, h, m), _r(e, o);
3242
+ Y(_(e), o, d), xe(e, y, h, m), _r(e, o);
3243
3243
  }
3244
3244
  }
3245
3245
  }
@@ -3249,7 +3249,7 @@ var Ws = function(e, o) {
3249
3249
  return !1;
3250
3250
  var f = zt(u, s);
3251
3251
  return !f;
3252
- }, Ys = (
3252
+ }, $s = (
3253
3253
  /** @class */
3254
3254
  function() {
3255
3255
  function e(o) {
@@ -3294,7 +3294,7 @@ var Ws = function(e, o) {
3294
3294
  var a = Vo(t, r);
3295
3295
  if (a) {
3296
3296
  var s = t.isPressingKeys(t.setup.panning.activationKeys);
3297
- s && (r.preventDefault(), r.stopPropagation(), fe(t), Zo(t, r), $(_(t), r, i));
3297
+ s && (r.preventDefault(), r.stopPropagation(), fe(t), Zo(t, r), Y(_(t), r, i));
3298
3298
  }
3299
3299
  }
3300
3300
  }, this.onPanning = function(r) {
@@ -3303,27 +3303,27 @@ var Ws = function(e, o) {
3303
3303
  var a = Ho(t);
3304
3304
  if (a) {
3305
3305
  var s = t.isPressingKeys(t.setup.panning.activationKeys);
3306
- s && (r.preventDefault(), r.stopPropagation(), Uo(t, r.clientX, r.clientY), $(_(t), r, i));
3306
+ s && (r.preventDefault(), r.stopPropagation(), Uo(t, r.clientX, r.clientY), Y(_(t), r, i));
3307
3307
  }
3308
3308
  }
3309
3309
  }, this.onPanningStop = function(r) {
3310
3310
  var n = t.props.onPanningStop;
3311
- t.isPanning && (rs(t), $(_(t), r, n));
3311
+ t.isPanning && (rs(t), Y(_(t), r, n));
3312
3312
  }, this.onPinchStart = function(r) {
3313
3313
  var n = t.setup.disabled, i = t.props, a = i.onPinchingStart, s = i.onZoomStart;
3314
3314
  if (!n) {
3315
3315
  var u = ws(t, r);
3316
- u && (As(t, r), fe(t), $(_(t), r, a), $(_(t), r, s));
3316
+ u && (As(t, r), fe(t), Y(_(t), r, a), Y(_(t), r, s));
3317
3317
  }
3318
3318
  }, this.onPinch = function(r) {
3319
3319
  var n = t.setup.disabled, i = t.props, a = i.onPinching, s = i.onZoom;
3320
3320
  if (!n) {
3321
3321
  var u = Ps(t);
3322
- u && (r.preventDefault(), r.stopPropagation(), Ds(t, r), $(_(t), r, a), $(_(t), r, s));
3322
+ u && (r.preventDefault(), r.stopPropagation(), Ds(t, r), Y(_(t), r, a), Y(_(t), r, s));
3323
3323
  }
3324
3324
  }, this.onPinchStop = function(r) {
3325
3325
  var n = t.props, i = n.onPinchingStop, a = n.onZoomStop;
3326
- t.pinchStartScale && (Ns(t), $(_(t), r, i), $(_(t), r, a));
3326
+ t.pinchStartScale && (Ns(t), Y(_(t), r, i), Y(_(t), r, a));
3327
3327
  }, this.onTouchPanningStart = function(r) {
3328
3328
  var n = t.setup.disabled, i = t.props.onPanningStart;
3329
3329
  if (!n) {
@@ -3335,7 +3335,7 @@ var Ws = function(e, o) {
3335
3335
  else {
3336
3336
  t.lastTouch = +/* @__PURE__ */ new Date(), fe(t);
3337
3337
  var u = r.touches, d = u.length === 1, p = u.length === 2;
3338
- d && (fe(t), Zo(t, r), $(_(t), r, i)), p && t.onPinchStart(r);
3338
+ d && (fe(t), Zo(t, r), Y(_(t), r, i)), p && t.onPinchStart(r);
3339
3339
  }
3340
3340
  }
3341
3341
  }
@@ -3349,7 +3349,7 @@ var Ws = function(e, o) {
3349
3349
  return;
3350
3350
  r.preventDefault(), r.stopPropagation();
3351
3351
  var s = r.touches[0];
3352
- Uo(t, s.clientX, s.clientY), $(_(t), r, i);
3352
+ Uo(t, s.clientX, s.clientY), Y(_(t), r, i);
3353
3353
  } else
3354
3354
  r.touches.length > 1 && t.onPinch(r);
3355
3355
  }, this.onTouchPanningStop = function(r) {
@@ -3377,7 +3377,7 @@ var Ws = function(e, o) {
3377
3377
  var s = _(t);
3378
3378
  t.onChangeCallbacks.forEach(function(u) {
3379
3379
  return u(s);
3380
- }), $(s, { scale: r, positionX: n, positionY: i }, a);
3380
+ }), Y(s, { scale: r, positionX: n, positionY: i }, a);
3381
3381
  } else
3382
3382
  console.error("Detected NaN set state values");
3383
3383
  }, this.setCenter = function() {
@@ -3405,15 +3405,15 @@ var Ws = function(e, o) {
3405
3405
  }, this.init = function(r, n) {
3406
3406
  t.cleanupWindowEvents(), t.wrapperComponent = r, t.contentComponent = n, je(t, t.transformState.scale), t.handleInitializeWrapperEvents(r), t.handleInitialize(n), t.initializeWindowEvents(), t.isInitialized = !0;
3407
3407
  var i = _(t);
3408
- $(i, void 0, t.props.onInit);
3408
+ Y(i, void 0, t.props.onInit);
3409
3409
  }, this.props = o, this.setup = Ko(this.props), this.transformState = Er(this.props);
3410
3410
  }
3411
3411
  return e;
3412
3412
  }()
3413
- ), Xt = Ne.createContext(null), $s = function(e, o) {
3413
+ ), Xt = Ne.createContext(null), Ys = function(e, o) {
3414
3414
  return typeof e == "function" ? e(o) : e;
3415
3415
  }, Bs = Ne.forwardRef(function(e, o) {
3416
- var t = Ot(new Ys(e)).current, r = $s(e.children, At(t));
3416
+ var t = Ot(new $s(e)).current, r = Ys(e.children, At(t));
3417
3417
  return Jr(o, function() {
3418
3418
  return At(t);
3419
3419
  }, [t]), _t(function() {
@@ -3505,7 +3505,7 @@ const Vs = {
3505
3505
  justifyContent: "flex-end",
3506
3506
  backgroundColor: "#0F0E0E4D",
3507
3507
  borderRadius: "5rem"
3508
- }, Tt = {
3508
+ }, Ct = {
3509
3509
  color: "white",
3510
3510
  "&:focus": {
3511
3511
  outline: "none"
@@ -3513,36 +3513,34 @@ const Vs = {
3513
3513
  }, Go = {
3514
3514
  backgroundColor: "#0000000D",
3515
3515
  height: "0.0625rem"
3516
- }, Fs = ({
3516
+ }, Fs = {
3517
+ ...Ct,
3518
+ position: "absolute",
3519
+ zIndex: 1,
3520
+ right: "2rem",
3521
+ bottom: "10rem",
3522
+ background: "#0F0E0E4D",
3523
+ color: "white",
3524
+ padding: "0.55rem"
3525
+ }, Zs = ({
3517
3526
  controllerContainerProps: e,
3518
3527
  zoomInButtonProps: o,
3519
3528
  zoomOutButtonProps: t,
3520
3529
  resetTransformButtonProps: r,
3521
3530
  dividerProps: n,
3522
- rotate: i,
3523
- handleRotate: a,
3524
- rotateButtonProps: s
3531
+ handleRotate: i,
3532
+ rotateButtonProps: a
3525
3533
  }) => {
3526
- const { zoomIn: u, zoomOut: d, resetTransform: p } = Ls();
3534
+ const { zoomIn: s, zoomOut: u, resetTransform: d } = Ls();
3535
+ function p() {
3536
+ s();
3537
+ }
3527
3538
  function f() {
3528
3539
  u();
3529
3540
  }
3530
3541
  function c() {
3531
3542
  d();
3532
3543
  }
3533
- function v() {
3534
- p();
3535
- }
3536
- const h = {
3537
- ...Tt,
3538
- position: "absolute",
3539
- zIndex: 1,
3540
- right: "2rem",
3541
- bottom: "10rem",
3542
- background: i ? "white" : "#0F0E0E4D",
3543
- color: i ? "black" : "white",
3544
- padding: "0.55rem"
3545
- };
3546
3544
  return /* @__PURE__ */ Ie(Zr, { children: [
3547
3545
  /* @__PURE__ */ N(wt, { title: "Rotate", placement: "left", children: /* @__PURE__ */ N(
3548
3546
  ht,
@@ -3550,9 +3548,9 @@ const Vs = {
3550
3548
  disableRipple: !0,
3551
3549
  disableFocusRipple: !0,
3552
3550
  "aria-label": "Rotate",
3553
- onClick: a,
3554
- sx: h,
3555
- ...s,
3551
+ onClick: i,
3552
+ sx: Fs,
3553
+ ...a,
3556
3554
  children: /* @__PURE__ */ N(wr, {})
3557
3555
  }
3558
3556
  ) }),
@@ -3569,8 +3567,8 @@ const Vs = {
3569
3567
  disableRipple: !0,
3570
3568
  disableFocusRipple: !0,
3571
3569
  "aria-label": "Zoom In",
3572
- onClick: f,
3573
- sx: Tt,
3570
+ onClick: p,
3571
+ sx: Ct,
3574
3572
  ...o,
3575
3573
  children: /* @__PURE__ */ N(gr, {})
3576
3574
  }
@@ -3582,8 +3580,8 @@ const Vs = {
3582
3580
  disableFocusRipple: !0,
3583
3581
  disableRipple: !0,
3584
3582
  "aria-label": "Zoom Out",
3585
- onClick: c,
3586
- sx: Tt,
3583
+ onClick: f,
3584
+ sx: Ct,
3587
3585
  ...t,
3588
3586
  children: /* @__PURE__ */ N(yr, {})
3589
3587
  }
@@ -3595,8 +3593,8 @@ const Vs = {
3595
3593
  disableFocusRipple: !0,
3596
3594
  disableRipple: !0,
3597
3595
  "aria-label": "Reset",
3598
- onClick: v,
3599
- sx: Tt,
3596
+ onClick: c,
3597
+ sx: Ct,
3600
3598
  ...r,
3601
3599
  children: /* @__PURE__ */ N(br, {})
3602
3600
  }
@@ -3605,23 +3603,23 @@ const Vs = {
3605
3603
  }
3606
3604
  )
3607
3605
  ] });
3608
- }, rl = ({
3606
+ }, nl = ({
3609
3607
  children: e,
3610
3608
  parentContainerProps: o,
3611
3609
  zoomControllerProps: t,
3612
- isRotatedByDefault: r,
3610
+ defaultRotationAngle: r,
3613
3611
  onRotate: n,
3614
3612
  ...i
3615
3613
  }) => {
3616
- const [a, s] = Ir(r ?? !1);
3614
+ const [a, s] = Ir(r ?? "0");
3617
3615
  function u() {
3618
- s((p) => !p);
3616
+ s((p) => ((parseInt(p) + 90) % 360).toString());
3619
3617
  }
3620
3618
  _t(() => {
3621
3619
  n == null || n(a);
3622
3620
  }, [a]);
3623
3621
  const d = {
3624
- transform: a ? "rotate(90deg)" : "rotate(0deg)"
3622
+ transform: `rotate(${a}deg)`
3625
3623
  };
3626
3624
  return /* @__PURE__ */ N(
3627
3625
  mr,
@@ -3631,9 +3629,8 @@ const Vs = {
3631
3629
  ...o,
3632
3630
  children: /* @__PURE__ */ Ie(Bs, { ...i, children: [
3633
3631
  /* @__PURE__ */ N(
3634
- Fs,
3632
+ Zs,
3635
3633
  {
3636
- rotate: a,
3637
3634
  handleRotate: u,
3638
3635
  ...t
3639
3636
  }
@@ -3644,5 +3641,5 @@ const Vs = {
3644
3641
  );
3645
3642
  };
3646
3643
  export {
3647
- rl as default
3644
+ nl as default
3648
3645
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopr-ai/craft",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Component library based out of Material UI customized to support Loopr AI products",
5
5
  "homepage": "https://loopr.ai",
6
6
  "author": {