aefis-core-ui 3.0.0-rc114 → 3.0.0-rc115

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.
@@ -6581,7 +6581,7 @@ const ContentBox = ({
6581
6581
  displayType: _displayType = "default",
6582
6582
  tag,
6583
6583
  image,
6584
- imageHeigh: _imageHeigh = 150,
6584
+ imageHeight: _imageHeight = 150,
6585
6585
  imageContent,
6586
6586
  imageBackgroundColor: _imageBackgroundColor = "transparent",
6587
6587
  gradientColorHeaderImageId,
@@ -6787,11 +6787,11 @@ const ContentBox = ({
6787
6787
  }
6788
6788
  // eslint-disable-next-line
6789
6789
  const newTag = tag ? useTag(tag) : {};
6790
- const useHeaderImage = image !== undefined && typeofimage === "string" || gradientColorHeaderImageId !== undefined ? true : false;
6791
- const useLocalHeaderImage = image !== undefined && typeofimage !== "string" ? true : false;
6790
+ const useHeaderImage = image !== undefined && typeof image === "string" || gradientColorHeaderImageId !== undefined ? true : false;
6791
+ const useLocalHeaderImage = image !== undefined && typeof image !== "string" ? true : false;
6792
6792
  const imageDivStyle = image !== undefined || gradientColorHeaderImageId !== undefined ? {
6793
6793
  backgroundImage: gradientColorHeaderImageId !== undefined ? "linear-gradient(135deg," + getGradientBackgroundColorArray(gradientColorHeaderImageId)[0] + " 10%," + getGradientBackgroundColorArray(gradientColorHeaderImageId)[1] + ")" : "url(" + image + ")",
6794
- height: imageHeight,
6794
+ height: _imageHeight,
6795
6795
  backgroundColor: _imageBackgroundColor ? _imageBackgroundColor : "transparent"
6796
6796
  } : {};
6797
6797
  const otherSx = !children && !description ? {
@@ -6826,7 +6826,7 @@ const ContentBox = ({
6826
6826
  title: title,
6827
6827
  children: imageContent
6828
6828
  }), useLocalHeaderImage && /*#__PURE__*/jsx(CardMedia, {
6829
- height: imageHeight,
6829
+ height: _imageHeight,
6830
6830
  component: "img",
6831
6831
  alt: "",
6832
6832
  image: image