@open-tender/types 0.2.40 → 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.
|
@@ -432,16 +432,88 @@ export interface ThemeMenuItemsText extends Record<string, string> {
|
|
|
432
432
|
fontSize: string;
|
|
433
433
|
fontSizeMobile: string;
|
|
434
434
|
}
|
|
435
|
-
export interface
|
|
435
|
+
export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
|
|
436
|
+
displayType: 'IMAGE' | 'TEXT' | 'BOTH';
|
|
437
|
+
gap: string;
|
|
438
|
+
gapMobile: string;
|
|
439
|
+
width: string;
|
|
440
|
+
widthMobile: string;
|
|
441
|
+
}
|
|
442
|
+
export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsTags> {
|
|
443
|
+
allergens: ThemeMenuItemsText;
|
|
436
444
|
box: ThemeMenuItemsBox;
|
|
437
445
|
calories: ThemeMenuItemsText;
|
|
438
446
|
container: ThemeMenuItemsContainer;
|
|
439
447
|
content: ThemeMenuItemsContent;
|
|
440
448
|
image: ThemeMenuItemsImage;
|
|
441
449
|
price: ThemeMenuItemsText;
|
|
450
|
+
tags: ThemeMenuItemsTags;
|
|
442
451
|
text: ThemeMenuItemsText;
|
|
443
452
|
title: ThemeMenuItemsText;
|
|
444
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
|
+
}
|
|
445
517
|
export interface ThemeModifiersText extends Record<string, string> {
|
|
446
518
|
color: string;
|
|
447
519
|
fontSize: string;
|
|
@@ -545,6 +617,7 @@ export interface Theme {
|
|
|
545
617
|
links: ThemeLinks;
|
|
546
618
|
logo: ThemeLogo;
|
|
547
619
|
logoFooter: ThemeLogo;
|
|
620
|
+
tags: ThemeTags;
|
|
548
621
|
menuItems: ThemeMenuItems;
|
|
549
622
|
modifiers: ThemeModifiers;
|
|
550
623
|
overlay: ThemeOverlay;
|
|
@@ -432,16 +432,88 @@ export interface ThemeMenuItemsText extends Record<string, string> {
|
|
|
432
432
|
fontSize: string;
|
|
433
433
|
fontSizeMobile: string;
|
|
434
434
|
}
|
|
435
|
-
export interface
|
|
435
|
+
export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
|
|
436
|
+
displayType: 'IMAGE' | 'TEXT' | 'BOTH';
|
|
437
|
+
gap: string;
|
|
438
|
+
gapMobile: string;
|
|
439
|
+
width: string;
|
|
440
|
+
widthMobile: string;
|
|
441
|
+
}
|
|
442
|
+
export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsTags> {
|
|
443
|
+
allergens: ThemeMenuItemsText;
|
|
436
444
|
box: ThemeMenuItemsBox;
|
|
437
445
|
calories: ThemeMenuItemsText;
|
|
438
446
|
container: ThemeMenuItemsContainer;
|
|
439
447
|
content: ThemeMenuItemsContent;
|
|
440
448
|
image: ThemeMenuItemsImage;
|
|
441
449
|
price: ThemeMenuItemsText;
|
|
450
|
+
tags: ThemeMenuItemsTags;
|
|
442
451
|
text: ThemeMenuItemsText;
|
|
443
452
|
title: ThemeMenuItemsText;
|
|
444
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
|
+
}
|
|
445
517
|
export interface ThemeModifiersText extends Record<string, string> {
|
|
446
518
|
color: string;
|
|
447
519
|
fontSize: string;
|
|
@@ -545,6 +617,7 @@ export interface Theme {
|
|
|
545
617
|
links: ThemeLinks;
|
|
546
618
|
logo: ThemeLogo;
|
|
547
619
|
logoFooter: ThemeLogo;
|
|
620
|
+
tags: ThemeTags;
|
|
548
621
|
menuItems: ThemeMenuItems;
|
|
549
622
|
modifiers: ThemeModifiers;
|
|
550
623
|
overlay: ThemeOverlay;
|
package/package.json
CHANGED