@open-tender/types 0.2.41 → 0.2.43
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.
package/dist/.DS_Store
ADDED
|
Binary file
|
|
@@ -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;
|
|
@@ -9,6 +9,10 @@ export declare type NegativeMoney = `-${number}.${number}`;
|
|
|
9
9
|
export declare type Percentage = `${number}.${number}%`;
|
|
10
10
|
export declare type IpAddress = `${number}.${number}.${number}.${number}`;
|
|
11
11
|
export declare type Url = `https://${string}`;
|
|
12
|
+
export declare type LatLng = {
|
|
13
|
+
lat: number;
|
|
14
|
+
lng: number;
|
|
15
|
+
};
|
|
12
16
|
export declare type Weekday = 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY';
|
|
13
17
|
export declare type OrderType = 'OLO' | 'CATERING' | 'MERCH';
|
|
14
18
|
export declare type FullOrderType = OrderType | 'MAIN_MENU' | 'ECOMMERCE';
|
|
@@ -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;
|
|
@@ -9,6 +9,10 @@ export declare type NegativeMoney = `-${number}.${number}`;
|
|
|
9
9
|
export declare type Percentage = `${number}.${number}%`;
|
|
10
10
|
export declare type IpAddress = `${number}.${number}.${number}.${number}`;
|
|
11
11
|
export declare type Url = `https://${string}`;
|
|
12
|
+
export declare type LatLng = {
|
|
13
|
+
lat: number;
|
|
14
|
+
lng: number;
|
|
15
|
+
};
|
|
12
16
|
export declare type Weekday = 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY';
|
|
13
17
|
export declare type OrderType = 'OLO' | 'CATERING' | 'MERCH';
|
|
14
18
|
export declare type FullOrderType = OrderType | 'MAIN_MENU' | 'ECOMMERCE';
|
package/package.json
CHANGED