@minmaps-dev/mm-web-sdk 1.0.0-rc.24 → 1.0.0-rc.26

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/react.d.ts CHANGED
@@ -32,6 +32,14 @@ type AmenityBadgeStyle = {
32
32
  /** Ring width in logical px. Default `2`. */
33
33
  ringWidth?: number;
34
34
  };
35
+ type DestinationChipStyle = {
36
+ /** Chip fill colour. Default `'#FFFFFF'`. */
37
+ color?: string;
38
+ /** Chip border colour. Default navy `'#162e51'`. */
39
+ borderColor?: string;
40
+ /** Chip border width in logical px. Default `2`. */
41
+ borderWidth?: number;
42
+ };
35
43
  interface SDKOptions {
36
44
  debug?: boolean;
37
45
  /**
@@ -93,6 +101,14 @@ interface SDKOptions {
93
101
  * the icon hiding while the disc stays painted.
94
102
  */
95
103
  amenityBadge?: AmenityBadgeStyle | false;
104
+ /**
105
+ * Chip composited behind each destination's uploaded logo. Destinations are
106
+ * full-colour brand images (not recoloured), so they get a neutral white
107
+ * rounded chip for legibility instead of the amenity gold badge. Pass `false`
108
+ * to render the logo bare, or an object to tune the chip fill / border.
109
+ * Defaults to a white chip with a 2px navy border.
110
+ */
111
+ destinationChip?: DestinationChipStyle | false;
96
112
  styleMode?: 'venueStyleUrl' | 'sdkTemplate';
97
113
  templateOverrideMode?: 'colorsOnly' | 'colorsAndConstants' | 'all';
98
114
  }