@wlloyalty/wll-react-sdk 1.0.79 → 1.0.80

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
@@ -20566,7 +20566,6 @@ var Grid = function (_a) {
20566
20566
  aspectRatio: 1
20567
20567
  };
20568
20568
  } else {
20569
- // For mobile, we need to be very precise with our calculations
20570
20569
  var horizontalPadding = GRID_GAP;
20571
20570
  var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
20572
20571
  var gapSpace = (columns - 1) * GRID_GAP;
@@ -20604,12 +20603,11 @@ var Grid = function (_a) {
20604
20603
  key: "container-".concat(index),
20605
20604
  style: [
20606
20605
  // @ts-ignore Web uses CSS calc strings for responsive layouts, while ViewStyle expects numbers
20607
- getTileWidth(columnsPerRow), !isLastInRow && {
20606
+ getTileWidth(columnsPerRow), IS_WEB && !isLastInRow && {
20608
20607
  marginRight: GRID_GAP
20609
20608
  }, {
20610
20609
  overflow: 'hidden'
20611
- } // Prevent content from overflowing
20612
- ]
20610
+ }]
20613
20611
  }, /*#__PURE__*/React.createElement(TileContainer, {
20614
20612
  tiles: currentTiles
20615
20613
  })));