@eclass/ui-kit 1.39.0 → 1.39.2
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
|
@@ -31240,7 +31240,7 @@ function Alert({
|
|
|
31240
31240
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
31241
31241
|
display: "flex",
|
|
31242
31242
|
alignItems: "center",
|
|
31243
|
-
children: [/* @__PURE__ */
|
|
31243
|
+
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31244
31244
|
as: "p",
|
|
31245
31245
|
alignSelf: "center",
|
|
31246
31246
|
fontFamily: "Roboto",
|
|
@@ -31248,12 +31248,10 @@ function Alert({
|
|
|
31248
31248
|
fontWeight: "400",
|
|
31249
31249
|
lineHeight: "28px",
|
|
31250
31250
|
color: vars("colors-neutral-darkCharcoal"),
|
|
31251
|
-
children: /* @__PURE__ */
|
|
31252
|
-
|
|
31253
|
-
|
|
31254
|
-
|
|
31255
|
-
})]
|
|
31256
|
-
})
|
|
31251
|
+
children: [children, endTextLink && onClickLink && /* @__PURE__ */ jsx(BtnLink, {
|
|
31252
|
+
onClick: onClickLink,
|
|
31253
|
+
children: endTextLink
|
|
31254
|
+
})]
|
|
31257
31255
|
}), buttonType === "link" && /* @__PURE__ */ jsx(BtnLink, {
|
|
31258
31256
|
onClick: handleClick,
|
|
31259
31257
|
children: buttonText
|
|
@@ -31762,18 +31760,21 @@ function ModalAlert({
|
|
|
31762
31760
|
alignItems: "center",
|
|
31763
31761
|
justifyContent: "center",
|
|
31764
31762
|
textAlign: "center",
|
|
31765
|
-
py:
|
|
31763
|
+
py: "2rem",
|
|
31766
31764
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
31767
31765
|
display: "flex",
|
|
31768
31766
|
justifyContent: "center",
|
|
31769
31767
|
children: alertStates[typeAlert].icon
|
|
31770
31768
|
}), /* @__PURE__ */ jsx(ModalHeader, {
|
|
31769
|
+
py: "1rem",
|
|
31771
31770
|
children: title
|
|
31772
31771
|
}), /* @__PURE__ */ jsx(ModalBody, {
|
|
31772
|
+
py: "0.5rem",
|
|
31773
|
+
px: "2rem",
|
|
31773
31774
|
children: description
|
|
31774
31775
|
})]
|
|
31775
31776
|
}), /* @__PURE__ */ jsx(Divider, {
|
|
31776
|
-
colorScheme: "E6E6E6",
|
|
31777
|
+
colorScheme: "#E6E6E6",
|
|
31777
31778
|
size: "2",
|
|
31778
31779
|
opacity: "1"
|
|
31779
31780
|
}), /* @__PURE__ */ jsx(ModalFooter, {
|
|
@@ -31783,7 +31784,7 @@ function ModalAlert({
|
|
|
31783
31784
|
return /* @__PURE__ */ jsx(Box, {
|
|
31784
31785
|
width: "99%",
|
|
31785
31786
|
textAlign: "center",
|
|
31786
|
-
padding: "
|
|
31787
|
+
padding: "1rem",
|
|
31787
31788
|
borderLeftWidth: showBorder && option.id === optionsButton[1].id ? "1px" : "0",
|
|
31788
31789
|
borderLeftColor: "#E6E6E6",
|
|
31789
31790
|
children: /* @__PURE__ */ jsx(BtnLink, {
|