@rio-cloud/uikit-mcp 1.1.2 → 1.1.4

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 (191) hide show
  1. package/dist/doc-metadata.json +117 -127
  2. package/dist/docs/components/accentBar.md +2 -34
  3. package/dist/docs/components/activity.md +2 -13
  4. package/dist/docs/components/animatedNumber.md +4 -17
  5. package/dist/docs/components/animatedTextReveal.md +7 -54
  6. package/dist/docs/components/animations.md +42 -34
  7. package/dist/docs/components/appHeader.md +2 -73
  8. package/dist/docs/components/appLayout.md +36 -496
  9. package/dist/docs/components/appNavigationBar.md +2 -54
  10. package/dist/docs/components/areaCharts.md +37 -37
  11. package/dist/docs/components/aspectRatioPlaceholder.md +2 -11
  12. package/dist/docs/components/assetTree.md +435 -901
  13. package/dist/docs/components/autosuggests.md +4 -4
  14. package/dist/docs/components/avatar.md +2 -24
  15. package/dist/docs/components/banner.md +2 -2
  16. package/dist/docs/components/barCharts.md +186 -186
  17. package/dist/docs/components/barList.md +12 -46
  18. package/dist/docs/components/basicMap.md +7 -7
  19. package/dist/docs/components/bottomSheet.md +3 -100
  20. package/dist/docs/components/button.md +16 -71
  21. package/dist/docs/components/buttonToolbar.md +2 -9
  22. package/dist/docs/components/calendarStripe.md +95 -121
  23. package/dist/docs/components/card.md +2 -10
  24. package/dist/docs/components/carousel.md +1 -1
  25. package/dist/docs/components/chartColors.md +1 -1
  26. package/dist/docs/components/chartsGettingStarted.md +1 -1
  27. package/dist/docs/components/chat.md +4 -1
  28. package/dist/docs/components/checkbox.md +11 -111
  29. package/dist/docs/components/clearableInput.md +7 -111
  30. package/dist/docs/components/collapse.md +3 -29
  31. package/dist/docs/components/composedCharts.md +31 -31
  32. package/dist/docs/components/contentLoader.md +104 -122
  33. package/dist/docs/components/dataTabs.md +24 -194
  34. package/dist/docs/components/datepickers.md +727 -769
  35. package/dist/docs/components/dialogs.md +15 -262
  36. package/dist/docs/components/divider.md +2 -14
  37. package/dist/docs/components/dropdowns.md +4387 -4550
  38. package/dist/docs/components/editableContent.md +2 -186
  39. package/dist/docs/components/expander.md +23 -70
  40. package/dist/docs/components/fade.md +6 -41
  41. package/dist/docs/components/fadeExpander.md +2 -11
  42. package/dist/docs/components/fadeUp.md +3 -23
  43. package/dist/docs/components/feedback.md +2 -42
  44. package/dist/docs/components/filePickers.md +2 -44
  45. package/dist/docs/components/formLabel.md +2 -18
  46. package/dist/docs/components/groupedItemList.md +2 -53
  47. package/dist/docs/components/iconList.md +3 -3
  48. package/dist/docs/components/imagePreloader.md +2 -6
  49. package/dist/docs/components/labeledElement.md +2 -11
  50. package/dist/docs/components/licensePlate.md +2 -10
  51. package/dist/docs/components/lineCharts.md +60 -60
  52. package/dist/docs/components/listMenu.md +2 -50
  53. package/dist/docs/components/loadMore.md +2 -28
  54. package/dist/docs/components/mainNavigation.md +1 -1
  55. package/dist/docs/components/mapCircle.md +3 -3
  56. package/dist/docs/components/mapCluster.md +5 -5
  57. package/dist/docs/components/mapContext.md +3 -3
  58. package/dist/docs/components/mapDraggableMarker.md +3 -3
  59. package/dist/docs/components/mapGettingStarted.md +1 -1
  60. package/dist/docs/components/mapInfoBubble.md +3 -3
  61. package/dist/docs/components/mapLayerGroup.md +3 -3
  62. package/dist/docs/components/mapMarker.md +341 -347
  63. package/dist/docs/components/mapPolygon.md +20 -24
  64. package/dist/docs/components/mapRoute.md +26 -32
  65. package/dist/docs/components/mapRouteGenerator.md +1 -1
  66. package/dist/docs/components/mapSettings.md +273 -284
  67. package/dist/docs/components/mapUtils.md +3 -5
  68. package/dist/docs/components/multiselects.md +1 -1
  69. package/dist/docs/components/noData.md +2 -22
  70. package/dist/docs/components/notifications.md +1 -1
  71. package/dist/docs/components/numbercontrol.md +2 -48
  72. package/dist/docs/components/onboarding.md +2 -46
  73. package/dist/docs/components/page.md +2 -32
  74. package/dist/docs/components/pager.md +2 -14
  75. package/dist/docs/components/pieCharts.md +125 -157
  76. package/dist/docs/components/popover.md +2 -56
  77. package/dist/docs/components/position.md +2 -10
  78. package/dist/docs/components/radialBarCharts.md +506 -506
  79. package/dist/docs/components/radiobutton.md +81 -191
  80. package/dist/docs/components/releaseNotes.md +1 -12
  81. package/dist/docs/components/resizer.md +2 -14
  82. package/dist/docs/components/responsiveColumnStripe.md +2 -19
  83. package/dist/docs/components/responsiveVideo.md +2 -11
  84. package/dist/docs/components/rioglyph.md +2 -12
  85. package/dist/docs/components/rules.md +69 -133
  86. package/dist/docs/components/saveableInput.md +279 -393
  87. package/dist/docs/components/selects.md +9996 -15
  88. package/dist/docs/components/sidebar.md +2 -39
  89. package/dist/docs/components/sliders.md +2 -37
  90. package/dist/docs/components/smoothScrollbars.md +2 -56
  91. package/dist/docs/components/spinners.md +5 -51
  92. package/dist/docs/components/states.md +21 -245
  93. package/dist/docs/components/statsWidgets.md +2 -113
  94. package/dist/docs/components/statusBar.md +2 -28
  95. package/dist/docs/components/stepButton.md +2 -8
  96. package/dist/docs/components/steppedProgressBars.md +2 -66
  97. package/dist/docs/components/subNavigation.md +1 -8
  98. package/dist/docs/components/supportMarker.md +1 -1
  99. package/dist/docs/components/svgImage.md +2 -12
  100. package/dist/docs/components/switch.md +2 -11
  101. package/dist/docs/components/tables.md +1 -1
  102. package/dist/docs/components/tagManager.md +4 -58
  103. package/dist/docs/components/tags.md +2 -31
  104. package/dist/docs/components/teaser.md +2 -30
  105. package/dist/docs/components/timeline.md +1 -1
  106. package/dist/docs/components/timepicker.md +2 -26
  107. package/dist/docs/components/toggleButton.md +7 -29
  108. package/dist/docs/components/tooltip.md +9 -40
  109. package/dist/docs/components/virtualList.md +73 -99
  110. package/dist/docs/foundations.md +167 -167
  111. package/dist/docs/start/changelog.md +23 -1
  112. package/dist/docs/start/goodtoknow.md +1 -1
  113. package/dist/docs/start/guidelines/color-combinations.md +1 -1
  114. package/dist/docs/start/guidelines/custom-css.md +1 -1
  115. package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
  116. package/dist/docs/start/guidelines/formatting.md +1 -1
  117. package/dist/docs/start/guidelines/iframe.md +80 -27
  118. package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
  119. package/dist/docs/start/guidelines/print-css.md +1 -1
  120. package/dist/docs/start/guidelines/spinner.md +81 -81
  121. package/dist/docs/start/guidelines/supported-browsers.md +1 -1
  122. package/dist/docs/start/guidelines/writing.md +1 -1
  123. package/dist/docs/start/howto.md +9 -9
  124. package/dist/docs/start/intro.md +1 -1
  125. package/dist/docs/start/responsiveness.md +1 -1
  126. package/dist/docs/templates/common-table.md +11 -11
  127. package/dist/docs/templates/detail-views.md +2 -2
  128. package/dist/docs/templates/expandable-details.md +1 -1
  129. package/dist/docs/templates/feature-cards.md +55 -55
  130. package/dist/docs/templates/form-summary.md +22 -22
  131. package/dist/docs/templates/form-toggle.md +1 -1
  132. package/dist/docs/templates/list-blocks.md +200 -200
  133. package/dist/docs/templates/loading-progress.md +3 -3
  134. package/dist/docs/templates/options-panel.md +1 -1
  135. package/dist/docs/templates/panel-variants.md +1 -1
  136. package/dist/docs/templates/progress-cards.md +1 -1
  137. package/dist/docs/templates/progress-success.md +1 -1
  138. package/dist/docs/templates/settings-form.md +23 -23
  139. package/dist/docs/templates/stats-blocks.md +41 -41
  140. package/dist/docs/templates/table-panel.md +1 -1
  141. package/dist/docs/templates/table-row-animation.md +1 -1
  142. package/dist/docs/templates/usage-cards.md +1 -1
  143. package/dist/docs/utilities/deviceUtils.md +6 -3
  144. package/dist/docs/utilities/featureToggles.md +1 -1
  145. package/dist/docs/utilities/fuelTypeUtils.md +1 -1
  146. package/dist/docs/utilities/routeUtils.md +59 -23
  147. package/dist/docs/utilities/useAfterMount.md +1 -1
  148. package/dist/docs/utilities/useAutoAnimate.md +1 -1
  149. package/dist/docs/utilities/useAverage.md +1 -1
  150. package/dist/docs/utilities/useClickOutside.md +1 -1
  151. package/dist/docs/utilities/useClipboard.md +2 -2
  152. package/dist/docs/utilities/useCount.md +1 -1
  153. package/dist/docs/utilities/useDarkMode.md +1 -1
  154. package/dist/docs/utilities/useDebugInfo.md +4 -4
  155. package/dist/docs/utilities/useEffectOnce.md +1 -1
  156. package/dist/docs/utilities/useElapsedTime.md +1 -1
  157. package/dist/docs/utilities/useElementSize.md +1 -1
  158. package/dist/docs/utilities/useEsc.md +1 -1
  159. package/dist/docs/utilities/useEvent.md +1 -1
  160. package/dist/docs/utilities/useFocusTrap.md +1 -1
  161. package/dist/docs/utilities/useFullscreen.md +1 -1
  162. package/dist/docs/utilities/useHover.md +1 -1
  163. package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
  164. package/dist/docs/utilities/useInterval.md +1 -1
  165. package/dist/docs/utilities/useIsFocusWithin.md +1 -1
  166. package/dist/docs/utilities/useKey.md +7 -5
  167. package/dist/docs/utilities/useLocalStorage.md +1 -1
  168. package/dist/docs/utilities/useLocationSuggestions.md +1 -1
  169. package/dist/docs/utilities/useMax.md +1 -1
  170. package/dist/docs/utilities/useMin.md +1 -1
  171. package/dist/docs/utilities/useMutationObserver.md +1 -1
  172. package/dist/docs/utilities/useOnScreen.md +1 -1
  173. package/dist/docs/utilities/useOnlineStatus.md +1 -1
  174. package/dist/docs/utilities/usePostMessage.md +2 -2
  175. package/dist/docs/utilities/usePostMessageSender.md +1 -1
  176. package/dist/docs/utilities/usePrevious.md +1 -1
  177. package/dist/docs/utilities/useResizeObserver.md +1 -1
  178. package/dist/docs/utilities/useScrollPosition.md +1 -1
  179. package/dist/docs/utilities/useSearch.md +1 -1
  180. package/dist/docs/utilities/useSorting.md +1 -1
  181. package/dist/docs/utilities/useStateWithValidation.md +1 -1
  182. package/dist/docs/utilities/useSum.md +1 -1
  183. package/dist/docs/utilities/useTableExport.md +54 -54
  184. package/dist/docs/utilities/useTableSelection.md +93 -93
  185. package/dist/docs/utilities/useTimeout.md +1 -1
  186. package/dist/docs/utilities/useToggle.md +1 -1
  187. package/dist/docs/utilities/useWindowResize.md +1 -1
  188. package/dist/index.mjs +8 -2
  189. package/dist/version.json +2 -2
  190. package/package.json +8 -8
  191. package/dist/docs/components/fullscreenMap.md +0 -10
