@wlloyalty/wll-react-sdk 1.6.12 → 1.6.13
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/native.js +1 -3
- package/dist/native.js.map +1 -1
- package/dist/web.js +4 -2
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -3708,9 +3708,7 @@ var ContentTileMedia = function (_a) {
|
|
|
3708
3708
|
return null;
|
|
3709
3709
|
var hasArtwork = Boolean(artworkUrl);
|
|
3710
3710
|
var styles = useContentTileStyles(hasArtwork);
|
|
3711
|
-
var containerStyle = {
|
|
3712
|
-
flexBasis: isArtworkOnly ? '100%' : '50%',
|
|
3713
|
-
};
|
|
3711
|
+
var containerStyle = __assign({ flexBasis: isArtworkOnly ? '100%' : '50%' }, (isArtworkOnly && { aspectRatio: 1 }));
|
|
3714
3712
|
return (jsxRuntimeExports.jsx(reactNative.View, { style: [styles.imageContainer, containerStyle], testID: "content-tile-media", role: "img", accessibilityLabel: "Image for ".concat(title), children: jsxRuntimeExports.jsx(ProgressiveImage, { source: { uri: artworkUrl }, style: styles.image, alt: "Image for ".concat(title) }) }));
|
|
3715
3713
|
};
|
|
3716
3714
|
|