@wlloyalty/wll-react-sdk 1.0.82 → 1.0.83

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/web.js CHANGED
@@ -18804,9 +18804,7 @@ var ProgressiveImage = function (_a) {
18804
18804
  // Platform-specific logic for desaturation
18805
18805
  var desaturationStyle = IS_WEB ? {
18806
18806
  filter: isDesaturated ? 'grayscale(100%)' : undefined
18807
- } : {
18808
- tintColor: isDesaturated ? desaturatedColor : undefined
18809
- };
18807
+ } : {};
18810
18808
  return /*#__PURE__*/React.createElement(View$2, {
18811
18809
  style: [styles$7.container, style, {
18812
18810
  backgroundColor: backgroundColor
@@ -20597,16 +20595,11 @@ var Grid = function (_a) {
20597
20595
  return true;
20598
20596
  };
20599
20597
  if (shouldStartNewContainer(currentTiles, tile, nextTile)) {
20600
- var isLastInRow = (tileContainers.length + 1) % columnsPerRow === 0;
20601
20598
  tileContainers.push(/*#__PURE__*/React.createElement(View$2, {
20602
20599
  key: "container-".concat(index),
20603
20600
  style: [
20604
20601
  // @ts-ignore Web uses CSS calc strings for responsive layouts, while ViewStyle expects numbers
20605
- getTileWidth(columnsPerRow), IS_WEB && !isLastInRow && {
20606
- marginRight: GRID_GAP
20607
- }, {
20608
- overflow: 'hidden'
20609
- }]
20602
+ getTileWidth(columnsPerRow)]
20610
20603
  }, /*#__PURE__*/React.createElement(TileContainer, {
20611
20604
  tiles: currentTiles
20612
20605
  })));
@@ -20627,7 +20620,7 @@ var styles$2 = StyleSheet$1.create({
20627
20620
  flexDirection: 'row',
20628
20621
  flexWrap: 'wrap',
20629
20622
  width: '100%',
20630
- justifyContent: 'space-between' // Ensure tiles are evenly spaced
20623
+ justifyContent: 'space-between'
20631
20624
  }
20632
20625
  });
20633
20626
 
@@ -21723,7 +21716,11 @@ var RewardTileTitle = function () {
21723
21716
  numberOfLines: 1,
21724
21717
  accessibilityRole: "header",
21725
21718
  accessibilityLabel: "Reward title: ".concat(name),
21726
- testID: "reward-tile-title"
21719
+ testID: "reward-tile-title",
21720
+ style: {
21721
+ flex: 1,
21722
+ marginRight: 8
21723
+ }
21727
21724
  }, name);
21728
21725
  };
21729
21726