@sheetxl/utils-mui 0.8.0-beta.14 → 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 +17 -7
- package/browser/esm/{CGg1EELxvcDzhjrf.mjs → Wz8M2y7mUV104COL.mjs} +3 -3
- package/browser/esm/{CWyRwqzC8PZhasZA.mjs → ftRNC1PfcN11G7sR.mjs} +2 -2
- package/browser/esm/index.mjs +5 -5
- package/node/esm/index.mjs +4 -4
- package/node/esm/{D0hB5wc-x57eSUUc.mjs → kQX0zZ2HkR3Nr7th.mjs} +2 -2
- package/package.json +4 -4
package/LICENSE.md
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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.
|
|
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:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e, y as t } from "./
|
|
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.
|
|
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:
|
|
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";
|
package/browser/esm/index.mjs
CHANGED
|
@@ -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.
|
|
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:
|
|
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 "./
|
|
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("./
|
|
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;
|
package/node/esm/index.mjs
CHANGED
|
@@ -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.
|
|
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:
|
|
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("./
|
|
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.
|
|
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:
|
|
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.
|
|
5
|
-
"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.
|
|
47
|
-
"@sheetxl/utils-react": "^0.8.0-beta.
|
|
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",
|