aefis-core-ui 3.0.0-rc117 → 3.0.0-rc118
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 +4 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9034,6 +9034,7 @@ const AvatarTitle = /*#__PURE__*/React__default.memo(function AvatarTitle({
|
|
|
9034
9034
|
type = "default",
|
|
9035
9035
|
avatar,
|
|
9036
9036
|
avatarVariant = "round",
|
|
9037
|
+
displayAvatar = true,
|
|
9037
9038
|
title,
|
|
9038
9039
|
titleComponent = "div",
|
|
9039
9040
|
subtitle,
|
|
@@ -9164,7 +9165,7 @@ const AvatarTitle = /*#__PURE__*/React__default.memo(function AvatarTitle({
|
|
|
9164
9165
|
sx: {
|
|
9165
9166
|
display: "flex"
|
|
9166
9167
|
},
|
|
9167
|
-
children: [/*#__PURE__*/jsxs(Box$2, {
|
|
9168
|
+
children: [displayAvatar && /*#__PURE__*/jsxs(Box$2, {
|
|
9168
9169
|
sx: avatarContainerStyle,
|
|
9169
9170
|
children: [size === "xsmall" && /*#__PURE__*/jsx(XSmallAvatar, {
|
|
9170
9171
|
className: classes.avatar,
|
|
@@ -9227,6 +9228,8 @@ AvatarTitle.propTypes = {
|
|
|
9227
9228
|
avatar: PropTypes.any,
|
|
9228
9229
|
/** The variant of the avatar. */
|
|
9229
9230
|
avatarVariant: PropTypes.oneOf(["round", "square"]),
|
|
9231
|
+
/** Display the avatar? */
|
|
9232
|
+
displayAvatar: PropTypes.bool,
|
|
9230
9233
|
/** String or object. Generally, stick to a string unless otherwise necessary. */
|
|
9231
9234
|
title: PropTypes.any,
|
|
9232
9235
|
/** HTML DOM object for the title. */
|