@wlloyalty/wll-react-sdk 1.6.12 → 1.6.14
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 +2 -4
- package/dist/native.js.map +1 -1
- package/dist/web.js +5 -3
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -3486,7 +3486,7 @@ var BadgeTileTitle = function () {
|
|
|
3486
3486
|
: name;
|
|
3487
3487
|
if (!displayText)
|
|
3488
3488
|
return null;
|
|
3489
|
-
return (jsxRuntimeExports.jsx(reactNative.View, { accessible: true, accessibilityLabel: "Badge title: ".concat(displayText), testID: "badge-tile-title", children: jsxRuntimeExports.jsx(Text, { variant: "title", style: styles.titleText, numberOfLines:
|
|
3489
|
+
return (jsxRuntimeExports.jsx(reactNative.View, { accessible: true, accessibilityLabel: "Badge title: ".concat(displayText), testID: "badge-tile-title", children: jsxRuntimeExports.jsx(Text, { variant: "title", style: styles.titleText, numberOfLines: 2, ellipsizeMode: "tail", accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", children: displayText }) }));
|
|
3490
3490
|
};
|
|
3491
3491
|
|
|
3492
3492
|
/**
|
|
@@ -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
|
|