@rio-cloud/uikit-mcp 1.1.9 → 1.1.11

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 (211) hide show
  1. package/README.md +2 -1
  2. package/dist/doc-metadata.json +334 -94
  3. package/dist/docs/components/accentBar.md +110 -116
  4. package/dist/docs/components/activity.md +1 -1
  5. package/dist/docs/components/analyticsAnalysisOverlay.md +630 -0
  6. package/dist/docs/components/animatedNumber.md +2 -2
  7. package/dist/docs/components/animatedTextReveal.md +53 -55
  8. package/dist/docs/components/animations.md +21 -21
  9. package/dist/docs/components/appHeader.md +27 -38
  10. package/dist/docs/components/appLayout.md +23 -77
  11. package/dist/docs/components/appNavigationBar.md +1 -1
  12. package/dist/docs/components/areaCharts.md +57 -61
  13. package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
  14. package/dist/docs/components/assetTree.md +429 -342
  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 +530 -414
  19. package/dist/docs/components/barList.md +10 -10
  20. package/dist/docs/components/basicMap.md +104 -39
  21. package/dist/docs/components/bottomSheet.md +2 -2
  22. package/dist/docs/components/button.md +8 -2
  23. package/dist/docs/components/buttonToolbar.md +1 -1
  24. package/dist/docs/components/calendarStripe.md +59 -63
  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 +1 -1
  28. package/dist/docs/components/chartsGettingStarted.md +1 -1
  29. package/dist/docs/components/chat.md +2 -2
  30. package/dist/docs/components/checkbox.md +15 -10
  31. package/dist/docs/components/circularProgress.md +6 -6
  32. package/dist/docs/components/clearableInput.md +1 -1
  33. package/dist/docs/components/collapse.md +2 -2
  34. package/dist/docs/components/composedCharts.md +63 -51
  35. package/dist/docs/components/contentLoader.md +1 -1
  36. package/dist/docs/components/dataTabs.md +33 -33
  37. package/dist/docs/components/datepickers.md +693 -685
  38. package/dist/docs/components/dayPicker.md +5624 -0
  39. package/dist/docs/components/dayPickerCalendar.md +5289 -0
  40. package/dist/docs/components/dialogs.md +17 -19
  41. package/dist/docs/components/divider.md +1 -1
  42. package/dist/docs/components/dropdowns.md +3264 -3276
  43. package/dist/docs/components/editableContent.md +91 -91
  44. package/dist/docs/components/expander.md +4 -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 +32 -36
  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 +29 -31
  51. package/dist/docs/components/groupedItemList.md +3 -7
  52. package/dist/docs/components/htmlTable.md +5074 -0
  53. package/dist/docs/components/iconList.md +4 -4
  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 +172 -170
  58. package/dist/docs/components/listMenu.md +15 -12
  59. package/dist/docs/components/loadMore.md +4 -2
  60. package/dist/docs/components/mainNavigation.md +1 -1
  61. package/dist/docs/components/mapCircle.md +10 -1
  62. package/dist/docs/components/mapCluster.md +25 -1
  63. package/dist/docs/components/mapContext.md +12 -4
  64. package/dist/docs/components/mapDraggableMarker.md +12 -1
  65. package/dist/docs/components/mapGettingStarted.md +39 -1
  66. package/dist/docs/components/mapInfoBubble.md +129 -2
  67. package/dist/docs/components/mapLayerGroup.md +10 -1
  68. package/dist/docs/components/mapMarker.md +10 -1
  69. package/dist/docs/components/mapPolygon.md +288 -85
  70. package/dist/docs/components/mapRoute.md +262 -172
  71. package/dist/docs/components/mapSettings.md +28 -1
  72. package/dist/docs/components/mapUtils.md +1 -1
  73. package/dist/docs/components/mapViewportHistory.md +287 -0
  74. package/dist/docs/components/multiselects.md +217 -18
  75. package/dist/docs/components/noData.md +1 -1
  76. package/dist/docs/components/notifications.md +2 -2
  77. package/dist/docs/components/numbercontrol.md +15 -15
  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 +237 -211
  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 +446 -398
  85. package/dist/docs/components/radioCardGroup.md +1 -1
  86. package/dist/docs/components/radiobutton.md +98 -98
  87. package/dist/docs/components/releaseNotes.md +1 -1
  88. package/dist/docs/components/resizer.md +1 -1
  89. package/dist/docs/components/responsiveColumnStripe.md +1 -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 +41 -47
  93. package/dist/docs/components/saveableInput.md +252 -252
  94. package/dist/docs/components/selects.md +332 -161
  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 +19 -13
  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 +9 -11
  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 +5 -1
  108. package/dist/docs/components/table.md +21361 -0
  109. package/dist/docs/components/tableControls.md +982 -0
  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 +1 -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 +3 -1
  117. package/dist/docs/components/tooltip.md +8 -2
  118. package/dist/docs/components/tracker.md +1 -1
  119. package/dist/docs/components/virtualList.md +60 -60
  120. package/dist/docs/foundations.md +761 -3077
  121. package/dist/docs/start/changelog.md +73 -3
  122. package/dist/docs/start/goodtoknow.md +5 -1
  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 +2254 -249
  127. package/dist/docs/start/guidelines/iframe.md +53 -19
  128. package/dist/docs/start/guidelines/obfuscate-data.md +24 -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 +155 -13
  135. package/dist/docs/start/intro.md +40 -2
  136. package/dist/docs/start/responsiveness.md +27 -1
  137. package/dist/docs/templates/ai-assistant.md +311 -0
  138. package/dist/docs/templates/common-table.md +814 -0
  139. package/dist/docs/templates/detail-views.md +846 -0
  140. package/dist/docs/templates/expandable-details.md +214 -0
  141. package/dist/docs/templates/feature-cards.md +479 -0
  142. package/dist/docs/templates/form-summary.md +179 -0
  143. package/dist/docs/templates/form-toggle.md +329 -0
  144. package/dist/docs/templates/list-blocks.md +872 -0
  145. package/dist/docs/templates/loading-progress.md +100 -0
  146. package/dist/docs/templates/options-panel.md +132 -0
  147. package/dist/docs/templates/panel-variants.md +137 -0
  148. package/dist/docs/templates/progress-cards.md +541 -0
  149. package/dist/docs/templates/progress-success.md +125 -0
  150. package/dist/docs/templates/settings-form.md +401 -0
  151. package/dist/docs/templates/stats-blocks.md +1245 -0
  152. package/dist/docs/templates/table-panel.md +310 -0
  153. package/dist/docs/templates/usage-cards.md +199 -0
  154. package/dist/docs/utilities/classNames.md +89 -1
  155. package/dist/docs/utilities/deviceUtils.md +2 -2
  156. package/dist/docs/utilities/featureToggles.md +182 -2
  157. package/dist/docs/utilities/fuelTypeUtils.md +27 -29
  158. package/dist/docs/utilities/getTrackingAttributes.md +322 -0
  159. package/dist/docs/utilities/routeUtils.md +211 -3
  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 +5 -4
  168. package/dist/docs/utilities/useDebugInfo.md +3 -3
  169. package/dist/docs/utilities/useDraggableElement.md +281 -0
  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 +8 -10
  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 +2 -2
  190. package/dist/docs/utilities/usePostMessageSender.md +1 -1
  191. package/dist/docs/utilities/usePrevious.md +110 -2
  192. package/dist/docs/utilities/useResizeObserver.md +35 -15
  193. package/dist/docs/utilities/useRioCookieConsent.md +1 -1
  194. package/dist/docs/utilities/useScrollPosition.md +3 -6
  195. package/dist/docs/utilities/useSearch.md +1 -3
  196. package/dist/docs/utilities/useSearchHighlight.md +1 -1
  197. package/dist/docs/utilities/useSorting.md +370 -239
  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 +364 -288
  201. package/dist/docs/utilities/useTableSelection.md +88 -92
  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 +173 -69
  207. package/dist/search-synonyms.json +214 -76
  208. package/dist/version.json +2 -2
  209. package/package.json +4 -5
  210. package/dist/docs/components/mapRouteGenerator.md +0 -6
  211. package/dist/docs/components/tables.md +0 -8
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/listMenu
6
- *Captured:* 2026-03-06T10:40:59.102Z
6
+ *Captured:* 2026-04-27T14:58:22.286Z
7
7
 
