aefis-core-ui 2.3.0-rc28 → 2.3.0-rc29
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 +9 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -755,7 +755,7 @@ const DismissableAlert = props => {
|
|
|
755
755
|
}),
|
|
756
756
|
children: [props.title && /*#__PURE__*/jsx(AlertTitle, {
|
|
757
757
|
children: props.title
|
|
758
|
-
}), /*#__PURE__*/jsx(Box$1, {
|
|
758
|
+
}), props.description && /*#__PURE__*/jsx(Box$1, {
|
|
759
759
|
sx: {
|
|
760
760
|
paddingRight: 0.5
|
|
761
761
|
},
|
|
@@ -767,7 +767,7 @@ const DismissableAlert = props => {
|
|
|
767
767
|
DismissableAlert.propTypes = {
|
|
768
768
|
severity: PropTypes.string,
|
|
769
769
|
title: PropTypes.string,
|
|
770
|
-
description: PropTypes.string
|
|
770
|
+
description: PropTypes.string,
|
|
771
771
|
reference: PropTypes.any,
|
|
772
772
|
onDismiss: PropTypes.func,
|
|
773
773
|
sx: PropTypes.any,
|
|
@@ -820,7 +820,7 @@ const Alert = /*#__PURE__*/forwardRef(function Alert(props, ref) {
|
|
|
820
820
|
role: props.role,
|
|
821
821
|
children: [props.title && /*#__PURE__*/jsx(AlertTitle, {
|
|
822
822
|
children: props.title
|
|
823
|
-
}), /*#__PURE__*/jsx(Box$1, {
|
|
823
|
+
}), props.description && /*#__PURE__*/jsx(Box$1, {
|
|
824
824
|
sx: {
|
|
825
825
|
paddingRight: 0.5
|
|
826
826
|
},
|
|
@@ -4357,6 +4357,7 @@ const RenderCard = props => {
|
|
|
4357
4357
|
title: props.title,
|
|
4358
4358
|
titleComponent: props.titleComponent,
|
|
4359
4359
|
subtitle: props.subtitle,
|
|
4360
|
+
menu: props.menu || undefined,
|
|
4360
4361
|
image: props.headerImage,
|
|
4361
4362
|
imageContent: props.headerContent,
|
|
4362
4363
|
imageHeight: props.headerImage || props.gradientColorHeaderImageId ? props.size === "small" ? 100 : 125 : undefined,
|
|
@@ -4415,7 +4416,8 @@ RenderCard.propTypes = {
|
|
|
4415
4416
|
cardStyle: PropTypes.any,
|
|
4416
4417
|
containerStyle: PropTypes.any,
|
|
4417
4418
|
dense: PropTypes.bool,
|
|
4418
|
-
sx: PropTypes.object
|
|
4419
|
+
sx: PropTypes.object,
|
|
4420
|
+
menu: PropTypes.any
|
|
4419
4421
|
};
|
|
4420
4422
|
const BusinessObjectCard = props => {
|
|
4421
4423
|
return props.displayType === "skeleton" ? /*#__PURE__*/jsx(RenderSkeleton, {
|
|
@@ -4469,7 +4471,9 @@ BusinessObjectCard.propTypes = {
|
|
|
4469
4471
|
/** Additional styles to apply */
|
|
4470
4472
|
sx: PropTypes.object,
|
|
4471
4473
|
/** Compact display? */
|
|
4472
|
-
dense: PropTypes.bool
|
|
4474
|
+
dense: PropTypes.bool,
|
|
4475
|
+
/** Add a menu to the header of the content box. */
|
|
4476
|
+
menu: PropTypes.any
|
|
4473
4477
|
};
|
|
4474
4478
|
|
|
4475
4479
|
const _excluded$h = ["enableScrollTop", "containerProps"];
|