@glidevvr/storage-payload-types-pkg 1.0.335 → 1.0.336

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/payload-types.ts +11 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.335",
3
+ "version": "1.0.336",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -2077,8 +2077,8 @@ export interface HomeHero {
2077
2077
  halfImageContentSide?: ('right' | 'left') | null;
2078
2078
  searchLayout?: 'default' | null;
2079
2079
  eyebrow?: string | null;
2080
- imageCount?: ('1' | '2' | '3') | null;
2081
2080
  /**
2081
+ * Add 1-3 images; the layout follows the number of images added.
2082
2082
  * Order:
2083
2083
  * 3 images: Top-left (portrait), top-right, bottom-right
2084
2084
  * 2 images: Top-left, top-right (portrait)
@@ -2088,10 +2088,17 @@ export interface HomeHero {
2088
2088
  | {
2089
2089
  image: string | Media;
2090
2090
  label?: string | null;
2091
+ /**
2092
+ * Desktop label position for this image. "Default" follows the design (varies by image slot). On mobile, labels are always bottom-center.
2093
+ */
2094
+ labelPosition?: ('default' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right') | null;
2091
2095
  id?: string | null;
2092
2096
  }[]
2093
2097
  | null;
2094
- labelPosition?: ('top-left' | 'top-right' | 'bottom-left' | 'bottom-right') | null;
2098
+ /**
2099
+ * Background color for all image labels.
2100
+ */
2101
+ labelBackgroundColor?: ('primary' | 'secondary' | 'tertiary' | 'black' | 'white') | null;
2095
2102
  id?: string | null;
2096
2103
  blockName?: string | null;
2097
2104
  blockType: 'homeHero';
@@ -3486,15 +3493,15 @@ export interface HomeHeroSelect<T extends boolean = true> {
3486
3493
  halfImageContentSide?: T;
3487
3494
  searchLayout?: T;
3488
3495
  eyebrow?: T;
3489
- imageCount?: T;
3490
3496
  images?:
3491
3497
  | T
3492
3498
  | {
3493
3499
  image?: T;
3494
3500
  label?: T;
3501
+ labelPosition?: T;
3495
3502
  id?: T;
3496
3503
  };
3497
- labelPosition?: T;
3504
+ labelBackgroundColor?: T;
3498
3505
  id?: T;
3499
3506
  blockName?: T;
3500
3507
  }