@@ -3,13 +3,13 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#components/mapPolygon
6
- *Captured:* 2025-12-15T15:03:18.348Z
6
+ *Captured:* 2026-01-14T09:08:21.043Z
7
7
 
8
8
  ## Polygon
9
9
 
10
10
  ### Example: Example 1
11
11
 
12
- Terms of use© 1987–2025 HERE
12
+ Terms of use© 1987–2026 HERE
13
13
 
14
14
  200 m
15
15
 
@@ -22,7 +22,7 @@ Show traffic incidents
22
22
 
23
23
  #### Summary
24
24
 
25
- Terms of use© 1987–2025 HERE
25
+ Terms of use© 1987–2026 HERE
26
26
 
27
27
  200 m
28
28
 
@@ -38,7 +38,6 @@ Show traffic incidents
38
38
  ```tsx
39
39
  import { useRef } from 'react';
40
40
 
41
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
42
41
  import Map from '@rio-cloud/rio-uikit/Map';
43
42
  import EventUtils from '@rio-cloud/rio-uikit/EventUtils';
44
43
  import Polygon, { colorMapMarker } from '@rio-cloud/rio-uikit/Polygon';
@@ -85,7 +84,8 @@ export default () => {
85
84
  [EventUtils.TAP]: (event: MapEvent) => {
86
85
  console.log(event);
87
86
 
88
- const target = event.target;
87
+ // biome-ignore lint/suspicious/noExplicitAny: we don't specify here which target element it might be
88
+ const target = event.target as any;
89
89
  console.log({ boundingBox: target.getBoundingBox(), geometry: target.getGeometry() });
90
90
 
91
91
  console.log({
@@ -125,13 +125,11 @@ export default () => {
125
125
  {(api: MapApi) => {
126
126
  mapApiRef.current = api;
127
127
 
128
+ const polygonStyle = { strokeColor: STROKE_COLOR, fillColor: FILL_COLOR } as H.map.SpatialStyle;
129
+
128
130
  return (
129
131
  <>
130
- <Polygon
131
- points={points}
132
- style={{ strokeColor: STROKE_COLOR, fillColor: FILL_COLOR }}
133
- eventListenerMap={eventListenerMap}
134
- />
132
+ <Polygon points={points} style={polygonStyle} eventListenerMap={eventListenerMap} />
135
133
  <Marker
136
134
  position={{ lat: 48.18, lng: 11.5951 }}
137
135
  icon={
@@ -221,7 +219,7 @@ color-highlight-lighter
221
219
  color-highlight-lightest
222
220
  color-highlight-decent
223
221
 
224
- Terms of use© 1987–2025 HERE
222
+ Terms of use© 1987–2026 HERE
225
223
 
226
224
  50 km
227
225
 
@@ -302,7 +300,7 @@ color-highlight-lighter
302
300
  color-highlight-lightest
303
301
  color-highlight-decent
304
302
 
305
- Terms of use© 1987–2025 HERE
303
+ Terms of use© 1987–2026 HERE
306
304
 
307
305
  50 km
308
306
 
@@ -318,9 +316,6 @@ Show traffic incidents
318
316
  ```tsx