8
8
  A simple list menu that supports grouping and filter.
9
9
 
@@ -203,6 +203,7 @@ export default () => {
203
203
  | groupClassName | string | — | Additional classes to be set on the menu group element. |
204
204
  | trailingInputAddon | React.ReactNode | — | Additional addon for the input group. |
205
205
  | className | string | — | Additional classes to be set on the wrapper element. |
206
+ | filterFn | ListMenuFilterFn<T> | — | Optional custom filter function. Use this when filtering should do more than a simple substring match, for example fuzzy ranking or multi-field weighting. |
206
207
 
207
208
  #### Props: ListMenuNavItem
208
209
 
@@ -241,6 +242,8 @@ import { NavLink } from 'react-router-dom';
241
242
 
242
243
  import ListMenu, { type ListMenuItem } from '@rio-cloud/rio-uikit/ListMenu';
243
244
 
245
+ const getNavLinkClassName = ({ isActive }: { isActive: boolean }) => (isActive ? 'active' : '');
246
+
244
247
  const menuItems: ListMenuItem[] = [
245
248
  {
246
249
  group: 'Group',
@@ -248,7 +251,7 @@ const menuItems: ListMenuItem[] = [
248
251
  {
249
252
  key: 'Lorem',
250
253
  item: (
251
- <NavLink activeClassName='active' to='/components/listMenu'>
254
+ <NavLink className={getNavLinkClassName} to='/components/listMenu'>
252
255
  Lorem
253
256
  </NavLink>
254
257
  ),
@@ -256,7 +259,7 @@ const menuItems: ListMenuItem[] = [
256
259
  {
257
260
  key: 'Lipsum',
258
261
  item: (
259
- <NavLink activeClassName='active' to='/foo'>
262
+ <NavLink className={getNavLinkClassName} to='/foo'>
260
263
  Lipsum
261
264
  </NavLink>
262
265
  ),
@@ -264,7 +267,7 @@ const menuItems: ListMenuItem[] = [
264
267
  {
265
268
  key: 'Dolor',
266
269
  item: (
267
- <NavLink activeClassName='active' to='/foo'>
270
+ <NavLink className={getNavLinkClassName} to='/foo'>
268
271
  Dolor
269
272
  </NavLink>
270
273
  ),
@@ -272,7 +275,7 @@ const menuItems: ListMenuItem[] = [
272
275
  {
273
276
  key: 'Sit amet',
274
277
  item: (
275
- <NavLink activeClassName='active' to='/foo'>
278
+ <NavLink className={getNavLinkClassName} to='/foo'>
276
279
  Sit amet
277
280
  </NavLink>
278
281
  ),
@@ -286,12 +289,11 @@ const menuItems: ListMenuItem[] = [
286
289
  },
287
290
  {
288
291
  group: 'Another group',
289
- isSubItem: true,
290
292
  navItems: [
291
293
  {
292
294
  key: 'Lorem',
293
295
  item: (
294
- <NavLink activeClassName='active' to='/bar'>
296
+ <NavLink className={getNavLinkClassName} to='/bar'>
295
297
  Lorem
296
298
  </NavLink>
297
299
  ),
@@ -319,16 +321,16 @@ export default () => (
319
321
  <span class="">Group</span>
320
322
  </li>
321
323
  <li class="">
322
- <a activeclassname="active" aria-current="page" class="active" href="#/components/listMenu" data-discover="true">Lorem</a>
324
+ <a aria-current="page" class="active" href="#/components/listMenu" data-discover="true">Lorem</a>
323
325
  </li>
324
326
  <li class="">
325
- <a activeclassname="active" class="" href="#/foo" data-discover="true">Lipsum</a>
327
+ <a class="" href="#/foo" data-discover="true">Lipsum</a>
326
328
  </li>
327
329
  <li class="">
328
- <a activeclassname="active" class="" href="#/foo" data-discover="true">Dolor</a>
330
+ <a class="" href="#/foo" data-discover="true">Dolor</a>
329
331
  </li>
330
332
  <li class="">
331
- <a activeclassname="active" class="" href="#/foo" data-discover="true">Sit amet</a>
333
+ <a class="" href="#/foo" data-discover="true">Sit amet</a>
332
334
  </li>
333
335
  <li class="subitem">
334
336
  <span>No Link Sample</span>
@@ -339,7 +341,7 @@ export default () => (
339
341
  <span class="">Another group</span>
340
342
  </li>
341
343
  <li class="">
342
- <a activeclassname="active" class="" href="#/bar" data-discover="true">Lorem</a>
344
+ <a class="" href="#/bar" data-discover="true">Lorem</a>
343
345
  </li>
344
346
  </ul>
345
347
  </div>
@@ -369,6 +371,7 @@ export default () => (
369
371
  | groupClassName | string | — | Additional classes to be set on the menu group element. |
370
372
  | trailingInputAddon | React.ReactNode | — | Additional addon for the input group. |
371
373
  | className | string | — | Additional classes to be set on the wrapper element. |
374
+ | filterFn | ListMenuFilterFn<T> | — | Optional custom filter function. Use this when filtering should do more than a simple substring match, for example fuzzy ranking or multi-field weighting. |
372
375
 
373
376
  #### Props: ListMenuNavItem
374
377
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Interaction
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/loadMore
6
- *Captured:* 2026-03-06T10:40:09.969Z
6
+ *Captured:* 2026-04-27T14:57:19.954Z
7
7
 
8
8
  ## LoadMoreButton
9
9
 
@@ -95,6 +95,7 @@ export default () => {
95
95
  | onLoadMore | VoidFunction | — | Callback fired when clicking on the load more button. |
96
96
  | progressBarStyle | ProgressBarStyle | 'white' | In case the component is used on white background, set the progress bar style to gray. |
97
97
  | className | string | — | Additional classes to be set on the wrapper element. |
98
+ | hideOnPrint | boolean | true | Hides the wrapper in print styles. |
98
99
 
99
100
  ### Example: Example 2
100
101
 
@@ -197,4 +198,5 @@ export default () => {
197
198
  | isInteractive | boolean | true | If set to false, the button will not be rendered. The loadMoreMessage will be shown as text. |
198
199
  | onLoadMore | VoidFunction | — | Callback fired when clicking on the load more button. |
199
200
  | progressBarStyle | ProgressBarStyle | 'white' | In case the component is used on white background, set the progress bar style to gray. |
200
- | className | string | — | Additional classes to be set on the wrapper element. |
201
+ | className | string | — | Additional classes to be set on the wrapper element. |
202
+ | hideOnPrint | boolean | true | Hides the wrapper in print styles. |
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Navigation
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mainNavigation
6
- *Captured:* 2026-03-06T10:39:59.855Z
6
+ *Captured:* 2026-04-27T14:57:11.171Z
7
7
 
8
8
  ## MainNavigation
9
9
 
@@ -3,13 +3,22 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapCircle
6
- *Captured:* 2026-03-06T10:41:18.987Z
6
+ *Captured:* 2026-04-27T14:58:55.503Z
7
7
 
8
8
  ## Circle
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
+ Terms of use © 1987–2026 HERE
12
13
 
14
+ 10 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
13
22
 
14
23
  #### React (tsx)
15
24
 
@@ -3,12 +3,23 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapCluster
6
- *Captured:* 2026-03-06T10:41:15.985Z
6
+ *Captured:* 2026-04-27T14:58:50.599Z
7
7
 
8
8
  ## Clusters
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
+ Terms of use © 1987–2026 HERE
13
+
14
+ 50 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
22
+
12
23
  Regenerate data Toggle cluster
13
24
 
14
25
  #### React (tsx)
@@ -56,6 +67,7 @@ const ClustersExample = () => {
56
67
  ),
57
68
  getClusterPresentation: (assets: Asset[]) => (
58
69
  <ClusterMapMarker
70
+ iconName='truck'
59
71
  count={assets.length}
60
72
  warningCount={Math.floor((assets.length * 10) / 3)}
61
73
  exceptionCount={Math.floor((assets.length * 10) / 5)}
@@ -140,6 +152,17 @@ export default ClustersExample;
140
152
 
141
153
  ### Example: Example 2
142
154
 
155
+ Terms of use © 1987–2026 HERE
156
+
157
+ 50 km
158
+
159
+ Choose view
160
+ Map view
161
+ Satellite
162
+
163
+ Traffic conditions
164
+ Show traffic incidents
165
+
143
166
  Regenerate data
144
167
 
145
168
  #### React (tsx)
@@ -199,6 +222,7 @@ const ClustersExample = () => {
199
222
  ),
200
223
  getClusterPresentation: ({ length }: Asset[]) => (
201
224
  <ClusterMapMarker
225
+ iconName='truck'
202
226
  count={length}
203
227
  warningCount={Math.floor((length * 10) / 3)}
204
228
  exceptionCount={Math.floor((length * 10) / 5)}
@@ -3,13 +3,22 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapContext
6
- *Captured:* 2026-03-06T10:41:21.788Z
6
+ *Captured:* 2026-04-27T14:59:06.978Z
7
7
 
8
8
  ## Map
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
+ Terms of use © 1987–2026 HERE
12
13
 
14
+ 10 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
13
22
 
14
23
  #### React (tsx)
15
24
 
@@ -35,12 +44,11 @@ import type { MapApi, MapContextMenuEvent, MapEvent, Position } from '@rio-cloud
35
44
  import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
36
45
  import MapSettingsDropdownHeader from '@rio-cloud/rio-uikit/MapSettingsDropdownHeader';
37
46
 
38
- const formatCoordinates = (coordinates: Position) => {
39
- return [
47
+ const formatCoordinates = (coordinates: Position) =>
48
+ [
40
49
  Math.abs(Number(coordinates.lat.toFixed(4))) + (coordinates.lat > 0 ? 'N' : 'S'),
41
50
  Math.abs(Number(coordinates.lng.toFixed(4))) + (coordinates.lng > 0 ? 'E' : 'W'),
42
51
  ].join(' ');
43
- };
44
52
 
45
53
  const notifyCoordinates = (coordinates: Position) => Notification.info(JSON.stringify(coordinates));
46
54
 
@@ -3,12 +3,23 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapDraggableMarker
6
- *Captured:* 2026-03-06T10:41:15.748Z
6
+ *Captured:* 2026-04-27T14:58:51.354Z
7
7
 
8
8
  ## Draggable marker
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
+ Terms of use © 1987–2026 HERE
13
+
14
+ 10 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
22
+
12
23
  Marker position {"lat":48.16,"lng":11.38}
13
24
 
14
25
  #### React (tsx)
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapGettingStarted
6
- *Captured:* 2026-03-06T10:41:14.068Z
6
+ *Captured:* 2026-04-27T14:58:37.102Z
7
7
 
8
8
  HERE Maps credentials used in the UIKIT demo are not allowed to be used in any production environment!
9
9
 
@@ -13,6 +13,10 @@ HERE Maps credentials used in the UIKIT demo are not allowed to be used in any p
13
13
 
14
14
  ## HERE Maps credentials
15
15
 
16
+ Need HERE Maps credentials? Please follow the guide on Confluence:
17
+
18
+ Requesting HERE Maps credentials
19
+
16
20
  Please note that the usage of HERE Maps is not free. If you have any questions regarding license costs, please contact us.
17
21
 
18
22
  In case you want to use HERE Maps in production, please contact finance@rio.cloud.
@@ -36,4 +40,38 @@ As the UIKIT Map component relies on the map scripts from Here, we need to add t
36
40
  <link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
37
41
  ```
38
42
 
43
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-core.js" type="text/javascript"&gt;
44
+
45
+ &lt;/script&gt;
46
+
47
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-core-legacy.js" type="text/javascript"&gt;
48
+
49
+ &lt;/script&gt;
50
+
51
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-service.js" type="text/javascript"&gt;
52
+
53
+ &lt;/script&gt;
54
+
55
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-service-legacy.js" type="text/javascript"&gt;
56
+
57
+ &lt;/script&gt;
58
+
59
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js" type="text/javascript"&gt;
60
+
61
+ &lt;/script&gt;
62
+
63
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-ui.js" type="text/javascript"&gt;
64
+
65
+ &lt;/script&gt;
66
+
67
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-harp.js" type="text/javascript"&gt;
68
+
69
+ &lt;/script&gt;
70
+
71
+ &lt;script src="https://js.api.here.com/v3/3.1/mapsjs-clustering.js" type="text/javascript"&gt;
72
+
73
+ &lt;/script&gt;
74
+
75
+ &lt;link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" /&gt;
76
+
39
77
  Map API VersionBy default, the map imports use the map version 3.1. However, this version is not a fixed version as it will be resolved to an internal version by Here. This means version 3.1 is treated as an evergreen version.If you encounter any instability or even bugs with the map itself, it is recommended to set the version fixed in the imports and check for a newer version on demand.More details can be found on the Here Developer PlatformFor example&lt;script src="https://js.api.here.com/v3/3.1.11.2/mapsjs-core.js"&gt;&lt;/script&gt;
@@ -3,11 +3,138 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapInfoBubble
6
- *Captured:* 2026-03-06T10:41:19.613Z
6
+ *Captured:* 2026-04-27T14:59:03.235Z
7
7
 
8
8
  ## InfoBubble
9
9
 
10
- ### Example: Example 1
10
+ ### Example: Click the POI marker to open the InfoBubble.
11
+
12
+ Terms of use © 1987–2026 HERE
13
+
14
+ 1 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
22
+
23
+ Click the POI marker to open the InfoBubble.
24
+
25
+ #### React (tsx)
26
+
27
+ ```tsx
28
+ import { useRef, useState } from 'react';
29
+
30
+ import EventUtils from '@rio-cloud/rio-uikit/EventUtils';
31
+ import InfoBubble from '@rio-cloud/rio-uikit/InfoBubble';
32
+ import Map from '@rio-cloud/rio-uikit/Map';
33
+ import MapSettings from '@rio-cloud/rio-uikit/MapSettings';
34
+ import MapTypeSettings from '@rio-cloud/rio-uikit/MapTypeSettings';
35
+ import Marker from '@rio-cloud/rio-uikit/Marker';
36
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
37
+ import type { MapApi } from '@rio-cloud/rio-uikit/mapTypes';
38
+
39
+ import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
40
+
41
+ const mapCenter = { lat: 48.1398, lng: 11.582 };
42
+ const poiPosition = { lat: 48.1274, lng: 11.593 };
43
+
44
+ const PoiInfoBubbleContent = () => (
45
+ <div className='width-250 user-select-none'>
46
+ <div className='margin--15 padding-20 rounded'>
47
+ <div className='text-size-16 text-medium'>RIO Campus Munich</div>
48
+ <div className='text-color-dark'>80939 Munich, Germany</div>
49
+
50
+ <div className='margin-top-15 display-flex justify-content-between'>
51
+ <div className='text-medium'>Open 24/7</div>
52
+ <div className=''>
53
+ <span className='label label-success label-condensed'>Available</span>
54
+ </div>
55
+ </div>
56
+ <div className='margin-top-10 text-color-darker line-height-20'>
57
+ Visitor parking, reception and charging stations directly on site.
58
+ </div>
59
+ </div>
60
+ </div>
61
+ );
62
+
63
+ export default () => {
64
+ const [showInfoBubble, setShowInfoBubble] = useState(false);
65
+ const mapApiRef = useRef<MapApi>();
66
+
67
+ return (
68
+ <>
69
+ <Map
70
+ credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
71
+ center={mapCenter}
72
+ zoom={13}
73
+ height={420}
74
+ mapSettings={
75
+ <MapSettings
76
+ options={[
77
+ <MapTypeSettings
78
+ key='mapTypeSettings'
79
+ tooltip='Change map type'
80
+ dropdownHeaderText='Map views'
81
+ defaultTypeLabel='Default view'
82
+ truckTypeLabel='Truck view'
83
+ terrainTypeLabel='Terrain view'
84
+ satelliteTypeLabel='Satellite view'
85
+ nightTypeLabel='Night view'
86
+ />,
87
+ ]}
88
+ />
89
+ }
90
+ >
91
+ {(api: MapApi) => {
92
+ mapApiRef.current = api;
93
+
94
+ return (
95
+ <Marker
96
+ position={poiPosition}
97
+ icon={
98
+ <SingleMapMarker
99
+ iconNames={['factory']}
100
+ markerColor='bg-map-marker-poi'
101
+ active={showInfoBubble}
102
+ />
103
+ }
104
+ eventListenerMap={{
105
+ [EventUtils.TAP]: () => setShowInfoBubble(true),
106
+ }}
107
+ />
108
+ );
109
+ }}
110
+ </Map>
111
+ {showInfoBubble && (
112
+ <InfoBubble
113
+ api={mapApiRef.current}
114
+ position={poiPosition}
115
+ markerOffset={{ x: 0, y: -50 }}
116
+ content={<PoiInfoBubbleContent />}
117
+ onClose={() => setShowInfoBubble(false)}
118
+ />
119
+ )}
120
+ <div className='margin-top-15 text-color-dark'>Click the POI marker to open the InfoBubble.</div>
121
+ </>
122
+ );
123
+ };
124
+ ```
125
+
126
+ ### Example: Example 2
127
+
128
+ Terms of use © 1987–2026 HERE
129
+
130
+ 10 km
131
+
132
+ Ansicht auswählen
133
+ Kartenansicht
134
+ Satellit
135
+
136
+ Verkehrslage
137
+ Verkehrsstörungen anzeigen
11
138
 
12
139
  Toggle info
13
140
 
@@ -3,13 +3,22 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapLayerGroup
6
- *Captured:* 2026-03-06T10:41:17.241Z
6
+ *Captured:* 2026-04-27T14:58:53.448Z
7
7
 
8
8
  ## MapLayerGroup
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
+ Terms of use © 1987–2026 HERE
12
13
 
14
+ 10 km
15
+
16
+ Choose view
17
+ Map view
18
+ Satellite
19
+
20
+ Traffic conditions
21
+ Show traffic incidents
13
22
 
14
23
  #### React (tsx)
15
24
 
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#/components/mapMarker
6
- *Captured:* 2026-03-06T10:41:21.198Z
6
+ *Captured:* 2026-04-27T14:58:49.189Z
7
7
 
8
8
  Markers are used to render elements at specific locations on the map. They adapt their position as the user interacts with the map.
9
9
 
@@ -17,7 +17,16 @@ It's possible to share icon instances between different markers. This can be use
17
17
 
18
18
  ### Example: Example 1
19
19
 
20
+ Terms of use © 1987–2026 HERE
20
21
 
22
+ 10 km
23
+
24
+ Choose view
25
+ Map view
26
+ Satellite
27
+
28
+ Traffic conditions
29
+ Show traffic incidents
21
30
 
22
31
  #### React (tsx)
23
32