@wlloyalty/wll-react-sdk 1.0.29 → 1.0.31
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 +67 -41
- package/dist/index.js +364 -271
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -389,15 +389,20 @@ type TileContainerProps = {
|
|
|
389
389
|
};
|
|
390
390
|
declare const TileContainer: React$1.FC<TileContainerProps>;
|
|
391
391
|
|
|
392
|
-
declare const Column:
|
|
392
|
+
declare const Column: FC<LayoutProps>;
|
|
393
393
|
|
|
394
|
-
declare const Row:
|
|
394
|
+
declare const Row: FC<LayoutProps>;
|
|
395
|
+
|
|
396
|
+
type FlexBoxProps = {
|
|
397
|
+
children: React__default.ReactNode;
|
|
398
|
+
};
|
|
399
|
+
declare const FlexBox: ({ children }: FlexBoxProps) => React__default.JSX.Element;
|
|
395
400
|
|
|
396
401
|
declare const Stack: React.FC<LayoutProps>;
|
|
397
402
|
|
|
398
403
|
type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
399
404
|
type Justify = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
400
|
-
type Align = 'start' | 'end' | 'center' | 'stretch';
|
|
405
|
+
type Align = 'start' | 'end' | 'center' | 'stretch' | 'baseline';
|
|
401
406
|
type LayoutProps = {
|
|
402
407
|
children: React.ReactNode;
|
|
403
408
|
justify?: Justify;
|
|
@@ -470,6 +475,17 @@ type BadgeTileComponent = FC<BadgeTileProps> & {
|
|
|
470
475
|
};
|
|
471
476
|
declare const BadgeTile: BadgeTileComponent;
|
|
472
477
|
|
|
478
|
+
declare const BannerTileCTA: FC;
|
|
479
|
+
|
|
480
|
+
declare const BannerTileDescription: FC;
|
|
481
|
+
|
|
482
|
+
type BannerTileMediaProps = {
|
|
483
|
+
isArtworkOnly: boolean;
|
|
484
|
+
};
|
|
485
|
+
declare const BannerTileMedia: React__default.FC<BannerTileMediaProps>;
|
|
486
|
+
|
|
487
|
+
declare const BannerTileTitle: FC;
|
|
488
|
+
|
|
473
489
|
type BannerTileProps = {
|
|
474
490
|
tile: Tile;
|
|
475
491
|
};
|
|
@@ -479,30 +495,31 @@ declare const BannerTile: React$1.FC<BannerTileProps> & {
|
|
|
479
495
|
Description: typeof BannerTileDescription;
|
|
480
496
|
CTA: typeof BannerTileCTA;
|
|
481
497
|
};
|
|
482
|
-
|
|
483
|
-
declare const
|
|
484
|
-
|
|
485
|
-
declare const
|
|
498
|
+
|
|
499
|
+
declare const ContentTileBody: FC;
|
|
500
|
+
|
|
501
|
+
declare const ContentTileContent: FC<{
|
|
502
|
+
children: ReactNode;
|
|
503
|
+
}>;
|
|
504
|
+
|
|
505
|
+
declare const ContentTileHeader: FC;
|
|
506
|
+
|
|
507
|
+
declare const ContentTileMedia: FC;
|
|
508
|
+
|
|
509
|
+
declare const ContentTileRoot: FC<{
|
|
510
|
+
children: ReactNode;
|
|
511
|
+
}>;
|
|
486
512
|
|
|
487
513
|
type ContentTileProps = {
|
|
488
514
|
tile: Tile;
|
|
489
515
|
};
|
|
490
|
-
type ContentTileComponent =
|
|
516
|
+
type ContentTileComponent = FC<ContentTileProps> & {
|
|
491
517
|
Root: typeof ContentTileRoot;
|
|
492
518
|
Media: typeof ContentTileMedia;
|
|
493
519
|
Content: typeof ContentTileContent;
|
|
494
520
|
Header: typeof ContentTileHeader;
|
|
495
521
|
Body: typeof ContentTileBody;
|
|
496
522
|
};
|
|
497
|
-
declare const ContentTileRoot: React$1.FC<{
|
|
498
|
-
children: React$1.ReactNode;
|
|
499
|
-
}>;
|
|
500
|
-
declare const ContentTileMedia: React$1.FC;
|
|
501
|
-
declare const ContentTileContent: React$1.FC<{
|
|
502
|
-
children: React$1.ReactNode;
|
|
503
|
-
}>;
|
|
504
|
-
declare const ContentTileHeader: React$1.FC;
|
|
505
|
-
declare const ContentTileBody: React$1.FC;
|
|
506
523
|
declare const ContentTile: ContentTileComponent;
|
|
507
524
|
|
|
508
525
|
type GroupProps = {
|
|
@@ -510,50 +527,59 @@ type GroupProps = {
|
|
|
510
527
|
};
|
|
511
528
|
declare const Group: React__default.FC<GroupProps>;
|
|
512
529
|
|
|
530
|
+
declare const PointsTileFormattedPoints: React$1.FC;
|
|
531
|
+
|
|
532
|
+
declare const PointsTileTitle: FC;
|
|
533
|
+
|
|
534
|
+
type PointsTileMediaProps = {
|
|
535
|
+
isFullSize: boolean;
|
|
536
|
+
};
|
|
537
|
+
declare const PointsTileMedia: FC<PointsTileMediaProps>;
|
|
538
|
+
|
|
513
539
|
type PointsTileProps = {
|
|
514
540
|
tile: Tile;
|
|
515
541
|
};
|
|
516
|
-
declare const PointsTile:
|
|
542
|
+
declare const PointsTile: FC<PointsTileProps> & {
|
|
517
543
|
Title: typeof PointsTileTitle;
|
|
518
|
-
Points: typeof
|
|
519
|
-
|
|
544
|
+
Points: typeof PointsTileFormattedPoints;
|
|
545
|
+
Media: typeof PointsTileMedia;
|
|
520
546
|
};
|
|
521
|
-
|
|
522
|
-
declare const
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
};
|
|
526
|
-
declare const PointsTileImage: React$1.FC<PointTileImageProps>;
|
|
547
|
+
|
|
548
|
+
declare const RewardCategoryHeader: FC;
|
|
549
|
+
|
|
550
|
+
declare const RewardCategoryMedia: FC;
|
|
527
551
|
|
|
528
552
|
type RewardCategoryTileProps = {
|
|
529
553
|
tile: Tile;
|
|
530
554
|
};
|
|
531
555
|
declare const RewardCategoryTile: React$1.FC<RewardCategoryTileProps> & {
|
|
532
556
|
Header: typeof RewardCategoryHeader;
|
|
533
|
-
|
|
557
|
+
Media: typeof RewardCategoryMedia;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
declare const RewardTileChevron: FC;
|
|
561
|
+
|
|
562
|
+
declare const RewardTileSummary: FC;
|
|
563
|
+
|
|
564
|
+
type RewardTileMediaProps = {
|
|
565
|
+
isArtworkOnly: boolean;
|
|
534
566
|
};
|
|
535
|
-
declare const
|
|
536
|
-
|
|
567
|
+
declare const RewardTileMedia: FC<RewardTileMediaProps>;
|
|
568
|
+
|
|
569
|
+
declare const RewardTilePoints: FC;
|
|
570
|
+
|
|
571
|
+
declare const RewardTileTitle: FC;
|
|
537
572
|
|
|
538
573
|
type RewardTileProps = {
|
|
539
574
|
tile: Tile;
|
|
540
575
|
};
|
|
541
|
-
declare const RewardTile:
|
|
576
|
+
declare const RewardTile: FC<RewardTileProps> & {
|
|
542
577
|
Media: typeof RewardTileMedia;
|
|
543
578
|
Title: typeof RewardTileTitle;
|
|
544
|
-
|
|
579
|
+
Summary: typeof RewardTileSummary;
|
|
545
580
|
Points: typeof RewardTilePoints;
|
|
546
581
|
Chevron: typeof RewardTileChevron;
|
|
547
|
-
Content: typeof RewardTileContent;
|
|
548
582
|
};
|
|
549
|
-
declare const RewardTileMedia: React$1.FC;
|
|
550
|
-
declare const RewardTileTitle: React$1.FC;
|
|
551
|
-
declare const RewardTileDescription: React$1.FC;
|
|
552
|
-
declare const RewardTilePoints: React$1.FC;
|
|
553
|
-
declare const RewardTileContent: React$1.FC<{
|
|
554
|
-
children: React$1.ReactNode;
|
|
555
|
-
}>;
|
|
556
|
-
declare const RewardTileChevron: React$1.FC;
|
|
557
583
|
|
|
558
584
|
type SectionProps = {
|
|
559
585
|
section: TSection;
|
|
@@ -623,4 +649,4 @@ type WllSdkProviderProps = {
|
|
|
623
649
|
declare const WllSdkProvider: React__default.FC<WllSdkProviderProps>;
|
|
624
650
|
declare const useWllSdk: () => WllSdkContextType;
|
|
625
651
|
|
|
626
|
-
export { type APIResponse, type Availability, type Badge, type BadgeDetail, BadgeTileConfig, BadgeTileType,
|
|
652
|
+
export { type APIResponse, type Availability, type Badge, type BadgeDetail, BadgeTile, BadgeTileConfig, BadgeTileType, BannerTile, BannerTileConfig, BaseBanner, type BaseThemeObject, BaseTile, Button, CTALinkTarget, Carousel, Column, Column$1 as Content, ContentTile, ContentTileConfig, type DerivedProperties, FlexBox, Grid, Group, Icon, type ImagePropsNoSource, Indicator, type LayoutProps, LoadingIndicator, type NavigationConfig, type NavigationType, PointsTile, PointsTileConfig, type ProgessType, ProgressBar, ProgressIndicator, ProgressType, ProgressiveImage, Reward, type RewardCategory, RewardCategoryTile, RewardCategoryTileConfig, RewardTile, RewardTileConfig, Row, RowHeader, type SDKConfig, Section, SectionHeader, SectionType, type Size, Skeleton, Stack, type TGroup, type TSection, Text, type ThemeContextType, type ThemeObject, type ThemeProviderProps, TierTileConfig, TierTileType, TierTile as TierTileUpdated, type TierType, type Tile, type TileConfig, TileContainer, TileHeight, TileType, type Variant, WllSdkProvider, useWllSdk };
|