@wlloyalty/wll-react-sdk 1.6.18 → 1.6.20
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 -1
- package/dist/native.js.map +1 -1
- package/dist/web.js +6 -5
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -20124,6 +20124,7 @@ var BadgeTileDateEarned = function () {
|
|
|
20124
20124
|
var BadgeTileDescription = function () {
|
|
20125
20125
|
var tileContext = useTileContext();
|
|
20126
20126
|
var width = useWindowDimensions().width;
|
|
20127
|
+
var theme = useWllSdk().theme;
|
|
20127
20128
|
if (!isContextValid(tileContext)) return null;
|
|
20128
20129
|
var _a = tileContext.configuration,
|
|
20129
20130
|
count = _a.count,
|
|
@@ -20145,7 +20146,8 @@ var BadgeTileDescription = function () {
|
|
|
20145
20146
|
testID: "badge-tile-description",
|
|
20146
20147
|
style: {
|
|
20147
20148
|
width: '100%',
|
|
20148
|
-
overflow: 'hidden'
|
|
20149
|
+
overflow: 'hidden',
|
|
20150
|
+
paddingBottom: theme.sizes.xxs
|
|
20149
20151
|
}
|
|
20150
20152
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
20151
20153
|
variant: "body",
|
|
@@ -20703,10 +20705,9 @@ var ContentTileRoot = function (_a) {
|
|
|
20703
20705
|
isArtworkOnly: isArtworkOnly$1(configuration)
|
|
20704
20706
|
}), !isArtworkOnly$1(configuration) && (/*#__PURE__*/React.createElement(Layout, {
|
|
20705
20707
|
justify: hasArtwork ? 'start' : 'center',
|
|
20706
|
-
style: {
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
}
|
|
20708
|
+
style: __assign({}, !hasArtwork && tile.tileHeight === exports.TileHeight.Full && {
|
|
20709
|
+
aspectRatio: 1
|
|
20710
|
+
})
|
|
20710
20711
|
}, /*#__PURE__*/React.createElement(Row, {
|
|
20711
20712
|
justify: "between",
|
|
20712
20713
|
align: "center",
|