@wlloyalty/wll-react-sdk 1.0.65 → 1.0.67
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 +10 -9
- package/dist/native.js +3635 -20940
- package/dist/native.js.map +1 -1
- package/dist/types/components/atoms/Icon/index.d.ts +2 -2
- package/dist/types/components/hoc/withTileFetching.d.ts +1 -1
- package/dist/types/components/molecules/Grid/index.d.ts +1 -2
- package/dist/types/components/organisms/BadgeTile/index.d.ts +1 -2
- package/dist/types/components/organisms/BannerTile/index.d.ts +1 -2
- package/dist/types/components/organisms/ContentTile/index.d.ts +1 -2
- package/dist/types/components/organisms/PointsTile/index.d.ts +1 -2
- package/dist/types/components/organisms/RewardCategoryTile/index.d.ts +1 -2
- package/dist/types/components/organisms/RewardTile/index.d.ts +1 -2
- package/dist/types/context/ResponsiveContext.d.ts +2 -2
- package/dist/web.js +2227 -699
- package/dist/web.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as LucideReactIcons from 'lucide-react';
|
|
2
2
|
import { ViewProps } from 'react-native';
|
|
3
|
-
type IconName = keyof typeof
|
|
3
|
+
type IconName = keyof typeof LucideReactIcons;
|
|
4
4
|
type IconProps = {
|
|
5
5
|
name: IconName;
|
|
6
6
|
color?: string;
|
|
@@ -6,4 +6,4 @@ export type WithTileFetchingProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare function withTileFetching<P extends {
|
|
8
8
|
tile: Tile;
|
|
9
|
-
}>(WrappedComponent: React.ComponentType<P>): (props: Omit<P, "tile"> & WithTileFetchingProps) =>
|
|
9
|
+
}>(WrappedComponent: React.ComponentType<P>): (props: Omit<P, "tile"> & WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TSection } from '../../../types/section';
|
|
3
2
|
type GridProps = {
|
|
4
3
|
section: TSection;
|
|
5
4
|
};
|
|
6
|
-
declare const Grid: ({ section }: GridProps) =>
|
|
5
|
+
declare const Grid: ({ section }: GridProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export default Grid;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type BadgeTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -13,5 +12,5 @@ export declare const BadgeTile: (({ tile }: BadgeTileProps) => JSX.Element | nul
|
|
|
13
12
|
DateEarned: () => JSX.Element | null;
|
|
14
13
|
Status: () => JSX.Element | null;
|
|
15
14
|
};
|
|
16
|
-
declare const _default: (props: Omit<BadgeTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
15
|
+
declare const _default: (props: Omit<BadgeTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type BannerTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -14,5 +13,5 @@ export declare const BannerTile: (({ tile }: BannerTileProps) => JSX.Element | n
|
|
|
14
13
|
Description: () => JSX.Element | null;
|
|
15
14
|
CTA: () => JSX.Element | null;
|
|
16
15
|
};
|
|
17
|
-
declare const _default: (props: Omit<BannerTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
16
|
+
declare const _default: (props: Omit<BannerTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type ContentTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -13,5 +12,5 @@ export declare const ContentTile: (({ tile }: ContentTileProps) => JSX.Element |
|
|
|
13
12
|
Header: () => JSX.Element | null;
|
|
14
13
|
Body: () => JSX.Element;
|
|
15
14
|
};
|
|
16
|
-
declare const _default: (props: Omit<ContentTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
15
|
+
declare const _default: (props: Omit<ContentTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type PointsTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -13,5 +12,5 @@ export declare const PointsTile: (({ tile }: PointsTileProps) => JSX.Element | n
|
|
|
13
12
|
isFullSize: boolean;
|
|
14
13
|
}) => JSX.Element | null;
|
|
15
14
|
};
|
|
16
|
-
declare const _default: (props: Omit<PointsTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
15
|
+
declare const _default: (props: Omit<PointsTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type RewardCategoryTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -10,5 +9,5 @@ export declare const RewardCategoryTile: (({ tile, }: RewardCategoryTileProps) =
|
|
|
10
9
|
Header: () => JSX.Element | null;
|
|
11
10
|
Media: () => JSX.Element | null;
|
|
12
11
|
};
|
|
13
|
-
declare const _default: (props: Omit<RewardCategoryTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
12
|
+
declare const _default: (props: Omit<RewardCategoryTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Tile } from '../../../types/tile';
|
|
3
2
|
type RewardTileProps = {
|
|
4
3
|
tile: Tile;
|
|
@@ -15,5 +14,5 @@ export declare const RewardTile: (({ tile }: RewardTileProps) => JSX.Element | n
|
|
|
15
14
|
Points: () => JSX.Element | null;
|
|
16
15
|
Chevron: () => JSX.Element;
|
|
17
16
|
};
|
|
18
|
-
declare const _default: (props: Omit<RewardTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) =>
|
|
17
|
+
declare const _default: (props: Omit<RewardTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
18
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { ResponsiveContextType } from '../types/responsive';
|
|
3
|
-
export declare function ResponsiveProvider({ children }: PropsWithChildren):
|
|
3
|
+
export declare function ResponsiveProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare function useResponsive(): ResponsiveContextType;
|