@open-tender/types 0.2.41 → 0.2.42

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.
@@ -433,7 +433,7 @@ export interface ThemeMenuItemsText extends Record<string, string> {
433
433
  fontSizeMobile: string;
434
434
  }
435
435
  export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
436
- displayType: 'IMAGE' | 'TEXT';
436
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
437
437
  gap: string;
438
438
  gapMobile: string;
439
439
  width: string;
@@ -451,6 +451,69 @@ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | Them
451
451
  text: ThemeMenuItemsText;
452
452
  title: ThemeMenuItemsText;
453
453
  }
454
+ export interface ThemeTagsContainer extends Record<string, string | number> {
455
+ bgColor: string;
456
+ bgColorStuck: string;
457
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
458
+ gap: string;
459
+ gapHalf: string;
460
+ gapMobile: string;
461
+ gapMobileHalf: string;
462
+ justifyContent: ThemeJustifyContent;
463
+ margin: string;
464
+ marginMobile: string;
465
+ maxWidth: string;
466
+ padding: string;
467
+ paddingMobile: string;
468
+ }
469
+ export interface ThemeTagsBox extends Record<string, string | number> {
470
+ bgColor: string;
471
+ bgColorHover: string;
472
+ border: string;
473
+ borderColor: string;
474
+ borderColorHover: string;
475
+ borderMobile: string;
476
+ borderRadius: string;
477
+ borderRadiusMobile: string;
478
+ boxShadow: string;
479
+ margin: string;
480
+ marginMobile: string;
481
+ minWidth: string;
482
+ minWidthMobile: string;
483
+ padding: string;
484
+ paddingMobile: string;
485
+ }
486
+ export interface ThemeTagsImage extends Record<string, string | number | boolean> {
487
+ asImg: boolean;
488
+ aspectRatio: number;
489
+ bgColor: string;
490
+ bgSize: string;
491
+ border: string;
492
+ borderColor: string;
493
+ borderMobile: string;
494
+ borderRadius: string;
495
+ borderRadiusMobile: string;
496
+ boxShadow: string;
497
+ margin: string;
498
+ marginMobile: string;
499
+ minWidth: string;
500
+ minWidthMobile: string;
501
+ padding: string;
502
+ paddingMobile: string;
503
+ position: string;
504
+ }
505
+ export interface ThemeTagsText extends Record<string, string> {
506
+ color: string;
507
+ colorHover: string;
508
+ fontSize: string;
509
+ fontSizeMobile: string;
510
+ }
511
+ export interface ThemeTags extends Record<string, ThemeTagsBox | ThemeTagsContainer | ThemeTagsImage | ThemeTagsText> {
512
+ box: ThemeTagsBox;
513
+ container: ThemeTagsContainer;
514
+ image: ThemeTagsImage;
515
+ text: ThemeTagsText;
516
+ }
454
517
  export interface ThemeModifiersText extends Record<string, string> {
455
518
  color: string;
456
519
  fontSize: string;
@@ -554,6 +617,7 @@ export interface Theme {
554
617
  links: ThemeLinks;
555
618
  logo: ThemeLogo;
556
619
  logoFooter: ThemeLogo;
620
+ tags: ThemeTags;
557
621
  menuItems: ThemeMenuItems;
558
622
  modifiers: ThemeModifiers;
559
623
  overlay: ThemeOverlay;
@@ -433,7 +433,7 @@ export interface ThemeMenuItemsText extends Record<string, string> {
433
433
  fontSizeMobile: string;
434
434
  }
435
435
  export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
436
- displayType: 'IMAGE' | 'TEXT';
436
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
437
437
  gap: string;
438
438
  gapMobile: string;
439
439
  width: string;
@@ -451,6 +451,69 @@ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | Them
451
451
  text: ThemeMenuItemsText;
452
452
  title: ThemeMenuItemsText;
453
453
  }
454
+ export interface ThemeTagsContainer extends Record<string, string | number> {
455
+ bgColor: string;
456
+ bgColorStuck: string;
457
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
458
+ gap: string;
459
+ gapHalf: string;
460
+ gapMobile: string;
461
+ gapMobileHalf: string;
462
+ justifyContent: ThemeJustifyContent;
463
+ margin: string;
464
+ marginMobile: string;
465
+ maxWidth: string;
466
+ padding: string;
467
+ paddingMobile: string;
468
+ }
469
+ export interface ThemeTagsBox extends Record<string, string | number> {
470
+ bgColor: string;
471
+ bgColorHover: string;
472
+ border: string;
473
+ borderColor: string;
474
+ borderColorHover: string;
475
+ borderMobile: string;
476
+ borderRadius: string;
477
+ borderRadiusMobile: string;
478
+ boxShadow: string;
479
+ margin: string;
480
+ marginMobile: string;
481
+ minWidth: string;
482
+ minWidthMobile: string;
483
+ padding: string;
484
+ paddingMobile: string;
485
+ }
486
+ export interface ThemeTagsImage extends Record<string, string | number | boolean> {
487
+ asImg: boolean;
488
+ aspectRatio: number;
489
+ bgColor: string;
490
+ bgSize: string;
491
+ border: string;
492
+ borderColor: string;
493
+ borderMobile: string;
494
+ borderRadius: string;
495
+ borderRadiusMobile: string;
496
+ boxShadow: string;
497
+ margin: string;
498
+ marginMobile: string;
499
+ minWidth: string;
500
+ minWidthMobile: string;
501
+ padding: string;
502
+ paddingMobile: string;
503
+ position: string;
504
+ }
505
+ export interface ThemeTagsText extends Record<string, string> {
506
+ color: string;
507
+ colorHover: string;
508
+ fontSize: string;
509
+ fontSizeMobile: string;
510
+ }
511
+ export interface ThemeTags extends Record<string, ThemeTagsBox | ThemeTagsContainer | ThemeTagsImage | ThemeTagsText> {
512
+ box: ThemeTagsBox;
513
+ container: ThemeTagsContainer;
514
+ image: ThemeTagsImage;
515
+ text: ThemeTagsText;
516
+ }
454
517
  export interface ThemeModifiersText extends Record<string, string> {
455
518
  color: string;
456
519
  fontSize: string;
@@ -554,6 +617,7 @@ export interface Theme {
554
617
  links: ThemeLinks;
555
618
  logo: ThemeLogo;
556
619
  logoFooter: ThemeLogo;
620
+ tags: ThemeTags;
557
621
  menuItems: ThemeMenuItems;
558
622
  modifiers: ThemeModifiers;
559
623
  overlay: ThemeOverlay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.41",
3
+ "version": "0.2.42",
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",