@rio-cloud/uikit-mcp 1.0.0 → 1.1.0
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 +75 -40
- package/dist/doc-metadata.json +1872 -0
- package/dist/docs/components/accentBar.md +582 -0
- package/dist/docs/components/activity.md +330 -0
- package/dist/docs/components/animatedNumber.md +88 -0
- package/dist/docs/components/animatedTextReveal.md +381 -0
- package/dist/docs/components/animations.md +459 -0
- package/dist/docs/components/appHeader.md +737 -0
- package/dist/docs/components/appLayout.md +2016 -0
- package/dist/docs/components/appNavigationBar.md +274 -0
- package/dist/docs/components/areaCharts.md +828 -0
- package/dist/docs/components/aspectRatioPlaceholder.md +106 -0
- package/dist/docs/components/assetTree.md +3223 -0
- package/dist/docs/components/autosuggests.md +1177 -0
- package/dist/docs/components/avatar.md +206 -0
- package/dist/docs/components/banner.md +668 -0
- package/dist/docs/components/barCharts.md +2785 -0
- package/dist/docs/components/barList.md +517 -0
- package/dist/docs/components/basicMap.md +167 -0
- package/dist/docs/components/bottomSheet.md +721 -0
- package/dist/docs/components/button.md +775 -0
- package/dist/docs/components/buttonToolbar.md +134 -0
- package/dist/docs/components/calendarStripe.md +525 -0
- package/dist/docs/components/card.md +86 -0
- package/dist/docs/components/carousel.md +128 -0
- package/dist/docs/components/chartColors.md +716 -0
- package/dist/docs/components/chartsGettingStarted.md +28 -0
- package/dist/docs/components/chat.md +932 -0
- package/dist/docs/components/checkbox.md +996 -0
- package/dist/docs/components/clearableInput.md +806 -0
- package/dist/docs/components/collapse.md +189 -0
- package/dist/docs/components/composedCharts.md +424 -0
- package/dist/docs/components/contentLoader.md +674 -0
- package/dist/docs/components/dataTabs.md +1251 -0
- package/dist/docs/components/datepickers.md +2543 -0
- package/dist/docs/components/dialogs.md +2244 -0
- package/dist/docs/components/divider.md +219 -0
- package/dist/docs/components/dropdowns.md +17550 -0
- package/dist/docs/components/editableContent.md +1127 -0
- package/dist/docs/components/expander.md +970 -0
- package/dist/docs/components/fade.md +836 -0
- package/dist/docs/components/fadeExpander.md +180 -0
- package/dist/docs/components/fadeUp.md +396 -0
- package/dist/docs/components/feedback.md +758 -0
- package/dist/docs/components/filePickers.md +370 -0
- package/dist/docs/components/formLabel.md +251 -0
- package/dist/docs/components/fullscreenMap.md +10 -0
- package/dist/docs/components/groupedItemList.md +1001 -0
- package/dist/docs/components/iconList.md +306 -0
- package/dist/docs/components/imagePreloader.md +167 -0
- package/dist/docs/components/labeledElement.md +115 -0
- package/dist/docs/components/licensePlate.md +412 -0
- package/dist/docs/components/lineCharts.md +2014 -0
- package/dist/docs/components/listMenu.md +392 -0
- package/dist/docs/components/loadMore.md +219 -0
- package/dist/docs/components/mainNavigation.md +129 -0
- package/dist/docs/components/mapCircle.md +93 -0
- package/dist/docs/components/mapCluster.md +337 -0
- package/dist/docs/components/mapContext.md +284 -0
- package/dist/docs/components/mapDraggableMarker.md +150 -0
- package/dist/docs/components/mapGettingStarted.md +39 -0
- package/dist/docs/components/mapInfoBubble.md +135 -0
- package/dist/docs/components/mapLayerGroup.md +94 -0
- package/dist/docs/components/mapMarker.md +1814 -0
- package/dist/docs/components/mapPolygon.md +959 -0
- package/dist/docs/components/mapRoute.md +3816 -0
- package/dist/docs/components/mapRouteGenerator.md +6 -0
- package/dist/docs/components/mapSettings.md +1040 -0
- package/dist/docs/components/mapUtils.md +132 -0
- package/dist/docs/components/multiselects.md +1921 -0
- package/dist/docs/components/noData.md +210 -0
- package/dist/docs/components/notifications.md +314 -0
- package/dist/docs/components/numbercontrol.md +706 -0
- package/dist/docs/components/onboarding.md +297 -0
- package/dist/docs/components/page.md +241 -0
- package/dist/docs/components/pager.md +133 -0
- package/dist/docs/components/pieCharts.md +1284 -0
- package/dist/docs/components/popover.md +222 -0
- package/dist/docs/components/position.md +50 -0
- package/dist/docs/components/radialBarCharts.md +3663 -0
- package/dist/docs/components/radiobutton.md +1271 -0
- package/dist/docs/components/releaseNotes.md +135 -0
- package/dist/docs/components/resizer.md +162 -0
- package/dist/docs/components/responsiveColumnStripe.md +435 -0
- package/dist/docs/components/responsiveVideo.md +71 -0
- package/dist/docs/components/rioglyph.md +331 -0
- package/dist/docs/components/rules.md +965 -0
- package/dist/docs/components/saveableInput.md +1721 -0
- package/dist/docs/components/selects.md +1993 -0
- package/dist/docs/components/sidebar.md +332 -0
- package/dist/docs/components/sliders.md +376 -0
- package/dist/docs/components/smoothScrollbars.md +1180 -0
- package/dist/docs/components/spinners.md +506 -0
- package/dist/docs/components/states.md +1176 -0
- package/dist/docs/components/statsWidgets.md +636 -0
- package/dist/docs/components/statusBar.md +644 -0
- package/dist/docs/components/stepButton.md +61 -0
- package/dist/docs/components/steppedProgressBars.md +1064 -0
- package/dist/docs/components/subNavigation.md +470 -0
- package/dist/docs/components/supportMarker.md +115 -0
- package/dist/docs/components/svgImage.md +248 -0
- package/dist/docs/components/switch.md +554 -0
- package/dist/docs/components/tables.md +8 -0
- package/dist/docs/components/tagManager.md +476 -0
- package/dist/docs/components/tags.md +785 -0
- package/dist/docs/components/teaser.md +925 -0
- package/dist/docs/components/timeline.md +514 -0
- package/dist/docs/components/timepicker.md +262 -0
- package/dist/docs/components/toggleButton.md +178 -0
- package/dist/docs/components/tooltip.md +454 -0
- package/dist/docs/components/virtualList.md +483 -0
- package/dist/docs/foundations.md +20901 -0
- package/dist/docs/start/changelog.md +439 -0
- package/dist/docs/start/goodtoknow.md +14 -0
- package/dist/docs/start/guidelines/color-combinations.md +678 -0
- package/dist/docs/start/guidelines/custom-css.md +42 -0
- package/dist/docs/start/guidelines/custom-rioglyph.md +35 -0
- package/dist/docs/start/guidelines/formatting.md +587 -0
- package/dist/docs/start/guidelines/iframe.md +323 -0
- package/dist/docs/start/guidelines/obfuscate-data.md +30 -0
- package/dist/docs/start/guidelines/print-css.md +36 -0
- package/dist/docs/start/guidelines/spinner.md +710 -0
- package/dist/docs/start/guidelines/supported-browsers.md +10 -0
- package/dist/docs/start/guidelines/writing.md +635 -0
- package/dist/docs/start/howto.md +187 -0
- package/dist/docs/start/intro.md +43 -0
- package/dist/docs/start/responsiveness.md +98 -0
- package/dist/docs/templates/common-table.md +1111 -0
- package/dist/docs/templates/detail-views.md +942 -0
- package/dist/docs/templates/expandable-details.md +228 -0
- package/dist/docs/templates/feature-cards.md +549 -0
- package/dist/docs/templates/form-summary.md +199 -0
- package/dist/docs/templates/form-toggle.md +367 -0
- package/dist/docs/templates/list-blocks.md +1021 -0
- package/dist/docs/templates/loading-progress.md +109 -0
- package/dist/docs/templates/options-panel.md +152 -0
- package/dist/docs/templates/panel-variants.md +164 -0
- package/dist/docs/templates/progress-cards.md +607 -0
- package/dist/docs/templates/progress-success.md +142 -0
- package/dist/docs/templates/settings-form.md +434 -0
- package/dist/docs/templates/stats-blocks.md +1381 -0
- package/dist/docs/templates/table-panel.md +184 -0
- package/dist/docs/templates/table-row-animation.md +317 -0
- package/dist/docs/templates/usage-cards.md +227 -0
- package/dist/docs/utilities/deviceUtils.md +123 -0
- package/dist/docs/utilities/featureToggles.md +90 -0
- package/dist/docs/utilities/fuelTypeUtils.md +186 -0
- package/dist/docs/utilities/routeUtils.md +138 -0
- package/dist/docs/utilities/useAfterMount.md +66 -0
- package/dist/docs/utilities/useAutoAnimate.md +193 -0
- package/dist/docs/utilities/useAverage.md +95 -0
- package/dist/docs/utilities/useClickOutside.md +61 -0
- package/dist/docs/utilities/useClipboard.md +93 -0
- package/dist/docs/utilities/useCount.md +178 -0
- package/dist/docs/utilities/useDarkMode.md +49 -0
- package/dist/docs/utilities/useDebugInfo.md +126 -0
- package/dist/docs/utilities/useEffectOnce.md +58 -0
- package/dist/docs/utilities/useElapsedTime.md +58 -0
- package/dist/docs/utilities/useElementSize.md +71 -0
- package/dist/docs/utilities/useEsc.md +58 -0
- package/dist/docs/utilities/useEvent.md +64 -0
- package/dist/docs/utilities/useFocusTrap.md +85 -0
- package/dist/docs/utilities/useFullscreen.md +198 -0
- package/dist/docs/utilities/useHover.md +55 -0
- package/dist/docs/utilities/useIncomingPostMessages.md +237 -0
- package/dist/docs/utilities/useInterval.md +85 -0
- package/dist/docs/utilities/useIsFocusWithin.md +114 -0
- package/dist/docs/utilities/useKey.md +151 -0
- package/dist/docs/utilities/useLocalStorage.md +91 -0
- package/dist/docs/utilities/useLocationSuggestions.md +114 -0
- package/dist/docs/utilities/useMax.md +62 -0
- package/dist/docs/utilities/useMin.md +78 -0
- package/dist/docs/utilities/useMutationObserver.md +113 -0
- package/dist/docs/utilities/useOnScreen.md +138 -0
- package/dist/docs/utilities/useOnlineStatus.md +49 -0
- package/dist/docs/utilities/usePostMessage.md +117 -0
- package/dist/docs/utilities/usePostMessageSender.md +257 -0
- package/dist/docs/utilities/usePrevious.md +101 -0
- package/dist/docs/utilities/useResizeObserver.md +151 -0
- package/dist/docs/utilities/useScrollPosition.md +252 -0
- package/dist/docs/utilities/useSearch.md +228 -0
- package/dist/docs/utilities/useSorting.md +389 -0
- package/dist/docs/utilities/useStateWithValidation.md +83 -0
- package/dist/docs/utilities/useSum.md +155 -0
- package/dist/docs/utilities/useTableExport.md +404 -0
- package/dist/docs/utilities/useTableSelection.md +1120 -0
- package/dist/docs/utilities/useTimeout.md +55 -0
- package/dist/docs/utilities/useToggle.md +115 -0
- package/dist/docs/utilities/useWindowResize.md +70 -0
- package/dist/index.mjs +271 -0
- package/dist/search-synonyms.json +134 -0
- package/dist/version.json +4 -0
- package/package.json +23 -19
- package/bin/uikit-mcp.mjs +0 -23
- package/data/pages/Components/components/accentbar.json +0 -207
- package/data/pages/Components/components/activity.json +0 -87
- package/data/pages/Components/components/animatednumber.json +0 -99
- package/data/pages/Components/components/animations.json +0 -87
- package/data/pages/Components/components/appheader.json +0 -291
- package/data/pages/Components/components/applayout.json +0 -1198
- package/data/pages/Components/components/appnavigationbar.json +0 -327
- package/data/pages/Components/components/areacharts.json +0 -563
- package/data/pages/Components/components/aspectratioplaceholder.json +0 -75
- package/data/pages/Components/components/assettree.json +0 -3080
- package/data/pages/Components/components/autosuggests.json +0 -710
- package/data/pages/Components/components/avatar.json +0 -157
- package/data/pages/Components/components/banner.json +0 -599
- package/data/pages/Components/components/barcharts.json +0 -1507
- package/data/pages/Components/components/barlist.json +0 -223
- package/data/pages/Components/components/basicmap.json +0 -68
- package/data/pages/Components/components/bottomsheet.json +0 -601
- package/data/pages/Components/components/button.json +0 -583
- package/data/pages/Components/components/buttontoolbar.json +0 -63
- package/data/pages/Components/components/calendarstripe.json +0 -235
- package/data/pages/Components/components/card.json +0 -69
- package/data/pages/Components/components/carousel.json +0 -39
- package/data/pages/Components/components/chartcolors.json +0 -34
- package/data/pages/Components/components/chartsgettingstarted.json +0 -32
- package/data/pages/Components/components/chat.json +0 -39
- package/data/pages/Components/components/checkbox.json +0 -847
- package/data/pages/Components/components/clearableinput.json +0 -789
- package/data/pages/Components/components/collapse.json +0 -175
- package/data/pages/Components/components/composedcharts.json +0 -159
- package/data/pages/Components/components/contentloader.json +0 -233
- package/data/pages/Components/components/datatabs.json +0 -680
- package/data/pages/Components/components/datepickers.json +0 -287
- package/data/pages/Components/components/dialogs.json +0 -1492
- package/data/pages/Components/components/divider.json +0 -93
- package/data/pages/Components/components/dropdowns.json +0 -936
- package/data/pages/Components/components/editablecontent.json +0 -1117
- package/data/pages/Components/components/expander.json +0 -377
- package/data/pages/Components/components/fade.json +0 -403
- package/data/pages/Components/components/fadeexpander.json +0 -75
- package/data/pages/Components/components/fadeup.json +0 -127
- package/data/pages/Components/components/feedback.json +0 -269
- package/data/pages/Components/components/filepickers.json +0 -269
- package/data/pages/Components/components/formlabel.json +0 -115
- package/data/pages/Components/components/fullscreenmap.json +0 -22
- package/data/pages/Components/components/groupeditemlist.json +0 -323
- package/data/pages/Components/components/iconlist.json +0 -45
- package/data/pages/Components/components/imagepreloader.json +0 -81
- package/data/pages/Components/components/labeledelement.json +0 -75
- package/data/pages/Components/components/licenseplate.json +0 -69
- package/data/pages/Components/components/linecharts.json +0 -987
- package/data/pages/Components/components/listmenu.json +0 -313
- package/data/pages/Components/components/loadmore.json +0 -175
- package/data/pages/Components/components/mainnavigation.json +0 -39
- package/data/pages/Components/components/mapcircle.json +0 -34
- package/data/pages/Components/components/mapcluster.json +0 -51
- package/data/pages/Components/components/mapcontext.json +0 -105
- package/data/pages/Components/components/mapdraggablemarker.json +0 -34
- package/data/pages/Components/components/mapgettingstarted.json +0 -27
- package/data/pages/Components/components/mapgroup.json +0 -1198
- package/data/pages/Components/components/mapinfobubble.json +0 -34
- package/data/pages/Components/components/maplayergroup.json +0 -34
- package/data/pages/Components/components/mapmarker.json +0 -700
- package/data/pages/Components/components/mappolygon.json +0 -45
- package/data/pages/Components/components/maproute.json +0 -623
- package/data/pages/Components/components/maproutegenerator.json +0 -16
- package/data/pages/Components/components/mapsettings.json +0 -51
- package/data/pages/Components/components/maputils.json +0 -34
- package/data/pages/Components/components/multiselects.json +0 -1451
- package/data/pages/Components/components/nodata.json +0 -139
- package/data/pages/Components/components/notifications.json +0 -65
- package/data/pages/Components/components/numbercontrol.json +0 -301
- package/data/pages/Components/components/onboarding.json +0 -302
- package/data/pages/Components/components/page.json +0 -197
- package/data/pages/Components/components/pager.json +0 -93
- package/data/pages/Components/components/piecharts.json +0 -731
- package/data/pages/Components/components/popover.json +0 -251
- package/data/pages/Components/components/position.json +0 -69
- package/data/pages/Components/components/radialbarcharts.json +0 -1304
- package/data/pages/Components/components/radiobutton.json +0 -1105
- package/data/pages/Components/components/releasenotes.json +0 -44
- package/data/pages/Components/components/resizer.json +0 -93
- package/data/pages/Components/components/responsivecolumnstripe.json +0 -123
- package/data/pages/Components/components/responsivevideo.json +0 -75
- package/data/pages/Components/components/rioglyph.json +0 -93
- package/data/pages/Components/components/rules.json +0 -410
- package/data/pages/Components/components/saveableinput.json +0 -703
- package/data/pages/Components/components/selects.json +0 -701
- package/data/pages/Components/components/sidebar.json +0 -243
- package/data/pages/Components/components/sliders.json +0 -235
- package/data/pages/Components/components/smoothscrollbars.json +0 -335
- package/data/pages/Components/components/spinners.json +0 -343
- package/data/pages/Components/components/states.json +0 -1705
- package/data/pages/Components/components/statswidgets.json +0 -314
- package/data/pages/Components/components/statusbar.json +0 -177
- package/data/pages/Components/components/stepbutton.json +0 -57
- package/data/pages/Components/components/steppedprogressbars.json +0 -417
- package/data/pages/Components/components/subnavigation.json +0 -107
- package/data/pages/Components/components/supportmarker.json +0 -45
- package/data/pages/Components/components/svgimage.json +0 -81
- package/data/pages/Components/components/switch.json +0 -111
- package/data/pages/Components/components/tables.json +0 -144
- package/data/pages/Components/components/tagmanager.json +0 -86
- package/data/pages/Components/components/tags.json +0 -146
- package/data/pages/Components/components/teaser.json +0 -188
- package/data/pages/Components/components/timeline.json +0 -45
- package/data/pages/Components/components/timepicker.json +0 -163
- package/data/pages/Components/components/togglebutton.json +0 -247
- package/data/pages/Components/components/tooltip.json +0 -270
- package/data/pages/Components/components/virtuallist.json +0 -175
- package/data/pages/Foundations/foundations.json +0 -2475
- package/data/pages/Getting-started/start/changelog.json +0 -22
- package/data/pages/Getting-started/start/goodtoknow.json +0 -32
- package/data/pages/Getting-started/start/guidelines/color-combinations.json +0 -58
- package/data/pages/Getting-started/start/guidelines/custom-css.json +0 -27
- package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +0 -22
- package/data/pages/Getting-started/start/guidelines/formatting.json +0 -97
- package/data/pages/Getting-started/start/guidelines/iframe.json +0 -93
- package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +0 -22
- package/data/pages/Getting-started/start/guidelines/print-css.json +0 -37
- package/data/pages/Getting-started/start/guidelines/spinner.json +0 -144
- package/data/pages/Getting-started/start/guidelines/supported-browsers.json +0 -22
- package/data/pages/Getting-started/start/guidelines/writing.json +0 -242
- package/data/pages/Getting-started/start/howto.json +0 -72
- package/data/pages/Getting-started/start/intro.json +0 -37
- package/data/pages/Getting-started/start/responsiveness.json +0 -52
- package/data/pages/Templates/templates/common-table.json +0 -39
- package/data/pages/Templates/templates/detail-views.json +0 -71
- package/data/pages/Templates/templates/expandable-details.json +0 -39
- package/data/pages/Templates/templates/feature-cards.json +0 -103
- package/data/pages/Templates/templates/form-summary.json +0 -39
- package/data/pages/Templates/templates/form-toggle.json +0 -39
- package/data/pages/Templates/templates/list-blocks.json +0 -119
- package/data/pages/Templates/templates/loading-progress.json +0 -39
- package/data/pages/Templates/templates/options-panel.json +0 -39
- package/data/pages/Templates/templates/panel-variants.json +0 -39
- package/data/pages/Templates/templates/progress-cards.json +0 -71
- package/data/pages/Templates/templates/progress-success.json +0 -39
- package/data/pages/Templates/templates/settings-form.json +0 -39
- package/data/pages/Templates/templates/stats-blocks.json +0 -135
- package/data/pages/Templates/templates/table-panel.json +0 -39
- package/data/pages/Templates/templates/table-row-animation.json +0 -39
- package/data/pages/Templates/templates/usage-cards.json +0 -39
- package/data/pages/Utilities/utilities/deviceutils.json +0 -39
- package/data/pages/Utilities/utilities/featuretoggles.json +0 -42
- package/data/pages/Utilities/utilities/fueltypeutils.json +0 -118
- package/data/pages/Utilities/utilities/routeutils.json +0 -34
- package/data/pages/Utilities/utilities/useaftermount.json +0 -63
- package/data/pages/Utilities/utilities/useaverage.json +0 -86
- package/data/pages/Utilities/utilities/useclickoutside.json +0 -69
- package/data/pages/Utilities/utilities/useclipboard.json +0 -57
- package/data/pages/Utilities/utilities/usecount.json +0 -92
- package/data/pages/Utilities/utilities/usedarkmode.json +0 -50
- package/data/pages/Utilities/utilities/usedebuginfo.json +0 -63
- package/data/pages/Utilities/utilities/useeffectonce.json +0 -57
- package/data/pages/Utilities/utilities/useelapsedtime.json +0 -57
- package/data/pages/Utilities/utilities/useelementsize.json +0 -63
- package/data/pages/Utilities/utilities/useesc.json +0 -57
- package/data/pages/Utilities/utilities/useevent.json +0 -75
- package/data/pages/Utilities/utilities/usefocustrap.json +0 -57
- package/data/pages/Utilities/utilities/usefullscreen.json +0 -197
- package/data/pages/Utilities/utilities/usehover.json +0 -57
- package/data/pages/Utilities/utilities/useinterval.json +0 -63
- package/data/pages/Utilities/utilities/useisfocuswithin.json +0 -75
- package/data/pages/Utilities/utilities/usekey.json +0 -75
- package/data/pages/Utilities/utilities/uselocalstorage.json +0 -69
- package/data/pages/Utilities/utilities/uselocationsuggestions.json +0 -110
- package/data/pages/Utilities/utilities/usemax.json +0 -86
- package/data/pages/Utilities/utilities/usemin.json +0 -86
- package/data/pages/Utilities/utilities/usemutationobserver.json +0 -69
- package/data/pages/Utilities/utilities/useonlinestatus.json +0 -39
- package/data/pages/Utilities/utilities/useonscreen.json +0 -63
- package/data/pages/Utilities/utilities/usepostmessage.json +0 -80
- package/data/pages/Utilities/utilities/useprevious.json +0 -63
- package/data/pages/Utilities/utilities/useresizeobserver.json +0 -65
- package/data/pages/Utilities/utilities/usescrollposition.json +0 -103
- package/data/pages/Utilities/utilities/usesearch.json +0 -197
- package/data/pages/Utilities/utilities/usesorting.json +0 -139
- package/data/pages/Utilities/utilities/usestatewithvalidation.json +0 -69
- package/data/pages/Utilities/utilities/usesum.json +0 -86
- package/data/pages/Utilities/utilities/usetableexport.json +0 -87
- package/data/pages/Utilities/utilities/usetableselection.json +0 -311
- package/data/pages/Utilities/utilities/usetimeout.json +0 -63
- package/data/pages/Utilities/utilities/usetoggle.json +0 -75
- package/data/pages/Utilities/utilities/usewindowresize.json +0 -63
- package/data/version.json +0 -4
- package/docs/content-schema.md +0 -147
- package/docs/navigation-inventory.json +0 -1310
- package/docs/search-synonyms.json +0 -43
- package/server/index.mjs +0 -268
- package/server/lib/load-docs.mjs +0 -48
- package/server/lib/normalise-doc.mjs +0 -220
- package/server/lib/render-markdown.mjs +0 -82
- package/server/lib/search-index.mjs +0 -49
- package/server/lib/types.js +0 -99
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Collapse
|
|
2
|
+
|
|
3
|
+
*Category:* Components
|
|
4
|
+
*Section:* Show/Hide
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#components/collapse
|
|
6
|
+
*Captured:* 2025-12-12T12:38:20.873Z
|
|
7
|
+
|
|
8
|
+
The Collapse component folds and unfolds given content. It is used in some other components such as the ExpanderPanel and ExpanderList.
|
|
9
|
+
|
|
10
|
+
## Collapse
|
|
11
|
+
|
|
12
|
+
> Note: In case the content element you pass in as child has margins, wrap it within another div to smoothen the animation.
|
|
13
|
+
|
|
14
|
+
### Example: Content will stay in the DOM even when it is collapsed
|
|
15
|
+
|
|
16
|
+
Content will stay in the DOM even when it is collapsed
|
|
17
|
+
Hide content
|
|
18
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
19
|
+
Dropdown
|
|
20
|
+
|
|
21
|
+
#### Summary
|
|
22
|
+
|
|
23
|
+
Content will stay in the DOM even when it is collapsed
|
|
24
|
+
Hide content
|
|
25
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
26
|
+
Dropdown
|
|
27
|
+
|
|
28
|
+
#### React (tsx)
|
|
29
|
+
|
|
30
|
+
```tsx
|
|
31
|
+
import { useState } from 'react';
|
|
32
|
+
|
|
33
|
+
import Collapse from '@rio-cloud/rio-uikit/Collapse';
|
|
34
|
+
import ToggleButton from '@rio-cloud/rio-uikit/ToggleButton';
|
|
35
|
+
import Notification from '@rio-cloud/rio-uikit/Notification';
|
|
36
|
+
import ButtonDropdown from '@rio-cloud/rio-uikit/ButtonDropdown';
|
|
37
|
+
import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
38
|
+
import { dummyText } from '../../../utils/data';
|
|
39
|
+
|
|
40
|
+
export default () => {
|
|
41
|
+
const [show, setShow] = useState(true);
|
|
42
|
+
|
|
43
|
+
return (
|
|
44
|
+
<>
|
|
45
|
+
<FormLabel>Content will stay in the DOM even when it is collapsed</FormLabel>
|
|
46
|
+
<div>
|
|
47
|
+
<ToggleButton className='margin-bottom-10' active={show} onClick={() => setShow(!show)}>
|
|
48
|
+
{show ? 'Hide content' : 'Show content'}
|
|
49
|
+
</ToggleButton>
|
|
50
|
+
<Collapse
|
|
51
|
+
open={show}
|
|
52
|
+
onEntered={() => Notification.info('opened')}
|
|
53
|
+
onExited={() => Notification.info('closed')}
|
|
54
|
+
>
|
|
55
|
+
<div className='panel-wrapper'>
|
|
56
|
+
<div className='panel panel-default'>
|
|
57
|
+
<div className='panel-body'>
|
|
58
|
+
<div className='margin-bottom-15'>{dummyText}</div>
|
|
59
|
+
<ButtonDropdown
|
|
60
|
+
title='Dropdown'
|
|
61
|
+
items={[{ value: 'Item 1' }, { value: 'Item 2' }, { value: 'Item 3' }]}
|
|
62
|
+
/>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</Collapse>
|
|
67
|
+
</div>
|
|
68
|
+
</>
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
#### HTML (html)
|
|
74
|
+
|
|
75
|
+
```html
|
|
76
|
+
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Content will stay in the DOM even when it is collapsed</div>
|
|
77
|
+
<div>
|
|
78
|
+
<button type="button" class="btn btn-default btn-toggle active btn-component margin-bottom-10" tabindex="0">Hide content</button>
|
|
79
|
+
<div class="collapse display-block width-100pct" style="opacity: 1; height: auto;">
|
|
80
|
+
<div class="panel-wrapper">
|
|
81
|
+
<div class="panel panel-default">
|
|
82
|
+
<div class="panel-body">
|
|
83
|
+
<div class="margin-bottom-15">
|
|
84
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.</div>
|
|
85
|
+
<div class="dropdown btn-group">
|
|
86
|
+
<button type="button" id="1forn9hnveu" class="btn btn-default btn-md btn-component dropdown-toggle" tabindex="0">Dropdown<span class="caret">
|
|
87
|
+
</span>
|
|
88
|
+
</button>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### Props
|
|
98
|
+
|
|
99
|
+
| Name | Type | Default | Description |
|
|
100
|
+
| --- | --- | --- | --- |
|
|
101
|
+
| open | Boolean | false | Show the component and triggers the expand or collapse animation. |
|
|
102
|
+
| timeout | Number | 270 | Duration of the collapse animation in milliseconds. |
|
|
103
|
+
| appear | Boolean | false | Run the expand animation when the component mounts, if it is initially shown. |
|
|
104
|
+
| unmountOnExit | Boolean | false | Unmount the component (remove it from the DOM) when it is collapsed. |
|
|
105
|
+
| onEntered | () => void | — | Callback fired after the component has expanded. |
|
|
106
|
+
| onExited | () => {} | — | Callback fired after the component has collapsed. |
|
|
107
|
+
| onAnimationStart | () => {} | — | Callback fired when the animation starts for either expand or collapse. |
|
|
108
|
+
| children | any | — | Any component given to be expanded or collapsed. |
|
|
109
|
+
|
|
110
|
+
### Example: Content will be removed from the DOM when it is collapsed and mounted again on show
|
|
111
|
+
|
|
112
|
+
Content will be removed from the DOM when it is collapsed and mounted again on show
|
|
113
|
+
Hide content
|
|
114
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
115
|
+
|
|
116
|
+
#### Summary
|
|
117
|
+
|
|
118
|
+
Content will be removed from the DOM when it is collapsed and mounted again on show
|
|
119
|
+
Hide content
|
|
120
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
121
|
+
|
|
122
|
+
#### React (tsx)
|
|
123
|
+
|
|
124
|
+
```tsx
|
|
125
|
+
import { useState } from 'react';
|
|
126
|
+
|
|
127
|
+
import Collapse from '@rio-cloud/rio-uikit/Collapse';
|
|
128
|
+
import ToggleButton from '@rio-cloud/rio-uikit/ToggleButton';
|
|
129
|
+
import Notification from '@rio-cloud/rio-uikit/Notification';
|
|
130
|
+
import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
131
|
+
import { dummyText } from '../../../utils/data';
|
|
132
|
+
|
|
133
|
+
export default () => {
|
|
134
|
+
const [show, setShow] = useState(true);
|
|
135
|
+
|
|
136
|
+
return (
|
|
137
|
+
<>
|
|
138
|
+
<FormLabel>Content will be removed from the DOM when it is collapsed and mounted again on show</FormLabel>
|
|
139
|
+
<div>
|
|
140
|
+
<ToggleButton className='margin-bottom-10' active={show} onClick={() => setShow(prevShow => !prevShow)}>
|
|
141
|
+
{show ? 'Hide content' : 'Show content'}
|
|
142
|
+
</ToggleButton>
|
|
143
|
+
<Collapse
|
|
144
|
+
open={show}
|
|
145
|
+
onEntered={() => Notification.info('opened')}
|
|
146
|
+
onExited={() => Notification.info('closed')}
|
|
147
|
+
unmountOnExit
|
|
148
|
+
>
|
|
149
|
+
<div className='panel-wrapper height-150'>
|
|
150
|
+
<div className='panel panel-default'>
|
|
151
|
+
<div className='panel-body'>{dummyText}</div>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</Collapse>
|
|
155
|
+
</div>
|
|
156
|
+
</>
|
|
157
|
+
);
|
|
158
|
+
};
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
#### HTML (html)
|
|
162
|
+
|
|
163
|
+
```html
|
|
164
|
+
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Content will be removed from the DOM when it is collapsed and mounted again on show</div>
|
|
165
|
+
<div>
|
|
166
|
+
<button type="button" class="btn btn-default btn-toggle active btn-component margin-bottom-10" tabindex="0">Hide content</button>
|
|
167
|
+
<div class="collapse display-block width-100pct" style="opacity: 1; height: auto;">
|
|
168
|
+
<div class="panel-wrapper height-150">
|
|
169
|
+
<div class="panel panel-default">
|
|
170
|
+
<div class="panel-body">
|
|
171
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
#### Props
|
|
179
|
+
|
|
180
|
+
| Name | Type | Default | Description |
|
|
181
|
+
| --- | --- | --- | --- |
|
|
182
|
+
| open | Boolean | false | Show the component and triggers the expand or collapse animation. |
|
|
183
|
+
| timeout | Number | 270 | Duration of the collapse animation in milliseconds. |
|
|
184
|
+
| appear | Boolean | false | Run the expand animation when the component mounts, if it is initially shown. |
|
|
185
|
+
| unmountOnExit | Boolean | false | Unmount the component (remove it from the DOM) when it is collapsed. |
|
|
186
|
+
| onEntered | () => void | — | Callback fired after the component has expanded. |
|
|
187
|
+
| onExited | () => {} | — | Callback fired after the component has collapsed. |
|
|
188
|
+
| onAnimationStart | () => {} | — | Callback fired when the animation starts for either expand or collapse. |
|
|
189
|
+
| children | any | — | Any component given to be expanded or collapsed. |
|
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
# ComposedChart
|
|
2
|
+
|
|
3
|
+
*Category:* Components
|
|
4
|
+
*Section:* Charts
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#components/composedCharts
|
|
6
|
+
*Captured:* 2025-12-12T12:39:18.161Z
|
|
7
|
+
|
|
8
|
+
## ComposedChart
|
|
9
|
+
|
|
10
|
+
> Note: When using a chart in your application, do not get fancy and try to stick to the proposed examples or at least base your chart upon them. That will save time and money and, equally important, gives the user a coherent look and feel across the different services.
|
|
11
|
+
|
|
12
|
+
### Example: Simple ComposedChart
|
|
13
|
+
|
|
14
|
+
Simple ComposedChart
|
|
15
|
+
|
|
16
|
+
amt
|
|
17
|
+
pv
|
|
18
|
+
uv
|
|
19
|
+
|
|
20
|
+
Page APage BPage CPage DPage EPage F
|
|
21
|
+
|
|
22
|
+
#### Summary
|
|
23
|
+
|
|
24
|
+
Simple ComposedChart
|
|
25
|
+
|
|
26
|
+
amt
|
|
27
|
+
pv
|
|
28
|
+
uv
|
|
29
|
+
|
|
30
|
+
Page APage BPage CPage DPage EPage F
|
|
31
|
+
|
|
32
|
+
#### React (tsx)
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import { useState } from 'react';
|
|
36
|
+
|
|
37
|
+
import ComposedChart from '@rio-cloud/rio-uikit/ComposedChart';
|
|
38
|
+
import Line from '@rio-cloud/rio-uikit/Line';
|
|
39
|
+
import Bar from '@rio-cloud/rio-uikit/Bar';
|
|
40
|
+
import Area from '@rio-cloud/rio-uikit/Area';
|
|
41
|
+
import Legend from '@rio-cloud/rio-uikit/Legend';
|
|
42
|
+
import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
43
|
+
|
|
44
|
+
type CustomData = {
|
|
45
|
+
name: string;
|
|
46
|
+
uv: number;
|
|
47
|
+
pv: number;
|
|
48
|
+
amt: number;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export default () => {
|
|
52
|
+
const [highlightedElement, setHighlightedElement] = useState<string | null>(null);
|
|
53
|
+
|
|
54
|
+
const handleLegendMouseEnter = (dataKey: string) => setHighlightedElement(dataKey);
|
|
55
|
+
const handleLegendMouseLeave = () => setHighlightedElement(null);
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<>
|
|
59
|
+
<FormLabel>Simple ComposedChart</FormLabel>
|
|
60
|
+
<div className='panel panel-default panel-body margin-bottom-0 height-200 max-width-500'>
|
|
61
|
+
<ComposedChart
|
|
62
|
+
data={data}
|
|
63
|
+
dataKey={(entry: CustomData) => entry.name}
|
|
64
|
+
xAxisOptions={{ padding: { left: 30, right: 30 } }}
|
|
65
|
+
showGrid
|
|
66
|
+
gridOptions={{ vertical: false, strokeDasharray: '0', stroke: 'gray-lighter' }}
|
|
67
|
+
legend={
|
|
68
|
+
<Legend
|
|
69
|
+
content={
|
|
70
|
+
<CustomLegend
|
|
71
|
+
highlightedElement={highlightedElement}
|
|
72
|
+
onMouseEnter={handleLegendMouseEnter}
|
|
73
|
+
onMouseLeave={handleLegendMouseLeave}
|
|
74
|
+
/>
|
|
75
|
+
}
|
|
76
|
+
/>
|
|
77
|
+
}
|
|
78
|
+
lines={[
|
|
79
|
+
<Line
|
|
80
|
+
key='line'
|
|
81
|
+
dataKey='uv'
|
|
82
|
+
strokeColor='brand-primary'
|
|
83
|
+
strokeWidth={highlightedElement === 'uv' ? 2 : 1}
|
|
84
|
+
dot={{ strokeWidth: highlightedElement === 'uv' ? 2 : 1 }}
|
|
85
|
+
/>,
|
|
86
|
+
]}
|
|
87
|
+
areas={[
|
|
88
|
+
<Area
|
|
89
|
+
key='area'
|
|
90
|
+
dataKey='amt'
|
|
91
|
+
strokeColor='color-spectrum-pink'
|
|
92
|
+
fill='color-spectrum-pink'
|
|
93
|
+
fillOpacity={highlightedElement === 'amt' || !highlightedElement ? 0.5 : 0.1}
|
|
94
|
+
/>,
|
|
95
|
+
]}
|
|
96
|
+
bars={[
|
|
97
|
+
<Bar
|
|
98
|
+
key='bar'
|
|
99
|
+
dataKey='pv'
|
|
100
|
+
color='color-spectrum-indigo'
|
|
101
|
+
radius={[3, 3, 0, 0]}
|
|
102
|
+
fillOpacity={highlightedElement === 'pv' || !highlightedElement ? 1 : 0.3}
|
|
103
|
+
/>,
|
|
104
|
+
]}
|
|
105
|
+
/>
|
|
106
|
+
</div>
|
|
107
|
+
</>
|
|
108
|
+
);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
type CustomLegendProps = {
|
|
112
|
+
payload?: { dataKey: string; value: string; color: string }[];
|
|
113
|
+
highlightedElement: string | null;
|
|
114
|
+
onMouseEnter: (dataKey: string) => void;
|
|
115
|
+
onMouseLeave: () => void;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
const CustomLegend = ({ payload, highlightedElement, onMouseEnter, onMouseLeave }: CustomLegendProps) => {
|
|
119
|
+
return (
|
|
120
|
+
<ul className='list-style-none padding-left-20'>
|
|
121
|
+
{payload?.map((entry: any, index: number) => (
|
|
122
|
+
<li
|
|
123
|
+
key={`item-${index}`}
|
|
124
|
+
onMouseEnter={() => onMouseEnter(entry.dataKey)}
|
|
125
|
+
onMouseLeave={onMouseLeave}
|
|
126
|
+
className={`cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ${highlightedElement === entry.dataKey ? 'bg-lightest' : ''}`}
|
|
127
|
+
>
|
|
128
|
+
<span className='rioglyph rioglyph-sphere' style={{ color: entry.color }} />
|
|
129
|
+
<span className='text-color-darker text-capitalize-first-word'>{entry.value}</span>
|
|
130
|
+
</li>
|
|
131
|
+
))}
|
|
132
|
+
</ul>
|
|
133
|
+
);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
const data: CustomData[] = [
|
|
137
|
+
{
|
|
138
|
+
name: 'Page A',
|
|
139
|
+
uv: 590,
|
|
140
|
+
pv: 800,
|
|
141
|
+
amt: 1400,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Page B',
|
|
145
|
+
uv: 868,
|
|
146
|
+
pv: 967,
|
|
147
|
+
amt: 1506,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Page C',
|
|
151
|
+
uv: 1397,
|
|
152
|
+
pv: 1098,
|
|
153
|
+
amt: 989,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Page D',
|
|
157
|
+
uv: 1480,
|
|
158
|
+
pv: 1200,
|
|
159
|
+
amt: 1228,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'Page E',
|
|
163
|
+
uv: 1520,
|
|
164
|
+
pv: 1108,
|
|
165
|
+
amt: 1100,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Page F',
|
|
169
|
+
uv: 1400,
|
|
170
|
+
pv: 680,
|
|
171
|
+
amt: 1700,
|
|
172
|
+
},
|
|
173
|
+
];
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
#### HTML (html)
|
|
177
|
+
|
|
178
|
+
```html
|
|
179
|
+
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Simple ComposedChart</div>
|
|
180
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 max-width-500">
|
|
181
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
182
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
183
|
+
<div width="468" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 468px; height: 168px;">
|
|
184
|
+
<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;">
|
|
185
|
+
<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;">
|
|
186
|
+
<p class="recharts-tooltip-label" style="margin: 0px;">
|
|
187
|
+
</p>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="recharts-legend-wrapper" style="position: absolute; width: auto; height: auto; right: 15px; top: 15px;">
|
|
191
|
+
<ul class="list-style-none padding-left-20">
|
|
192
|
+
<li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
|
|
193
|
+
<span class="rioglyph rioglyph-sphere" style="color: rgb(232, 120, 182);">
|
|
194
|
+
</span>
|
|
195
|
+
<span class="text-color-darker text-capitalize-first-word">amt</span>
|
|
196
|
+
</li>
|
|
197
|
+
<li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
|
|
198
|
+
<span class="rioglyph rioglyph-sphere" style="color: rgb(142, 150, 235);">
|
|
199
|
+
</span>
|
|
200
|
+
<span class="text-color-darker text-capitalize-first-word">pv</span>
|
|
201
|
+
</li>
|
|
202
|
+
<li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
|
|
203
|
+
<span class="rioglyph rioglyph-sphere" style="color: rgb(48, 180, 192);">
|
|
204
|
+
</span>
|
|
205
|
+
<span class="text-color-darker text-capitalize-first-word">uv</span>
|
|
206
|
+
</li>
|
|
207
|
+
</ul>
|
|
208
|
+
</div>
|
|
209
|
+
<svg role="application" tabindex="0" class="recharts-surface" width="468" height="168" viewBox="0 0 468 168" style="width: 100%; height: 100%; display: block;">
|
|
210
|
+
<title>
|
|
211
|
+
</title>
|
|
212
|
+
<desc>
|
|
213
|
+
</desc>
|
|
214
|
+
<g tabindex="-1" id="recharts-zindex--100-:r1:">
|
|
215
|
+
<g class="recharts-cartesian-grid">
|
|
216
|
+
<g class="recharts-cartesian-grid-horizontal">
|
|
217
|
+
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="123" x2="380.03125" y2="123">
|
|
218
|
+
</line>
|
|
219
|
+
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="96" x2="380.03125" y2="96">
|
|
220
|
+
</line>
|
|
221
|
+
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="69" x2="380.03125" y2="69">
|
|
222
|
+
</line>
|
|
223
|
+
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="42" x2="380.03125" y2="42">
|
|
224
|
+
</line>
|
|
225
|
+
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="15" x2="380.03125" y2="15">
|
|
226
|
+
</line>
|
|
227
|
+
</g>
|
|
228
|
+
</g>
|
|
229
|
+
</g>
|
|
230
|
+
<g tabindex="-1" id="recharts-zindex--50-:r2:">
|
|
231
|
+
</g>
|
|
232
|
+
<defs>
|
|
233
|
+
<clipPath id="recharts1-clip">
|
|
234
|
+
<rect x="15" y="15" height="108" width="365.03125">
|
|
235
|
+
</rect>
|
|
236
|
+
</clipPath>
|
|
237
|
+
</defs>
|
|
238
|
+
<g tabindex="-1" id="recharts-zindex-100-:r6:">
|
|
239
|
+
<g class="recharts-layer recharts-area">
|
|
240
|
+
<g class="recharts-layer">
|
|
241
|
+
<defs>
|
|
242
|
+
<clipPath id="animationClipPath-recharts-area-:r3:">
|
|
243
|
+
<rect x="70.41927083333333" y="0" width="56.09365679331344" height="124">
|
|
244
|
+
</rect>
|
|
245
|
+
</clipPath>
|
|
246
|
+
</defs>
|
|
247
|
+
<g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:r3:)">
|
|
248
|
+
<g class="recharts-layer">
|
|
249
|
+
<path stroke-width="1" fill="#e878b6 " fill-opacity="0.5" height="108" stroke="none" width="365.03125" id="recharts-area-:r3:" class="recharts-curve recharts-area-area" d="M70.419,39C87.365,35.82,104.312,32.64,121.258,32.64C138.204,32.64,155.15,63.66,172.096,63.66C189.043,63.66,205.989,49.32,222.935,49.32C239.881,49.32,256.827,57,273.773,57C290.72,57,307.666,39,324.612,21L324.612,123C307.666,123,290.72,123,273.773,123C256.827,123,239.881,123,222.935,123C205.989,123,189.043,123,172.096,123C155.15,123,138.204,123,121.258,123C104.312,123,87.365,123,70.419,123Z">
|
|
250
|
+
</path>
|
|
251
|
+
<path stroke-width="1" fill="none" fill-opacity="0.5" height="108" stroke="#e878b6 " width="365.03125" class="recharts-curve recharts-area-curve" d="M70.419,39C87.365,35.82,104.312,32.64,121.258,32.64C138.204,32.64,155.15,63.66,172.096,63.66C189.043,63.66,205.989,49.32,222.935,49.32C239.881,49.32,256.827,57,273.773,57C290.72,57,307.666,39,324.612,21">
|
|
252
|
+
</path>
|
|
253
|
+
</g>
|
|
254
|
+
</g>
|
|
255
|
+
</g>
|
|
256
|
+
</g>
|
|
257
|
+
</g>
|
|
258
|
+
<g tabindex="-1" id="recharts-zindex-200-:r7:">
|
|
259
|
+
</g>
|
|
260
|
+
<g tabindex="-1" id="recharts-zindex-300-:r8:">
|
|
261
|
+
<g class="recharts-layer recharts-bar" id="recharts-bar-:r4:">
|
|
262
|
+
<g class="recharts-layer recharts-bar-rectangles">
|
|
263
|
+
<g class="recharts-layer">
|
|
264
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
265
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page A" x="50.08385416666667" y="79.7343465865101" width="40" height="43.2656534134899" class="recharts-rectangle" d="M50.08385416666667,82.7343465865101A 3,3,0,0,1,53.08385416666667,79.7343465865101L 87.08385416666667,79.7343465865101A 3,3,0,0,1,
|
|
266
|
+
90.08385416666667,82.7343465865101L 90.08385416666667,123L 50.08385416666667,123Z">
|
|
267
|
+
</path>
|
|
268
|
+
</g>
|
|
269
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
270
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page B" x="100.92239583333333" y="70.70264143644405" width="40" height="52.29735856355594" class="recharts-rectangle" d="M100.92239583333333,73.70264143644405A 3,3,0,0,1,103.92239583333333,70.70264143644405L 137.92239583333333,70.70264143644405A 3,3,0,0,1,
|
|
271
|
+
140.92239583333333,73.70264143644405L 140.92239583333333,123L 100.92239583333333,123Z">
|
|
272
|
+
</path>
|
|
273
|
+
</g>
|
|
274
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
275
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page C" x="151.76093749999998" y="63.617890689985096" width="40" height="59.382109310014904" class="recharts-rectangle" d="M151.76093749999998,66.6178906899851A 3,3,0,0,1,154.76093749999998,63.617890689985096L 188.76093749999998,63.617890689985096A 3,3,0,0,1,
|
|
276
|
+
191.76093749999998,66.6178906899851L 191.76093749999998,123L 151.76093749999998,123Z">
|
|
277
|
+
</path>
|
|
278
|
+
</g>
|
|
279
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
280
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page D" x="202.59947916666667" y="58.101519879765135" width="40" height="64.89848012023486" class="recharts-rectangle" d="M202.59947916666667,61.101519879765135A 3,3,0,0,1,205.59947916666667,58.101519879765135L 239.59947916666667,58.101519879765135A 3,3,0,0,1,
|
|
281
|
+
242.59947916666667,61.101519879765135L 242.59947916666667,123L 202.59947916666667,123Z">
|
|
282
|
+
</path>
|
|
283
|
+
</g>
|
|
284
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
285
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page E" x="253.43802083333333" y="63.07707002231648" width="40" height="59.92292997768352" class="recharts-rectangle" d="M253.43802083333333,66.07707002231648A 3,3,0,0,1,256.4380208333333,63.07707002231648L 290.4380208333333,63.07707002231648A 3,3,0,0,1,
|
|
286
|
+
293.4380208333333,66.07707002231648L 293.4380208333333,123L 253.43802083333333,123Z">
|
|
287
|
+
</path>
|
|
288
|
+
</g>
|
|
289
|
+
<g class="recharts-layer recharts-bar-rectangle">
|
|
290
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page F" x="304.27656249999995" y="86.22419459853359" width="40" height="36.77580540146642" class="recharts-rectangle" d="M304.27656249999995,89.22419459853359A 3,3,0,0,1,307.27656249999995,86.22419459853359L 341.27656249999995,86.22419459853359A 3,3,0,0,1,
|
|
291
|
+
344.27656249999995,89.22419459853359L 344.27656249999995,123L 304.27656249999995,123Z">
|
|
292
|
+
</path>
|
|
293
|
+
</g>
|
|
294
|
+
</g>
|
|
295
|
+
</g>
|
|
296
|
+
</g>
|
|
297
|
+
</g>
|
|
298
|
+
<g tabindex="-1" id="recharts-zindex-400-:r9:">
|
|
299
|
+
<g class="recharts-layer recharts-line">
|
|
300
|
+
<path stroke-width="1" stroke="#30b4c0 " fill="none" id="recharts-line-:r5:" height="108" width="365.03125" class="recharts-curve recharts-line-curve" stroke-dasharray="59.00612415696692px 208.38465343092372px" d="M70.419,87.6C87.365,83.295,104.312,78.99,121.258,70.92C138.204,62.85,155.15,42.5,172.096,39.18C189.043,35.86,205.989,35.43,222.935,34.2C239.881,32.97,256.827,31.8,273.773,31.8C290.72,31.8,307.666,35.4,324.612,39">
|
|
301
|
+
</path>
|
|
302
|
+
</g>
|
|
303
|
+
</g>
|
|
304
|
+
<g tabindex="-1" id="recharts-zindex-500-:ra:">
|
|
305
|
+
<g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
|
|
306
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="123" x2="380.03125" y2="123">
|
|
307
|
+
</line>
|
|
308
|
+
<g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
|
|
309
|
+
<g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
|
|
310
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
311
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="70.41927083333333" y1="129" x2="70.41927083333333" y2="123">
|
|
312
|
+
</line>
|
|
313
|
+
</g>
|
|
314
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
315
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="121.25781249999999" y1="129" x2="121.25781249999999" y2="123">
|
|
316
|
+
</line>
|
|
317
|
+
</g>
|
|
318
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
319
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="172.09635416666666" y1="129" x2="172.09635416666666" y2="123">
|
|
320
|
+
</line>
|
|
321
|
+
</g>
|
|
322
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
323
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="222.93489583333334" y1="129" x2="222.93489583333334" y2="123">
|
|
324
|
+
</line>
|
|
325
|
+
</g>
|
|
326
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
327
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="273.7734375" y1="129" x2="273.7734375" y2="123">
|
|
328
|
+
</line>
|
|
329
|
+
</g>
|
|
330
|
+
<g class="recharts-layer recharts-cartesian-axis-tick">
|
|
331
|
+
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="324.61197916666663" y1="129" x2="324.61197916666663" y2="123">
|
|
332
|
+
</line>
|
|
333
|
+
</g>
|
|
334
|
+
</g>
|
|
335
|
+
</g>
|
|
336
|
+
</g>
|
|
337
|
+
</g>
|
|
338
|
+
<g tabindex="-1" id="recharts-zindex-600-:rb:">
|
|
339
|
+
<g class="recharts-layer recharts-line-dots">
|
|
340
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="70.41927083333333" cy="87.60000000000001" class="recharts-dot recharts-line-dot">
|
|
341
|
+
</circle>
|
|
342
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="121.25781249999999" cy="70.92" class="recharts-dot recharts-line-dot">
|
|
343
|
+
</circle>
|
|
344
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="172.09635416666666" cy="39.18000000000001" class="recharts-dot recharts-line-dot">
|
|
345
|
+
</circle>
|
|
346
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="222.93489583333334" cy="34.2" class="recharts-dot recharts-line-dot">
|
|
347
|
+
</circle>
|
|
348
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="273.7734375" cy="31.799999999999997" class="recharts-dot recharts-line-dot">
|
|
349
|
+
</circle>
|
|
350
|
+
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="324.61197916666663" cy="39" class="recharts-dot recharts-line-dot">
|
|
351
|
+
</circle>
|
|
352
|
+
</g>
|
|
353
|
+
</g>
|
|
354
|
+
<g tabindex="-1" id="recharts-zindex-1000-:rc:">
|
|
355
|
+
</g>
|
|
356
|
+
<g tabindex="-1" id="recharts-zindex-1100-:rd:">
|
|
357
|
+
</g>
|
|
358
|
+
<g tabindex="-1" id="recharts-zindex-1200-:re:">
|
|
359
|
+
</g>
|
|
360
|
+
<g tabindex="-1" id="recharts-zindex-2000-:rf:">
|
|
361
|
+
<g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
|
|
362
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
363
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="70.41927083333333" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
364
|
+
<tspan x="70.41927083333333" dy="0.71em">Page A</tspan>
|
|
365
|
+
</text>
|
|
366
|
+
</g>
|
|
367
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
368
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="121.25781249999999" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
369
|
+
<tspan x="121.25781249999999" dy="0.71em">Page B</tspan>
|
|
370
|
+
</text>
|
|
371
|
+
</g>
|
|
372
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
373
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="172.09635416666666" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
374
|
+
<tspan x="172.09635416666666" dy="0.71em">Page C</tspan>
|
|
375
|
+
</text>
|
|
376
|
+
</g>
|
|
377
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
378
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="222.93489583333334" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
379
|
+
<tspan x="222.93489583333334" dy="0.71em">Page D</tspan>
|
|
380
|
+
</text>
|
|
381
|
+
</g>
|
|
382
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
383
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="273.7734375" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
384
|
+
<tspan x="273.7734375" dy="0.71em">Page E</tspan>
|
|
385
|
+
</text>
|
|
386
|
+
</g>
|
|
387
|
+
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
388
|
+
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="324.61197916666663" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
389
|
+
<tspan x="324.61197916666663" dy="0.71em">Page F</tspan>
|
|
390
|
+
</text>
|
|
391
|
+
</g>
|
|
392
|
+
</g>
|
|
393
|
+
</g>
|
|
394
|
+
</svg>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
</div>
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
#### Props: ComposedChart
|
|
402
|
+
|
|
403
|
+
### ComposedChart
|
|
404
|
+
|
|
405
|
+
| Name | Type | Default | Description |
|
|
406
|
+
| --- | --- | --- | --- |
|
|
407
|
+
| width | Number | — | The width of chart container. |
|
|
408
|
+
| height | Number | — | The height of chart container. |
|
|
409
|
+
| data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
|
|
410
|
+
| dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
|
|
411
|
+
| dataUnit | string | — | The unit of data displayed in the chart. |
|
|
412
|
+
| showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
|
|
413
|
+
| showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
|
|
414
|
+
| showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
|
|
415
|
+
| xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
|
|
416
|
+
| yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
|
|
417
|
+
| additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
|
|
418
|
+
| gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
|
|
419
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
420
|
+
| brush | Boolean | false | Defines whether or not the brush component shall be used. |
|
|
421
|
+
| areas | Array of Area | [] | Renders the provided Area components. |
|
|
422
|
+
| lines | Array of Line | [] | Renders the provided Line components. |
|
|
423
|
+
| bars | Array of Bar | [] | Renders the provided Bar components. |
|
|
424
|
+
| ... | | — | Additional props are passed to the underlying ComposedChart component. Details can be found here: https://recharts.org/en-US/api/ComposedChart |
|