@minmaps-dev/mm-web-sdk 1.0.0-rc.36 → 1.0.0-rc.38

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
@@ -287,6 +287,22 @@ interface SDKOptions {
287
287
  * (matches `informationBadge`'s default green disc).
288
288
  */
289
289
  informationIconColor?: string;
290
+ /**
291
+ * Badge for the end-of-route flag (`poi-route-end-flag`) shown in place of a
292
+ * destination's dot while a route to it is displayed. Has its own defaults
293
+ * (green disc, white ring) that don't follow `amenityBadge`. Pass an object
294
+ * to tune the disc / ring, or `false` for the bare flag glyph with no badge.
295
+ * When `amenityBadge` is `false`, the flag is badge-less too unless this is
296
+ * set explicitly. Under the high-contrast theme the disc colour is forced to
297
+ * the high-contrast amenity yellow, like the amenity and connector badges.
298
+ */
299
+ routeEndBadge?: AmenityBadgeStyle | false;
300
+ /**
301
+ * Flag glyph colour on the end-of-route badge. Default white (contrasts the
302
+ * default green disc); doesn't follow `amenityIconColor`. Ignored under the
303
+ * high-contrast theme, which forces its own glyph colour.
304
+ */
305
+ routeEndIconColor?: string;
290
306
  styleMode?: 'venueStyleUrl' | 'sdkTemplate';
291
307
  templateOverrideMode?: 'colorsOnly' | 'colorsAndConstants' | 'all';
292
308
  }