@rio-cloud/uikit-mcp 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +5 -5
- package/dist/docs/components/activity.md +7 -7
- package/dist/docs/components/animatedNumber.md +10 -10
- package/dist/docs/components/animatedTextReveal.md +42 -43
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +20 -35
- package/dist/docs/components/appLayout.md +198 -221
- package/dist/docs/components/appNavigationBar.md +21 -21
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +4 -5
- package/dist/docs/components/assetTree.md +887 -614
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +7 -7
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +173 -173
- package/dist/docs/components/barList.md +19 -41
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +74 -74
- package/dist/docs/components/button.md +161 -71
- package/dist/docs/components/buttonToolbar.md +3 -3
- package/dist/docs/components/calendarStripe.md +71 -123
- package/dist/docs/components/card.md +4 -4
- 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 +2 -2
- package/dist/docs/components/checkbox.md +56 -131
- package/dist/docs/components/clearableInput.md +23 -127
- package/dist/docs/components/collapse.md +14 -16
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +125 -122
- package/dist/docs/components/dataTabs.md +103 -93
- package/dist/docs/components/datepickers.md +734 -764
- package/dist/docs/components/dialogs.md +299 -186
- package/dist/docs/components/divider.md +4 -4
- package/dist/docs/components/dropdowns.md +4555 -4498
- package/dist/docs/components/editableContent.md +97 -97
- package/dist/docs/components/expander.md +56 -56
- package/dist/docs/components/fade.md +41 -41
- package/dist/docs/components/fadeExpander.md +4 -4
- package/dist/docs/components/fadeUp.md +8 -10
- package/dist/docs/components/feedback.md +22 -21
- package/dist/docs/components/filePickers.md +25 -25
- package/dist/docs/components/formLabel.md +5 -7
- package/dist/docs/components/groupedItemList.md +37 -37
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +6 -6
- package/dist/docs/components/labeledElement.md +4 -3
- package/dist/docs/components/licensePlate.md +2 -2
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +63 -41
- package/dist/docs/components/loadMore.md +17 -17
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +1 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +339 -345
- package/dist/docs/components/mapPolygon.md +16 -20
- package/dist/docs/components/mapRoute.md +14 -20
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +263 -274
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +11 -11
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +39 -37
- package/dist/docs/components/onboarding.md +18 -38
- package/dist/docs/components/page.md +16 -16
- package/dist/docs/components/pager.md +8 -8
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +37 -53
- package/dist/docs/components/position.md +4 -4
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +209 -191
- package/dist/docs/components/releaseNotes.md +9 -3
- package/dist/docs/components/resizer.md +7 -8
- package/dist/docs/components/responsiveColumnStripe.md +11 -11
- package/dist/docs/components/responsiveVideo.md +5 -5
- package/dist/docs/components/rioglyph.md +11 -11
- package/dist/docs/components/rules.md +118 -92
- package/dist/docs/components/saveableInput.md +366 -356
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +22 -23
- package/dist/docs/components/sliders.md +26 -26
- package/dist/docs/components/smoothScrollbars.md +61 -25
- package/dist/docs/components/spinners.md +32 -30
- package/dist/docs/components/states.md +236 -245
- package/dist/docs/components/statsWidgets.md +37 -28
- package/dist/docs/components/statusBar.md +22 -22
- package/dist/docs/components/stepButton.md +2 -2
- package/dist/docs/components/steppedProgressBars.md +45 -45
- package/dist/docs/components/subNavigation.md +3 -3
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -38
- package/dist/docs/components/switch.md +11 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +40 -40
- package/dist/docs/components/tags.md +21 -20
- package/dist/docs/components/teaser.md +22 -23
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +17 -13
- package/dist/docs/components/toggleButton.md +65 -29
- package/dist/docs/components/tooltip.md +27 -50
- package/dist/docs/components/virtualList.md +75 -75
- 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 +197 -197
- package/dist/docs/templates/loading-progress.md +1 -1
- 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 +58 -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 -8
- package/dist/version.json +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/fade
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:26.307Z
|
|
7
7
|
|
|
8
8
|
The Fade component fades in and out content with a given animation style.
|
|
9
9
|
|
|
@@ -148,14 +148,14 @@ export default () => {
|
|
|
148
148
|
|
|
149
149
|
| Name | Type | Default | Description |
|
|
150
150
|
| --- | --- | --- | --- |
|
|
151
|
-
| show |
|
|
152
|
-
| duration |
|
|
153
|
-
| initial |
|
|
154
|
-
| animationStyle |
|
|
155
|
-
| exitBeforeEnter |
|
|
156
|
-
| onExitComplete |
|
|
157
|
-
| animatePresenceProps |
|
|
158
|
-
| motionProps |
|
|
151
|
+
| show | boolean | true | Defines whether to show the content. |
|
|
152
|
+
| duration | number | 0.2 | Duration of the fade animation in seconds. |
|
|
153
|
+
| initial | boolean | false | Defines whether the animation is triggered initially when showing the content. |
|
|
154
|
+
| animationStyle | 'fade' \| 'tabs' \| 'page' \| 'pageBack' \| 'fromLeft' \| 'fromRight' \| 'fromTop' \| 'fromBottom' | 'fade' | Defines the desired animation style. Possible values are: - fade - tabs - page - pageBack - fromLeft - fromRight - fromTop - fromBottom |
|
|
155
|
+
| exitBeforeEnter | boolean | false | If set to true, only one component will be rendered at a time. The exiting component will finish its exit animation before the entering component is rendered. |
|
|
156
|
+
| onExitComplete | VoidFunction | () => {} | Fires when all exiting nodes have completed animating out. |
|
|
157
|
+
| animatePresenceProps | object | — | Additional custom props for the underlying Framer motion AnimatePresence component. Use this for additional customizations. |
|
|
158
|
+
| motionProps | object | — | Additional custom props for the underlying Framer motion <motion.div> component. Use this for additional customizations. |
|
|
159
159
|
|
|
160
160
|
### Example: Example 2
|
|
161
161
|
|
|
@@ -263,14 +263,14 @@ const ContentTab2 = () => (
|
|
|
263
263
|
|
|
264
264
|
| Name | Type | Default | Description |
|
|
265
265
|
| --- | --- | --- | --- |
|
|
266
|
-
| show |
|
|
267
|
-
| duration |
|
|
268
|
-
| initial |
|
|
269
|
-
| animationStyle |
|
|
270
|
-
| exitBeforeEnter |
|
|
271
|
-
| onExitComplete |
|
|
272
|
-
| animatePresenceProps |
|
|
273
|
-
| motionProps |
|
|
266
|
+
| show | boolean | true | Defines whether to show the content. |
|
|
267
|
+
| duration | number | 0.2 | Duration of the fade animation in seconds. |
|
|
268
|
+
| initial | boolean | false | Defines whether the animation is triggered initially when showing the content. |
|
|
269
|
+
| animationStyle | 'fade' \| 'tabs' \| 'page' \| 'pageBack' \| 'fromLeft' \| 'fromRight' \| 'fromTop' \| 'fromBottom' | 'fade' | Defines the desired animation style. Possible values are: - fade - tabs - page - pageBack - fromLeft - fromRight - fromTop - fromBottom |
|
|
270
|
+
| exitBeforeEnter | boolean | false | If set to true, only one component will be rendered at a time. The exiting component will finish its exit animation before the entering component is rendered. |
|
|
271
|
+
| onExitComplete | VoidFunction | () => {} | Fires when all exiting nodes have completed animating out. |
|
|
272
|
+
| animatePresenceProps | object | — | Additional custom props for the underlying Framer motion AnimatePresence component. Use this for additional customizations. |
|
|
273
|
+
| motionProps | object | — | Additional custom props for the underlying Framer motion <motion.div> component. Use this for additional customizations. |
|
|
274
274
|
|
|
275
275
|
### Example: Example 3
|
|
276
276
|
|
|
@@ -392,14 +392,14 @@ const ContentTab2 = () => (
|
|
|
392
392
|
|
|
393
393
|
| Name | Type | Default | Description |
|
|
394
394
|
| --- | --- | --- | --- |
|
|
395
|
-
| show |
|
|
396
|
-
| duration |
|
|
397
|
-
| initial |
|
|
398
|
-
| animationStyle |
|
|
399
|
-
| exitBeforeEnter |
|
|
400
|
-
| onExitComplete |
|
|
401
|
-
| animatePresenceProps |
|
|
402
|
-
| motionProps |
|
|
395
|
+
| show | boolean | true | Defines whether to show the content. |
|
|
396
|
+
| duration | number | 0.2 | Duration of the fade animation in seconds. |
|
|
397
|
+
| initial | boolean | false | Defines whether the animation is triggered initially when showing the content. |
|
|
398
|
+
| animationStyle | 'fade' \| 'tabs' \| 'page' \| 'pageBack' \| 'fromLeft' \| 'fromRight' \| 'fromTop' \| 'fromBottom' | 'fade' | Defines the desired animation style. Possible values are: - fade - tabs - page - pageBack - fromLeft - fromRight - fromTop - fromBottom |
|
|
399
|
+
| exitBeforeEnter | boolean | false | If set to true, only one component will be rendered at a time. The exiting component will finish its exit animation before the entering component is rendered. |
|
|
400
|
+
| onExitComplete | VoidFunction | () => {} | Fires when all exiting nodes have completed animating out. |
|
|
401
|
+
| animatePresenceProps | object | — | Additional custom props for the underlying Framer motion AnimatePresence component. Use this for additional customizations. |
|
|
402
|
+
| motionProps | object | — | Additional custom props for the underlying Framer motion <motion.div> component. Use this for additional customizations. |
|
|
403
403
|
|
|
404
404
|
### Example: Example 4
|
|
405
405
|
|
|
@@ -570,14 +570,14 @@ const Content3 = () => (
|
|
|
570
570
|
|
|
571
571
|
| Name | Type | Default | Description |
|
|
572
572
|
| --- | --- | --- | --- |
|
|
573
|
-
| show |
|
|
574
|
-
| duration |
|
|
575
|
-
| initial |
|
|
576
|
-
| animationStyle |
|
|
577
|
-
| exitBeforeEnter |
|
|
578
|
-
| onExitComplete |
|
|
579
|
-
| animatePresenceProps |
|
|
580
|
-
| motionProps |
|
|
573
|
+
| show | boolean | true | Defines whether to show the content. |
|
|
574
|
+
| duration | number | 0.2 | Duration of the fade animation in seconds. |
|
|
575
|
+
| initial | boolean | false | Defines whether the animation is triggered initially when showing the content. |
|
|
576
|
+
| animationStyle | 'fade' \| 'tabs' \| 'page' \| 'pageBack' \| 'fromLeft' \| 'fromRight' \| 'fromTop' \| 'fromBottom' | 'fade' | Defines the desired animation style. Possible values are: - fade - tabs - page - pageBack - fromLeft - fromRight - fromTop - fromBottom |
|
|
577
|
+
| exitBeforeEnter | boolean | false | If set to true, only one component will be rendered at a time. The exiting component will finish its exit animation before the entering component is rendered. |
|
|
578
|
+
| onExitComplete | VoidFunction | () => {} | Fires when all exiting nodes have completed animating out. |
|
|
579
|
+
| animatePresenceProps | object | — | Additional custom props for the underlying Framer motion AnimatePresence component. Use this for additional customizations. |
|
|
580
|
+
| motionProps | object | — | Additional custom props for the underlying Framer motion <motion.div> component. Use this for additional customizations. |
|
|
581
581
|
|
|
582
582
|
### Example: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
|
583
583
|
|
|
@@ -826,11 +826,11 @@ const ItemDetails = ({ title = '', onBack }: { title: string | undefined; onBack
|
|
|
826
826
|
|
|
827
827
|
| Name | Type | Default | Description |
|
|
828
828
|
| --- | --- | --- | --- |
|
|
829
|
-
| show |
|
|
830
|
-
| duration |
|
|
831
|
-
| initial |
|
|
832
|
-
| animationStyle |
|
|
833
|
-
| exitBeforeEnter |
|
|
834
|
-
| onExitComplete |
|
|
835
|
-
| animatePresenceProps |
|
|
836
|
-
| motionProps |
|
|
829
|
+
| show | boolean | true | Defines whether to show the content. |
|
|
830
|
+
| duration | number | 0.2 | Duration of the fade animation in seconds. |
|
|
831
|
+
| initial | boolean | false | Defines whether the animation is triggered initially when showing the content. |
|
|
832
|
+
| animationStyle | 'fade' \| 'tabs' \| 'page' \| 'pageBack' \| 'fromLeft' \| 'fromRight' \| 'fromTop' \| 'fromBottom' | 'fade' | Defines the desired animation style. Possible values are: - fade - tabs - page - pageBack - fromLeft - fromRight - fromTop - fromBottom |
|
|
833
|
+
| exitBeforeEnter | boolean | false | If set to true, only one component will be rendered at a time. The exiting component will finish its exit animation before the entering component is rendered. |
|
|
834
|
+
| onExitComplete | VoidFunction | () => {} | Fires when all exiting nodes have completed animating out. |
|
|
835
|
+
| animatePresenceProps | object | — | Additional custom props for the underlying Framer motion AnimatePresence component. Use this for additional customizations. |
|
|
836
|
+
| motionProps | object | — | Additional custom props for the underlying Framer motion <motion.div> component. Use this for additional customizations. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/fadeExpander
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:24.408Z
|
|
7
7
|
|
|
8
8
|
The FadeExpander component fades in and expands when the content.
|
|
9
9
|
|
|
@@ -175,6 +175,6 @@ export default () => {
|
|
|
175
175
|
| Name | Type | Default | Description |
|
|
176
176
|
| --- | --- | --- | --- |
|
|
177
177
|
| show | boolean | false | Defines if the content is shown or not. |
|
|
178
|
-
|
|
|
179
|
-
|
|
|
180
|
-
| className |
|
|
178
|
+
| duration | number | 0.2 | Allows customization of animation duration. |
|
|
179
|
+
| delay | number | 0 | Delay in seconds before starting the animation. |
|
|
180
|
+
| className | string | — | Additional classes set to the wrapper element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/fadeUp
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:25.440Z
|
|
7
7
|
|
|
8
8
|
The FadeUp component fades in when the content appears on the screen. After it faded in, the element will stay on screen. This can be used in a scrolling scenario where elements should fade up when they scroll into view. Using the delay helps to stagger the animation.
|
|
9
9
|
|
|
@@ -143,7 +143,6 @@ export default () => {
|
|
|
143
143
|
return (
|
|
144
144
|
<div className='max-width-500 max-height-500 overflow-auto padding-x-25'>
|
|
145
145
|
{Array.from({ length: 30 }, (_, index) => (
|
|
146
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
|
|
147
146
|
<FadeUp key={index} duration={0.5} delay={0.3}>
|
|
148
147
|
<div className='bg-white rounded border padding-25 margin-bottom-15'>{dummyText}</div>
|
|
149
148
|
</FadeUp>
|
|
@@ -284,10 +283,10 @@ export default () => {
|
|
|
284
283
|
|
|
285
284
|
| Name | Type | Default | Description |
|
|
286
285
|
| --- | --- | --- | --- |
|
|
287
|
-
| delay |
|
|
288
|
-
| duration |
|
|
286
|
+
| delay | number | 0 | Defines the time the animation should wait until it starts. |
|
|
287
|
+
| duration | number | 0.4 | Defines the duration in seconds of the fade up animation. |
|
|
289
288
|
| offset | number | 15 | Defines the y offset from the bottom where the element starts to fade in. |
|
|
290
|
-
| className |
|
|
289
|
+
| className | string | — | Additional classes names added to the motion div wrapper. |
|
|
291
290
|
|
|
292
291
|
### Example: 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.
|
|
293
292
|
|
|
@@ -338,7 +337,6 @@ export default () => {
|
|
|
338
337
|
|
|
339
338
|
<FadeUp delay={1.3} className='display-grid grid-cols-1 grid-cols-3-md gap-15'>
|
|
340
339
|
{Array.from({ length: 3 }, (_, index) => (
|
|
341
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
|
|
342
340
|
<FadeUp key={index} delay={1.5 + index * 0.2}>
|
|
343
341
|
<div className='bg-white rounded border padding-25 margin-bottom-15'>{dummyTextShort}</div>
|
|
344
342
|
</FadeUp>
|
|
@@ -358,7 +356,7 @@ export default () => {
|
|
|
358
356
|
<div class="" style="opacity: 1; transform: none;">
|
|
359
357
|
<h1 class="">Lorem ipsum dolor sit amet</h1>
|
|
360
358
|
</div>
|
|
361
|
-
<div class="" style="opacity: 0; transform: translateY(
|
|
359
|
+
<div class="" style="opacity: 0; transform: translateY(15px);">
|
|
362
360
|
<p class="text-color-dark">
|
|
363
361
|
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.</p>
|
|
364
362
|
</div>
|
|
@@ -390,7 +388,7 @@ data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSI2NjYiIHhtbG5zPSJodH
|
|
|
390
388
|
|
|
391
389
|
| Name | Type | Default | Description |
|
|
392
390
|
| --- | --- | --- | --- |
|
|
393
|
-
| delay |
|
|
394
|
-
| duration |
|
|
391
|
+
| delay | number | 0 | Defines the time the animation should wait until it starts. |
|
|
392
|
+
| duration | number | 0.4 | Defines the duration in seconds of the fade up animation. |
|
|
395
393
|
| offset | number | 15 | Defines the y offset from the bottom where the element starts to fade in. |
|
|
396
|
-
| className |
|
|
394
|
+
| className | string | — | Additional classes names added to the motion div wrapper. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/feedback
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:00.092Z
|
|
7
7
|
|
|
8
8
|
## FeedbackRating
|
|
9
9
|
|
|
@@ -291,15 +291,16 @@ export default () => {
|
|
|
291
291
|
|
|
292
292
|
| Name | Type | Default | Description |
|
|
293
293
|
| --- | --- | --- | --- |
|
|
294
|
-
| headline | ReactNode | — | Optional headline |
|
|
295
|
-
|
|
|
296
|
-
|
|
|
297
|
-
|
|
|
298
|
-
|
|
|
299
|
-
|
|
|
300
|
-
|
|
|
301
|
-
|
|
|
302
|
-
|
|
|
294
|
+
| headline | React.ReactNode | — | Optional headline |
|
|
295
|
+
| count | number | 1 | The amount of toggle buttons used to rate. |
|
|
296
|
+
| circleButtons | boolean | false | Defines whether the buttons are round. |
|
|
297
|
+
| buttonClassName | string | — | Optional class names applied to all the buttons. If you need more control on styling individual buttons, see buttonStyles. |
|
|
298
|
+
| buttonLabels | React.ReactNode[] | — | Array of button labels that will be used instead of the index. There needs to be a label for each button defined. |
|
|
299
|
+
| 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. |
|
|
300
|
+
| leftLabel | React.ReactNode | — | Left aligned label to name the lowest rating option. |
|
|
301
|
+
| rightLabel | React.ReactNode | — | Right aligned label to name the highest rating option. |
|
|
302
|
+
| leadingIcon | React.ReactNode | — | Additional icon placed in front of the rating buttons. |
|
|
303
|
+
| trailingIcon | React.ReactNode | — | Additional icon placed after the rating buttons. |
|
|
303
304
|
| onRatingChanged | (rating: number \| undefined) => void | — | Callback triggered when the rating changes. |
|
|
304
305
|
|
|
305
306
|
## FeedbackInlineButtons
|
|
@@ -532,8 +533,8 @@ const CustomInlineButton = (props: CustomInlineButtonProps) => {
|
|
|
532
533
|
|
|
533
534
|
| Name | Type | Default | Description |
|
|
534
535
|
| --- | --- | --- | --- |
|
|
535
|
-
| headline | ReactNode | — | Optional headline |
|
|
536
|
-
| buttons | ReactNode[] | — | List of buttons to be shown. |
|
|
536
|
+
| headline | React.ReactNode | — | Optional headline inlined with the buttons. |
|
|
537
|
+
| buttons | React.ReactNode[] | — | List of buttons to be shown. |
|
|
537
538
|
|
|
538
539
|
## FeedbackReactions
|
|
539
540
|
|
|
@@ -743,15 +744,15 @@ export default () => {
|
|
|
743
744
|
|
|
744
745
|
| Name | Type | Default | Description |
|
|
745
746
|
| --- | --- | --- | --- |
|
|
746
|
-
| headline | ReactNode | — | Optional headline |
|
|
747
|
-
| size |
|
|
748
|
-
| labelPosition |
|
|
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. |
|
|
747
|
+
| headline | React.ReactNode | — | Optional headline inlined with the buttons. |
|
|
748
|
+
| size | 'sm' \| 'md' | 'md' | Size of the reaction buttons. |
|
|
749
|
+
| labelPosition | 'right' \| 'bottom' | 'bottom' | Position of the reaction button labels. |
|
|
750
|
+
| labelUp | React.ReactNode | — | Label for the up button. |
|
|
751
|
+
| labelDown | React.ReactNode | — | Label for the down button. |
|
|
752
|
+
| colorFillUp | string | 'bg-lightest' | Custom fill color for the up button. |
|
|
753
|
+
| colorFillDown | string | 'bg-lightest' | Custom fill color for the down button. |
|
|
754
|
+
| colorHoverUp | string | 'primary' | Custom hover color for the up button. |
|
|
755
|
+
| colorHoverDown | string | 'primary' | Custom hover color for the down button. |
|
|
755
756
|
| onVoteUp | VoidFunction | — | Callback function triggered on up vote. |
|
|
756
757
|
| onVoteDown | VoidFunction | — | Callback function triggered on down vote. |
|
|
757
758
|
| itemClassName | string | — | Additional classes applied to the individual reaction item (button and label). |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Pickers
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/filePickers
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:36.027Z
|
|
7
7
|
|
|
8
8
|
## FilePicker
|
|
9
9
|
|
|
@@ -98,15 +98,15 @@ export default FilePickerExample;
|
|
|
98
98
|
|
|
99
99
|
| Name | Type | Default | Description |
|
|
100
100
|
| --- | --- | --- | --- |
|
|
101
|
-
| displayMode |
|
|
102
|
-
| multiple |
|
|
103
|
-
| label |
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
101
|
+
| displayMode | 'button' \| 'dropzone' \| 'full' | '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 \| ReactNode | 'Select files' | Text to display on Button if displayMode is set to "button". |
|
|
104
|
+
| maxSize | number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
105
|
+
| onPick | (files: File[], rejectedFiles: FileRejection[]) => void | — | Function called after one or multiple files have been picked. |
|
|
106
|
+
| className | string | — | Additional classes for the select button. |
|
|
107
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
|
-
|
|
|
109
|
-
| children | ({ isDragActive }: FilePickerRenderProps) =>
|
|
108
|
+
| accept | { [mimeType: string]: string[]; } | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
109
|
+
| children | ({ isDragActive }: FilePickerRenderProps) => React.ReactElement | — | Pass a custom dropzone element as function receiving some render props. |
|
|
110
110
|
|
|
111
111
|
### Example: Example 2
|
|
112
112
|
|
|
@@ -225,15 +225,15 @@ export default FilePickerWithDropzoneExample;
|
|
|
225
225
|
|
|
226
226
|
| Name | Type | Default | Description |
|
|
227
227
|
| --- | --- | --- | --- |
|
|
228
|
-
| displayMode |
|
|
229
|
-
| multiple |
|
|
230
|
-
| label |
|
|
231
|
-
|
|
|
232
|
-
|
|
|
233
|
-
|
|
|
228
|
+
| displayMode | 'button' \| 'dropzone' \| 'full' | '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 \| ReactNode | 'Select files' | Text to display on Button if displayMode is set to "button". |
|
|
231
|
+
| maxSize | number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
232
|
+
| onPick | (files: File[], rejectedFiles: FileRejection[]) => void | — | Function called after one or multiple files have been picked. |
|
|
233
|
+
| className | string | — | Additional classes for the select button. |
|
|
234
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
|
-
|
|
|
236
|
-
| children | ({ isDragActive }: FilePickerRenderProps) =>
|
|
235
|
+
| accept | { [mimeType: string]: string[]; } | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
236
|
+
| children | ({ isDragActive }: FilePickerRenderProps) => React.ReactElement | — | Pass a custom dropzone element as function receiving some render props. |
|
|
237
237
|
|
|
238
238
|
### Example: You have no file selected yet
|
|
239
239
|
|
|
@@ -359,12 +359,12 @@ export default FilePickerDocumentExample;
|
|
|
359
359
|
|
|
360
360
|
| Name | Type | Default | Description |
|
|
361
361
|
| --- | --- | --- | --- |
|
|
362
|
-
| displayMode |
|
|
363
|
-
| multiple |
|
|
364
|
-
| label |
|
|
365
|
-
|
|
|
366
|
-
|
|
|
367
|
-
|
|
|
362
|
+
| displayMode | 'button' \| 'dropzone' \| 'full' | '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 \| ReactNode | 'Select files' | Text to display on Button if displayMode is set to "button". |
|
|
365
|
+
| maxSize | number | — | Maximum file size in byte. 5 MB = 5,242,880 byte |
|
|
366
|
+
| onPick | (files: File[], rejectedFiles: FileRejection[]) => void | — | Function called after one or multiple files have been picked. |
|
|
367
|
+
| className | string | — | Additional classes for the select button. |
|
|
368
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
|
-
|
|
|
370
|
-
| children | ({ isDragActive }: FilePickerRenderProps) =>
|
|
369
|
+
| accept | { [mimeType: string]: string[]; } | — | Object list of accepted Mime Types as keys and file extensions array as value. |
|
|
370
|
+
| children | ({ isDragActive }: FilePickerRenderProps) => React.ReactElement | — | Pass a custom dropzone element as function receiving some render props. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/formLabel
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:44.843Z
|
|
7
7
|
|
|
8
8
|
A small convenience component for a form label or just a label style used without a form element.
|
|
9
9
|
|
|
@@ -151,9 +151,8 @@ export default () => {
|
|
|
151
151
|
|
|
152
152
|
| Name | Type | Default | Description |
|
|
153
153
|
| --- | --- | --- | --- |
|
|
154
|
-
|
|
|
155
|
-
|
|
|
156
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
154
|
+
| supportingText | string \| React.ReactElement | — | Additional supporting text displayed next to the label. |
|
|
155
|
+
| className | string | — | Additional classes set to the outer element. |
|
|
157
156
|
|
|
158
157
|
### Example: A label for some large buttons
|
|
159
158
|
|
|
@@ -246,6 +245,5 @@ export default () => {
|
|
|
246
245
|
|
|
247
246
|
| Name | Type | Default | Description |
|
|
248
247
|
| --- | --- | --- | --- |
|
|
249
|
-
|
|
|
250
|
-
|
|
|
251
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
248
|
+
| supportingText | string \| React.ReactElement | — | Additional supporting text displayed next to the label. |
|
|
249
|
+
| className | string | — | Additional classes set to the outer element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/groupedItemList
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:46.711Z
|
|
7
7
|
|
|
8
8
|
## GroupedItemList
|
|
9
9
|
|
|
@@ -388,18 +388,18 @@ export default () => {
|
|
|
388
388
|
|
|
389
389
|
| Name | Type | Default | Description |
|
|
390
390
|
| --- | --- | --- | --- |
|
|
391
|
-
| items |
|
|
392
|
-
| groupBy |
|
|
393
|
-
| groupSortOrder |
|
|
394
|
-
| itemSortOrder |
|
|
395
|
-
| groupSortFunction |
|
|
396
|
-
| itemSortFunction |
|
|
397
|
-
| renderDivider |
|
|
398
|
-
| renderItem |
|
|
399
|
-
| listElement |
|
|
400
|
-
| listElementClassName |
|
|
401
|
-
| dividerElementClassName |
|
|
402
|
-
| className |
|
|
391
|
+
| items | T[] | — | 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 | keyof T \| ((item: T) => string) | 'name' | The property of the items to group by as a string, or a custom group function. Defaults to name if not provided. |
|
|
393
|
+
| groupSortOrder | SortDirectionType | 'asc' | The order in which to sort the groups. Accepts asc for ascending or desc for descending. |
|
|
394
|
+
| itemSortOrder | SortDirectionType | 'asc' | The order in which to sort the items inside a group. Accepts asc for ascending or desc for descending. |
|
|
395
|
+
| groupSortFunction | (groups: Group[]) => Group[] | — | Sorting function for the groups. |
|
|
396
|
+
| itemSortFunction | (items: T[]) => T[] | — | Sorting function for the items within each group. |
|
|
397
|
+
| renderDivider | (groupKey: string) => React.ReactNode | — | A custom render function for the group divider. Receives the group key (e.g., letter or date) as a parameter. |
|
|
398
|
+
| renderItem | (item: T) => React.ReactNode | — | A custom render function for individual list items. Receives an item as a parameter. |
|
|
399
|
+
| listElement | 'div' \| 'ul' | 'div' | Specifies the HTML element to use for the list inside each group. Default is div. Use ul for rendering the list items as <li> elements. |
|
|
400
|
+
| listElementClassName | string | — | Optional class name for the list element inside each group. Applied to the div or ul wrapping the items. |
|
|
401
|
+
| dividerElementClassName | string | — | Optional class name for the divider element in each group. Applied to the div wrapping each group divider. |
|
|
402
|
+
| className | string | — | Optional class name for the outer wrapper element. Applied to the outer div wrapping the entire component. |
|
|
403
403
|
|
|
404
404
|
### Example: Grouped by date
|
|
405
405
|
|
|
@@ -730,18 +730,18 @@ export default () => {
|
|
|
730
730
|
|
|
731
731
|
| Name | Type | Default | Description |
|
|
732
732
|
| --- | --- | --- | --- |
|
|
733
|
-
| items |
|
|
734
|
-
| groupBy |
|
|
735
|
-
| groupSortOrder |
|
|
736
|
-
| itemSortOrder |
|
|
737
|
-
| groupSortFunction |
|
|
738
|
-
| itemSortFunction |
|
|
739
|
-
| renderDivider |
|
|
740
|
-
| renderItem |
|
|
741
|
-
| listElement |
|
|
742
|
-
| listElementClassName |
|
|
743
|
-
| dividerElementClassName |
|
|
744
|
-
| className |
|
|
733
|
+
| items | T[] | — | 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 | keyof T \| ((item: T) => string) | 'name' | The property of the items to group by as a string, or a custom group function. Defaults to name if not provided. |
|
|
735
|
+
| groupSortOrder | SortDirectionType | 'asc' | The order in which to sort the groups. Accepts asc for ascending or desc for descending. |
|
|
736
|
+
| itemSortOrder | SortDirectionType | 'asc' | The order in which to sort the items inside a group. Accepts asc for ascending or desc for descending. |
|
|
737
|
+
| groupSortFunction | (groups: Group[]) => Group[] | — | Sorting function for the groups. |
|
|
738
|
+
| itemSortFunction | (items: T[]) => T[] | — | Sorting function for the items within each group. |
|
|
739
|
+
| renderDivider | (groupKey: string) => React.ReactNode | — | A custom render function for the group divider. Receives the group key (e.g., letter or date) as a parameter. |
|
|
740
|
+
| renderItem | (item: T) => React.ReactNode | — | A custom render function for individual list items. Receives an item as a parameter. |
|
|
741
|
+
| listElement | 'div' \| 'ul' | 'div' | Specifies the HTML element to use for the list inside each group. Default is div. Use ul for rendering the list items as <li> elements. |
|
|
742
|
+
| listElementClassName | string | — | Optional class name for the list element inside each group. Applied to the div or ul wrapping the items. |
|
|
743
|
+
| dividerElementClassName | string | — | Optional class name for the divider element in each group. Applied to the div wrapping each group divider. |
|
|
744
|
+
| className | string | — | Optional class name for the outer wrapper element. Applied to the outer div wrapping the entire component. |
|
|
745
745
|
|
|
746
746
|
### Example: Example 3
|
|
747
747
|
|
|
@@ -987,15 +987,15 @@ export default () => {
|
|
|
987
987
|
|
|
988
988
|
| Name | Type | Default | Description |
|
|
989
989
|
| --- | --- | --- | --- |
|
|
990
|
-
| items |
|
|
991
|
-
| groupBy |
|
|
992
|
-
| groupSortOrder |
|
|
993
|
-
| itemSortOrder |
|
|
994
|
-
| groupSortFunction |
|
|
995
|
-
| itemSortFunction |
|
|
996
|
-
| renderDivider |
|
|
997
|
-
| renderItem |
|
|
998
|
-
| listElement |
|
|
999
|
-
| listElementClassName |
|
|
1000
|
-
| dividerElementClassName |
|
|
1001
|
-
| className |
|
|
990
|
+
| items | T[] | — | 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 | keyof T \| ((item: T) => string) | 'name' | The property of the items to group by as a string, or a custom group function. Defaults to name if not provided. |
|
|
992
|
+
| groupSortOrder | SortDirectionType | 'asc' | The order in which to sort the groups. Accepts asc for ascending or desc for descending. |
|
|
993
|
+
| itemSortOrder | SortDirectionType | 'asc' | The order in which to sort the items inside a group. Accepts asc for ascending or desc for descending. |
|
|
994
|
+
| groupSortFunction | (groups: Group[]) => Group[] | — | Sorting function for the groups. |
|
|
995
|
+
| itemSortFunction | (items: T[]) => T[] | — | Sorting function for the items within each group. |
|
|
996
|
+
| renderDivider | (groupKey: string) => React.ReactNode | — | A custom render function for the group divider. Receives the group key (e.g., letter or date) as a parameter. |
|
|
997
|
+
| renderItem | (item: T) => React.ReactNode | — | A custom render function for individual list items. Receives an item as a parameter. |
|
|
998
|
+
| listElement | 'div' \| 'ul' | 'div' | Specifies the HTML element to use for the list inside each group. Default is div. Use ul for rendering the list items as <li> elements. |
|
|
999
|
+
| listElementClassName | string | — | Optional class name for the list element inside each group. Applied to the div or ul wrapping the items. |
|
|
1000
|
+
| dividerElementClassName | string | — | Optional class name for the divider element in each group. Applied to the div wrapping each group divider. |
|
|
1001
|
+
| className | string | — | Optional class name for the outer wrapper element. Applied to the outer div wrapping the entire component. |
|
|
@@ -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:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:10.389Z
|
|
7
7
|
|
|
8
8
|
The timeline component is a pure CSS component.
|
|
9
9
|
|
|
@@ -86,19 +86,19 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget ma
|
|
|
86
86
|
</div>
|
|
87
87
|
<ul class="icon-list margin-bottom-0">
|
|
88
88
|
<li>
|
|
89
|
-
<span class="rioglyph rioglyph-
|
|
89
|
+
<span class="rioglyph rioglyph-driver margin-top--1">
|
|
90
90
|
</span>
|
|
91
91
|
<span>
|
|
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-car 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-van 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:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:58.632Z
|
|
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,8 @@ const failedImageExample = (
|
|
|
160
160
|
|
|
161
161
|
| Name | Type | Default | Description |
|
|
162
162
|
| --- | --- | --- | --- |
|
|
163
|
-
| src |
|
|
164
|
-
| onLoaded | (image: HTMLImageElement) => void |
|
|
165
|
-
| onFailed | (image: HTMLImageElement) => void |
|
|
166
|
-
| isAnonymous |
|
|
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
|
|
163
|
+
| src | string | — | The URL of the image to load. |
|
|
164
|
+
| onLoaded | (image: HTMLImageElement) => void | — | Invoked when the image is loaded. |
|
|
165
|
+
| onFailed | (image: HTMLImageElement) => void | — | Invoked when the image failed to load. |
|
|
166
|
+
| isAnonymous | boolean | false | Whether to set the "crossOrigin" to "anonymous". |
|
|
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. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/labeledElement
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:46.382Z
|
|
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
|
|
|
@@ -110,6 +110,7 @@ export default () => (
|
|
|
110
110
|
| Name | Type | Default | Description |
|
|
111
111
|
| --- | --- | --- | --- |
|
|
112
112
|
| label | string \| React.ReactElement | — | The text to display for the label. |
|
|
113
|
-
|
|
|
113
|
+
| htmlFor | string | — | Optional ID of the element associated with the label. |
|
|
114
|
+
| labelProps | Omit<FormLabelProps, 'children'> | — | Additional props for the FormLabel, excluding children and htmlFor. |
|
|
114
115
|
| noGap | boolean | false | If true, removes the bottom margin from the label. |
|
|
115
|
-
| className |
|
|
116
|
+
| className | string | — | Additional classes for styling the wrapper. |
|