@rio-cloud/uikit-mcp 1.1.5 → 1.1.7

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 (200) hide show
  1. package/dist/doc-metadata.json +129 -29
  2. package/dist/docs/components/accentBar.md +2 -2
  3. package/dist/docs/components/activity.md +2 -2
  4. package/dist/docs/components/animatedNumber.md +3 -3
  5. package/dist/docs/components/animatedTextReveal.md +7 -7
  6. package/dist/docs/components/animations.md +33 -33
  7. package/dist/docs/components/appHeader.md +8 -8
  8. package/dist/docs/components/appLayout.md +106 -89
  9. package/dist/docs/components/appNavigationBar.md +2 -2
  10. package/dist/docs/components/areaCharts.md +14 -14
  11. package/dist/docs/components/aspectRatioPlaceholder.md +2 -2
  12. package/dist/docs/components/assetTree.md +209 -404
  13. package/dist/docs/components/autosuggests.md +2 -2
  14. package/dist/docs/components/avatar.md +2 -2
  15. package/dist/docs/components/banner.md +3 -3
  16. package/dist/docs/components/barCharts.md +24 -24
  17. package/dist/docs/components/barList.md +11 -11
  18. package/dist/docs/components/basicMap.md +2 -2
  19. package/dist/docs/components/bottomSheet.md +2 -2
  20. package/dist/docs/components/button.md +400 -32
  21. package/dist/docs/components/buttonToolbar.md +2 -2
  22. package/dist/docs/components/calendarStripe.md +96 -36
  23. package/dist/docs/components/card.md +2 -2
  24. package/dist/docs/components/carousel.md +2 -2
  25. package/dist/docs/components/chartColors.md +2 -2
  26. package/dist/docs/components/chartsGettingStarted.md +2 -2
  27. package/dist/docs/components/chat.md +3 -3
  28. package/dist/docs/components/checkbox.md +17 -20
  29. package/dist/docs/components/circularProgress.md +465 -0
  30. package/dist/docs/components/clearableInput.md +2 -2
  31. package/dist/docs/components/collapse.md +3 -3
  32. package/dist/docs/components/composedCharts.md +20 -20
  33. package/dist/docs/components/contentLoader.md +102 -102
  34. package/dist/docs/components/dataTabs.md +10 -10
  35. package/dist/docs/components/datepickers.md +31 -31
  36. package/dist/docs/components/dialogs.md +2 -2
  37. package/dist/docs/components/divider.md +2 -2
  38. package/dist/docs/components/dropdowns.md +4354 -4387
  39. package/dist/docs/components/editableContent.md +2 -2
  40. package/dist/docs/components/expander.md +2 -2
  41. package/dist/docs/components/fade.md +2 -2
  42. package/dist/docs/components/fadeExpander.md +3 -3
  43. package/dist/docs/components/fadeUp.md +3 -3
  44. package/dist/docs/components/feedback.md +2 -2
  45. package/dist/docs/components/filePickers.md +2 -2
  46. package/dist/docs/components/formLabel.md +5 -4
  47. package/dist/docs/components/groupedItemList.md +2 -2
  48. package/dist/docs/components/iconList.md +4 -4
  49. package/dist/docs/components/imagePreloader.md +2 -2
  50. package/dist/docs/components/labeledElement.md +2 -2
  51. package/dist/docs/components/licensePlate.md +2 -2
  52. package/dist/docs/components/lineCharts.md +11 -11
  53. package/dist/docs/components/listMenu.md +7 -7
  54. package/dist/docs/components/loadMore.md +2 -2
  55. package/dist/docs/components/mainNavigation.md +5 -5
  56. package/dist/docs/components/mapCircle.md +2 -2
  57. package/dist/docs/components/mapCluster.md +2 -2
  58. package/dist/docs/components/mapContext.md +2 -2
  59. package/dist/docs/components/mapDraggableMarker.md +2 -2
  60. package/dist/docs/components/mapGettingStarted.md +2 -2
  61. package/dist/docs/components/mapInfoBubble.md +2 -2
  62. package/dist/docs/components/mapLayerGroup.md +2 -2
  63. package/dist/docs/components/mapMarker.md +2 -2
  64. package/dist/docs/components/mapPolygon.md +2 -2
  65. package/dist/docs/components/mapRoute.md +2 -2
  66. package/dist/docs/components/mapRouteGenerator.md +2 -2
  67. package/dist/docs/components/mapSettings.md +9 -9
  68. package/dist/docs/components/mapUtils.md +2 -2
  69. package/dist/docs/components/multiselects.md +2 -2
  70. package/dist/docs/components/noData.md +2 -2
  71. package/dist/docs/components/notifications.md +2 -2
  72. package/dist/docs/components/numbercontrol.md +5 -4
  73. package/dist/docs/components/onboarding.md +2 -2
  74. package/dist/docs/components/page.md +2 -2
  75. package/dist/docs/components/pager.md +2 -2
  76. package/dist/docs/components/pieCharts.md +89 -78
  77. package/dist/docs/components/popover.md +2 -2
  78. package/dist/docs/components/position.md +2 -2
  79. package/dist/docs/components/radialBarCharts.md +2054 -2012
  80. package/dist/docs/components/radioCardGroup.md +487 -0
  81. package/dist/docs/components/radiobutton.md +2 -2
  82. package/dist/docs/components/releaseNotes.md +2 -2
  83. package/dist/docs/components/resizer.md +2 -2
  84. package/dist/docs/components/responsiveColumnStripe.md +2 -2
  85. package/dist/docs/components/responsiveVideo.md +2 -2
  86. package/dist/docs/components/rioglyph.md +2 -2
  87. package/dist/docs/components/rules.md +2 -2
  88. package/dist/docs/components/saveableInput.md +20 -20
  89. package/dist/docs/components/selects.md +2 -2
  90. package/dist/docs/components/sidebar.md +2 -2
  91. package/dist/docs/components/sliders.md +2 -2
  92. package/dist/docs/components/smoothScrollbars.md +2 -2
  93. package/dist/docs/components/spinners.md +2 -2
  94. package/dist/docs/components/states.md +2 -2
  95. package/dist/docs/components/statsWidgets.md +2 -2
  96. package/dist/docs/components/statusBar.md +2 -2
  97. package/dist/docs/components/stepButton.md +2 -2
  98. package/dist/docs/components/steppedProgressBars.md +2 -2
  99. package/dist/docs/components/subNavigation.md +17 -17
  100. package/dist/docs/components/supportMarker.md +2 -2
  101. package/dist/docs/components/svgImage.md +38 -2
  102. package/dist/docs/components/switch.md +210 -83
  103. package/dist/docs/components/tables.md +2 -2
  104. package/dist/docs/components/tagManager.md +2 -2
  105. package/dist/docs/components/tags.md +2 -2
  106. package/dist/docs/components/teaser.md +2 -2
  107. package/dist/docs/components/textTruncateMiddle.md +151 -0
  108. package/dist/docs/components/timeline.md +2 -2
  109. package/dist/docs/components/timepicker.md +660 -64
  110. package/dist/docs/components/toggleButton.md +37 -9
  111. package/dist/docs/components/tooltip.md +5 -4
  112. package/dist/docs/components/tracker.md +631 -0
  113. package/dist/docs/components/virtualList.md +77 -77
  114. package/dist/docs/foundations.md +594 -222
  115. package/dist/docs/start/changelog.md +54 -2
  116. package/dist/docs/start/goodtoknow.md +2 -2
  117. package/dist/docs/start/guidelines/color-combinations.md +2 -2
  118. package/dist/docs/start/guidelines/custom-css.md +2 -2
  119. package/dist/docs/start/guidelines/custom-rioglyph.md +2 -2
  120. package/dist/docs/start/guidelines/formatting.md +2 -2
  121. package/dist/docs/start/guidelines/iframe.md +3 -3
  122. package/dist/docs/start/guidelines/obfuscate-data.md +2 -2
  123. package/dist/docs/start/guidelines/print-css.md +2 -2
  124. package/dist/docs/start/guidelines/spinner.md +82 -82
  125. package/dist/docs/start/guidelines/state-in-url.md +263 -0
  126. package/dist/docs/start/guidelines/supported-browsers.md +2 -2
  127. package/dist/docs/start/guidelines/writing.md +2 -2
  128. package/dist/docs/start/howto.md +10 -10
  129. package/dist/docs/start/intro.md +2 -2
  130. package/dist/docs/start/responsiveness.md +2 -2
  131. package/dist/docs/templates/common-table.md +15 -14
  132. package/dist/docs/templates/detail-views.md +3 -3
  133. package/dist/docs/templates/expandable-details.md +2 -2
  134. package/dist/docs/templates/feature-cards.md +56 -56
  135. package/dist/docs/templates/form-summary.md +23 -23
  136. package/dist/docs/templates/form-toggle.md +2 -2
  137. package/dist/docs/templates/list-blocks.md +204 -204
  138. package/dist/docs/templates/loading-progress.md +2 -2
  139. package/dist/docs/templates/options-panel.md +2 -2
  140. package/dist/docs/templates/panel-variants.md +2 -2
  141. package/dist/docs/templates/progress-cards.md +2 -2
  142. package/dist/docs/templates/progress-success.md +2 -2
  143. package/dist/docs/templates/settings-form.md +24 -24
  144. package/dist/docs/templates/stats-blocks.md +15 -15
  145. package/dist/docs/templates/table-panel.md +2 -2
  146. package/dist/docs/templates/table-row-animation.md +2 -2
  147. package/dist/docs/templates/usage-cards.md +2 -2
  148. package/dist/docs/utilities/classNames.md +191 -0
  149. package/dist/docs/utilities/deviceUtils.md +2 -2
  150. package/dist/docs/utilities/featureToggles.md +2 -2
  151. package/dist/docs/utilities/fuelTypeUtils.md +2 -2
  152. package/dist/docs/utilities/routeUtils.md +326 -90
  153. package/dist/docs/utilities/useAfterMount.md +2 -2
  154. package/dist/docs/utilities/useAutoAnimate.md +2 -2
  155. package/dist/docs/utilities/useAverage.md +2 -2
  156. package/dist/docs/utilities/useClickOutside.md +2 -2
  157. package/dist/docs/utilities/useClipboard.md +3 -3
  158. package/dist/docs/utilities/useCookies.md +188 -0
  159. package/dist/docs/utilities/useCount.md +2 -2
  160. package/dist/docs/utilities/useDarkMode.md +2 -2
  161. package/dist/docs/utilities/useDebugInfo.md +5 -5
  162. package/dist/docs/utilities/useEffectOnce.md +2 -2
  163. package/dist/docs/utilities/useElapsedTime.md +2 -2
  164. package/dist/docs/utilities/useElementSize.md +2 -2
  165. package/dist/docs/utilities/useEsc.md +2 -2
  166. package/dist/docs/utilities/useEvent.md +2 -2
  167. package/dist/docs/utilities/useFocusTrap.md +2 -2
  168. package/dist/docs/utilities/useFullscreen.md +2 -2
  169. package/dist/docs/utilities/useHover.md +2 -2
  170. package/dist/docs/utilities/useIncomingPostMessages.md +2 -2
  171. package/dist/docs/utilities/useInterval.md +2 -2
  172. package/dist/docs/utilities/useIsFocusWithin.md +2 -2
  173. package/dist/docs/utilities/useKey.md +2 -2
  174. package/dist/docs/utilities/useLocalStorage.md +2 -2
  175. package/dist/docs/utilities/useLocationSuggestions.md +2 -2
  176. package/dist/docs/utilities/useMax.md +2 -2
  177. package/dist/docs/utilities/useMin.md +2 -2
  178. package/dist/docs/utilities/useMutationObserver.md +2 -2
  179. package/dist/docs/utilities/useOnScreen.md +2 -2
  180. package/dist/docs/utilities/useOnlineStatus.md +2 -2
  181. package/dist/docs/utilities/usePostMessage.md +3 -3
  182. package/dist/docs/utilities/usePostMessageSender.md +2 -2
  183. package/dist/docs/utilities/usePrevious.md +2 -2
  184. package/dist/docs/utilities/useResizeObserver.md +2 -2
  185. package/dist/docs/utilities/useRioCookieConsent.md +90 -0
  186. package/dist/docs/utilities/useScrollPosition.md +2 -2
  187. package/dist/docs/utilities/useSearch.md +2 -2
  188. package/dist/docs/utilities/useSearchHighlight.md +815 -0
  189. package/dist/docs/utilities/useSorting.md +2 -2
  190. package/dist/docs/utilities/useStateWithValidation.md +2 -2
  191. package/dist/docs/utilities/useSum.md +2 -2
  192. package/dist/docs/utilities/useTableExport.md +52 -52
  193. package/dist/docs/utilities/useTableSelection.md +90 -90
  194. package/dist/docs/utilities/useTimeout.md +2 -2
  195. package/dist/docs/utilities/useToggle.md +3 -3
  196. package/dist/docs/utilities/useUrlState.md +418 -0
  197. package/dist/docs/utilities/useWindowResize.md +2 -2
  198. package/dist/index.mjs +1 -1
  199. package/dist/version.json +2 -2
  200. package/package.json +9 -9
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/notifications
6
- *Captured:* 2026-02-03T14:05:00.784Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/notifications
6
+ *Captured:* 2026-02-23T15:48:58.255Z
7
7
 
