@dev-blinq/ui-systems 1.0.78 → 1.0.79
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,6 +9,8 @@ interface MenuProps {
|
|
|
9
9
|
handleClose: () => void;
|
|
10
10
|
onClick?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, value: any) => void;
|
|
11
11
|
anchorEl: HTMLElement | null;
|
|
12
|
+
minWidth?: string;
|
|
13
|
+
width?: string;
|
|
12
14
|
}
|
|
13
|
-
export declare function CustomMenu({ items, anchorEl, handleClose, onClick, }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function CustomMenu({ items, anchorEl, handleClose, onClick, minWidth, width }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare const StyledMenu: import('@emotion/styled').StyledComponent<import('@mui/material').MenuProps & {
|
|
2
2
|
theme?: import('@emotion/react').Theme;
|
|
3
|
+
} & {
|
|
4
|
+
minWidth?: string;
|
|
5
|
+
width?: string;
|
|
3
6
|
}, {}, {}>;
|
|
4
7
|
export declare const StyledMenuItem: import('@emotion/styled').StyledComponent<import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
5
8
|
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -114,7 +114,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
114
114
|
border: 1px solid var(--color-grey-40);
|
|
115
115
|
background: var(--color-white);
|
|
116
116
|
box-shadow: var(--shadow-lg);
|
|
117
|
-
|
|
117
|
+
width: ${({width:e})=>e||"inherit"};;
|
|
118
|
+
min-width: ${({minWidth:e})=>e||"100px"};
|
|
118
119
|
.MuiMenu-list {
|
|
119
120
|
padding: 0;
|
|
120
121
|
width: 100%;
|
|
@@ -137,7 +138,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
137
138
|
width: 14px;
|
|
138
139
|
height: 14px;
|
|
139
140
|
}
|
|
140
|
-
`;function Ro({items:e,anchorEl:n,handleClose:t,onClick:r}){return y.jsx(xo,{anchorEl:n,keepMounted:!0,open:!!n,onClose:t,"data-no-dnd":"true",children:e.map(({title:
|
|
141
|
+
`;function Ro({items:e,anchorEl:n,handleClose:t,onClick:r,minWidth:a,width:i}){return y.jsx(xo,{anchorEl:n,keepMounted:!0,open:!!n,onClose:t,"data-no-dnd":"true",minWidth:a,width:i,children:e.map(({title:c,value:o,disabled:f,divider:d,onClickItem:p},g)=>y.jsxs(y.Fragment,{children:[y.jsx(To,{className:"menu-item",onClick:m=>p?p(m,o):r==null?void 0:r(m,o),disabled:f,"data-no-dnd":"true",children:c},g),d&&y.jsx(ee.Divider,{})]}))})}function Ve(e,...n){const t=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(r=>t.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${t} for the full message.`}const wo="$$material",Po=e=>{const n=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return n.sort((t,r)=>t.val-r.val),n.reduce((t,r)=>({...t,[r.key]:r.val}),{})};function Oo(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:r=5,...a}=e,i=Po(n),c=Object.keys(i);function o(m){return`@media (min-width:${typeof n[m]=="number"?n[m]:m}${t})`}function f(m){return`@media (max-width:${(typeof n[m]=="number"?n[m]:m)-r/100}${t})`}function d(m,E){const v=c.indexOf(E);return`@media (min-width:${typeof n[m]=="number"?n[m]:m}${t}) and (max-width:${(v!==-1&&typeof n[c[v]]=="number"?n[c[v]]:E)-r/100}${t})`}function p(m){return c.indexOf(m)+1<c.length?d(m,c[c.indexOf(m)+1]):o(m)}function g(m){const E=c.indexOf(m);return E===0?o(c[1]):E===c.length-1?f(c[E]):d(m,c[c.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:o,down:f,between:d,only:p,not:g,unit:t,...a}}var Tt={exports:{}},ne={};/**
|
|
141
142
|
* @license React
|
|
142
143
|
* react-is.production.js
|
|
143
144
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -194,18 +194,18 @@ function ui() {
|
|
|
194
194
|
oe < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var
|
|
197
|
+
var $ = x.ReactCurrentDispatcher, F;
|
|
198
198
|
function G(l, S, R) {
|
|
199
199
|
{
|
|
200
|
-
if (
|
|
200
|
+
if (F === void 0)
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
203
|
} catch (q) {
|
|
204
204
|
var B = q.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
-
|
|
205
|
+
F = B && B[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
|
-
` +
|
|
208
|
+
` + F + l;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
var H = !1, K;
|
|
@@ -226,7 +226,7 @@ function ui() {
|
|
|
226
226
|
var q = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
228
|
var re;
|
|
229
|
-
re =
|
|
229
|
+
re = $.current, $.current = null, _();
|
|
230
230
|
try {
|
|
231
231
|
if (S) {
|
|
232
232
|
var Y = function() {
|
|
@@ -279,7 +279,7 @@ function ui() {
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
H = !1,
|
|
282
|
+
H = !1, $.current = re, V(), Error.prepareStackTrace = q;
|
|
283
283
|
}
|
|
284
284
|
var Qe = l ? l.displayName || l.name : "", ze = Qe ? G(Qe) : "";
|
|
285
285
|
return typeof l == "function" && K.set(l, ze), ze;
|
|
@@ -627,16 +627,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
627
627
|
function _a(l, S, R) {
|
|
628
628
|
return tr(l, S, R, !0);
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function $a(l, S, R) {
|
|
631
631
|
return tr(l, S, R, !1);
|
|
632
632
|
}
|
|
633
|
-
var
|
|
634
|
-
mn.Fragment = r, mn.jsx =
|
|
633
|
+
var Fa = $a, Ua = _a;
|
|
634
|
+
mn.Fragment = r, mn.jsx = Fa, mn.jsxs = Ua;
|
|
635
635
|
}()), mn;
|
|
636
636
|
}
|
|
637
637
|
process.env.NODE_ENV === "production" ? Et.exports = ci() : Et.exports = ui();
|
|
638
638
|
var y = Et.exports;
|
|
639
|
-
const
|
|
639
|
+
const $e = ({ children: e, Size: n, category: t, bold: r, sx: a, ...i }) => /* @__PURE__ */ y.jsx(
|
|
640
640
|
Cn,
|
|
641
641
|
{
|
|
642
642
|
className: "TypographyCustom",
|
|
@@ -681,7 +681,7 @@ const Fe = ({ children: e, Size: n, category: t, bold: r, sx: a, ...i }) => /* @
|
|
|
681
681
|
children: a
|
|
682
682
|
}
|
|
683
683
|
),
|
|
684
|
-
r && /* @__PURE__ */ y.jsx(
|
|
684
|
+
r && /* @__PURE__ */ y.jsx($e, { className: "input-typography", category: "text", Size: e, bold: "bold", children: r }),
|
|
685
685
|
i && /* @__PURE__ */ y.jsx(
|
|
686
686
|
"span",
|
|
687
687
|
{
|
|
@@ -748,7 +748,7 @@ const Fe = ({ children: e, Size: n, category: t, bold: r, sx: a, ...i }) => /* @
|
|
|
748
748
|
),
|
|
749
749
|
/* @__PURE__ */ y.jsxs("div", { className: "grey-box grey-right-box", children: [
|
|
750
750
|
/* @__PURE__ */ y.jsx(
|
|
751
|
-
|
|
751
|
+
$e,
|
|
752
752
|
{
|
|
753
753
|
category: "text",
|
|
754
754
|
Size: "sm",
|
|
@@ -987,7 +987,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
987
987
|
"data-error": e.errExists,
|
|
988
988
|
style: { ...e.style, ...e.sx },
|
|
989
989
|
children: [
|
|
990
|
-
/* @__PURE__ */ y.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ y.jsx(
|
|
990
|
+
/* @__PURE__ */ y.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ y.jsx($e, { category: "text", Size: "sm", bold: "semibold", children: hi(r) || "$" }) }),
|
|
991
991
|
/* @__PURE__ */ y.jsx(
|
|
992
992
|
"input",
|
|
993
993
|
{
|
|
@@ -1087,7 +1087,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1087
1087
|
"data-error": e.errExists,
|
|
1088
1088
|
style: { ...e.style, ...e.sx },
|
|
1089
1089
|
children: [
|
|
1090
|
-
/* @__PURE__ */ y.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ y.jsx(
|
|
1090
|
+
/* @__PURE__ */ y.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ y.jsx($e, { category: "text", Size: "sm", bold: "medium", children: "https://" }) }),
|
|
1091
1091
|
/* @__PURE__ */ y.jsx(
|
|
1092
1092
|
"input",
|
|
1093
1093
|
{
|
|
@@ -1249,7 +1249,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1249
1249
|
props: p
|
|
1250
1250
|
};
|
|
1251
1251
|
return /* @__PURE__ */ y.jsxs("div", { children: [
|
|
1252
|
-
r && /* @__PURE__ */ y.jsx(
|
|
1252
|
+
r && /* @__PURE__ */ y.jsx($e, { category: "text", Size: "sm", bold: "semibold", children: r }),
|
|
1253
1253
|
/* @__PURE__ */ y.jsx(Ti, { ...g })
|
|
1254
1254
|
] });
|
|
1255
1255
|
}, vu = ({
|
|
@@ -1267,7 +1267,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1267
1267
|
});
|
|
1268
1268
|
};
|
|
1269
1269
|
return /* @__PURE__ */ y.jsxs("div", { children: [
|
|
1270
|
-
/* @__PURE__ */ y.jsx(
|
|
1270
|
+
/* @__PURE__ */ y.jsx($e, { category: "text", Size: "sm", bold: "bold", children: r }),
|
|
1271
1271
|
/* @__PURE__ */ y.jsxs("div", { className: "text-area-container", "data-error": t, children: [
|
|
1272
1272
|
/* @__PURE__ */ y.jsx(
|
|
1273
1273
|
"textarea",
|
|
@@ -1301,7 +1301,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1301
1301
|
alignItems: "center"
|
|
1302
1302
|
},
|
|
1303
1303
|
children: [
|
|
1304
|
-
a && /* @__PURE__ */ y.jsxs(
|
|
1304
|
+
a && /* @__PURE__ */ y.jsxs($e, { category: "text", Size: "sm", bold: "medium", children: [
|
|
1305
1305
|
c.length,
|
|
1306
1306
|
"/300"
|
|
1307
1307
|
] }),
|
|
@@ -1394,7 +1394,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1394
1394
|
className: `toggle-option ${r === e ? "active" : ""}`,
|
|
1395
1395
|
onClick: (c) => i(e, c),
|
|
1396
1396
|
children: /* @__PURE__ */ y.jsx(
|
|
1397
|
-
|
|
1397
|
+
$e,
|
|
1398
1398
|
{
|
|
1399
1399
|
bold: "bold",
|
|
1400
1400
|
color: "textSecondary",
|
|
@@ -1411,7 +1411,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1411
1411
|
className: `toggle-option ${r === n ? "active" : ""}`,
|
|
1412
1412
|
onClick: (c) => i(n, c),
|
|
1413
1413
|
children: /* @__PURE__ */ y.jsx(
|
|
1414
|
-
|
|
1414
|
+
$e,
|
|
1415
1415
|
{
|
|
1416
1416
|
bold: "bold",
|
|
1417
1417
|
color: "textSecondary",
|
|
@@ -1428,7 +1428,7 @@ const hi = /* @__PURE__ */ Vr(mi), yi = (e) => {
|
|
|
1428
1428
|
className: `toggle-option ${r === o ? "active" : ""}`,
|
|
1429
1429
|
onClick: (f) => i(o, f),
|
|
1430
1430
|
children: /* @__PURE__ */ y.jsx(
|
|
1431
|
-
|
|
1431
|
+
$e,
|
|
1432
1432
|
{
|
|
1433
1433
|
bold: "bold",
|
|
1434
1434
|
color: "textSecondary",
|
|
@@ -1549,13 +1549,13 @@ var Ni = /* @__PURE__ */ function() {
|
|
|
1549
1549
|
}), this.tags = [], this.ctr = 0;
|
|
1550
1550
|
}, e;
|
|
1551
1551
|
}(), be = "-ms-", Ln = "-moz-", Z = "-webkit-", zr = "comm", Dt = "rule", Bt = "decl", Di = "@import", Zr = "@keyframes", Bi = "@layer", Ii = Math.abs, Yn = String.fromCharCode, _i = Object.assign;
|
|
1552
|
-
function
|
|
1552
|
+
function $i(e, n) {
|
|
1553
1553
|
return he(e, 0) ^ 45 ? (((n << 2 ^ he(e, 0)) << 2 ^ he(e, 1)) << 2 ^ he(e, 2)) << 2 ^ he(e, 3) : 0;
|
|
1554
1554
|
}
|
|
1555
1555
|
function Xr(e) {
|
|
1556
1556
|
return e.trim();
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function Fi(e, n) {
|
|
1559
1559
|
return (e = n.exec(e)) ? e[0] : e;
|
|
1560
1560
|
}
|
|
1561
1561
|
function X(e, n, t) {
|
|
@@ -1598,7 +1598,7 @@ function ji() {
|
|
|
1598
1598
|
function Te() {
|
|
1599
1599
|
return ge = Ee < qr ? he(fn, Ee++) : 0, un++, ge === 10 && (un = 1, Hn++), ge;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function Fe() {
|
|
1602
1602
|
return he(fn, Ee);
|
|
1603
1603
|
}
|
|
1604
1604
|
function _n() {
|
|
@@ -1645,18 +1645,18 @@ function Jr(e) {
|
|
|
1645
1645
|
function Qr(e) {
|
|
1646
1646
|
return fn = "", e;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function $n(e) {
|
|
1649
1649
|
return Xr(wn(Ee - 1, Rt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1650
1650
|
}
|
|
1651
1651
|
function Gi(e) {
|
|
1652
|
-
for (; (ge =
|
|
1652
|
+
for (; (ge = Fe()) && ge < 33; )
|
|
1653
1653
|
Te();
|
|
1654
1654
|
return xn(e) > 2 || xn(ge) > 3 ? "" : " ";
|
|
1655
1655
|
}
|
|
1656
1656
|
function Ki(e, n) {
|
|
1657
1657
|
for (; --n && Te() && !(ge < 48 || ge > 102 || ge > 57 && ge < 65 || ge > 70 && ge < 97); )
|
|
1658
1658
|
;
|
|
1659
|
-
return wn(e, _n() + (n < 6 &&
|
|
1659
|
+
return wn(e, _n() + (n < 6 && Fe() == 32 && Te() == 32));
|
|
1660
1660
|
}
|
|
1661
1661
|
function Rt(e) {
|
|
1662
1662
|
for (; Te(); )
|
|
@@ -1678,30 +1678,30 @@ function Rt(e) {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
function Wi(e, n) {
|
|
1680
1680
|
for (; Te() && e + ge !== 57; )
|
|
1681
|
-
if (e + ge === 84 &&
|
|
1681
|
+
if (e + ge === 84 && Fe() === 47)
|
|
1682
1682
|
break;
|
|
1683
1683
|
return "/*" + wn(n, Ee - 1) + "*" + Yn(e === 47 ? e : Te());
|
|
1684
1684
|
}
|
|
1685
1685
|
function Vi(e) {
|
|
1686
|
-
for (; !xn(
|
|
1686
|
+
for (; !xn(Fe()); )
|
|
1687
1687
|
Te();
|
|
1688
1688
|
return wn(e, Ee);
|
|
1689
1689
|
}
|
|
1690
1690
|
function Yi(e) {
|
|
1691
|
-
return Qr(
|
|
1691
|
+
return Qr(Fn("", null, null, null, [""], e = Jr(e), 0, [0], e));
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function Fn(e, n, t, r, a, i, c, o, f) {
|
|
1694
1694
|
for (var d = 0, p = 0, g = c, m = 0, E = 0, v = 0, u = 1, A = 1, x = 1, M = 0, w = "", P = a, b = i, D = r, N = w; A; )
|
|
1695
1695
|
switch (v = M, M = Te()) {
|
|
1696
1696
|
case 40:
|
|
1697
1697
|
if (v != 108 && he(N, g - 1) == 58) {
|
|
1698
|
-
Tt(N += X(
|
|
1698
|
+
Tt(N += X($n(M), "&", "&\f"), "&\f") != -1 && (x = -1);
|
|
1699
1699
|
break;
|
|
1700
1700
|
}
|
|
1701
1701
|
case 34:
|
|
1702
1702
|
case 39:
|
|
1703
1703
|
case 91:
|
|
1704
|
-
N +=
|
|
1704
|
+
N += $n(M);
|
|
1705
1705
|
break;
|
|
1706
1706
|
case 9:
|
|
1707
1707
|
case 10:
|
|
@@ -1713,7 +1713,7 @@ function $n(e, n, t, r, a, i, c, o, f) {
|
|
|
1713
1713
|
N += Ki(_n() - 1, 7);
|
|
1714
1714
|
continue;
|
|
1715
1715
|
case 47:
|
|
1716
|
-
switch (
|
|
1716
|
+
switch (Fe()) {
|
|
1717
1717
|
case 42:
|
|
1718
1718
|
case 47:
|
|
1719
1719
|
kn(Hi(Wi(Te(), _n()), n, t), f);
|
|
@@ -1739,17 +1739,17 @@ function $n(e, n, t, r, a, i, c, o, f) {
|
|
|
1739
1739
|
default:
|
|
1740
1740
|
if (kn(D = sr(N, n, t, d, p, a, o, w, P = [], b = [], g), i), M === 123)
|
|
1741
1741
|
if (p === 0)
|
|
1742
|
-
|
|
1742
|
+
Fn(N, n, D, D, P, i, g, o, b);
|
|
1743
1743
|
else
|
|
1744
1744
|
switch (m === 99 && he(N, 3) === 110 ? 100 : m) {
|
|
1745
1745
|
case 100:
|
|
1746
1746
|
case 108:
|
|
1747
1747
|
case 109:
|
|
1748
1748
|
case 115:
|
|
1749
|
-
|
|
1749
|
+
Fn(e, D, D, r && kn(sr(e, D, D, 0, 0, a, o, w, a, P = [], g), b), a, b, g, o, r ? P : b);
|
|
1750
1750
|
break;
|
|
1751
1751
|
default:
|
|
1752
|
-
|
|
1752
|
+
Fn(N, D, D, D, [""], b, 0, o, b);
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
d = p = E = 0, u = x = 1, w = N = "", g = c;
|
|
@@ -1771,7 +1771,7 @@ function $n(e, n, t, r, a, i, c, o, f) {
|
|
|
1771
1771
|
o[d++] = (Ie(N) - 1) * x, x = 1;
|
|
1772
1772
|
break;
|
|
1773
1773
|
case 64:
|
|
1774
|
-
|
|
1774
|
+
Fe() === 45 && (N += $n(Te())), m = Fe(), p = g = Ie(w = N += Vi(_n())), M++;
|
|
1775
1775
|
break;
|
|
1776
1776
|
case 45:
|
|
1777
1777
|
v === 45 && Ie(N) == 2 && (u = 0);
|
|
@@ -1826,7 +1826,7 @@ function Xi(e) {
|
|
|
1826
1826
|
};
|
|
1827
1827
|
}
|
|
1828
1828
|
var qi = function(n, t, r) {
|
|
1829
|
-
for (var a = 0, i = 0; a = i, i =
|
|
1829
|
+
for (var a = 0, i = 0; a = i, i = Fe(), a === 38 && i === 12 && (t[r] = 1), !xn(i); )
|
|
1830
1830
|
Te();
|
|
1831
1831
|
return wn(n, Ee);
|
|
1832
1832
|
}, Ji = function(n, t) {
|
|
@@ -1834,14 +1834,14 @@ var qi = function(n, t, r) {
|
|
|
1834
1834
|
do
|
|
1835
1835
|
switch (xn(a)) {
|
|
1836
1836
|
case 0:
|
|
1837
|
-
a === 38 &&
|
|
1837
|
+
a === 38 && Fe() === 12 && (t[r] = 1), n[r] += qi(Ee - 1, t, r);
|
|
1838
1838
|
break;
|
|
1839
1839
|
case 2:
|
|
1840
|
-
n[r] +=
|
|
1840
|
+
n[r] += $n(a);
|
|
1841
1841
|
break;
|
|
1842
1842
|
case 4:
|
|
1843
1843
|
if (a === 44) {
|
|
1844
|
-
n[++r] =
|
|
1844
|
+
n[++r] = Fe() === 58 ? "&\f" : "", t[r] = n[r].length;
|
|
1845
1845
|
break;
|
|
1846
1846
|
}
|
|
1847
1847
|
default:
|
|
@@ -1873,7 +1873,7 @@ var qi = function(n, t, r) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
};
|
|
1875
1875
|
function ea(e, n) {
|
|
1876
|
-
switch (
|
|
1876
|
+
switch ($i(e, n)) {
|
|
1877
1877
|
case 5103:
|
|
1878
1878
|
return Z + "print-" + e + e;
|
|
1879
1879
|
case 5737:
|
|
@@ -1994,7 +1994,7 @@ var to = function(n, t, r, a) {
|
|
|
1994
1994
|
})], a);
|
|
1995
1995
|
case Dt:
|
|
1996
1996
|
if (n.length) return Ui(n.props, function(i) {
|
|
1997
|
-
switch (
|
|
1997
|
+
switch (Fi(i, /(::plac\w+|:read-\w+)/)) {
|
|
1998
1998
|
case ":read-only":
|
|
1999
1999
|
case ":read-write":
|
|
2000
2000
|
return on([hn(n, {
|
|
@@ -2778,7 +2778,7 @@ function jn({
|
|
|
2778
2778
|
}
|
|
2779
2779
|
);
|
|
2780
2780
|
}
|
|
2781
|
-
const
|
|
2781
|
+
const $o = Ne(Za)`
|
|
2782
2782
|
.MuiMenu-paper {
|
|
2783
2783
|
display: flex;
|
|
2784
2784
|
padding: 4px;
|
|
@@ -2789,13 +2789,14 @@ const Fo = Ne(Za)`
|
|
|
2789
2789
|
border: 1px solid var(--color-grey-40);
|
|
2790
2790
|
background: var(--color-white);
|
|
2791
2791
|
box-shadow: var(--shadow-lg);
|
|
2792
|
-
|
|
2792
|
+
width: ${({ width: e }) => e || "inherit"};;
|
|
2793
|
+
min-width: ${({ minWidth: e }) => e || "100px"};
|
|
2793
2794
|
.MuiMenu-list {
|
|
2794
2795
|
padding: 0;
|
|
2795
2796
|
width: 100%;
|
|
2796
2797
|
}
|
|
2797
2798
|
}
|
|
2798
|
-
`,
|
|
2799
|
+
`, Fo = Ne(Xa)`
|
|
2799
2800
|
display: flex;
|
|
2800
2801
|
padding: 4px 6px;
|
|
2801
2802
|
align-items: center;
|
|
@@ -2817,29 +2818,33 @@ function wu({
|
|
|
2817
2818
|
items: e,
|
|
2818
2819
|
anchorEl: n,
|
|
2819
2820
|
handleClose: t,
|
|
2820
|
-
onClick: r
|
|
2821
|
+
onClick: r,
|
|
2822
|
+
minWidth: a,
|
|
2823
|
+
width: i
|
|
2821
2824
|
}) {
|
|
2822
2825
|
return /* @__PURE__ */ y.jsx(
|
|
2823
|
-
|
|
2826
|
+
$o,
|
|
2824
2827
|
{
|
|
2825
2828
|
anchorEl: n,
|
|
2826
2829
|
keepMounted: !0,
|
|
2827
2830
|
open: !!n,
|
|
2828
2831
|
onClose: t,
|
|
2829
2832
|
"data-no-dnd": "true",
|
|
2830
|
-
|
|
2833
|
+
minWidth: a,
|
|
2834
|
+
width: i,
|
|
2835
|
+
children: e.map(({ title: c, value: o, disabled: f, divider: d, onClickItem: p }, g) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
2831
2836
|
/* @__PURE__ */ y.jsx(
|
|
2832
|
-
|
|
2837
|
+
Fo,
|
|
2833
2838
|
{
|
|
2834
2839
|
className: "menu-item",
|
|
2835
|
-
onClick: (
|
|
2836
|
-
disabled:
|
|
2840
|
+
onClick: (m) => p ? p(m, o) : r == null ? void 0 : r(m, o),
|
|
2841
|
+
disabled: f,
|
|
2837
2842
|
"data-no-dnd": "true",
|
|
2838
|
-
children:
|
|
2843
|
+
children: c
|
|
2839
2844
|
},
|
|
2840
|
-
|
|
2845
|
+
g
|
|
2841
2846
|
),
|
|
2842
|
-
|
|
2847
|
+
d && /* @__PURE__ */ y.jsx(qa, {})
|
|
2843
2848
|
] }))
|
|
2844
2849
|
}
|
|
2845
2850
|
);
|
|
@@ -3167,7 +3172,7 @@ function Nn(e, n, t) {
|
|
|
3167
3172
|
return e;
|
|
3168
3173
|
}
|
|
3169
3174
|
}
|
|
3170
|
-
function
|
|
3175
|
+
function $t(e, n) {
|
|
3171
3176
|
if (e = Ve(e), n = _t(n), e.type.includes("hsl"))
|
|
3172
3177
|
e.values[2] *= 1 - n;
|
|
3173
3178
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
@@ -3177,12 +3182,12 @@ function Ft(e, n) {
|
|
|
3177
3182
|
}
|
|
3178
3183
|
function ae(e, n, t) {
|
|
3179
3184
|
try {
|
|
3180
|
-
return
|
|
3185
|
+
return $t(e, n);
|
|
3181
3186
|
} catch {
|
|
3182
3187
|
return e;
|
|
3183
3188
|
}
|
|
3184
3189
|
}
|
|
3185
|
-
function
|
|
3190
|
+
function Ft(e, n) {
|
|
3186
3191
|
if (e = Ve(e), n = _t(n), e.type.includes("hsl"))
|
|
3187
3192
|
e.values[2] += (100 - e.values[2]) * n;
|
|
3188
3193
|
else if (e.type.includes("rgb"))
|
|
@@ -3195,13 +3200,13 @@ function $t(e, n) {
|
|
|
3195
3200
|
}
|
|
3196
3201
|
function ie(e, n, t) {
|
|
3197
3202
|
try {
|
|
3198
|
-
return
|
|
3203
|
+
return Ft(e, n);
|
|
3199
3204
|
} catch {
|
|
3200
3205
|
return e;
|
|
3201
3206
|
}
|
|
3202
3207
|
}
|
|
3203
3208
|
function zo(e, n = 0.15) {
|
|
3204
|
-
return Pt(e) > 0.5 ?
|
|
3209
|
+
return Pt(e) > 0.5 ? $t(e, n) : Ft(e, n);
|
|
3205
3210
|
}
|
|
3206
3211
|
function Dn(e, n, t) {
|
|
3207
3212
|
try {
|
|
@@ -3391,7 +3396,7 @@ function sa() {
|
|
|
3391
3396
|
const vr = sa();
|
|
3392
3397
|
function br(e, n, t, r) {
|
|
3393
3398
|
const a = r.light || r, i = r.dark || r * 1.5;
|
|
3394
|
-
e[n] || (e.hasOwnProperty(t) ? e[n] = e[t] : n === "light" ? e.light =
|
|
3399
|
+
e[n] || (e.hasOwnProperty(t) ? e[n] = e[t] : n === "light" ? e.light = Ft(e.main, a) : n === "dark" && (e.dark = $t(e.main, i)));
|
|
3395
3400
|
}
|
|
3396
3401
|
function qo(e = "light") {
|
|
3397
3402
|
return e === "dark" ? {
|
|
@@ -3710,10 +3715,10 @@ function as() {
|
|
|
3710
3715
|
function V(T) {
|
|
3711
3716
|
return P(T) === r;
|
|
3712
3717
|
}
|
|
3713
|
-
function
|
|
3718
|
+
function $(T) {
|
|
3714
3719
|
return P(T) === v;
|
|
3715
3720
|
}
|
|
3716
|
-
function
|
|
3721
|
+
function F(T) {
|
|
3717
3722
|
return P(T) === E;
|
|
3718
3723
|
}
|
|
3719
3724
|
function G(T) {
|
|
@@ -3728,7 +3733,7 @@ function as() {
|
|
|
3728
3733
|
function ve(T) {
|
|
3729
3734
|
return P(T) === g;
|
|
3730
3735
|
}
|
|
3731
|
-
Q.AsyncMode = b, Q.ConcurrentMode = D, Q.ContextConsumer = N, Q.ContextProvider = le, Q.Element = z, Q.ForwardRef = s, Q.Fragment = k, Q.Lazy = U, Q.Memo = I, Q.Portal = te, Q.Profiler = oe, Q.StrictMode = me, Q.Suspense = ye, Q.isAsyncMode = Ue, Q.isConcurrentMode = C, Q.isContextConsumer = O, Q.isContextProvider = j, Q.isElement = L, Q.isForwardRef = _, Q.isFragment = V, Q.isLazy =
|
|
3736
|
+
Q.AsyncMode = b, Q.ConcurrentMode = D, Q.ContextConsumer = N, Q.ContextProvider = le, Q.Element = z, Q.ForwardRef = s, Q.Fragment = k, Q.Lazy = U, Q.Memo = I, Q.Portal = te, Q.Profiler = oe, Q.StrictMode = me, Q.Suspense = ye, Q.isAsyncMode = Ue, Q.isConcurrentMode = C, Q.isContextConsumer = O, Q.isContextProvider = j, Q.isElement = L, Q.isForwardRef = _, Q.isFragment = V, Q.isLazy = $, Q.isMemo = F, Q.isPortal = G, Q.isProfiler = H, Q.isStrictMode = K, Q.isSuspense = ve, Q.isValidElementType = w, Q.typeOf = P;
|
|
3732
3737
|
}()), Q;
|
|
3733
3738
|
}
|
|
3734
3739
|
var Er;
|
|
@@ -3901,33 +3906,33 @@ function ss() {
|
|
|
3901
3906
|
function A(C) {
|
|
3902
3907
|
if (process.env.NODE_ENV !== "production")
|
|
3903
3908
|
var O = {}, j = 0;
|
|
3904
|
-
function L(V, F,
|
|
3905
|
-
if (G = G || m, K = K ||
|
|
3909
|
+
function L(V, $, F, G, H, K, ve) {
|
|
3910
|
+
if (G = G || m, K = K || F, ve !== t) {
|
|
3906
3911
|
if (f) {
|
|
3907
3912
|
var T = new Error(
|
|
3908
3913
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
3909
3914
|
);
|
|
3910
3915
|
throw T.name = "Invariant Violation", T;
|
|
3911
3916
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
3912
|
-
var we = G + ":" +
|
|
3917
|
+
var we = G + ":" + F;
|
|
3913
3918
|
!O[we] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
3914
3919
|
j < 3 && (i(
|
|
3915
3920
|
"You are manually calling a React.PropTypes validation function for the `" + K + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
3916
3921
|
), O[we] = !0, j++);
|
|
3917
3922
|
}
|
|
3918
3923
|
}
|
|
3919
|
-
return F
|
|
3924
|
+
return $[F] == null ? V ? $[F] === null ? new u("The " + H + " `" + K + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new u("The " + H + " `" + K + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : C($, F, G, H, K);
|
|
3920
3925
|
}
|
|
3921
3926
|
var _ = L.bind(null, !1);
|
|
3922
3927
|
return _.isRequired = L.bind(null, !0), _;
|
|
3923
3928
|
}
|
|
3924
3929
|
function x(C) {
|
|
3925
|
-
function O(j, L, _, V, F
|
|
3930
|
+
function O(j, L, _, V, $, F) {
|
|
3926
3931
|
var G = j[L], H = me(G);
|
|
3927
3932
|
if (H !== C) {
|
|
3928
3933
|
var K = ye(G);
|
|
3929
3934
|
return new u(
|
|
3930
|
-
"Invalid " + V + " `" +
|
|
3935
|
+
"Invalid " + V + " `" + $ + "` of type " + ("`" + K + "` supplied to `" + _ + "`, expected ") + ("`" + C + "`."),
|
|
3931
3936
|
{ expectedType: C }
|
|
3932
3937
|
);
|
|
3933
3938
|
}
|
|
@@ -3939,16 +3944,16 @@ function ss() {
|
|
|
3939
3944
|
return A(c);
|
|
3940
3945
|
}
|
|
3941
3946
|
function w(C) {
|
|
3942
|
-
function O(j, L, _, V,
|
|
3947
|
+
function O(j, L, _, V, $) {
|
|
3943
3948
|
if (typeof C != "function")
|
|
3944
|
-
return new u("Property `" +
|
|
3945
|
-
var
|
|
3946
|
-
if (!Array.isArray(
|
|
3947
|
-
var G = me(
|
|
3948
|
-
return new u("Invalid " + V + " `" +
|
|
3949
|
+
return new u("Property `" + $ + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
3950
|
+
var F = j[L];
|
|
3951
|
+
if (!Array.isArray(F)) {
|
|
3952
|
+
var G = me(F);
|
|
3953
|
+
return new u("Invalid " + V + " `" + $ + "` of type " + ("`" + G + "` supplied to `" + _ + "`, expected an array."));
|
|
3949
3954
|
}
|
|
3950
|
-
for (var H = 0; H <
|
|
3951
|
-
var K = C(
|
|
3955
|
+
for (var H = 0; H < F.length; H++) {
|
|
3956
|
+
var K = C(F, H, _, V, $ + "[" + H + "]", t);
|
|
3952
3957
|
if (K instanceof Error)
|
|
3953
3958
|
return K;
|
|
3954
3959
|
}
|
|
@@ -3958,10 +3963,10 @@ function ss() {
|
|
|
3958
3963
|
}
|
|
3959
3964
|
function P() {
|
|
3960
3965
|
function C(O, j, L, _, V) {
|
|
3961
|
-
var
|
|
3962
|
-
if (!o(
|
|
3963
|
-
var
|
|
3964
|
-
return new u("Invalid " + _ + " `" + V + "` of type " + ("`" +
|
|
3966
|
+
var $ = O[j];
|
|
3967
|
+
if (!o($)) {
|
|
3968
|
+
var F = me($);
|
|
3969
|
+
return new u("Invalid " + _ + " `" + V + "` of type " + ("`" + F + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
3965
3970
|
}
|
|
3966
3971
|
return null;
|
|
3967
3972
|
}
|
|
@@ -3969,20 +3974,20 @@ function ss() {
|
|
|
3969
3974
|
}
|
|
3970
3975
|
function b() {
|
|
3971
3976
|
function C(O, j, L, _, V) {
|
|
3972
|
-
var
|
|
3973
|
-
if (!e.isValidElementType(
|
|
3974
|
-
var
|
|
3975
|
-
return new u("Invalid " + _ + " `" + V + "` of type " + ("`" +
|
|
3977
|
+
var $ = O[j];
|
|
3978
|
+
if (!e.isValidElementType($)) {
|
|
3979
|
+
var F = me($);
|
|
3980
|
+
return new u("Invalid " + _ + " `" + V + "` of type " + ("`" + F + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
3976
3981
|
}
|
|
3977
3982
|
return null;
|
|
3978
3983
|
}
|
|
3979
3984
|
return A(C);
|
|
3980
3985
|
}
|
|
3981
3986
|
function D(C) {
|
|
3982
|
-
function O(j, L, _, V,
|
|
3987
|
+
function O(j, L, _, V, $) {
|
|
3983
3988
|
if (!(j[L] instanceof C)) {
|
|
3984
|
-
var
|
|
3985
|
-
return new u("Invalid " + V + " `" +
|
|
3989
|
+
var F = C.name || m, G = Ue(j[L]);
|
|
3990
|
+
return new u("Invalid " + V + " `" + $ + "` of type " + ("`" + G + "` supplied to `" + _ + "`, expected ") + ("instance of `" + F + "`."));
|
|
3986
3991
|
}
|
|
3987
3992
|
return null;
|
|
3988
3993
|
}
|
|
@@ -3993,28 +3998,28 @@ function ss() {
|
|
|
3993
3998
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
3994
3999
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
3995
4000
|
) : i("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
3996
|
-
function O(j, L, _, V,
|
|
3997
|
-
for (var
|
|
3998
|
-
if (v(
|
|
4001
|
+
function O(j, L, _, V, $) {
|
|
4002
|
+
for (var F = j[L], G = 0; G < C.length; G++)
|
|
4003
|
+
if (v(F, C[G]))
|
|
3999
4004
|
return null;
|
|
4000
4005
|
var H = JSON.stringify(C, function(ve, T) {
|
|
4001
4006
|
var we = ye(T);
|
|
4002
4007
|
return we === "symbol" ? String(T) : T;
|
|
4003
4008
|
});
|
|
4004
|
-
return new u("Invalid " + V + " `" +
|
|
4009
|
+
return new u("Invalid " + V + " `" + $ + "` of value `" + String(F) + "` " + ("supplied to `" + _ + "`, expected one of " + H + "."));
|
|
4005
4010
|
}
|
|
4006
4011
|
return A(O);
|
|
4007
4012
|
}
|
|
4008
4013
|
function le(C) {
|
|
4009
|
-
function O(j, L, _, V,
|
|
4014
|
+
function O(j, L, _, V, $) {
|
|
4010
4015
|
if (typeof C != "function")
|
|
4011
|
-
return new u("Property `" +
|
|
4012
|
-
var
|
|
4016
|
+
return new u("Property `" + $ + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
4017
|
+
var F = j[L], G = me(F);
|
|
4013
4018
|
if (G !== "object")
|
|
4014
|
-
return new u("Invalid " + V + " `" +
|
|
4015
|
-
for (var H in
|
|
4016
|
-
if (r(
|
|
4017
|
-
var K = C(
|
|
4019
|
+
return new u("Invalid " + V + " `" + $ + "` of type " + ("`" + G + "` supplied to `" + _ + "`, expected an object."));
|
|
4020
|
+
for (var H in F)
|
|
4021
|
+
if (r(F, H)) {
|
|
4022
|
+
var K = C(F, H, _, V, $ + "." + H, t);
|
|
4018
4023
|
if (K instanceof Error)
|
|
4019
4024
|
return K;
|
|
4020
4025
|
}
|
|
@@ -4032,15 +4037,15 @@ function ss() {
|
|
|
4032
4037
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + De(j) + " at index " + O + "."
|
|
4033
4038
|
), c;
|
|
4034
4039
|
}
|
|
4035
|
-
function L(_, V, F,
|
|
4040
|
+
function L(_, V, $, F, G) {
|
|
4036
4041
|
for (var H = [], K = 0; K < C.length; K++) {
|
|
4037
|
-
var ve = C[K], T = ve(_, V, F,
|
|
4042
|
+
var ve = C[K], T = ve(_, V, $, F, G, t);
|
|
4038
4043
|
if (T == null)
|
|
4039
4044
|
return null;
|
|
4040
4045
|
T.data && r(T.data, "expectedType") && H.push(T.data.expectedType);
|
|
4041
4046
|
}
|
|
4042
4047
|
var we = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
4043
|
-
return new u("Invalid " +
|
|
4048
|
+
return new u("Invalid " + F + " `" + G + "` supplied to " + ("`" + $ + "`" + we + "."));
|
|
4044
4049
|
}
|
|
4045
4050
|
return A(L);
|
|
4046
4051
|
}
|
|
@@ -4056,15 +4061,15 @@ function ss() {
|
|
|
4056
4061
|
);
|
|
4057
4062
|
}
|
|
4058
4063
|
function U(C) {
|
|
4059
|
-
function O(j, L, _, V,
|
|
4060
|
-
var
|
|
4064
|
+
function O(j, L, _, V, $) {
|
|
4065
|
+
var F = j[L], G = me(F);
|
|
4061
4066
|
if (G !== "object")
|
|
4062
|
-
return new u("Invalid " + V + " `" +
|
|
4067
|
+
return new u("Invalid " + V + " `" + $ + "` of type `" + G + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
4063
4068
|
for (var H in C) {
|
|
4064
4069
|
var K = C[H];
|
|
4065
4070
|
if (typeof K != "function")
|
|
4066
|
-
return k(_, V,
|
|
4067
|
-
var ve = K(
|
|
4071
|
+
return k(_, V, $, H, ye(K));
|
|
4072
|
+
var ve = K(F, H, _, V, $ + "." + H, t);
|
|
4068
4073
|
if (ve)
|
|
4069
4074
|
return ve;
|
|
4070
4075
|
}
|
|
@@ -4073,21 +4078,21 @@ function ss() {
|
|
|
4073
4078
|
return A(O);
|
|
4074
4079
|
}
|
|
4075
4080
|
function I(C) {
|
|
4076
|
-
function O(j, L, _, V,
|
|
4077
|
-
var
|
|
4081
|
+
function O(j, L, _, V, $) {
|
|
4082
|
+
var F = j[L], G = me(F);
|
|
4078
4083
|
if (G !== "object")
|
|
4079
|
-
return new u("Invalid " + V + " `" +
|
|
4084
|
+
return new u("Invalid " + V + " `" + $ + "` of type `" + G + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
4080
4085
|
var H = n({}, j[L], C);
|
|
4081
4086
|
for (var K in H) {
|
|
4082
4087
|
var ve = C[K];
|
|
4083
4088
|
if (r(C, K) && typeof ve != "function")
|
|
4084
|
-
return k(_, V,
|
|
4089
|
+
return k(_, V, $, K, ye(ve));
|
|
4085
4090
|
if (!ve)
|
|
4086
4091
|
return new u(
|
|
4087
|
-
"Invalid " + V + " `" +
|
|
4092
|
+
"Invalid " + V + " `" + $ + "` key `" + K + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(j[L], null, " ") + `
|
|
4088
4093
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
4089
4094
|
);
|
|
4090
|
-
var T = ve(
|
|
4095
|
+
var T = ve(F, K, _, V, $ + "." + K, t);
|
|
4091
4096
|
if (T)
|
|
4092
4097
|
return T;
|
|
4093
4098
|
}
|
|
@@ -4530,7 +4535,7 @@ function Me(e, n) {
|
|
|
4530
4535
|
transform: n
|
|
4531
4536
|
});
|
|
4532
4537
|
}
|
|
4533
|
-
const ks = Me("border", Oe), Ns = Me("borderTop", Oe), Ds = Me("borderRight", Oe), Bs = Me("borderBottom", Oe), Is = Me("borderLeft", Oe), _s = Me("borderColor"),
|
|
4538
|
+
const ks = Me("border", Oe), Ns = Me("borderTop", Oe), Ds = Me("borderRight", Oe), Bs = Me("borderBottom", Oe), Is = Me("borderLeft", Oe), _s = Me("borderColor"), $s = Me("borderTopColor"), Fs = Me("borderRightColor"), Us = Me("borderBottomColor"), Ls = Me("borderLeftColor"), js = Me("outline", Oe), Gs = Me("outlineColor"), nt = (e) => {
|
|
4534
4539
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
4535
4540
|
const n = Pn(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (r) => ({
|
|
4536
4541
|
borderRadius: On(n, r)
|
|
@@ -4543,7 +4548,7 @@ nt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
4543
4548
|
borderRadius: Ye
|
|
4544
4549
|
} : {};
|
|
4545
4550
|
nt.filterProps = ["borderRadius"];
|
|
4546
|
-
et(ks, Ns, Ds, Bs, Is, _s,
|
|
4551
|
+
et(ks, Ns, Ds, Bs, Is, _s, $s, Fs, Us, Ls, nt, js, Gs);
|
|
4547
4552
|
const tt = (e) => {
|
|
4548
4553
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
4549
4554
|
const n = Pn(e.theme, "spacing", 8, "gap"), t = (r) => ({
|
|
@@ -5276,10 +5281,10 @@ function yc(e) {
|
|
|
5276
5281
|
}
|
|
5277
5282
|
const _r = {
|
|
5278
5283
|
textTransform: "uppercase"
|
|
5279
|
-
},
|
|
5284
|
+
}, $r = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
5280
5285
|
function vc(e, n) {
|
|
5281
5286
|
const {
|
|
5282
|
-
fontFamily: t =
|
|
5287
|
+
fontFamily: t = $r,
|
|
5283
5288
|
// The default font size of the Material Specification.
|
|
5284
5289
|
fontSize: r = 14,
|
|
5285
5290
|
// px
|
|
@@ -5304,7 +5309,7 @@ function vc(e, n) {
|
|
|
5304
5309
|
lineHeight: M,
|
|
5305
5310
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5306
5311
|
// across font-families can cause issues with the kerning.
|
|
5307
|
-
...t ===
|
|
5312
|
+
...t === $r ? {
|
|
5308
5313
|
letterSpacing: `${yc(w / x)}em`
|
|
5309
5314
|
} : {},
|
|
5310
5315
|
...P,
|
|
@@ -5374,7 +5379,7 @@ const Ec = ["none", se(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), se(0, 3, 1, -2, 0,
|
|
|
5374
5379
|
// recommended when something is leaving screen
|
|
5375
5380
|
leavingScreen: 195
|
|
5376
5381
|
};
|
|
5377
|
-
function
|
|
5382
|
+
function Fr(e) {
|
|
5378
5383
|
return `${Math.round(e)}ms`;
|
|
5379
5384
|
}
|
|
5380
5385
|
function Tc(e) {
|
|
@@ -5405,7 +5410,7 @@ function Rc(e) {
|
|
|
5405
5410
|
!p(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !g(c) && !p(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), p(o) || console.error('MUI: Argument "easing" must be a string.'), !g(f) && !p(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
5406
5411
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
5407
5412
|
}
|
|
5408
|
-
return (Array.isArray(a) ? a : [a]).map((p) => `${p} ${typeof c == "string" ? c :
|
|
5413
|
+
return (Array.isArray(a) ? a : [a]).map((p) => `${p} ${typeof c == "string" ? c : Fr(c)} ${o} ${typeof f == "string" ? f : Fr(f)}`).join(",");
|
|
5409
5414
|
},
|
|
5410
5415
|
...e,
|
|
5411
5416
|
easing: n,
|
|
@@ -5614,7 +5619,7 @@ const Be = (e) => {
|
|
|
5614
5619
|
return e();
|
|
5615
5620
|
} catch {
|
|
5616
5621
|
}
|
|
5617
|
-
},
|
|
5622
|
+
}, $c = (e = "mui") => ii(e);
|
|
5618
5623
|
function St(e, n, t, r) {
|
|
5619
5624
|
if (!n)
|
|
5620
5625
|
return;
|
|
@@ -5650,7 +5655,7 @@ function St(e, n, t, r) {
|
|
|
5650
5655
|
overlays: (n == null ? void 0 : n.overlays) || ma(a)
|
|
5651
5656
|
}, c;
|
|
5652
5657
|
}
|
|
5653
|
-
function
|
|
5658
|
+
function Fc(e = {}, ...n) {
|
|
5654
5659
|
const {
|
|
5655
5660
|
colorSchemes: t = {
|
|
5656
5661
|
light: !0
|
|
@@ -5662,7 +5667,7 @@ function $c(e = {}, ...n) {
|
|
|
5662
5667
|
colorSchemeSelector: o = t.light && t.dark ? "media" : void 0,
|
|
5663
5668
|
rootSelector: f = ":root",
|
|
5664
5669
|
...d
|
|
5665
|
-
} = e, p = Object.keys(t)[0], g = r || (t.light && p !== "light" ? "light" : p), m =
|
|
5670
|
+
} = e, p = Object.keys(t)[0], g = r || (t.light && p !== "light" ? "light" : p), m = $c(i), {
|
|
5666
5671
|
[g]: E,
|
|
5667
5672
|
light: v,
|
|
5668
5673
|
dark: u,
|
|
@@ -5780,7 +5785,7 @@ function Uc(e = {}, ...n) {
|
|
|
5780
5785
|
palette: g.palette
|
|
5781
5786
|
}, Ur(g, "light", d.light)), g;
|
|
5782
5787
|
}
|
|
5783
|
-
return !t && !("light" in d) && o === "light" && (d.light = !0),
|
|
5788
|
+
return !t && !("light" in d) && o === "light" && (d.light = !0), Fc({
|
|
5784
5789
|
...c,
|
|
5785
5790
|
colorSchemes: d,
|
|
5786
5791
|
defaultColorScheme: o,
|
|
@@ -6230,7 +6235,7 @@ export {
|
|
|
6230
6235
|
Tu as Tag,
|
|
6231
6236
|
Ru as Tooltip,
|
|
6232
6237
|
Eu as Transitioner,
|
|
6233
|
-
|
|
6238
|
+
$e as TypographyCustom,
|
|
6234
6239
|
Nu as isTextLarge,
|
|
6235
6240
|
ku as textShortner
|
|
6236
6241
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/ui-systems",
|
|
3
3
|
"description": "this package contains all ui components like button, input, checkbox, colors that blinq.io needs",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.79",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|