aefis-core-ui 2.5.0 → 2.5.1
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/index.modern.js +8 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -18222,7 +18222,6 @@ Section.propTypes = {
|
|
|
18222
18222
|
sx: PropTypes.any
|
|
18223
18223
|
};
|
|
18224
18224
|
|
|
18225
|
-
// Copyright (c) 2022 HelioCampus Inc., all rights reserved.
|
|
18226
18225
|
const Header$1 = ({
|
|
18227
18226
|
imageUrl,
|
|
18228
18227
|
imageStyle,
|
|
@@ -18234,16 +18233,19 @@ const Header$1 = ({
|
|
|
18234
18233
|
avatarColor,
|
|
18235
18234
|
avatarIcon,
|
|
18236
18235
|
format: _format = "default",
|
|
18237
|
-
description
|
|
18236
|
+
description,
|
|
18237
|
+
titleWordBreak: _titleWordBreak = false
|
|
18238
18238
|
}) => {
|
|
18239
|
-
const containerStyle = {
|
|
18239
|
+
const containerStyle = _extends({
|
|
18240
18240
|
display: "flex",
|
|
18241
18241
|
alignItems: "center",
|
|
18242
18242
|
boxSizing: "border-box",
|
|
18243
18243
|
width: "100%",
|
|
18244
18244
|
padding: _format === "default" ? 2 : 0,
|
|
18245
18245
|
paddingBottom: _format === "default" ? 3 : 0
|
|
18246
|
-
}
|
|
18246
|
+
}, _titleWordBreak && {
|
|
18247
|
+
wordBreak: "break-word"
|
|
18248
|
+
});
|
|
18247
18249
|
const imageHeaderContainerStyle = {
|
|
18248
18250
|
height: 125,
|
|
18249
18251
|
margin: 2,
|
|
@@ -18304,7 +18306,8 @@ Header$1.propTypes = {
|
|
|
18304
18306
|
avatarColor: PropTypes.string,
|
|
18305
18307
|
avatarIcon: PropTypes.any,
|
|
18306
18308
|
format: PropTypes.oneOf(["default", "noFormat"]),
|
|
18307
|
-
description: PropTypes.string
|
|
18309
|
+
description: PropTypes.string,
|
|
18310
|
+
titleWordBreak: PropTypes.bool
|
|
18308
18311
|
};
|
|
18309
18312
|
|
|
18310
18313
|
// Copyright (c) 2022 HelioCampus Inc., all rights reserved.
|