@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/native.js CHANGED
@@ -3656,8 +3656,7 @@ var Grid = function (_a) {
3656
3656
  };
3657
3657
  }
3658
3658
  else {
3659
- var horizontalPadding = GRID_GAP;
3660
- var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
3659
+ var availableWidth = SCREEN_WIDTH - GRID_GAP * 2;
3661
3660
  var gapSpace = (columns - 1) * GRID_GAP;
3662
3661
  var tileWidth = Math.floor((availableWidth - gapSpace) / columns);
3663
3662
  return {
@@ -4660,16 +4659,18 @@ var styles = reactNative.StyleSheet.create({
4660
4659
  container: {
4661
4660
  flexDirection: 'column',
4662
4661
  flex: 1,
4663
- aspectRatio: 1,
4664
- width: '100%', // Ensure the container takes full width
4662
+ width: '100%',
4663
+ height: '100%',
4665
4664
  },
4666
4665
  tileContainer: {
4667
- flex: 1,
4668
- aspectRatio: 1,
4669
- width: '100%', // Ensure each tile takes full width of its container
4666
+ flexGrow: 1,
4667
+ flexShrink: 1,
4668
+ flexBasis: '100%',
4669
+ width: '100%',
4670
4670
  },
4671
4671
  halfTileContainer: {
4672
- flex: 0.5,
4672
+ flexBasis: '50%',
4673
+ height: '50%',
4673
4674
  },
4674
4675
  });
4675
4676