@sheetxl/utils-mui 0.8.0-beta.15 → 0.8.0-beta.16

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/LICENSE.md CHANGED
@@ -1,11 +1,21 @@
1
- # Repository Licensing
1
+ MIT License
2
2
 
3
- SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
3
+ Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford
4
4
 
5
- For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
6
11
 
7
- 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.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
8
14
 
9
- For more details on commercial licensing, please visit our website:
10
-
11
- https://www.sheetxl.com/docs/guides/licensing-pricing
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.15
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
- import { t as e, y as t } from "./Ds351rIUbo92vaSp.mjs";
7
+ import { t as e, y as t } from "./ftRNC1PfcN11G7sR.mjs";
8
8
  import { Box as n, FormControl as r, TextField as i } from "@mui/material";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { forwardRef as o, memo as s, useState as c } from "react";
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.15
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { Backdrop as e, Box as t, Button as n, Chip as r, CircularProgress as i, DialogActions as a, DialogContent as o, DialogTitle as s, Fade as c, IconButton as l, Paper as u, Tooltip as d, Typography as f, Unstable_TrapFocus as p, createTheme as m, useTheme as h, useThemeProps as g } from "@mui/material";
8
8
  import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  (function(){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{border-radius:50%;position:absolute}._traverse-ellipsis_14l1h_1 div:first-child{animation:.6s infinite _traverse-ellipsis1_14l1h_1;left:0}._traverse-ellipsis_14l1h_1 div:nth-child(2){animation:.6s infinite _traverse-ellipsis2_14l1h_1;left:0}._traverse-ellipsis_14l1h_1 div:nth-child(3){animation:.6s infinite _traverse-ellipsis2_14l1h_1;left:24px}._traverse-ellipsis_14l1h_1 div:nth-child(4){animation:.6s infinite _traverse-ellipsis3_14l1h_1;left:48px}@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)}}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
2
  /**
3
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.15
3
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.16
4
4
  *
5
5
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
6
+ * License: MIT
7
7
  */
8
- import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "./Ds351rIUbo92vaSp.mjs";
8
+ import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "./ftRNC1PfcN11G7sR.mjs";
9
9
  import { Box as y, Button as b, Divider as x, IconButton as S, Input as C, LinearProgress as w, ListItemButton as T, ListItemIcon as E, Paper as D, Toolbar as O, Typography as k, useTheme as ee } from "@mui/material";
10
10
  import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
11
11
  import N, { Children as P, Fragment as F, Suspense as I, cloneElement as te, createContext as L, forwardRef as R, isValidElement as ne, memo as z, useCallback as B, useContext as re, useEffect as V, useLayoutEffect as ie, useMemo as H, useReducer as ae, useRef as U, useState as W } from "react";
@@ -2272,7 +2272,7 @@ var Kt = (e) => {
2272
2272
  }
2273
2273
  });
2274
2274
  });
2275
- }, qt = Wt(se("utils-mui:inputDialog", () => import("./DV8P53c5ih9GjdeK.mjs")).load), Jt = (e) => {
2275
+ }, qt = Wt(se("utils-mui:inputDialog", () => import("./Wz8M2y7mUV104COL.mjs")).load), Jt = (e) => {
2276
2276
  let { showModal: t } = Vt();
2277
2277
  return (n) => {
2278
2278
  let { defaultOption: r = n.options?.[0], cancelOption: i = "Cancel", ...a } = n;
@@ -2589,7 +2589,7 @@ function rn(e, t = {}) {
2589
2589
  ...u,
2590
2590
  groupKey: t,
2591
2591
  icon: n?.getIcon?.(t),
2592
- label: n?.getLabel?.(t),
2592
+ label: n?.getLabel?.(t) ?? (i ? e.getLabel?.(i) : void 0),
2593
2593
  showLabel: n?.showLabel
2594
2594
  });
2595
2595
  if (e.render) return e.render({ ...u }, i) ?? null;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.15
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { Backdrop as e, Box as t, Button as r, Chip as o, CircularProgress as n, DialogActions as i, DialogContent as a, DialogTitle as l, Divider as s, Fade as c, IconButton as d, Input as p, LinearProgress as u, ListItemButton as m, ListItemIcon as h, Paper as f, Toolbar as g, Tooltip as x, Typography as b, Unstable_TrapFocus as y, createTheme as v, useTheme as w, useThemeProps as k } from "@mui/material";
8
8
  import { Fragment as C, jsx as M, jsxs as S } from "react/jsx-runtime";
@@ -2982,7 +2982,7 @@ var cr = {
2982
2982
  }
2983
2983
  });
2984
2984
  });
2985
- }, vr = lr(U("utils-mui:inputDialog", () => import("./DHhWtacUKK7okzcV.mjs")).load), wr = (e) => {
2985
+ }, vr = lr(U("utils-mui:inputDialog", () => import("./kQX0zZ2HkR3Nr7th.mjs")).load), wr = (e) => {
2986
2986
  const { showModal: t } = Re();
2987
2987
  return (r) => {
2988
2988
  const { defaultOption: o = r.options?.[0], cancelOption: n = "Cancel", ...i } = r;
@@ -3302,7 +3302,7 @@ function Ir(e, t = {}) {
3302
3302
  ...d,
3303
3303
  groupKey: t,
3304
3304
  icon: r?.getIcon?.(t),
3305
- label: r?.getLabel?.(t),
3305
+ label: r?.getLabel?.(t) ?? (n ? e.getLabel?.(n) : void 0),
3306
3306
  showLabel: r?.showLabel
3307
3307
  });
3308
3308
  if (e.render) return e.render({ ...d }, n) ?? null;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.15
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { OptionsDialog as o } from "./index.mjs";
8
8
  import { Box as t, FormControl as n, TextField as a } from "@mui/material";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sheetxl/utils-mui",
3
3
  "description": "Utilities MUI - Utilities for MUI Components needed for all SheetXL components.",
4
- "version": "0.8.0-beta.15",
5
- "license": "SEE LICENSE IN <LICENSE>",
4
+ "version": "0.8.0-beta.16",
5
+ "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -43,8 +43,8 @@
43
43
  "ui"
44
44
  ],
45
45
  "dependencies": {
46
- "@sheetxl/utils": "^0.8.0-beta.15",
47
- "@sheetxl/utils-react": "^0.8.0-beta.15",
46
+ "@sheetxl/utils": "^0.8.0-beta.16",
47
+ "@sheetxl/utils-react": "^0.8.0-beta.16",
48
48
  "clsx": "^2.1.1",
49
49
  "detect-it": "^4.0.1",
50
50
  "mui-modal-provider": "2.4.6",