@rio-cloud/uikit-mcp 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +2 -34
- package/dist/docs/components/activity.md +2 -13
- package/dist/docs/components/animatedNumber.md +3 -16
- package/dist/docs/components/animatedTextReveal.md +7 -54
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +2 -73
- package/dist/docs/components/appLayout.md +44 -572
- package/dist/docs/components/appNavigationBar.md +2 -54
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +2 -11
- package/dist/docs/components/assetTree.md +417 -991
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +2 -24
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +187 -187
- package/dist/docs/components/barList.md +10 -44
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +3 -100
- package/dist/docs/components/button.md +16 -71
- package/dist/docs/components/buttonToolbar.md +2 -9
- package/dist/docs/components/calendarStripe.md +46 -72
- package/dist/docs/components/card.md +2 -10
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +11 -111
- package/dist/docs/components/clearableInput.md +7 -111
- package/dist/docs/components/collapse.md +3 -29
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +104 -122
- package/dist/docs/components/dataTabs.md +24 -194
- package/dist/docs/components/datepickers.md +32 -74
- package/dist/docs/components/dialogs.md +15 -262
- package/dist/docs/components/divider.md +2 -14
- package/dist/docs/components/dropdowns.md +4387 -4511
- package/dist/docs/components/editableContent.md +2 -186
- package/dist/docs/components/expander.md +23 -70
- package/dist/docs/components/fade.md +6 -41
- package/dist/docs/components/fadeExpander.md +2 -11
- package/dist/docs/components/fadeUp.md +3 -23
- package/dist/docs/components/feedback.md +2 -42
- package/dist/docs/components/filePickers.md +2 -44
- package/dist/docs/components/formLabel.md +2 -18
- package/dist/docs/components/groupedItemList.md +2 -53
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +2 -6
- package/dist/docs/components/labeledElement.md +2 -11
- package/dist/docs/components/licensePlate.md +2 -10
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +2 -50
- package/dist/docs/components/loadMore.md +2 -28
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +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 +2 -22
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +2 -48
- package/dist/docs/components/onboarding.md +2 -46
- package/dist/docs/components/page.md +2 -32
- package/dist/docs/components/pager.md +2 -14
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +2 -56
- package/dist/docs/components/position.md +2 -10
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +81 -191
- package/dist/docs/components/releaseNotes.md +1 -12
- package/dist/docs/components/resizer.md +2 -14
- package/dist/docs/components/responsiveColumnStripe.md +2 -19
- package/dist/docs/components/responsiveVideo.md +2 -11
- package/dist/docs/components/rioglyph.md +2 -12
- package/dist/docs/components/rules.md +69 -133
- package/dist/docs/components/saveableInput.md +21 -135
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +2 -39
- package/dist/docs/components/sliders.md +2 -37
- package/dist/docs/components/smoothScrollbars.md +2 -56
- package/dist/docs/components/spinners.md +5 -51
- package/dist/docs/components/states.md +21 -245
- package/dist/docs/components/statsWidgets.md +2 -113
- package/dist/docs/components/statusBar.md +2 -28
- package/dist/docs/components/stepButton.md +2 -8
- package/dist/docs/components/steppedProgressBars.md +2 -66
- package/dist/docs/components/subNavigation.md +1 -8
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -12
- package/dist/docs/components/switch.md +2 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +4 -58
- package/dist/docs/components/tags.md +2 -31
- package/dist/docs/components/teaser.md +2 -30
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +2 -26
- package/dist/docs/components/toggleButton.md +7 -29
- package/dist/docs/components/tooltip.md +9 -40
- package/dist/docs/components/virtualList.md +73 -99
- package/dist/docs/foundations.md +119 -119
- 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 +79 -26
- 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 +203 -203
- 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 +92 -92
- 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 +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:40.925Z
|
|
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
|
|
|
@@ -75,14 +75,6 @@ export default () => (
|
|
|
75
75
|
</div>
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
#### Props
|
|
79
|
-
|
|
80
|
-
| Name | Type | Default | Description |
|
|
81
|
-
| --- | --- | --- | --- |
|
|
82
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
83
|
-
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
84
|
-
| className | string | — | Additional class names passed to the actual element. |
|
|
85
|
-
|
|
86
78
|
### Example: Example 2
|
|
87
79
|
|
|
88
80
|
StatusLocationETA
|
|
@@ -228,14 +220,6 @@ const getStatusColor = (status: string) => {
|
|
|
228
220
|
</div>
|
|
229
221
|
```
|
|
230
222
|
|
|
231
|
-
#### Props
|
|
232
|
-
|
|
233
|
-
| Name | Type | Default | Description |
|
|
234
|
-
| --- | --- | --- | --- |
|
|
235
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
236
|
-
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
237
|
-
| className | string | — | Additional class names passed to the actual element. |
|
|
238
|
-
|
|
239
223
|
### Example: Example 3
|
|
240
224
|
|
|
241
225
|
Visualizing rating distribution
|
|
@@ -437,14 +421,6 @@ const getStatusColor = (status: string) => {
|
|
|
437
421
|
</div>
|
|
438
422
|
```
|
|
439
423
|
|
|
440
|
-
#### Props
|
|
441
|
-
|
|
442
|
-
| Name | Type | Default | Description |
|
|
443
|
-
| --- | --- | --- | --- |
|
|
444
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
445
|
-
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
446
|
-
| className | string | — | Additional class names passed to the actual element. |
|
|
447
|
-
|
|
448
424
|
### Example: Example 4
|
|
449
425
|
|
|
450
426
|
Risk levelReasonSuggested action
|
|
@@ -571,12 +547,4 @@ const getRiskColor = (riskLevel: string) => {
|
|
|
571
547
|
</tbody>
|
|
572
548
|
</table>
|
|
573
549
|
</div>
|
|
574
|
-
```
|
|
575
|
-
|
|
576
|
-
#### Props
|
|
577
|
-
|
|
578
|
-
| Name | Type | Default | Description |
|
|
579
|
-
| --- | --- | --- | --- |
|
|
580
|
-
| color | string | bg-secondary | Defines the color by setting it to a UIKIT bg-<name> class name. |
|
|
581
|
-
| circle | boolean | false | Defines if the element is rendered as a stretching bar or just a centered circle. |
|
|
582
|
-
| className | string | — | Additional class names passed to the actual element. |
|
|
550
|
+
```
|
|
@@ -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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:39.453Z
|
|
7
7
|
|
|
8
8
|
## Activity
|
|
9
9
|
|
|
@@ -316,15 +316,4 @@ export default () => (
|
|
|
316
316
|
</div>
|
|
317
317
|
</div>
|
|
318
318
|
</div>
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
#### Props
|
|
322
|
-
|
|
323
|
-
| Name | Type | Default | Description |
|
|
324
|
-
| --- | --- | --- | --- |
|
|
325
|
-
| activity | String | — | Defines the type of activity. Possible values are: Activity.AVAILABLE, Activity.DRIVING, Activity.RESTING or Activity.WORKING. |
|
|
326
|
-
| duration | String / Node | — | The actual duration value to be shown. |
|
|
327
|
-
| isOutdated | Boolean | false | Indicated whether the activity is outdated. |
|
|
328
|
-
| bsSize | String | — | Define how large the component should be rendered. Possible values are: Activity.SIZE_SM, Activity.SIZE_LG or Activity.SIZE_XL. |
|
|
329
|
-
| onClick | Function | () => {} | Callback function for when the component is clicked. |
|
|
330
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
319
|
+
```
|
|
@@ -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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:23.607Z
|
|
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="">25</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">
|
|
@@ -72,17 +72,4 @@ export default () => (
|
|
|
72
72
|
<span class="margin-left-3">remaining.</span>
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
#### Props
|
|
78
|
-
|
|
79
|
-
| Name | Type | Default | Description |
|
|
80
|
-
| --- | --- | --- | --- |
|
|
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 | Function | — | Callback function to be invoked when the end value is reached. |
|
|
88
|
-
| className | String | — | Additional classes to be set on the wrapping element. |
|
|
75
|
+
```
|
|
@@ -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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:25.378Z
|
|
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.300372; transform: translateY(8.92559px);">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.300372; transform: translateY(8.92559px);">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.29169px);">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.29169px);">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.29169px);">Continue</div>
|
|
177
177
|
</div>
|
|
178
178
|
</button>
|
|
179
179
|
</div>
|
|
@@ -181,29 +181,6 @@ export default () => {
|
|
|
181
181
|
</div>
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
#### Props
|
|
185
|
-
|
|
186
|
-
| Name | Type | Default | Description |
|
|
187
|
-
| --- | --- | --- | --- |
|
|
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 | String | — | Optional root margin passed to the intersection observer for in-view detection (e.g., "0px 0px -10% 0px"). See motion/react for more details |
|
|
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" | — | The color of the shimmer highlight band. |
|
|
203
|
-
| textColor | "black" \| "darkest" \| "darker" \| "dark" \| "gray" \| "light" \| "lighter" \| "lightest" \| "white" \| "primary" \| "secondary" \| "info" \| "warning" \| "danger" \| "success" | — | Base color of the text. |
|
|
204
|
-
| innerClassName | String | — | Additional classNames set on the inner element. |
|
|
205
|
-
| className | String | — | Additional class names to apply to the wrapper element. |
|
|
206
|
-
|
|
207
184
|
### Example: Status
|
|
208
185
|
|
|
209
186
|
Status
|
|
@@ -232,7 +209,6 @@ import AnimatedTextReveal from '@rio-cloud/rio-uikit/AnimatedTextReveal';
|
|
|
232
209
|
import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
233
210
|
import Divider from '@rio-cloud/rio-uikit/Divider';
|
|
234
211
|
import Button from '@rio-cloud/rio-uikit/Button';
|
|
235
|
-
import Fade from '@rio-cloud/rio-uikit/Fade';
|
|
236
212
|
|
|
237
213
|
type StatusKey = 'idle' | 'connecting' | 'syncing' | 'done';
|
|
238
214
|
|
|
@@ -355,27 +331,4 @@ export default () => {
|
|
|
355
331
|
</div>
|
|
356
332
|
</div>
|
|
357
333
|
</div>
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
#### Props
|
|
361
|
-
|
|
362
|
-
| Name | Type | Default | Description |
|
|
363
|
-
| --- | --- | --- | --- |
|
|
364
|
-
| text | String \| String[] | — | Text content to display. Accepts a string or an array of phrases that are revealed and cycled through automatically. |
|
|
365
|
-
| duration | Number | 0.4 | Reveal animation duration in seconds. |
|
|
366
|
-
| delay | Number | 0 | Reveal animation delay before starting, in seconds. |
|
|
367
|
-
| interval | Number | 3 | Interval time between phrase transitions when multiple texts are provided, in seconds. |
|
|
368
|
-
| distance | Number | 10 | Vertical offset in pixels from which the text reveals upward. |
|
|
369
|
-
| ease | "linear" \| "easeIn" \| "easeOut" \| "easeInOut" | "easeOut" | Easing function applied to the reveal motion. |
|
|
370
|
-
| startOnView | Boolean | true | Whether the animation should only start once the component enters the viewport when scrolling. |
|
|
371
|
-
| once | Boolean | false | If true, the reveal animation runs only once per mount when the component enters the viewport. |
|
|
372
|
-
| inViewMargin | String | — | Optional root margin passed to the intersection observer for in-view detection (e.g., "0px 0px -10% 0px"). See motion/react for more details |
|
|
373
|
-
| shimmer | Boolean | true | Enables or disables the shimmer highlight effect across the text. |
|
|
374
|
-
| shimmerDuration | Number | 5 | Duration of one shimmer loop in seconds. |
|
|
375
|
-
| shimmerDelay | Number | 0 | Delay before the shimmer effect starts, in seconds. |
|
|
376
|
-
| shimmerSpread | Number | 8 | Multiplier controlling the width of the shimmer highlight band. |
|
|
377
|
-
| shimmerRepeat | Boolean | true | If true, the shimmer animation loops infinitely. |
|
|
378
|
-
| shimmerColor | "black" \| "darkest" \| "darker" \| "dark" \| "gray" \| "light" \| "lighter" \| "lightest" \| "white" | — | The color of the shimmer highlight band. |
|
|
379
|
-
| textColor | "black" \| "darkest" \| "darker" \| "dark" \| "gray" \| "light" \| "lighter" \| "lightest" \| "white" \| "primary" \| "secondary" \| "info" \| "warning" \| "danger" \| "success" | — | Base color of the text. |
|
|
380
|
-
| innerClassName | String | — | Additional classNames set on the inner element. |
|
|
381
|
-
| className | String | — | Additional class names to apply to the wrapper element. |
|
|
334
|
+
```
|
|
@@ -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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:24.795Z
|
|
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.883576;">
|
|
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.9341939650767017px 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 52KRTXSG4PL
|
|
180
188
|
|
|
181
|
-
Item
|
|
189
|
+
Item SXRN323D9IL
|
|
182
190
|
|
|
183
|
-
Item
|
|
191
|
+
Item O8SH8KFUWG
|
|
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 52KRTXSG4PL
|
|
190
198
|
|
|
191
|
-
Item
|
|
199
|
+
Item SXRN323D9IL
|
|
192
200
|
|
|
193
|
-
Item
|
|
201
|
+
Item O8SH8KFUWG
|
|
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 52KRTXSG4PL</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 SXRN323D9IL</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 O8SH8KFUWG</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 B0A73GATAR
|
|
301
309
|
|
|
302
|
-
Item
|
|
310
|
+
Item GMKA93SKRQ
|
|
303
311
|
|
|
304
|
-
Item
|
|
312
|
+
Item 2E9PXOO6CNJ
|
|
305
313
|
|
|
306
|
-
Item
|
|
314
|
+
Item QDB3LPYVNB
|
|
307
315
|
|
|
308
|
-
Item
|
|
316
|
+
Item ZACAR9DD3H
|
|
309
317
|
|
|
310
|
-
Item
|
|
318
|
+
Item D27NQVDPHK
|
|
311
319
|
|
|
312
320
|
#### Summary
|
|
313
321
|
|
|
314
|
-
Load ItemsItem
|
|
322
|
+
Load ItemsItem B0A73GATAR
|
|
315
323
|
|
|
316
|
-
Item
|
|
324
|
+
Item GMKA93SKRQ
|
|
317
325
|
|
|
318
|
-
Item
|
|
326
|
+
Item 2E9PXOO6CNJ
|
|
319
327
|
|
|
320
|
-
Item
|
|
328
|
+
Item QDB3LPYVNB
|
|
321
329
|
|
|
322
|
-
Item
|
|
330
|
+
Item ZACAR9DD3H
|
|
323
331
|
|
|
324
|
-
Item
|
|
332
|
+
Item D27NQVDPHK
|
|
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 B0A73GATAR</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 GMKA93SKRQ</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 2E9PXOO6CNJ</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 QDB3LPYVNB</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 ZACAR9DD3H</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 D27NQVDPHK</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-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:06:52.930Z
|
|
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,25 +363,6 @@ export default AppHeaderExample;
|
|
|
363
363
|
</div>
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
#### Props
|
|
367
|
-
|
|
368
|
-
| Name | Type | Default | Description |
|
|
369
|
-
| --- | --- | --- | --- |
|
|
370
|
-
| label | Node | — | The service name shown as the navigator dropdown label. |
|
|
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. |
|
|
384
|
-
|
|
385
366
|
## ActionBarItem
|
|
386
367
|
|
|
387
368
|
The ActionBarItem components consists mainly of two sub-components: Icon and Popover. The Icon component is mandatory and is shown in the header. The Popover component is optional and it's content will be shown inside a Popover.
|
|
@@ -682,56 +663,4 @@ export default ActionBarItemsExample;
|
|
|
682
663
|
</nav>
|
|
683
664
|
</div>
|
|
684
665
|
</div>
|
|
685
|
-
```
|
|
686
|
-
|
|
687
|
-
#### Props: ActionBarItem
|
|
688
|
-
|
|
689
|
-
### ActionBarItem
|
|
690
|
-
|
|
691
|
-
| Name | Type | Default | Description |
|
|
692
|
-
| --- | --- | --- | --- |
|
|
693
|
-
| id | String | — | The id is used to identify the item in the DOM. If not provided, a random id is used instead. |
|
|
694
|
-
| title | String | — | The title property for the sub component ActionBarItem.Popover. This can be a String or another component as well as a React-Intl component. |
|
|
695
|
-
| className | String | — | Additional class names that are added to the respective component. It can be defined for the parent and all sub components. |
|
|
696
|
-
| mobileDialogBodyClassName | String | — | Additional class names that are added to dialog fallback modal-body element. |
|
|
697
|
-
| hidePopoverOnClick | Boolean | true | Defined if the popover should close when any child element is being clicked. |
|
|
698
|
-
| popoverWidth | Number | 250 | Possible values are: 100, 150, 200, 250, 300, 350, 400, 450 or 500 |
|
|
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 |
|
|
701
|
-
|
|
702
|
-
#### Props: ActionBarItem.List
|
|
703
|
-
|
|
704
|
-
### ActionBarItem.List
|
|
705
|
-
|
|
706
|
-
| Name | Type | Default | Description |
|
|
707
|
-
| --- | --- | --- | --- |
|
|
708
|
-
| className | String | — | Additional class names that are added to the wrapping list item component. |
|
|
709
|
-
|
|
710
|
-
#### Props: ActionBarItem.ListItem
|
|
711
|
-
|
|
712
|
-
### ActionBarItem.ListItem
|
|
713
|
-
|
|
714
|
-
| Name | Type | Default | Description |
|
|
715
|
-
| --- | --- | --- | --- |
|
|
716
|
-
| hasLink | Boolean | — | Set it to true when you want to use the item as link item. In case, please use the Link component from react-router-dom instead of an anchor tag to prevent side effects when automatically closing the popover. |
|
|
717
|
-
| icon | String | — | The name of the icon to be used for the item. |
|
|
718
|
-
| onClick | Function | — | 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. |
|
|
719
|
-
| className | String | — | Additional class names that are added to the wrapping list item component. |
|
|
720
|
-
|
|
721
|
-
#### Props: ActionBarItem.ListSeparator
|
|
722
|
-
|
|
723
|
-
### ActionBarItem.ListSeparator
|
|
724
|
-
|
|
725
|
-
| Name | Type | Default | Description |
|
|
726
|
-
| --- | --- | --- | --- |
|
|
727
|
-
| className | String | — | Additional class names that are added to the wrapping list item component. |
|
|
728
|
-
|
|
729
|
-
#### Props: ActionBarItem.Popover
|
|
730
|
-
|
|
731
|
-
### ActionBarItem.Popover
|
|
732
|
-
|
|
733
|
-
| Name | Type | Default | Description |
|
|
734
|
-
| --- | --- | --- | --- |
|
|
735
|
-
| title | String / Node | — | The popover title. |
|
|
736
|
-
| useOffscreen | Boolean | false | Define whether the popover content shall be rendered behind the scene to pre-load content or to avoid unmounting the content component |
|
|
737
|
-
| className | String | — | Additional class names that are added to the popover content. |
|
|
666
|
+
```
|