@dev-blinq/ui-systems 1.0.77 → 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.
package/dist/colors.css
CHANGED
|
@@ -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,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,27 +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",
|
|
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: [
|
|
2830
2836
|
/* @__PURE__ */ y.jsx(
|
|
2831
|
-
|
|
2837
|
+
Fo,
|
|
2832
2838
|
{
|
|
2833
2839
|
className: "menu-item",
|
|
2834
|
-
onClick: (
|
|
2835
|
-
disabled:
|
|
2836
|
-
|
|
2840
|
+
onClick: (m) => p ? p(m, o) : r == null ? void 0 : r(m, o),
|
|
2841
|
+
disabled: f,
|
|
2842
|
+
"data-no-dnd": "true",
|
|
2843
|
+
children: c
|
|
2837
2844
|
},
|
|
2838
|
-
|
|
2845
|
+
g
|
|
2839
2846
|
),
|
|
2840
|
-
|
|
2847
|
+
d && /* @__PURE__ */ y.jsx(qa, {})
|
|
2841
2848
|
] }))
|
|
2842
2849
|
}
|
|
2843
2850
|
);
|
|
@@ -3165,7 +3172,7 @@ function Nn(e, n, t) {
|
|
|
3165
3172
|
return e;
|
|
3166
3173
|
}
|
|
3167
3174
|
}
|
|
3168
|
-
function
|
|
3175
|
+
function $t(e, n) {
|
|
3169
3176
|
if (e = Ve(e), n = _t(n), e.type.includes("hsl"))
|
|
3170
3177
|
e.values[2] *= 1 - n;
|
|
3171
3178
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
@@ -3175,12 +3182,12 @@ function Ft(e, n) {
|
|
|
3175
3182
|
}
|
|
3176
3183
|
function ae(e, n, t) {
|
|
3177
3184
|
try {
|
|
3178
|
-
return
|
|
3185
|
+
return $t(e, n);
|
|
3179
3186
|
} catch {
|
|
3180
3187
|
return e;
|
|
3181
3188
|
}
|
|
3182
3189
|
}
|
|
3183
|
-
function
|
|
3190
|
+
function Ft(e, n) {
|
|
3184
3191
|
if (e = Ve(e), n = _t(n), e.type.includes("hsl"))
|
|
3185
3192
|
e.values[2] += (100 - e.values[2]) * n;
|
|
3186
3193
|
else if (e.type.includes("rgb"))
|
|
@@ -3193,13 +3200,13 @@ function $t(e, n) {
|
|
|
3193
3200
|
}
|
|
3194
3201
|
function ie(e, n, t) {
|
|
3195
3202
|
try {
|
|
3196
|
-
return
|
|
3203
|
+
return Ft(e, n);
|
|
3197
3204
|
} catch {
|
|
3198
3205
|
return e;
|
|
3199
3206
|
}
|
|
3200
3207
|
}
|
|
3201
3208
|
function zo(e, n = 0.15) {
|
|
3202
|
-
return Pt(e) > 0.5 ?
|
|
3209
|
+
return Pt(e) > 0.5 ? $t(e, n) : Ft(e, n);
|
|
3203
3210
|
}
|
|
3204
3211
|
function Dn(e, n, t) {
|
|
3205
3212
|
try {
|
|
@@ -3389,7 +3396,7 @@ function sa() {
|
|
|
3389
3396
|
const vr = sa();
|
|
3390
3397
|
function br(e, n, t, r) {
|
|
3391
3398
|
const a = r.light || r, i = r.dark || r * 1.5;
|
|
3392
|
-
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)));
|
|
3393
3400
|
}
|
|
3394
3401
|
function qo(e = "light") {
|
|
3395
3402
|
return e === "dark" ? {
|
|
@@ -3708,10 +3715,10 @@ function as() {
|
|
|
3708
3715
|
function V(T) {
|
|
3709
3716
|
return P(T) === r;
|
|
3710
3717
|
}
|
|
3711
|
-
function
|
|
3718
|
+
function $(T) {
|
|
3712
3719
|
return P(T) === v;
|
|
3713
3720
|
}
|
|
3714
|
-
function
|
|
3721
|
+
function F(T) {
|
|
3715
3722
|
return P(T) === E;
|
|
3716
3723
|
}
|
|
3717
3724
|
function G(T) {
|
|
@@ -3726,7 +3733,7 @@ function as() {
|
|
|
3726
3733
|
function ve(T) {
|
|
3727
3734
|
return P(T) === g;
|
|
3728
3735
|
}
|
|
3729
|
-
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;
|
|
3730
3737
|
}()), Q;
|
|
3731
3738
|
}
|
|
3732
3739
|
var Er;
|
|
@@ -3899,33 +3906,33 @@ function ss() {
|
|
|
3899
3906
|
function A(C) {
|
|
3900
3907
|
if (process.env.NODE_ENV !== "production")
|
|
3901
3908
|
var O = {}, j = 0;
|
|
3902
|
-
function L(V, F,
|
|
3903
|
-
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) {
|
|
3904
3911
|
if (f) {
|
|
3905
3912
|
var T = new Error(
|
|
3906
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"
|
|
3907
3914
|
);
|
|
3908
3915
|
throw T.name = "Invariant Violation", T;
|
|
3909
3916
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
3910
|
-
var we = G + ":" +
|
|
3917
|
+
var we = G + ":" + F;
|
|
3911
3918
|
!O[we] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
3912
3919
|
j < 3 && (i(
|
|
3913
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."
|
|
3914
3921
|
), O[we] = !0, j++);
|
|
3915
3922
|
}
|
|
3916
3923
|
}
|
|
3917
|
-
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);
|
|
3918
3925
|
}
|
|
3919
3926
|
var _ = L.bind(null, !1);
|
|
3920
3927
|
return _.isRequired = L.bind(null, !0), _;
|
|
3921
3928
|
}
|
|
3922
3929
|
function x(C) {
|
|
3923
|
-
function O(j, L, _, V, F
|
|
3930
|
+
function O(j, L, _, V, $, F) {
|
|
3924
3931
|
var G = j[L], H = me(G);
|
|
3925
3932
|
if (H !== C) {
|
|
3926
3933
|
var K = ye(G);
|
|
3927
3934
|
return new u(
|
|
3928
|
-
"Invalid " + V + " `" +
|
|
3935
|
+
"Invalid " + V + " `" + $ + "` of type " + ("`" + K + "` supplied to `" + _ + "`, expected ") + ("`" + C + "`."),
|
|
3929
3936
|
{ expectedType: C }
|
|
3930
3937
|
);
|
|
3931
3938
|
}
|
|
@@ -3937,16 +3944,16 @@ function ss() {
|
|
|
3937
3944
|
return A(c);
|
|
3938
3945
|
}
|
|
3939
3946
|
function w(C) {
|
|
3940
|
-
function O(j, L, _, V,
|
|
3947
|
+
function O(j, L, _, V, $) {
|
|
3941
3948
|
if (typeof C != "function")
|
|
3942
|
-
return new u("Property `" +
|
|
3943
|
-
var
|
|
3944
|
-
if (!Array.isArray(
|
|
3945
|
-
var G = me(
|
|
3946
|
-
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."));
|
|
3947
3954
|
}
|
|
3948
|
-
for (var H = 0; H <
|
|
3949
|
-
var K = C(
|
|
3955
|
+
for (var H = 0; H < F.length; H++) {
|
|
3956
|
+
var K = C(F, H, _, V, $ + "[" + H + "]", t);
|
|
3950
3957
|
if (K instanceof Error)
|
|
3951
3958
|
return K;
|
|
3952
3959
|
}
|
|
@@ -3956,10 +3963,10 @@ function ss() {
|
|
|
3956
3963
|
}
|
|
3957
3964
|
function P() {
|
|
3958
3965
|
function C(O, j, L, _, V) {
|
|
3959
|
-
var
|
|
3960
|
-
if (!o(
|
|
3961
|
-
var
|
|
3962
|
-
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."));
|
|
3963
3970
|
}
|
|
3964
3971
|
return null;
|
|
3965
3972
|
}
|
|
@@ -3967,20 +3974,20 @@ function ss() {
|
|
|
3967
3974
|
}
|
|
3968
3975
|
function b() {
|
|
3969
3976
|
function C(O, j, L, _, V) {
|
|
3970
|
-
var
|
|
3971
|
-
if (!e.isValidElementType(
|
|
3972
|
-
var
|
|
3973
|
-
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."));
|
|
3974
3981
|
}
|
|
3975
3982
|
return null;
|
|
3976
3983
|
}
|
|
3977
3984
|
return A(C);
|
|
3978
3985
|
}
|
|
3979
3986
|
function D(C) {
|
|
3980
|
-
function O(j, L, _, V,
|
|
3987
|
+
function O(j, L, _, V, $) {
|
|
3981
3988
|
if (!(j[L] instanceof C)) {
|
|
3982
|
-
var
|
|
3983
|
-
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 + "`."));
|
|
3984
3991
|
}
|
|
3985
3992
|
return null;
|
|
3986
3993
|
}
|
|
@@ -3991,28 +3998,28 @@ function ss() {
|
|
|
3991
3998
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
3992
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])."
|
|
3993
4000
|
) : i("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
3994
|
-
function O(j, L, _, V,
|
|
3995
|
-
for (var
|
|
3996
|
-
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]))
|
|
3997
4004
|
return null;
|
|
3998
4005
|
var H = JSON.stringify(C, function(ve, T) {
|
|
3999
4006
|
var we = ye(T);
|
|
4000
4007
|
return we === "symbol" ? String(T) : T;
|
|
4001
4008
|
});
|
|
4002
|
-
return new u("Invalid " + V + " `" +
|
|
4009
|
+
return new u("Invalid " + V + " `" + $ + "` of value `" + String(F) + "` " + ("supplied to `" + _ + "`, expected one of " + H + "."));
|
|
4003
4010
|
}
|
|
4004
4011
|
return A(O);
|
|
4005
4012
|
}
|
|
4006
4013
|
function le(C) {
|
|
4007
|
-
function O(j, L, _, V,
|
|
4014
|
+
function O(j, L, _, V, $) {
|
|
4008
4015
|
if (typeof C != "function")
|
|
4009
|
-
return new u("Property `" +
|
|
4010
|
-
var
|
|
4016
|
+
return new u("Property `" + $ + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
4017
|
+
var F = j[L], G = me(F);
|
|
4011
4018
|
if (G !== "object")
|
|
4012
|
-
return new u("Invalid " + V + " `" +
|
|
4013
|
-
for (var H in
|
|
4014
|
-
if (r(
|
|
4015
|
-
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);
|
|
4016
4023
|
if (K instanceof Error)
|
|
4017
4024
|
return K;
|
|
4018
4025
|
}
|
|
@@ -4030,15 +4037,15 @@ function ss() {
|
|
|
4030
4037
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + De(j) + " at index " + O + "."
|
|
4031
4038
|
), c;
|
|
4032
4039
|
}
|
|
4033
|
-
function L(_, V, F,
|
|
4040
|
+
function L(_, V, $, F, G) {
|
|
4034
4041
|
for (var H = [], K = 0; K < C.length; K++) {
|
|
4035
|
-
var ve = C[K], T = ve(_, V, F,
|
|
4042
|
+
var ve = C[K], T = ve(_, V, $, F, G, t);
|
|
4036
4043
|
if (T == null)
|
|
4037
4044
|
return null;
|
|
4038
4045
|
T.data && r(T.data, "expectedType") && H.push(T.data.expectedType);
|
|
4039
4046
|
}
|
|
4040
4047
|
var we = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
4041
|
-
return new u("Invalid " +
|
|
4048
|
+
return new u("Invalid " + F + " `" + G + "` supplied to " + ("`" + $ + "`" + we + "."));
|
|
4042
4049
|
}
|
|
4043
4050
|
return A(L);
|
|
4044
4051
|
}
|
|
@@ -4054,15 +4061,15 @@ function ss() {
|
|
|
4054
4061
|
);
|
|
4055
4062
|
}
|
|
4056
4063
|
function U(C) {
|
|
4057
|
-
function O(j, L, _, V,
|
|
4058
|
-
var
|
|
4064
|
+
function O(j, L, _, V, $) {
|
|
4065
|
+
var F = j[L], G = me(F);
|
|
4059
4066
|
if (G !== "object")
|
|
4060
|
-
return new u("Invalid " + V + " `" +
|
|
4067
|
+
return new u("Invalid " + V + " `" + $ + "` of type `" + G + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
4061
4068
|
for (var H in C) {
|
|
4062
4069
|
var K = C[H];
|
|
4063
4070
|
if (typeof K != "function")
|
|
4064
|
-
return k(_, V,
|
|
4065
|
-
var ve = K(
|
|
4071
|
+
return k(_, V, $, H, ye(K));
|
|
4072
|
+
var ve = K(F, H, _, V, $ + "." + H, t);
|
|
4066
4073
|
if (ve)
|
|
4067
4074
|
return ve;
|
|
4068
4075
|
}
|
|
@@ -4071,21 +4078,21 @@ function ss() {
|
|
|
4071
4078
|
return A(O);
|
|
4072
4079
|
}
|
|
4073
4080
|
function I(C) {
|
|
4074
|
-
function O(j, L, _, V,
|
|
4075
|
-
var
|
|
4081
|
+
function O(j, L, _, V, $) {
|
|
4082
|
+
var F = j[L], G = me(F);
|
|
4076
4083
|
if (G !== "object")
|
|
4077
|
-
return new u("Invalid " + V + " `" +
|
|
4084
|
+
return new u("Invalid " + V + " `" + $ + "` of type `" + G + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
4078
4085
|
var H = n({}, j[L], C);
|
|
4079
4086
|
for (var K in H) {
|
|
4080
4087
|
var ve = C[K];
|
|
4081
4088
|
if (r(C, K) && typeof ve != "function")
|
|
4082
|
-
return k(_, V,
|
|
4089
|
+
return k(_, V, $, K, ye(ve));
|
|
4083
4090
|
if (!ve)
|
|
4084
4091
|
return new u(
|
|
4085
|
-
"Invalid " + V + " `" +
|
|
4092
|
+
"Invalid " + V + " `" + $ + "` key `" + K + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(j[L], null, " ") + `
|
|
4086
4093
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
4087
4094
|
);
|
|
4088
|
-
var T = ve(
|
|
4095
|
+
var T = ve(F, K, _, V, $ + "." + K, t);
|
|
4089
4096
|
if (T)
|
|
4090
4097
|
return T;
|
|
4091
4098
|
}
|
|
@@ -4528,7 +4535,7 @@ function Me(e, n) {
|
|
|
4528
4535
|
transform: n
|
|
4529
4536
|
});
|
|
4530
4537
|
}
|
|
4531
|
-
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) => {
|
|
4532
4539
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
4533
4540
|
const n = Pn(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (r) => ({
|
|
4534
4541
|
borderRadius: On(n, r)
|
|
@@ -4541,7 +4548,7 @@ nt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
4541
4548
|
borderRadius: Ye
|
|
4542
4549
|
} : {};
|
|
4543
4550
|
nt.filterProps = ["borderRadius"];
|
|
4544
|
-
et(ks, Ns, Ds, Bs, Is, _s,
|
|
4551
|
+
et(ks, Ns, Ds, Bs, Is, _s, $s, Fs, Us, Ls, nt, js, Gs);
|
|
4545
4552
|
const tt = (e) => {
|
|
4546
4553
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
4547
4554
|
const n = Pn(e.theme, "spacing", 8, "gap"), t = (r) => ({
|
|
@@ -5274,10 +5281,10 @@ function yc(e) {
|
|
|
5274
5281
|
}
|
|
5275
5282
|
const _r = {
|
|
5276
5283
|
textTransform: "uppercase"
|
|
5277
|
-
},
|
|
5284
|
+
}, $r = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
5278
5285
|
function vc(e, n) {
|
|
5279
5286
|
const {
|
|
5280
|
-
fontFamily: t =
|
|
5287
|
+
fontFamily: t = $r,
|
|
5281
5288
|
// The default font size of the Material Specification.
|
|
5282
5289
|
fontSize: r = 14,
|
|
5283
5290
|
// px
|
|
@@ -5302,7 +5309,7 @@ function vc(e, n) {
|
|
|
5302
5309
|
lineHeight: M,
|
|
5303
5310
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5304
5311
|
// across font-families can cause issues with the kerning.
|
|
5305
|
-
...t ===
|
|
5312
|
+
...t === $r ? {
|
|
5306
5313
|
letterSpacing: `${yc(w / x)}em`
|
|
5307
5314
|
} : {},
|
|
5308
5315
|
...P,
|
|
@@ -5372,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,
|
|
|
5372
5379
|
// recommended when something is leaving screen
|
|
5373
5380
|
leavingScreen: 195
|
|
5374
5381
|
};
|
|
5375
|
-
function
|
|
5382
|
+
function Fr(e) {
|
|
5376
5383
|
return `${Math.round(e)}ms`;
|
|
5377
5384
|
}
|
|
5378
5385
|
function Tc(e) {
|
|
@@ -5403,7 +5410,7 @@ function Rc(e) {
|
|
|
5403
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(`
|
|
5404
5411
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
5405
5412
|
}
|
|
5406
|
-
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(",");
|
|
5407
5414
|
},
|
|
5408
5415
|
...e,
|
|
5409
5416
|
easing: n,
|
|
@@ -5612,7 +5619,7 @@ const Be = (e) => {
|
|
|
5612
5619
|
return e();
|
|
5613
5620
|
} catch {
|
|
5614
5621
|
}
|
|
5615
|
-
},
|
|
5622
|
+
}, $c = (e = "mui") => ii(e);
|
|
5616
5623
|
function St(e, n, t, r) {
|
|
5617
5624
|
if (!n)
|
|
5618
5625
|
return;
|
|
@@ -5648,7 +5655,7 @@ function St(e, n, t, r) {
|
|
|
5648
5655
|
overlays: (n == null ? void 0 : n.overlays) || ma(a)
|
|
5649
5656
|
}, c;
|
|
5650
5657
|
}
|
|
5651
|
-
function
|
|
5658
|
+
function Fc(e = {}, ...n) {
|
|
5652
5659
|
const {
|
|
5653
5660
|
colorSchemes: t = {
|
|
5654
5661
|
light: !0
|
|
@@ -5660,7 +5667,7 @@ function $c(e = {}, ...n) {
|
|
|
5660
5667
|
colorSchemeSelector: o = t.light && t.dark ? "media" : void 0,
|
|
5661
5668
|
rootSelector: f = ":root",
|
|
5662
5669
|
...d
|
|
5663
|
-
} = 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), {
|
|
5664
5671
|
[g]: E,
|
|
5665
5672
|
light: v,
|
|
5666
5673
|
dark: u,
|
|
@@ -5778,7 +5785,7 @@ function Uc(e = {}, ...n) {
|
|
|
5778
5785
|
palette: g.palette
|
|
5779
5786
|
}, Ur(g, "light", d.light)), g;
|
|
5780
5787
|
}
|
|
5781
|
-
return !t && !("light" in d) && o === "light" && (d.light = !0),
|
|
5788
|
+
return !t && !("light" in d) && o === "light" && (d.light = !0), Fc({
|
|
5782
5789
|
...c,
|
|
5783
5790
|
colorSchemes: d,
|
|
5784
5791
|
defaultColorScheme: o,
|
|
@@ -6228,7 +6235,7 @@ export {
|
|
|
6228
6235
|
Tu as Tag,
|
|
6229
6236
|
Ru as Tooltip,
|
|
6230
6237
|
Eu as Transitioner,
|
|
6231
|
-
|
|
6238
|
+
$e as TypographyCustom,
|
|
6232
6239
|
Nu as isTextLarge,
|
|
6233
6240
|
ku as textShortner
|
|
6234
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",
|