@open-tender/types 0.4.145 → 0.4.146

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,19 @@ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
692
  desktop: ThemeWelcomeStyles;
693
693
  mobile: ThemeWelcomeStyles;
694
694
  }
695
+ export declare type ThemeAccountWidgetType = 'ACCOUNT_SUMMERY' | 'WELCOME_BACK';
696
+ export interface ThemeAccountWidget {
697
+ type: ThemeAccountWidgetType;
698
+ bgColor: string;
699
+ borderRadius: number;
700
+ boxShadow: string;
701
+ padding: number;
702
+ }
703
+ export interface ThemeLoyalty {
704
+ sections: {
705
+ accountWidget: ThemeAccountWidget;
706
+ };
707
+ }
695
708
  export interface Theme {
696
709
  alert: ThemeAlert;
697
710
  bgColors: ThemeBackgroundColors;
@@ -725,6 +738,7 @@ export interface Theme {
725
738
  success: ThemeAlert;
726
739
  toast: ThemeAlert;
727
740
  welcome: ThemeWelcome;
741
+ loyalty: ThemeLoyalty;
728
742
  }
729
743
  export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
744
  titleLineHeight: string;
@@ -692,6 +692,19 @@ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
692
  desktop: ThemeWelcomeStyles;
693
693
  mobile: ThemeWelcomeStyles;
694
694
  }
695
+ export declare type ThemeAccountWidgetType = 'ACCOUNT_SUMMERY' | 'WELCOME_BACK';
696
+ export interface ThemeAccountWidget {
697
+ type: ThemeAccountWidgetType;
698
+ bgColor: string;
699
+ borderRadius: number;
700
+ boxShadow: string;
701
+ padding: number;
702
+ }
703
+ export interface ThemeLoyalty {
704
+ sections: {
705
+ accountWidget: ThemeAccountWidget;
706
+ };
707
+ }
695
708
  export interface Theme {
696
709
  alert: ThemeAlert;
697
710
  bgColors: ThemeBackgroundColors;
@@ -725,6 +738,7 @@ export interface Theme {
725
738
  success: ThemeAlert;
726
739
  toast: ThemeAlert;
727
740
  welcome: ThemeWelcome;
741
+ loyalty: ThemeLoyalty;
728
742
  }
729
743
  export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
744
  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.146",
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",