319
317
  import { useRef, useState } from 'react';
320
318
 
321
- import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
322
-
323
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
324
319
  import Map from '@rio-cloud/rio-uikit/Map';
325
320
  import EventUtils from '@rio-cloud/rio-uikit/EventUtils';
326
321
  import MapSettings from '@rio-cloud/rio-uikit/MapSettings';
@@ -340,6 +335,8 @@ import Polygon, {
340
335
  } from '@rio-cloud/rio-uikit/Polygon';
341
336
  import Select, { type SelectOption } from '@rio-cloud/rio-uikit/Select';
342
337
 
338
+ import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
339
+
343
340
  type HeaderOption = {
344
341
  id: string;
345
342
  label: string;
@@ -398,7 +395,8 @@ export default () => {
398
395
  [EventUtils.TAP]: (event: MapEvent) => {
399
396
  console.log(event);
400
397
 
401
- const target = event.target;
398
+ // biome-ignore lint/suspicious/noExplicitAny: we don't specify here which target element it might be
399
+ const target = event.target as any;
402
400
  console.log({ boundingBox: target.getBoundingBox(), geometry: target.getGeometry() });
403
401
 
404
402
  console.log({
@@ -447,16 +445,14 @@ export default () => {
447
445
  {(api: MapApi) => {
448
446
  mapApiRef.current = api;
449
447
 
448
+ const polygonStyle = {
449
+ strokeColor: currentOption?.colors.stroke,
450
+ fillColor: currentOption?.colors.fill,
451
+ } as H.map.SpatialStyle;
452
+
450
453
  return (
451
454
  <>
452
- <Polygon
453
- points={points}
454
- style={{
455
- strokeColor: currentOption?.colors.stroke,
456
- fillColor: currentOption?.colors.fill,
457
- }}
458
- eventListenerMap={eventListenerMap}
459
- />
455
+ <Polygon points={points} style={polygonStyle} eventListenerMap={eventListenerMap} />
460
456
  <Marker
461
457
  position={{ lat: 48.18, lng: 11.5951 }}
462
458
  icon={
@@ -3,7 +3,7 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#components/mapRoute
6
- *Captured:* 2025-12-15T15:03:38.173Z
6
+ *Captured:* 2026-01-14T09:08:32.809Z
7
7
 
8
8
  There are currently 3 different route styles built-in into the map component.
9
9
 
@@ -15,7 +15,7 @@ The "alternativeRoute" style is meant for route planning cases and shall show al
15
15
 
16
16
  ### Example: Example 1
17
17
 
18
- Terms of use© 1987–2025 HERE
18
+ Terms of use© 1987–2026 HERE
19
19
 
20
20
  10 km
21
21
 
@@ -28,7 +28,7 @@ Show traffic incidents
28
28
 
29
29
  #### Summary
30
30
 
31
- Terms of use© 1987–2025 HERE
31
+ Terms of use© 1987–2026 HERE
32
32
 
33
33
  10 km
34
34
 
@@ -42,9 +42,8 @@ Show traffic incidents
42
42
  #### React (tsx)
43
43
 
44
44
  ```tsx
45
- import { useState } from 'react';
45
+ import { useId, useState } from 'react';
46
46
 
47
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
48
47
  import Map from '@rio-cloud/rio-uikit/Map';
49
48
  import EventUtils from '@rio-cloud/rio-uikit/EventUtils';
50
49
  import Route from '@rio-cloud/rio-uikit/Route';
@@ -53,9 +52,9 @@ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
53
52
  import MapSettings from '@rio-cloud/rio-uikit/MapSettings';
54
53
  import MapTypeSettings from '@rio-cloud/rio-uikit/MapTypeSettings';
55
54
  import Notification from '@rio-cloud/rio-uikit/Notification';
55
+ import type { MapEvent, Position } from '@rio-cloud/rio-uikit/mapTypes';
56
56
 
57
57
  import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
58
- import type { MapEvent, Position } from '@rio-cloud/rio-uikit/mapTypes';
59
58
 
60
59
  const offset = 0.3;
61
60
 
@@ -85,25 +84,26 @@ const positions: Position[] = [
85
84
  const route2Positions = positions.map(pos => ({ lat: pos.lat, lng: pos.lng + offset }));
86
85
  const route3Positions = positions.map(pos => ({ lat: pos.lat, lng: pos.lng + offset * 2 }));
87
86
 
88
- const getRandomValueToForceRerender = () => Math.random();
89
-
90
87
  const Routes = () => {
91
88
  const [activeRouteId, setActiveRouteId] = useState(1);
92
89
  const isActive = (id: number) => activeRouteId === id;
93
90
  const isFirstRouteActive = isActive(1);
94
91
  const isSecondRouteActive = isActive(2);
95
92
 
93
+ const route1Key = useId();
94
+ const route2Key = useId();
95
+
96
96
  const markerEventListenerMap = {
97
97
  [EventUtils.TAP]: (event: MapEvent) => {
98
98
  event.stopPropagation();
99
- setActiveRouteId(event.currentTarget.getData().id);
99
+ setActiveRouteId((event.currentTarget as H.map.Object).getData().id);
100
100
  },
101
101
  };
102
102
 
103
103
  const routeEventListenerMap = {
104
104
  [EventUtils.TAP]: (event: MapEvent) => {
105
105
  event.stopPropagation();
106
- setActiveRouteId(event.currentTarget.getData().id);
106
+ setActiveRouteId((event.currentTarget as H.map.Object).getData().id);
107
107
  Notification.info('Route clicked');
108
108
  },
109
109
  [EventUtils.POINTER_MOVE]: (event: MapEvent) => {
@@ -115,7 +115,7 @@ const Routes = () => {
115
115
  return (
116
116
  <>
117
117
  <Route
118
- key={getRandomValueToForceRerender()}
118
+ key={route1Key}
119
119
  positions={positions}
120
120
  startIcon={<SingleMapMarker iconNames={['start']} markerColor='bg-map-marker-route' />}
121
121
  endIcon={<SingleMapMarker iconNames={['finish']} markerColor='bg-map-marker-route' />}
@@ -151,7 +151,7 @@ const Routes = () => {
151
151
  }
152
152
  />,
153
153
  <Marker
154
- key='2'
154
+ key='3'
155
155
  position={positions[5]}
156
156
  icon={
157
157
  <SingleMapMarker
@@ -164,7 +164,7 @@ const Routes = () => {
164
164
  ]}
165
165
  />
166
166
  <Route
167
- key={getRandomValueToForceRerender()}
167
+ key={route2Key}
168
168
  positions={route2Positions}
169
169
  hasArrows={false}
170
170
  isRouteAlternative={!isSecondRouteActive}
@@ -255,7 +255,7 @@ export default RouteExample;
255
255
 
256
256
  ### Example: Example 2
257
257
 
258
- Terms of use© 1987–2025 HERE
258
+ Terms of use© 1987–2026 HERE
259
259
 
260
260
  10 km
261
261
 
@@ -270,7 +270,7 @@ Change routeToggle route
270
270
 
271
271
  #### Summary
272
272
 
273
- Terms of use© 1987–2025 HERE
273
+ Terms of use© 1987–2026 HERE
274
274
 
275
275
  10 km
276
276
 
@@ -288,7 +288,6 @@ Change routeToggle route
288
288
  ```tsx
289
289
  import React, { useState } from 'react';
290
290
 
291
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
292
291
  import Map from '@rio-cloud/rio-uikit/Map';
293
292
  import Route from '@rio-cloud/rio-uikit/Route';
294
293
  import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
@@ -417,7 +416,7 @@ export default RouteWithChangingGeometryExample;
417
416
 
418
417
  ### Example: Example 3
419
418
 
420
- Terms of use© 1987–2025 HERE
419
+ Terms of use© 1987–2026 HERE
421
420
 
422
421
  10 km
423
422
 
@@ -432,7 +431,7 @@ Toggle reduced styleToggle arrows
432
431
 
433
432
  #### Summary
434
433
 
435
- Terms of use© 1987–2025 HERE
434
+ Terms of use© 1987–2026 HERE
436
435
 
437
436
  10 km
438
437
 
@@ -450,7 +449,6 @@ Toggle reduced styleToggle arrows
450
449
  ```tsx
451
450
  import React, { useState } from 'react';
452
451
 
453
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
454
452
  import Map from '@rio-cloud/rio-uikit/Map';
455
453
  import Route from '@rio-cloud/rio-uikit/Route';
456
454
  import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
@@ -556,7 +554,7 @@ export default RouteWithChangingStylesExample;
556
554
 
557
555
  ### Example: Example 4
558
556
 
559
- Terms of use© 1987–2025 HERE
557
+ Terms of use© 1987–2026 HERE
560
558
 
561
559
  10 km
562
560
 
@@ -569,7 +567,7 @@ Show traffic incidents
569
567
 
570
568
  #### Summary
571
569
 
572
- Terms of use© 1987–2025 HERE
570
+ Terms of use© 1987–2026 HERE
573
571
 
574
572
  10 km
575
573
 
@@ -583,7 +581,6 @@ Show traffic incidents
583
581
  #### React (tsx)
584
582
 
585
583
  ```tsx
586
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
587
584
  import Map from '@rio-cloud/rio-uikit/Map';
588
585
  import Route, {
589
586
  ROUTE_COLOR_DANGER,
@@ -719,7 +716,7 @@ export default () => {
719
716
 
720
717
  ### Example: Example 5
721
718
 
722
- Terms of use© 1987–2025 HERE
719
+ Terms of use© 1987–2026 HERE
723
720
 
724
721
  10 km
725
722
 
@@ -732,7 +729,7 @@ Show traffic incidents
732
729
 
733
730
  #### Summary
734
731
 
735
- Terms of use© 1987–2025 HERE
732
+ Terms of use© 1987–2026 HERE
736
733
 
737
734
  10 km
738
735
 
@@ -746,7 +743,6 @@ Show traffic incidents
746
743
  #### React (tsx)
747
744
 
748
745
  ```tsx
749
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
750
746
  import Map from '@rio-cloud/rio-uikit/Map';
751
747
  import Route, { ROUTE_COLOR_DANGER, ROUTE_COLOR_WARNING, ARROW_COLOR_WARNING } from '@rio-cloud/rio-uikit/Route';
752
748
  import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
@@ -877,7 +873,7 @@ export default () => {
877
873
 
878
874
  ### Example: Example 6
879
875
 
880
- Terms of use© 1987–2025 HERE
876
+ Terms of use© 1987–2026 HERE
881
877
 
882
878
  10 km
883
879
 
@@ -2207,7 +2203,7 @@ Segments are separate parts of the route, each containing a list of points, whic
2207
2203
 
2208
2204
  #### Summary
2209
2205
 
2210
- Terms of use© 1987–2025 HERE
2206
+ Terms of use© 1987–2026 HERE
2211
2207
 
2212
2208
  10 km
2213
2209
 
@@ -3541,8 +3537,6 @@ Segments are separate parts of the route, each containing a list of points, whic
3541
3537
  import { useEffect, useState } from 'react';
3542
3538
 
3543
3539
  import FilePicker from '@rio-cloud/rio-uikit/FilePicker';
3544
-
3545
- // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
3546
3540
  import Map from '@rio-cloud/rio-uikit/Map';
3547
3541
  import Route, { type RouteStyle } from '@rio-cloud/rio-uikit/Route';
3548
3542
  import Marker from '@rio-cloud/rio-uikit/Marker';
@@ -3680,9 +3674,9 @@ const RouteSandboxExample = () => {
3680
3674
  }
3681
3675
  }, [text, showRouteEvents]);
3682
3676
 
3683
- const handlePick = async (acceptedFiles: FileList | null) => {
3684
- if (acceptedFiles) {
3685
- const newText = await acceptedFiles[0].text();
3677
+ const handlePick = async (files: File[]) => {
3678
+ if (files) {
3679
+ const newText = await files[0].text();
3686
3680
  setText(newText);
3687
3681
  }
3688
3682
  };
@@ -3,4 +3,4 @@
3
3
  *Category:* Components
4
4
  *Section:* Map
5
5
  *Source:* https://uikit.developers.rio.cloud/#components/mapRouteGenerator
6
- *Captured:* 2025-12-15T15:03:18.708Z
6
+ *Captured:* 2026-01-14T09:08:15.329Z