@rio-cloud/uikit-mcp 1.0.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/LICENSE +202 -0
- package/README.md +91 -0
- package/bin/uikit-mcp.mjs +23 -0
- package/data/pages/Components/components/accentbar.json +207 -0
- package/data/pages/Components/components/activity.json +87 -0
- package/data/pages/Components/components/animatednumber.json +99 -0
- package/data/pages/Components/components/animations.json +87 -0
- package/data/pages/Components/components/appheader.json +291 -0
- package/data/pages/Components/components/applayout.json +1198 -0
- package/data/pages/Components/components/appnavigationbar.json +327 -0
- package/data/pages/Components/components/areacharts.json +563 -0
- package/data/pages/Components/components/aspectratioplaceholder.json +75 -0
- package/data/pages/Components/components/assettree.json +3080 -0
- package/data/pages/Components/components/autosuggests.json +710 -0
- package/data/pages/Components/components/avatar.json +157 -0
- package/data/pages/Components/components/banner.json +599 -0
- package/data/pages/Components/components/barcharts.json +1507 -0
- package/data/pages/Components/components/barlist.json +223 -0
- package/data/pages/Components/components/basicmap.json +68 -0
- package/data/pages/Components/components/bottomsheet.json +601 -0
- package/data/pages/Components/components/button.json +583 -0
- package/data/pages/Components/components/buttontoolbar.json +63 -0
- package/data/pages/Components/components/calendarstripe.json +235 -0
- package/data/pages/Components/components/card.json +69 -0
- package/data/pages/Components/components/carousel.json +39 -0
- package/data/pages/Components/components/chartcolors.json +34 -0
- package/data/pages/Components/components/chartsgettingstarted.json +32 -0
- package/data/pages/Components/components/chat.json +39 -0
- package/data/pages/Components/components/checkbox.json +847 -0
- package/data/pages/Components/components/clearableinput.json +789 -0
- package/data/pages/Components/components/collapse.json +175 -0
- package/data/pages/Components/components/composedcharts.json +159 -0
- package/data/pages/Components/components/contentloader.json +233 -0
- package/data/pages/Components/components/datatabs.json +680 -0
- package/data/pages/Components/components/datepickers.json +287 -0
- package/data/pages/Components/components/dialogs.json +1492 -0
- package/data/pages/Components/components/divider.json +93 -0
- package/data/pages/Components/components/dropdowns.json +936 -0
- package/data/pages/Components/components/editablecontent.json +1117 -0
- package/data/pages/Components/components/expander.json +377 -0
- package/data/pages/Components/components/fade.json +403 -0
- package/data/pages/Components/components/fadeexpander.json +75 -0
- package/data/pages/Components/components/fadeup.json +127 -0
- package/data/pages/Components/components/feedback.json +269 -0
- package/data/pages/Components/components/filepickers.json +269 -0
- package/data/pages/Components/components/formlabel.json +115 -0
- package/data/pages/Components/components/fullscreenmap.json +22 -0
- package/data/pages/Components/components/groupeditemlist.json +323 -0
- package/data/pages/Components/components/iconlist.json +45 -0
- package/data/pages/Components/components/imagepreloader.json +81 -0
- package/data/pages/Components/components/labeledelement.json +75 -0
- package/data/pages/Components/components/licenseplate.json +69 -0
- package/data/pages/Components/components/linecharts.json +987 -0
- package/data/pages/Components/components/listmenu.json +313 -0
- package/data/pages/Components/components/loadmore.json +175 -0
- package/data/pages/Components/components/mainnavigation.json +39 -0
- package/data/pages/Components/components/mapcircle.json +34 -0
- package/data/pages/Components/components/mapcluster.json +51 -0
- package/data/pages/Components/components/mapcontext.json +105 -0
- package/data/pages/Components/components/mapdraggablemarker.json +34 -0
- package/data/pages/Components/components/mapgettingstarted.json +27 -0
- package/data/pages/Components/components/mapgroup.json +1198 -0
- package/data/pages/Components/components/mapinfobubble.json +34 -0
- package/data/pages/Components/components/maplayergroup.json +34 -0
- package/data/pages/Components/components/mapmarker.json +700 -0
- package/data/pages/Components/components/mappolygon.json +45 -0
- package/data/pages/Components/components/maproute.json +623 -0
- package/data/pages/Components/components/maproutegenerator.json +16 -0
- package/data/pages/Components/components/mapsettings.json +51 -0
- package/data/pages/Components/components/maputils.json +34 -0
- package/data/pages/Components/components/multiselects.json +1451 -0
- package/data/pages/Components/components/nodata.json +139 -0
- package/data/pages/Components/components/notifications.json +65 -0
- package/data/pages/Components/components/numbercontrol.json +301 -0
- package/data/pages/Components/components/onboarding.json +302 -0
- package/data/pages/Components/components/page.json +197 -0
- package/data/pages/Components/components/pager.json +93 -0
- package/data/pages/Components/components/piecharts.json +731 -0
- package/data/pages/Components/components/popover.json +251 -0
- package/data/pages/Components/components/position.json +69 -0
- package/data/pages/Components/components/radialbarcharts.json +1304 -0
- package/data/pages/Components/components/radiobutton.json +1105 -0
- package/data/pages/Components/components/releasenotes.json +44 -0
- package/data/pages/Components/components/resizer.json +93 -0
- package/data/pages/Components/components/responsivecolumnstripe.json +123 -0
- package/data/pages/Components/components/responsivevideo.json +75 -0
- package/data/pages/Components/components/rioglyph.json +93 -0
- package/data/pages/Components/components/rules.json +410 -0
- package/data/pages/Components/components/saveableinput.json +703 -0
- package/data/pages/Components/components/selects.json +701 -0
- package/data/pages/Components/components/sidebar.json +243 -0
- package/data/pages/Components/components/sliders.json +235 -0
- package/data/pages/Components/components/smoothscrollbars.json +335 -0
- package/data/pages/Components/components/spinners.json +343 -0
- package/data/pages/Components/components/states.json +1705 -0
- package/data/pages/Components/components/statswidgets.json +314 -0
- package/data/pages/Components/components/statusbar.json +177 -0
- package/data/pages/Components/components/stepbutton.json +57 -0
- package/data/pages/Components/components/steppedprogressbars.json +417 -0
- package/data/pages/Components/components/subnavigation.json +107 -0
- package/data/pages/Components/components/supportmarker.json +45 -0
- package/data/pages/Components/components/svgimage.json +81 -0
- package/data/pages/Components/components/switch.json +111 -0
- package/data/pages/Components/components/tables.json +144 -0
- package/data/pages/Components/components/tagmanager.json +86 -0
- package/data/pages/Components/components/tags.json +146 -0
- package/data/pages/Components/components/teaser.json +188 -0
- package/data/pages/Components/components/timeline.json +45 -0
- package/data/pages/Components/components/timepicker.json +163 -0
- package/data/pages/Components/components/togglebutton.json +247 -0
- package/data/pages/Components/components/tooltip.json +270 -0
- package/data/pages/Components/components/virtuallist.json +175 -0
- package/data/pages/Foundations/foundations.json +2475 -0
- package/data/pages/Getting-started/start/changelog.json +22 -0
- package/data/pages/Getting-started/start/goodtoknow.json +32 -0
- package/data/pages/Getting-started/start/guidelines/color-combinations.json +58 -0
- package/data/pages/Getting-started/start/guidelines/custom-css.json +27 -0
- package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +22 -0
- package/data/pages/Getting-started/start/guidelines/formatting.json +97 -0
- package/data/pages/Getting-started/start/guidelines/iframe.json +93 -0
- package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +22 -0
- package/data/pages/Getting-started/start/guidelines/print-css.json +37 -0
- package/data/pages/Getting-started/start/guidelines/spinner.json +144 -0
- package/data/pages/Getting-started/start/guidelines/supported-browsers.json +22 -0
- package/data/pages/Getting-started/start/guidelines/writing.json +242 -0
- package/data/pages/Getting-started/start/howto.json +72 -0
- package/data/pages/Getting-started/start/intro.json +37 -0
- package/data/pages/Getting-started/start/responsiveness.json +52 -0
- package/data/pages/Templates/templates/common-table.json +39 -0
- package/data/pages/Templates/templates/detail-views.json +71 -0
- package/data/pages/Templates/templates/expandable-details.json +39 -0
- package/data/pages/Templates/templates/feature-cards.json +103 -0
- package/data/pages/Templates/templates/form-summary.json +39 -0
- package/data/pages/Templates/templates/form-toggle.json +39 -0
- package/data/pages/Templates/templates/list-blocks.json +119 -0
- package/data/pages/Templates/templates/loading-progress.json +39 -0
- package/data/pages/Templates/templates/options-panel.json +39 -0
- package/data/pages/Templates/templates/panel-variants.json +39 -0
- package/data/pages/Templates/templates/progress-cards.json +71 -0
- package/data/pages/Templates/templates/progress-success.json +39 -0
- package/data/pages/Templates/templates/settings-form.json +39 -0
- package/data/pages/Templates/templates/stats-blocks.json +135 -0
- package/data/pages/Templates/templates/table-panel.json +39 -0
- package/data/pages/Templates/templates/table-row-animation.json +39 -0
- package/data/pages/Templates/templates/usage-cards.json +39 -0
- package/data/pages/Utilities/utilities/deviceutils.json +39 -0
- package/data/pages/Utilities/utilities/featuretoggles.json +42 -0
- package/data/pages/Utilities/utilities/fueltypeutils.json +118 -0
- package/data/pages/Utilities/utilities/routeutils.json +34 -0
- package/data/pages/Utilities/utilities/useaftermount.json +63 -0
- package/data/pages/Utilities/utilities/useaverage.json +86 -0
- package/data/pages/Utilities/utilities/useclickoutside.json +69 -0
- package/data/pages/Utilities/utilities/useclipboard.json +57 -0
- package/data/pages/Utilities/utilities/usecount.json +92 -0
- package/data/pages/Utilities/utilities/usedarkmode.json +50 -0
- package/data/pages/Utilities/utilities/usedebuginfo.json +63 -0
- package/data/pages/Utilities/utilities/useeffectonce.json +57 -0
- package/data/pages/Utilities/utilities/useelapsedtime.json +57 -0
- package/data/pages/Utilities/utilities/useelementsize.json +63 -0
- package/data/pages/Utilities/utilities/useesc.json +57 -0
- package/data/pages/Utilities/utilities/useevent.json +75 -0
- package/data/pages/Utilities/utilities/usefocustrap.json +57 -0
- package/data/pages/Utilities/utilities/usefullscreen.json +197 -0
- package/data/pages/Utilities/utilities/usehover.json +57 -0
- package/data/pages/Utilities/utilities/useinterval.json +63 -0
- package/data/pages/Utilities/utilities/useisfocuswithin.json +75 -0
- package/data/pages/Utilities/utilities/usekey.json +75 -0
- package/data/pages/Utilities/utilities/uselocalstorage.json +69 -0
- package/data/pages/Utilities/utilities/uselocationsuggestions.json +110 -0
- package/data/pages/Utilities/utilities/usemax.json +86 -0
- package/data/pages/Utilities/utilities/usemin.json +86 -0
- package/data/pages/Utilities/utilities/usemutationobserver.json +69 -0
- package/data/pages/Utilities/utilities/useonlinestatus.json +39 -0
- package/data/pages/Utilities/utilities/useonscreen.json +63 -0
- package/data/pages/Utilities/utilities/usepostmessage.json +80 -0
- package/data/pages/Utilities/utilities/useprevious.json +63 -0
- package/data/pages/Utilities/utilities/useresizeobserver.json +65 -0
- package/data/pages/Utilities/utilities/usescrollposition.json +103 -0
- package/data/pages/Utilities/utilities/usesearch.json +197 -0
- package/data/pages/Utilities/utilities/usesorting.json +139 -0
- package/data/pages/Utilities/utilities/usestatewithvalidation.json +69 -0
- package/data/pages/Utilities/utilities/usesum.json +86 -0
- package/data/pages/Utilities/utilities/usetableexport.json +87 -0
- package/data/pages/Utilities/utilities/usetableselection.json +311 -0
- package/data/pages/Utilities/utilities/usetimeout.json +63 -0
- package/data/pages/Utilities/utilities/usetoggle.json +75 -0
- package/data/pages/Utilities/utilities/usewindowresize.json +63 -0
- package/data/version.json +4 -0
- package/docs/content-schema.md +147 -0
- package/docs/navigation-inventory.json +1310 -0
- package/docs/search-synonyms.json +43 -0
- package/package.json +38 -0
- package/server/index.mjs +268 -0
- package/server/lib/load-docs.mjs +48 -0
- package/server/lib/normalise-doc.mjs +220 -0
- package/server/lib/render-markdown.mjs +82 -0
- package/server/lib/search-index.mjs +49 -0
- package/server/lib/types.js +99 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"captured_at": "2025-11-21T12:07:30.727Z",
|
|
4
|
+
"source": "https://uikit.developers.rio.cloud/#components/statusBar",
|
|
5
|
+
"category": "Components",
|
|
6
|
+
"section": "Progress",
|
|
7
|
+
"slug": "components/statusbar",
|
|
8
|
+
"version": "v1.13.2",
|
|
9
|
+
"hash_algorithm": "sha256",
|
|
10
|
+
"hash": "73a27502251492d9be9c45718fac453e55e4ce58726af193f36a2dfacce170de"
|
|
11
|
+
},
|
|
12
|
+
"title": "StatusBar",
|
|
13
|
+
"lead": "Flexible component to showcase various states based on progress bars.",
|
|
14
|
+
"content": [
|
|
15
|
+
{
|
|
16
|
+
"heading": "StatusBar",
|
|
17
|
+
"body": "Usage: Use these components only on light backgrounds and limit the width of the wrapping element to avoid extreme long progress bars.",
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"caption": "Example 1",
|
|
21
|
+
"rendered_html": "<div class=\"playground-content bg-white padding-20 padding-bottom-25\" style=\"width: 100%;\"><div><div class=\"row\"><div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V1</div><div class=\"text-size-14 margin-left-10-md\">Top label with icon left</div></div><div class=\"StatusBar width-100pct display-flex align-items-end MyProgress\"><div class=\"flex-order-1 margin-right-5\"><span class=\"rioglyph rioglyph-status-resting text-color-status-resting text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-1 flex-column margin-bottom-10\"><div class=\"display-flex justify-content-center\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-resting width-0 text-size-16 text-bold\">42 min resting</span></div><div class=\"display-flex flex-1-0\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-resting progress-divider\" style=\"width: 30%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 70%;\"></div></div></div></div></div></div><div class=\"col-sm-6\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V2</div><div class=\"text-size-14 margin-left-10-md\">Top label with icon right</div></div><div class=\"StatusBar width-100pct display-flex align-items-end\"><div class=\"flex-order-2 margin-left-5\"><span class=\"rioglyph rioglyph-status-resting text-color-status-resting text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-1 flex-column margin-bottom-10\"><div class=\"display-flex justify-content-center\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-resting width-0 text-size-16 text-bold\">42 min resting</span></div><div class=\"display-flex flex-1-0\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-resting progress-divider\" style=\"width: 30%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 70%;\"></div></div></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"row\"><div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V3</div><div class=\"text-size-14 margin-left-10-md\">Split whith icon left and label right</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-1 margin-right-5\"><span class=\"rioglyph rioglyph-status-driving text-color-status-driving text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-2 align-items-center\"><div class=\"flex-order-2 margin-left-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-driving text-size-16 text-bold\">1:45 h</span></div><div class=\"display-flex flex-1-0 flex-order-1\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-driving progress-divider\" style=\"width: 85%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 15%;\"></div></div></div></div></div></div><div class=\"col-sm-6\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V4</div><div class=\"text-size-14 margin-left-10-md\">Split whith icon right and label left</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-2 margin-left-5\"><span class=\"rioglyph rioglyph-status-driving text-color-status-driving text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-1 align-items-center\"><div class=\"flex-order-1 margin-right-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-driving text-size-16 text-bold\">1:45 h</span></div><div class=\"display-flex flex-1-0 flex-order-2\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-driving progress-divider\" style=\"width: 85%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 15%;\"></div></div></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"row\"><div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V5</div><div class=\"text-size-14 margin-left-10-md\">Both icon and label left</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-1 margin-right-5\"><span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-2 align-items-center\"><div class=\"flex-order-1 margin-right-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-16 text-bold\">13 min</span></div><div class=\"display-flex flex-1-0 flex-order-2\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-working progress-divider\" style=\"width: 15%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 85%;\"></div></div></div></div></div></div><div class=\"col-sm-6\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V6</div><div class=\"text-size-14 margin-left-10-md\">Both icon and label right</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-2 margin-left-5\"><span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h3\"></span></div><div class=\"display-flex flex-1-0 flex-order-1 align-items-center\"><div class=\"flex-order-2 margin-left-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-16 text-bold\">13 min</span></div><div class=\"display-flex flex-1-0 flex-order-1\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-working progress-divider\" style=\"width: 15%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 85%;\"></div></div></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"row\"><div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V7</div><div class=\"text-size-14 margin-left-10-md\">Label left</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"display-flex flex-1-0 align-items-center\"><div class=\"flex-order-1 margin-right-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-available text-size-16 text-bold\">42 min</span></div><div class=\"display-flex flex-1-0 flex-order-2\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-available progress-divider\" style=\"width: 55%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 45%;\"></div></div></div></div></div></div><div class=\"col-sm-6\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V8</div><div class=\"text-size-14 margin-left-10-md\">Thin label right</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"display-flex flex-1-0 align-items-center\"><div class=\"flex-order-2 margin-left-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-available text-size-16\">42 min</span></div><div class=\"display-flex flex-1-0 flex-order-1\"><div class=\"progress margin-0 flex-1-0 height-5\"><div class=\"progress-bar progress-bar-status-available progress-divider\" style=\"width: 55%;\"></div><div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 45%;\"></div></div></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"row\"><div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V9</div><div class=\"text-size-14 margin-left-10-md\">Large progress with large icon left</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-1 margin-right-5\"><span class=\"rioglyph rioglyph-user-sign text-color-darker text-size-h2\"></span></div><div class=\"display-flex flex-1-0 flex-order-2 align-items-center\"><div class=\"display-flex flex-1-0\"><div class=\"progress margin-0 flex-1-0 height-10\"><div class=\"progress-bar progress-bar-rating-1 progress-divider\" style=\"width: 15%;\"></div><div class=\"progress-bar progress-bar-rating-2 progress-divider\" style=\"width: 25%;\"></div><div class=\"progress-bar progress-bar-rating-3 progress-divider\" style=\"width: 20%;\"></div><div class=\"progress-bar progress-bar-rating-4 progress-divider\" style=\"width: 30%;\"></div><div class=\"progress-bar progress-bar-rating-5 progress-divider\" style=\"width: 10%;\"></div></div></div></div></div></div><div class=\"col-sm-6\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V10</div><div class=\"text-size-14 margin-left-10-md\">Large progress with large icon right</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-2 margin-left-5\"><span class=\"rioglyph rioglyph-user-sign text-color-darker text-size-h2\"></span></div><div class=\"display-flex flex-1-0 flex-order-1 align-items-center\"><div class=\"display-flex flex-1-0\"><div class=\"progress margin-0 flex-1-0 height-10\"><div class=\"progress-bar progress-bar-rating-1 progress-divider\" style=\"width: 15%;\"></div><div class=\"progress-bar progress-bar-rating-2 progress-divider\" style=\"width: 25%;\"></div><div class=\"progress-bar progress-bar-rating-3 progress-divider\" style=\"width: 20%;\"></div><div class=\"progress-bar progress-bar-rating-4 progress-divider\" style=\"width: 30%;\"></div><div class=\"progress-bar progress-bar-rating-5 progress-divider\" style=\"width: 10%;\"></div></div></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V11</div><div class=\"text-size-14 margin-left-10-md\">Large progress with large icon and label</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"flex-order-1 margin-right-5\"><span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h2\"></span></div><div class=\"display-flex flex-1-0 flex-order-2 align-items-center\"><div class=\"flex-order-2 margin-left-10\"><span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-h3 text-bold\">44%</span></div><div class=\"display-flex flex-1-0 flex-order-1\"><div class=\"progress margin-0 flex-1-0 height-10\"><div class=\"progress-bar progress-bar-status-working\" style=\"width: 44%;\"></div></div></div></div></div><hr class=\"margin-top-25 margin-bottom-25\"><div class=\"display-flex-md align-items-baseline margin-bottom-10\"><div class=\"text-size-16\">V12</div><div class=\"text-size-14 margin-left-10-md\">Large progress only</div></div><div class=\"StatusBar width-100pct display-flex align-items-center\"><div class=\"display-flex flex-1-0\"><div class=\"display-flex flex-1-0\"><div class=\"progress margin-0 flex-1-0 height-10\"><div class=\"progress-bar progress-bar-info progress-divider\" style=\"width: 25%;\"></div></div></div></div></div></div></div>",
|
|
22
|
+
"tabs": [
|
|
23
|
+
{
|
|
24
|
+
"label": "React",
|
|
25
|
+
"language": "tsx",
|
|
26
|
+
"code": "import React from 'react';\n\nimport StatusBar from '@rio-cloud/rio-uikit/StatusBar';\n\nconst Headline = ({ headline, description }: { headline: string; description: string }) => (\n <div className='display-flex-md align-items-baseline margin-bottom-10'>\n <div className='text-size-16'>{headline}</div>\n <div className='text-size-14 margin-left-10-md'>{description}</div>\n </div>\n);\n\nexport default () => (\n <div>\n <div className='row'>\n <div className='col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs'>\n <Headline headline='V1' description='Top label with icon left' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-resting', color: 'text-color-status-resting' }}\n label={{ value: '42 min resting', alignment: 'top', color: 'text-color-status-resting' }}\n progress={[\n { percentage: 30, color: 'progress-bar-status-resting', tooltip: <span>30%</span> },\n { percentage: 70, color: 'progress-bar-light', tooltip: <span>70%</span> },\n ]}\n className='MyProgress'\n />\n </div>\n\n <div className='col-sm-6'>\n <Headline headline='V2' description='Top label with icon right' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-resting', alignment: 'right', color: 'text-color-status-resting' }}\n label={{ value: '42 min resting', alignment: 'top', color: 'text-color-status-resting' }}\n progress={[\n { percentage: 30, color: 'progress-bar-status-resting', tooltip: <span>30%</span> },\n { percentage: 70, color: 'progress-bar-light', tooltip: <span>70%</span> },\n ]}\n />\n </div>\n </div>\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <div className='row'>\n <div className='col-sm-6 margin-bottom-20 margin-bottom-0-sm'>\n <Headline headline='V3' description='Split whith icon left and label right' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-driving', color: 'text-color-status-driving' }}\n label={{ value: '1:45 h', color: 'text-color-status-driving' }}\n progress={[\n { percentage: 85, color: 'progress-bar-status-driving', tooltip: <span>85%</span> },\n { percentage: 15, color: 'progress-bar-light', tooltip: <span>15%</span> },\n ]}\n />\n </div>\n\n <div className='col-sm-6'>\n <Headline headline='V4' description='Split whith icon right and label left' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-driving', alignment: 'right', color: 'text-color-status-driving' }}\n label={{ value: '1:45 h', alignment: 'left', color: 'text-color-status-driving' }}\n progress={[\n { percentage: 85, color: 'progress-bar-status-driving', tooltip: <span>85%</span> },\n { percentage: 15, color: 'progress-bar-light', tooltip: <span>15%</span> },\n ]}\n />\n </div>\n </div>\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <div className='row'>\n <div className='col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs'>\n <Headline headline='V5' description='Both icon and label left' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-working', color: 'text-color-status-working' }}\n label={{ value: '13 min', alignment: 'left', color: 'text-color-status-working' }}\n progress={[\n { percentage: 15, color: 'progress-bar-status-working', tooltip: <span>15%</span> },\n { percentage: 85, color: 'progress-bar-light', tooltip: <span>85%</span> },\n ]}\n />\n </div>\n\n <div className='col-sm-6'>\n <Headline headline='V6' description='Both icon and label right' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-working', alignment: 'right', color: 'text-color-status-working' }}\n label={{ value: '13 min', alignment: 'right', color: 'text-color-status-working' }}\n progress={[\n { percentage: 15, color: 'progress-bar-status-working', tooltip: <span>15%</span> },\n { percentage: 85, color: 'progress-bar-light', tooltip: <span>85%</span> },\n ]}\n />\n </div>\n </div>\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <div className='row'>\n <div className='col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs'>\n <Headline headline='V7' description='Label left' />\n\n <StatusBar\n label={{ value: '42 min', alignment: 'left', color: 'text-color-status-available' }}\n progress={[\n { percentage: 55, color: 'progress-bar-status-available', tooltip: <span>55%</span> },\n { percentage: 45, color: 'progress-bar-light', tooltip: <span>45%</span> },\n ]}\n />\n </div>\n\n <div className='col-sm-6'>\n <Headline headline='V8' description='Thin label right' />\n\n <StatusBar\n label={{ value: '42 min', weight: 'light', color: 'text-color-status-available' }}\n progress={[\n { percentage: 55, color: 'progress-bar-status-available', tooltip: <span>55%</span> },\n { percentage: 45, color: 'progress-bar-light', tooltip: <span>45%</span> },\n ]}\n />\n </div>\n </div>\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <div className='row'>\n <div className='col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs'>\n <Headline headline='V9' description='Large progress with large icon left' />\n\n <StatusBar\n icon={{ name: 'rioglyph-user-sign', color: 'text-color-darker' }}\n progress={[\n { percentage: 15, color: 'progress-bar-rating-1' },\n { percentage: 25, color: 'progress-bar-rating-2' },\n { percentage: 20, color: 'progress-bar-rating-3' },\n { percentage: 30, color: 'progress-bar-rating-4' },\n { percentage: 10, color: 'progress-bar-rating-5' },\n ]}\n size='large'\n />\n </div>\n\n <div className='col-sm-6'>\n <Headline headline='V10' description='Large progress with large icon right' />\n\n <StatusBar\n icon={{ name: 'rioglyph-user-sign', color: 'text-color-darker', alignment: 'right' }}\n progress={[\n { percentage: 15, color: 'progress-bar-rating-1' },\n { percentage: 25, color: 'progress-bar-rating-2' },\n { percentage: 20, color: 'progress-bar-rating-3' },\n { percentage: 30, color: 'progress-bar-rating-4' },\n { percentage: 10, color: 'progress-bar-rating-5' },\n ]}\n size='large'\n />\n </div>\n </div>\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <Headline headline='V11' description='Large progress with large icon and label' />\n\n <StatusBar\n icon={{ name: 'rioglyph-status-working', color: 'text-color-status-working' }}\n label={{ value: '44%', color: 'text-color-status-working' }}\n progress={[{ percentage: 44, color: 'progress-bar-status-working', tooltip: <span>44%</span> }]}\n size='large'\n useProgressDivider={false}\n />\n\n <hr className='margin-top-25 margin-bottom-25' />\n\n <Headline headline='V12' description='Large progress only' />\n\n <StatusBar progress={[{ percentage: 25, color: 'progress-bar-info' }]} size='large' />\n </div>\n);"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "HTML",
|
|
30
|
+
"language": "html",
|
|
31
|
+
"code": "<div>\n <div class=\"row\">\n <div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V1</div>\n <div class=\"text-size-14 margin-left-10-md\">Top label with icon left</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-end MyProgress\">\n <div class=\"flex-order-1 margin-right-5\">\n <span class=\"rioglyph rioglyph-status-resting text-color-status-resting text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1 flex-column margin-bottom-10\">\n <div class=\"display-flex justify-content-center\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-resting width-0 text-size-16 text-bold\">42 min resting</span>\n </div>\n <div class=\"display-flex flex-1-0\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-resting progress-divider\" style=\"width: 30%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 70%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-sm-6\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V2</div>\n <div class=\"text-size-14 margin-left-10-md\">Top label with icon right</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-end\">\n <div class=\"flex-order-2 margin-left-5\">\n <span class=\"rioglyph rioglyph-status-resting text-color-status-resting text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1 flex-column margin-bottom-10\">\n <div class=\"display-flex justify-content-center\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-resting width-0 text-size-16 text-bold\">42 min resting</span>\n </div>\n <div class=\"display-flex flex-1-0\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-resting progress-divider\" style=\"width: 30%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 70%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"row\">\n <div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V3</div>\n <div class=\"text-size-14 margin-left-10-md\">Split whith icon left and label right</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-1 margin-right-5\">\n <span class=\"rioglyph rioglyph-status-driving text-color-status-driving text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2 align-items-center\">\n <div class=\"flex-order-2 margin-left-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-driving text-size-16 text-bold\">1:45 h</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-driving progress-divider\" style=\"width: 85%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 15%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-sm-6\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V4</div>\n <div class=\"text-size-14 margin-left-10-md\">Split whith icon right and label left</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-2 margin-left-5\">\n <span class=\"rioglyph rioglyph-status-driving text-color-status-driving text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1 align-items-center\">\n <div class=\"flex-order-1 margin-right-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-driving text-size-16 text-bold\">1:45 h</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-driving progress-divider\" style=\"width: 85%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 15%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"row\">\n <div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V5</div>\n <div class=\"text-size-14 margin-left-10-md\">Both icon and label left</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-1 margin-right-5\">\n <span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2 align-items-center\">\n <div class=\"flex-order-1 margin-right-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-16 text-bold\">13 min</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-working progress-divider\" style=\"width: 15%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 85%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-sm-6\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V6</div>\n <div class=\"text-size-14 margin-left-10-md\">Both icon and label right</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-2 margin-left-5\">\n <span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h3\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1 align-items-center\">\n <div class=\"flex-order-2 margin-left-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-16 text-bold\">13 min</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-working progress-divider\" style=\"width: 15%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 85%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"row\">\n <div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V7</div>\n <div class=\"text-size-14 margin-left-10-md\">Label left</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"display-flex flex-1-0 align-items-center\">\n <div class=\"flex-order-1 margin-right-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-available text-size-16 text-bold\">42 min</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-available progress-divider\" style=\"width: 55%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 45%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-sm-6\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V8</div>\n <div class=\"text-size-14 margin-left-10-md\">Thin label right</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"display-flex flex-1-0 align-items-center\">\n <div class=\"flex-order-2 margin-left-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-available text-size-16\">42 min</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1\">\n <div class=\"progress margin-0 flex-1-0 height-5\">\n <div class=\"progress-bar progress-bar-status-available progress-divider\" style=\"width: 55%;\">\n </div>\n <div class=\"progress-bar progress-bar-light progress-divider\" style=\"width: 45%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"row\">\n <div class=\"col-sm-6 margin-bottom-20 margin-bottom-0-sm-xs\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V9</div>\n <div class=\"text-size-14 margin-left-10-md\">Large progress with large icon left</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-1 margin-right-5\">\n <span class=\"rioglyph rioglyph-user-sign text-color-darker text-size-h2\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2 align-items-center\">\n <div class=\"display-flex flex-1-0\">\n <div class=\"progress margin-0 flex-1-0 height-10\">\n <div class=\"progress-bar progress-bar-rating-1 progress-divider\" style=\"width: 15%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-2 progress-divider\" style=\"width: 25%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-3 progress-divider\" style=\"width: 20%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-4 progress-divider\" style=\"width: 30%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-5 progress-divider\" style=\"width: 10%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-sm-6\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V10</div>\n <div class=\"text-size-14 margin-left-10-md\">Large progress with large icon right</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-2 margin-left-5\">\n <span class=\"rioglyph rioglyph-user-sign text-color-darker text-size-h2\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1 align-items-center\">\n <div class=\"display-flex flex-1-0\">\n <div class=\"progress margin-0 flex-1-0 height-10\">\n <div class=\"progress-bar progress-bar-rating-1 progress-divider\" style=\"width: 15%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-2 progress-divider\" style=\"width: 25%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-3 progress-divider\" style=\"width: 20%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-4 progress-divider\" style=\"width: 30%;\">\n </div>\n <div class=\"progress-bar progress-bar-rating-5 progress-divider\" style=\"width: 10%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V11</div>\n <div class=\"text-size-14 margin-left-10-md\">Large progress with large icon and label</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"flex-order-1 margin-right-5\">\n <span class=\"rioglyph rioglyph-status-working text-color-status-working text-size-h2\">\n </span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-2 align-items-center\">\n <div class=\"flex-order-2 margin-left-10\">\n <span class=\"display-flex ellipsis-1 flex-1-0 justify-content-center text-color-status-working text-size-h3 text-bold\">44%</span>\n </div>\n <div class=\"display-flex flex-1-0 flex-order-1\">\n <div class=\"progress margin-0 flex-1-0 height-10\">\n <div class=\"progress-bar progress-bar-status-working\" style=\"width: 44%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n <hr class=\"margin-top-25 margin-bottom-25\">\n <div class=\"display-flex-md align-items-baseline margin-bottom-10\">\n <div class=\"text-size-16\">V12</div>\n <div class=\"text-size-14 margin-left-10-md\">Large progress only</div>\n </div>\n <div class=\"StatusBar width-100pct display-flex align-items-center\">\n <div class=\"display-flex flex-1-0\">\n <div class=\"display-flex flex-1-0\">\n <div class=\"progress margin-0 flex-1-0 height-10\">\n <div class=\"progress-bar progress-bar-info progress-divider\" style=\"width: 25%;\">\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"label": "Props",
|
|
35
|
+
"language": "json",
|
|
36
|
+
"code": null,
|
|
37
|
+
"props": [
|
|
38
|
+
{
|
|
39
|
+
"heading": null,
|
|
40
|
+
"rows": [
|
|
41
|
+
{
|
|
42
|
+
"name": "icon",
|
|
43
|
+
"type": "Object",
|
|
44
|
+
"default": "",
|
|
45
|
+
"description": "The icon to be shown next to the progress bar."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "└name",
|
|
49
|
+
"type": "String",
|
|
50
|
+
"default": "",
|
|
51
|
+
"description": "The class name of the icon i.e. \"rioglyph-cruise-control\"."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "└alignment",
|
|
55
|
+
"type": "String",
|
|
56
|
+
"default": "'left'",
|
|
57
|
+
"description": "The position of the icon. Possible values are: left or right"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "└color",
|
|
61
|
+
"type": "String",
|
|
62
|
+
"default": "'text-color-gray'",
|
|
63
|
+
"description": "The text color class name for the icon."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "└className",
|
|
67
|
+
"type": "String",
|
|
68
|
+
"default": "",
|
|
69
|
+
"description": "Optional class names for the icon."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "label",
|
|
73
|
+
"type": "Object",
|
|
74
|
+
"default": "",
|
|
75
|
+
"description": "The label to be shown for the progress bar."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "└value",
|
|
79
|
+
"type": "String / Node",
|
|
80
|
+
"default": "",
|
|
81
|
+
"description": "The label content."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "└alignment",
|
|
85
|
+
"type": "String",
|
|
86
|
+
"default": "'right'",
|
|
87
|
+
"description": "The position of the icon. Possible values are: left top right"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "└weight",
|
|
91
|
+
"type": "String",
|
|
92
|
+
"default": "'bold'",
|
|
93
|
+
"description": "The text weight of the label. Possible values are: light or bold"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "└color",
|
|
97
|
+
"type": "String",
|
|
98
|
+
"default": "'text-color-gray'",
|
|
99
|
+
"description": "The text color class name for the label."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "└className",
|
|
103
|
+
"type": "String",
|
|
104
|
+
"default": "",
|
|
105
|
+
"description": "Optional class names for the label."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "progress",
|
|
109
|
+
"type": "list of Objects",
|
|
110
|
+
"default": "",
|
|
111
|
+
"description": "List of progress bars which will be stacked in given order if there are multiple."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "└percentage",
|
|
115
|
+
"type": "Number",
|
|
116
|
+
"default": "0",
|
|
117
|
+
"description": "The percentage of the progress."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "└color",
|
|
121
|
+
"type": "String",
|
|
122
|
+
"default": "'progress-bar-info'",
|
|
123
|
+
"description": "The color class name for the label."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "└tooltip",
|
|
127
|
+
"type": "String / Node",
|
|
128
|
+
"default": "",
|
|
129
|
+
"description": "Optional tooltip content to be shown for the progress bar."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "└tooltipPosition",
|
|
133
|
+
"type": "String",
|
|
134
|
+
"default": "'top'",
|
|
135
|
+
"description": "The position of the tooltip for the progress bar. Possible values are: top bottom left right"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "└tooltipDelay",
|
|
139
|
+
"type": "Number",
|
|
140
|
+
"default": "50",
|
|
141
|
+
"description": "The delay in milliseconds for when the tooltip is shown when hovering the progress bar."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "└className",
|
|
145
|
+
"type": "String",
|
|
146
|
+
"default": "",
|
|
147
|
+
"description": "Optional class names for the progress bar."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "size",
|
|
151
|
+
"type": "String",
|
|
152
|
+
"default": "'small'",
|
|
153
|
+
"description": "The size of the icon and progress bar. Possible values are: small or large"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "useProgressDivider",
|
|
157
|
+
"type": "Boolean",
|
|
158
|
+
"default": "true",
|
|
159
|
+
"description": "Uses a divider for multiple progress bars when defined."
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "className",
|
|
163
|
+
"type": "String",
|
|
164
|
+
"default": "",
|
|
165
|
+
"description": "Optional class names for the wrapper element."
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"see_also": []
|
|
177
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"captured_at": "2025-11-21T12:07:14.470Z",
|
|
4
|
+
"source": "https://uikit.developers.rio.cloud/#components/stepButton",
|
|
5
|
+
"category": "Components",
|
|
6
|
+
"section": "Interaction",
|
|
7
|
+
"slug": "components/stepbutton",
|
|
8
|
+
"version": "v1.13.2",
|
|
9
|
+
"hash_algorithm": "sha256",
|
|
10
|
+
"hash": "50c840fe3a85a61fe11093b6b46e8259a74e72b229928d9d9f11051ae72615ef"
|
|
11
|
+
},
|
|
12
|
+
"title": "StepButton",
|
|
13
|
+
"lead": "The StepButton is a convenient component designed to simplify usage and alignment of buttons with chevrons.",
|
|
14
|
+
"content": [
|
|
15
|
+
{
|
|
16
|
+
"heading": "StepButton",
|
|
17
|
+
"body": "",
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"caption": "Step buttons",
|
|
21
|
+
"rendered_html": "<div class=\"playground-content bg-white padding-20 padding-bottom-25\" style=\"width: 100%;\"><div><div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">Step buttons</div><div class=\"btn-toolbar\"><button type=\"button\" class=\"btn btn-default btn-component\" tabindex=\"0\"><span class=\"rioglyph rioglyph-chevron-left\"></span>Previous</button><button type=\"button\" class=\"btn btn-primary btn-icon-right btn-component\" tabindex=\"0\"><span class=\"rioglyph rioglyph-chevron-right\"></span>Next</button></div></div></div>",
|
|
22
|
+
"tabs": [
|
|
23
|
+
{
|
|
24
|
+
"label": "React",
|
|
25
|
+
"language": "tsx",
|
|
26
|
+
"code": "import StepButton from '@rio-cloud/rio-uikit/StepButton';\nimport FormLabel from '@rio-cloud/rio-uikit/FormLabel';\n\nexport default () => (\n <div>\n <FormLabel>Step buttons</FormLabel>\n <div className='btn-toolbar'>\n <StepButton direction='previous'>Previous</StepButton>\n <StepButton direction='next' bsStyle='primary'>\n Next\n </StepButton>\n </div>\n </div>\n);"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "HTML",
|
|
30
|
+
"language": "html",
|
|
31
|
+
"code": "<div>\n <div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">Step buttons</div>\n <div class=\"btn-toolbar\">\n <button type=\"button\" class=\"btn btn-default btn-component\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-chevron-left\">\n </span>Previous</button>\n <button type=\"button\" class=\"btn btn-primary btn-icon-right btn-component\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-chevron-right\">\n </span>Next</button>\n </div>\n</div>"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"label": "Props",
|
|
35
|
+
"language": "json",
|
|
36
|
+
"code": null,
|
|
37
|
+
"props": [
|
|
38
|
+
{
|
|
39
|
+
"heading": null,
|
|
40
|
+
"rows": [
|
|
41
|
+
{
|
|
42
|
+
"name": "direction",
|
|
43
|
+
"type": "'next' | 'previous'",
|
|
44
|
+
"default": "next",
|
|
45
|
+
"description": "Defines the chevron icon for the respective direction."
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"see_also": []
|
|
57
|
+
}
|