@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/web.js
CHANGED
|
@@ -20578,9 +20578,11 @@ var ContentTileMedia = function (_a) {
|
|
|
20578
20578
|
if (!artworkUrl) return null;
|
|
20579
20579
|
var hasArtwork = Boolean(artworkUrl);
|
|
20580
20580
|
var styles = useContentTileStyles(hasArtwork);
|
|
20581
|
-
var containerStyle = {
|
|
20581
|
+
var containerStyle = __assign({
|
|
20582
20582
|
flexBasis: isArtworkOnly ? '100%' : '50%'
|
|
20583
|
-
}
|
|
20583
|
+
}, isArtworkOnly && {
|
|
20584
|
+
aspectRatio: 1
|
|
20585
|
+
});
|
|
20584
20586
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
20585
20587
|
style: [styles.imageContainer, containerStyle],
|
|
20586
20588
|
testID: "content-tile-media",
|