@open-tender/types 0.4.145 → 0.4.147

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.
@@ -692,6 +692,29 @@ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
692
  desktop: ThemeWelcomeStyles;
693
693
  mobile: ThemeWelcomeStyles;
694
694
  }
695
+ export declare type ThemeLoyaltyAccountWidgetType = 'ACCOUNT_SUMMERY' | 'WELCOME_BACK';
696
+ export interface ThemeLoyaltyAccountWidget {
697
+ type: ThemeLoyaltyAccountWidgetType;
698
+ bgColor: string;
699
+ borderRadius: number;
700
+ boxShadow: string;
701
+ padding: number;
702
+ }
703
+ export interface ThemeLoyaltyPointsShopCard {
704
+ padding: string;
705
+ paddingMobile: string;
706
+ imageBoxShadow: string;
707
+ }
708
+ export interface ThemeLoyaltyRewardCard {
709
+ padding: string;
710
+ paddingMobile: string;
711
+ imageBoxShadow: string;
712
+ }
713
+ export interface ThemeLoyalty {
714
+ accountWidget: ThemeLoyaltyAccountWidget;
715
+ pointsShopCard: ThemeLoyaltyPointsShopCard;
716
+ rewardCard: ThemeLoyaltyRewardCard;
717
+ }
695
718
  export interface Theme {
696
719
  alert: ThemeAlert;
697
720
  bgColors: ThemeBackgroundColors;
@@ -725,6 +748,7 @@ export interface Theme {
725
748
  success: ThemeAlert;
726
749
  toast: ThemeAlert;
727
750
  welcome: ThemeWelcome;
751
+ loyalty: ThemeLoyalty;
728
752
  }
729
753
  export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
754
  titleLineHeight: string;
@@ -692,6 +692,29 @@ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
692
  desktop: ThemeWelcomeStyles;
693
693
  mobile: ThemeWelcomeStyles;
694
694
  }
695
+ export declare type ThemeLoyaltyAccountWidgetType = 'ACCOUNT_SUMMERY' | 'WELCOME_BACK';
696
+ export interface ThemeLoyaltyAccountWidget {
697
+ type: ThemeLoyaltyAccountWidgetType;
698
+ bgColor: string;
699
+ borderRadius: number;
700
+ boxShadow: string;
701
+ padding: number;
702
+ }
703
+ export interface ThemeLoyaltyPointsShopCard {
704
+ padding: string;
705
+ paddingMobile: string;
706
+ imageBoxShadow: string;
707
+ }
708
+ export interface ThemeLoyaltyRewardCard {
709
+ padding: string;
710
+ paddingMobile: string;
711
+ imageBoxShadow: string;
712
+ }
713
+ export interface ThemeLoyalty {
714
+ accountWidget: ThemeLoyaltyAccountWidget;
715
+ pointsShopCard: ThemeLoyaltyPointsShopCard;
716
+ rewardCard: ThemeLoyaltyRewardCard;
717
+ }
695
718
  export interface Theme {
696
719
  alert: ThemeAlert;
697
720
  bgColors: ThemeBackgroundColors;
@@ -725,6 +748,7 @@ export interface Theme {
725
748
  success: ThemeAlert;
726
749
  toast: ThemeAlert;
727
750
  welcome: ThemeWelcome;
751
+ loyalty: ThemeLoyalty;
728
752
  }
729
753
  export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
754
  titleLineHeight: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.145",
3
+ "version": "0.4.147",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",