mcr-design-systems 1.0.217 → 1.0.220
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/components/Button/index.js +1 -0
- package/dist/components/ButtonFilter/index.js +1 -0
- package/dist/components/Icon/generated/FileErrorIcon.js +30 -30
- package/dist/components/Icon/generated/FileSuccessIcon.js +33 -33
- package/dist/components/Select/index.js +197 -193
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +236 -238
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +1 -3
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +57 -56
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +7 -6
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +49 -50
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js +15 -9
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +8 -7
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +170 -195
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +25 -25
- package/dist/node_modules/libphonenumber-js/es6/AsYouType.js +99 -115
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +69 -88
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js +58 -79
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +10 -10
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js +66 -83
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js +29 -27
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeParser.js +115 -134
- package/dist/node_modules/libphonenumber-js/es6/AsYouTypeState.js +26 -47
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +41 -62
- package/dist/node_modules/libphonenumber-js/es6/format.js +105 -70
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +9 -11
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +20 -20
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +14 -14
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +16 -20
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +4 -3
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +30 -26
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +17 -15
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +25 -23
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +13 -4
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +66 -79
- package/dist/node_modules/libphonenumber-js/examples.mobile.json.js +1 -1
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +6 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +72 -75
- package/dist/shared/hooks/useChipOverflow.js +52 -52
- package/package.json +1 -1
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
const
|
|
3
|
+
const M = ({
|
|
4
4
|
size: r = 24,
|
|
5
5
|
color: i = "currentColor",
|
|
6
|
-
className:
|
|
7
|
-
style:
|
|
6
|
+
className: t,
|
|
7
|
+
style: n,
|
|
8
8
|
onClick: o,
|
|
9
|
-
"aria-label":
|
|
10
|
-
title:
|
|
9
|
+
"aria-label": s,
|
|
10
|
+
title: g
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const a = u.useMemo(() => {
|
|
13
|
+
const e = new DOMParser().parseFromString(
|
|
14
|
+
`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
14
15
|
<path d="M7 21.2002V10.7998C7 9.97632 6.99898 9.29843 7.04395 8.74805C7.08988 8.18599 7.18827 7.6689 7.43555 7.1836C7.81902 6.43109 8.43109 5.81902 9.1836 5.43555C9.6689 5.18827 10.186 5.08988 10.748 5.04395C11.2984 4.99898 11.9763 5 12.7998 5H18L18.0986 5.00488C18.3276 5.02757 18.5429 5.12883 18.707 5.29297L24.707 11.293C24.8946 11.4805 25 11.7348 25 12V21.2002C25 22.0237 25.001 22.7016 24.9561 23.252C24.9101 23.814 24.8117 24.3311 24.5645 24.8164C24.181 25.5689 23.5689 26.181 22.8164 26.5645C22.3311 26.8117 21.814 26.9101 21.252 26.9561C20.7016 27.001 20.0237 27 19.2002 27H12.7998C11.9763 27 11.2984 27.001 10.748 26.9561C10.186 26.9101 9.6689 26.8117 9.1836 26.5645C8.43109 26.181 7.81902 25.5689 7.43555 24.8164C7.18827 24.3311 7.08988 23.814 7.04395 23.252C6.99898 22.7016 7 22.0237 7 21.2002ZM20 20C20.5523 20 21 20.4477 21 21C21 21.5523 20.5523 22 20 22H12C11.4477 22 11 21.5523 11 21C11 20.4477 11.4477 20 12 20H20ZM20 16C20.5523 16 21 16.4477 21 17C21 17.5523 20.5523 18 20 18H12C11.4477 18 11 17.5523 11 17C11 16.4477 11.4477 16 12 16H20ZM14 12C14.5523 12 15 12.4477 15 13C15 13.5523 14.5523 14 14 14H12C11.4477 14 11 13.5523 11 13C11 12.4477 11.4477 12 12 12H14ZM9 21.2002C9 22.0566 9.00035 22.6388 9.03711 23.0889C9.07293 23.5273 9.13809 23.7518 9.21778 23.9082C9.40951 24.2845 9.71555 24.5905 10.0918 24.7822C10.2482 24.8619 10.4727 24.9271 10.9111 24.9629C11.3612 24.9997 11.9434 25 12.7998 25H19.2002C20.0566 25 20.6388 24.9997 21.0889 24.9629C21.5273 24.9271 21.7518 24.8619 21.9082 24.7822C22.2845 24.5905 22.5905 24.2845 22.7822 23.9082C22.8619 23.7518 22.9271 23.5273 22.9629 23.0889C22.9997 22.6388 23 22.0566 23 21.2002V13H19.5996C19.3362 13 19.0781 13.0011 18.8613 12.9834C18.6328 12.9647 18.3631 12.9204 18.0918 12.7822C17.7155 12.5905 17.4095 12.2845 17.2178 11.9082C17.0795 11.6369 17.0353 11.3672 17.0166 11.1387C16.9989 10.9218 17 10.6638 17 10.4004V7H12.7998C11.9434 7 11.3612 7.00035 10.9111 7.03711C10.4727 7.07293 10.2482 7.13809 10.0918 7.21778C9.71555 7.40951 9.40951 7.71555 9.21778 8.0918C9.13809 8.2482 9.07293 8.47272 9.03711 8.91113C9.00035 9.36117 9 9.94342 9 10.7998V21.2002ZM19 10.4004C19 10.6967 19.0012 10.859 19.0107 10.9756C19.0111 10.98 19.0114 10.9843 19.0117 10.9883C19.0157 10.9887 19.0199 10.9899 19.0244 10.9902C19.141 10.9998 19.3033 11 19.5996 11H21.5859L19 8.41406V10.4004Z" fill="black"/>
|
|
15
16
|
<path d="M32 26C32 22.6863 29.3137 20 26 20C22.6863 20 20 22.6863 20 26C20 29.3137 22.6863 32 26 32C29.3137 32 32 29.3137 32 26Z" fill="white"/>
|
|
16
17
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M26 20.5C22.9624 20.5 20.5 22.9624 20.5 26C20.5 29.0376 22.9624 31.5 26 31.5C29.0376 31.5 31.5 29.0376 31.5 26C31.5 22.9624 29.0376 20.5 26 20.5ZM26.5 24C26.5 23.7239 26.2761 23.5 26 23.5C25.7239 23.5 25.5 23.7239 25.5 24V26C25.5 26.2761 25.7239 26.5 26 26.5C26.2761 26.5 26.5 26.2761 26.5 26V24ZM26 27.5C25.7239 27.5 25.5 27.7239 25.5 28C25.5 28.2761 25.7239 28.5 26 28.5H26.005C26.2811 28.5 26.505 28.2761 26.505 28C26.505 27.7239 26.2811 27.5 26.005 27.5H26Z" fill="#DC2626"/>
|
|
17
18
|
</svg>
|
|
18
|
-
`,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
`,
|
|
20
|
+
"image/svg+xml"
|
|
21
|
+
).querySelector("svg");
|
|
22
|
+
if (!e) return "";
|
|
23
|
+
if (e.setAttribute("width", r.toString()), e.setAttribute("height", r.toString()), e.querySelectorAll(
|
|
21
24
|
"path, circle, rect, polygon, polyline, line, ellipse"
|
|
22
|
-
).forEach((
|
|
23
|
-
const l =
|
|
24
|
-
l && l !== "none" &&
|
|
25
|
-
}),
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
"class",
|
|
29
|
-
`${e} ${C}`.trim()
|
|
30
|
-
);
|
|
25
|
+
).forEach((C) => {
|
|
26
|
+
const l = C.getAttribute("stroke");
|
|
27
|
+
l && l !== "none" && C.setAttribute("stroke", i);
|
|
28
|
+
}), t) {
|
|
29
|
+
const C = e.getAttribute("class") || "";
|
|
30
|
+
e.setAttribute("class", `${C} ${t}`.trim());
|
|
31
31
|
}
|
|
32
|
-
return new XMLSerializer().serializeToString(
|
|
33
|
-
}, [r, i,
|
|
34
|
-
return /* @__PURE__ */
|
|
32
|
+
return new XMLSerializer().serializeToString(e);
|
|
33
|
+
}, [r, i, t]);
|
|
34
|
+
return /* @__PURE__ */ c(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
|
-
className:
|
|
37
|
+
className: t,
|
|
38
38
|
style: {
|
|
39
39
|
display: "inline-flex",
|
|
40
40
|
alignItems: "center",
|
|
41
41
|
justifyContent: "center",
|
|
42
42
|
flexShrink: 0,
|
|
43
43
|
lineHeight: 0,
|
|
44
|
-
...
|
|
44
|
+
...n
|
|
45
45
|
},
|
|
46
46
|
onClick: o,
|
|
47
|
-
"aria-label":
|
|
48
|
-
title:
|
|
49
|
-
dangerouslySetInnerHTML: { __html:
|
|
47
|
+
"aria-label": s || "file-error icon",
|
|
48
|
+
title: g,
|
|
49
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
};
|
|
53
53
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
M as FileErrorIcon,
|
|
55
|
+
M as default
|
|
56
56
|
};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
const v = ({
|
|
4
4
|
size: r = 24,
|
|
5
5
|
color: i = "currentColor",
|
|
6
|
-
className:
|
|
7
|
-
style:
|
|
8
|
-
onClick:
|
|
9
|
-
"aria-label":
|
|
10
|
-
title:
|
|
6
|
+
className: t,
|
|
7
|
+
style: s,
|
|
8
|
+
onClick: n,
|
|
9
|
+
"aria-label": o,
|
|
10
|
+
title: c
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const g = u.useMemo(() => {
|
|
13
|
+
const e = new DOMParser().parseFromString(
|
|
14
|
+
`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
14
15
|
<path d="M7 21.2002V10.7998C7 9.97632 6.99898 9.29843 7.04395 8.74805C7.08988 8.18599 7.18827 7.6689 7.43555 7.1836C7.81902 6.43109 8.43109 5.81902 9.1836 5.43555C9.6689 5.18827 10.186 5.08988 10.748 5.04395C11.2984 4.99898 11.9763 5 12.7998 5H18L18.0986 5.00488C18.3276 5.02757 18.5429 5.12883 18.707 5.29297L24.707 11.293C24.8946 11.4805 25 11.7348 25 12V21.2002C25 22.0237 25.001 22.7016 24.9561 23.252C24.9101 23.814 24.8117 24.3311 24.5645 24.8164C24.181 25.5689 23.5689 26.181 22.8164 26.5645C22.3311 26.8117 21.814 26.9101 21.252 26.9561C20.7016 27.001 20.0237 27 19.2002 27H12.7998C11.9763 27 11.2984 27.001 10.748 26.9561C10.186 26.9101 9.6689 26.8117 9.1836 26.5645C8.43109 26.181 7.81902 25.5689 7.43555 24.8164C7.18827 24.3311 7.08988 23.814 7.04395 23.252C6.99898 22.7016 7 22.0237 7 21.2002ZM20 20C20.5523 20 21 20.4477 21 21C21 21.5523 20.5523 22 20 22H12C11.4477 22 11 21.5523 11 21C11 20.4477 11.4477 20 12 20H20ZM20 16C20.5523 16 21 16.4477 21 17C21 17.5523 20.5523 18 20 18H12C11.4477 18 11 17.5523 11 17C11 16.4477 11.4477 16 12 16H20ZM14 12C14.5523 12 15 12.4477 15 13C15 13.5523 14.5523 14 14 14H12C11.4477 14 11 13.5523 11 13C11 12.4477 11.4477 12 12 12H14ZM9 21.2002C9 22.0566 9.00035 22.6388 9.03711 23.0889C9.07293 23.5273 9.13809 23.7518 9.21778 23.9082C9.40951 24.2845 9.71555 24.5905 10.0918 24.7822C10.2482 24.8619 10.4727 24.9271 10.9111 24.9629C11.3612 24.9997 11.9434 25 12.7998 25H19.2002C20.0566 25 20.6388 24.9997 21.0889 24.9629C21.5273 24.9271 21.7518 24.8619 21.9082 24.7822C22.2845 24.5905 22.5905 24.2845 22.7822 23.9082C22.8619 23.7518 22.9271 23.5273 22.9629 23.0889C22.9997 22.6388 23 22.0566 23 21.2002V13H19.5996C19.3362 13 19.0781 13.0011 18.8613 12.9834C18.6328 12.9647 18.3631 12.9204 18.0918 12.7822C17.7155 12.5905 17.4095 12.2845 17.2178 11.9082C17.0795 11.6369 17.0353 11.3672 17.0166 11.1387C16.9989 10.9218 17 10.6638 17 10.4004V7H12.7998C11.9434 7 11.3612 7.00035 10.9111 7.03711C10.4727 7.07293 10.2482 7.13809 10.0918 7.21778C9.71555 7.40951 9.40951 7.71555 9.21778 8.0918C9.13809 8.2482 9.07293 8.47272 9.03711 8.91113C9.00035 9.36117 9 9.94342 9 10.7998V21.2002ZM19 10.4004C19 10.6967 19.0012 10.859 19.0107 10.9756C19.0111 10.98 19.0114 10.9843 19.0117 10.9883C19.0157 10.9887 19.0199 10.9899 19.0244 10.9902C19.141 10.9998 19.3033 11 19.5996 11H21.5859L19 8.41406V10.4004Z" fill="black"/>
|
|
15
16
|
<path d="M32 26C32 29.3137 29.3137 32 26 32C22.6863 32 20 29.3137 20 26C20 22.6863 22.6863 20 26 20C29.3137 20 32 22.6863 32 26Z" fill="white"/>
|
|
16
17
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M26 20.5C22.9624 20.5 20.5 22.9624 20.5 26C20.5 29.0376 22.9624 31.5 26 31.5C29.0376 31.5 31.5 29.0376 31.5 26C31.5 22.9624 29.0376 20.5 26 20.5ZM28.6036 24.8536C28.7988 24.6583 28.7988 24.3417 28.6036 24.1464C28.4083 23.9512 28.0917 23.9512 27.8964 24.1464L25.25 26.7929L24.1036 25.6464C23.9083 25.4512 23.5917 25.4512 23.3964 25.6464C23.2012 25.8417 23.2012 26.1583 23.3964 26.3536L24.8964 27.8536C25.0917 28.0488 25.4083 28.0488 25.6036 27.8536L28.6036 24.8536Z" fill="#16A34A"/>
|
|
17
18
|
</svg>
|
|
18
|
-
`,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
`,
|
|
20
|
+
"image/svg+xml"
|
|
21
|
+
).querySelector("svg");
|
|
22
|
+
if (!e) return "";
|
|
23
|
+
if (e.setAttribute("width", r.toString()), e.setAttribute("height", r.toString()), e.querySelectorAll(
|
|
21
24
|
"path, circle, rect, polygon, polyline, line, ellipse"
|
|
22
|
-
).forEach((
|
|
23
|
-
const l =
|
|
24
|
-
l && l !== "none" &&
|
|
25
|
-
}),
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
"class",
|
|
29
|
-
`${e} ${C}`.trim()
|
|
30
|
-
);
|
|
25
|
+
).forEach((C) => {
|
|
26
|
+
const l = C.getAttribute("stroke");
|
|
27
|
+
l && l !== "none" && C.setAttribute("stroke", i);
|
|
28
|
+
}), t) {
|
|
29
|
+
const C = e.getAttribute("class") || "";
|
|
30
|
+
e.setAttribute("class", `${C} ${t}`.trim());
|
|
31
31
|
}
|
|
32
|
-
return new XMLSerializer().serializeToString(
|
|
33
|
-
}, [r, i,
|
|
34
|
-
return /* @__PURE__ */
|
|
32
|
+
return new XMLSerializer().serializeToString(e);
|
|
33
|
+
}, [r, i, t]);
|
|
34
|
+
return /* @__PURE__ */ a(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
|
-
className:
|
|
37
|
+
className: t,
|
|
38
38
|
style: {
|
|
39
39
|
display: "inline-flex",
|
|
40
40
|
alignItems: "center",
|
|
41
41
|
justifyContent: "center",
|
|
42
42
|
flexShrink: 0,
|
|
43
43
|
lineHeight: 0,
|
|
44
|
-
...
|
|
44
|
+
...s
|
|
45
45
|
},
|
|
46
|
-
onClick:
|
|
47
|
-
"aria-label":
|
|
48
|
-
title:
|
|
49
|
-
dangerouslySetInnerHTML: { __html:
|
|
46
|
+
onClick: n,
|
|
47
|
+
"aria-label": o || "file-success icon",
|
|
48
|
+
title: c,
|
|
49
|
+
dangerouslySetInnerHTML: { __html: g }
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
};
|
|
53
53
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
v as FileSuccessIcon,
|
|
55
|
+
v as default
|
|
56
56
|
};
|