@open-tender/types 0.2.29 → 0.2.31

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.
@@ -256,6 +256,8 @@ export interface ConfigContent {
256
256
  loadingMessage: string;
257
257
  mobile: string;
258
258
  soldOutMessage: string;
259
+ videoUrl: string;
260
+ videoUrlMobile: string;
259
261
  };
260
262
  menuSite: ConfigContentField & {
261
263
  background: string;
@@ -277,6 +279,7 @@ export interface ConfigContent {
277
279
  showDescriptionsMobile: boolean;
278
280
  showHero: boolean;
279
281
  videoUrl: string;
282
+ videoUrlMobile: string;
280
283
  };
281
284
  orders: ConfigContentField;
282
285
  profile: ConfigContentField;
@@ -370,19 +370,69 @@ export interface ThemeLogo extends Record<string, string> {
370
370
  width: string;
371
371
  widthMobile: string;
372
372
  }
373
- export interface ThemeModifiersBox extends Record<string, string | number> {
373
+ export interface ThemeMenuItemsLayout extends Record<string, string | number> {
374
+ containerMaxWidth: string;
375
+ gap: string;
376
+ gapHalf: string;
377
+ justifyContent: ThemeJustifyContent;
378
+ perRow: number;
379
+ width: string;
380
+ }
381
+ export interface ThemeMenuItemsBox extends Record<string, string | number> {
382
+ bgColor: string;
383
+ bgColorHover: string;
374
384
  border: string;
385
+ borderColor: string;
386
+ borderColorHover: string;
387
+ borderMobile: string;
375
388
  borderRadius: string;
389
+ borderRadiusMobile: string;
376
390
  boxShadow: string;
377
- gap: string;
378
- gapHalf: string;
379
- layout: string;
380
391
  margin: string;
381
- minHeight: string;
392
+ marginMobile: string;
382
393
  minWidth: string;
394
+ minWidthMobile: string;
383
395
  padding: string;
384
- perRow: number;
385
- width: string;
396
+ paddingMobile: string;
397
+ }
398
+ export interface ThemeMenuItemsImage extends Record<string, string | number | boolean> {
399
+ asImg: boolean;
400
+ aspectRatio: number;
401
+ bgColor: string;
402
+ bgSize: string;
403
+ border: string;
404
+ borderColor: string;
405
+ borderMobile: string;
406
+ borderRadius: string;
407
+ borderRadiusMobile: string;
408
+ boxShadow: string;
409
+ margin: string;
410
+ marginMobile: string;
411
+ minWidth: string;
412
+ minWidthMobile: string;
413
+ padding: string;
414
+ paddingMobile: string;
415
+ position: string;
416
+ }
417
+ export interface ThemeMenuItemsContent extends Record<string, string> {
418
+ padding: string;
419
+ paddingMobile: string;
420
+ }
421
+ export interface ThemeMenuItemsText extends Record<string, string> {
422
+ color: string;
423
+ colorHover: string;
424
+ fontSize: string;
425
+ fontSizeMobile: string;
426
+ }
427
+ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsLayout | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent> {
428
+ box: ThemeMenuItemsBox;
429
+ calories: ThemeMenuItemsText;
430
+ content: ThemeMenuItemsContent;
431
+ image: ThemeMenuItemsImage;
432
+ layout: ThemeMenuItemsLayout;
433
+ price: ThemeMenuItemsText;
434
+ text: ThemeMenuItemsText;
435
+ title: ThemeMenuItemsText;
386
436
  }
387
437
  export interface ThemeModifiersText extends Record<string, string> {
388
438
  color: string;
@@ -256,6 +256,8 @@ export interface ConfigContent {
256
256
  loadingMessage: string;
257
257
  mobile: string;
258
258
  soldOutMessage: string;
259
+ videoUrl: string;
260
+ videoUrlMobile: string;
259
261
  };
260
262
  menuSite: ConfigContentField & {
261
263
  background: string;
@@ -277,6 +279,7 @@ export interface ConfigContent {
277
279
  showDescriptionsMobile: boolean;
278
280
  showHero: boolean;
279
281
  videoUrl: string;
282
+ videoUrlMobile: string;
280
283
  };
281
284
  orders: ConfigContentField;
282
285
  profile: ConfigContentField;
@@ -370,19 +370,69 @@ export interface ThemeLogo extends Record<string, string> {
370
370
  width: string;
371
371
  widthMobile: string;
372
372
  }
373
- export interface ThemeModifiersBox extends Record<string, string | number> {
373
+ export interface ThemeMenuItemsLayout extends Record<string, string | number> {
374
+ containerMaxWidth: string;
375
+ gap: string;
376
+ gapHalf: string;
377
+ justifyContent: ThemeJustifyContent;
378
+ perRow: number;
379
+ width: string;
380
+ }
381
+ export interface ThemeMenuItemsBox extends Record<string, string | number> {
382
+ bgColor: string;
383
+ bgColorHover: string;
374
384
  border: string;
385
+ borderColor: string;
386
+ borderColorHover: string;
387
+ borderMobile: string;
375
388
  borderRadius: string;
389
+ borderRadiusMobile: string;
376
390
  boxShadow: string;
377
- gap: string;
378
- gapHalf: string;
379
- layout: string;
380
391
  margin: string;
381
- minHeight: string;
392
+ marginMobile: string;
382
393
  minWidth: string;
394
+ minWidthMobile: string;
383
395
  padding: string;
384
- perRow: number;
385
- width: string;
396
+ paddingMobile: string;
397
+ }
398
+ export interface ThemeMenuItemsImage extends Record<string, string | number | boolean> {
399
+ asImg: boolean;
400
+ aspectRatio: number;
401
+ bgColor: string;
402
+ bgSize: string;
403
+ border: string;
404
+ borderColor: string;
405
+ borderMobile: string;
406
+ borderRadius: string;
407
+ borderRadiusMobile: string;
408
+ boxShadow: string;
409
+ margin: string;
410
+ marginMobile: string;
411
+ minWidth: string;
412
+ minWidthMobile: string;
413
+ padding: string;
414
+ paddingMobile: string;
415
+ position: string;
416
+ }
417
+ export interface ThemeMenuItemsContent extends Record<string, string> {
418
+ padding: string;
419
+ paddingMobile: string;
420
+ }
421
+ export interface ThemeMenuItemsText extends Record<string, string> {
422
+ color: string;
423
+ colorHover: string;
424
+ fontSize: string;
425
+ fontSizeMobile: string;
426
+ }
427
+ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsLayout | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent> {
428
+ box: ThemeMenuItemsBox;
429
+ calories: ThemeMenuItemsText;
430
+ content: ThemeMenuItemsContent;
431
+ image: ThemeMenuItemsImage;
432
+ layout: ThemeMenuItemsLayout;
433
+ price: ThemeMenuItemsText;
434
+ text: ThemeMenuItemsText;
435
+ title: ThemeMenuItemsText;
386
436
  }
387
437
  export interface ThemeModifiersText extends Record<string, string> {
388
438
  color: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.29",
3
+ "version": "0.2.31",
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",