@wlloyalty/wll-react-sdk 1.6.16 → 1.6.17
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
|
@@ -20588,9 +20588,11 @@ var ContentTileMedia = function (_a) {
|
|
|
20588
20588
|
if (!artworkUrl) return null;
|
|
20589
20589
|
var hasArtwork = Boolean(artworkUrl);
|
|
20590
20590
|
var styles = useContentTileStyles(hasArtwork);
|
|
20591
|
-
var containerStyle = {
|
|
20591
|
+
var containerStyle = __assign({
|
|
20592
20592
|
flexBasis: isArtworkOnly ? '100%' : '50%'
|
|
20593
|
-
}
|
|
20593
|
+
}, isArtworkOnly && IS_WEB && {
|
|
20594
|
+
aspectRatio: 1
|
|
20595
|
+
});
|
|
20594
20596
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
20595
20597
|
style: [styles.imageContainer, containerStyle],
|
|
20596
20598
|
testID: "content-tile-media",
|