@wlloyalty/wll-react-sdk 1.6.18 → 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 +2 -0
- package/dist/native.js.map +1 -1
- package/dist/web.js +3 -1
- 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
|
|