@open-tender/types 0.4.6 → 0.4.8

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.
@@ -1,7 +1,7 @@
1
1
  import { Images } from '../global';
2
2
  export interface Allergen {
3
3
  allergen_id: number;
4
- description: string;
4
+ description: string | null;
5
5
  images: Images | null;
6
6
  name: string;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { Images } from '../global';
2
2
  export interface Tag {
3
3
  tag_id: number;
4
- description: string;
4
+ description: string | null;
5
5
  images: Images | null;
6
6
  name: string;
7
7
  }
@@ -629,6 +629,43 @@ export interface ThemeModifiers extends Record<string, ThemeModifiersText | Them
629
629
  text: ThemeModifiersText;
630
630
  title: ThemeModifiersText;
631
631
  }
632
+ export interface ThemeBottomTabsBox {
633
+ bgColor: string;
634
+ borderColor: string;
635
+ borderRadius: string;
636
+ borderWidth: string;
637
+ boxShadow: string;
638
+ gap: string;
639
+ justifyContent: ThemeJustifyContent;
640
+ padding: string;
641
+ }
642
+ export interface ThemeBottomTabsButtons {
643
+ color: string;
644
+ family: string;
645
+ fontMobile: string;
646
+ fontSize: string;
647
+ fontSmoothing: ThemeFontSmoothing;
648
+ fontStyle: string;
649
+ letterSpacing: string;
650
+ lineHeight: string;
651
+ lineHeights?: ThemeFontSizes;
652
+ padding: string;
653
+ textTransform: ThemeTextTransform;
654
+ weight: string;
655
+ }
656
+ export interface ThemeBottomTabsIcons {
657
+ color: string;
658
+ display: boolean;
659
+ padding: string;
660
+ position: ThemeImagePosition;
661
+ size: number;
662
+ strokeWidth: number;
663
+ }
664
+ export interface ThemeBottomTabs extends Record<string, ThemeBottomTabsBox | ThemeBottomTabsButtons | ThemeBottomTabsIcons> {
665
+ box: ThemeBottomTabsBox;
666
+ buttons: ThemeBottomTabsButtons;
667
+ icons: ThemeBottomTabsIcons;
668
+ }
632
669
  export interface ThemeOverlay extends Record<string, string> {
633
670
  alert: string;
634
671
  dark: string;
@@ -660,6 +697,7 @@ export interface Theme {
660
697
  bgColors: ThemeBackgroundColors;
661
698
  boldWeight: string;
662
699
  border: ThemeBorder;
700
+ bottomTabs: ThemeBottomTabs;
663
701
  boxShadow: ThemeBoxShadow;
664
702
  breakpoints: ThemeBreakpoints;
665
703
  buttons: ThemeButtons;
@@ -1,7 +1,7 @@
1
1
  import { Images } from '../global';
2
2
  export interface Allergen {
3
3
  allergen_id: number;
4
- description: string;
4
+ description: string | null;
5
5
  images: Images | null;
6
6
  name: string;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { Images } from '../global';
2
2
  export interface Tag {
3
3
  tag_id: number;
4
- description: string;
4
+ description: string | null;
5
5
  images: Images | null;
6
6
  name: string;
7
7
  }
@@ -629,6 +629,43 @@ export interface ThemeModifiers extends Record<string, ThemeModifiersText | Them
629
629
  text: ThemeModifiersText;
630
630
  title: ThemeModifiersText;
631
631
  }
632
+ export interface ThemeBottomTabsBox {
633
+ bgColor: string;
634
+ borderColor: string;
635
+ borderRadius: string;
636
+ borderWidth: string;
637
+ boxShadow: string;
638
+ gap: string;
639
+ justifyContent: ThemeJustifyContent;
640
+ padding: string;
641
+ }
642
+ export interface ThemeBottomTabsButtons {
643
+ color: string;
644
+ family: string;
645
+ fontMobile: string;
646
+ fontSize: string;
647
+ fontSmoothing: ThemeFontSmoothing;
648
+ fontStyle: string;
649
+ letterSpacing: string;
650
+ lineHeight: string;
651
+ lineHeights?: ThemeFontSizes;
652
+ padding: string;
653
+ textTransform: ThemeTextTransform;
654
+ weight: string;
655
+ }
656
+ export interface ThemeBottomTabsIcons {
657
+ color: string;
658
+ display: boolean;
659
+ padding: string;
660
+ position: ThemeImagePosition;
661
+ size: number;
662
+ strokeWidth: number;
663
+ }
664
+ export interface ThemeBottomTabs extends Record<string, ThemeBottomTabsBox | ThemeBottomTabsButtons | ThemeBottomTabsIcons> {
665
+ box: ThemeBottomTabsBox;
666
+ buttons: ThemeBottomTabsButtons;
667
+ icons: ThemeBottomTabsIcons;
668
+ }
632
669
  export interface ThemeOverlay extends Record<string, string> {
633
670
  alert: string;
634
671
  dark: string;
@@ -660,6 +697,7 @@ export interface Theme {
660
697
  bgColors: ThemeBackgroundColors;
661
698
  boldWeight: string;
662
699
  border: ThemeBorder;
700
+ bottomTabs: ThemeBottomTabs;
663
701
  boxShadow: ThemeBoxShadow;
664
702
  breakpoints: ThemeBreakpoints;
665
703
  buttons: ThemeButtons;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
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",