@wlloyalty/wll-react-sdk 1.4.4 → 1.4.6

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.
Files changed (76) hide show
  1. package/dist/index.d.ts +56 -37
  2. package/dist/native.js +535 -1421
  3. package/dist/native.js.map +1 -1
  4. package/dist/types/components/atoms/BaseTile/base-tile-body.d.ts +3 -2
  5. package/dist/types/components/atoms/BaseTile/base-tile-content.d.ts +3 -2
  6. package/dist/types/components/atoms/BaseTile/base-tile-header.d.ts +3 -2
  7. package/dist/types/components/atoms/BaseTile/base-tile-media.d.ts +3 -2
  8. package/dist/types/components/atoms/BaseTile/base-tile-title.d.ts +3 -2
  9. package/dist/types/components/atoms/BaseTile/index.d.ts +8 -7
  10. package/dist/types/components/atoms/Button/index.d.ts +2 -1
  11. package/dist/types/components/atoms/Chip/Chip.spec.d.ts +1 -0
  12. package/dist/types/components/atoms/Chip/Chip.stories.d.ts +7 -0
  13. package/dist/types/components/atoms/Chip/index.d.ts +17 -0
  14. package/dist/types/components/atoms/Chip/styles.d.ts +20 -0
  15. package/dist/types/components/atoms/Icon/index.d.ts +2 -1
  16. package/dist/types/components/atoms/Indicator/index.d.ts +2 -1
  17. package/dist/types/components/atoms/LoadingIndicator/index.d.ts +2 -1
  18. package/dist/types/components/atoms/Primatives/Column.d.ts +1 -1
  19. package/dist/types/components/atoms/Primatives/FullFlex.d.ts +1 -1
  20. package/dist/types/components/atoms/Primatives/Layout.d.ts +1 -1
  21. package/dist/types/components/atoms/Primatives/Row.d.ts +1 -1
  22. package/dist/types/components/atoms/Primatives/Spacer.d.ts +2 -1
  23. package/dist/types/components/atoms/ProgressBar/index.d.ts +2 -1
  24. package/dist/types/components/atoms/ProgressiveImage/index.d.ts +2 -1
  25. package/dist/types/components/atoms/Skeleton/index.d.ts +2 -1
  26. package/dist/types/components/atoms/SkeletonTile/index.d.ts +2 -1
  27. package/dist/types/components/atoms/Text/index.d.ts +4 -3
  28. package/dist/types/components/atoms/TileContainer/index.d.ts +2 -1
  29. package/dist/types/components/atoms/index.d.ts +1 -0
  30. package/dist/types/components/molecules/Carousel/index.d.ts +2 -1
  31. package/dist/types/components/molecules/CarouselNavButton/index.d.ts +2 -1
  32. package/dist/types/components/molecules/ProgressIndicator/index.d.ts +2 -1
  33. package/dist/types/components/molecules/SectionHeader/index.d.ts +2 -1
  34. package/dist/types/components/organisms/BadgeTile/badge-tile-date-earned.d.ts +3 -2
  35. package/dist/types/components/organisms/BadgeTile/badge-tile-description.d.ts +3 -2
  36. package/dist/types/components/organisms/BadgeTile/badge-tile-media.d.ts +2 -2
  37. package/dist/types/components/organisms/BadgeTile/badge-tile-status.d.ts +3 -2
  38. package/dist/types/components/organisms/BadgeTile/badge-tile-title.d.ts +3 -2
  39. package/dist/types/components/organisms/BadgeTile/index.d.ts +6 -6
  40. package/dist/types/components/organisms/BannerTile/banner-tile-cta.d.ts +3 -2
  41. package/dist/types/components/organisms/BannerTile/banner-tile-description.d.ts +3 -2
  42. package/dist/types/components/organisms/BannerTile/banner-tile-media.d.ts +3 -2
  43. package/dist/types/components/organisms/BannerTile/banner-tile-title.d.ts +3 -2
  44. package/dist/types/components/organisms/BannerTile/index.d.ts +5 -5
  45. package/dist/types/components/organisms/ContentTile/content-tile-chevron.d.ts +2 -1
  46. package/dist/types/components/organisms/ContentTile/content-tile-media.d.ts +2 -1
  47. package/dist/types/components/organisms/ContentTile/content-tile-summary.d.ts +2 -1
  48. package/dist/types/components/organisms/ContentTile/content-tile-title.d.ts +2 -1
  49. package/dist/types/components/organisms/ContentTile/index.d.ts +5 -5
  50. package/dist/types/components/organisms/Group/index.d.ts +6 -6
  51. package/dist/types/components/organisms/PointsTile/index.d.ts +5 -5
  52. package/dist/types/components/organisms/PointsTile/points-tile-chevron.d.ts +3 -2
  53. package/dist/types/components/organisms/PointsTile/points-tile-formatted-points.d.ts +3 -2
  54. package/dist/types/components/organisms/PointsTile/points-tile-media.d.ts +3 -2
  55. package/dist/types/components/organisms/PointsTile/points-tile-title.d.ts +3 -2
  56. package/dist/types/components/organisms/RewardCategoryTile/index.d.ts +3 -3
  57. package/dist/types/components/organisms/RewardCategoryTile/reward-category-header.d.ts +3 -2
  58. package/dist/types/components/organisms/RewardCategoryTile/reward-category-media.d.ts +3 -2
  59. package/dist/types/components/organisms/RewardTile/index.d.ts +6 -6
  60. package/dist/types/components/organisms/RewardTile/reward-tile-chevron.d.ts +3 -2
  61. package/dist/types/components/organisms/RewardTile/reward-tile-media.d.ts +3 -2
  62. package/dist/types/components/organisms/RewardTile/reward-tile-points.d.ts +3 -2
  63. package/dist/types/components/organisms/RewardTile/reward-tile-summary.d.ts +3 -2
  64. package/dist/types/components/organisms/RewardTile/reward-tile-title.d.ts +3 -2
  65. package/dist/types/components/organisms/RoundupTile/index.d.ts +5 -5
  66. package/dist/types/components/organisms/RoundupTile/roundup-tile-chevron.d.ts +3 -2
  67. package/dist/types/components/organisms/RoundupTile/roundup-tile-formatted-points.d.ts +3 -2
  68. package/dist/types/components/organisms/RoundupTile/roundup-tile-media.d.ts +3 -2
  69. package/dist/types/components/organisms/RoundupTile/roundup-tile-title.d.ts +3 -2
  70. package/dist/types/components/organisms/Section/index.d.ts +2 -2
  71. package/dist/types/context/WllSdkContext.d.ts +2 -1
  72. package/dist/types/types/tile.d.ts +5 -0
  73. package/dist/types/utils/storybookHelpers.d.ts +1 -1
  74. package/dist/web.js +241 -135
  75. package/dist/web.js.map +1 -1
  76. package/package.json +12 -11
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { TextProps, TextStyle } from 'react-native';
2
3
  type BaseTileBodyProps = Omit<TextProps, 'style'> & {
3
4
  variant?: 'eyebrow' | 'title' | 'description' | 'body' | 'caption' | 'label' | 'tier-requirement' | 'tier-earned';
@@ -8,7 +9,7 @@ type BaseTileBodyProps = Omit<TextProps, 'style'> & {
8
9
  * Renders the body text of a BaseTile component.
9
10
  *
10
11
  * @param {BaseTileBodyProps} props - Component props including text styling options
11
- * @returns {JSX.Element|null} The rendered body text or null if conditions for display are not met
12
+ * @returns {React.ReactElement|null} The rendered body text or null if conditions for display are not met
12
13
  */
13
- export declare const BaseTileBody: (props: BaseTileBodyProps) => JSX.Element | null;
14
+ export declare const BaseTileBody: (props: BaseTileBodyProps) => React.ReactElement | null;
14
15
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { WithChildren } from '../../../types/helpers';
2
3
  type BaseTileContentProps = WithChildren;
3
4
  /**
@@ -5,7 +6,7 @@ type BaseTileContentProps = WithChildren;
5
6
  *
6
7
  * @param {BaseTileContentProps} props - Component props
7
8
  * @param {ReactNode} props.children - Child elements to render within the content area
8
- * @returns {JSX.Element|null} The rendered content or null if conditions for display are not met
9
+ * @returns {React.ReactElement|null} The rendered content or null if conditions for display are not met
9
10
  */
10
- export declare const BaseTileContent: ({ children, }: BaseTileContentProps) => JSX.Element | null;
11
+ export declare const BaseTileContent: ({ children, }: BaseTileContentProps) => React.ReactElement | null;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { WithChildren } from '../../../types/helpers';
2
3
  type BaseTileHeaderProps = WithChildren;
3
4
  /**
@@ -5,7 +6,7 @@ type BaseTileHeaderProps = WithChildren;
5
6
  *
6
7
  * @param {BaseTileHeaderProps} props - Component props
7
8
  * @param {ReactNode} props.children - Child elements to render within the header
8
- * @returns {JSX.Element|null} The rendered header or null if conditions for display are not met
9
+ * @returns {React.ReactElement|null} The rendered header or null if conditions for display are not met
9
10
  */
10
- export declare const BaseTileHeader: ({ children, }: BaseTileHeaderProps) => JSX.Element | null;
11
+ export declare const BaseTileHeader: ({ children, }: BaseTileHeaderProps) => React.ReactElement | null;
11
12
  export {};
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { ImagePropsNoSource } from '../../../types/common';
2
3
  /**
3
4
  * Renders the media (image) for a BaseTile component.
4
5
  *
5
6
  * @param {ImagePropsNoSource} props - The image props excluding source
6
- * @returns {JSX.Element|null} The rendered image or null if no artwork URL is present
7
+ * @returns {React.ReactElement|null} The rendered image or null if no artwork URL is present
7
8
  */
8
- export declare const BaseTileMedia: (props: ImagePropsNoSource) => JSX.Element | null;
9
+ export declare const BaseTileMedia: (props: ImagePropsNoSource) => React.ReactElement | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the title of a BaseTile component.
3
4
  *
4
- * @returns {JSX.Element|null} The rendered title or null if conditions for display are not met
5
+ * @returns {React.ReactElement|null} The rendered title or null if conditions for display are not met
5
6
  */
6
- export declare const BaseTileTitle: () => JSX.Element | null;
7
+ export declare const BaseTileTitle: () => React.ReactElement | null;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ViewStyle } from 'react-native';
2
3
  import { Tile } from '../../../types/tile';
3
4
  import { WithChildren } from '../../../types/helpers';
@@ -18,20 +19,20 @@ type BaseTileRootProps = WithChildren & {
18
19
  /**
19
20
  * BaseTile component with subcomponents attached.
20
21
  */
21
- export declare const BaseTile: (({ tile, children, style, }: BaseTileProps) => JSX.Element | null) & {
22
- Container: ({ children, style, }: BaseTileRootProps) => JSX.Element;
23
- Media: (props: import("../../..").ImagePropsNoSource) => JSX.Element | null;
22
+ export declare const BaseTile: (({ tile, children, style, }: BaseTileProps) => React.ReactElement | null) & {
23
+ Container: ({ children, style, }: BaseTileRootProps) => React.ReactElement;
24
+ Media: (props: import("../../..").ImagePropsNoSource) => React.ReactElement | null;
24
25
  Content: ({ children, }: {
25
26
  children?: React.ReactNode;
26
- }) => JSX.Element | null;
27
+ }) => React.ReactElement | null;
27
28
  Header: ({ children, }: {
28
29
  children?: React.ReactNode;
29
- }) => JSX.Element | null;
30
- Title: () => JSX.Element | null;
30
+ }) => React.ReactElement | null;
31
+ Title: () => React.ReactElement | null;
31
32
  Body: (props: Omit<import("react-native").TextProps, "style"> & {
32
33
  variant?: "eyebrow" | "title" | "description" | "body" | "caption" | "label" | "tier-requirement" | "tier-earned";
33
34
  isSurface?: boolean;
34
35
  style?: import("react-native").TextStyle;
35
- }) => JSX.Element | null;
36
+ }) => React.ReactElement | null;
36
37
  };
