@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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +47 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts +16 -0
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +2 -2
- package/src/themes/alt3-hybrid-style.json +440 -241
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
|
}
|