8
8
  Hint:Notifications need to be wrapped by a NotificationsContainer inside your application layout body.
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Interaction
5
- *Source:* https://uikit.developers.rio.cloud/#components/numbercontrol
6
- *Captured:* 2026-02-03T14:04:16.297Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/numbercontrol
6
+ *Captured:* 2026-02-23T15:48:14.832Z
7
7
 
8
8
  ## NumberInput
9
9
 
@@ -179,12 +179,13 @@ export default () => {
179
179
  <div>
180
180
  <div class="">
181
181
  <div class="uikit-switch">
182
- <label class="switch-label label-position-left">
182
+ <label class="switch-label uikit-switch label-position-left display-inline-flex height-20">
183
183
  <input type="checkbox" class="switch-input">
184
184
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
185
185
  <div class="switch-handle">
186
186
  </div>
187
- </div>No default values
187
+ </div>
188
+ <div class="switch-text-wrapper user-select-none padding-top-1">No default values</div>
188
189
  </label>
189
190
  </div>
190
191
  </div>
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/onboarding
6
- *Captured:* 2026-02-03T14:05:01.652Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/onboarding
6
+ *Captured:* 2026-02-23T15:48:59.125Z
7
7
 
8
8
  Useful when you want to control a single tooltip that highlights a portion of the UI.
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Content
5
- *Source:* https://uikit.developers.rio.cloud/#components/page
6
- *Captured:* 2026-02-03T14:04:49.416Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/page
6
+ *Captured:* 2026-02-23T15:48:47.455Z
7
7
 
8
8
  ## Page
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Navigation
5
- *Source:* https://uikit.developers.rio.cloud/#components/pager
6
- *Captured:* 2026-02-03T14:04:09.205Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/pager
6
+ *Captured:* 2026-02-23T15:48:08.222Z
7
7
 
8
8
  ## Pager
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Charts
5
- *Source:* https://uikit.developers.rio.cloud/#components/pieCharts
6
- *Captured:* 2026-02-03T14:05:37.477Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/pieCharts
6
+ *Captured:* 2026-02-23T15:49:28.097Z
7
7
 
8
8
  ## PieChart
9
9
 
@@ -393,47 +393,47 @@ const data: CustomData[] = [
393
393
  <g class="recharts-layer recharts-pie" tabindex="0">
394
394
  <g class="recharts-layer">
395
395
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
396
- <path cx="158.9296875" cy="134" fill="#67abc5 " stroke="#fff" name="Basistarif" color="color-coldplay-fountain" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 262.1297,134
396
+ <path cx="158.9296875" cy="134" fill="#67abc5 " stroke="#fff" name="Basistarif" color="color-coldplay-fountain" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r1:" class="recharts-sector" d="M 262.1297,134
397
397
  A 103.2,103.2,0,
398
398
  0,0,
399
- 96.0225,52.1897
400
- L 107.1166,66.6175
399
+ 87.7398,59.2856
400
+ L 100.2946,72.462
401
401
  A 85,85,0,
402
402
  0,1,
403
403
  243.9297,134 Z">
404
404
  </path>
405
405
  </g>
406
406
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
407
- <path cx="158.9296875" cy="134" fill="#4eccc1 " stroke="#fff" name="Diesel" color="color-coldplay-turquoise" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 91.8271,55.5941
407
+ <path cx="158.9296875" cy="134" fill="#4eccc1 " stroke="#fff" name="Diesel" color="color-coldplay-turquoise" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r1:" class="recharts-sector" d="M 83.9271,63.1138
408
408
  A 103.2,103.2,0,
409
409
  0,0,
410
- 57.4648,152.8444
411
- L 75.3588,149.5211
410
+ 61.6054,168.3252
411
+ L 78.7692,162.2718
412
412
  A 85,85,0,
413
413
  0,1,
414
- 103.6611,69.4215 Z">
414
+ 97.1543,75.615 Z">
415
415
  </path>
416
416
  </g>
417
417
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
418
- <path cx="158.9296875" cy="134" fill="#a1daa3 " stroke="#fff" name="Maut" color="color-coldplay-moos" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 58.5901,158.1289
418
+ <path cx="158.9296875" cy="134" fill="#a1daa3 " stroke="#fff" name="Maut" color="color-coldplay-moos" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r1:" class="recharts-sector" d="M 63.5352,173.3718
419
419
  A 103.2,103.2,0,
420
420
  0,0,
421
- 88.9684,209.866
422
- L 101.3065,196.4866
421
+ 103.9823,221.3557
422
+ L 113.6726,205.95
423
423
  A 85,85,0,
424
424
  0,1,
425
- 76.2856,153.8736 Z">
425
+ 80.3587,166.4283 Z">
426
426
  </path>
427
427
  </g>
428
428
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
429
- <path cx="158.9296875" cy="134" fill="#ff8e3c " stroke="#fff" name="Zuschläge" color="brand-warning" tabindex="-1" data-recharts-item-index="3" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 93.0348,213.4235
429
+ <path cx="158.9296875" cy="134" fill="#ff8e3c " stroke="#fff" name="Zuschläge" color="brand-warning" tabindex="-1" data-recharts-item-index="3" data-recharts-item-id="recharts-pie-:r1:" class="recharts-sector" d="M 108.6294,224.1117
430
430
  A 103.2,103.2,0,
431
431
  0,0,
432
- 108.7304,224.168
433
- L 117.5834,208.2663
432
+ 126.8805,232.0974
433
+ L 132.5326,214.7972
434
434
  A 85,85,0,
435
435
  0,1,
436
- 104.6558,199.4167 Z">
436
+ 117.5002,208.2199 Z">
437
437
  </path>
438
438
  </g>
439
439
  </g>
@@ -537,26 +537,26 @@ const data: CustomData[] = [
537
537
  <g class="recharts-layer recharts-pie" tabindex="0">
538
538
  <g class="recharts-layer">
539
539
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
540
- <path cx="172.9609375" cy="134" fill="#67abc5 " stroke="#fff" name="Basistarif" color="color-coldplay-fountain" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r3:" class="recharts-sector" d="M 276.1609,134
540
+ <path cx="172.9609375" cy="134" fill="#67abc5 " stroke="#fff" name="Basistarif" color="color-coldplay-fountain" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 276.1609,134
541
541
  A 103.2,103.2,0,
542
542
  0,0,
543
- 95.9534,65.2971
543
+ 88.602,74.5541
544
544
  L 172.9609,134 Z">
545
545
  </path>
546
546
  </g>
547
547
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
548
- <path cx="172.9609375" cy="134" fill="#4eccc1 " stroke="#fff" name="Diesel" color="color-coldplay-turquoise" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r3:" class="recharts-sector" d="M 95.9534,65.2971
548
+ <path cx="172.9609375" cy="134" fill="#4eccc1 " stroke="#fff" name="Diesel" color="color-coldplay-turquoise" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 88.602,74.5541
549
549
  A 103.2,103.2,0,
550
550
  0,0,
551
- 78.1466,174.749
551
+ 86.3222,190.0712
552
552
  L 172.9609,134 Z">
553
553
  </path>
554
554
  </g>
555
555
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
556
- <path cx="172.9609375" cy="134" fill="#a1daa3 " stroke="#fff" name="Maut" color="color-coldplay-moos" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r3:" class="recharts-sector" d="M 78.1466,174.749
556
+ <path cx="172.9609375" cy="134" fill="#a1daa3 " stroke="#fff" name="Maut" color="color-coldplay-moos" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r2:" class="recharts-sector" d="M 86.3222,190.0712
557
557
  A 103.2,103.2,0,
558
558
  0,0,
559
- 121.1901,223.275
559
+ 139.8459,231.7427
560
560
  L 172.9609,134 Z">
561
561
  </path>
562
562
  </g>
@@ -647,12 +647,10 @@ Zuschläge
647
647
  ```tsx
648
648
  import { useState } from 'react';
649
649
 
650
- import classNames from 'classnames';
651
-
650
+ import classNames from '@rio-cloud/rio-uikit/classNames';
652
651
  import PieChart, { type PieSectorDataItem } from '@rio-cloud/rio-uikit/PieChart';
653
652
  import Sector from '@rio-cloud/rio-uikit/Sector';
654
653
  import Legend, { type LegendPayload } from '@rio-cloud/rio-uikit/Legend';
655
- import ChartTooltip from '@rio-cloud/rio-uikit/ChartTooltip';
656
654
 
657
655
  type CustomData = {
658
656
  label: string;
@@ -660,19 +658,18 @@ type CustomData = {
660
658
  costs: number;
661
659
  };
662
660
 
663
- // Don't render the default chart tooltip as we render our own active shape
664
- const NoContent = (): null => null;
665
-
666
661
  export default () => {
667
- const [activeItem, setActiveItem] = useState<LegendPayload | null>(null);
668
662
  const [activeIndex, setActiveIndex] = useState<number>(0);
669
663
 
670
- const handleMouseEnter = (payload: LegendPayload, index: number) => {
671
- setActiveItem(payload);
664
+ const handleLegendMouseEnter = (_payload: LegendPayload, index: number) => {
665
+ setActiveIndex(index);
666
+ };
667
+
668
+ const handlePieMouseEnter = (_: unknown, index: number) => {
672
669
  setActiveIndex(index);
673
670
  };
674
671
 
675
- const renderActiveShape = (props: PieSectorDataItem) => {
672
+ const renderShape = (props: PieSectorDataItem, index: number) => {
676
673
  const {
677
674
  cx,
678
675
  cy,
@@ -698,6 +695,20 @@ export default () => {
698
695
  const ey = my;
699
696
  const textAnchor = cos >= 0 ? 'start' : 'end';
700
697
 
698
+ if (index !== activeIndex) {
699
+ return (
700
+ <Sector
701
+ cx={cx}
702
+ cy={cy}
703
+ innerRadius={innerRadius}
704
+ outerRadius={outerRadius}
705
+ startAngle={startAngle}
706
+ endAngle={endAngle}
707
+ fill={fill}
708
+ />
709
+ );
710
+ }
711
+
701
712
  return (
702
713
  <g>
703
714
  <text x={cx} y={cy} dy={8} textAnchor='middle' fill={fill}>
@@ -747,21 +758,19 @@ export default () => {
747
758
  dataUnit='%'
748
759
  innerRadius={90}
749
760
  outerRadius={110}
750
- // We have to render a custom tooltip to pass in the active index from hovering the legend
751
- tooltip={<ChartTooltip defaultIndex={activeIndex} active content={NoContent} />}
752
761
  pieOptions={{
753
762
  label: false,
754
763
  labelLine: false,
755
- activeShape: renderActiveShape,
756
- onMouseEnter: handleMouseEnter,
764
+ shape: renderShape,
765
+ onMouseEnter: handlePieMouseEnter,
757
766
  }}
758
767
  legend={
759
768
  <Legend
760
769
  iconType='square'
761
770
  iconSize={0}
762
- onMouseEnter={handleMouseEnter}
763
- formatter={(value: string | number, entry: LegendPayload) => {
764
- const isActive = activeItem?.value === value;
771
+ onMouseEnter={handleLegendMouseEnter}
772
+ formatter={(value: string | number, entry: LegendPayload, index: number) => {
773
+ const isActive = index === activeIndex;
765
774
 
766
775
  const legendWrapperClasses = classNames(
767
776
  'display-inline-flex',
@@ -836,7 +845,7 @@ const data: CustomData[] = [
836
845
  </path>
837
846
  </svg>
838
847
  <span class="recharts-legend-item-text" style="color: rgb(103, 171, 197);">
839
- <span class="display-inline-flex align-items-center gap-5 cursor-pointer padding-y-3 padding-x-5 rounded">
848
+ <span class="display-inline-flex align-items-center gap-5 cursor-pointer padding-y-3 padding-x-5 rounded bg-lightest">
840
849
  <span class="rounded height-15 width-15" style="background-color: rgb(103, 171, 197);">
841
850
  </span>
842
851
  <span class="text-color-dark">Basistarif</span>
@@ -896,7 +905,11 @@ const data: CustomData[] = [
896
905
  </li>
897
906
  </ul>
898
907
  </div>
899
- <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="transition: transform 400ms; visibility: visible; pointer-events: none; position: absolute; top: 0px; left: 0px;">
908
+ <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
909
+ <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
910
+ <p class="recharts-tooltip-label" style="margin: 0px;">
911
+ </p>
912
+ </div>
900
913
  </div>
901
914
  <svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="568" height="368" viewBox="0 0 568 368" style="width: 100%; height: 100%; display: block;">
902
915
  <title>
@@ -917,68 +930,66 @@ const data: CustomData[] = [
917
930
  <g class="recharts-layer recharts-pie" tabindex="0">
918
931
  <g class="recharts-layer">
919
932
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
920
- <g class="recharts-layer recharts-active-shape">
921
- <g>
922
- <text x="234.4296875" y="184" dy="8" text-anchor="middle" fill="#67abc5 ">
923
- </text>
924
- <path cx="234.4296875" cy="184" fill="#67abc5 " class="recharts-sector" d="M 344.4297,184
933
+ <g>
934
+ <text x="234.4296875" y="184" dy="8" text-anchor="middle" fill="#67abc5 ">
935
+ </text>
936
+ <path cx="234.4296875" cy="184" fill="#67abc5 " class="recharts-sector" d="M 344.4297,184
925
937
  A 110,110,0,
926
938
  1,0,
927
- 125.751,200.9984
928
- L 145.5108,197.9078
939
+ 126.2144,203.7345
940
+ L 145.8899,200.1464
929
941
  A 90,90,0,
930
942
  1,1,
931
943
  324.4297,184 Z">
932
- </path>
933
- <path cx="234.4296875" cy="184" fill="#67abc5 " class="recharts-sector" d="M 354.4297,184
944
+ </path>
945
+ <path cx="234.4296875" cy="184" fill="#67abc5 " class="recharts-sector" d="M 354.4297,184
934
946
  A 120,120,0,
935
947
  1,0,
936
- 115.8711,202.5437
937
- L 119.8231,201.9256
948
+ 116.3766,205.5286
949
+ L 120.3118,204.811
938
950
  A 116,116,0,
939
951
  1,1,
940
952
  350.4297,184 Z">
941
- </path>
942
- <path d="M222.48574496401073,64.59588685184674L220.4950878746792,44.695201327154535L198.4950878746792,44.695201327154535" stroke="#67abc5 " fill="none">
943
- </path>
944
- <circle cx="198.4950878746792" cy="44.695201327154535" r="2" fill="#67abc5 " stroke="none">
945
- </circle>
946
- <text x="186.4950878746792" y="44.695201327154535" text-anchor="end" fill="#333">Basistarif:46.8 €</text>
947
- <text x="186.4950878746792" y="44.695201327154535" dy="18" text-anchor="end" fill="#999">(Rate 55.01%)</text>
948
- </g>
953
+ </path>
954
+ <path d="M222.48574496401073,64.59588685184674L220.4950878746792,44.695201327154535L198.4950878746792,44.695201327154535" stroke="#67abc5 " fill="none">
955
+ </path>
956
+ <circle cx="198.4950878746792" cy="44.695201327154535" r="2" fill="#67abc5 " stroke="none">
957
+ </circle>
958
+ <text x="186.4950878746792" y="44.695201327154535" text-anchor="end" fill="#333">Basistarif:46.8 €</text>
959
+ <text x="186.4950878746792" y="44.695201327154535" dy="18" text-anchor="end" fill="#999">(Rate 55.01%)</text>
949
960
  </g>
950
961
  </g>
951
962
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
952
- <path cx="234.4296875" cy="184" fill="#4eccc1 " stroke="#fff" name="Diesel" color="color-coldplay-turquoise" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 126.7896,206.6629
963
+ <path cx="234.4296875" cy="184" fill="#4eccc1 " class="recharts-sector" d="M 127.3955,209.371
953
964
  A 110,110,0,
954
965
  0,0,
955
- 254.8225,292.0932
956
- L 251.1147,272.4399
966
+ 258.8167,291.2626
967
+ L 254.3827,271.7603
957
968
  A 90,90,0,
958
969
  0,1,
959
- 146.3605,202.5424 Z">
970
+ 146.8563,204.7581 Z">
960
971
  </path>
961
972
  </g>
962
973
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
963
- <path cx="234.4296875" cy="184" fill="#a1daa3 " stroke="#fff" name="Maut" color="color-coldplay-moos" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 260.4517,290.8778
974
+ <path cx="234.4296875" cy="184" fill="#a1daa3 " class="recharts-sector" d="M 264.397,289.8393
964
975
  A 110,110,0,
965
976
  0,0,
966
- 333.07,232.6836
967
- L 315.1354,223.832
977
+ 335.1059,228.3204
978
+ L 316.8011,220.2622
968
979
  A 90,90,0,
969
980
  0,1,
970
- 255.7204,271.4454 Z">
981
+ 258.9484,270.5958 Z">
971
982
  </path>
972
983
  </g>
973
984
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
974
- <path cx="234.4296875" cy="184" fill="#ff8e3c " stroke="#fff" name="Zuschläge" color="brand-warning" tabindex="-1" data-recharts-item-index="3" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 335.4827,227.4545
985
+ <path cx="234.4296875" cy="184" fill="#ff8e3c " class="recharts-sector" d="M 337.2875,222.9907
975
986
  A 110,110,0,
976
987
  0,0,
977
- 343.4613,198.5642
978
- L 323.6373,195.9162
988
+ 344.0144,193.5498
989
+ L 324.0899,191.8135
979
990
  A 90,90,0,
980
991
  0,1,
981
- 317.1094,219.5536 Z">
992
+ 318.5861,215.9015 Z">
982
993
  </path>
983
994
  </g>
984
995
  </g>
@@ -1153,7 +1164,7 @@ const data = [
1153
1164
  <g class="recharts-layer recharts-pie" tabindex="0">
1154
1165
  <g class="recharts-layer">
1155
1166
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
1156
- <path cy="125" cx="125" fill="#e22837 " stroke="#fff" name="0" color="color-rating-1" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r5:" class="recharts-sector" d="M 27,125
1167
+ <path cy="125" cx="125" fill="#e22837 " stroke="#fff" name="0" color="color-rating-1" tabindex="-1" data-recharts-item-index="0" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 27,125
1157
1168
  A 98,98,0,
1158
1169
  0,1,
1159
1170
  44.9198,68.5096
@@ -1164,7 +1175,7 @@ const data = [
1164
1175
  </path>
1165
1176
  </g>
1166
1177
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
1167
- <path cy="125" cx="125" fill="#ff8e3c " stroke="#fff" name="1" color="color-rating-2" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r5:" class="recharts-sector" d="M 45.9179,67.1206
1178
+ <path cy="125" cx="125" fill="#ff8e3c " stroke="#fff" name="1" color="color-rating-2" tabindex="-1" data-recharts-item-index="1" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 45.9179,67.1206
1168
1179
  A 98,98,0,
1169
1180
  0,1,
1170
1181
  93.742,32.1187
@@ -1175,7 +1186,7 @@ const data = [
1175
1186
  </path>
1176
1187
  </g>
1177
1188
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
1178
- <path cy="125" cx="125" fill="#f8c575 " stroke="#fff" name="2" color="color-rating-3" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r5:" class="recharts-sector" d="M 95.3678,31.5873
1189
+ <path cy="125" cx="125" fill="#f8c575 " stroke="#fff" name="2" color="color-rating-3" tabindex="-1" data-recharts-item-index="2" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 95.3678,31.5873
1179
1190
  A 98,98,0,
1180
1191
  0,1,
1181
1192
  154.6322,31.5873
@@ -1186,7 +1197,7 @@ const data = [
1186
1197
  </path>
1187
1198
  </g>
1188
1199
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
1189
- <path cy="125" cx="125" fill="#5cb85c " stroke="#fff" name="3" color="color-rating-4" tabindex="-1" data-recharts-item-index="3" data-recharts-item-id="recharts-pie-:r5:" class="recharts-sector" d="M 156.258,32.1187
1200
+ <path cy="125" cx="125" fill="#5cb85c " stroke="#fff" name="3" color="color-rating-4" tabindex="-1" data-recharts-item-index="3" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 156.258,32.1187
1190
1201
  A 98,98,0,
1191
1202
  0,1,
1192
1203
  204.0821,67.1206
@@ -1197,7 +1208,7 @@ const data = [
1197
1208
  </path>
1198
1209
  </g>
1199
1210
  <g class="recharts-layer recharts-pie-sector" tabindex="-1">
1200
- <path cy="125" cx="125" fill="#4b924c " stroke="#fff" name="4" color="color-rating-5" tabindex="-1" data-recharts-item-index="4" data-recharts-item-id="recharts-pie-:r5:" class="recharts-sector" d="M 205.0802,68.5096
1211
+ <path cy="125" cx="125" fill="#4b924c " stroke="#fff" name="4" color="color-rating-5" tabindex="-1" data-recharts-item-index="4" data-recharts-item-id="recharts-pie-:r4:" class="recharts-sector" d="M 205.0802,68.5096
1201
1212
  A 98,98,0,
1202
1213
  0,1,
1203
1214
  223,125
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/popover
6
- *Captured:* 2026-02-03T14:05:02.435Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/popover
6
+ *Captured:* 2026-02-23T15:48:59.749Z
7
7
 
8
8
  In order to use a Popover on an element, wrap it with the OverlayTrigger component.
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/position
6
- *Captured:* 2026-02-03T14:05:01.645Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/position
6
+ *Captured:* 2026-02-23T15:48:59.442Z
7
7
 
8
8
  A helper component to format a latitude / longitude position.
9
9