@amateescu/portal-ui-components 0.0.7-beta3 → 0.0.7-beta4

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.
@@ -1,8 +1,8 @@
1
1
  import { a as Y, _ as ae } from "./index-kNWC7pFF.js";
2
2
  import * as l from "react";
3
3
  import X, { Children as We, isValidElement as G, cloneElement as Z } from "react";
4
- import { P as n, e as He, d as v, a as ve, u as xe, s as le, g as Ge, b as Ze } from "./generateUtilityClasses-BzhjuzcK.js";
5
- import { jsx as $, jsxs as Je } from "react/jsx-runtime";
4
+ import { P as n, m as He, f as v, a as ve, u as xe, s as le, g as Ge, b as Ze } from "./generateUtilityClasses-DHfaG5wY.js";
5
+ import { jsx as _, jsxs as Je } from "react/jsx-runtime";
6
6
  import { _ as Qe, a as et } from "./assertThisInitialized-BUtkG-md.js";
7
7
  import { keyframes as ce } from "@emotion/react";
8
8
  const tt = n.oneOfType([n.func, n.object]);
@@ -343,10 +343,10 @@ function Ve(e) {
343
343
  clearTimeout(T);
344
344
  };
345
345
  }
346
- }, [p, c, f]), /* @__PURE__ */ $("span", {
346
+ }, [p, c, f]), /* @__PURE__ */ _("span", {
347
347
  className: y,
348
348
  style: x,
349
- children: /* @__PURE__ */ $("span", {
349
+ children: /* @__PURE__ */ _("span", {
350
350
  className: m
351
351
  })
352
352
  });
@@ -502,10 +502,10 @@ const ue = 550, Vt = 80, wt = ce(Te || (Te = ee`
502
502
  pulsate: E,
503
503
  rippleX: M,
504
504
  rippleY: B,
505
- rippleSize: _,
505
+ rippleSize: $,
506
506
  cb: K
507
507
  } = d;
508
- f((C) => [...C, /* @__PURE__ */ $(Lt, {
508
+ f((C) => [...C, /* @__PURE__ */ _(Lt, {
509
509
  classes: {
510
510
  ripple: v(i.ripple, b.ripple),
511
511
  rippleVisible: v(i.rippleVisible, b.rippleVisible),
@@ -518,13 +518,13 @@ const ue = 550, Vt = 80, wt = ce(Te || (Te = ee`
518
518
  pulsate: E,
519
519
  rippleX: M,
520
520
  rippleY: B,
521
- rippleSize: _
521
+ rippleSize: $
522
522
  }, h.current)]), h.current += 1, R.current = K;
523
523
  }, [i]), S = l.useCallback((d = {}, E = {}, M = () => {
524
524
  }) => {
525
525
  const {
526
526
  pulsate: B = !1,
527
- center: _ = r || E.pulsate,
527
+ center: $ = r || E.pulsate,
528
528
  fakeElement: K = !1
529
529
  // For test purposes
530
530
  } = E;
@@ -540,7 +540,7 @@ const ue = 550, Vt = 80, wt = ce(Te || (Te = ee`
540
540
  top: 0
541
541
  };
542
542
  let V, N, L;
543
- if (_ || d === void 0 || d.clientX === 0 && d.clientY === 0 || !d.clientX && !d.touches)
543
+ if ($ || d === void 0 || d.clientX === 0 && d.clientY === 0 || !d.clientX && !d.touches)
544
544
  V = Math.round(D.width / 2), N = Math.round(D.height / 2);
545
545
  else {
546
546
  const {
@@ -549,7 +549,7 @@ const ue = 550, Vt = 80, wt = ce(Te || (Te = ee`
549
549
  } = d.touches && d.touches.length > 0 ? d.touches[0] : d;
550
550
  V = Math.round(I - D.left), N = Math.round(w - D.top);
551
551
  }
552
- if (_)
552
+ if ($)
553
553
  L = Math.sqrt((2 * D.width ** 2 + D.height ** 2) / 3), L % 2 === 0 && (L += 1);
554
554
  else {
555
555
  const I = Math.max(Math.abs((C ? C.clientWidth : 0) - V), V) * 2 + 2, w = Math.max(Math.abs((C ? C.clientHeight : 0) - N), N) * 2 + 2;
@@ -589,11 +589,11 @@ const ue = 550, Vt = 80, wt = ce(Te || (Te = ee`
589
589
  pulsate: j,
590
590
  start: S,
591
591
  stop: O
592
- }), [j, S, O]), /* @__PURE__ */ $(Nt, Y({
592
+ }), [j, S, O]), /* @__PURE__ */ _(Nt, Y({
593
593
  className: v(b.root, i.root, s),
594
594
  ref: T
595
595
  }, c, {
596
- children: /* @__PURE__ */ $(fe, {
596
+ children: /* @__PURE__ */ _(fe, {
597
597
  component: null,
598
598
  exit: !0,
599
599
  children: p
@@ -696,7 +696,7 @@ const It = ve("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ft = ["act
696
696
  onKeyUp: E,
697
697
  onMouseDown: M,
698
698
  onMouseLeave: B,
699
- onMouseUp: _,
699
+ onMouseUp: $,
700
700
  onTouchEnd: K,
701
701
  onTouchMove: C,
702
702
  onTouchStart: D,
@@ -726,9 +726,9 @@ const It = ve("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ft = ["act
726
726
  function P(u, me, qe = R) {
727
727
  return H((be) => (me && me(be), !qe && g.current && g.current[u](be), !0));
728
728
  }
729
- const Ie = P("start", M), Fe = P("stop", U), ke = P("stop", S), Se = P("stop", _), Oe = P("stop", (u) => {
729
+ const Ie = P("start", M), Fe = P("stop", U), ke = P("stop", S), Se = P("stop", $), Oe = P("stop", (u) => {
730
730
  F && u.preventDefault(), B && B(u);
731
- }), _e = P("start", D), $e = P("stop", K), Ue = P("stop", C), je = P("stop", (u) => {
731
+ }), $e = P("start", D), _e = P("stop", K), Ue = P("stop", C), je = P("stop", (u) => {
732
732
  Ne(u), de.current === !1 && q(!1), m && m(u);
733
733
  }, !1), Ke = H((u) => {
734
734
  z.current || (z.current = u.currentTarget), De(u), de.current === !0 && (q(!0), O && O(u)), j && j(u);
@@ -777,16 +777,16 @@ const It = ve("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ft = ["act
777
777
  onMouseLeave: Oe,
778
778
  onMouseUp: Se,
779
779
  onDragLeave: ke,
780
- onTouchEnd: $e,
780
+ onTouchEnd: _e,
781
781
  onTouchMove: Ue,
782
- onTouchStart: _e,
782
+ onTouchStart: $e,
783
783
  ref: Xe,
784
784
  tabIndex: f ? -1 : V,
785
785
  type: I
786
786
  }, A, w, {
787
787
  children: [s, ne ? (
788
788
  /* TouchRipple is only needed client-side, x2 boost on the server. */
789
- /* @__PURE__ */ $(we, Y({
789
+ /* @__PURE__ */ _(we, Y({
790
790
  ref: Pe,
791
791
  center: i
792
792
  }, N))
@@ -952,16 +952,5 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
952
952
  type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
953
953
  });
954
954
  export {
955
- Ot as B,
956
- Re as T,
957
- Rt as _,
958
- st as a,
959
- H as b,
960
- ct as c,
961
- J as d,
962
- rt as e,
963
- gt as f,
964
- tt as r,
965
- it as s,
966
- ye as u
955
+ Ot as B
967
956
  };