catchup-library-web 1.20.9 → 1.20.11

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.js CHANGED
@@ -561,7 +561,7 @@ var BaseImage = (0, import_react2.forwardRef)(
561
561
  "img",
562
562
  {
563
563
  ref,
564
- className: `${currentImageClassName} ${borderRadius}`,
564
+ className: `${currentImageClassName} ${borderRadius ? borderRadius : ""}`,
565
565
  src,
566
566
  alt,
567
567
  onLoad,
@@ -4531,7 +4531,9 @@ var ShowMaterialMediaByContentType = ({
4531
4531
  alt: "image",
4532
4532
  ref: imageRef,
4533
4533
  size: "custom",
4534
- imageClassName: "h-full w-full object-contain rounded-catchup-xlarge",
4534
+ widthClassName: "w-catchup-activity-media-box-item",
4535
+ heightClassName: "h-catchup-activity-media-box-item",
4536
+ imageClassName: "w-full h-full object-contain rounded-catchup-xlarge",
4535
4537
  onLoad: () => {
4536
4538
  setIsLoaded(true);
4537
4539
  }
package/dist/index.mjs CHANGED
@@ -345,7 +345,7 @@ var BaseImage = forwardRef(
345
345
  "img",
346
346
  {
347
347
  ref,
348
- className: `${currentImageClassName} ${borderRadius}`,
348
+ className: `${currentImageClassName} ${borderRadius ? borderRadius : ""}`,
349
349
  src,
350
350
  alt,
351
351
  onLoad,
@@ -4315,7 +4315,9 @@ var ShowMaterialMediaByContentType = ({
4315
4315
  alt: "image",
4316
4316
  ref: imageRef,
4317
4317
  size: "custom",
4318
- imageClassName: "h-full w-full object-contain rounded-catchup-xlarge",
4318
+ widthClassName: "w-catchup-activity-media-box-item",
4319
+ heightClassName: "h-catchup-activity-media-box-item",
4320
+ imageClassName: "w-full h-full object-contain rounded-catchup-xlarge",
4319
4321
  onLoad: () => {
4320
4322
  setIsLoaded(true);
4321
4323
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.20.09",
3
+ "version": "1.20.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -88,7 +88,9 @@ const ShowMaterialMediaByContentType = ({
88
88
  alt="image"
89
89
  ref={imageRef}
90
90
  size="custom"
91
- imageClassName="h-full w-full object-contain rounded-catchup-xlarge"
91
+ widthClassName="w-catchup-activity-media-box-item"
92
+ heightClassName="h-catchup-activity-media-box-item"
93
+ imageClassName="w-full h-full object-contain rounded-catchup-xlarge"
92
94
  onLoad={() => {
93
95
  setIsLoaded(true);
94
96
  }}
@@ -102,7 +102,9 @@ const BaseImage = forwardRef<HTMLImageElement, IBaseImageProps>(
102
102
  >
103
103
  <img
104
104
  ref={ref}
105
- className={`${currentImageClassName} ${borderRadius}`}
105
+ className={`${currentImageClassName} ${
106
+ borderRadius ? borderRadius : ""
107
+ }`}
106
108
  src={src}
107
109
  alt={alt}
108
110
  onLoad={onLoad}