@wlloyalty/wll-react-sdk 1.0.80 → 1.0.82

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,8 +20566,7 @@ var Grid = function (_a) {
20566
20566
  aspectRatio: 1
20567
20567
  };
20568
20568
  } else {
20569
- var horizontalPadding = GRID_GAP;
20570
- var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
20569
+ var availableWidth = SCREEN_WIDTH - GRID_GAP * 2;
20571
20570
  var gapSpace = (columns - 1) * GRID_GAP;
20572
20571
  var tileWidth = Math.floor((availableWidth - gapSpace) / columns);
20573
20572
  return {
@@ -21990,16 +21989,18 @@ var styles = StyleSheet$1.create({
21990
21989
  container: {
21991
21990
  flexDirection: 'column',
21992
21991
  flex: 1,
21993
- aspectRatio: 1,
21994
- width: '100%' // Ensure the container takes full width
21992
+ width: '100%',
21993
+ height: '100%'
21995
21994
  },
21996
21995
  tileContainer: {
21997
- flex: 1,
21998
- aspectRatio: 1,
21999
- width: '100%' // Ensure each tile takes full width of its container
21996
+ flexGrow: 1,
21997
+ flexShrink: 1,
21998
+ flexBasis: '100%',
21999
+ width: '100%'
22000
22000
  },
22001
22001
  halfTileContainer: {
22002
- flex: 0.5
22002
+ flexBasis: '50%',
22003
+ height: '50%'
22003
22004
  }
22004
22005
  });
22005
22006