@rio-cloud/uikit-mcp 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/doc-metadata.json +188 -88
- package/dist/docs/components/accentBar.md +35 -3
- package/dist/docs/components/activity.md +14 -3
- package/dist/docs/components/animatedNumber.md +17 -4
- package/dist/docs/components/animatedTextReveal.md +54 -8
- package/dist/docs/components/animations.md +33 -33
- package/dist/docs/components/appHeader.md +65 -9
- package/dist/docs/components/appLayout.md +566 -61
- package/dist/docs/components/appNavigationBar.md +55 -3
- package/dist/docs/components/areaCharts.md +14 -14
- package/dist/docs/components/aspectRatioPlaceholder.md +11 -3
- package/dist/docs/components/assetTree.md +1174 -328
- package/dist/docs/components/autosuggests.md +2 -2
- package/dist/docs/components/avatar.md +25 -3
- package/dist/docs/components/banner.md +3 -3
- package/dist/docs/components/barCharts.md +38 -38
- package/dist/docs/components/barList.md +22 -10
- package/dist/docs/components/basicMap.md +2 -2
- package/dist/docs/components/bottomSheet.md +100 -3
- package/dist/docs/components/button.md +549 -36
- package/dist/docs/components/buttonToolbar.md +10 -3
- package/dist/docs/components/calendarStripe.md +127 -85
- package/dist/docs/components/card.md +11 -3
- package/dist/docs/components/carousel.md +2 -2
- package/dist/docs/components/chartColors.md +2 -2
- package/dist/docs/components/chartsGettingStarted.md +2 -2
- package/dist/docs/components/chat.md +3 -3
- package/dist/docs/components/checkbox.md +67 -45
- package/dist/docs/components/circularProgress.md +465 -0
- package/dist/docs/components/clearableInput.md +18 -18
- package/dist/docs/components/collapse.md +28 -4
- package/dist/docs/components/composedCharts.md +20 -20
- package/dist/docs/components/contentLoader.md +126 -105
- package/dist/docs/components/dataTabs.md +191 -11
- package/dist/docs/components/datepickers.md +735 -723
- package/dist/docs/components/dialogs.md +362 -2
- package/dist/docs/components/divider.md +15 -3
- package/dist/docs/components/dropdowns.md +4548 -4355
- package/dist/docs/components/editableContent.md +187 -3
- package/dist/docs/components/expander.md +52 -5
- package/dist/docs/components/fade.md +42 -7
- package/dist/docs/components/fadeExpander.md +13 -4
- package/dist/docs/components/fadeUp.md +22 -4
- package/dist/docs/components/feedback.md +44 -3
- package/dist/docs/components/filePickers.md +45 -3
- package/dist/docs/components/formLabel.md +20 -5
- package/dist/docs/components/groupedItemList.md +54 -3
- package/dist/docs/components/iconList.md +5 -5
- package/dist/docs/components/imagePreloader.md +7 -3
- package/dist/docs/components/labeledElement.md +13 -3
- package/dist/docs/components/licensePlate.md +11 -3
- package/dist/docs/components/lineCharts.md +10 -10
- package/dist/docs/components/listMenu.md +78 -8
- package/dist/docs/components/loadMore.md +29 -3
- package/dist/docs/components/mainNavigation.md +5 -5
- package/dist/docs/components/mapCircle.md +2 -2
- package/dist/docs/components/mapCluster.md +2 -2
- package/dist/docs/components/mapContext.md +2 -2
- package/dist/docs/components/mapDraggableMarker.md +2 -2
- package/dist/docs/components/mapGettingStarted.md +2 -2
- package/dist/docs/components/mapInfoBubble.md +2 -2
- package/dist/docs/components/mapLayerGroup.md +2 -2
- package/dist/docs/components/mapMarker.md +2 -2
- package/dist/docs/components/mapPolygon.md +2 -2
- package/dist/docs/components/mapRoute.md +2 -2
- package/dist/docs/components/mapRouteGenerator.md +2 -2
- package/dist/docs/components/mapSettings.md +9 -9
- package/dist/docs/components/mapUtils.md +2 -2
- package/dist/docs/components/multiselects.md +2 -2
- package/dist/docs/components/noData.md +23 -3
- package/dist/docs/components/notifications.md +2 -2
- package/dist/docs/components/numbercontrol.md +54 -5
- package/dist/docs/components/onboarding.md +26 -2
- package/dist/docs/components/page.md +33 -3
- package/dist/docs/components/pager.md +15 -3
- package/dist/docs/components/pieCharts.md +89 -78
- package/dist/docs/components/popover.md +40 -2
- package/dist/docs/components/position.md +11 -3
- package/dist/docs/components/radialBarCharts.md +2054 -2012
- package/dist/docs/components/radioCardGroup.md +487 -0
- package/dist/docs/components/radiobutton.md +138 -10
- package/dist/docs/components/releaseNotes.md +19 -2
- package/dist/docs/components/resizer.md +14 -3
- package/dist/docs/components/responsiveColumnStripe.md +20 -3
- package/dist/docs/components/responsiveVideo.md +12 -3
- package/dist/docs/components/rioglyph.md +13 -3
- package/dist/docs/components/rules.md +95 -5
- package/dist/docs/components/saveableInput.md +400 -276
- package/dist/docs/components/selects.md +2 -2
- package/dist/docs/components/sidebar.md +39 -3
- package/dist/docs/components/sliders.md +38 -3
- package/dist/docs/components/smoothScrollbars.md +93 -3
- package/dist/docs/components/spinners.md +51 -3
- package/dist/docs/components/states.md +217 -2
- package/dist/docs/components/statsWidgets.md +123 -3
- package/dist/docs/components/statusBar.md +29 -3
- package/dist/docs/components/stepButton.md +9 -3
- package/dist/docs/components/steppedProgressBars.md +67 -3
- package/dist/docs/components/subNavigation.md +24 -17
- package/dist/docs/components/supportMarker.md +2 -2
- package/dist/docs/components/svgImage.md +13 -3
- package/dist/docs/components/switch.md +218 -82
- package/dist/docs/components/tables.md +2 -2
- package/dist/docs/components/tagManager.md +56 -2
- package/dist/docs/components/tags.md +33 -3
- package/dist/docs/components/teaser.md +30 -3
- package/dist/docs/components/textTruncateMiddle.md +151 -0
- package/dist/docs/components/timeline.md +2 -2
- package/dist/docs/components/timepicker.md +687 -63
- package/dist/docs/components/toggleButton.md +96 -10
- package/dist/docs/components/tooltip.md +30 -21
- package/dist/docs/components/tracker.md +631 -0
- package/dist/docs/components/virtualList.md +107 -84
- package/dist/docs/foundations.md +647 -275
- package/dist/docs/start/changelog.md +2 -738
- package/dist/docs/start/goodtoknow.md +2 -2
- package/dist/docs/start/guidelines/color-combinations.md +2 -2
- package/dist/docs/start/guidelines/custom-css.md +2 -2
- package/dist/docs/start/guidelines/custom-rioglyph.md +2 -2
- package/dist/docs/start/guidelines/formatting.md +2 -2
- package/dist/docs/start/guidelines/iframe.md +2 -2
- package/dist/docs/start/guidelines/obfuscate-data.md +2 -2
- package/dist/docs/start/guidelines/print-css.md +2 -2
- package/dist/docs/start/guidelines/spinner.md +82 -82
- package/dist/docs/start/guidelines/state-in-url.md +263 -0
- package/dist/docs/start/guidelines/supported-browsers.md +2 -2
- package/dist/docs/start/guidelines/writing.md +2 -2
- package/dist/docs/start/howto.md +10 -10
- package/dist/docs/start/intro.md +2 -2
- package/dist/docs/start/responsiveness.md +2 -2
- package/dist/docs/templates/common-table.md +15 -14
- package/dist/docs/templates/detail-views.md +3 -3
- package/dist/docs/templates/expandable-details.md +2 -2
- package/dist/docs/templates/feature-cards.md +56 -56
- package/dist/docs/templates/form-summary.md +23 -23
- package/dist/docs/templates/form-toggle.md +2 -2
- package/dist/docs/templates/list-blocks.md +204 -204
- package/dist/docs/templates/loading-progress.md +2 -2
- package/dist/docs/templates/options-panel.md +2 -2
- package/dist/docs/templates/panel-variants.md +2 -2
- package/dist/docs/templates/progress-cards.md +2 -2
- package/dist/docs/templates/progress-success.md +2 -2
- package/dist/docs/templates/settings-form.md +24 -24
- package/dist/docs/templates/stats-blocks.md +18 -18
- package/dist/docs/templates/table-panel.md +2 -2
- package/dist/docs/templates/table-row-animation.md +2 -2
- package/dist/docs/templates/usage-cards.md +2 -2
- package/dist/docs/utilities/classNames.md +191 -0
- package/dist/docs/utilities/deviceUtils.md +2 -2
- package/dist/docs/utilities/featureToggles.md +2 -2
- package/dist/docs/utilities/fuelTypeUtils.md +2 -2
- package/dist/docs/utilities/routeUtils.md +326 -90
- package/dist/docs/utilities/useAfterMount.md +2 -2
- package/dist/docs/utilities/useAutoAnimate.md +2 -2
- package/dist/docs/utilities/useAverage.md +2 -2
- package/dist/docs/utilities/useClickOutside.md +2 -2
- package/dist/docs/utilities/useClipboard.md +3 -3
- package/dist/docs/utilities/useCookies.md +188 -0
- package/dist/docs/utilities/useCount.md +2 -2
- package/dist/docs/utilities/useDarkMode.md +2 -2
- package/dist/docs/utilities/useDebugInfo.md +5 -5
- package/dist/docs/utilities/useEffectOnce.md +2 -2
- package/dist/docs/utilities/useElapsedTime.md +2 -2
- package/dist/docs/utilities/useElementSize.md +2 -2
- package/dist/docs/utilities/useEsc.md +2 -2
- package/dist/docs/utilities/useEvent.md +2 -2
- package/dist/docs/utilities/useFocusTrap.md +2 -2
- package/dist/docs/utilities/useFullscreen.md +2 -2
- package/dist/docs/utilities/useHover.md +2 -2
- package/dist/docs/utilities/useIncomingPostMessages.md +2 -2
- package/dist/docs/utilities/useInterval.md +2 -2
- package/dist/docs/utilities/useIsFocusWithin.md +2 -2
- package/dist/docs/utilities/useKey.md +2 -2
- package/dist/docs/utilities/useLocalStorage.md +2 -2
- package/dist/docs/utilities/useLocationSuggestions.md +2 -2
- package/dist/docs/utilities/useMax.md +2 -2
- package/dist/docs/utilities/useMin.md +2 -2
- package/dist/docs/utilities/useMutationObserver.md +2 -2
- package/dist/docs/utilities/useOnScreen.md +2 -2
- package/dist/docs/utilities/useOnlineStatus.md +2 -2
- package/dist/docs/utilities/usePostMessage.md +3 -3
- package/dist/docs/utilities/usePostMessageSender.md +2 -2
- package/dist/docs/utilities/usePrevious.md +2 -2
- package/dist/docs/utilities/useResizeObserver.md +2 -2
- package/dist/docs/utilities/useRioCookieConsent.md +90 -0
- package/dist/docs/utilities/useScrollPosition.md +2 -2
- package/dist/docs/utilities/useSearch.md +2 -2
- package/dist/docs/utilities/useSearchHighlight.md +815 -0
- package/dist/docs/utilities/useSorting.md +2 -2
- package/dist/docs/utilities/useStateWithValidation.md +2 -2
- package/dist/docs/utilities/useSum.md +2 -2
- package/dist/docs/utilities/useTableExport.md +53 -53
- package/dist/docs/utilities/useTableSelection.md +90 -90
- package/dist/docs/utilities/useTimeout.md +2 -2
- package/dist/docs/utilities/useToggle.md +3 -3
- package/dist/docs/utilities/useUrlState.md +418 -0
- package/dist/docs/utilities/useWindowResize.md +2 -2
- package/dist/index.mjs +8 -8
- package/dist/version.json +2 -2
- package/package.json +9 -9
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Charts
|
|
5
|
-
*Source:* https://uikit.developers.rio.cloud
|
|
6
|
-
*Captured:* 2026-
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#/components/pieCharts
|
|
6
|
+
*Captured:* 2026-02-23T13:42:57.670Z
|
|
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-:
|
|
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
|
-
|
|
400
|
-
L
|
|
399
|
+
98.4209,50.4002
|
|
400
|
+
L 109.092,65.1436
|
|
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-:
|
|
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 94.1285,53.6816
|
|
408
408
|
A 103.2,103.2,0,
|
|
409
409
|
0,0,
|
|
410
|
-
|
|
411
|
-
L
|
|
410
|
+
56.7539,148.5034
|
|
411
|
+
L 74.7733,145.9456
|
|
412
412
|
A 85,85,0,
|
|
413
413
|
0,1,
|
|
414
|
-
|
|
414
|
+
105.5566,67.8463 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-:
|
|
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 57.653,153.831
|
|
419
419
|
A 103.2,103.2,0,
|
|
420
420
|
0,0,
|
|
421
|
-
|
|
422
|
-
L
|
|
421
|
+
85.2417,206.2518
|
|
422
|
+
L 98.2371,193.5097
|
|
423
423
|
A 85,85,0,
|
|
424
424
|
0,1,
|
|
425
|
-
|
|
425
|
+
75.5138,150.3336 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-:
|
|
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 89.1241,210.0093
|
|
430
430
|
A 103.2,103.2,0,
|
|
431
431
|
0,0,
|
|
432
|
-
|
|
433
|
-
L
|
|
432
|
+
104.0494,221.3979
|
|
433
|
+
L 113.7279,205.9847
|
|
434
434
|
A 85,85,0,
|
|
435
435
|
0,1,
|
|
436
|
-
|
|
436
|
+
101.4348,196.6046 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-:
|
|
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
|
-
|
|
543
|
+
98.1504,62.9111
|
|
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-:
|
|
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 98.1504,62.9111
|
|
549
549
|
A 103.2,103.2,0,
|
|
550
550
|
0,0,
|
|
551
|
-
|
|
551
|
+
76.3657,170.3262
|
|
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-:
|
|
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 76.3657,170.3262
|
|
557
557
|
A 103.2,103.2,0,
|
|
558
558
|
0,0,
|
|
559
|
-
|
|
559
|
+
116.4012,220.3205
|
|
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 '
|
|
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
|
|
671
|
-
|
|
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
|
|
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
|
-
|
|
756
|
-
onMouseEnter:
|
|
764
|
+
shape: renderShape,
|
|
765
|
+
onMouseEnter: handlePieMouseEnter,
|
|
757
766
|
}}
|
|
758
767
|
legend={
|
|
759
768
|
<Legend
|
|
760
769
|
iconType='square'
|
|
761
770
|
iconSize={0}
|
|
762
|
-
onMouseEnter={
|
|
763
|
-
formatter={(value: string | number, entry: LegendPayload) => {
|
|
764
|
-
const isActive =
|
|
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="
|
|
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
|
|
921
|
-
<
|
|
922
|
-
|
|
923
|
-
|
|
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.
|
|
928
|
-
L 145.
|
|
939
|
+
125.7468,200.9713
|
|
940
|
+
L 145.5073,197.8856
|
|
929
941
|
A 90,90,0,
|
|
930
942
|
1,1,
|
|
931
943
|
324.4297,184 Z">
|
|
932
|
-
|
|
933
|
-
|
|
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.
|
|
937
|
-
L 119.
|
|
948
|
+
115.8665,202.5141
|
|
949
|
+
L 119.8186,201.897
|
|
938
950
|
A 116,116,0,
|
|
939
951
|
1,1,
|
|
940
952
|
350.4297,184 Z">
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
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 "
|
|
963
|
+
<path cx="234.4296875" cy="184" fill="#4eccc1 " class="recharts-sector" d="M 126.7839,206.6361
|
|
953
964
|
A 110,110,0,
|
|
954
965
|
0,0,
|
|
955
|
-
254.
|
|
956
|
-
L 251.
|
|
966
|
+
254.7828,292.1006
|
|
967
|
+
L 251.0823,272.446
|
|
957
968
|
A 90,90,0,
|
|
958
969
|
0,1,
|
|
959
|
-
146.
|
|
970
|
+
146.3559,202.5204 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 "
|
|
974
|
+
<path cx="234.4296875" cy="184" fill="#a1daa3 " class="recharts-sector" d="M 260.4125,290.8873
|
|
964
975
|
A 110,110,0,
|
|
965
976
|
0,0,
|
|
966
|
-
333.
|
|
967
|
-
L 315.
|
|
977
|
+
333.0489,232.7263
|
|
978
|
+
L 315.1181,223.867
|
|
968
979
|
A 90,90,0,
|
|
969
980
|
0,1,
|
|
970
|
-
255.
|
|
981
|
+
255.6883,271.4532 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 "
|
|
985
|
+
<path cx="234.4296875" cy="184" fill="#ff8e3c " class="recharts-sector" d="M 335.4639,227.4982
|
|
975
986
|
A 110,110,0,
|
|
976
987
|
0,0,
|
|
977
|
-
343.
|
|
978
|
-
L 323.
|
|
988
|
+
343.4546,198.6137
|
|
989
|
+
L 323.6319,195.9566
|
|
979
990
|
A 90,90,0,
|
|
980
991
|
0,1,
|
|
981
|
-
317.
|
|
992
|
+
317.094,219.5894 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-:
|
|
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-:
|
|
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-:
|
|
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-:
|
|
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-:
|
|
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
|
|
6
|
-
*Captured:* 2026-
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#/components/popover
|
|
6
|
+
*Captured:* 2026-02-23T13:42:27.140Z
|
|
7
7
|
|
|
8
8
|
In order to use a Popover on an element, wrap it with the OverlayTrigger component.
|
|
9
9
|
|
|
@@ -77,6 +77,25 @@ export default () => (
|
|
|
77
77
|
</div>
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
+
#### Props (json)
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
popperConfig={{
|
|
84
|
+
modifiers: [
|
|
85
|
+
{
|
|
86
|
+
name: 'offset',
|
|
87
|
+
options: {
|
|
88
|
+
offset: [0, 5],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'arrow',
|
|
93
|
+
options: {},
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
}}
|
|
97
|
+
```
|
|
98
|
+
|
|
80
99
|
## Extended example
|
|
81
100
|
|
|
82
101
|
### Example: Example 2
|
|
@@ -165,4 +184,23 @@ export default () => {
|
|
|
165
184
|
<div class="padding-25 bg-lightest">
|
|
166
185
|
<button type="button" class="btn btn-info btn-outline btn-lg btn-component" tabindex="0">Click Me</button>
|
|
167
186
|
</div>
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
#### Props (json)
|
|
190
|
+
|
|
191
|
+
```json
|
|
192
|
+
popperConfig={{
|
|
193
|
+
modifiers: [
|
|
194
|
+
{
|
|
195
|
+
name: 'offset',
|
|
196
|
+
options: {
|
|
197
|
+
offset: [0, 5],
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: 'arrow',
|
|
202
|
+
options: {},
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
}}
|
|
168
206
|
```
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
|
-
*Source:* https://uikit.developers.rio.cloud
|
|
6
|
-
*Captured:* 2026-
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#/components/position
|
|
6
|
+
*Captured:* 2026-02-23T13:42:26.945Z
|
|
7
7
|
|
|
8
8
|
A helper component to format a latitude / longitude position.
|
|
9
9
|
|
|
@@ -39,4 +39,12 @@ export default () => (
|
|
|
39
39
|
<hr>
|
|
40
40
|
<span class="vehiclePositionInfo">N52° 7.394′ W12° 14.054′</span>
|
|
41
41
|
</div>
|
|
42
|
-
```
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### Props
|
|
45
|
+
|
|
46
|
+
| Name | Type | Default | Description |
|
|
47
|
+
| --- | --- | --- | --- |
|
|
48
|
+
| latitude | number | — | The latitude to display. |
|
|
49
|
+
| longitude | number | — | The longitude to display. |
|
|
50
|
+
| address | string | — | Can be used to override the default output. |
|