@eclass/ui-kit 1.29.0 → 1.31.0
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
|
@@ -31126,7 +31126,7 @@ function Alert({
|
|
|
31126
31126
|
buttonType = buttonLink ? "link" : "normal";
|
|
31127
31127
|
}
|
|
31128
31128
|
return /* @__PURE__ */ jsxs(Box, {
|
|
31129
|
-
className: isFlash ? "flashNotification" : "
|
|
31129
|
+
className: isFlash ? "flashNotification" : "e_alert",
|
|
31130
31130
|
alignItems: !isMobile ? "center" : "unset",
|
|
31131
31131
|
backgroundColor: alertStates[state2].bg,
|
|
31132
31132
|
borderRadius: "8px",
|
|
@@ -31140,9 +31140,10 @@ function Alert({
|
|
|
31140
31140
|
p: "1rem",
|
|
31141
31141
|
pr: canDismiss ? "1.75rem" : "1rem",
|
|
31142
31142
|
position: "relative",
|
|
31143
|
-
children: [/* @__PURE__ */ jsxs(
|
|
31143
|
+
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31144
31144
|
gap: "10px",
|
|
31145
31145
|
className: "alertContent",
|
|
31146
|
+
display: "flex",
|
|
31146
31147
|
sx: {
|
|
31147
31148
|
".linkButton": {
|
|
31148
31149
|
fontSize: "16px"
|
|
@@ -31157,12 +31158,17 @@ function Alert({
|
|
|
31157
31158
|
},
|
|
31158
31159
|
children: alertStates[state2].icon
|
|
31159
31160
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
31160
|
-
|
|
31161
|
-
|
|
31162
|
-
|
|
31163
|
-
|
|
31164
|
-
|
|
31165
|
-
|
|
31161
|
+
display: "flex",
|
|
31162
|
+
alignItems: "center",
|
|
31163
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
31164
|
+
as: "p",
|
|
31165
|
+
fontFamily: "Roboto",
|
|
31166
|
+
fontSize: "16px",
|
|
31167
|
+
fontWeight: "400",
|
|
31168
|
+
lineHeight: "28px",
|
|
31169
|
+
color: vars("colors-neutral-darkCharcoal"),
|
|
31170
|
+
children
|
|
31171
|
+
}), buttonType === "link" && /* @__PURE__ */ jsx(BtnLink, {
|
|
31166
31172
|
onClick: handleClick,
|
|
31167
31173
|
children: buttonText
|
|
31168
31174
|
})]
|