@rio-cloud/uikit-mcp 1.1.10 → 1.1.12

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 (210) hide show
  1. package/README.md +2 -1
  2. package/dist/doc-metadata.json +92 -92
  3. package/dist/docs/components/accentBar.md +1 -1
  4. package/dist/docs/components/activity.md +1 -1
  5. package/dist/docs/components/analyticsAnalysisOverlay.md +3 -1
  6. package/dist/docs/components/animatedNumber.md +2 -2
  7. package/dist/docs/components/animatedTextReveal.md +6 -6
  8. package/dist/docs/components/animations.md +22 -22
  9. package/dist/docs/components/appHeader.md +1 -1
  10. package/dist/docs/components/appLayout.md +31 -65
  11. package/dist/docs/components/appNavigationBar.md +1 -1
  12. package/dist/docs/components/areaCharts.md +7 -5
  13. package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
  14. package/dist/docs/components/assetTree.md +160 -142
  15. package/dist/docs/components/autosuggests.md +1 -1
  16. package/dist/docs/components/avatar.md +1 -1
  17. package/dist/docs/components/banner.md +2 -2
  18. package/dist/docs/components/barCharts.md +16 -14
  19. package/dist/docs/components/barList.md +9 -9
  20. package/dist/docs/components/basicMap.md +45 -1
  21. package/dist/docs/components/bottomSheet.md +1 -1
  22. package/dist/docs/components/button.md +1 -1
  23. package/dist/docs/components/buttonToolbar.md +1 -1
  24. package/dist/docs/components/calendarStripe.md +56 -56
  25. package/dist/docs/components/card.md +1 -1
  26. package/dist/docs/components/carousel.md +1 -1
  27. package/dist/docs/components/chartColors.md +3 -1
  28. package/dist/docs/components/chartsGettingStarted.md +3 -1
  29. package/dist/docs/components/chat.md +1 -1
  30. package/dist/docs/components/checkbox.md +3 -1
  31. package/dist/docs/components/circularProgress.md +5 -5
  32. package/dist/docs/components/clearableInput.md +1 -1
  33. package/dist/docs/components/collapse.md +4 -2
  34. package/dist/docs/components/composedCharts.md +17 -15
  35. package/dist/docs/components/contentLoader.md +1 -1
  36. package/dist/docs/components/dataTabs.md +1 -1
  37. package/dist/docs/components/datepickers.md +662 -660
  38. package/dist/docs/components/dayPicker.md +55 -5
  39. package/dist/docs/components/dayPickerCalendar.md +488 -468
  40. package/dist/docs/components/dialogs.md +1 -1
  41. package/dist/docs/components/divider.md +1 -1
  42. package/dist/docs/components/dropdowns.md +3270 -3244
  43. package/dist/docs/components/editableContent.md +1 -1
  44. package/dist/docs/components/expander.md +1 -1
  45. package/dist/docs/components/fade.md +1 -1
  46. package/dist/docs/components/fadeExpander.md +1 -1
  47. package/dist/docs/components/fadeUp.md +2 -2
  48. package/dist/docs/components/feedback.md +1 -1
  49. package/dist/docs/components/filePickers.md +1 -1
  50. package/dist/docs/components/formLabel.md +1 -1
  51. package/dist/docs/components/groupedItemList.md +1 -1
  52. package/dist/docs/components/htmlTable.md +113 -115
  53. package/dist/docs/components/iconList.md +3 -3
  54. package/dist/docs/components/imagePreloader.md +1 -1
  55. package/dist/docs/components/labeledElement.md +1 -1
  56. package/dist/docs/components/licensePlate.md +1 -1
  57. package/dist/docs/components/lineCharts.md +6 -4
  58. package/dist/docs/components/listMenu.md +1 -1
  59. package/dist/docs/components/loadMore.md +1 -1
  60. package/dist/docs/components/mainNavigation.md +1 -1
  61. package/dist/docs/components/mapCircle.md +1 -1
  62. package/dist/docs/components/mapCluster.md +3 -1
  63. package/dist/docs/components/mapContext.md +1 -1
  64. package/dist/docs/components/mapDraggableMarker.md +1 -1
  65. package/dist/docs/components/mapGettingStarted.md +39 -1
  66. package/dist/docs/components/mapInfoBubble.md +1 -1
  67. package/dist/docs/components/mapLayerGroup.md +1 -1
  68. package/dist/docs/components/mapMarker.md +3 -1
  69. package/dist/docs/components/mapPolygon.md +1 -1
  70. package/dist/docs/components/mapRoute.md +1 -1
  71. package/dist/docs/components/mapSettings.md +36 -9
  72. package/dist/docs/components/mapUtils.md +65 -2
  73. package/dist/docs/components/mapViewportHistory.md +287 -0
  74. package/dist/docs/components/multiselects.md +171 -1
  75. package/dist/docs/components/noData.md +1 -1
  76. package/dist/docs/components/notifications.md +1 -1
  77. package/dist/docs/components/numbercontrol.md +1 -1
  78. package/dist/docs/components/onboarding.md +1 -1
  79. package/dist/docs/components/page.md +1 -1
  80. package/dist/docs/components/pager.md +1 -1
  81. package/dist/docs/components/pieCharts.md +38 -36
  82. package/dist/docs/components/popover.md +1 -1
  83. package/dist/docs/components/position.md +1 -1
  84. package/dist/docs/components/radialBarCharts.md +27 -25
  85. package/dist/docs/components/radioCardGroup.md +1 -1
  86. package/dist/docs/components/radiobutton.md +3 -1
  87. package/dist/docs/components/releaseNotes.md +1 -1
  88. package/dist/docs/components/resizer.md +3 -1
  89. package/dist/docs/components/responsiveColumnStripe.md +3 -1
  90. package/dist/docs/components/responsiveVideo.md +1 -1
  91. package/dist/docs/components/rioglyph.md +1 -1
  92. package/dist/docs/components/rules.md +1 -1
  93. package/dist/docs/components/saveableInput.md +247 -247
  94. package/dist/docs/components/selects.md +168 -51
  95. package/dist/docs/components/sidebar.md +1 -1
  96. package/dist/docs/components/sliders.md +1 -1
  97. package/dist/docs/components/smoothScrollbars.md +3 -1
  98. package/dist/docs/components/spinners.md +1 -1
  99. package/dist/docs/components/states.md +15 -1
  100. package/dist/docs/components/statsWidgets.md +1 -1
  101. package/dist/docs/components/statusBar.md +3 -1
  102. package/dist/docs/components/stepButton.md +1 -1
  103. package/dist/docs/components/steppedProgressBars.md +1 -1
  104. package/dist/docs/components/subNavigation.md +1 -1
  105. package/dist/docs/components/supportMarker.md +1 -1
  106. package/dist/docs/components/svgImage.md +1 -1
  107. package/dist/docs/components/switch.md +3 -1
  108. package/dist/docs/components/table.md +1998 -221
  109. package/dist/docs/components/tableControls.md +51 -51
  110. package/dist/docs/components/tagManager.md +1 -1
  111. package/dist/docs/components/tags.md +1 -1
  112. package/dist/docs/components/teaser.md +3 -1
  113. package/dist/docs/components/textTruncateMiddle.md +1 -1
  114. package/dist/docs/components/timeline.md +1 -1
  115. package/dist/docs/components/timepicker.md +3 -1
  116. package/dist/docs/components/toggleButton.md +1 -1
  117. package/dist/docs/components/tooltip.md +5 -1
  118. package/dist/docs/components/tracker.md +1 -1
  119. package/dist/docs/components/virtualList.md +58 -56
  120. package/dist/docs/foundations.md +271 -105
  121. package/dist/docs/start/changelog.md +44 -212
  122. package/dist/docs/start/goodtoknow.md +8 -2
  123. package/dist/docs/start/guidelines/color-combinations.md +5 -1
  124. package/dist/docs/start/guidelines/custom-css.md +26 -2
  125. package/dist/docs/start/guidelines/custom-rioglyph.md +20 -2
  126. package/dist/docs/start/guidelines/formatting.md +2256 -249
  127. package/dist/docs/start/guidelines/iframe.md +37 -1
  128. package/dist/docs/start/guidelines/obfuscate-data.md +26 -2
  129. package/dist/docs/start/guidelines/print-css.md +16 -2
  130. package/dist/docs/start/guidelines/spinner.md +1 -1
  131. package/dist/docs/start/guidelines/state-in-url.md +1138 -11
  132. package/dist/docs/start/guidelines/supported-browsers.md +9 -2
  133. package/dist/docs/start/guidelines/writing.md +228 -2
  134. package/dist/docs/start/howto.md +160 -10
  135. package/dist/docs/start/intro.md +40 -2
  136. package/dist/docs/start/responsiveness.md +29 -1
  137. package/dist/docs/templates/ai-assistant.md +1 -1
  138. package/dist/docs/templates/common-table.md +55 -55
  139. package/dist/docs/templates/detail-views.md +2 -2
  140. package/dist/docs/templates/expandable-details.md +1 -1
  141. package/dist/docs/templates/feature-cards.md +37 -37
  142. package/dist/docs/templates/form-summary.md +15 -15
  143. package/dist/docs/templates/form-toggle.md +1 -1
  144. package/dist/docs/templates/list-blocks.md +137 -137
  145. package/dist/docs/templates/loading-progress.md +1 -1
  146. package/dist/docs/templates/options-panel.md +1 -1
  147. package/dist/docs/templates/panel-variants.md +1 -1
  148. package/dist/docs/templates/progress-cards.md +1 -1
  149. package/dist/docs/templates/progress-success.md +1 -1
  150. package/dist/docs/templates/settings-form.md +18 -18
  151. package/dist/docs/templates/stats-blocks.md +10 -10
  152. package/dist/docs/templates/table-panel.md +1 -1
  153. package/dist/docs/templates/usage-cards.md +1 -1
  154. package/dist/docs/utilities/classNames.md +89 -1
  155. package/dist/docs/utilities/deviceUtils.md +1 -1
  156. package/dist/docs/utilities/featureToggles.md +182 -2
  157. package/dist/docs/utilities/fuelTypeUtils.md +1 -1
  158. package/dist/docs/utilities/getTrackingAttributes.md +46 -1
  159. package/dist/docs/utilities/routeUtils.md +210 -2
  160. package/dist/docs/utilities/useAfterMount.md +1 -1
  161. package/dist/docs/utilities/useAutoAnimate.md +1 -1
  162. package/dist/docs/utilities/useAverage.md +1 -1
  163. package/dist/docs/utilities/useClickOutside.md +1 -1
  164. package/dist/docs/utilities/useClipboard.md +2 -2
  165. package/dist/docs/utilities/useCookies.md +1 -1
  166. package/dist/docs/utilities/useCount.md +1 -1
  167. package/dist/docs/utilities/useDarkMode.md +1 -1
  168. package/dist/docs/utilities/useDebugInfo.md +3 -3
  169. package/dist/docs/utilities/useDraggableElement.md +1 -1
  170. package/dist/docs/utilities/useEffectOnce.md +1 -1
  171. package/dist/docs/utilities/useElapsedTime.md +1 -1
  172. package/dist/docs/utilities/useElementSize.md +1 -1
  173. package/dist/docs/utilities/useEsc.md +1 -1
  174. package/dist/docs/utilities/useEvent.md +1 -1
  175. package/dist/docs/utilities/useFocusTrap.md +1 -1
  176. package/dist/docs/utilities/useFullscreen.md +1 -1
  177. package/dist/docs/utilities/useHover.md +1 -1
  178. package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
  179. package/dist/docs/utilities/useInterval.md +1 -1
  180. package/dist/docs/utilities/useIsFocusWithin.md +1 -1
  181. package/dist/docs/utilities/useKey.md +1 -1
  182. package/dist/docs/utilities/useLocalStorage.md +1 -1
  183. package/dist/docs/utilities/useLocationSuggestions.md +1 -1
  184. package/dist/docs/utilities/useMax.md +1 -1
  185. package/dist/docs/utilities/useMin.md +1 -1
  186. package/dist/docs/utilities/useMutationObserver.md +1 -1
  187. package/dist/docs/utilities/useOnScreen.md +1 -1
  188. package/dist/docs/utilities/useOnlineStatus.md +1 -1
  189. package/dist/docs/utilities/usePostMessage.md +1 -1
  190. package/dist/docs/utilities/usePostMessageSender.md +1 -1
  191. package/dist/docs/utilities/usePrevious.md +111 -1
  192. package/dist/docs/utilities/useResizeObserver.md +1 -1
  193. package/dist/docs/utilities/useRioCookieConsent.md +1 -1
  194. package/dist/docs/utilities/useScrollPosition.md +1 -1
  195. package/dist/docs/utilities/useSearch.md +1 -1
  196. package/dist/docs/utilities/useSearchHighlight.md +1 -1
  197. package/dist/docs/utilities/useSorting.md +1 -1
  198. package/dist/docs/utilities/useStateWithValidation.md +1 -1
  199. package/dist/docs/utilities/useSum.md +1 -1
  200. package/dist/docs/utilities/useTableExport.md +61 -61
  201. package/dist/docs/utilities/useTableSelection.md +72 -72
  202. package/dist/docs/utilities/useTimeout.md +1 -1
  203. package/dist/docs/utilities/useToggle.md +1 -1
  204. package/dist/docs/utilities/useUrlState.md +1 -1
  205. package/dist/docs/utilities/useWindowResize.md +1 -1
  206. package/dist/index.mjs +174 -70
  207. package/dist/search-synonyms.json +214 -76
  208. package/dist/version.json +2 -2
  209. package/package.json +8 -6
  210. package/dist/docs/components/mapRouteGenerator.md +0 -6
