@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:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/feedback
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:44.893Z
|
|
7
7
|
|
|
8
8
|
## FeedbackRating
|
|
9
9
|
|
|
@@ -287,21 +287,6 @@ export default () => {
|
|
|
287
287
|
</div>
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
#### Props
|
|
291
|
-
|
|
292
|
-
| Name | Type | Default | Description |
|
|
293
|
-
| --- | --- | --- | --- |
|
|
294
|
-
| headline | ReactNode | — | Optional headline |
|
|
295
|
-
| circleButtons | Boolean | false | Defines whether the buttons are round. |
|
|
296
|
-
| buttonClassName | String | — | Optional class names applied to the individual buttons. |
|
|
297
|
-
| buttonLabels | ReactNode[] | — | Array of button labels that will be used instead of the index. There needs to be a label for each button defined. |
|
|
298
|
-
| buttonStyles | { bsSize?: BUTTON_SIZE; bsStyle?: BUTTON_STYLE; variant?: BUTTON_VARIANT, className?: string }[] | — | Array of button styles to individually define the button size, style and variant. There needs to be a item for each button defined. See Button component. |
|
|
299
|
-
| leftLabel | ReactNode | — | Left aligned label to name the lowest rating option. |
|
|
300
|
-
| rightLabel | ReactNode | — | Right aligned label to name the highest rating option. |
|
|
301
|
-
| leadingIcon | ReactNode | — | Additional icon placed in front of the rating buttons. |
|
|
302
|
-
| trailingIcon | ReactNode | — | Additional icon placed after the rating buttons. |
|
|
303
|
-
| onRatingChanged | (rating: number \| undefined) => void | — | Callback triggered when the rating changes. |
|
|
304
|
-
|
|
305
290
|
## FeedbackInlineButtons
|
|
306
291
|
|
|
307
292
|
### Example: Was this helpful?
|
|
@@ -528,13 +513,6 @@ const CustomInlineButton = (props: CustomInlineButtonProps) => {
|
|
|
528
513
|
</div>
|
|
529
514
|
```
|
|
530
515
|
|
|
531
|
-
#### Props
|
|
532
|
-
|
|
533
|
-
| Name | Type | Default | Description |
|
|
534
|
-
| --- | --- | --- | --- |
|
|
535
|
-
| headline | ReactNode | — | Optional headline |
|
|
536
|
-
| buttons | ReactNode[] | — | List of buttons to be shown. |
|
|
537
|
-
|
|
538
516
|
## FeedbackReactions
|
|
539
517
|
|
|
540
518
|
### Example: Example 3
|
|
@@ -737,22 +715,4 @@ export default () => {
|
|
|
737
715
|
</div>
|
|
738
716
|
</div>
|
|
739
717
|
</div>
|
|
740
|
-
```
|
|
741
|
-
|
|
742
|
-
#### Props
|
|
743
|
-
|
|
744
|
-
| Name | Type | Default | Description |
|
|
745
|
-
| --- | --- | --- | --- |
|
|
746
|
-
| headline | ReactNode | — | Optional headline |
|
|
747
|
-
| size | "sm" \| "md" | — | Size of the reaction buttons. |
|
|
748
|
-
| labelPosition | "bottom" \| "right" | bottom | Position of the reaction button labels. |
|
|
749
|
-
| labelUp | ReactNode | — | Label for the up button. |
|
|
750
|
-
| labelDown | ReactNode | — | Label for the down button. |
|
|
751
|
-
| colorFillUp | string | bg-lightest | Custom fill color for the up button. |
|
|
752
|
-
| colorFillDown | string | bg-lightest | Custom fill color for the down button. |
|
|
753
|
-
| colorHoverUp | string | primary | Custom hover color for the up button. |
|
|
754
|
-
| colorHoverDown | string | primary | Custom hover color for the down button. |
|
|
755
|
-
| onVoteUp | VoidFunction | — | Callback function triggered on up vote. |
|
|
756
|
-
| onVoteDown | VoidFunction | — | Callback function triggered on down vote. |
|
|
757
|
-
| itemClassName | string | — | Additional classes applied to the individual reaction item (button and label). |
|
|
758
|
-
| animated | boolean | false | Defines whether the reaction icon is animated. |
|
|
718
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Pickers
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/filePickers
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:21.639Z
|
|
7
7
|
|
|
8
8
|
## FilePicker
|
|
9
9
|
|
|
@@ -94,20 +94,6 @@ export default FilePickerExample;
|
|
|
94
94
|
</div>
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
#### Props
|
|
98
|
-
|
|
99
|
-
| Name | Type | Default | Description |
|
|
100
|
-
| --- | --- | --- | --- |
|
|
101
|
-
| displayMode | String | button | Defines the file picker display mode. Possible values are: button for a single button, dropzone for a custom dropzone passed as child function or full for showing both. |
|
|
102
|
-
| multiple | Boolean | true | Indicating if multiple files may be selected. |
|
|
103
|
-
| label | String / Node | Select Files | Text to display on Button if displayMode is set to "button". |
|
|
104
|
-
| accept | Object | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
105
|
-
| maxSize | Number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
106
|
-
| onPick | (files: FileList \| null) => void | () => {} | Callback function after one or multiple files have been picked. |
|
|
107
|
-
| fullHeight | boolean | false | Flag to set the dropzone wrapper element to 100% height. This comes in handy, when the dropzone should have 100 % height so it can grow. |
|
|
108
|
-
| className | String | — | Additional classes for the select button. |
|
|
109
|
-
| children | ({ isDragActive }: FilePickerRenderProps) => any | — | Pass a custom dropzone element as function receiving some render props. |
|
|
110
|
-
|
|
111
97
|
### Example: Example 2
|
|
112
98
|
|
|
113
99
|
FilePicker for multiple images and with dropzoneSelect multiple ImagesDrag & drop files here, or click to select files
|
|
@@ -221,20 +207,6 @@ export default FilePickerWithDropzoneExample;
|
|
|
221
207
|
</div>
|
|
222
208
|
```
|
|
223
209
|
|
|
224
|
-
#### Props
|
|
225
|
-
|
|
226
|
-
| Name | Type | Default | Description |
|
|
227
|
-
| --- | --- | --- | --- |
|
|
228
|
-
| displayMode | String | button | Defines the file picker display mode. Possible values are: button for a single button, dropzone for a custom dropzone passed as child function or full for showing both. |
|
|
229
|
-
| multiple | Boolean | true | Indicating if multiple files may be selected. |
|
|
230
|
-
| label | String / Node | Select Files | Text to display on Button if displayMode is set to "button". |
|
|
231
|
-
| accept | Object | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
232
|
-
| maxSize | Number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
233
|
-
| onPick | (files: FileList \| null) => void | () => {} | Callback function after one or multiple files have been picked. |
|
|
234
|
-
| fullHeight | boolean | false | Flag to set the dropzone wrapper element to 100% height. This comes in handy, when the dropzone should have 100 % height so it can grow. |
|
|
235
|
-
| className | String | — | Additional classes for the select button. |
|
|
236
|
-
| children | ({ isDragActive }: FilePickerRenderProps) => any | — | Pass a custom dropzone element as function receiving some render props. |
|
|
237
|
-
|
|
238
210
|
### Example: You have no file selected yet
|
|
239
211
|
|
|
240
212
|
FilePicker for all files and with dropzone onlyDrag & drop PDF files here or click to select
|
|
@@ -353,18 +325,4 @@ export default FilePickerDocumentExample;
|
|
|
353
325
|
</div>
|
|
354
326
|
</div>
|
|
355
327
|
</div>
|
|
356
|
-
```
|
|
357
|
-
|
|
358
|
-
#### Props
|
|
359
|
-
|
|
360
|
-
| Name | Type | Default | Description |
|
|
361
|
-
| --- | --- | --- | --- |
|
|
362
|
-
| displayMode | String | button | Defines the file picker display mode. Possible values are: button for a single button, dropzone for a custom dropzone passed as child function or full for showing both. |
|
|
363
|
-
| multiple | Boolean | true | Indicating if multiple files may be selected. |
|
|
364
|
-
| label | String / Node | Select Files | Text to display on Button if displayMode is set to "button". |
|
|
365
|
-
| accept | Object | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
366
|
-
| maxSize | Number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
367
|
-
| onPick | (files: FileList \| null) => void | () => {} | Callback function after one or multiple files have been picked. |
|
|
368
|
-
| fullHeight | boolean | false | Flag to set the dropzone wrapper element to 100% height. This comes in handy, when the dropzone should have 100 % height so it can grow. |
|
|
369
|
-
| className | String | — | Additional classes for the select button. |
|
|
370
|
-
| children | ({ isDragActive }: FilePickerRenderProps) => any | — | Pass a custom dropzone element as function receiving some render props. |
|
|
328
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/formLabel
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:29.926Z
|
|
7
7
|
|
|
8
8
|
A small convenience component for a form label or just a label style used without a form element.
|
|
9
9
|
|
|
@@ -147,14 +147,6 @@ export default () => {
|
|
|
147
147
|
</div>
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
#### Props
|
|
151
|
-
|
|
152
|
-
| Name | Type | Default | Description |
|
|
153
|
-
| --- | --- | --- | --- |
|
|
154
|
-
| htmlFor | string | — | Used for form elements. If given the tag will be set to "label", otherwise it uses a "div". |
|
|
155
|
-
| supportingText | String / Node | — | Additional supporting text displayed next to the label. |
|
|
156
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
157
|
-
|
|
158
150
|
### Example: A label for some large buttons
|
|
159
151
|
|
|
160
152
|
Labels for various sized elements using the form-group-sm and form-group-lg class on the parent element.
|
|
@@ -240,12 +232,4 @@ export default () => {
|
|
|
240
232
|
</div>
|
|
241
233
|
</div>
|
|
242
234
|
</div>
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
#### Props
|
|
246
|
-
|
|
247
|
-
| Name | Type | Default | Description |
|
|
248
|
-
| --- | --- | --- | --- |
|
|
249
|
-
| htmlFor | string | — | Used for form elements. If given the tag will be set to "label", otherwise it uses a "div". |
|
|
250
|
-
| supportingText | String / Node | — | Additional supporting text displayed next to the label. |
|
|
251
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
235
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/groupedItemList
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:31.565Z
|
|
7
7
|
|
|
8
8
|
## GroupedItemList
|
|
9
9
|
|
|
@@ -384,23 +384,6 @@ export default () => {
|
|
|
384
384
|
</div>
|
|
385
385
|
```
|
|
386
386
|
|
|
387
|
-
#### Props
|
|
388
|
-
|
|
389
|
-
| Name | Type | Default | Description |
|
|
390
|
-
| --- | --- | --- | --- |
|
|
391
|
-
| items | Array | — | The list of items to be grouped and rendered. By default, the component assumes an item object containing an "id" and "name" property plus some other attributes. |
|
|
392
|
-
| groupBy | String / Function | — | The property of the items to group by, either as a string (e.g., "name") or a custom grouping function. If not provided, it defaults to grouping by "name". |
|
|
393
|
-
| groupSortOrder | String | asc | Defines the sort order for groups. Accepts "asc" for ascending or "desc" for descending order. |
|
|
394
|
-
| itemSortOrder | String | asc | Defines the sort order for items within each group. Accepts "asc" for ascending or "desc" for descending order. |
|
|
395
|
-
| groupSortFunction | Function | — | Optional sorting function for the groups. It takes an array of groups and returns them in the desired order. |
|
|
396
|
-
| itemSortFunction | Function | — | Optional sorting function for items within each group. It takes an array of items and returns them in the desired order. |
|
|
397
|
-
| renderDivider | Function | — | Custom render function for the group divider. Receives the group key as a parameter and should return a React node to render as the divider. |
|
|
398
|
-
| renderItem | Function | — | Custom render function for individual list items. Receives an item as a parameter and should return a React node representing the item. |
|
|
399
|
-
| listElement | "div" \| "ul" | div | Specifies the HTML element to use for the list inside each group. Defaults to "div", but "ul" can be used if rendering list items as `<li>` elements. |
|
|
400
|
-
| listElementClassName | String | — | Optional class name for the list element inside each group (applies to the `div` or `ul` wrapping the items). |
|
|
401
|
-
| dividerElementClassName | String | — | Optional class name for the divider element in each group (applies to the `div` wrapping each group divider). |
|
|
402
|
-
| className | String | — | Optional class name for the outer wrapper element (applies to the outer `div` wrapping the entire component). |
|
|
403
|
-
|
|
404
387
|
### Example: Grouped by date
|
|
405
388
|
|
|
406
389
|
Grouped by date
|
|
@@ -726,23 +709,6 @@ export default () => {
|
|
|
726
709
|
</div>
|
|
727
710
|
```
|
|
728
711
|
|
|
729
|
-
#### Props
|
|
730
|
-
|
|
731
|
-
| Name | Type | Default | Description |
|
|
732
|
-
| --- | --- | --- | --- |
|
|
733
|
-
| items | Array | — | The list of items to be grouped and rendered. By default, the component assumes an item object containing an "id" and "name" property plus some other attributes. |
|
|
734
|
-
| groupBy | String / Function | — | The property of the items to group by, either as a string (e.g., "name") or a custom grouping function. If not provided, it defaults to grouping by "name". |
|
|
735
|
-
| groupSortOrder | String | asc | Defines the sort order for groups. Accepts "asc" for ascending or "desc" for descending order. |
|
|
736
|
-
| itemSortOrder | String | asc | Defines the sort order for items within each group. Accepts "asc" for ascending or "desc" for descending order. |
|
|
737
|
-
| groupSortFunction | Function | — | Optional sorting function for the groups. It takes an array of groups and returns them in the desired order. |
|
|
738
|
-
| itemSortFunction | Function | — | Optional sorting function for items within each group. It takes an array of items and returns them in the desired order. |
|
|
739
|
-
| renderDivider | Function | — | Custom render function for the group divider. Receives the group key as a parameter and should return a React node to render as the divider. |
|
|
740
|
-
| renderItem | Function | — | Custom render function for individual list items. Receives an item as a parameter and should return a React node representing the item. |
|
|
741
|
-
| listElement | "div" \| "ul" | div | Specifies the HTML element to use for the list inside each group. Defaults to "div", but "ul" can be used if rendering list items as `<li>` elements. |
|
|
742
|
-
| listElementClassName | String | — | Optional class name for the list element inside each group (applies to the `div` or `ul` wrapping the items). |
|
|
743
|
-
| dividerElementClassName | String | — | Optional class name for the divider element in each group (applies to the `div` wrapping each group divider). |
|
|
744
|
-
| className | String | — | Optional class name for the outer wrapper element (applies to the outer `div` wrapping the entire component). |
|
|
745
|
-
|
|
746
712
|
### Example: Example 3
|
|
747
713
|
|
|
748
714
|
Grouped by custom key with basic styling
|
|
@@ -981,21 +947,4 @@ export default () => {
|
|
|
981
947
|
</ul>
|
|
982
948
|
</div>
|
|
983
949
|
</div>
|
|
984
|
-
```
|
|
985
|
-
|
|
986
|
-
#### Props
|
|
987
|
-
|
|
988
|
-
| Name | Type | Default | Description |
|
|
989
|
-
| --- | --- | --- | --- |
|
|
990
|
-
| items | Array | — | The list of items to be grouped and rendered. By default, the component assumes an item object containing an "id" and "name" property plus some other attributes. |
|
|
991
|
-
| groupBy | String / Function | — | The property of the items to group by, either as a string (e.g., "name") or a custom grouping function. If not provided, it defaults to grouping by "name". |
|
|
992
|
-
| groupSortOrder | String | asc | Defines the sort order for groups. Accepts "asc" for ascending or "desc" for descending order. |
|
|
993
|
-
| itemSortOrder | String | asc | Defines the sort order for items within each group. Accepts "asc" for ascending or "desc" for descending order. |
|
|
994
|
-
| groupSortFunction | Function | — | Optional sorting function for the groups. It takes an array of groups and returns them in the desired order. |
|
|
995
|
-
| itemSortFunction | Function | — | Optional sorting function for items within each group. It takes an array of items and returns them in the desired order. |
|
|
996
|
-
| renderDivider | Function | — | Custom render function for the group divider. Receives the group key as a parameter and should return a React node to render as the divider. |
|
|
997
|
-
| renderItem | Function | — | Custom render function for individual list items. Receives an item as a parameter and should return a React node representing the item. |
|
|
998
|
-
| listElement | "div" \| "ul" | div | Specifies the HTML element to use for the list inside each group. Defaults to "div", but "ul" can be used if rendering list items as `<li>` elements. |
|
|
999
|
-
| listElementClassName | String | — | Optional class name for the list element inside each group (applies to the `div` or `ul` wrapping the items). |
|
|
1000
|
-
| dividerElementClassName | String | — | Optional class name for the divider element in each group (applies to the `div` wrapping each group divider). |
|
|
1001
|
-
| className | String | — | Optional class name for the outer wrapper element (applies to the outer `div` wrapping the entire component). |
|
|
950
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* CSS Only
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/iconList
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:54.600Z
|
|
7
7
|
|
|
8
8
|
The timeline component is a pure CSS component.
|
|
9
9
|
|
|
@@ -92,13 +92,13 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget ma
|
|
|
92
92
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</span>
|
|
93
93
|
</li>
|
|
94
94
|
<li>
|
|
95
|
-
<span class="rioglyph rioglyph-
|
|
95
|
+
<span class="rioglyph rioglyph-truck margin-top--1">
|
|
96
96
|
</span>
|
|
97
97
|
<span>
|
|
98
98
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</span>
|
|
99
99
|
</li>
|
|
100
100
|
<li>
|
|
101
|
-
<span class="rioglyph rioglyph-
|
|
101
|
+
<span class="rioglyph rioglyph-driver margin-top--1">
|
|
102
102
|
</span>
|
|
103
103
|
<span>
|
|
104
104
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</span>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/imagePreloader
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:43.444Z
|
|
7
7
|
|
|
8
8
|
Use the preloader for controlling the various states when fetching the image. It allows to handle the failure case as well.
|
|
9
9
|
|
|
@@ -160,8 +160,4 @@ const failedImageExample = (
|
|
|
160
160
|
|
|
161
161
|
| Name | Type | Default | Description |
|
|
162
162
|
| --- | --- | --- | --- |
|
|
163
|
-
|
|
|
164
|
-
| onLoaded | (image: HTMLImageElement) => void | () => {} | Invoked when the image is loaded. The image object will be passed as argument. |
|
|
165
|
-
| onFailed | (image: HTMLImageElement) => void | () => {} | Invoked when the image failed to load. The image object will be passed as argument. |
|
|
166
|
-
| isAnonymous | Boolean | false | Defines whether to set "crossOrigin" to "Anonymous" or not. |
|
|
167
|
-
| children | (props: { status: ImagePreloaderStatus; image: HTMLImageElement }) => JSX.Element \| null | — | A render function can be used to access both the current state and the image element. Using this, you can decide how to render the different states and/or the loaded image. The function will receive props containing the status and image properties. status will be one of 'PENDING', 'FAILED' or 'LOADED'. image is the Image element. |
|
|
163
|
+
| children | | — | — |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/labeledElement
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:31.514Z
|
|
7
7
|
|
|
8
8
|
A simple wrapper component that associates a label with any content, ensuring a unified label style. It simplifies the usage of labels for both form and non-form elements by using the FormLabelcomponent internally. For more flexibility, you can also use it directly when needed.
|
|
9
9
|
|
|
@@ -103,13 +103,4 @@ export default () => (
|
|
|
103
103
|
<span class="text-size-16 text-color-darker">Lorem ipsum dolor</span>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
#### Props
|
|
109
|
-
|
|
110
|
-
| Name | Type | Default | Description |
|
|
111
|
-
| --- | --- | --- | --- |
|
|
112
|
-
| label | string \| React.ReactElement | — | The text to display for the label. |
|
|
113
|
-
| labelProps | FormLabelProps | — | Additional props for the FormLabel, excluding children and htmlFor. |
|
|
114
|
-
| noGap | boolean | false | If true, removes the bottom margin from the label. |
|
|
115
|
-
| className | String | — | Additional classes to be set on the wrapper element. |
|
|
106
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/licensePlate
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:44.028Z
|
|
7
7
|
|
|
8
8
|
The LicensePlate component is designed to display license plate information with various customization options. It is built with container queries, which ensure that design elements are shown or hidden based on the available space.
|
|
9
9
|
|
|
@@ -401,12 +401,4 @@ export default () => {
|
|
|
401
401
|
</div>
|
|
402
402
|
</div>
|
|
403
403
|
</div>
|
|
404
|
-
```
|
|
405
|
-
|
|
406
|
-
#### Props
|
|
407
|
-
|
|
408
|
-
| Name | Type | Default | Description |
|
|
409
|
-
| --- | --- | --- | --- |
|
|
410
|
-
| countryCode | string | — | The country code. Should be a string with 1-3 capital letters. |
|
|
411
|
-
| hideStars | boolean | false | Whether the EU stars should be hidden. |
|
|
412
|
-
| className | string | — | Additional classes added to the wrapping element. |
|
|
404
|
+
```
|