@glidevvr/storage-payload-types-pkg 1.0.359 → 1.0.361

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 +24 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.359",
3
+ "version": "1.0.361",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -959,15 +959,23 @@ export interface Facility {
959
959
  | {
960
960
  unitGroup: string[];
961
961
  /**
962
- * Visual treatment applied to the featured row.
962
+ * Visual treatment for the featured row. "Tab" highlights the row with a ribbon; "Badge" overlays a colored badge on the unit image (no row highlight).
963
963
  */
964
- treatment?: 'tab' | null;
964
+ treatment?: ('tab' | 'badge') | null;
965
965
  /**
966
966
  * Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
967
967
  */
968
968
  tabLabel?: string | null;
969
969
  /**
970
- * Pick a brand color or choose a custom color (defaults to primary). Used for the outline, background, tab, and text fill.
970
+ * Choose a badge shape.
971
+ */
972
+ badgeDesign?: string | null;
973
+ /**
974
+ * Text shown on the badge (e.g. "Flash Sale"). It automatically scales to fit the badge.
975
+ */
976
+ badgeText?: string | null;
977
+ /**
978
+ * Pick a brand color or choose a custom color (defaults to primary). Used for the tab (outline/background/ribbon) or the badge fill, with accessible text contrast.
971
979
  */
972
980
  color: string;
973
981
  id?: string | null;
@@ -4066,6 +4074,8 @@ export interface FacilitiesSelect<T extends boolean = true> {
4066
4074
  unitGroup?: T;
4067
4075
  treatment?: T;
4068
4076
  tabLabel?: T;
4077
+ badgeDesign?: T;
4078
+ badgeText?: T;
4069
4079
  color?: T;
4070
4080
  id?: T;
4071
4081
  };
@@ -5267,15 +5277,23 @@ export interface UnitsTableBlock {
5267
5277
  | {
5268
5278
  unitGroup: string[];
5269
5279
  /**
5270
- * Visual treatment applied to the featured row.
5280
+ * Visual treatment for the featured row. "Tab" highlights the row with a ribbon; "Badge" overlays a colored badge on the unit image (no row highlight).
5271
5281
  */
5272
- treatment?: 'tab' | null;
5282
+ treatment?: ('tab' | 'badge') | null;
5273
5283
  /**
5274
5284
  * Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
5275
5285
  */
5276
5286
  tabLabel?: string | null;
5277
5287
  /**
5278
- * Pick a brand color or choose a custom color (defaults to primary). Used for the outline, background, tab, and text fill.
5288
+ * Choose a badge shape.
5289
+ */
5290
+ badgeDesign?: string | null;
5291
+ /**
5292
+ * Text shown on the badge (e.g. "Flash Sale"). It automatically scales to fit the badge.
5293
+ */
5294
+ badgeText?: string | null;
5295
+ /**
5296
+ * Pick a brand color or choose a custom color (defaults to primary). Used for the tab (outline/background/ribbon) or the badge fill, with accessible text contrast.
5279
5297
  */
5280
5298
  color: string;
5281
5299
  }[]