@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,13 +3,13 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/radiobutton
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:07.636Z
|
|
7
7
|
|
|
8
8
|
NoteWhen using the custom option, make sure to wrap the children with the class name radio-text-wrapper. For using the radio tick, use an element with class name radio-text.
|
|
9
9
|
|
|
10
10
|
## RadioButton
|
|
11
11
|
|
|
12
|
-
### Example:
|
|
12
|
+
### Example: Last selected option: nothing selected yet
|
|
13
13
|
|
|
14
14
|
Option one is selected by default
|
|
15
15
|
Option two can be something else and selecting it will deselect option one
|
|
@@ -17,6 +17,7 @@ Option three is disabled
|
|
|
17
17
|
123
|
|
18
18
|
Km
|
|
19
19
|
Miles
|
|
20
|
+
Last selected option: nothing selected yet
|
|
20
21
|
|
|
21
22
|
#### Summary
|
|
22
23
|
|
|
@@ -26,58 +27,73 @@ Option three is disabled
|
|
|
26
27
|
123
|
|
27
28
|
Km
|
|
28
29
|
Miles
|
|
30
|
+
Last selected option: nothing selected yet
|
|
29
31
|
|
|
30
32
|
#### React (tsx)
|
|
31
33
|
|
|
32
34
|
```tsx
|
|
33
35
|
import RadioButton from '@rio-cloud/rio-uikit/RadioButton';
|
|
36
|
+
import { useState } from 'react';
|
|
34
37
|
|
|
35
|
-
export default () =>
|
|
36
|
-
|
|
37
|
-
<div>
|
|
38
|
-
<RadioButton name='radios' id='optionsRadios1' value='option1' defaultChecked>
|
|
39
|
-
Option one is selected by default
|
|
40
|
-
</RadioButton>
|
|
41
|
-
</div>
|
|
42
|
-
<div>
|
|
43
|
-
<RadioButton name='radios' id='optionsRadios2' value='option2'>
|
|
44
|
-
Option two can be something else and selecting it will deselect option one
|
|
45
|
-
</RadioButton>
|
|
46
|
-
</div>
|
|
47
|
-
<div>
|
|
48
|
-
<RadioButton name='radios' id='optionsRadios3' value='option3' disabled>
|
|
49
|
-
Option three is disabled
|
|
50
|
-
</RadioButton>
|
|
51
|
-
</div>
|
|
38
|
+
export default () => {
|
|
39
|
+
const [lastSelectedOption, setLastSelectedOption] = useState('');
|
|
52
40
|
|
|
53
|
-
|
|
41
|
+
const handleClick = (event: React.MouseEvent<HTMLInputElement>) => {
|
|
42
|
+
console.log(event.currentTarget.value);
|
|
43
|
+
setLastSelectedOption(event.currentTarget.value);
|
|
44
|
+
};
|
|
54
45
|
|
|
46
|
+
return (
|
|
55
47
|
<div>
|
|
56
|
-
<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
48
|
+
<div>
|
|
49
|
+
<RadioButton name='radios' value='option1' defaultChecked onClick={handleClick}>
|
|
50
|
+
Option one is selected by default
|
|
51
|
+
</RadioButton>
|
|
52
|
+
</div>
|
|
53
|
+
<div>
|
|
54
|
+
<RadioButton name='radios' value='option2' onClick={handleClick}>
|
|
55
|
+
Option two can be something else and selecting it will deselect option one
|
|
56
|
+
</RadioButton>
|
|
57
|
+
</div>
|
|
58
|
+
<div>
|
|
59
|
+
<RadioButton name='radios' value='option3' disabled onClick={handleClick}>
|
|
60
|
+
Option three is disabled
|
|
61
|
+
</RadioButton>
|
|
62
|
+
</div>
|
|
66
63
|
|
|
67
|
-
|
|
64
|
+
<hr />
|
|
68
65
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
66
|
+
<div>
|
|
67
|
+
<RadioButton name='radiosInline' value='1' onClick={handleClick} inline>
|
|
68
|
+
1
|
|
69
|
+
</RadioButton>
|
|
70
|
+
<RadioButton name='radiosInline' value='2' onClick={handleClick} inline>
|
|
71
|
+
2
|
|
72
|
+
</RadioButton>
|
|
73
|
+
<RadioButton name='radiosInline' value='3' onClick={handleClick} inline>
|
|
74
|
+
3
|
|
75
|
+
</RadioButton>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<hr />
|
|
79
|
+
|
|
80
|
+
<div>
|
|
81
|
+
<RadioButton name='radiosRight' value='km' right onClick={handleClick} inline>
|
|
82
|
+
Km
|
|
83
|
+
</RadioButton>
|
|
84
|
+
</div>
|
|
85
|
+
<div>
|
|
86
|
+
<RadioButton name='radiosRight' value='miles' right onClick={handleClick} inline>
|
|
87
|
+
Miles
|
|
88
|
+
</RadioButton>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div className='margin-top-25 text-color-dark'>
|
|
92
|
+
Last selected option: {lastSelectedOption || <i>nothing selected yet</i>}
|
|
93
|
+
</div>
|
|
78
94
|
</div>
|
|
79
|
-
|
|
80
|
-
|
|
95
|
+
);
|
|
96
|
+
};
|
|
81
97
|
```
|
|
82
98
|
|
|
83
99
|
#### HTML (html)
|
|
@@ -85,7 +101,7 @@ export default () => (
|
|
|
85
101
|
```html
|
|
86
102
|
<div>
|
|
87
103
|
<div>
|
|
88
|
-
<label
|
|
104
|
+
<label class="radio" tabindex="0">
|
|
89
105
|
<input type="radio" class="" name="radios" value="option1" checked="">
|
|
90
106
|
<span class="radio-text">
|
|
91
107
|
<span>Option one is selected by default</span>
|
|
@@ -93,7 +109,7 @@ export default () => (
|
|
|
93
109
|
</label>
|
|
94
110
|
</div>
|
|
95
111
|
<div>
|
|
96
|
-
<label
|
|
112
|
+
<label class="radio" tabindex="0">
|
|
97
113
|
<input type="radio" class="" name="radios" value="option2">
|
|
98
114
|
<span class="radio-text">
|
|
99
115
|
<span>Option two can be something else and selecting it will deselect option one</span>
|
|
@@ -101,7 +117,7 @@ export default () => (
|
|
|
101
117
|
</label>
|
|
102
118
|
</div>
|
|
103
119
|
<div>
|
|
104
|
-
<label
|
|
120
|
+
<label class="radio" tabindex="0">
|
|
105
121
|
<input type="radio" disabled="" class="" name="radios" value="option3">
|
|
106
122
|
<span class="radio-text">
|
|
107
123
|
<span>Option three is disabled</span>
|
|
@@ -110,20 +126,20 @@ export default () => (
|
|
|
110
126
|
</div>
|
|
111
127
|
<hr>
|
|
112
128
|
<div>
|
|
113
|
-
<label
|
|
114
|
-
<input type="radio" class="" name="radiosInline" value="">
|
|
129
|
+
<label class="radio radio-inline" tabindex="0">
|
|
130
|
+
<input type="radio" class="" name="radiosInline" value="1">
|
|
115
131
|
<span class="radio-text">
|
|
116
132
|
<span>1</span>
|
|
117
133
|
</span>
|
|
118
134
|
</label>
|
|
119
|
-
<label
|
|
120
|
-
<input type="radio" class="" name="radiosInline" value="">
|
|
135
|
+
<label class="radio radio-inline" tabindex="0">
|
|
136
|
+
<input type="radio" class="" name="radiosInline" value="2">
|
|
121
137
|
<span class="radio-text">
|
|
122
138
|
<span>2</span>
|
|
123
139
|
</span>
|
|
124
140
|
</label>
|
|
125
|
-
<label
|
|
126
|
-
<input type="radio" class="" name="radiosInline" value="">
|
|
141
|
+
<label class="radio radio-inline" tabindex="0">
|
|
142
|
+
<input type="radio" class="" name="radiosInline" value="3">
|
|
127
143
|
<span class="radio-text">
|
|
128
144
|
<span>3</span>
|
|
129
145
|
</span>
|
|
@@ -131,21 +147,23 @@ export default () => (
|
|
|
131
147
|
</div>
|
|
132
148
|
<hr>
|
|
133
149
|
<div>
|
|
134
|
-
<label
|
|
135
|
-
<input type="radio" class="icon-right" name="radiosRight" value="">
|
|
150
|
+
<label class="radio radio-inline" tabindex="0">
|
|
151
|
+
<input type="radio" class="icon-right" name="radiosRight" value="km">
|
|
136
152
|
<span class="radio-text">
|
|
137
153
|
<span>Km</span>
|
|
138
154
|
</span>
|
|
139
155
|
</label>
|
|
140
156
|
</div>
|
|
141
157
|
<div>
|
|
142
|
-
<label
|
|
143
|
-
<input type="radio" class="icon-right" name="radiosRight" value="">
|
|
158
|
+
<label class="radio radio-inline" tabindex="0">
|
|
159
|
+
<input type="radio" class="icon-right" name="radiosRight" value="miles">
|
|
144
160
|
<span class="radio-text">
|
|
145
161
|
<span>Miles</span>
|
|
146
162
|
</span>
|
|
147
163
|
</label>
|
|
148
164
|
</div>
|
|
165
|
+
<div class="margin-top-25 text-color-dark">Last selected option: <i>nothing selected yet</i>
|
|
166
|
+
</div>
|
|
149
167
|
</div>
|
|
150
168
|
```
|
|
151
169
|
|
|
@@ -153,23 +171,7 @@ export default () => (
|
|
|
153
171
|
|
|
154
172
|
| Name | Type | Default | Description |
|
|
155
173
|
| --- | --- | --- | --- |
|
|
156
|
-
|
|
|
157
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
158
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
159
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
160
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
161
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
162
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
163
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
164
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
165
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
166
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
167
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
168
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
169
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
170
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
171
|
-
| name | String | — | Name to be given to the input element. |
|
|
172
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
174
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
173
175
|
|
|
174
176
|
## Controlled example
|
|
175
177
|
|
|
@@ -238,23 +240,7 @@ export default () => {
|
|
|
238
240
|
|
|
239
241
|
| Name | Type | Default | Description |
|
|
240
242
|
| --- | --- | --- | --- |
|
|
241
|
-
|
|
|
242
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
243
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
244
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
245
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
246
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
247
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
248
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
249
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
250
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
251
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
252
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
253
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
254
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
255
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
256
|
-
| name | String | — | Name to be given to the input element. |
|
|
257
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
243
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
258
244
|
|
|
259
245
|
## RadioButton with FormData
|
|
260
246
|
|
|
@@ -348,23 +334,7 @@ export default () => {
|
|
|
348
334
|
|
|
349
335
|
| Name | Type | Default | Description |
|
|
350
336
|
| --- | --- | --- | --- |
|
|
351
|
-
|
|
|
352
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
353
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
354
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
355
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
356
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
357
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
358
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
359
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
360
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
361
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
362
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
363
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
364
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
365
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
366
|
-
| name | String | — | Name to be given to the input element. |
|
|
367
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
337
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
368
338
|
|
|
369
339
|
## Custom cards example
|
|
370
340
|
|
|
@@ -503,23 +473,7 @@ export default () => {
|
|
|
503
473
|
|
|
504
474
|
| Name | Type | Default | Description |
|
|
505
475
|
| --- | --- | --- | --- |
|
|
506
|
-
|
|
|
507
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
508
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
509
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
510
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
511
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
512
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
513
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
514
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
515
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
516
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
517
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
518
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
519
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
520
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
521
|
-
| name | String | — | Name to be given to the input element. |
|
|
522
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
476
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
523
477
|
|
|
524
478
|
## Custom stacked example
|
|
525
479
|
|
|
@@ -661,23 +615,7 @@ export default () => {
|
|
|
661
615
|
|
|
662
616
|
| Name | Type | Default | Description |
|
|
663
617
|
| --- | --- | --- | --- |
|
|
664
|
-
|
|
|
665
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
666
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
667
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
668
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
669
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
670
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
671
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
672
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
673
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
674
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
675
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
676
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
677
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
678
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
679
|
-
| name | String | — | Name to be given to the input element. |
|
|
680
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
618
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
681
619
|
|
|
682
620
|
## Custom list example
|
|
683
621
|
|
|
@@ -820,23 +758,7 @@ export default () => {
|
|
|
820
758
|
|
|
821
759
|
| Name | Type | Default | Description |
|
|
822
760
|
| --- | --- | --- | --- |
|
|
823
|
-
|
|
|
824
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
825
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
826
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
827
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
828
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
829
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
830
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
831
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
832
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
833
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
834
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
835
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
836
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
837
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
838
|
-
| name | String | — | Name to be given to the input element. |
|
|
839
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
761
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
840
762
|
|
|
841
763
|
## Custom example without the tick
|
|
842
764
|
|
|
@@ -955,23 +877,7 @@ export default () => {
|
|
|
955
877
|
|
|
956
878
|
| Name | Type | Default | Description |
|
|
957
879
|
| --- | --- | --- | --- |
|
|
958
|
-
|
|
|
959
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
960
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
961
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
962
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
963
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
964
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
965
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
966
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
967
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
968
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
969
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
970
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
971
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
972
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
973
|
-
| name | String | — | Name to be given to the input element. |
|
|
974
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
880
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
975
881
|
|
|
976
882
|
## RadioButton with custom icon
|
|
977
883
|
|
|
@@ -1252,20 +1158,4 @@ export default () => {
|
|
|
1252
1158
|
|
|
1253
1159
|
| Name | Type | Default | Description |
|
|
1254
1160
|
| --- | --- | --- | --- |
|
|
1255
|
-
|
|
|
1256
|
-
| defaultChecked | Boolean | — | Defines whether the radio is initially checked or not (state can be changed on click). |
|
|
1257
|
-
| checked | Boolean | — | Defines whether the radio is checked or not (for controlled usage). |
|
|
1258
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
1259
|
-
| inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
|
|
1260
|
-
| right | Boolean | false | Displays the icon on the right side of the text. |
|
|
1261
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
|
|
1262
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
1263
|
-
| inputRef | Ref | — | Ref which is added to the input element. |
|
|
1264
|
-
| onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
|
|
1265
|
-
| onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
|
|
1266
|
-
| className | String | — | Additional classes to be set on the input element. |
|
|
1267
|
-
| children | any | — | Any element to be rendered inside the text element. |
|
|
1268
|
-
| icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
|
|
1269
|
-
| iconSize | Number | — | The icon Size in px. |
|
|
1270
|
-
| name | String | — | Name to be given to the input element. |
|
|
1271
|
-
| iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
|
|
1161
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/releaseNotes
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:47.269Z
|
|
7
7
|
|
|
8
8
|
Component to render release notes in a standardized manner.
|
|
9
9
|
|
|
@@ -121,15 +121,4 @@ export default () => <ReleaseNotes releaseNotes={releaseNotes[translationKey]} /
|
|
|
121
121
|
</div>
|
|
122
122
|
</div>
|
|
123
123
|
</div>
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
#### Props (json)
|
|
127
|
-
|
|
128
|
-
```json
|
|
129
|
-
{
|
|
130
|
-
"0.1.2": {
|
|
131
|
-
date: String,
|
|
132
|
-
content: arrayOf(nodes) or single node,
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
124
|
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/resizer
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:47.328Z
|
|
7
7
|
|
|
8
8
|
A helper component to allow elements to resize.
|
|
9
9
|
|
|
@@ -147,16 +147,4 @@ export default class ResizeExample extends Component {
|
|
|
147
147
|
</div>
|
|
148
148
|
</div>
|
|
149
149
|
</div>
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
#### Props
|
|
153
|
-
|
|
154
|
-
| Name | Type | Default | Description |
|
|
155
|
-
| --- | --- | --- | --- |
|
|
156
|
-
| direction | String | Resizer.HORIZONTAL | Defines on which axis to resize. Possible values are: Resizer.HORIZONTAL Resizer.VERTICAL or 'x' 'y' |
|
|
157
|
-
| position | String | Resizer.RIGHT | Defines where the resize handle is positioned relative to the element to resize. Possible values are: Resizer.LEFT Resizer.RIGHT Resizer.TOP Resizer.BOTTOM or 'left' 'right' 'top' 'bottom' |
|
|
158
|
-
| onResizeStart | Function | — | Callback when the resize starts, means when the handle is pressed. It returns the respective event. |
|
|
159
|
-
| onResizeEnd | Function | — | Callback when the resize ends, means when the handle is released. It returns the respective event. |
|
|
160
|
-
| onResize | Function | — | Callback when the resize handle is moved. The function returns the distant between the last position and the mouse movement. Means you can either subtract or add this diff to the elements width you want to change. |
|
|
161
|
-
| className | String | — | Additional classes to be set on the wrapper element. |
|
|
162
|
-
| children | any | — | Any element to be rendered inside the resizer handle. |
|
|
150
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/responsiveColumnStripe
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:33.190Z
|
|
7
7
|
|
|
8
8
|
The ResponsiveColumnStripe component is designed to work with any list of items. The individual items are spread equally according to the available space. The component is totally customizable and does not style the individual items to give maximum flexibility.
|
|
9
9
|
|
|
@@ -415,21 +415,4 @@ const ComplexDemoContent = ({ day, date, active }: ComplexDemoContentProps) => (
|
|
|
415
415
|
</div>
|
|
416
416
|
</div>
|
|
417
417
|
</div>
|
|
418
|
-
```
|
|
419
|
-
|
|
420
|
-
#### Props
|
|
421
|
-
|
|
422
|
-
| Name | Type | Default | Description |
|
|
423
|
-
| --- | --- | --- | --- |
|
|
424
|
-
| minColumnWith | Number | 300 | The minimum width in pixel of a single column. This value determines how many columns are shown per page depending on the parent width. |
|
|
425
|
-
| minColumns | Number | 1 | The minimum amount of columns that should be shown per page. |
|
|
426
|
-
| maxColumns | Number | 5 | The maximum amount of columns that should be shown per page. |
|
|
427
|
-
| stretchLastItems | Boolean | false | Defines whether the items on the last page are stretched out to fill the space. |
|
|
428
|
-
| activePage | Number | 0 | The page that shall be shown. This can be used to control the pages from outside. |
|
|
429
|
-
| asType | String | div | The DOM element type of the wrapping column element. If you need a list, this might be set to "ul". |
|
|
430
|
-
| disableAnimation | Boolean | false | Set to true to skip animating pages. |
|
|
431
|
-
| onPreviousClick | (pageNumber: number, columnsPerPage: number) => void | — | Callback function for when the previous page is clicked. |
|
|
432
|
-
| onNextClick | (pageNumber: number, columnsPerPage: number) => void | — | Callback function for when the next page is clicked. |
|
|
433
|
-
| buttonClassName | String | — | Additional classes set to the navigation buttons. |
|
|
434
|
-
| columnsWrapperClassName | String | — | Additional classes set to the component wrapper element. |
|
|
435
|
-
| className | String | — | Additional classes set to the column wrapper element. |
|
|
418
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/responsiveVideo
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:48.178Z
|
|
7
7
|
|
|
8
8
|
## Responsive Video
|
|
9
9
|
|
|
@@ -59,13 +59,4 @@ export default () => (
|
|
|
59
59
|
</iframe>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
#### Props
|
|
65
|
-
|
|
66
|
-
| Name | Type | Default | Description |
|
|
67
|
-
| --- | --- | --- | --- |
|
|
68
|
-
| src | String | — | The link to the source of the video file. |
|
|
69
|
-
| aspectRatio | String | ResponsiveVideo.ASPECT_RATIO_16_BY_9 | Defined the aspect ratio of the video. Possible values are: ResponsiveVideo.ASPECT_RATIO_4_BY_3, ResponsiveVideo.ASPECT_RATIO_16_BY_9 or '4by3', '16by9' |
|
|
70
|
-
| allowFullScreen | Boolean | true | Allows the fullscreen feature of the underlying embedded iframe. |
|
|
71
|
-
| className | String | — | Additional classes added to the wrapping element. |
|
|
62
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/rioglyph
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:48.689Z
|
|
7
7
|
|
|
8
8
|
The Rioglyph component is a React wrapper for the Rioglyph icon set. It provides a convenient and type-safe way to render icons without directly dealing with the utility classnames.
|
|
9
9
|
|
|
@@ -318,14 +318,4 @@ export default () => (
|
|
|
318
318
|
|
|
319
319
|
| Name | Type | Default | Description |
|
|
320
320
|
| --- | --- | --- | --- |
|
|
321
|
-
| icon | string | — |
|
|
322
|
-
| iconClassName | string | — | Additional classes set to the icon. |
|
|
323
|
-
| size | string | — | The possible values are: h1, h2, h3, h4, h5, h6 as well as the following size values 10, 11, 12, 14, 16, 18, 20 |
|
|
324
|
-
| spinning | boolean | — | Uses the spinning animation. |
|
|
325
|
-
| pulsing | boolean | — | Uses the pulsing animation. |
|
|
326
|
-
| pairIcon | string | — | The rioglyph icon string OR an external .svg link |
|
|
327
|
-
| pairIconClassName | string | — | Additional classes set to the pairIcon. |
|
|
328
|
-
| filled | boolean | — | Add a round background to the icon |
|
|
329
|
-
| disabled | boolean | — | Add a disabled line |
|
|
330
|
-
| disabledInverse | boolean | — | Flip the disabled line |
|
|
331
|
-
| disabledDanger | boolean | — | Recolor the disabled line to the danger color |
|
|
321
|
+
| icon | string | — | — |
|