@rio-cloud/uikit-mcp 1.1.2 → 1.1.4
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/dist/doc-metadata.json +117 -127
- package/dist/docs/components/accentBar.md +2 -34
- package/dist/docs/components/activity.md +2 -13
- package/dist/docs/components/animatedNumber.md +4 -17
- package/dist/docs/components/animatedTextReveal.md +7 -54
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +2 -73
- package/dist/docs/components/appLayout.md +36 -496
- package/dist/docs/components/appNavigationBar.md +2 -54
- package/dist/docs/components/areaCharts.md +37 -37
- package/dist/docs/components/aspectRatioPlaceholder.md +2 -11
- package/dist/docs/components/assetTree.md +435 -901
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +2 -24
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +186 -186
- package/dist/docs/components/barList.md +12 -46
- package/dist/docs/components/basicMap.md +7 -7
- package/dist/docs/components/bottomSheet.md +3 -100
- package/dist/docs/components/button.md +16 -71
- package/dist/docs/components/buttonToolbar.md +2 -9
- package/dist/docs/components/calendarStripe.md +95 -121
- package/dist/docs/components/card.md +2 -10
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +4 -1
- package/dist/docs/components/checkbox.md +11 -111
- package/dist/docs/components/clearableInput.md +7 -111
- package/dist/docs/components/collapse.md +3 -29
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +104 -122
- package/dist/docs/components/dataTabs.md +24 -194
- package/dist/docs/components/datepickers.md +727 -769
- package/dist/docs/components/dialogs.md +15 -262
- package/dist/docs/components/divider.md +2 -14
- package/dist/docs/components/dropdowns.md +4387 -4550
- package/dist/docs/components/editableContent.md +2 -186
- package/dist/docs/components/expander.md +23 -70
- package/dist/docs/components/fade.md +6 -41
- package/dist/docs/components/fadeExpander.md +2 -11
- package/dist/docs/components/fadeUp.md +3 -23
- package/dist/docs/components/feedback.md +2 -42
- package/dist/docs/components/filePickers.md +2 -44
- package/dist/docs/components/formLabel.md +2 -18
- package/dist/docs/components/groupedItemList.md +2 -53
- package/dist/docs/components/iconList.md +3 -3
- package/dist/docs/components/imagePreloader.md +2 -6
- package/dist/docs/components/labeledElement.md +2 -11
- package/dist/docs/components/licensePlate.md +2 -10
- package/dist/docs/components/lineCharts.md +60 -60
- package/dist/docs/components/listMenu.md +2 -50
- package/dist/docs/components/loadMore.md +2 -28
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +3 -3
- package/dist/docs/components/mapCluster.md +5 -5
- package/dist/docs/components/mapContext.md +3 -3
- package/dist/docs/components/mapDraggableMarker.md +3 -3
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +3 -3
- package/dist/docs/components/mapLayerGroup.md +3 -3
- package/dist/docs/components/mapMarker.md +341 -347
- package/dist/docs/components/mapPolygon.md +20 -24
- package/dist/docs/components/mapRoute.md +26 -32
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +273 -284
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +2 -22
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +2 -48
- package/dist/docs/components/onboarding.md +2 -46
- package/dist/docs/components/page.md +2 -32
- package/dist/docs/components/pager.md +2 -14
- package/dist/docs/components/pieCharts.md +125 -157
- package/dist/docs/components/popover.md +2 -56
- package/dist/docs/components/position.md +2 -10
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +81 -191
- package/dist/docs/components/releaseNotes.md +1 -12
- package/dist/docs/components/resizer.md +2 -14
- package/dist/docs/components/responsiveColumnStripe.md +2 -19
- package/dist/docs/components/responsiveVideo.md +2 -11
- package/dist/docs/components/rioglyph.md +2 -12
- package/dist/docs/components/rules.md +69 -133
- package/dist/docs/components/saveableInput.md +279 -393
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +2 -39
- package/dist/docs/components/sliders.md +2 -37
- package/dist/docs/components/smoothScrollbars.md +2 -56
- package/dist/docs/components/spinners.md +5 -51
- package/dist/docs/components/states.md +21 -245
- package/dist/docs/components/statsWidgets.md +2 -113
- package/dist/docs/components/statusBar.md +2 -28
- package/dist/docs/components/stepButton.md +2 -8
- package/dist/docs/components/steppedProgressBars.md +2 -66
- package/dist/docs/components/subNavigation.md +1 -8
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -12
- package/dist/docs/components/switch.md +2 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +4 -58
- package/dist/docs/components/tags.md +2 -31
- package/dist/docs/components/teaser.md +2 -30
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +2 -26
- package/dist/docs/components/toggleButton.md +7 -29
- package/dist/docs/components/tooltip.md +9 -40
- package/dist/docs/components/virtualList.md +73 -99
- package/dist/docs/foundations.md +167 -167
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +80 -27
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +81 -81
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +200 -200
- package/dist/docs/templates/loading-progress.md +3 -3
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +2 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +93 -93
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +8 -2
- package/dist/version.json +2 -2
- package/package.json +8 -8
- package/dist/docs/components/fullscreenMap.md +0 -10
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Progress
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/barList
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:21.931Z
|
|
7
7
|
|
|
8
8
|
## BarList
|
|
9
9
|
|
|
@@ -180,28 +180,28 @@ const transportData = [
|
|
|
180
180
|
<div class="display-flex justify-content-between gap-15">
|
|
181
181
|
<div class="width-100pct space-y-5">
|
|
182
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:
|
|
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: 49.3329%;">
|
|
184
184
|
</div>
|
|
185
185
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
186
186
|
<a href="https://example.com/metrics/on-time-delivery" class="text-color-darker" target="_blank" rel="noreferrer">On-time delivery</a>
|
|
187
187
|
</div>
|
|
188
188
|
</div>
|
|
189
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:
|
|
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: 31.3084%;">
|
|
191
191
|
</div>
|
|
192
192
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
193
193
|
<div class="text-color-darker">Warehouse efficiency</div>
|
|
194
194
|
</div>
|
|
195
195
|
</div>
|
|
196
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:
|
|
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: 15.0623%;">
|
|
198
198
|
</div>
|
|
199
199
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
200
200
|
<a href="https://example.com/metrics/truck-utilization" class="text-color-darker" target="_blank" rel="noreferrer">Truck utilization</a>
|
|
201
201
|
</div>
|
|
202
202
|
</div>
|
|
203
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:
|
|
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%;">
|
|
205
205
|
</div>
|
|
206
206
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
207
207
|
<div class="text-color-darker">Freight cost/km</div>
|
|
@@ -239,28 +239,28 @@ const transportData = [
|
|
|
239
239
|
<div class="display-flex justify-content-between gap-15 flex-row-reverse gap-10">
|
|
240
240
|
<div class="width-100pct space-y-5">
|
|
241
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:
|
|
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: 49.3329%;">
|
|
243
243
|
</div>
|
|
244
244
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
245
245
|
<a href="https://example.com/metrics/on-time-delivery" class="text-color-darker" target="_blank" rel="noreferrer">On-time delivery</a>
|
|
246
246
|
</div>
|
|
247
247
|
</div>
|
|
248
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:
|
|
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: 31.3084%;">
|
|
250
250
|
</div>
|
|
251
251
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
252
252
|
<div class="text-color-darker">Warehouse efficiency</div>
|
|
253
253
|
</div>
|
|
254
254
|
</div>
|
|
255
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:
|
|
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: 15.0623%;">
|
|
257
257
|
</div>
|
|
258
258
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
259
259
|
<a href="https://example.com/metrics/truck-utilization" class="text-color-darker" target="_blank" rel="noreferrer">Truck utilization</a>
|
|
260
260
|
</div>
|
|
261
261
|
</div>
|
|
262
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:
|
|
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%;">
|
|
264
264
|
</div>
|
|
265
265
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
266
266
|
<div class="text-color-darker">Freight cost/km</div>
|
|
@@ -307,23 +307,6 @@ const transportData = [
|
|
|
307
307
|
</div>
|
|
308
308
|
```
|
|
309
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
310
|
### Example: 95
|
|
328
311
|
|
|
329
312
|
Damaged packages
|
|
@@ -454,14 +437,14 @@ const transportData = [
|
|
|
454
437
|
</div>
|
|
455
438
|
</div>
|
|
456
439
|
<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: 49.
|
|
440
|
+
<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: 49.301%;">
|
|
458
441
|
</div>
|
|
459
442
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
460
443
|
<div class="text-color-darker">Stored in warehouse</div>
|
|
461
444
|
</div>
|
|
462
445
|
</div>
|
|
463
446
|
<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: 95.
|
|
447
|
+
<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: 95.8777%;">
|
|
465
448
|
</div>
|
|
466
449
|
<div class="position-absolute left-0 top-50pct translate-y-50pct display-flex width-100pct padding-left-10">
|
|
467
450
|
<div class="text-color-darker">Shipped packages</div>
|
|
@@ -497,21 +480,4 @@ const transportData = [
|
|
|
497
480
|
</div>
|
|
498
481
|
</div>
|
|
499
482
|
</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. |
|
|
483
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Map
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/basicMap
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:08:11.843Z
|
|
7
7
|
|
|
8
8
|
The following map shows labels for locale de
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ The following map shows labels for locale de
|
|
|
11
11
|
|
|
12
12
|
### Example: Example 1
|
|
13
13
|
|
|
14
|
-
Terms of use© 1987–
|
|
14
|
+
Terms of use© 1987–2026 HERE
|
|
15
15
|
|
|
16
16
|
10 km
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ Show traffic incidents
|
|
|
24
24
|
|
|
25
25
|
#### Summary
|
|
26
26
|
|
|
27
|
-
Terms of use© 1987–
|
|
27
|
+
Terms of use© 1987–2026 HERE
|
|
28
28
|
|
|
29
29
|
10 km
|
|
30
30
|
|
|
@@ -64,7 +64,7 @@ export default MapExample;
|
|
|
64
64
|
|
|
65
65
|
### Example: Example 2
|
|
66
66
|
|
|
67
|
-
Terms of use© 1987–
|
|
67
|
+
Terms of use© 1987–2026 HERE
|
|
68
68
|
|
|
69
69
|
10 km
|
|
70
70
|
|
|
@@ -77,7 +77,7 @@ Show traffic incidents
|
|
|
77
77
|
|
|
78
78
|
#### Summary
|
|
79
79
|
|
|
80
|
-
Terms of use© 1987–
|
|
80
|
+
Terms of use© 1987–2026 HERE
|
|
81
81
|
|
|
82
82
|
10 km
|
|
83
83
|
|
|
@@ -117,7 +117,7 @@ export default MapWithScaleBarExample;
|
|
|
117
117
|
|
|
118
118
|
### Example: Example 3
|
|
119
119
|
|
|
120
|
-
Terms of use© 1987–
|
|
120
|
+
Terms of use© 1987–2026 HERE
|
|
121
121
|
|
|
122
122
|
10 km
|
|
123
123
|
|
|
@@ -130,7 +130,7 @@ Verkehrsstörungen anzeigen
|
|
|
130
130
|
|
|
131
131
|
#### Summary
|
|
132
132
|
|
|
133
|
-
Terms of use© 1987–
|
|
133
|
+
Terms of use© 1987–2026 HERE
|
|
134
134
|
|
|
135
135
|
10 km
|
|
136
136
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Application
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/bottomSheet
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:06:55.178Z
|
|
7
7
|
|
|
8
8
|
The TimedBottomSheet is a wrapper component for the BottomSheet that allows to control it's visibility via timers and to use the localStorage to save user interaction for handling it's visibility.
|
|
9
9
|
|
|
@@ -76,26 +76,6 @@ const content = (
|
|
|
76
76
|
</div>
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
#### Props
|
|
80
|
-
|
|
81
|
-
| Name | Type | Default | Description |
|
|
82
|
-
| --- | --- | --- | --- |
|
|
83
|
-
| show | Boolean | false | Set the visibility of the bottom sheet. The component is already mounted and just moved offscreen. |
|
|
84
|
-
| onClose | Function | () => {}) | Callback for when the sheet closes. |
|
|
85
|
-
| width | Number / String | — | The width of the bottom sheet. This is useful for desktop when not using the entire screen width. When no width is given it will take the width of the content and maximum 100% of the screen. So it this case you might want to apply a "max-width-xxx" via className to control it better. |
|
|
86
|
-
| height | Number / String | — | The height of the bottom sheet. If no height is given, the height is automatically calculated from the content. |
|
|
87
|
-
| title | Node / String | — | The title content shown in the header. If no title is given, the bottom sheet header is not shown. |
|
|
88
|
-
| showCloseButton | Boolean | true | Defines whether or not the close button is shown. |
|
|
89
|
-
| showMaximizeButton | Boolean | false | Defines whether or not the maximize button in the header is shown. |
|
|
90
|
-
| onHeightChange | Function | () => {} | The callback function triggered when the maximize button is clicked and the height changes. |
|
|
91
|
-
| detach | Boolean | false | Set to "true" to detach the bottom sheet from the left side and the bottom and create a little offset. |
|
|
92
|
-
| detachOffset | Number | 15 | Defines the amount of pixels for the sheet. |
|
|
93
|
-
| hasBackdrop | Boolean | false | Set to "true" to render a modal like backdrop to emphasize the bottom sheet. |
|
|
94
|
-
| onBackdropClick | Function | () => {} | Callback function triggered when the backdrop is clicked. Usually used to close the bottom sheet. |
|
|
95
|
-
| bodyRef | React Ref | — | A react ref added to the bottom sheet body. |
|
|
96
|
-
| bodyClassName | String | — | Additional classes to be set on the body element. |
|
|
97
|
-
| className | String | — | Additional classes to be set on the wrapping element. |
|
|
98
|
-
|
|
99
79
|
### Example: Example 2
|
|
100
80
|
|
|
101
81
|
This demonstrates a bottom sheet use case on mobile. This can be used for providing additional information on mobile instead of using a sidebar, onboarding, alternative for dialogs etc.
|
|
@@ -219,26 +199,6 @@ export default () => {
|
|
|
219
199
|
</div>
|
|
220
200
|
```
|
|
221
201
|
|
|
222
|
-
#### Props
|
|
223
|
-
|
|
224
|
-
| Name | Type | Default | Description |
|
|
225
|
-
| --- | --- | --- | --- |
|
|
226
|
-
| show | Boolean | false | Set the visibility of the bottom sheet. The component is already mounted and just moved offscreen. |
|
|
227
|
-
| onClose | Function | () => {}) | Callback for when the sheet closes. |
|
|
228
|
-
| width | Number / String | — | The width of the bottom sheet. This is useful for desktop when not using the entire screen width. When no width is given it will take the width of the content and maximum 100% of the screen. So it this case you might want to apply a "max-width-xxx" via className to control it better. |
|
|
229
|
-
| height | Number / String | — | The height of the bottom sheet. If no height is given, the height is automatically calculated from the content. |
|
|
230
|
-
| title | Node / String | — | The title content shown in the header. If no title is given, the bottom sheet header is not shown. |
|
|
231
|
-
| showCloseButton | Boolean | true | Defines whether or not the close button is shown. |
|
|
232
|
-
| showMaximizeButton | Boolean | false | Defines whether or not the maximize button in the header is shown. |
|
|
233
|
-
| onHeightChange | Function | () => {} | The callback function triggered when the maximize button is clicked and the height changes. |
|
|
234
|
-
| detach | Boolean | false | Set to "true" to detach the bottom sheet from the left side and the bottom and create a little offset. |
|
|
235
|
-
| detachOffset | Number | 15 | Defines the amount of pixels for the sheet. |
|
|
236
|
-
| hasBackdrop | Boolean | false | Set to "true" to render a modal like backdrop to emphasize the bottom sheet. |
|
|
237
|
-
| onBackdropClick | Function | () => {} | Callback function triggered when the backdrop is clicked. Usually used to close the bottom sheet. |
|
|
238
|
-
| bodyRef | React Ref | — | A react ref added to the bottom sheet body. |
|
|
239
|
-
| bodyClassName | String | — | Additional classes to be set on the body element. |
|
|
240
|
-
| className | String | — | Additional classes to be set on the wrapping element. |
|
|
241
|
-
|
|
242
202
|
### Example: Example 3
|
|
243
203
|
|
|
244
204
|
This demonstrates a bottom sheet use case on mobile. It demonstrates a bottom sheet for smartphones to perform an action.
|
|
@@ -336,26 +296,6 @@ export default () => {
|
|
|
336
296
|
</div>
|
|
337
297
|
```
|
|
338
298
|
|
|
339
|
-
#### Props
|
|
340
|
-
|
|
341
|
-
| Name | Type | Default | Description |
|
|
342
|
-
| --- | --- | --- | --- |
|
|
343
|
-
| show | Boolean | false | Set the visibility of the bottom sheet. The component is already mounted and just moved offscreen. |
|
|
344
|
-
| onClose | Function | () => {}) | Callback for when the sheet closes. |
|
|
345
|
-
| width | Number / String | — | The width of the bottom sheet. This is useful for desktop when not using the entire screen width. When no width is given it will take the width of the content and maximum 100% of the screen. So it this case you might want to apply a "max-width-xxx" via className to control it better. |
|
|
346
|
-
| height | Number / String | — | The height of the bottom sheet. If no height is given, the height is automatically calculated from the content. |
|
|
347
|
-
| title | Node / String | — | The title content shown in the header. If no title is given, the bottom sheet header is not shown. |
|
|
348
|
-
| showCloseButton | Boolean | true | Defines whether or not the close button is shown. |
|
|
349
|
-
| showMaximizeButton | Boolean | false | Defines whether or not the maximize button in the header is shown. |
|
|
350
|
-
| onHeightChange | Function | () => {} | The callback function triggered when the maximize button is clicked and the height changes. |
|
|
351
|
-
| detach | Boolean | false | Set to "true" to detach the bottom sheet from the left side and the bottom and create a little offset. |
|
|
352
|
-
| detachOffset | Number | 15 | Defines the amount of pixels for the sheet. |
|
|
353
|
-
| hasBackdrop | Boolean | false | Set to "true" to render a modal like backdrop to emphasize the bottom sheet. |
|
|
354
|
-
| onBackdropClick | Function | () => {} | Callback function triggered when the backdrop is clicked. Usually used to close the bottom sheet. |
|
|
355
|
-
| bodyRef | React Ref | — | A react ref added to the bottom sheet body. |
|
|
356
|
-
| bodyClassName | String | — | Additional classes to be set on the body element. |
|
|
357
|
-
| className | String | — | Additional classes to be set on the wrapping element. |
|
|
358
|
-
|
|
359
299
|
### Example: Example 4
|
|
360
300
|
|
|
361
301
|
This demonstrates a bottom sheet use case on mobile. It demonstrates a bottom sheet for an example of how you could do onboarding on smartphones.
|
|
@@ -440,26 +380,6 @@ export default () => {
|
|
|
440
380
|
</div>
|
|
441
381
|
```
|
|
442
382
|
|
|
443
|
-
#### Props
|
|
444
|
-
|
|
445
|
-
| Name | Type | Default | Description |
|
|
446
|
-
| --- | --- | --- | --- |
|
|
447
|
-
| show | Boolean | false | Set the visibility of the bottom sheet. The component is already mounted and just moved offscreen. |
|
|
448
|
-
| onClose | Function | () => {}) | Callback for when the sheet closes. |
|
|
449
|
-
| width | Number / String | — | The width of the bottom sheet. This is useful for desktop when not using the entire screen width. When no width is given it will take the width of the content and maximum 100% of the screen. So it this case you might want to apply a "max-width-xxx" via className to control it better. |
|
|
450
|
-
| height | Number / String | — | The height of the bottom sheet. If no height is given, the height is automatically calculated from the content. |
|
|
451
|
-
| title | Node / String | — | The title content shown in the header. If no title is given, the bottom sheet header is not shown. |
|
|
452
|
-
| showCloseButton | Boolean | true | Defines whether or not the close button is shown. |
|
|
453
|
-
| showMaximizeButton | Boolean | false | Defines whether or not the maximize button in the header is shown. |
|
|
454
|
-
| onHeightChange | Function | () => {} | The callback function triggered when the maximize button is clicked and the height changes. |
|
|
455
|
-
| detach | Boolean | false | Set to "true" to detach the bottom sheet from the left side and the bottom and create a little offset. |
|
|
456
|
-
| detachOffset | Number | 15 | Defines the amount of pixels for the sheet. |
|
|
457
|
-
| hasBackdrop | Boolean | false | Set to "true" to render a modal like backdrop to emphasize the bottom sheet. |
|
|
458
|
-
| onBackdropClick | Function | () => {} | Callback function triggered when the backdrop is clicked. Usually used to close the bottom sheet. |
|
|
459
|
-
| bodyRef | React Ref | — | A react ref added to the bottom sheet body. |
|
|
460
|
-
| bodyClassName | String | — | Additional classes to be set on the body element. |
|
|
461
|
-
| className | String | — | Additional classes to be set on the wrapping element. |
|
|
462
|
-
|
|
463
383
|
## TimedBottomSheet
|
|
464
384
|
|
|
465
385
|
### Example: Example 5
|
|
@@ -543,7 +463,7 @@ export const FeedbackBottomSheet = ({ onClose }: { onClose: VoidFunction }) => {
|
|
|
543
463
|
}, HIDE_AFTER_SUBMIT_IN_MS);
|
|
544
464
|
};
|
|
545
465
|
|
|
546
|
-
const sendFeedback = (messageToSend: string,
|
|
466
|
+
const sendFeedback = (messageToSend: string, _featureRating: number | undefined) => {
|
|
547
467
|
console.log(`Sending email with message \n${messageToSend}`);
|
|
548
468
|
};
|
|
549
469
|
|
|
@@ -701,21 +621,4 @@ export default () => {
|
|
|
701
621
|
```html
|
|
702
622
|
<p>Showcase of a timed bottom sheet used for requesting feedback from the user after a major feature was released or updated.</p>
|
|
703
623
|
<button type="button" class="btn btn-primary btn-component" tabindex="0">Trigger timed bottom sheet</button>
|
|
704
|
-
```
|
|
705
|
-
|
|
706
|
-
#### Props
|
|
707
|
-
|
|
708
|
-
| Name | Type | Default | Description |
|
|
709
|
-
| --- | --- | --- | --- |
|
|
710
|
-
| dismissed | Boolean | false | The "dismissed" flag can be used to tell this component that the user has clicked on the content of the component like a button or a link. In this case, the bottom sheet will store a flag in the localStorage to hide the bottom sheet for the next time and it will close the sheet right away. |
|
|
711
|
-
| featureName | String | 0 | The "featureName" prop is used to name the localStorage flag that is used to control the visibility. It should be unique to avoid conflicts with other timed bottom sheets. |
|
|
712
|
-
| localStoragePrefix | String | — | A prefix that will be used for the local storage flag to store whether the bottom sheet should be hidden. Use this prefix for your service name for instance. |
|
|
713
|
-
| showAfter | Number | 0 | Defines the time in milliseconds when the bottom sheet shall be shown. Default value is 0 to show it right away. |
|
|
714
|
-
| hideAfter | Number | 3_600_000 | Defines the time in milliseconds when the bottom sheet hides itself automatically. Default value is 3_600_000 to hide it after 1 hour. In this case, the localStorage flag is not set and the bottom sheet will be shown on the next page load. |
|
|
715
|
-
| alwaysOn | Boolean | false | With this enabled, the BottomSheet will not hide automatically. |
|
|
716
|
-
| showCloseButton | Boolean | true | Enables or disabled the close button. |
|
|
717
|
-
| width | Number | — | Optional width of the bottom sheet. Alternatively, you can set a `max-width-xxx` via className instead. |
|
|
718
|
-
| cleanupLocalStorage | Boolean | false | Flag to allow to remove the localStorage flag again once the component is not needed anymore. |
|
|
719
|
-
| onClose | () => void | — | Callback function that gets triggered when the user closed the bottom sheet with the close button. |
|
|
720
|
-
| bodyClassName | String | — | Optional className to be set on the body. |
|
|
721
|
-
| className | String | — | Optional className to be set on the component. Use this to define a max-width value. |
|
|
624
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/button
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:00.083Z
|
|
7
7
|
|
|
8
8
|
The button component is the React equivalent to the normal HTML button with some To check out the HTML version click here: Buttons
|
|
9
9
|
|
|
@@ -255,20 +255,9 @@ export default () => (
|
|
|
255
255
|
|
|
256
256
|
| Name | Type | Default | Description |
|
|
257
257
|
| --- | --- | --- | --- |
|
|
258
|
-
|
|
|
259
|
-
|
|
|
260
|
-
|
|
|
261
|
-
| iconOnly | Boolean | false | Use when the content of the button is an icon only to adapt the button spacing accordingly. |
|
|
262
|
-
| iconName | String | — | Optional rio-glyph icon name that comes in handy for icon only buttons for not adding a span tag for the icon which reduces boilerplate code. |
|
|
263
|
-
| iconRight | Boolean | false | Adds right side spacing for an icon. This should be used when having navigation buttons that use an icon on the right side. |
|
|
264
|
-
| multiline | Boolean | false | Defines whether the button text break into multiple lines when the button space exceeds. Multiline buttons should be used as exception only. |
|
|
265
|
-
| block | Boolean | false | Defines whether the button takes up the full width of the parent element. |
|
|
266
|
-
| onClick | Function | () => {} | Callback function triggered when clicking the button. |
|
|
267
|
-
| bsStyle | String | default | Sets the button style. Possible values are: default, primary, info, warning, danger, success, muted-filled and muted or Button.DEFAULT, Button.PRIMARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED_FILLED and Button.MUTED |
|
|
268
|
-
| bsSize | String | — | Sets the button size. Possible values are: xs, sm, md and lg or Button.XS, Button.SM, Button.MD and Button.LG |
|
|
269
|
-
| variant | String | — | Sets the button variant. Possible values are: link, link-inline, outline and action or Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE and Button.VARIANT_ACTION |
|
|
270
|
-
| className | String | — | Additional classes to be set on the button element. |
|
|
271
|
-
| children | any | — | Any element to be rendered on the button. |
|
|
258
|
+
| bsStyle | | — | Sets the button style. Possible values are: default, unstyled, primary, secondary, info, warning, danger, success, muted and muted-filled |
|
|
259
|
+
| bsSize | | — | Sets the button size. Possible values are: xs, sm, md and lg |
|
|
260
|
+
| variant | | — | Sets the button variant. Possible values are: link, link-inline, outline and action |
|
|
272
261
|
|
|
273
262
|
### Example: Link buttons
|
|
274
263
|
|
|
@@ -371,20 +360,9 @@ export default () => (
|
|
|
371
360
|
|
|
372
361
|
| Name | Type | Default | Description |
|
|
373
362
|
| --- | --- | --- | --- |
|
|
374
|
-
|
|
|
375
|
-
|
|
|
376
|
-
|
|
|
377
|
-
| iconOnly | Boolean | false | Use when the content of the button is an icon only to adapt the button spacing accordingly. |
|
|
378
|
-
| iconName | String | — | Optional rio-glyph icon name that comes in handy for icon only buttons for not adding a span tag for the icon which reduces boilerplate code. |
|
|
379
|
-
| iconRight | Boolean | false | Adds right side spacing for an icon. This should be used when having navigation buttons that use an icon on the right side. |
|
|
380
|
-
| multiline | Boolean | false | Defines whether the button text break into multiple lines when the button space exceeds. Multiline buttons should be used as exception only. |
|
|
381
|
-
| block | Boolean | false | Defines whether the button takes up the full width of the parent element. |
|
|
382
|
-
| onClick | Function | () => {} | Callback function triggered when clicking the button. |
|
|
383
|
-
| bsStyle | String | default | Sets the button style. Possible values are: default, primary, info, warning, danger, success, muted-filled and muted or Button.DEFAULT, Button.PRIMARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED_FILLED and Button.MUTED |
|
|
384
|
-
| bsSize | String | — | Sets the button size. Possible values are: xs, sm, md and lg or Button.XS, Button.SM, Button.MD and Button.LG |
|
|
385
|
-
| variant | String | — | Sets the button variant. Possible values are: link, link-inline, outline and action or Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE and Button.VARIANT_ACTION |
|
|
386
|
-
| className | String | — | Additional classes to be set on the button element. |
|
|
387
|
-
| children | any | — | Any element to be rendered on the button. |
|
|
363
|
+
| bsStyle | | — | Sets the button style. Possible values are: default, unstyled, primary, secondary, info, warning, danger, success, muted and muted-filled |
|
|
364
|
+
| bsSize | | — | Sets the button size. Possible values are: xs, sm, md and lg |
|
|
365
|
+
| variant | | — | Sets the button variant. Possible values are: link, link-inline, outline and action |
|
|
388
366
|
|
|
389
367
|
### Example: Button group
|
|
390
368
|
|
|
@@ -535,20 +513,9 @@ export default () => (
|
|
|
535
513
|
|
|
536
514
|
| Name | Type | Default | Description |
|
|
537
515
|
| --- | --- | --- | --- |
|
|
538
|
-
|
|
|
539
|
-
|
|
|
540
|
-
|
|
|
541
|
-
| iconOnly | Boolean | false | Use when the content of the button is an icon only to adapt the button spacing accordingly. |
|
|
542
|
-
| iconName | String | — | Optional rio-glyph icon name that comes in handy for icon only buttons for not adding a span tag for the icon which reduces boilerplate code. |
|
|
543
|
-
| iconRight | Boolean | false | Adds right side spacing for an icon. This should be used when having navigation buttons that use an icon on the right side. |
|
|
544
|
-
| multiline | Boolean | false | Defines whether the button text break into multiple lines when the button space exceeds. Multiline buttons should be used as exception only. |
|
|
545
|
-
| block | Boolean | false | Defines whether the button takes up the full width of the parent element. |
|
|
546
|
-
| onClick | Function | () => {} | Callback function triggered when clicking the button. |
|
|
547
|
-
| bsStyle | String | default | Sets the button style. Possible values are: default, primary, info, warning, danger, success, muted-filled and muted or Button.DEFAULT, Button.PRIMARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED_FILLED and Button.MUTED |
|
|
548
|
-
| bsSize | String | — | Sets the button size. Possible values are: xs, sm, md and lg or Button.XS, Button.SM, Button.MD and Button.LG |
|
|
549
|
-
| variant | String | — | Sets the button variant. Possible values are: link, link-inline, outline and action or Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE and Button.VARIANT_ACTION |
|
|
550
|
-
| className | String | — | Additional classes to be set on the button element. |
|
|
551
|
-
| children | any | — | Any element to be rendered on the button. |
|
|
516
|
+
| bsStyle | | — | Sets the button style. Possible values are: default, unstyled, primary, secondary, info, warning, danger, success, muted and muted-filled |
|
|
517
|
+
| bsSize | | — | Sets the button size. Possible values are: xs, sm, md and lg |
|
|
518
|
+
| variant | | — | Sets the button variant. Possible values are: link, link-inline, outline and action |
|
|
552
519
|
|
|
553
520
|
### Example: Outlined buttons (transparent)
|
|
554
521
|
|
|
@@ -638,20 +605,9 @@ export default () => (
|
|
|
638
605
|
|
|
639
606
|
| Name | Type | Default | Description |
|
|
640
607
|
| --- | --- | --- | --- |
|
|
641
|
-
|
|
|
642
|
-
|
|
|
643
|
-
|
|
|
644
|
-
| iconOnly | Boolean | false | Use when the content of the button is an icon only to adapt the button spacing accordingly. |
|
|
645
|
-
| iconName | String | — | Optional rio-glyph icon name that comes in handy for icon only buttons for not adding a span tag for the icon which reduces boilerplate code. |
|
|
646
|
-
| iconRight | Boolean | false | Adds right side spacing for an icon. This should be used when having navigation buttons that use an icon on the right side. |
|
|
647
|
-
| multiline | Boolean | false | Defines whether the button text break into multiple lines when the button space exceeds. Multiline buttons should be used as exception only. |
|
|
648
|
-
| block | Boolean | false | Defines whether the button takes up the full width of the parent element. |
|
|
649
|
-
| onClick | Function | () => {} | Callback function triggered when clicking the button. |
|
|
650
|
-
| bsStyle | String | default | Sets the button style. Possible values are: default, primary, info, warning, danger, success, muted-filled and muted or Button.DEFAULT, Button.PRIMARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED_FILLED and Button.MUTED |
|
|
651
|
-
| bsSize | String | — | Sets the button size. Possible values are: xs, sm, md and lg or Button.XS, Button.SM, Button.MD and Button.LG |
|
|
652
|
-
| variant | String | — | Sets the button variant. Possible values are: link, link-inline, outline and action or Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE and Button.VARIANT_ACTION |
|
|
653
|
-
| className | String | — | Additional classes to be set on the button element. |
|
|
654
|
-
| children | any | — | Any element to be rendered on the button. |
|
|
608
|
+
| bsStyle | | — | Sets the button style. Possible values are: default, unstyled, primary, secondary, info, warning, danger, success, muted and muted-filled |
|
|
609
|
+
| bsSize | | — | Sets the button size. Possible values are: xs, sm, md and lg |
|
|
610
|
+
| variant | | — | Sets the button variant. Possible values are: link, link-inline, outline and action |
|
|
655
611
|
|
|
656
612
|
### Example: Action buttons
|
|
657
613
|
|
|
@@ -759,17 +715,6 @@ export default () => (
|
|
|
759
715
|
|
|
760
716
|
| Name | Type | Default | Description |
|
|
761
717
|
| --- | --- | --- | --- |
|
|
762
|
-
|
|
|
763
|
-
|
|
|
764
|
-
|
|
|
765
|
-
| iconOnly | Boolean | false | Use when the content of the button is an icon only to adapt the button spacing accordingly. |
|
|
766
|
-
| iconName | String | — | Optional rio-glyph icon name that comes in handy for icon only buttons for not adding a span tag for the icon which reduces boilerplate code. |
|
|
767
|
-
| iconRight | Boolean | false | Adds right side spacing for an icon. This should be used when having navigation buttons that use an icon on the right side. |
|
|
768
|
-
| multiline | Boolean | false | Defines whether the button text break into multiple lines when the button space exceeds. Multiline buttons should be used as exception only. |
|
|
769
|
-
| block | Boolean | false | Defines whether the button takes up the full width of the parent element. |
|
|
770
|
-
| onClick | Function | () => {} | Callback function triggered when clicking the button. |
|
|
771
|
-
| bsStyle | String | default | Sets the button style. Possible values are: default, primary, info, warning, danger, success, muted-filled and muted or Button.DEFAULT, Button.PRIMARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED_FILLED and Button.MUTED |
|
|
772
|
-
| bsSize | String | — | Sets the button size. Possible values are: xs, sm, md and lg or Button.XS, Button.SM, Button.MD and Button.LG |
|
|
773
|
-
| variant | String | — | Sets the button variant. Possible values are: link, link-inline, outline and action or Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE and Button.VARIANT_ACTION |
|
|
774
|
-
| className | String | — | Additional classes to be set on the button element. |
|
|
775
|
-
| children | any | — | Any element to be rendered on the button. |
|
|
718
|
+
| bsStyle | | — | Sets the button style. Possible values are: default, unstyled, primary, secondary, info, warning, danger, success, muted and muted-filled |
|
|
719
|
+
| bsSize | | — | Sets the button size. Possible values are: xs, sm, md and lg |
|
|
720
|
+
| variant | | — | Sets the button variant. Possible values are: link, link-inline, outline and action |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/buttonToolbar
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:06:57.360Z
|
|
7
7
|
|
|
8
8
|
The ButtonToolbar is a utility component designed to simplify usage and alignment. Its purpose is to ensure consistent spacing.
|
|
9
9
|
|
|
@@ -124,11 +124,4 @@ export default () => (
|
|
|
124
124
|
</span>Next</button>
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
#### Props
|
|
130
|
-
|
|
131
|
-
| Name | Type | Default | Description |
|
|
132
|
-
| --- | --- | --- | --- |
|
|
133
|
-
| alignment | 'left' \| 'right' \| 'center' \| 'space-between' | — | Align buttons to e defined side or set them apart. |
|
|
134
|
-
| className | String | — | Additional classes to be set on the wrapper element. |
|
|
127
|
+
```
|