37
38
  export default BaseTile;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Variant } from '../../../types/theme';
2
3
  type ButtonProps = {
3
4
  title: string;
@@ -8,5 +9,5 @@ type ButtonProps = {
8
9
  accessibilityHint?: string;
9
10
  testID?: string;
10
11
  };
11
- declare const Button: ({ title, onPress, variant, disabled, accessibilityLabel, accessibilityHint, testID, }: ButtonProps) => JSX.Element;
12
+ declare const Button: ({ title, onPress, variant, disabled, accessibilityLabel, accessibilityHint, testID, }: ButtonProps) => React.ReactElement;
12
13
  export default Button;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Meta } from '@storybook/react';
2
+ import Chip, { ChipProps } from './index';
3
+ declare const meta: Meta<typeof Chip>;
4
+ export default meta;
5
+ export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ChipProps>;
6
+ export declare const Green: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ChipProps>;
7
+ export declare const Grey: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ChipProps>;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { AccessibilityRole, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
+ import { StatusVariant } from '../../../types/tile';
4
+ type ChipLabel = React.ReactNode;
5
+ type AriaLive = 'polite' | 'assertive' | 'off';
6
+ export type ChipProps = {
7
+ label: ChipLabel;
8
+ variant?: StatusVariant;
9
+ role?: AccessibilityRole | 'status';
10
+ ariaLive?: AriaLive;
11
+ accessibilityLabel?: string;
12
+ testID?: string;
13
+ style?: StyleProp<ViewStyle>;
14
+ labelStyle?: StyleProp<TextStyle>;
15
+ };
16
+ declare const Chip: ({ label, variant, role, ariaLive, accessibilityLabel, testID, style, labelStyle, }: ChipProps) => React.ReactElement;
17
+ export default Chip;
@@ -0,0 +1,20 @@
1
+ export declare const useChipStyles: () => {
2
+ container: {
3
+ alignSelf: "flex-start";
4
+ alignItems: "center";
5
+ justifyContent: "center";
6
+ flexDirection: "row";
7
+ paddingHorizontal: number;
8
+ paddingVertical: number;
9
+ borderRadius: 9999;
10
+ overflow: "hidden";
11
+ flexShrink: number;
12
+ };
13
+ label: {
14
+ fontFamily: string;
15
+ fontSize: number;
16
+ lineHeight: number;
17
+ fontWeight: "400";
18
+ flexShrink: number;
19
+ };
20
+ };
@@ -1,4 +1,5 @@
1
1
  import * as LucideReactIcons from 'lucide-react';
2
+ import * as React from 'react';
2
3
  import { ViewProps } from 'react-native';
3
4
  type IconName = keyof typeof LucideReactIcons;
4
5
  type IconProps = {
@@ -7,5 +8,5 @@ type IconProps = {
7
8
  size?: number;
8
9
  strokeWidth?: number;
9
10
  } & Omit<ViewProps, 'style'>;
10
- declare const Icon: ({ name, color, size, strokeWidth, ...props }: IconProps) => JSX.Element | null;
11
+ declare const Icon: ({ name, color, size, strokeWidth, ...props }: IconProps) => React.ReactElement | null;
11
12
  export default Icon;
@@ -1,2 +1,3 @@
1
- declare const Indicator: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const Indicator: () => React.ReactElement;
2
3
  export default Indicator;
@@ -1,2 +1,3 @@
1
- declare const LoadingIndicator: () => JSX.Element;
1
+ import * as React from 'react';
2
+ declare const LoadingIndicator: () => React.ReactElement;
2
3
  export default LoadingIndicator;
@@ -18,5 +18,5 @@ type ColumnProps = {
18
18
  * @param flex - Optional flex number to control the column's flex behavior
19
19
  * @param style - Additional styles to apply to the column
20
20
  */
21
- export declare const Column: ({ children, justify, align, reverse, flex, style, ...rest }: ColumnProps) => JSX.Element;
21
+ export declare const Column: ({ children, justify, align, reverse, flex, style, ...rest }: ColumnProps) => React.ReactElement;
22
22
  export {};
@@ -16,5 +16,5 @@ type FullFlexProps = {
16
16
  * This component is commonly used to create a full-flex container that expands
17
17
  * to fill available space in a layout.
18
18
  */
19
- export declare const FullFlex: ({ children, style, ...rest }: FullFlexProps) => JSX.Element;
19
+ export declare const FullFlex: ({ children, style, ...rest }: FullFlexProps) => React.ReactElement;
20
20
  export {};
@@ -17,5 +17,5 @@ type LayoutProps = {
17
17
  * @param children - The child components to render inside the layout
18
18
  * @returns The rendered Layout component with special paddings
19
19
  */
20
- export declare const Layout: ({ children, direction, justify, align, style, ...rest }: LayoutProps) => JSX.Element;
20
+ export declare const Layout: ({ children, direction, justify, align, style, ...rest }: LayoutProps) => React.ReactElement;
21
21
  export {};
@@ -18,5 +18,5 @@ type RowProps = {
18
18
  * @param flex - Optional flex number to control the row's flex behavior
19
19
  * @param style - Additional styles to apply to the row
20
20
  */
21
- export declare const Row: ({ children, justify, align, reverse, flex, style, ...rest }: RowProps) => JSX.Element;
21
+ export declare const Row: ({ children, justify, align, reverse, flex, style, ...rest }: RowProps) => React.ReactElement;
22
22
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ViewProps, ViewStyle } from 'react-native';
2
3
  /**
3
4
  * Props for the Spacer component.
@@ -13,5 +14,5 @@ type SpacerProps = {
13
14
  * The Spacer is commonly used in flexbox layouts to create adjustable empty space
14
15
  * between child elements, avoiding the need for explicit margins or padding.
15
16
  */
16
- export declare const Spacer: ({ style, ...rest }: SpacerProps) => JSX.Element;
17
+ export declare const Spacer: ({ style, ...rest }: SpacerProps) => React.ReactElement;
17
18
  export {};
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Size, Variant } from '../../../types/theme';
2
3
  export type ProgressBarProps = {
3
4
  percentage: number;
@@ -5,5 +6,5 @@ export type ProgressBarProps = {
5
6
  height?: Size;
6
7
  animationDuration?: number;
7
8
  };
8
- declare const ProgressBar: ({ percentage, variant, height, animationDuration, }: ProgressBarProps) => JSX.Element;
9
+ declare const ProgressBar: ({ percentage, variant, height, animationDuration, }: ProgressBarProps) => React.ReactElement;
9
10
  export default ProgressBar;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
2
3
  type ProgressiveImageProps = {
3
4
  source: ImageSourcePropType;
@@ -6,5 +7,5 @@ type ProgressiveImageProps = {
6
7
  alt?: string;
7
8
  [key: string]: any;
8
9
  };
9
- declare const ProgressiveImage: ({ source, style, isDesaturated, alt, ...props }: ProgressiveImageProps) => JSX.Element;
10
+ declare const ProgressiveImage: ({ source, style, isDesaturated, alt, ...props }: ProgressiveImageProps) => React.ReactElement;
10
11
  export default ProgressiveImage;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ViewStyle } from 'react-native';
2
3
  type SkeletonProps = {
3
4
  width?: number | `${number}%`;
@@ -6,5 +7,5 @@ type SkeletonProps = {
6
7
  style?: ViewStyle;
7
8
  numberOfSquares?: number;
8
9
  };
9
- declare const Skeleton: ({ style, numberOfSquares, }: SkeletonProps) => JSX.Element;
10
+ declare const Skeleton: ({ style, numberOfSquares, }: SkeletonProps) => React.ReactElement;
10
11
  export default Skeleton;
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import { ViewStyle } from 'react-native';
2
3
  type SkeletonTileProps = {
3
4
  style?: ViewStyle;
4
5
  };
5
- declare const SkeletonTile: ({ style }: SkeletonTileProps) => JSX.Element;
6
+ declare const SkeletonTile: ({ style }: SkeletonTileProps) => React.ReactElement;
6
7
  export default SkeletonTile;
@@ -1,9 +1,10 @@
1
- import { TextProps as RNTextProps, TextStyle } from 'react-native';
1
+ import * as React from 'react';
2
+ import { TextProps as RNTextProps, StyleProp, TextStyle } from 'react-native';
2
3
  type TextVariant = 'eyebrow' | 'title' | 'description' | 'body' | 'caption' | 'label' | 'tier-requirement' | 'tier-earned';
3
4
  type TextProps = RNTextProps & {
4
5
  variant?: TextVariant;
5
- style?: TextStyle;
6
+ style?: StyleProp<TextStyle>;
6
7
  isSurface?: boolean;
7
8
  };
8
- export declare const Text: ({ variant, style, isSurface, ...props }: TextProps) => JSX.Element;
9
+ export declare const Text: ({ variant, style, isSurface, ...props }: TextProps) => React.ReactElement;
9
10
  export default Text;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { Tile } from '../../../types/tile';
2
3
  type TileContainerProps = {
3
4
  tiles: Tile[];
@@ -5,5 +6,5 @@ type TileContainerProps = {
5
6
  /**
6
7
  * TileContainer component to render a list of tiles with proper layout and spacing.
7
8
  */
8
- declare const TileContainer: ({ tiles }: TileContainerProps) => JSX.Element;
9
+ declare const TileContainer: ({ tiles }: TileContainerProps) => React.ReactElement;
9
10
  export default TileContainer;
@@ -10,3 +10,4 @@ export { default as Indicator } from './Indicator';
10
10
  export { default as Skeleton } from './Skeleton';
11
11
  export { default as TileContainer } from './TileContainer';
12
12
  export { Column, FullFlex, Layout, Row, Spacer } from './Primatives';
13
+ export { default as Chip } from './Chip';
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import { TSection } from '../../../types/section';
2
3
  type CarouselProps = {
3
4
  section?: TSection;
4
5
  autoRotateInterval?: number;
5
6
  };
6
- declare const Carousel: ({ section, autoRotateInterval, }: CarouselProps) => JSX.Element | null;
7
+ declare const Carousel: ({ section, autoRotateInterval, }: CarouselProps) => React.ReactElement | null;
7
8
  export default Carousel;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  type CarouselNavButtonProps = {
2
3
  direction: 'left' | 'right';
3
4
  onPress: () => void;
4
5
  };
5
- export declare const CarouselNavButton: ({ direction, onPress, }: CarouselNavButtonProps) => JSX.Element;
6
+ export declare const CarouselNavButton: ({ direction, onPress, }: CarouselNavButtonProps) => React.ReactElement;
6
7
  export default CarouselNavButton;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Size, Variant } from '../../../types/theme';
2
3
  export type ProgressIndicatorProps = {
3
4
  currentPoints: number;
@@ -6,5 +7,5 @@ export type ProgressIndicatorProps = {
6
7
  height?: Size;
7
8
  attained?: boolean;
8
9
  };
9
- export declare const ProgressIndicator: ({ currentPoints, maxPoints, variant, height, attained, }: ProgressIndicatorProps) => JSX.Element;
10
+ export declare const ProgressIndicator: ({ currentPoints, maxPoints, variant, height, attained, }: ProgressIndicatorProps) => React.ReactElement;
10
11
  export default ProgressIndicator;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  type SectionHeaderProps = {
2
3
  title?: string;
3
4
  description?: string;
4
5
  };
5
- declare const SectionHeader: ({ title, description, }: SectionHeaderProps) => JSX.Element | null;
6
+ declare const SectionHeader: ({ title, description, }: SectionHeaderProps) => React.ReactElement | null;
6
7
  export default SectionHeader;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the date earned for a Badge Tile.
3
4
  *
4
- * @returns JSX.Element or null if badge is not earned or badgeNotEarnedMessage exists
5
+ * @returns React.ReactElement or null if badge is not earned or badgeNotEarnedMessage exists
5
6
  */
6
- export declare const BadgeTileDateEarned: () => JSX.Element | null;
7
+ export declare const BadgeTileDateEarned: () => React.ReactElement | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the description for a Badge Tile.
3
4
  *
4
- * @returns JSX.Element or null if description is not present
5
+ * @returns React.ReactElement or null if description is not present
5
6
  */
6
- export declare const BadgeTileDescription: () => JSX.Element | null;
7
+ export declare const BadgeTileDescription: () => React.ReactElement | null;
@@ -7,6 +7,6 @@ export type BadgeTileMediaProps = {
7
7
  /**
8
8
  * Renders the media for a Badge Tile.
9
9
  *
10
- * @returns JSX.Element or null if media is not present
10
+ * @returns React.ReactElement or null if media is not present
11
11
  */
12
- export declare const BadgeTileMedia: ({ children, alt, ...props }: BadgeTileMediaProps) => JSX.Element | null;
12
+ export declare const BadgeTileMedia: ({ children, alt, ...props }: BadgeTileMediaProps) => React.ReactElement | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the status for a Badge Tile.
3
4
  *
4
- * @returns JSX.Element or null if badge is not earned or badgeNotEarnedMessage exists
5
+ * @returns React.ReactElement or null if badge is not earned or badgeNotEarnedMessage exists
5
6
  */
6
- export declare const BadgeTileStatus: () => JSX.Element | null;
7
+ export declare const BadgeTileStatus: () => React.ReactElement | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the title for a Badge Tile.
3
4
  *
4
- * @returns JSX.Element or null if name is not present
5
+ * @returns React.ReactElement or null if name is not present
5
6
  */
6
- export declare const BadgeTileTitle: () => JSX.Element | null;
7
+ export declare const BadgeTileTitle: () => React.ReactElement | null;
@@ -6,12 +6,12 @@ type BadgeTileProps = {
6
6
  /**
7
7
  * The BadgeTile component with subcomponents attached.
8
8
  */
9
- export declare const BadgeTile: (({ tile }: BadgeTileProps) => JSX.Element | null) & {
10
- Media: ({ children, alt, ...props }: import("./badge-tile-media").BadgeTileMediaProps) => JSX.Element | null;
11
- Title: () => JSX.Element | null;
12
- Description: () => JSX.Element | null;
13
- DateEarned: () => JSX.Element | null;
14
- Status: () => JSX.Element | null;
9
+ export declare const BadgeTile: (({ tile }: BadgeTileProps) => React.ReactElement | null) & {
10
+ Media: ({ children, alt, ...props }: import("./badge-tile-media").BadgeTileMediaProps) => React.ReactElement | null;
11
+ Title: () => React.ReactElement | null;
12
+ Description: () => React.ReactElement | null;
13
+ DateEarned: () => React.ReactElement | null;
14
+ Status: () => React.ReactElement | null;
15
15
  };
16
16
  declare const _default: (props: Omit<BadgeTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => React.JSX.Element;
17
17
  export default _default;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the call to action of a Banner Tile.
3
4
  *
4
- * @returns JSX.Element or null if no text or required props are present
5
+ * @returns React.ReactElement or null if no text or required props are present
5
6
  */
6
- export declare const BannerTileCTA: () => JSX.Element | null;
7
+ export declare const BannerTileCTA: () => React.ReactElement | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the description text of a Banner Tile.
3
4
  *
4
- * @returns JSX.Element or null if no description is present
5
+ * @returns React.ReactElement or null if no description is present
5
6
  */
6
- export declare const BannerTileDescription: () => JSX.Element | null;
7
+ export declare const BannerTileDescription: () => React.ReactElement | null;
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  type BannerTileMediaProps = {
2
3
  isArtworkOnly: boolean;
3
4
  };
4
5
  /**
5
6
  * Renders the media of a Banner Tile.
6
7
  *
7
- * @returns JSX.Element or null if no media is present
8
+ * @returns React.ReactElement or null if no media is present
8
9
  */
9
- export declare const BannerTileMedia: ({ isArtworkOnly, }: BannerTileMediaProps) => JSX.Element | null;
10
+ export declare const BannerTileMedia: ({ isArtworkOnly, }: BannerTileMediaProps) => React.ReactElement | null;
10
11
  export {};
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders the title of a Banner Tile.
3
4
  *
4
- * @returns JSX.Element or null if no title is present
5
+ * @returns React.ReactElement or null if no title is present
5
6
  */
6
- export declare const BannerTileTitle: () => JSX.Element | null;
7
+ export declare const BannerTileTitle: () => React.ReactElement | null;
@@ -6,13 +6,13 @@ type BannerTileProps = {
6
6
  /**
7
7
  * The BannerTile component with subcomponents attached.
8
8
  */
9
- export declare const BannerTile: (({ tile }: BannerTileProps) => JSX.Element | null) & {
9
+ export declare const BannerTile: (({ tile }: BannerTileProps) => React.ReactElement | null) & {
10
10
  Media: ({ isArtworkOnly, }: {
11
11
  isArtworkOnly: boolean;
12
- }) => JSX.Element | null;
13
- Title: () => JSX.Element | null;
14
- Description: () => JSX.Element | null;
15
- CTA: () => JSX.Element | null;
12
+ }) => React.ReactElement | null;
13
+ Title: () => React.ReactElement | null;
14
+ Description: () => React.ReactElement | null;
15
+ CTA: () => React.ReactElement | null;
16
16
  };
17
17
  declare const _default: (props: Omit<BannerTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => React.JSX.Element;
18
18
  export default _default;
@@ -1 +1,2 @@
1
- export declare const ContentTileChevron: () => JSX.Element | null;
1
+ import React from 'react';
2
+ export declare const ContentTileChevron: () => React.ReactElement | null;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  type ContentTileMediaProps = {
2
3
  isArtworkOnly: boolean;
3
4
  };
4
- export declare const ContentTileMedia: ({ isArtworkOnly, }: ContentTileMediaProps) => JSX.Element | null;
5
+ export declare const ContentTileMedia: ({ isArtworkOnly, }: ContentTileMediaProps) => React.ReactElement | null;
5
6
  export {};
@@ -1 +1,2 @@
1
- export declare const ContentTileSummary: () => JSX.Element | null;
1
+ import React from 'react';
2
+ export declare const ContentTileSummary: () => React.ReactElement | null;
@@ -1 +1,2 @@
1
- export declare const ContentTileTitle: () => JSX.Element | null;
1
+ import React from 'react';
2
+ export declare const ContentTileTitle: () => React.ReactElement | null;
@@ -6,13 +6,13 @@ type ContentTileProps = {
6
6
  /**
7
7
  * The ContentTile component with subcomponents attached.
8
8
  */
9
- export declare const ContentTile: (({ tile }: ContentTileProps) => JSX.Element | null) & {
9
+ export declare const ContentTile: (({ tile }: ContentTileProps) => React.ReactElement | null) & {
10
10
  Media: ({ isArtworkOnly, }: {
11
11
  isArtworkOnly: boolean;
12
- }) => JSX.Element | null;
13
- Title: () => JSX.Element | null;
14
- Summary: () => JSX.Element | null;
15
- Chevron: () => JSX.Element | null;
12
+ }) => React.ReactElement | null;
13
+ Title: () => React.ReactElement | null;
14
+ Summary: () => React.ReactElement | null;
15
+ Chevron: () => React.ReactElement | null;
16
16
  };
17
17
  declare const _default: (props: Omit<ContentTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => React.JSX.Element;
18
18
  export default _default;
@@ -27,15 +27,15 @@ export declare const useGroupContext: () => GroupContextType;
27
27
  *
28
28
  * @param {GroupEmptyStateProps} props - Component props
29
29
  * @param {string} props.message - Message to display
30
- * @returns {JSX.Element} The empty state component
30
+ * @returns {React.ReactElement} The empty state component
31
31
  */
32
- export declare const GroupEmptyState: ({ message, }: GroupEmptyStateProps) => JSX.Element;
32
+ export declare const GroupEmptyState: ({ message, }: GroupEmptyStateProps) => React.ReactElement;
33
33
  /**
34
34
  * Component to render all sections in a group
35
35
  *
36
- * @returns {JSX.Element} The sections component
36
+ * @returns {React.ReactElement} The sections component
37
37
  */
38
- export declare const GroupSections: () => JSX.Element;
38
+ export declare const GroupSections: () => React.ReactElement;
39
39
  /**
40
40
  * A page-level component that represents a Group view in the application.
41
41
  *
@@ -46,7 +46,7 @@ export declare const GroupSections: () => JSX.Element;
46
46
  *
47
47
  * @param {GroupProps} props - Component props
48
48
  * @param {string} props.id - The unique identifier of the group to fetch and display
49
- * @returns {JSX.Element|null} The rendered group or null if invalid ID
49
+ * @returns {React.ReactElement|null} The rendered group or null if invalid ID
50
50
  */
51
- declare const Group: ({ id, enablePullToRefresh, onRefresh }: GroupProps) => JSX.Element | null;
51
+ declare const Group: ({ id, enablePullToRefresh, onRefresh }: GroupProps) => React.ReactElement | null;
52
52
  export default Group;
@@ -6,13 +6,13 @@ type PointsTileProps = {
6
6
  /**
7
7
  * The PointsTile component with subcomponents attached.
8
8
  */
9
- export declare const PointsTile: (({ tile }: PointsTileProps) => JSX.Element | null) & {
10
- Title: () => JSX.Element | null;
11
- Points: () => JSX.Element | null;
9
+ export declare const PointsTile: (({ tile }: PointsTileProps) => React.ReactElement | null) & {
10
+ Title: () => React.ReactElement | null;
11
+ Points: () => React.ReactElement | null;
12
12
  Media: ({ isFullSize, }: {
13
13
  isFullSize: boolean;
14
- }) => JSX.Element | null;
15
- Chevron: () => JSX.Element | null;
14
+ }) => React.ReactElement | null;
15
+ Chevron: () => React.ReactElement | null;
16
16
  };
17
17
  declare const _default: (props: Omit<PointsTileProps, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps) => React.JSX.Element;
18
18
  export default _default;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Renders a chevron icon for a Roundup Tile.
3
4
  *
4
- * @returns JSX.Element
5
+ * @returns React.ReactElement
5
6
  */
6
- export declare const PointsTileChevron: () => JSX.Element | null;
7
+ export declare const PointsTileChevron: () => React.ReactElement | null;