ugcinc-render 1.8.209 → 1.8.210

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
@@ -4605,7 +4605,7 @@ function generateStoryReplyElements(props, calculatedMessages) {
4605
4605
  height: imageHeight,
4606
4606
  zIndex: 3,
4607
4607
  inputId: `${STORY_REPLY_INPUT_ID_PREFIX}${cm.message.id}`,
4608
- fit: "cover",
4608
+ fit: "contain",
4609
4609
  borderRadius: storyReplyImageBorderRadius
4610
4610
  });
4611
4611
  const barWidth = storyReplyBarRight - storyReplyBarLeft;
@@ -5795,7 +5795,7 @@ function generateMessageElements2(props, calculatedMessages) {
5795
5795
  zIndex: 5 + i,
5796
5796
  inputId: `${SENDER_IMAGE_INPUT_ID_PREFIX}${cm.message.id}`,
5797
5797
  borderRadius: senderImageBorderRadius,
5798
- fit: "cover"
5798
+ fit: "contain"
5799
5799
  });
5800
5800
  }
5801
5801
  const radii = getCornerRadii2(cm, bubbleRadiusNormal, bubbleRadiusGrouped);
package/dist/index.mjs CHANGED
@@ -3651,7 +3651,7 @@ function generateStoryReplyElements(props, calculatedMessages) {
3651
3651
  height: imageHeight,
3652
3652
  zIndex: 3,
3653
3653
  inputId: `${STORY_REPLY_INPUT_ID_PREFIX}${cm.message.id}`,
3654
- fit: "cover",
3654
+ fit: "contain",
3655
3655
  borderRadius: storyReplyImageBorderRadius
3656
3656
  });
3657
3657
  const barWidth = storyReplyBarRight - storyReplyBarLeft;
@@ -4841,7 +4841,7 @@ function generateMessageElements2(props, calculatedMessages) {
4841
4841
  zIndex: 5 + i,
4842
4842
  inputId: `${SENDER_IMAGE_INPUT_ID_PREFIX}${cm.message.id}`,
4843
4843
  borderRadius: senderImageBorderRadius,
4844
- fit: "cover"
4844
+ fit: "contain"
4845
4845
  });
4846
4846
  }
4847
4847
  const radii = getCornerRadii2(cm, bubbleRadiusNormal, bubbleRadiusGrouped);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.209",
3
+ "version": "1.8.210",
4
4
  "description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",