@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:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/accentBar
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:55.940Z
|
|
7
7
|
|
|
8
8
|
The AccentBar component is a small, colored vertical bar (typically a few pixels wide) used to visually highlight or categorize rows in lists, tables, or cards. It helps improve readability by providing a quick visual cue for different statuses, categories, or priorities.
|
|
9
9
|
|
|
@@ -79,7 +79,7 @@ export default () => (
|
|
|
79
79
|
|
|
80
80
|
| Name | Type | Default | Description |
|
|
81
81
|
| --- | --- | --- | --- |
|
|
82
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
82
|
+
| color | string | 'bg-secondary' | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
83
83
|
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
84
84
|
| className | string | — | Additional class names passed to the actual element. |
|
|
85
85
|
|
|
@@ -232,7 +232,7 @@ const getStatusColor = (status: string) => {
|
|
|
232
232
|
|
|
233
233
|
| Name | Type | Default | Description |
|
|
234
234
|
| --- | --- | --- | --- |
|
|
235
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
235
|
+
| color | string | 'bg-secondary' | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
236
236
|
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
237
237
|
| className | string | — | Additional class names passed to the actual element. |
|
|
238
238
|
|
|
@@ -441,7 +441,7 @@ const getStatusColor = (status: string) => {
|
|
|
441
441
|
|
|
442
442
|
| Name | Type | Default | Description |
|
|
443
443
|
| --- | --- | --- | --- |
|
|
444
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
444
|
+
| color | string | 'bg-secondary' | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
445
445
|
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
446
446
|
| className | string | — | Additional class names passed to the actual element. |
|
|
447
447
|
|
|
@@ -577,6 +577,6 @@ const getRiskColor = (riskLevel: string) => {
|
|
|
577
577
|
|
|
578
578
|
| Name | Type | Default | Description |
|
|
579
579
|
| --- | --- | --- | --- |
|
|
580
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
580
|
+
| color | string | 'bg-secondary' | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
581
581
|
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
582
582
|
| className | string | — | Additional class names passed to the actual element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/activity
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:54.335Z
|
|
7
7
|
|
|
8
8
|
## Activity
|
|
9
9
|
|
|
@@ -322,9 +322,9 @@ export default () => (
|
|
|
322
322
|
|
|
323
323
|
| Name | Type | Default | Description |
|
|
324
324
|
| --- | --- | --- | --- |
|
|
325
|
-
| activity |
|
|
326
|
-
|
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
| onClick |
|
|
330
|
-
| className |
|
|
325
|
+
| activity | ActivityStatus | — | Defines the type of activity. Possible values are Activity.AVAILABLE, Activity.DRIVING, Activity.RESTING or Activity.WORKING. |
|
|
326
|
+
| bsSize | ActivitySize | — | Define how large the component should be rendered. Possible values are Activity.SIZE_SM, Activity.SIZE_LG or Activity.SIZE_XL. |
|
|
327
|
+
| duration | string \| ReactNode | — | The actual duration value to be shown. |
|
|
328
|
+
| isOutdated | boolean | false | Indicates whether the activity is outdated. |
|
|
329
|
+
| onClick | VoidFunction | — | Callback function for when the component is clicked. |
|
|
330
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/animatedNumber
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:38.677Z
|
|
7
7
|
|
|
8
8
|
## AnimatedNumber
|
|
9
9
|
|
|
@@ -59,7 +59,7 @@ export default () => (
|
|
|
59
59
|
<div>
|
|
60
60
|
<label>Default AnimatedNumber</label>
|
|
61
61
|
<div class="width-60 margin-bottom-20 text-right text-size-h1 text-color-info">
|
|
62
|
-
<span class="">
|
|
62
|
+
<span class="">24</span>
|
|
63
63
|
</div>
|
|
64
64
|
<label>AnimatedNumber with prefix and unit</label>
|
|
65
65
|
<div class="width-100 margin-bottom-20 text-right text-size-h1 text-color-primary">
|
|
@@ -78,11 +78,11 @@ export default () => (
|
|
|
78
78
|
|
|
79
79
|
| Name | Type | Default | Description |
|
|
80
80
|
| --- | --- | --- | --- |
|
|
81
|
-
| start |
|
|
82
|
-
| end |
|
|
83
|
-
| prefix |
|
|
84
|
-
| unit |
|
|
85
|
-
| speed |
|
|
86
|
-
| decreasing |
|
|
87
|
-
| onEnd |
|
|
88
|
-
| className |
|
|
81
|
+
| start | number | — | The start value. |
|
|
82
|
+
| end | number | — | The end value. |
|
|
83
|
+
| prefix | string | — | A prefix to be added to the final string. |
|
|
84
|
+
| unit | string | — | A unit suffix to be added to the final string. |
|
|
85
|
+
| speed | number | 10 | The speed in milliseconds to count up or down. |
|
|
86
|
+
| decreasing | boolean | false | Enables to count backwards. |
|
|
87
|
+
| onEnd | VoidFunction | — | Callback function to be invoked when the end value is reached. |
|
|
88
|
+
| className | string | — | Additional classes to be set on the wrapping element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/animatedTextReveal
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:39.333Z
|
|
7
7
|
|
|
8
8
|
AnimatedTextReveal displays text that smoothly reveals from below while a subtle shimmer effect runs across it. It’s designed for attention-grabbing messages or live-updating content, combining a primary reveal motion with an optional continuous shimmer highlight.
|
|
9
9
|
|
|
@@ -136,7 +136,7 @@ export default () => {
|
|
|
136
136
|
<div class="text-uppercase text-size-12">Live stream</div>
|
|
137
137
|
</div>
|
|
138
138
|
<div class="position-relative" aria-live="polite" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter);">
|
|
139
|
-
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0.
|
|
139
|
+
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0.331249; transform: translateY(8.78522px);">System is thinking...</div>
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
142
142
|
</div>
|
|
@@ -148,7 +148,7 @@ export default () => {
|
|
|
148
148
|
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Text with animated gradient</div>
|
|
149
149
|
<div class="bg-white rounded border shadow-default padding-15 display-flex flex-column gap-15">
|
|
150
150
|
<div class="position-relative" aria-live="polite" style="--atr-duration: 2s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 260px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter);">
|
|
151
|
-
<div class="animated-text-reveal position-relative" style="--atr-duration: 2s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 260px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0.
|
|
151
|
+
<div class="animated-text-reveal position-relative" style="--atr-duration: 2s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 260px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0.331249; transform: translateY(8.78522px);">Processing your request...</div>
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|
|
@@ -156,7 +156,7 @@ export default () => {
|
|
|
156
156
|
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Text with automatic cycling but without animated gradient</div>
|
|
157
157
|
<div class="bg-white rounded border shadow-default padding-15 display-flex flex-column gap-15">
|
|
158
158
|
<div class="position-relative" aria-live="polite" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter);">
|
|
159
|
-
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0; transform: translateY(3.
|
|
159
|
+
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-darkest); --atr-shimmer-color: var(--gray-lighter); opacity: 0; transform: translateY(3.36812px);">System is thinking...</div>
|
|
160
160
|
</div>
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
@@ -164,7 +164,7 @@ export default () => {
|
|
|
164
164
|
<div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5">Text with custom styling</div>
|
|
165
165
|
<div class="bg-white rounded border shadow-default padding-15 display-flex flex-column gap-15">
|
|
166
166
|
<div class="position-relative text-size-16" aria-live="polite" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-dark); --atr-shimmer-color: var(--gray-lightest);">
|
|
167
|
-
<div class="animated-text-reveal position-relative is-animated" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-dark); --atr-shimmer-color: var(--gray-lightest); opacity: 0; transform: translateY(3.
|
|
167
|
+
<div class="animated-text-reveal position-relative is-animated" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 168px; --atr-text-color: var(--gray-dark); --atr-shimmer-color: var(--gray-lightest); opacity: 0; transform: translateY(3.36812px);">System is thinking...</div>
|
|
168
168
|
</div>
|
|
169
169
|
</div>
|
|
170
170
|
</div>
|
|
@@ -173,7 +173,7 @@ export default () => {
|
|
|
173
173
|
<div class="max-width-150">
|
|
174
174
|
<button type="button" class="btn btn-primary btn-block btn-component" tabindex="0">
|
|
175
175
|
<div class="position-relative" aria-live="polite" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 64px; --atr-text-color: var(--color-white); --atr-shimmer-color: var(--gray-lighter);">
|
|
176
|
-
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 64px; --atr-text-color: var(--color-white); --atr-shimmer-color: var(--gray-lighter); opacity: 0; transform: translateY(3.
|
|
176
|
+
<div class="animated-text-reveal position-relative" style="--atr-duration: 5s; --atr-delay: 0s; --atr-iterations: infinite; --atr-spread: 64px; --atr-text-color: var(--color-white); --atr-shimmer-color: var(--gray-lighter); opacity: 0; transform: translateY(3.36812px);">Continue</div>
|
|
177
177
|
</div>
|
|
178
178
|
</button>
|
|
179
179
|
</div>
|
|
@@ -185,24 +185,24 @@ export default () => {
|
|
|
185
185
|
|
|
186
186
|
| Name | Type | Default | Description |
|
|
187
187
|
| --- | --- | --- | --- |
|
|
188
|
-
| text |
|
|
189
|
-
| duration |
|
|
190
|
-
| delay |
|
|
191
|
-
| interval |
|
|
192
|
-
| distance |
|
|
193
|
-
| ease |
|
|
194
|
-
| startOnView |
|
|
195
|
-
| once |
|
|
196
|
-
| inViewMargin |
|
|
197
|
-
| shimmer |
|
|
198
|
-
| shimmerDuration |
|
|
199
|
-
| shimmerDelay |
|
|
200
|
-
| shimmerSpread |
|
|
201
|
-
| shimmerRepeat |
|
|
202
|
-
| shimmerColor |
|
|
203
|
-
| textColor |
|
|
204
|
-
| innerClassName |
|
|
205
|
-
| className |
|
|
188
|
+
| text | string \| string[] | — | Text content to display. Accepts a string or an array of phrases that are revealed and cycled through automatically. |
|
|
189
|
+
| duration | number | 0.4 | Reveal animation duration in seconds. |
|
|
190
|
+
| delay | number | 0 | Reveal animation delay before starting, in seconds. |
|
|
191
|
+
| interval | number | 3 | Interval time between phrase transitions when multiple texts are provided, in seconds. |
|
|
192
|
+
| distance | number | 10 | Vertical offset in pixels from which the text reveals upward. |
|
|
193
|
+
| ease | 'linear' \| 'easeIn' \| 'easeOut' \| 'easeInOut' | 'easeOut' | Easing function applied to the reveal motion. |
|
|
194
|
+
| startOnView | boolean | true | Whether the animation should only start once the component enters the viewport when scrolling. |
|
|
195
|
+
| once | boolean | false | If true, the reveal animation runs only once per mount when the component enters the viewport. |
|
|
196
|
+
| inViewMargin | UseInViewOptions['margin'] | — | Optional root margin passed to the intersection observer for in-view detection (e.g., "0px 0px -10% 0px"). |
|
|
197
|
+
| shimmer | boolean | true | Enables or disables the shimmer highlight effect across the text. |
|
|
198
|
+
| shimmerDuration | number | 5 | Duration of one shimmer loop in seconds. |
|
|
199
|
+
| shimmerDelay | number | 0 | Delay before the shimmer effect starts, in seconds. |
|
|
200
|
+
| shimmerSpread | number | 8 | Multiplier controlling the width of the shimmer highlight band. |
|
|
201
|
+
| shimmerRepeat | boolean | true | If true, the shimmer animation loops infinitely. |
|
|
202
|
+
| shimmerColor | 'black' \| 'darkest' \| 'darker' \| 'dark' \| 'gray' \| 'light' \| 'lighter' \| 'lightest' \| 'white' | 'lighter' | The color of the shimmer highlight band. |
|
|
203
|
+
| textColor | 'black' \| 'darkest' \| 'darker' \| 'dark' \| 'gray' \| 'light' \| 'lighter' \| 'lightest' \| 'white' \| 'primary' \| 'secondary' \| 'info' \| 'warning' \| 'danger' \| 'success' | 'darkest' | Base color of the text. |
|
|
204
|
+
| innerClassName | string | — | Additional classNames set on the inner element. |
|
|
205
|
+
| className | string | — | Additional classNames set on the wrapper element. |
|
|
206
206
|
|
|
207
207
|
### Example: Status
|
|
208
208
|
|
|
@@ -232,7 +232,6 @@ import AnimatedTextReveal from '@rio-cloud/rio-uikit/AnimatedTextReveal';
|
|
|
232
232
|
import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
233
233
|
import Divider from '@rio-cloud/rio-uikit/Divider';
|
|
234
234
|
import Button from '@rio-cloud/rio-uikit/Button';
|
|
235
|
-
import Fade from '@rio-cloud/rio-uikit/Fade';
|
|
236
235
|
|
|
237
236
|
type StatusKey = 'idle' | 'connecting' | 'syncing' | 'done';
|
|
238
237
|
|
|
@@ -361,21 +360,21 @@ export default () => {
|
|
|
361
360
|
|
|
362
361
|
| Name | Type | Default | Description |
|
|
363
362
|
| --- | --- | --- | --- |
|
|
364
|
-
| text |
|
|
365
|
-
| duration |
|
|
366
|
-
| delay |
|
|
367
|
-
| interval |
|
|
368
|
-
| distance |
|
|
369
|
-
| ease |
|
|
370
|
-
| startOnView |
|
|
371
|
-
| once |
|
|
372
|
-
| inViewMargin |
|
|
373
|
-
| shimmer |
|
|
374
|
-
| shimmerDuration |
|
|
375
|
-
| shimmerDelay |
|
|
376
|
-
| shimmerSpread |
|
|
377
|
-
| shimmerRepeat |
|
|
378
|
-
| shimmerColor |
|
|
379
|
-
| textColor |
|
|
380
|
-
| innerClassName |
|
|
381
|
-
| className |
|
|
363
|
+
| text | string \| string[] | — | Text content to display. Accepts a string or an array of phrases that are revealed and cycled through automatically. |
|
|
364
|
+
| duration | number | 0.4 | Reveal animation duration in seconds. |
|
|
365
|
+
| delay | number | 0 | Reveal animation delay before starting, in seconds. |
|
|
366
|
+
| interval | number | 3 | Interval time between phrase transitions when multiple texts are provided, in seconds. |
|
|
367
|
+
| distance | number | 10 | Vertical offset in pixels from which the text reveals upward. |
|
|
368
|
+
| ease | 'linear' \| 'easeIn' \| 'easeOut' \| 'easeInOut' | 'easeOut' | Easing function applied to the reveal motion. |
|
|
369
|
+
| startOnView | boolean | true | Whether the animation should only start once the component enters the viewport when scrolling. |
|
|
370
|
+
| once | boolean | false | If true, the reveal animation runs only once per mount when the component enters the viewport. |
|
|
371
|
+
| inViewMargin | UseInViewOptions['margin'] | — | Optional root margin passed to the intersection observer for in-view detection (e.g., "0px 0px -10% 0px"). |
|
|
372
|
+
| shimmer | boolean | true | Enables or disables the shimmer highlight effect across the text. |
|
|
373
|
+
| shimmerDuration | number | 5 | Duration of one shimmer loop in seconds. |
|
|
374
|
+
| shimmerDelay | number | 0 | Delay before the shimmer effect starts, in seconds. |
|
|
375
|
+
| shimmerSpread | number | 8 | Multiplier controlling the width of the shimmer highlight band. |
|
|
376
|
+
| shimmerRepeat | boolean | true | If true, the shimmer animation loops infinitely. |
|
|
377
|
+
| shimmerColor | 'black' \| 'darkest' \| 'darker' \| 'dark' \| 'gray' \| 'light' \| 'lighter' \| 'lightest' \| 'white' | 'lighter' | The color of the shimmer highlight band. |
|
|
378
|
+
| textColor | 'black' \| 'darkest' \| 'darker' \| 'dark' \| 'gray' \| 'light' \| 'lighter' \| 'lightest' \| 'white' \| 'primary' \| 'secondary' \| 'info' \| 'warning' \| 'danger' \| 'success' | 'darkest' | Base color of the text. |
|
|
379
|
+
| innerClassName | string | — | Additional classNames set on the inner element. |
|
|
380
|
+
| className | string | — | Additional classNames set on the wrapper element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/animations
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:39.064Z
|
|
7
7
|
|
|
8
8
|
The UIKIT uses the famous animation library Motion former known as Framer Motion. To allow services to use Motion without adding it as a dependency to their project, the UIKIT re-exports all motion/reactcomponents.
|
|
9
9
|
|
|
@@ -53,7 +53,7 @@ export default () => {
|
|
|
53
53
|
#### HTML (html)
|
|
54
54
|
|
|
55
55
|
```html
|
|
56
|
-
<div style="opacity: 0.
|
|
56
|
+
<div style="opacity: 0.891318;">
|
|
57
57
|
<div class="margin-10">
|
|
58
58
|
<label>Some Data</label>
|
|
59
59
|
<div>
|
|
@@ -74,6 +74,7 @@ export default () => {
|
|
|
74
74
|
|
|
75
75
|
```tsx
|
|
76
76
|
import { motion } from '@rio-cloud/rio-uikit/motion';
|
|
77
|
+
import type { ComponentProps } from 'react';
|
|
77
78
|
|
|
78
79
|
const icons = {
|
|
79
80
|
check: {
|
|
@@ -87,7 +88,14 @@ const icons = {
|
|
|
87
88
|
},
|
|
88
89
|
};
|
|
89
90
|
|
|
90
|
-
|
|
91
|
+
type IconName = keyof typeof icons;
|
|
92
|
+
|
|
93
|
+
type AnimatedIconProps = ComponentProps<'svg'> & {
|
|
94
|
+
icon?: IconName;
|
|
95
|
+
delay?: number;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const AnimatedIcon = (props: AnimatedIconProps) => {
|
|
91
99
|
const { icon = 'check', delay = 0.2, ...remainingProps } = props;
|
|
92
100
|
return (
|
|
93
101
|
<svg
|
|
@@ -161,13 +169,13 @@ export default () => (
|
|
|
161
169
|
</div>
|
|
162
170
|
<div style="opacity: 1;">
|
|
163
171
|
<svg width="50" height="50" class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
164
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" pathLength="1" stroke-dashoffset="0px" stroke-dasharray="0.
|
|
172
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" pathLength="1" stroke-dashoffset="0px" stroke-dasharray="0.8869888990011532px 1px">
|
|
165
173
|
</path>
|
|
166
174
|
</svg>
|
|
167
175
|
</div>
|
|
168
176
|
<div style="opacity: 1;">
|
|
169
177
|
<svg width="50" height="50" class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
170
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" pathLength="1" stroke-dashoffset="0px" stroke-dasharray="
|
|
178
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" pathLength="1" stroke-dashoffset="0px" stroke-dasharray="0px 1px">
|
|
171
179
|
</path>
|
|
172
180
|
</svg>
|
|
173
181
|
</div>
|
|
@@ -176,21 +184,21 @@ export default () => (
|
|
|
176
184
|
|
|
177
185
|
### Example: Example 3
|
|
178
186
|
|
|
179
|
-
Add ItemItem
|
|
187
|
+
Add ItemItem SAY31NI9JY
|
|
180
188
|
|
|
181
|
-
Item
|
|
189
|
+
Item 3Y845VKS7Q
|
|
182
190
|
|
|
183
|
-
Item
|
|
191
|
+
Item 2TR06HFALV
|
|
184
192
|
|
|
185
193
|
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. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
186
194
|
|
|
187
195
|
#### Summary
|
|
188
196
|
|
|
189
|
-
Add ItemItem
|
|
197
|
+
Add ItemItem SAY31NI9JY
|
|
190
198
|
|
|
191
|
-
Item
|
|
199
|
+
Item 3Y845VKS7Q
|
|
192
200
|
|
|
193
|
-
Item
|
|
201
|
+
Item 2TR06HFALV
|
|
194
202
|
|
|
195
203
|
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. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
|
|
196
204
|
|
|
@@ -205,13 +213,13 @@ import Button from '@rio-cloud/rio-uikit/Button';
|
|
|
205
213
|
import { dummyText } from '../../../utils/data';
|
|
206
214
|
|
|
207
215
|
const getRandomString = () => (Math.random() + 1).toString(36).toUpperCase().substring(2);
|
|
208
|
-
const generateItems = length => Array.from({ length }, () => getRandomString());
|
|
216
|
+
const generateItems = (length: number) => Array.from({ length }, () => getRandomString());
|
|
209
217
|
|
|
210
218
|
export default () => {
|
|
211
219
|
const [items, setItems] = useState([...generateItems(3)]);
|
|
212
220
|
|
|
213
221
|
const handleAddItem = () => setItems(items => [...items, getRandomString()]);
|
|
214
|
-
const handleRemoveItem = item => setItems(items => items.filter(i => i !== item));
|
|
222
|
+
const handleRemoveItem = (item: string) => setItems(items => items.filter(i => i !== item));
|
|
215
223
|
|
|
216
224
|
return (
|
|
217
225
|
<div>
|
|
@@ -259,7 +267,7 @@ export default () => {
|
|
|
259
267
|
<div style="height: auto;">
|
|
260
268
|
<div style="opacity: 1;">
|
|
261
269
|
<div class="display-flex justify-content-between align-items-center padding-x-15 padding-y-10 border border-bottom-only">
|
|
262
|
-
<div>Item
|
|
270
|
+
<div>Item SAY31NI9JY</div>
|
|
263
271
|
<button type="button" class="btn btn-muted btn-sm btn-icon-only btn-component" tabindex="0">
|
|
264
272
|
<span class="rioglyph rioglyph-remove text-size-14">
|
|
265
273
|
</span>
|
|
@@ -270,7 +278,7 @@ export default () => {
|
|
|
270
278
|
<div style="height: auto;">
|
|
271
279
|
<div style="opacity: 1;">
|
|
272
280
|
<div class="display-flex justify-content-between align-items-center padding-x-15 padding-y-10 border border-bottom-only">
|
|
273
|
-
<div>Item
|
|
281
|
+
<div>Item 3Y845VKS7Q</div>
|
|
274
282
|
<button type="button" class="btn btn-muted btn-sm btn-icon-only btn-component" tabindex="0">
|
|
275
283
|
<span class="rioglyph rioglyph-remove text-size-14">
|
|
276
284
|
</span>
|
|
@@ -281,7 +289,7 @@ export default () => {
|
|
|
281
289
|
<div style="height: auto;">
|
|
282
290
|
<div style="opacity: 1;">
|
|
283
291
|
<div class="display-flex justify-content-between align-items-center padding-x-15 padding-y-10 border border-bottom-only">
|
|
284
|
-
<div>Item
|
|
292
|
+
<div>Item 2TR06HFALV</div>
|
|
285
293
|
<button type="button" class="btn btn-muted btn-sm btn-icon-only btn-component" tabindex="0">
|
|
286
294
|
<span class="rioglyph rioglyph-remove text-size-14">
|
|
287
295
|
</span>
|
|
@@ -297,31 +305,31 @@ export default () => {
|
|
|
297
305
|
|
|
298
306
|
### Example: Example 4
|
|
299
307
|
|
|
300
|
-
Load ItemsItem
|
|
308
|
+
Load ItemsItem Y3E1PAWU4G
|
|
301
309
|
|
|
302
|
-
Item
|
|
310
|
+
Item 03RN4LBQUH
|
|
303
311
|
|
|
304
|
-
Item
|
|
312
|
+
Item RNLIJUFWD1
|
|
305
313
|
|
|
306
|
-
Item
|
|
314
|
+
Item USNNCEUF3C
|
|
307
315
|
|
|
308
|
-
Item
|
|
316
|
+
Item S6FC5S6QMJ
|
|
309
317
|
|
|
310
|
-
Item
|
|
318
|
+
Item 01C0J9EA59
|
|
311
319
|
|
|
312
320
|
#### Summary
|
|
313
321
|
|
|
314
|
-
Load ItemsItem
|
|
322
|
+
Load ItemsItem Y3E1PAWU4G
|
|
315
323
|
|
|
316
|
-
Item
|
|
324
|
+
Item 03RN4LBQUH
|
|
317
325
|
|
|
318
|
-
Item
|
|
326
|
+
Item RNLIJUFWD1
|
|
319
327
|
|
|
320
|
-
Item
|
|
328
|
+
Item USNNCEUF3C
|
|
321
329
|
|
|
322
|
-
Item
|
|
330
|
+
Item S6FC5S6QMJ
|
|
323
331
|
|
|
324
|
-
Item
|
|
332
|
+
Item 01C0J9EA59
|
|
325
333
|
|
|
326
334
|
#### React (tsx)
|
|
327
335
|
|
|
@@ -388,7 +396,7 @@ export default () => {
|
|
|
388
396
|
<span class="checkbox-text">
|
|
389
397
|
<span>
|
|
390
398
|
<div class="display-flex gap-5">
|
|
391
|
-
<span>Item
|
|
399
|
+
<span>Item Y3E1PAWU4G</span>
|
|
392
400
|
</div>
|
|
393
401
|
</span>
|
|
394
402
|
</span>
|
|
@@ -400,7 +408,7 @@ export default () => {
|
|
|
400
408
|
<span class="checkbox-text">
|
|
401
409
|
<span>
|
|
402
410
|
<div class="display-flex gap-5">
|
|
403
|
-
<span>Item
|
|
411
|
+
<span>Item 03RN4LBQUH</span>
|
|
404
412
|
</div>
|
|
405
413
|
</span>
|
|
406
414
|
</span>
|
|
@@ -412,7 +420,7 @@ export default () => {
|
|
|
412
420
|
<span class="checkbox-text">
|
|
413
421
|
<span>
|
|
414
422
|
<div class="display-flex gap-5">
|
|
415
|
-
<span>Item
|
|
423
|
+
<span>Item RNLIJUFWD1</span>
|
|
416
424
|
</div>
|
|
417
425
|
</span>
|
|
418
426
|
</span>
|
|
@@ -424,7 +432,7 @@ export default () => {
|
|
|
424
432
|
<span class="checkbox-text">
|
|
425
433
|
<span>
|
|
426
434
|
<div class="display-flex gap-5">
|
|
427
|
-
<span>Item
|
|
435
|
+
<span>Item USNNCEUF3C</span>
|
|
428
436
|
</div>
|
|
429
437
|
</span>
|
|
430
438
|
</span>
|
|
@@ -436,7 +444,7 @@ export default () => {
|
|
|
436
444
|
<span class="checkbox-text">
|
|
437
445
|
<span>
|
|
438
446
|
<div class="display-flex gap-5">
|
|
439
|
-
<span>Item
|
|
447
|
+
<span>Item S6FC5S6QMJ</span>
|
|
440
448
|
</div>
|
|
441
449
|
</span>
|
|
442
450
|
</span>
|
|
@@ -448,7 +456,7 @@ export default () => {
|
|
|
448
456
|
<span class="checkbox-text">
|
|
449
457
|
<span>
|
|
450
458
|
<div class="display-flex gap-5">
|
|
451
|
-
<span>Item
|
|
459
|
+
<span>Item 01C0J9EA59</span>
|
|
452
460
|
</div>
|
|
453
461
|
</span>
|
|
454
462
|
</span>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Application
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/appHeader
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:05.995Z
|
|
7
7
|
|
|
8
8
|
This is the header component for all services. All navigation link components that are passed into the header should be based on react-router
|
|
9
9
|
|
|
@@ -363,24 +363,11 @@ export default AppHeaderExample;
|
|
|
363
363
|
</div>
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
#### Props
|
|
366
|
+
#### Props (json)
|
|
367
367
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
| homeRoute | Node | — | The home URL that shall be used for the home button. Pass a react-router-dom NavLink as homeRoute into the header. For example: <NavLink to='https://home.rio.cloud' /> |
|
|
372
|
-
| showHomeIcon | Boolean | true | Defines to either show the home icon or the RIO logo as brand logo. |
|
|
373
|
-
| appNavigator | Node | — | The component for the navigation between apps which will be shown inside the main dropdown. Platform apps may use the default AppNavigator but there are also other cases like support apps where it's just a simple list In this case, use the prop appMenuItems. If no appNavigator is defined, the dropdown menu will not be rendered. |
|
|
374
|
-
| appNavigatorClassName | String | — | Additional class names that are added to the appNavigator. |
|
|
375
|
-
| appMenuItems | Array | — | List of application navigation link components. |
|
|
376
|
-
| └key | String | — | Unique key for the navigation component. |
|
|
377
|
-
| └route | Node | — | The navigation link component used for rendering the name and for routing. For example: <NavLink to='/app1'>{'App 1'}</NavLink> |
|
|
378
|
-
| navItems | Array | — | List of sub-module navigation component of an app. Items collapse into a dropdown if remaining space in the header is not sufficient. |
|
|
379
|
-
| └key | String | — | Unique key for the sub-module navigation component of an app. |
|
|
380
|
-
| └route | Node | — | The navigation link component used for rendering the name and for routing. For example: <NavLink to='/app/ipsum'>{'Lorem ipsum'}</NavLink> |
|
|
381
|
-
| actionBarItems | Array of Nodes | [] | List of external smart components like the rio-accountmenu or application owned components such as a ServiceInfo icon. These components are based on the ActionBarItem |
|
|
382
|
-
| onToggleAppMenu | (isOpen: boolean) => void | — | Callback function triggered when the application menu is open or closed. |
|
|
383
|
-
| className | String | — | Additional class names that are added to the wrapper component. |
|
|
368
|
+
```json
|
|
369
|
+
<NavLink to='https://home.rio.cloud' />
|
|
370
|
+
```
|
|
384
371
|
|
|
385
372
|
## ActionBarItem
|
|
386
373
|
|
|
@@ -690,14 +677,12 @@ export default ActionBarItemsExample;
|
|
|
690
677
|
|
|
691
678
|
| Name | Type | Default | Description |
|
|
692
679
|
| --- | --- | --- | --- |
|
|
693
|
-
| id |
|
|
694
|
-
| title |
|
|
695
|
-
| className |
|
|
696
|
-
|
|
|
697
|
-
|
|
|
698
|
-
|
|
|
699
|
-
| useOffscreen | Boolean | — | Set on ActionBarItem.Popover in order to render the Popover content in the offscreen to have it in place and loaded when the Popover is shown. This flag ignored for mobile, in order to save energy. |
|
|
700
|
-
| children | any | — | Any component given to the sub components will be within the respective area. NoteChild elements for ActionItemBar.Icon such as rioglyph or svg icons that shall be shown as icon in the header must have set the class icon |
|
|
680
|
+
| id | string | — | The id is used to identify the item in the DOM. If not provided, a random id is used instead. |
|
|
681
|
+
| title | string \| React.ReactNode | — | The title property for the sub-component ActionBarItem.Popover. This can be a String or another component as well as a React-Intl component. |
|
|
682
|
+
| className | string | — | Additional class names that are added to the respective component. It can be defined for the parent and all sub-components. |
|
|
683
|
+
| hidePopoverOnClick | boolean | true | Defines if the popover should close when any child element is being clicked. |
|
|
684
|
+
| popoverWidth | ActionBarItemPopoverWidth | 250 | Possible values are 100, 150, 200, 250, 300, 350, 400, 450 or 500. |
|
|
685
|
+
| mobileDialogBodyClassName | string | — | Additional class names that are added to dialog fallback modal-body element. |
|
|
701
686
|
|
|
702
687
|
#### Props: ActionBarItem.List
|
|
703
688
|
|
|
@@ -705,7 +690,7 @@ export default ActionBarItemsExample;
|
|
|
705
690
|
|
|
706
691
|
| Name | Type | Default | Description |
|
|
707
692
|
| --- | --- | --- | --- |
|
|
708
|
-
| className |
|
|
693
|
+
| className | string | — | Additional class names that are added to the wrapping list item component. |
|
|
709
694
|
|
|
710
695
|
#### Props: ActionBarItem.ListItem
|
|
711
696
|
|
|
@@ -713,10 +698,10 @@ export default ActionBarItemsExample;
|
|
|
713
698
|
|
|
714
699
|
| Name | Type | Default | Description |
|
|
715
700
|
| --- | --- | --- | --- |
|
|
716
|
-
| hasLink |
|
|
717
|
-
| icon |
|
|
718
|
-
| onClick |
|
|
719
|
-
| className |
|
|
701
|
+
| hasLink | boolean | — | Set it to true when you want to use the item as link item. In this case, please use the Link component from react-router-dom instead of an anchor tag to prevent side effects when automatically closing the popover. |
|
|
702
|
+
| icon | string | — | The name of the icon to be used for the item. |
|
|
703
|
+
| onClick | VoidFunction | — | Callback function to be triggered when the internal button of a list item is clicked. Note: When no callback function is provided, the children are rendered as is without wrapping them in a button. |
|
|
704
|
+
| className | string | — | Additional class names that are added to the wrapping list item component. |
|
|
720
705
|
|
|
721
706
|
#### Props: ActionBarItem.ListSeparator
|
|
722
707
|
|
|
@@ -724,7 +709,7 @@ export default ActionBarItemsExample;
|
|
|
724
709
|
|
|
725
710
|
| Name | Type | Default | Description |
|
|
726
711
|
| --- | --- | --- | --- |
|
|
727
|
-
| className |
|
|
712
|
+
| className | string | — | Additional class names that are added to the wrapping list item component. |
|
|
728
713
|
|
|
729
714
|
#### Props: ActionBarItem.Popover
|
|
730
715
|
|
|
@@ -732,6 +717,6 @@ export default ActionBarItemsExample;
|
|
|
732
717
|
|
|
733
718
|
| Name | Type | Default | Description |
|
|
734
719
|
| --- | --- | --- | --- |
|
|
735
|
-
| title |
|
|
736
|
-
| useOffscreen |
|
|
737
|
-
| className |
|
|
720
|
+
| title | string \| ReactNode | — | The popover title. |
|
|
721
|
+
| useOffscreen | boolean | — | Define whether the popover content shall be rendered behind the scene. This allows to preload content or to avoid unmounting the content component. |
|
|
722
|
+
| className | string | — | Additional class names that are added to the popover content. |
|