@eclass/ui-kit 1.33.1 → 1.34.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 +5 -3
- 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/Alerts/Alert.d.ts +1 -1
- package/dist/organisms/Alerts/types.d.ts +4 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -31114,6 +31114,7 @@ function Alert({
|
|
|
31114
31114
|
buttonText,
|
|
31115
31115
|
buttonIcon,
|
|
31116
31116
|
buttonLink = false,
|
|
31117
|
+
fullWidth = false,
|
|
31117
31118
|
isFlash = false,
|
|
31118
31119
|
onClick,
|
|
31119
31120
|
state: state2,
|
|
@@ -31139,15 +31140,15 @@ function Alert({
|
|
|
31139
31140
|
gap: !isFlash ? "16px" : "",
|
|
31140
31141
|
justifyContent: !isMobile ? "space-between" : "",
|
|
31141
31142
|
margin: m2,
|
|
31142
|
-
width: "100%",
|
|
31143
|
-
maxWidth: "796px",
|
|
31143
|
+
width: fullWidth ? "100%" : "fit-content",
|
|
31144
|
+
maxWidth: fullWidth ? "none" : "796px",
|
|
31144
31145
|
p: "1rem",
|
|
31145
31146
|
pr: canDismiss ? "1.75rem" : "1rem",
|
|
31146
31147
|
position: "relative",
|
|
31147
31148
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
31149
|
+
display: "flex",
|
|
31148
31150
|
gap: "10px",
|
|
31149
31151
|
className: "alertContent",
|
|
31150
|
-
display: "flex",
|
|
31151
31152
|
sx: {
|
|
31152
31153
|
".linkButton": {
|
|
31153
31154
|
fontSize: "16px"
|
|
@@ -31166,6 +31167,7 @@ function Alert({
|
|
|
31166
31167
|
alignItems: "center",
|
|
31167
31168
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
31168
31169
|
as: "p",
|
|
31170
|
+
alignSelf: "center",
|
|
31169
31171
|
fontFamily: "Roboto",
|
|
31170
31172
|
fontSize: "16px",
|
|
31171
31173
|
fontWeight: "400",
|