@wlloyalty/wll-react-sdk 1.0.68 → 1.0.69

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/index.d.ts CHANGED
@@ -3,7 +3,6 @@ import * as react_native from 'react-native';
3
3
  import { ViewProps, ImageSourcePropType, StyleProp, ViewStyle, TextProps as TextProps$1, TextStyle, ImageProps } from 'react-native';
4
4
  import * as React$1 from 'react';
5
5
  import React__default from 'react';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
6
 
8
7
  declare const sizes: {
9
8
  readonly borderRadiusSm: 15;
@@ -532,7 +531,7 @@ declare const Carousel: ({ section }: CarouselProps) => JSX.Element | null;
532
531
  type GridProps = {
533
532
  section: TSection;
534
533
  };
535
- declare const Grid: ({ section }: GridProps) => react_jsx_runtime.JSX.Element | null;
534
+ declare const Grid: ({ section }: GridProps) => React__default.JSX.Element | null;
536
535
 
537
536
  type ProgressIndicatorProps = {
538
537
  currentPoints: number;
@@ -557,17 +556,17 @@ type WithTileFetchingProps = {
557
556
  type BadgeTileProps = {
558
557
  tile: Tile;
559
558
  };
560
- declare const _default$5: (props: Omit<BadgeTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
559
+ declare const _default$5: (props: Omit<BadgeTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
561
560
 
562
561
  type BannerTileProps = {
563
562
  tile: Tile;
564
563
  };
565
- declare const _default$4: (props: Omit<BannerTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
564
+ declare const _default$4: (props: Omit<BannerTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
566
565
 
567
566
  type ContentTileProps = {
568
567
  tile: Tile;
569
568
  };
570
- declare const _default$3: (props: Omit<ContentTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
569
+ declare const _default$3: (props: Omit<ContentTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
571
570
 
572
571
  type TGroup = {
573
572
  name: string;
@@ -598,17 +597,17 @@ declare const Group: ({ id }: GroupProps) => JSX.Element | null;
598
597
  type PointsTileProps = {
599
598
  tile: Tile;
600
599
  };
601
- declare const _default$2: (props: Omit<PointsTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
600
+ declare const _default$2: (props: Omit<PointsTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
602
601
 
603
602
  type RewardCategoryTileProps = {
604
603
  tile: Tile;
605
604
  };
606
- declare const _default$1: (props: Omit<RewardCategoryTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
605
+ declare const _default$1: (props: Omit<RewardCategoryTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
607
606
 
608
607
  type RewardTileProps = {
609
608
  tile: Tile;
610
609
  };
611
- declare const _default: (props: Omit<RewardTileProps, "tile"> & WithTileFetchingProps) => react_jsx_runtime.JSX.Element;
610
+ declare const _default: (props: Omit<RewardTileProps, "tile"> & WithTileFetchingProps) => React__default.JSX.Element;
612
611
 
613
612
  type SectionProps = {
614
613
  section?: TSection;
package/dist/native.js CHANGED
@@ -3652,6 +3652,7 @@ var Grid = function (_a) {
3652
3652
  width: "calc(".concat(100 / columns, "% - ").concat(((columns - 1) * GRID_GAP) / columns, "px)"),
3653
3653
  marginBottom: GRID_GAP,
3654
3654
  height: 'auto',
3655
+ aspectRatio: 1,
3655
3656
  };
3656
3657
  }
3657
3658
  else {
@@ -3659,7 +3660,7 @@ var Grid = function (_a) {
3659
3660
  return {
3660
3661
  width: tileWidth,
3661
3662
  marginBottom: GRID_GAP,
3662
- height: 'auto',
3663
+ aspectRatio: 1,
3663
3664
  };
3664
3665
  }
3665
3666
  }, []);