@eclass/ui-kit 1.39.1 → 1.39.3
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
|
@@ -31755,25 +31755,38 @@ function ModalAlert({
|
|
|
31755
31755
|
closeOnEsc: false,
|
|
31756
31756
|
closeOnOverlayClick: false,
|
|
31757
31757
|
size: isDesktop ? "xl" : "sm",
|
|
31758
|
-
|
|
31758
|
+
isCentered: false,
|
|
31759
|
+
children: [/* @__PURE__ */ jsx(ModalOverlay, {
|
|
31760
|
+
bg: "rgba(0, 0, 0, 0.5)",
|
|
31761
|
+
position: "fixed",
|
|
31762
|
+
top: "0",
|
|
31763
|
+
left: "0",
|
|
31764
|
+
right: "0",
|
|
31765
|
+
bottom: "0"
|
|
31766
|
+
}), /* @__PURE__ */ jsxs(ModalContent, {
|
|
31759
31767
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31760
31768
|
alignItems: "center",
|
|
31761
31769
|
justifyContent: "center",
|
|
31762
31770
|
textAlign: "center",
|
|
31763
|
-
py:
|
|
31771
|
+
py: "2rem",
|
|
31764
31772
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
31765
31773
|
display: "flex",
|
|
31766
31774
|
justifyContent: "center",
|
|
31767
31775
|
children: alertStates[typeAlert].icon
|
|
31768
31776
|
}), /* @__PURE__ */ jsx(ModalHeader, {
|
|
31777
|
+
py: "1rem",
|
|
31769
31778
|
children: title
|
|
31770
31779
|
}), /* @__PURE__ */ jsx(ModalBody, {
|
|
31780
|
+
py: "0.5rem",
|
|
31781
|
+
px: "2rem",
|
|
31771
31782
|
children: description
|
|
31772
31783
|
})]
|
|
31773
31784
|
}), /* @__PURE__ */ jsx(Divider, {
|
|
31774
|
-
colorScheme: "E6E6E6",
|
|
31785
|
+
colorScheme: "#E6E6E6",
|
|
31775
31786
|
size: "2",
|
|
31776
|
-
opacity: "1"
|
|
31787
|
+
opacity: "1",
|
|
31788
|
+
margin: "0",
|
|
31789
|
+
padding: "0"
|
|
31777
31790
|
}), /* @__PURE__ */ jsx(ModalFooter, {
|
|
31778
31791
|
justifyContent: "center",
|
|
31779
31792
|
padding: "0",
|
|
@@ -31781,7 +31794,7 @@ function ModalAlert({
|
|
|
31781
31794
|
return /* @__PURE__ */ jsx(Box, {
|
|
31782
31795
|
width: "99%",
|
|
31783
31796
|
textAlign: "center",
|
|
31784
|
-
padding: "
|
|
31797
|
+
padding: "1rem",
|
|
31785
31798
|
borderLeftWidth: showBorder && option.id === optionsButton[1].id ? "1px" : "0",
|
|
31786
31799
|
borderLeftColor: "#E6E6E6",
|
|
31787
31800
|
children: /* @__PURE__ */ jsx(BtnLink, {
|