@@ -0,0 +1,287 @@
1
+ # Map viewport history
2
+
3
+ *Category:* Components
4
+ *Section:* Map
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/mapViewportHistory
6
+ *Captured:* 2026-05-06T12:14:52.242Z
7
+
8
+ Viewport history stores relevant map movements and exposes a settings button that jumps back to the previous center and zoom. The button is only rendered when a previous viewport exists.
9
+
10
+ ## Map viewport history
11
+
12
+ Use the buttons below to trigger programmatic map changes, pause or resume the moving truck asset, or pan and zoom manually. When the asset lock is active, the map follows the truck and the history button is hidden because returning to a previous viewport would immediately conflict with the locked asset.
13
+
14
+ ### Example: Current center:N49° 8.106′ E10° 34.920′Zoom: 7Animation: offAsset lock: off
15
+
16
+ Terms of use © 1987–2026 HERE
17
+
18
+ 50 km
19
+
20
+ Choose view
21
+ Map view
22
+ Satellite
23
+
24
+ Traffic conditions
25
+ Show traffic incidents
26
+
27
+ Select depot Select customer Reset map Enable animation Enable asset movement Current center: N49° 8.106′ E10° 34.920′ Zoom: 7 Animation: off Asset lock: off
28
+
29
+ #### React (tsx)
30
+
31
+ ```tsx
32
+ import { useEffect, useRef, useState } from 'react';
33
+
34
+ import Button from '@rio-cloud/rio-uikit/Button';
35
+ import EventUtils, { type EventListenerMap } from '@rio-cloud/rio-uikit/EventUtils';
36
+ import Map from '@rio-cloud/rio-uikit/Map';
37
+ import MapLockMarkerButton from '@rio-cloud/rio-uikit/MapLockMarkerButton';
38
+ import MapPreviousViewportButton from '@rio-cloud/rio-uikit/MapPreviousViewportButton';
39
+ import MapSettings from '@rio-cloud/rio-uikit/MapSettings';
40
+ import MapTypeSettings from '@rio-cloud/rio-uikit/MapTypeSettings';
41
+ import Marker from '@rio-cloud/rio-uikit/Marker';
42
+ import Position from '@rio-cloud/rio-uikit/Position';
43
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
44
+ import type { MapEvent, Position as MapPosition } from '@rio-cloud/rio-uikit/mapTypes';
45
+
46
+ import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
47
+ import ButtonToolbar from '@rio-cloud/rio-uikit/ButtonToolbar';
48
+
49
+ const INITIAL_ZOOM = 7;
50
+
51
+ const initialPosition: MapPosition = { lat: 49.1351, lng: 10.582 };
52
+ const depotPosition: MapPosition = { lat: 48.7758, lng: 9.1829 };
53
+ const customerPosition: MapPosition = { lat: 49.4521, lng: 11.0767 };
54
+
55
+ const assetRoute: MapPosition[] = [
56
+ { lat: 48.1351, lng: 11.582 },
57
+ { lat: 48.144, lng: 11.596 },
58
+ { lat: 48.151, lng: 11.612 },
59
+ { lat: 48.159, lng: 11.628 },
60
+ { lat: 48.167, lng: 11.645 },
61
+ { lat: 48.154, lng: 11.626 },
62
+ { lat: 48.142, lng: 11.604 },
63
+ ];
64
+
65
+ const isSameViewport = (
66
+ currentCenter: MapPosition,
67
+ currentZoom: number,
68
+ targetCenter: MapPosition,
69
+ targetZoom: number
70
+ ) =>
71
+ Math.abs(currentCenter.lat - targetCenter.lat) < 0.0001 &&
72
+ Math.abs(currentCenter.lng - targetCenter.lng) < 0.0001 &&
73
+ Math.abs(currentZoom - targetZoom) < 0.1;
74
+
75
+ const MapViewportHistoryExample = () => {
76
+ const [center, setCenter] = useState(initialPosition);
77
+ const [zoom, setZoom] = useState(INITIAL_ZOOM);
78
+ const [zoomAnimation, setZoomAnimation] = useState(false);
79
+ const [assetPositionIndex, setAssetPositionIndex] = useState(0);
80
+ const [isAssetMovementEnabled, setIsAssetMovementEnabled] = useState(false);
81
+ const [isAssetLocked, setIsAssetLocked] = useState(false);
82
+
83
+ const pendingViewportRef = useRef<{ center: MapPosition; zoom: number }>();
84
+
85
+ const assetPosition = assetRoute[assetPositionIndex];
86
+
87
+ useEffect(() => {
88
+ if (!isAssetMovementEnabled) {
89
+ return;
90
+ }
91
+
92
+ const intervalId = window.setInterval(() => {
93
+ setAssetPositionIndex(currentIndex => (currentIndex + 1) % assetRoute.length);
94
+ }, 5000);
95
+
96
+ return () => window.clearInterval(intervalId);
97
+ }, [isAssetMovementEnabled]);
98
+
99
+ const setMapView = (position: MapPosition, nextZoom: number) => {
100
+ pendingViewportRef.current = isSameViewport(center, zoom, position, nextZoom)
101
+ ? undefined
102
+ : { center: position, zoom: nextZoom };
103
+
104
+ setCenter(position);
105
+ setZoom(nextZoom);
106
+ };
107
+
108
+ const setMapCenter = (position: MapPosition) => {
109
+ pendingViewportRef.current = isSameViewport(center, zoom, position, zoom)
110
+ ? undefined
111
+ : { center: position, zoom };
112
+
113
+ setCenter(position);
114
+ };
115
+
116
+ useEffect(() => {
117
+ if (isAssetLocked) {
118
+ setMapCenter(assetPosition);
119
+ }
120
+ }, [assetPosition, isAssetLocked]);
121
+
122
+ const eventListenerMap: EventListenerMap = {
123
+ [EventUtils.MAP_VIEW_CHANGE_END]: (event: MapEvent) => {
124
+ const target = event.currentTarget as H.Map;
125
+ const updatedCenter = target.getCenter();
126
+ const updatedZoom = target.getZoom();
127
+
128
+ if (!updatedCenter) {
129
+ return;
130
+ }
131
+
132
+ const pendingViewport = pendingViewportRef.current;
133
+ if (pendingViewport) {
134
+ if (!isSameViewport(updatedCenter, updatedZoom, pendingViewport.center, pendingViewport.zoom)) {
135
+ return;
136
+ }
137
+
138
+ pendingViewportRef.current = undefined;
139
+ }
140
+
141
+ setCenter(updatedCenter);
142
+ setZoom(updatedZoom);
143
+ },
144
+ };
145
+
146
+ const mapSettingsButtons = [
147
+ <MapTypeSettings
148
+ key='mapTypeSettings'
149
+ tooltip='Change map type'
150
+ dropdownHeaderText='Map views'
151
+ defaultTypeLabel='Default view'
152
+ truckTypeLabel='Truck view'
153
+ terrainTypeLabel='Terrain view'
154
+ satelliteTypeLabel='Satellite view'
155
+ nightTypeLabel='Night view'
156
+ />,
157
+ <MapLockMarkerButton
158
+ key='mapLockAssetButton'
159
+ tooltip={isAssetLocked ? 'Unlock asset' : 'Lock asset'}
160
+ isActive={isAssetLocked}
161
+ onToggle={() => setIsAssetLocked(!isAssetLocked)}
162
+ />,
163
+ ];
164
+
165
+ if (!isAssetLocked) {
166
+ mapSettingsButtons.push(
167
+ <MapPreviousViewportButton key='mapPreviousViewportButton' tooltip='Back to previous map position' />
168
+ );
169
+ }
170
+
171
+ return (
172
+ <>
173
+ <Map
174
+ credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
175
+ center={center}
176
+ zoom={zoom}
177
+ height={400}
178
+ eventListenerMap={eventListenerMap}
179
+ zoomAnimation={zoomAnimation}
180
+ mapSettings={<MapSettings options={mapSettingsButtons} />}
181
+ >
182
+ <Marker
183
+ position={assetPosition}
184
+ icon={<SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' name='Asset' />}
185
+ />
186
+ <Marker
187
+ position={depotPosition}
188
+ icon={<SingleMapMarker iconNames={['warehouse']} markerColor='bg-map-marker-poi' name='Depot' />}
189
+ />
190
+ <Marker
191
+ position={customerPosition}
192
+ icon={<SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-route' name='Customer' />}
193
+ />
194
+ </Map>
195
+
196
+ <ButtonToolbar className='margin-top-15'>
197
+ <Button onClick={() => setMapView(depotPosition, 12)}>Select depot</Button>
198
+ <Button onClick={() => setMapView(customerPosition, 13)}>Select customer</Button>
199
+ <Button onClick={() => setMapView(initialPosition, INITIAL_ZOOM)}>Reset map</Button>
200
+ <Button onClick={() => setZoomAnimation(!zoomAnimation)}>
201
+ {zoomAnimation ? 'Disable animation' : 'Enable animation'}
202
+ </Button>
203
+ <Button onClick={() => setIsAssetMovementEnabled(!isAssetMovementEnabled)}>
204
+ {isAssetMovementEnabled ? 'Pause asset movement' : 'Enable asset movement'}
205
+ </Button>
206
+ <div className='text-size-12 text-color-dark display-flex align-items-center gap-10'>
207
+ <span>Current center:</span>
208
+ <Position latitude={center.lat} longitude={center.lng} />
209
+ <span>Zoom: {Math.round(zoom)}</span>
210
+ <span>Animation: {zoomAnimation ? 'on' : 'off'}</span>
211
+ <span>Asset lock: {isAssetLocked ? 'on' : 'off'}</span>
212
+ </div>
213
+ </ButtonToolbar>
214
+ </>
215
+ );
216
+ };
217
+
218
+ export default MapViewportHistoryExample;
219
+ ```
220
+
221
+ #### Props: Map
222
+
223
+ ### Map
224
+
225
+ | Name | Type | Default | Description |
226
+ | --- | --- | --- | --- |
227
+ | credentials | MapCredentials | — | HERE credentials used to initialize the map platform. |
228
+ | height | number | — | Height of the map container. |
229
+ | width | number | — | Width of the map container. |
230
+ | language | string | 'en' | Language used for HERE map labels and controls. |
231
+ | center | Position | — | Initial center position of the map. |
232
+ | zoom | number | — | Initial or controlled zoom level of the map. |
233
+ | boundingBox | BoundingBox | — | Bounding box that should be fitted by the map view. |
234
+ | disableMapEvents | boolean | — | Disables HERE map events entirely. |
235
+ | disableBehavior | boolean | false | Disables the default HERE map behavior such as pan and zoom interaction. |
236
+ | disableZoomMomentum | boolean | true | Disables HERE zoom momentum to reduce scroll inertia on zoom. |
237
+ | eventListenerMap | EventListenerMap | — | Event listeners attached to the HERE map instance. |
238
+ | hideMapSettings | boolean | — | Legacy prop for hiding map settings. |
239
+ | hideClusterSettings | boolean | false | Hides the cluster settings entry in the map settings UI. |
240
+ | hideMapLayerSettings | boolean | false | Hides the map layer settings entry in the map settings UI. |
241
+ | mapType | MapType | Map.TYPE_DEFAULT | Base map type to render. |
242
+ | mapLayer | MapLayer[] | [] | Active overlay layers such as traffic or incidents. |
243
+ | showCluster | boolean | true | Controls whether marker clustering is enabled. |
244
+ | showScaleBar | boolean | false | Shows the HERE scale bar. |
245
+ | onMapTypeChange | (type: MapType, previousType?: MapType) => void | — | Callback fired when the map type changes. |
246
+ | onMapLayerChange | (activeLayer: MapLayer[], previousLayer?: MapLayer[]) => void | — | Callback fired when the active map layers change. |
247
+ | onShowClusterChange | (show: boolean) => void | — | Callback fired when the cluster visibility changes. |
248
+ | onZoomIn | (zoom: number) => void | — | Callback fired when zooming in via the built-in zoom controls. |
249
+ | onZoomOut | (zoom: number) => void | — | Callback fired when zooming out via the built-in zoom controls. |
250
+ | onIncidentsChange | (incidentsResult: MapIncidents) => void | — | Callback used by incidents overlays to report fetched incidents. |
251
+ | mapSettingsTooltip | string \| React.ReactNode | — | Tooltip content for the map settings entry. |
252
+ | mapSettings | React.ReactNode | — | Custom settings UI rendered on top of the map. |
253
+ | zoomAnimation | boolean | false | Enables animation when zoom or center changes are applied programmatically. |
254
+ | maxViewportHistoryEntries | number | 5 | Maximum number of previous map viewports stored for viewport history. |
255
+ | enableWebGL | boolean | true | Enables the WebGL/HARP rendering engine where supported. |
256
+ | enableDevicePixelRatio | boolean | true | Uses window.devicePixelRatio for map rendering. |
257
+ | enableMarkerIconCache | boolean | true | Enables caching for generated marker icons. |
258
+ | enableFractionalZoom | boolean | false | Keeps HERE fractional zoom enabled for smoother trackpad and wheel zoom interaction. |
259
+ | disableMarkerPointerEventsWhileZooming | boolean | false | Temporarily disables marker pointer events during zoom interactions to reduce DOM hit-testing overhead. |
260
+ | pixelRatio | number | — | Fallback pixel ratio used when device pixel ratio support is disabled. |
261
+ | minZoom | number | — | Minimum allowed zoom level. |
262
+ | maxZoom | number | — | Maximum allowed zoom level. |
263
+ | children | React.ReactNode \| ((api: MapApi, incidents?: MapIncidents) => React.ReactNode) | — | Map content or a render function receiving the map API. |
264
+
265
+ #### Props: MapPreviousViewportButton
266
+
267
+ ### MapPreviousViewportButton
268
+
269
+ | Name | Type | Default | Description |
270
+ | --- | --- | --- | --- |
271
+ | onGoBack | () => void | — | Callback fired after the map viewport history jumps back to the previous viewport. |
272
+
273
+ #### Props: MapSettingsTile
274
+
275
+ ### MapSettingsTile
276
+
277
+ | Name | Type | Default | Description |
278
+ | --- | --- | --- | --- |
279
+ | onToggle | (newState: boolean) => void | — | Callback fired when the settings tile opens or closes. |
280
+ | tooltip | React.ReactNode | — | Tooltip shown while the settings tile is closed. |
281
+ | panel | React.ReactNode | — | Custom panel rendered below the settings tile when it is open. |
282
+ | items | JSX.Element[] \| undefined | — | Dropdown menu items rendered when the settings tile is open. |
283
+ | activeIcon | JSX.Element \| undefined | — | Icon shown when the tile is active. |
284
+ | inactiveIcon | JSX.Element \| undefined | — | Icon shown when the tile is inactive. |
285
+ | isActive | boolean | — | Controls whether the active or inactive icon is shown. |
286
+ | buttonClassName | string | — | Additional class name for the clickable settings button. |
287
+ | className | string | — | Additional class name for the settings tile wrapper. |
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Selection
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/multiselects
6
- *Captured:* 2026-04-20T12:54:02.436Z
6
+ *Captured:* 2026-05-06T12:13:40.306Z
7
7
 
