@eclass/ui-kit 1.39.6 → 1.39.8
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/eclass-ui-kit.es.js
CHANGED
|
@@ -31721,6 +31721,11 @@ function ModalAlert({
|
|
|
31721
31721
|
optionsButton
|
|
31722
31722
|
}) {
|
|
31723
31723
|
const [isDesktop] = useMediaQuery("(min-width: 650px)");
|
|
31724
|
+
const modalStyles = {
|
|
31725
|
+
content: {
|
|
31726
|
+
top: "3.75rem"
|
|
31727
|
+
}
|
|
31728
|
+
};
|
|
31724
31729
|
const showBorder = optionsButton.length > 1;
|
|
31725
31730
|
return /* @__PURE__ */ jsxs(Modal, {
|
|
31726
31731
|
isOpen: showModal,
|
|
@@ -31736,8 +31741,11 @@ function ModalAlert({
|
|
|
31736
31741
|
top: "0",
|
|
31737
31742
|
left: "0",
|
|
31738
31743
|
right: "0",
|
|
31739
|
-
bottom: "0"
|
|
31744
|
+
bottom: "0",
|
|
31745
|
+
zIndex: "998"
|
|
31740
31746
|
}), /* @__PURE__ */ jsxs(ModalContent, {
|
|
31747
|
+
zIndex: "999",
|
|
31748
|
+
sx: modalStyles.content,
|
|
31741
31749
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31742
31750
|
alignItems: "center",
|
|
31743
31751
|
justifyContent: "center",
|
|
@@ -31766,10 +31774,10 @@ function ModalAlert({
|
|
|
31766
31774
|
padding: "1rem",
|
|
31767
31775
|
borderLeftWidth: showBorder && option.id === optionsButton[1].id ? "1px" : "0",
|
|
31768
31776
|
borderLeftColor: "#E6E6E6",
|
|
31777
|
+
onClick: () => option.action(),
|
|
31769
31778
|
children: /* @__PURE__ */ jsx(BtnLink, {
|
|
31770
31779
|
textDecorationLine: false,
|
|
31771
31780
|
fontSize: "1rem",
|
|
31772
|
-
onClick: () => option.action(),
|
|
31773
31781
|
children: option.label
|
|
31774
31782
|
})
|
|
31775
31783
|
}, index2);
|