@eclass/ui-kit 1.39.7 → 1.39.9
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 +12 -2
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +1 -1
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/ModalAlert/ModalAlert.d.ts +1 -1
- package/dist/organisms/ModalAlert/types.d.ts +3 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -31718,11 +31718,18 @@ function ModalAlert({
|
|
|
31718
31718
|
typeAlert,
|
|
31719
31719
|
title,
|
|
31720
31720
|
description,
|
|
31721
|
-
optionsButton
|
|
31721
|
+
optionsButton,
|
|
31722
|
+
top: top2
|
|
31722
31723
|
}) {
|
|
31723
31724
|
const [isDesktop] = useMediaQuery("(min-width: 650px)");
|
|
31725
|
+
const modalStyles = {
|
|
31726
|
+
content: {
|
|
31727
|
+
top: top2
|
|
31728
|
+
}
|
|
31729
|
+
};
|
|
31724
31730
|
const showBorder = optionsButton.length > 1;
|
|
31725
31731
|
return /* @__PURE__ */ jsxs(Modal, {
|
|
31732
|
+
id: "modal-alert",
|
|
31726
31733
|
isOpen: showModal,
|
|
31727
31734
|
onClose: () => {
|
|
31728
31735
|
},
|
|
@@ -31736,8 +31743,11 @@ function ModalAlert({
|
|
|
31736
31743
|
top: "0",
|
|
31737
31744
|
left: "0",
|
|
31738
31745
|
right: "0",
|
|
31739
|
-
bottom: "0"
|
|
31746
|
+
bottom: "0",
|
|
31747
|
+
zIndex: "998"
|
|
31740
31748
|
}), /* @__PURE__ */ jsxs(ModalContent, {
|
|
31749
|
+
zIndex: "999",
|
|
31750
|
+
sx: modalStyles.content,
|
|
31741
31751
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31742
31752
|
alignItems: "center",
|
|
31743
31753
|
justifyContent: "center",
|