8
8
  The Multiselect component is a form control and is intended to be used within forms. It's designed to be used instead of native HTML Select which cannot be styled and are rendered by each browser differently.
9
9
 
@@ -617,6 +617,7 @@ export default () => (
617
617
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
618
618
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
619
619
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
620
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
620
621
  | disabled | Boolean | false | Option to disable the opening of the option list. |
621
622
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
622
623
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -789,6 +790,7 @@ export default () => (
789
790
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
790
791
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
791
792
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
793
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
792
794
  | disabled | Boolean | false | Option to disable the opening of the option list. |
793
795
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
794
796
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -1020,6 +1022,7 @@ export default () => (
1020
1022
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
1021
1023
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
1022
1024
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
1025
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
1023
1026
  | disabled | Boolean | false | Option to disable the opening of the option list. |
1024
1027
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1025
1028
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -1183,6 +1186,7 @@ export default () => (
1183
1186
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
1184
1187
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
1185
1188
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
1189
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
1186
1190
  | disabled | Boolean | false | Option to disable the opening of the option list. |
1187
1191
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1188
1192
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -1653,6 +1657,7 @@ export default () => (
1653
1657
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
1654
1658
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
1655
1659
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
1660
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
1656
1661
  | disabled | Boolean | false | Option to disable the opening of the option list. |
1657
1662
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1658
1663
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -1944,6 +1949,171 @@ export default () => (
1944
1949
  | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
1945
1950
  | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
1946
1951
  | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
1952
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
1953
+ | disabled | Boolean | false | Option to disable the opening of the option list. |
1954
+ | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1955
+ | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
1956
+ | useFilter | Boolean | false | Defines whether the component should be filterable. |
1957
+ | noItemMessage | String / Node | — | Text that shall be shown when not match was found when filtering. |
1958
+ | counterMessage | Object | — | Object that will render the number of selected items instead of individual items. Using this prop will disable the filter functionality. { one: 'item selected', many: 'items selected' } |
1959
+ | └one | String / Node | — | Text that will be used when a single item is selected. |
1960
+ | └many | String / Node | — | Text that will be used when multiple item are selected. |
1961
+ | renderCounterMessage | Function | — | Optional render function that is used to render the message how many items have been selected. The total amount of selected items will be passed into that function. Using this prop will disable the filter functionality. |
1962
+ | multiline | boolean | false | Defines whether the selected items wrap around within the dropdown toggle. |
1963
+ | showSelectedItemIcon | Boolean | false | Set to show only the icon and not the label of selected item. |
1964
+ | showUnselectedItemIcons | Boolean | false | Set to show all item icons within the toggle element. Selected items are highlighted and unselected items are shown as inactive. |
1965
+ | inputAddon | String \| ReactNode | — | Option to add an icon as a leading input addon to the select component. |
1966
+ | errorMessage | String | — | Input error message. |
1967
+ | warningMessage | String | — | Input warning message. |
1968
+ | messageWhiteSpace | 'normal' \| 'prewrap' \| 'nowrap' | 'normal' | Optional warning message white-space setting. |
1969
+ | dropdownClassName | String | — | Additional classes to be set to the dropdown. |
1970
+ | btnClassName | String | — | Additional classes to be set to the select/input. |
1971
+ | className | String | — | Additional classes to be set to the select wrapper. |
1972
+
1973
+ ### Example: Example 7
1974
+
1975
+ Multiselect with incrementally loaded options Please select shipment states No matching shipment state
1976
+
1977
+ Load options in two steps Reset
1978
+ No options loaded
1979
+
1980
+ #### React (tsx)
1981
+
1982
+ ```tsx
1983
+ import { useEffect, useRef, useState } from 'react';
1984
+
1985
+ import Button from '@rio-cloud/rio-uikit/Button';
1986
+ import Multiselect, { type MultiselectOption } from '@rio-cloud/rio-uikit/Multiselect';
1987
+
1988
+ const firstOptionBatch: MultiselectOption[] = [
1989
+ { id: 'shipment-open', label: 'Open' },
1990
+ { id: 'shipment-planned', label: 'Planned' },
1991
+ { id: 'shipment-in-transit', label: 'In transit' },
1992
+ { id: 'shipment-at-border', label: 'At border' },
1993
+ ];
1994
+
1995
+ const secondOptionBatch: MultiselectOption[] = [
1996
+ { id: 'shipment-delayed', label: 'Delayed' },
1997
+ { id: 'shipment-delivered', label: 'Delivered' },
1998
+ { id: 'shipment-cancelled', label: 'Cancelled' },
1999
+ { id: 'shipment-on-hold', label: 'On hold' },
2000
+ ];
2001
+
2002
+ const MultiselectIncrementalOptionsExample = () => {
2003
+ const [options, setOptions] = useState<MultiselectOption[]>([]);
2004
+ const [selectedOptionIds, setSelectedOptionIds] = useState<string[]>([]);
2005
+ const [loadStep, setLoadStep] = useState(0);
2006
+ const timeoutRef = useRef<number | undefined>();
2007
+
2008
+ useEffect(() => () => window.clearTimeout(timeoutRef.current), []);
2009
+
2010
+ const handleStartLoading = () => {
2011
+ window.clearTimeout(timeoutRef.current);
2012
+
2013
+ setSelectedOptionIds([]);
2014
+ setOptions(firstOptionBatch);
2015
+ setLoadStep(1);
2016
+
2017
+ timeoutRef.current = window.setTimeout(() => {
2018
+ setOptions([...firstOptionBatch, ...secondOptionBatch]);
2019
+ setLoadStep(2);
2020
+ }, 3_000);
2021
+ };
2022
+
2023
+ const handleReset = () => {
2024
+ window.clearTimeout(timeoutRef.current);
2025
+
2026
+ setSelectedOptionIds([]);
2027
+ setOptions([]);
2028
+ setLoadStep(0);
2029
+ };
2030
+
2031
+ const statusText =
2032
+ loadStep === 0
2033
+ ? 'No options loaded'
2034
+ : `${options.length} of ${firstOptionBatch.length + secondOptionBatch.length} options loaded`;
2035
+
2036
+ return (
2037
+ <div className='max-width-400'>
2038
+ <label htmlFor='multiselectIncrementalOptions'>Multiselect with incrementally loaded options</label>
2039
+ <Multiselect
2040
+ id='multiselectIncrementalOptions'
2041
+ placeholder='Please select shipment states'
2042
+ options={options}
2043
+ value={selectedOptionIds}
2044
+ useFilter
2045
+ useClear
2046
+ noItemMessage='No matching shipment state'
2047
+ onChange={setSelectedOptionIds}
2048
+ />
2049
+ <div className='display-flex gap-10 align-items-center margin-top-10'>
2050
+ <Button onClick={handleStartLoading}>Load options in two steps</Button>
2051
+ <Button bsStyle='default' onClick={handleReset}>
2052
+ Reset
2053
+ </Button>
2054
+ </div>
2055
+ <div className='text-size-12 text-color-gray margin-top-10'>{statusText}</div>
2056
+ </div>
2057
+ );
2058
+ };
2059
+
2060
+ export default MultiselectIncrementalOptionsExample;
2061
+ ```
2062
+
2063
+ #### HTML (html)
2064
+
2065
+ ```html
2066
+ <div class="max-width-400">
2067
+ <label for="multiselectIncrementalOptions">Multiselect with incrementally loaded options</label>
2068
+ <div class="select multiselect dropdown">
2069
+ <button type="button" id="multiselectIncrementalOptions" class="dropdown-toggle form-control text-left" data-toggle="dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
2070
+ <span class="placeholder">Please select shipment states</span>
2071
+ <span class="select-toggle-actions">
2072
+ <span class="clearButton hide pointer-events-none">
2073
+ <span class="clearButtonIcon rioglyph rioglyph-remove-sign">
2074
+ </span>
2075
+ </span>
2076
+ <span class="caret">
2077
+ </span>
2078
+ </span>
2079
+ </button>
2080
+ <ul class="dropdown-menu" role="menu">
2081
+ <li class="no-item-message disabled" role="presentation">
2082
+ <a role="menuitem">
2083
+ <i>No matching shipment state</i>
2084
+ </a>
2085
+ </li>
2086
+ </ul>
2087
+ </div>
2088
+ <div class="display-flex gap-10 align-items-center margin-top-10">
2089
+ <button type="button" class="btn btn-default btn-component" tabindex="0">Load options in two steps</button>
2090
+ <button type="button" class="btn btn-default btn-component" tabindex="0">Reset</button>
2091
+ </div>
2092
+ <div class="text-size-12 text-color-gray margin-top-10">No options loaded</div>
2093
+ </div>
2094
+ ```
2095
+
2096
+ #### Props
2097
+
2098
+ | Name | Type | Default | Description |
2099
+ | --- | --- | --- | --- |
2100
+ | name | String | — | Passed through as HTML attribute to the toggle button. |
2101
+ | id | String | — | Passed through as HTML attribute to the toggle button. Uses the value given to name if not provided explicitly. |
2102
+ | options | Array of Objects | [] | Items to display in the dropdown menu. |
2103
+ | └id | String | — | Used to identify an option |
2104
+ | └label | String / Node | — | The option item text |
2105
+ | └icon | Node | — | Icon to be displayed in front of the label |
2106
+ | └selected | Boolean | false | Defines whether the menu item is selected. |
2107
+ | └disabled | Boolean | false | Setting "disabled" to true will disable the respective item. |
2108
+ | └header | Boolean | false | Will treat the given value as a menu header. |
2109
+ | value | Array | — | Sets the ids of the selected options when the component is already mounted. |
2110
+ | onChange | Function | () => {} | Callback function triggered when an item is selected. |
2111
+ | placeholder | String / Node | — | Text to display when nothing is selected. |
2112
+ | dropup | Boolean | false | Defines whether the dropdown opens upwards. Set to "true" additionally disables autoDrop feature. |
2113
+ | pullRight | Boolean | false | Defines whether the dropdown opens right aligned to the dropdown toggle. Set to "true" additionally disables autoDrop feature. |
2114
+ | autoDropDirection | Boolean | true | Enables or disables the autoDrop positioning feature. When enabled, the option list opens below or above the input depending on the surrounding space. |
2115
+ | bsSize | String | md | Defines the size of the select to be rendered. Possible values are: 'sm', 'md' and 'lg' |
2116
+ | variant | 'default' \| 'blank' | 'default' | Defines the visual variant of the select. |
1947
2117
  | disabled | Boolean | false | Option to disable the opening of the option list. |
1948
2118
  | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1949
2119
  | hasError | Boolean | false | Defines whether the Bootstrap error classes shall be added to the toggle element. |
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Content
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/noData
6
- *Captured:* 2026-04-20T12:54:27.724Z
6
+ *Captured:* 2026-05-06T12:14:03.855Z
7
7
 
8
8
  ## NoData
9
9
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/notifications
6
- *Captured:* 2026-04-20T12:54:49.548Z
6
+ *Captured:* 2026-05-06T12:14:25.481Z
7
7
 
8
8
  Hint:Notifications need to be wrapped by a NotificationsContainer inside your application layout body.
9
9
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Interaction
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/numbercontrol
6
- *Captured:* 2026-04-20T12:53:45.397Z
6
+ *Captured:* 2026-05-06T12:13:22.135Z
7
7
 
8
8
  ## NumberInput
9
9
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/onboarding
6
- *Captured:* 2026-04-20T12:54:49.651Z
6
+ *Captured:* 2026-05-06T12:14:25.513Z
7
7
 
8
8
  Useful when you want to control a single tooltip that highlights a portion of the UI.
9
9
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Content
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/page
6
- *Captured:* 2026-04-20T12:54:28.928Z
6
+ *Captured:* 2026-05-06T12:14:05.520Z
7
7
 
8
8
  ## Page
9
9
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Navigation
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/pager
6
- *Captured:* 2026-04-20T12:53:38.586Z
6
+ *Captured:* 2026-05-06T12:13:15.497Z
7
7
 
8
8
  ## Pager
9
9