@wlloyalty/wll-react-sdk 1.6.17 → 1.6.19
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 +4 -2
- package/dist/native.js.map +1 -1
- package/dist/web.js +6 -4
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -3361,6 +3361,7 @@ var BadgeTileDateEarned = function () {
|
|
|
3361
3361
|
var BadgeTileDescription = function () {
|
|
3362
3362
|
var tileContext = useTileContext();
|
|
3363
3363
|
var width = reactNative.useWindowDimensions().width;
|
|
3364
|
+
var theme = useWllSdk().theme;
|
|
3364
3365
|
if (!isContextValid(tileContext))
|
|
3365
3366
|
return null;
|
|
3366
3367
|
var _a = tileContext.configuration, count = _a.count, description = _a.description, type = _a.type;
|
|
@@ -3382,6 +3383,7 @@ var BadgeTileDescription = function () {
|
|
|
3382
3383
|
return (jsxRuntimeExports.jsx(reactNative.View, { accessible: true, accessibilityLabel: "Badge description: ".concat(description), testID: "badge-tile-description", style: {
|
|
3383
3384
|
width: '100%',
|
|
3384
3385
|
overflow: 'hidden',
|
|
3386
|
+
paddingBottom: theme.sizes.xxs,
|
|
3385
3387
|
}, children: jsxRuntimeExports.jsx(Text, { variant: "body", numberOfLines: numberOfLines, ellipsizeMode: "tail", accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", children: description }) }));
|
|
3386
3388
|
};
|
|
3387
3389
|
|
|
@@ -4821,6 +4823,7 @@ var usePointsTileStyles = function (isFullSize) {
|
|
|
4821
4823
|
},
|
|
4822
4824
|
contentColumn: {
|
|
4823
4825
|
flexGrow: 1,
|
|
4826
|
+
paddingBottom: theme.sizes.xxs,
|
|
4824
4827
|
},
|
|
4825
4828
|
mediaColumn: {
|
|
4826
4829
|
flexDirection: 'row',
|
|
@@ -4842,7 +4845,6 @@ var usePointsTileStyles = function (isFullSize) {
|
|
|
4842
4845
|
},
|
|
4843
4846
|
imageContainer: {
|
|
4844
4847
|
width: isFullSize ? '100%' : isDesktop ? 57 : 40,
|
|
4845
|
-
height: isFullSize ? '50%' : isDesktop ? 57 : 40,
|
|
4846
4848
|
marginBottom: isFullSize
|
|
4847
4849
|
? useResponsiveValue(theme.sizes.sm, theme.sizes.xxs, isDesktop, isTablet)
|
|
4848
4850
|
: 0,
|
|
@@ -4854,9 +4856,9 @@ var usePointsTileStyles = function (isFullSize) {
|
|
|
4854
4856
|
overflow: 'hidden',
|
|
4855
4857
|
},
|
|
4856
4858
|
image: {
|
|
4859
|
+
minHeight: 130,
|
|
4857
4860
|
width: '100%',
|
|
4858
4861
|
height: '100%',
|
|
4859
|
-
position: 'absolute',
|
|
4860
4862
|
resizeMode: 'contain',
|
|
4861
4863
|
},
|
|
4862
4864
|
});
|