@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,517 @@
|
|
|
1
|
+
# BarList
|
|
2
|
+
|
|
3
|
+
*Category:* Components
|
|
4
|
+
*Section:* Progress
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#components/barList
|
|
6
|
+
*Captured:* 2025-12-12T12:38:33.376Z
|
|
7
|
+
|
|
8
|
+
## BarList
|
|
9
|
+
|
|
10
|
+
### Example: Example 1
|
|
11
|
+
|
|
12
|
+
BarList
|
|
13
|
+
|
|
14
|
+
On-time delivery
|
|
15
|
+
|
|
16
|
+
Warehouse efficiency
|
|
17
|
+
|
|
18
|
+
Truck utilization
|
|
19
|
+
|
|
20
|
+
Freight cost/km
|
|
21
|
+
|
|
22
|
+
Fuel consumption index
|
|
23
|
+
|
|
24
|
+
92%
|
|
25
|
+
|
|
26
|
+
84%
|
|
27
|
+
|
|
28
|
+
78%
|
|
29
|
+
|
|
30
|
+
65%
|
|
31
|
+
|
|
32
|
+
15%
|
|
33
|
+
|
|
34
|
+
BarList reversed
|
|
35
|
+
|
|
36
|
+
On-time delivery
|
|
37
|
+
|
|
38
|
+
Warehouse efficiency
|
|
39
|
+
|
|
40
|
+
Truck utilization
|
|
41
|
+
|
|
42
|
+
Freight cost/km
|
|
43
|
+
|
|
44
|
+
Fuel consumption index
|
|
45
|
+
|
|
46
|
+
92%
|
|
47
|
+
|
|
48
|
+
84%
|
|
49
|
+
|
|
50
|
+
78%
|
|
51
|
+
|
|
52
|
+
65%
|
|
53
|
+
|
|
54
|
+
15%
|
|
55
|
+
|
|
56
|
+
#### Summary
|
|
57
|
+
|
|
58
|
+
BarList
|
|
59
|
+
|
|
60
|
+
On-time delivery
|
|
61
|
+
|
|
62
|
+
Warehouse efficiency
|
|
63
|
+
|
|
64
|
+
Truck utilization
|
|
65
|
+
|
|
66
|
+
Freight cost/km
|
|
67
|
+
|
|
68
|
+
Fuel consumption index
|
|
69
|
+
|
|
70
|
+
92%
|
|
71
|
+
|
|
72
|
+
84%
|
|
73
|
+
|
|
74
|
+
78%
|
|
75
|
+
|
|
76
|
+
65%
|
|
77
|
+
|
|
78
|
+
15%
|
|
79
|
+
|
|
80
|
+
BarList reversed
|
|
81
|
+
|
|
82
|
+
On-time delivery
|
|
83
|
+
|
|
84
|
+
Warehouse efficiency
|
|
85
|
+
|
|
86
|
+
Truck utilization
|
|
87
|
+
|
|
88
|
+
Freight cost/km
|
|
89
|
+
|
|
90
|
+
Fuel consumption index
|
|
91
|
+
|
|
92
|
+
92%
|
|
93
|
+
|
|
94
|
+
84%
|
|
95
|
+
|
|
96
|
+
78%
|
|
97
|
+
|
|
98
|
+
65%
|
|
99
|
+
|
|
100
|
+
15%
|
|
101
|
+
|
|
102
|
+
#### React (tsx)
|
|
103
|
+
|
|
104
|
+
```tsx
|
|
105
|
+
import BarList from '@rio-cloud/rio-uikit/BarList';
|
|
106
|
+
|
|
107
|
+
export default () => {
|
|
108
|
+
const handleSelect = (item: (typeof transportData)[number]) => {
|
|
109
|
+
console.log(`Clicked on: ${item.name}`);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
return (
|
|
113
|
+
<div className='padding-20-md'>
|
|
114
|
+
<div className='display-flex flex-wrap gap-50'>
|
|
115
|
+
<div className='flex-1-1 border rounded padding-15 padding-bottom-20 bg-white'>
|
|
116
|
+
<div className='text-size-16 text-medium margin-bottom-15'>BarList</div>
|
|
117
|
+
<BarList
|
|
118
|
+
data={transportData}
|
|
119
|
+
valueFormatter={value => `${value}%`}
|
|
120
|
+
onSelectRow={handleSelect}
|
|
121
|
+
referenceValue={100}
|
|
122
|
+
showAnimation
|
|
123
|
+
/>
|
|
124
|
+
</div>
|
|
125
|
+
<div className='flex-1-1 border rounded padding-15 padding-bottom-20 bg-white'>
|
|
126
|
+
<div className='text-size-16 text-medium margin-bottom-15'>BarList reversed</div>
|
|
127
|
+
<BarList
|
|
128
|
+
data={transportData}
|
|
129
|
+
valueFormatter={value => <span className='text-medium'>{value}%</span>}
|
|
130
|
+
onSelectRow={handleSelect}
|
|
131
|
+
referenceValue={100}
|
|
132
|
+
showAnimation
|
|
133
|
+
className='flex-row-reverse gap-10'
|
|
134
|
+
/>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
const transportData = [
|
|
142
|
+
{
|
|
143
|
+
key: 'truck_utilization',
|
|
144
|
+
name: 'Truck utilization',
|
|
145
|
+
value: 78,
|
|
146
|
+
href: 'https://example.com/metrics/truck-utilization',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: 'on_time_delivery',
|
|
150
|
+
name: 'On-time delivery',
|
|
151
|
+
value: 92,
|
|
152
|
+
href: 'https://example.com/metrics/on-time-delivery',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: 'freight_cost_per_km',
|
|
156
|
+
name: 'Freight cost/km',
|
|
157
|
+
value: 65,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
key: 'warehouse_efficiency',
|
|
161
|
+
name: 'Warehouse efficiency',
|
|
162
|
+
value: 84,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: 'fuel_consumption',
|
|
166
|
+
name: 'Fuel consumption index',
|
|
167
|
+
value: 15,
|
|
168
|
+
href: 'https://example.com/metrics/fuel-consumption',
|
|
169
|
+
},
|
|
170
|
+
];
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
#### HTML (html)
|
|
174
|
+
|
|
175
|
+
```html
|
|
176
|
+
<div class="padding-20-md">
|
|
177
|
+
<div class="display-flex flex-wrap gap-50">
|
|
178
|
+
<div class="flex-1-1 border rounded padding-15 padding-bottom-20 bg-white">
|
|
179
|
+
<div class="text-size-16 text-medium margin-bottom-15">BarList</div>
|
|
180
|
+
<div class="display-flex justify-content-between gap-15">
|
|
181
|
+
<div class="width-100pct space-y-5">
|
|
182
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
183
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 50.5418%;">
|
|
184
|
+
</div>
|
|
185
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
186
|
+
<a href="https://example.com/metrics/on-time-delivery" class="text-color-darker" target="_blank" rel="noreferrer">On-time delivery</a>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
190
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 32.6269%;">
|
|
191
|
+
</div>
|
|
192
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
193
|
+
<div class="text-color-darker">Warehouse efficiency</div>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
197
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 16.3751%;">
|
|
198
|
+
</div>
|
|
199
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
200
|
+
<a href="https://example.com/metrics/truck-utilization" class="text-color-darker" target="_blank" rel="noreferrer">Truck utilization</a>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
204
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 0.82775%;">
|
|
205
|
+
</div>
|
|
206
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
207
|
+
<div class="text-color-darker">Freight cost/km</div>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
211
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 0%;">
|
|
212
|
+
</div>
|
|
213
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
214
|
+
<a href="https://example.com/metrics/fuel-consumption" class="text-color-darker" target="_blank" rel="noreferrer">Fuel consumption index</a>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="space-y-5">
|
|
219
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
220
|
+
<div class="text-color-darkest">92%</div>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
223
|
+
<div class="text-color-darkest">84%</div>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
226
|
+
<div class="text-color-darkest">78%</div>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
229
|
+
<div class="text-color-darkest">65%</div>
|
|
230
|
+
</div>
|
|
231
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
232
|
+
<div class="text-color-darkest">15%</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
<div class="flex-1-1 border rounded padding-15 padding-bottom-20 bg-white">
|
|
238
|
+
<div class="text-size-16 text-medium margin-bottom-15">BarList reversed</div>
|
|
239
|
+
<div class="display-flex justify-content-between gap-15 flex-row-reverse gap-10">
|
|
240
|
+
<div class="width-100pct space-y-5">
|
|
241
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
242
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 50.5418%;">
|
|
243
|
+
</div>
|
|
244
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
245
|
+
<a href="https://example.com/metrics/on-time-delivery" class="text-color-darker" target="_blank" rel="noreferrer">On-time delivery</a>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
249
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 32.6269%;">
|
|
250
|
+
</div>
|
|
251
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
252
|
+
<div class="text-color-darker">Warehouse efficiency</div>
|
|
253
|
+
</div>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
256
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 16.3751%;">
|
|
257
|
+
</div>
|
|
258
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
259
|
+
<a href="https://example.com/metrics/truck-utilization" class="text-color-darker" target="_blank" rel="noreferrer">Truck utilization</a>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
263
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 0.82775%;">
|
|
264
|
+
</div>
|
|
265
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
266
|
+
<div class="text-color-darker">Freight cost/km</div>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-transparent cursor-pointer">
|
|
270
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-highlight-light" role="presentation" style="height: 25px; opacity: 0.5; width: 0%;">
|
|
271
|
+
</div>
|
|
272
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
273
|
+
<a href="https://example.com/metrics/fuel-consumption" class="text-color-darker" target="_blank" rel="noreferrer">Fuel consumption index</a>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
<div class="space-y-5">
|
|
278
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
279
|
+
<div class="text-color-darkest">
|
|
280
|
+
<span class="text-medium">92%</span>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
284
|
+
<div class="text-color-darkest">
|
|
285
|
+
<span class="text-medium">84%</span>
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
289
|
+
<div class="text-color-darkest">
|
|
290
|
+
<span class="text-medium">78%</span>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
294
|
+
<div class="text-color-darkest">
|
|
295
|
+
<span class="text-medium">65%</span>
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
299
|
+
<div class="text-color-darkest">
|
|
300
|
+
<span class="text-medium">15%</span>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
#### Props
|
|
311
|
+
|
|
312
|
+
| Name | Type | Default | Description |
|
|
313
|
+
| --- | --- | --- | --- |
|
|
314
|
+
| data | BarListRow<T>[] | — | Array of bar row data to be rendered. |
|
|
315
|
+
| valueFormatter | (value: number) => string \| React.ReactElement | — | Optional function to format the numeric value displayed on the right side of each bar. |
|
|
316
|
+
| referenceValue | number | max(data.value) | A reference value used to calculate relative widths. If not provided, the maximum value in the data array will be used. |
|
|
317
|
+
| showAnimation | boolean | false | Whether to animate the bar width transitions using Framer Motion. |
|
|
318
|
+
| onSelectRow | (payload: BarListRow<T>) => void | — | Callback fired when a bar is clicked. Receives the full data object of the selected bar. |
|
|
319
|
+
| sortOrder | 'asc' \| 'desc' \| 'none' | 'none' | The sort order for the bars. |
|
|
320
|
+
| rowHeight | number | 32 | Height of each bar row in pixels. |
|
|
321
|
+
| opacity | number | 0.5 | Opacity applied to non-hovered bars. Value should be between 0 and 1. |
|
|
322
|
+
| barColor | string | 'bg-highlight-light' | CSS class or color string used for the active/progress portion of each bar. |
|
|
323
|
+
| labelColor | string | 'text-color-darker' | CSS class or color string used for the text labels. |
|
|
324
|
+
| background | string | 'bg-transparent' | CSS class or color string used for the bar background. |
|
|
325
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
326
|
+
|
|
327
|
+
### Example: 95
|
|
328
|
+
|
|
329
|
+
Damaged packages
|
|
330
|
+
|
|
331
|
+
Returned packages
|
|
332
|
+
|
|
333
|
+
In transit
|
|
334
|
+
|
|
335
|
+
Stored in warehouse
|
|
336
|
+
|
|
337
|
+
Shipped packages
|
|
338
|
+
|
|
339
|
+
95
|
|
340
|
+
|
|
341
|
+
320
|
|
342
|
+
|
|
343
|
+
1200
|
|
344
|
+
|
|
345
|
+
4200
|
|
346
|
+
|
|
347
|
+
8500
|
|
348
|
+
|
|
349
|
+
#### Summary
|
|
350
|
+
|
|
351
|
+
Damaged packages
|
|
352
|
+
|
|
353
|
+
Returned packages
|
|
354
|
+
|
|
355
|
+
In transit
|
|
356
|
+
|
|
357
|
+
Stored in warehouse
|
|
358
|
+
|
|
359
|
+
Shipped packages
|
|
360
|
+
|
|
361
|
+
95
|
|
362
|
+
|
|
363
|
+
320
|
|
364
|
+
|
|
365
|
+
1200
|
|
366
|
+
|
|
367
|
+
4200
|
|
368
|
+
|
|
369
|
+
8500
|
|
370
|
+
|
|
371
|
+
#### React (tsx)
|
|
372
|
+
|
|
373
|
+
```tsx
|
|
374
|
+
import BarList from '@rio-cloud/rio-uikit/BarList';
|
|
375
|
+
|
|
376
|
+
export default () => {
|
|
377
|
+
const handleSelect = (item: (typeof transportData)[number]) => {
|
|
378
|
+
console.log(`Clicked on: ${item.name}`);
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
return (
|
|
382
|
+
<div className='padding-20-md max-width-500'>
|
|
383
|
+
<BarList
|
|
384
|
+
data={transportData}
|
|
385
|
+
valueFormatter={value => <span className='text-color-dark'>{value}</span>}
|
|
386
|
+
onSelectRow={handleSelect}
|
|
387
|
+
showAnimation
|
|
388
|
+
background='bg-lightest'
|
|
389
|
+
color='text-color-darker'
|
|
390
|
+
barColor='bg-coldplay-moos'
|
|
391
|
+
sortOrder='asc'
|
|
392
|
+
/>
|
|
393
|
+
</div>
|
|
394
|
+
);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
const transportData = [
|
|
398
|
+
{
|
|
399
|
+
key: 'shipped',
|
|
400
|
+
name: 'Shipped packages',
|
|
401
|
+
value: 8500,
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
key: 'returned',
|
|
405
|
+
name: 'Returned packages',
|
|
406
|
+
value: 320,
|
|
407
|
+
barColor: 'bg-warmup-corn',
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
key: 'inTransit',
|
|
411
|
+
name: 'In transit',
|
|
412
|
+
value: 1200,
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
key: 'stored',
|
|
416
|
+
name: 'Stored in warehouse',
|
|
417
|
+
value: 4200,
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
key: 'damaged',
|
|
421
|
+
name: 'Damaged packages',
|
|
422
|
+
value: 95,
|
|
423
|
+
color: 'text-color-danger',
|
|
424
|
+
barColor: 'bg-warmup-salmon',
|
|
425
|
+
},
|
|
426
|
+
];
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
#### HTML (html)
|
|
430
|
+
|
|
431
|
+
```html
|
|
432
|
+
<div class="padding-20-md max-width-500">
|
|
433
|
+
<div color="text-color-darker" class="display-flex justify-content-between gap-15">
|
|
434
|
+
<div class="width-100pct space-y-5">
|
|
435
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-lightest cursor-pointer">
|
|
436
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-warmup-salmon" role="presentation" style="height: 25px; opacity: 0.5; width: 2%;">
|
|
437
|
+
</div>
|
|
438
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
439
|
+
<div class="text-color-danger">Damaged packages</div>
|
|
440
|
+
</div>
|
|
441
|
+
</div>
|
|
442
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-lightest cursor-pointer">
|
|
443
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-warmup-corn" role="presentation" style="height: 25px; opacity: 0.5; width: 3.76471%;">
|
|
444
|
+
</div>
|
|
445
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
446
|
+
<div class="text-color-darker">Returned packages</div>
|
|
447
|
+
</div>
|
|
448
|
+
</div>
|
|
449
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-lightest cursor-pointer">
|
|
450
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-coldplay-moos" role="presentation" style="height: 25px; opacity: 0.5; width: 14.1176%;">
|
|
451
|
+
</div>
|
|
452
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
453
|
+
<div class="text-color-darker">In transit</div>
|
|
454
|
+
</div>
|
|
455
|
+
</div>
|
|
456
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-lightest cursor-pointer">
|
|
457
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-coldplay-moos" role="presentation" style="height: 25px; opacity: 0.5; width: 48.2451%;">
|
|
458
|
+
</div>
|
|
459
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
460
|
+
<div class="text-color-darker">Stored in warehouse</div>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
<div class="position-relative width-100pct rounded-small transition-all transition-ease-in-out transition-duration-01 bg-lightest cursor-pointer">
|
|
464
|
+
<div class="display-flex align-items-center rounded-small transition-all transition-ease-in-out transition-duration-01 bg-coldplay-moos" role="presentation" style="height: 25px; opacity: 0.5; width: 91.0597%;">
|
|
465
|
+
</div>
|
|
466
|
+
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
467
|
+
<div class="text-color-darker">Shipped packages</div>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
<div class="space-y-5">
|
|
472
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
473
|
+
<div class="text-color-darkest">
|
|
474
|
+
<span class="text-color-dark">95</span>
|
|
475
|
+
</div>
|
|
476
|
+
</div>
|
|
477
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
478
|
+
<div class="text-color-darkest">
|
|
479
|
+
<span class="text-color-dark">320</span>
|
|
480
|
+
</div>
|
|
481
|
+
</div>
|
|
482
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
483
|
+
<div class="text-color-darkest">
|
|
484
|
+
<span class="text-color-dark">1200</span>
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
488
|
+
<div class="text-color-darkest">
|
|
489
|
+
<span class="text-color-dark">4200</span>
|
|
490
|
+
</div>
|
|
491
|
+
</div>
|
|
492
|
+
<div class="display-flex align-items-center justify-content-end" style="height: 25px;">
|
|
493
|
+
<div class="text-color-darkest">
|
|
494
|
+
<span class="text-color-dark">8500</span>
|
|
495
|
+
</div>
|
|
496
|
+
</div>
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
#### Props
|
|
503
|
+
|
|
504
|
+
| Name | Type | Default | Description |
|
|
505
|
+
| --- | --- | --- | --- |
|
|
506
|
+
| data | BarListRow<T>[] | — | Array of bar row data to be rendered. |
|
|
507
|
+
| valueFormatter | (value: number) => string \| React.ReactElement | — | Optional function to format the numeric value displayed on the right side of each bar. |
|
|
508
|
+
| referenceValue | number | max(data.value) | A reference value used to calculate relative widths. If not provided, the maximum value in the data array will be used. |
|
|
509
|
+
| showAnimation | boolean | false | Whether to animate the bar width transitions using Framer Motion. |
|
|
510
|
+
| onSelectRow | (payload: BarListRow<T>) => void | — | Callback fired when a bar is clicked. Receives the full data object of the selected bar. |
|
|
511
|
+
| sortOrder | 'asc' \| 'desc' \| 'none' | 'none' | The sort order for the bars. |
|
|
512
|
+
| rowHeight | number | 32 | Height of each bar row in pixels. |
|
|
513
|
+
| opacity | number | 0.5 | Opacity applied to non-hovered bars. Value should be between 0 and 1. |
|
|
514
|
+
| barColor | string | 'bg-highlight-light' | CSS class or color string used for the active/progress portion of each bar. |
|
|
515
|
+
| labelColor | string | 'text-color-darker' | CSS class or color string used for the text labels. |
|
|
516
|
+
| background | string | 'bg-transparent' | CSS class or color string used for the bar background. |
|
|
517
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Map
|
|
2
|
+
|
|
3
|
+
*Category:* Components
|
|
4
|
+
*Section:* Map
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#components/basicMap
|
|
6
|
+
*Captured:* 2025-12-12T12:39:13.340Z
|
|
7
|
+
|
|
8
|
+
The following map shows labels for locale de
|
|
9
|
+
|
|
10
|
+
## Map
|
|
11
|
+
|
|
12
|
+
### Example: Example 1
|
|
13
|
+
|
|
14
|
+
Terms of use© 1987–2025 HERE
|
|
15
|
+
|
|
16
|
+
10 km
|
|
17
|
+
|
|
18
|
+
Choose view
|
|
19
|
+
Map view
|
|
20
|
+
Satellite
|
|
21
|
+
|
|
22
|
+
Traffic conditions
|
|
23
|
+
Show traffic incidents
|
|
24
|
+
|
|
25
|
+
#### Summary
|
|
26
|
+
|
|
27
|
+
Terms of use© 1987–2025 HERE
|
|
28
|
+
|
|
29
|
+
10 km
|
|
30
|
+
|
|
31
|
+
Choose view
|
|
32
|
+
Map view
|
|
33
|
+
Satellite
|
|
34
|
+
|
|
35
|
+
Traffic conditions
|
|
36
|
+
Show traffic incidents
|
|
37
|
+
|
|
38
|
+
#### React (tsx)
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import Map from '@rio-cloud/rio-uikit/Map';
|
|
42
|
+
|
|
43
|
+
import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
|
|
44
|
+
|
|
45
|
+
const position = { lat: 48.1351, lng: 11.582 };
|
|
46
|
+
|
|
47
|
+
const MapExample = () => {
|
|
48
|
+
return (
|
|
49
|
+
<div className='height-300'>
|
|
50
|
+
<Map
|
|
51
|
+
credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
|
|
52
|
+
center={position}
|
|
53
|
+
zoom={10}
|
|
54
|
+
hideMapSettings
|
|
55
|
+
/>
|
|
56
|
+
</div>
|
|
57
|
+
);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export default MapExample;
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Map with ScaleBar
|
|
64
|
+
|
|
65
|
+
### Example: Example 2
|
|
66
|
+
|
|
67
|
+
Terms of use© 1987–2025 HERE
|
|
68
|
+
|
|
69
|
+
10 km
|
|
70
|
+
|
|
71
|
+
Choose view
|
|
72
|
+
Map view
|
|
73
|
+
Satellite
|
|
74
|
+
|
|
75
|
+
Traffic conditions
|
|
76
|
+
Show traffic incidents
|
|
77
|
+
|
|
78
|
+
#### Summary
|
|
79
|
+
|
|
80
|
+
Terms of use© 1987–2025 HERE
|
|
81
|
+
|
|
82
|
+
10 km
|
|
83
|
+
|
|
84
|
+
Choose view
|
|
85
|
+
Map view
|
|
86
|
+
Satellite
|
|
87
|
+
|
|
88
|
+
Traffic conditions
|
|
89
|
+
Show traffic incidents
|
|
90
|
+
|
|
91
|
+
#### React (tsx)
|
|
92
|
+
|
|
93
|
+
```tsx
|
|
94
|
+
import Map from '@rio-cloud/rio-uikit/Map';
|
|
95
|
+
import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
|
|
96
|
+
|
|
97
|
+
const position = { lat: 48.1351, lng: 11.582 };
|
|
98
|
+
|
|
99
|
+
const MapWithScaleBarExample = () => {
|
|
100
|
+
return (
|
|
101
|
+
<div className='height-300'>
|
|
102
|
+
<Map
|
|
103
|
+
credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
|
|
104
|
+
center={position}
|
|
105
|
+
zoom={10}
|
|
106
|
+
hideMapSettings
|
|
107
|
+
showScaleBar
|
|
108
|
+
/>
|
|
109
|
+
</div>
|
|
110
|
+
);
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export default MapWithScaleBarExample;
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Map localization
|
|
117
|
+
|
|
118
|
+
### Example: Example 3
|
|
119
|
+
|
|
120
|
+
Terms of use© 1987–2025 HERE
|
|
121
|
+
|
|
122
|
+
10 km
|
|
123
|
+
|
|
124
|
+
Ansicht auswählen
|
|
125
|
+
Kartenansicht
|
|
126
|
+
Satellit
|
|
127
|
+
|
|
128
|
+
Verkehrslage
|
|
129
|
+
Verkehrsstörungen anzeigen
|
|
130
|
+
|
|
131
|
+
#### Summary
|
|
132
|
+
|
|
133
|
+
Terms of use© 1987–2025 HERE
|
|
134
|
+
|
|
135
|
+
10 km
|
|
136
|
+
|
|
137
|
+
Ansicht auswählen
|
|
138
|
+
Kartenansicht
|
|
139
|
+
Satellit
|
|
140
|
+
|
|
141
|
+
Verkehrslage
|
|
142
|
+
Verkehrsstörungen anzeigen
|
|
143
|
+
|
|
144
|
+
#### React (tsx)
|
|
145
|
+
|
|
146
|
+
```tsx
|
|
147
|
+
import Map from '@rio-cloud/rio-uikit/Map';
|
|
148
|
+
import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
|
|
149
|
+
|
|
150
|
+
const position = { lat: 48.1351, lng: 11.582 };
|
|
151
|
+
|
|
152
|
+
const MapLocalizationExample = () => {
|
|
153
|
+
return (
|
|
154
|
+
<div className='height-300'>
|
|
155
|
+
<Map
|
|
156
|
+
credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
|
|
157
|
+
language='de'
|
|
158
|
+
center={position}
|
|
159
|
+
zoom={10}
|
|
160
|
+
hideMapSettings
|
|
161
|
+
/>
|
|
162
|
+
</div>
|
|
163
|
+
);
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export default MapLocalizationExample;
|
|
167
|
+
```
|