@sheetxl/utils-mui 0.1.120 → 0.2.5

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.
@@ -9,7 +9,7 @@ import X4, { ThemeContext as G4, internal_serializeStyles as $5, internal_mutate
9
9
  import { ArrowLeft as Q4, ArrowRight as Z8, ContentCopy as J4, BugReport as e9, Error as t9, ArrowDropDown as n9, Close as r9 } from "@mui/icons-material";
10
10
  import { deepmerge as R8 } from "@mui/utils";
11
11
  /**
12
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.1.119
12
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.2.5
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -28,7 +28,7 @@ function A0() {
28
28
  return r;
29
29
  }
30
30
  /**
31
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.1.119
31
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.2.5
32
32
  *
33
33
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
34
34
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1802,14 +1802,14 @@ const Ye = function(e = {}) {
1802
1802
  try {
1803
1803
  if (typeof document < "u") {
1804
1804
  var e = document.createElement("style");
1805
- e.appendChild(document.createTextNode("._sheetxl-scrollbar_18qzf_11 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_5qk7s_7{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_5qk7s_7>*{pointer-events:auto}")), document.head.appendChild(e);
1805
+ e.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(e);
1806
1806
  }
1807
1807
  } catch (t) {
1808
1808
  console.error("vite-plugin-css-injected-by-js", t);
1809
1809
  }
1810
1810
  })();
1811
1811
  /**
1812
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.1.119
1812
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.2.5
1813
1813
  *
1814
1814
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
1815
1815
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1908,7 +1908,7 @@ const b5 = d0(m0((e, t) => {
1908
1908
  const C = { orientation: c, disabled: Math.floor(A - _) <= Math.ceil(l0), onMouseUp: e0, onMouseLeave: e0, onMouseDown: () => Q(l0, !0, !1) };
1909
1909
  return f?.(C);
1910
1910
  }, [u, c, l0, O, A, _]);
1911
- return L("div", { ref: t, style: { display: "flex", flex: "1", flexDirection: z ? "column" : "row", padding: "0", ...i }, className: j1("_sheetxl-scrollbar_18qzf_11", a), ...y, children: [h0, l("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: z ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: H, children: l("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: z ? "scroll" : "hidden", overflowX: z ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: Y, ref: b, children: l("div", { ref: R, style: { position: "absolute", height: z ? r - o + (E ?? 0) : 1, width: z ? 1 : r - o + (M ?? 0) }, className: "scrollbar-viewport" }) }) }), S] });
1911
+ return L("div", { ref: t, style: { display: "flex", flex: "1", flexDirection: z ? "column" : "row", padding: "0", ...i }, className: j1("_sheetxl-scrollbar_eblx4_6", a), ...y, children: [h0, l("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: z ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: H, children: l("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: z ? "scroll" : "hidden", overflowX: z ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: Y, ref: b, children: l("div", { ref: R, style: { position: "absolute", height: z ? r - o + (E ?? 0) : 1, width: z ? 1 : r - o + (M ?? 0) }, className: "scrollbar-viewport" }) }) }), S] });
1912
1912
  }));
1913
1913
  b5.displayName = "Scrollbar";
1914
1914
  let D6 = Date.now, z1 = {}, ot = 1;
@@ -2162,7 +2162,7 @@ function w5() {
2162
2162
  const t = document.fullscreenElement;
2163
2163
  if (!t) return;
2164
2164
  let n = t.querySelector(".fullscreen-portal-root");
2165
- n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_5qk7s_7", t.appendChild(n));
2165
+ n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", t.appendChild(n));
2166
2166
  }
2167
2167
  return D2++, e(), document.addEventListener("fullscreenchange", e), () => {
2168
2168
  document.removeEventListener("fullscreenchange", e), D2--, D2 <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((t) => {
@@ -2514,7 +2514,7 @@ const F6 = M7 && window.ResizeObserver !== void 0 ? function() {
2514
2514
  }, [t]), [n, o];
2515
2515
  } : function() {
2516
2516
  return [Nt, I6];
2517
- }, Pt = "_traverse-ellipsis_w67fc_1", Ba = d0((e) => {
2517
+ }, Pt = "_traverse-ellipsis_14l1h_1", Ba = d0((e) => {
2518
2518
  const { sx: t, speed: n = 2, size: r = 70, ...o } = e;
2519
2519
  return l(o0, { sx: { width: `${r}px`, height: `${r}px`, zIndex: 1, "& .primary": { stroke: (i) => i.palette.grey[600], fill: "none" }, ...t }, ...o, children: L("svg", { x: "0px", y: "0px", viewBox: "0 0 100 100", children: [l("circle", { className: "primary", strokeWidth: "4", cx: "50", cy: "50", r: "48" }), l("line", { className: "primary", strokeLinecap: "round", strokeWidth: "4", x1: "50", y1: "50", x2: "85", y2: "50.5", children: l("animateTransform", { attributeName: "transform", dur: `${n}s`, type: "rotate", from: "0 50 50", to: "360 50 50", repeatCount: "indefinite" }) }), l("line", { className: "primary", strokeLinecap: "round", strokeWidth: "4", x1: "50", y1: "50", x2: "49.5", y2: "74", children: l("animateTransform", { attributeName: "transform", dur: 7.5 * n + "s", type: "rotate", from: "0 50 50", to: "360 50 50", repeatCount: "indefinite" }) })] }) });
2520
2520
  }), Zt = d0((e) => {
@@ -4980,7 +4980,7 @@ const dr = ["Ok", "Cancel"], E8 = (e) => {
4980
4980
  t?.onDone?.(), r.hide();
4981
4981
  } });
4982
4982
  });
4983
- }, pr = i0.lazy(() => import("./C2WjFF2V52ncqM3N.mjs")), al = () => {
4983
+ }, pr = i0.lazy(() => import("./DXOUAfw7lsdinN6r.mjs")), al = () => {
4984
4984
  const { showModal: e } = L5();
4985
4985
  return (t) => {
4986
4986
  const { defaultOption: n = t.options?.[0], cancelOption: r = "Cancel", ...o } = t;
@@ -1,10 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { memo as j, forwardRef as z, useState as p } from "react";
3
- import { T as t, e as E, O as K, c as R, g as O } from "./CLXsfkGAapdZu6yj.mjs";
3
+ import { T as t, e as E, O as K, c as R, g as O } from "./DCfPnXOWs05_ZuSz.mjs";
4
4
  import { Box as W, FormControl as q, TextField as A } from "@mui/material";
5
5
  import { alpha as y } from "@mui/system";
6
6
  /**
7
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.1.119
7
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.2.5
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,7 +1,7 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._traverse-ellipsis_w67fc_1{display:inline-block;position:relative}._traverse-ellipsis_w67fc_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_w67fc_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_w67fc_1 .6s infinite}@keyframes _traverse-ellipsis1_w67fc_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_w67fc_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_w67fc_1{0%{transform:translate(0)}to{transform:translate(24px)}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { C as e, y as n, A as s, z as c, D as t, F as r, B as I, P as l, be as i, bm as b, bg as u, bf as d, bj as m, bn as p, bi as C, bl as S, bk as T, bh as D, cA as w, bU as F, bS as x, bT as g, bV as h, Q as R, bR as A, J as B, _ as z, Z as E, $ as P, bQ as M, cM as k, cm as v, a3 as H, a0 as f, a1 as y, a2 as V, bX as O, bW as L, ag as N, cS as U, cU as W, cX as G, cV as K, K as j, ao as q, am as J, an as Q, ak as X, al as Y, bF as _, bE as Z, cd as $, c9 as aa, ce as oa, cf as ea, c8 as na, cc as sa, ca, cb as ta, c6 as ra, cg as Ia, ch as la, ck as ia, c5 as ba, c4 as ua, c7 as da, ci as ma, cj as pa, c2 as Ca, c3 as Sa, cl as Ta, c1 as Da, H as wa, x as Fa, cR as xa, E as ga, b as ha, a as Ra, h as Aa, cK as Ba, d as za, f as Ea, i as Pa, by as Ma, bx as ka, bw as va, bu as Ha, bv as fa, aA as ya, ae as Va, af as Oa, ad as La, bK as Na, bH as Ua, bJ as Wa, bO as Ga, bN as Ka, bM as ja, bI as qa, bL as Ja, aO as Qa, aN as Xa, aP as Ya, cB as _a, ac as Za, ab as $a, a9 as ao, aa as oo, bq as eo, br as no, cs as so, cu as co, ct as to, bG as ro, bP as Io, bC as lo, ax as io, az as bo, ai as uo, aj as mo, cT as po, aB as Co, aD as So, aC as To, aG as Do, aF as wo, aH as Fo, aE as xo, aI as go, cE as ho, cW as Ro, L as Ao, a5 as Bo, a4 as zo, a6 as Eo, a8 as Po, a7 as Mo, cC as ko, N as vo, bp as Ho, O as fo, as as yo, at as Vo, aq as Oo, av as Lo, au as No, ar as Uo, ah as Wo, cL as Go, cN as Ko, bo as jo, cr as qo, aJ as Jo, aL as Qo, aK as Xo, aM as Yo, bY as _o, bZ as Zo, cz as $o, cy as ae, cw as oe, cv as ee, cx as ne, co as se, cp as ce, S as te, aw as re, ay as Ie, cY as le, M as ie, aS as be, aR as ue, aQ as de, aV as me, aT as pe, aU as Ce, I as Se, bz as Te, bA as De, b_ as we, b$ as Fe, c0 as xe, cn as ge, Y as he, V as Re, R as Ae, W as Be, U as ze, X as Ee, b3 as Pe, b7 as Me, b6 as ke, b8 as ve, b4 as He, b5 as fe, ba as ye, b9 as Ve, aX as Oe, aW as Le, aY as Ne, a_ as Ue, aZ as We, b2 as Ge, b1 as Ke, b0 as je, a$ as qe, bd as Je, bc as Qe, bb as Xe, bs as Ye, bt as _e, q as Ze, bD as $e, cq as an, bB as on, ap as en, cP as nn, l as sn, u as cn, r as tn, w as rn, v as In, n as ln, cO as bn, k as un, cH as dn, j as mn, o as pn, s as Cn, cI as Sn, m as Tn, p as Dn, t as wn, cQ as Fn, cG as xn, cD as gn, cJ as hn, cF as Rn, G as An } from "./CLXsfkGAapdZu6yj.mjs";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ import { C as e, y as n, A as s, z as c, D as t, F as r, B as I, P as l, be as i, bm as b, bg as u, bf as d, bj as m, bn as p, bi as C, bl as S, bk as T, bh as D, cA as w, bU as F, bS as x, bT as g, bV as h, Q as R, bR as A, J as B, _ as z, Z as E, $ as P, bQ as M, cM as k, cm as v, a3 as H, a0 as f, a1 as y, a2 as V, bX as O, bW as L, ag as N, cS as U, cU as W, cX as G, cV as K, K as j, ao as q, am as J, an as Q, ak as X, al as Y, bF as _, bE as Z, cd as $, c9 as aa, ce as oa, cf as ea, c8 as na, cc as sa, ca, cb as ta, c6 as ra, cg as Ia, ch as la, ck as ia, c5 as ba, c4 as ua, c7 as da, ci as ma, cj as pa, c2 as Ca, c3 as Sa, cl as Ta, c1 as Da, H as wa, x as Fa, cR as xa, E as ga, b as ha, a as Ra, h as Aa, cK as Ba, d as za, f as Ea, i as Pa, by as Ma, bx as ka, bw as va, bu as Ha, bv as fa, aA as ya, ae as Va, af as Oa, ad as La, bK as Na, bH as Ua, bJ as Wa, bO as Ga, bN as Ka, bM as ja, bI as qa, bL as Ja, aO as Qa, aN as Xa, aP as Ya, cB as _a, ac as Za, ab as $a, a9 as ao, aa as oo, bq as eo, br as no, cs as so, cu as co, ct as to, bG as ro, bP as Io, bC as lo, ax as io, az as bo, ai as uo, aj as mo, cT as po, aB as Co, aD as So, aC as To, aG as Do, aF as wo, aH as Fo, aE as xo, aI as go, cE as ho, cW as Ro, L as Ao, a5 as Bo, a4 as zo, a6 as Eo, a8 as Po, a7 as Mo, cC as ko, N as vo, bp as Ho, O as fo, as as yo, at as Vo, aq as Oo, av as Lo, au as No, ar as Uo, ah as Wo, cL as Go, cN as Ko, bo as jo, cr as qo, aJ as Jo, aL as Qo, aK as Xo, aM as Yo, bY as _o, bZ as Zo, cz as $o, cy as ae, cw as oe, cv as ee, cx as ne, co as se, cp as ce, S as te, aw as re, ay as Ie, cY as le, M as ie, aS as be, aR as ue, aQ as de, aV as me, aT as pe, aU as Ce, I as Se, bz as Te, bA as De, b_ as we, b$ as Fe, c0 as xe, cn as ge, Y as he, V as Re, R as Ae, W as Be, U as ze, X as Ee, b3 as Pe, b7 as Me, b6 as ke, b8 as ve, b4 as He, b5 as fe, ba as ye, b9 as Ve, aX as Oe, aW as Le, aY as Ne, a_ as Ue, aZ as We, b2 as Ge, b1 as Ke, b0 as je, a$ as qe, bd as Je, bc as Qe, bb as Xe, bs as Ye, bt as _e, q as Ze, bD as $e, cq as an, bB as on, ap as en, cP as nn, l as sn, u as cn, r as tn, w as rn, v as In, n as ln, cO as bn, k as un, cH as dn, j as mn, o as pn, s as Cn, cI as Sn, m as Tn, p as Dn, t as wn, cQ as Fn, cG as xn, cD as gn, cJ as hn, cF as Rn, G as An } from "./DCfPnXOWs05_ZuSz.mjs";
3
3
  /**
4
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.1.119
4
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.2.5
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -21,24 +21,23 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
21
21
  ---
22
22
 
23
23
  Name: @sheetxl/utils
24
- Version: 0.1.119
24
+ Version: 0.2.5
25
25
  License: SEE LICENSE IN <LICENSE>
26
26
  Private: false
27
27
  Description: Utils - Utilities used by most SheetXL components.
28
- Author: Michael T Ford
29
28
  License Copyright:
30
29
  ===
31
30
 
32
- # Repository Licensing
33
-
34
- The SheetXL monorepo contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
35
-
36
- For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
37
-
38
- Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
39
-
40
- For more details on commercial licensing, please visit our website:
41
-
31
+ # Repository Licensing
32
+
33
+ SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
34
+
35
+ For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
36
+
37
+ Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
38
+
39
+ For more details on commercial licensing, please visit our website:
40
+
42
41
  https://www.sheetxl.com/licensing-pricing
43
42
 
44
43
  ---
@@ -217,24 +216,23 @@ SOFTWARE.
217
216
  ---
218
217
 
219
218
  Name: @sheetxl/utils-react
220
- Version: 0.1.119
219
+ Version: 0.2.5
221
220
  License: SEE LICENSE IN <LICENSE>
222
221
  Private: false
223
222
  Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
224
- Author: Michael T Ford
225
223
  License Copyright:
226
224
  ===
227
225
 
228
- # Repository Licensing
229
-
230
- The SheetXL monorepo contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
231
-
232
- For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
233
-
234
- Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
235
-
236
- For more details on commercial licensing, please visit our website:
237
-
226
+ # Repository Licensing
227
+
228
+ SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
229
+
230
+ For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
231
+
232
+ Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
233
+
234
+ For more details on commercial licensing, please visit our website:
235
+
238
236
  https://www.sheetxl.com/licensing-pricing
239
237
 
240
238
  ---
@@ -0,0 +1 @@
1
+ ._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.1.119
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.2.5
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.