aefis-core-ui 3.0.0-rc118 → 3.0.0-rc119

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.
@@ -6578,6 +6578,7 @@ const ContentBox = ({
6578
6578
  titleComponent: _titleComponent = "div",
6579
6579
  avatar,
6580
6580
  description,
6581
+ descriptionVariant: _descriptionVariant = "body2",
6581
6582
  actions,
6582
6583
  afterActionContent,
6583
6584
  displayType: _displayType = "default",
@@ -6848,7 +6849,7 @@ const ContentBox = ({
6848
6849
  }, otherSx, cardContentSx),
6849
6850
  children: _collapsible ? /*#__PURE__*/jsxs(CollapsibleContentContainer, {
6850
6851
  children: [description && /*#__PURE__*/jsx(Typography, {
6851
- variant: "body2",
6852
+ variant: _descriptionVariant,
6852
6853
  sx: {
6853
6854
  color: "text.secondary"
6854
6855
  },
@@ -6859,7 +6860,7 @@ const ContentBox = ({
6859
6860
  })]
6860
6861
  }) : /*#__PURE__*/jsxs(React__default.Fragment, {
6861
6862
  children: [description && /*#__PURE__*/jsx(Typography, {
6862
- variant: "body2",
6863
+ variant: _descriptionVariant,
6863
6864
  sx: {
6864
6865
  color: "text.secondary"
6865
6866
  },
@@ -6871,7 +6872,7 @@ const ContentBox = ({
6871
6872
  })
6872
6873
  }), !_formatContent && /*#__PURE__*/jsxs(React__default.Fragment, {
6873
6874
  children: [description && /*#__PURE__*/jsx(Typography, {
6874
- variant: "body2",
6875
+ variant: _descriptionVariant,
6875
6876
  sx: {
6876
6877
  color: "text.secondary"
6877
6878
  },
@@ -6945,6 +6946,8 @@ ContentBox.propTypes = {
6945
6946
  avatar: PropTypes.any,
6946
6947
  /** Description text to be displayed in the body of the content box. Can be a string or any component. */
6947
6948
  description: PropTypes.any,
6949
+ /** Typography variant for the description. */
6950
+ descriptionVariant: PropTypes.string,
6948
6951
  /** Component to display in the footer of the content box. */
6949
6952
  actions: PropTypes.any,
6950
6953
  /** Content to display after the content box actions. */