@minmaps-dev/mm-web-sdk 1.0.0-rc.29 → 1.0.0-rc.30

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
@@ -54,6 +54,20 @@ interface SDKOptions {
54
54
  * mirror their app's `prefers-reduced-motion` state into this.
55
55
  */
56
56
  reducedMotion?: boolean;
57
+ /**
58
+ * Whether a freshly computed route auto-highlights its first step's
59
+ * segment (the brighter `route-line-active` overlay). Defaults to
60
+ * `true`, preserving the turn-by-turn segment highlight that
61
+ * `setActiveStep` drives.
62
+ *
63
+ * Set `false` for kiosk-style "show the whole route at once" UIs:
64
+ * the entire route line is shown without singling out one segment,
65
+ * which reads more clearly at a glance and avoids implying the visitor
66
+ * must step through the route. `setActiveStep` still works when called
67
+ * explicitly (e.g. a paginated QR-handoff / mobile flow) — this only
68
+ * controls the automatic highlight on `routeReady`.
69
+ */
70
+ routeStepHighlight?: boolean;
57
71
  initialFloor?: string | number;
58
72
  enableInteractions?: boolean;
59
73
  customSprite?: string;