@rio-cloud/uikit-mcp 1.1.4 → 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 +80 -80
- package/dist/docs/components/accentBar.md +34 -2
- package/dist/docs/components/activity.md +13 -2
- package/dist/docs/components/animatedNumber.md +16 -3
- package/dist/docs/components/animatedTextReveal.md +53 -7
- package/dist/docs/components/animations.md +30 -30
- package/dist/docs/components/appHeader.md +58 -2
- package/dist/docs/components/appLayout.md +543 -38
- package/dist/docs/components/appNavigationBar.md +54 -2
- package/dist/docs/components/areaCharts.md +4 -4
- package/dist/docs/components/aspectRatioPlaceholder.md +10 -2
- package/dist/docs/components/assetTree.md +1065 -218
- package/dist/docs/components/autosuggests.md +1 -1
- package/dist/docs/components/avatar.md +24 -2
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +27 -27
- package/dist/docs/components/barList.md +21 -9
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +99 -2
- package/dist/docs/components/button.md +161 -16
- package/dist/docs/components/buttonToolbar.md +9 -2
- package/dist/docs/components/calendarStripe.md +84 -110
- package/dist/docs/components/card.md +10 -2
- 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 +51 -26
- package/dist/docs/components/clearableInput.md +17 -17
- package/dist/docs/components/collapse.md +27 -3
- package/dist/docs/components/composedCharts.md +15 -15
- package/dist/docs/components/contentLoader.md +125 -104
- package/dist/docs/components/dataTabs.md +189 -9
- package/dist/docs/components/datepickers.md +733 -721
- package/dist/docs/components/dialogs.md +361 -1
- package/dist/docs/components/divider.md +14 -2
- package/dist/docs/components/dropdowns.md +4533 -4352
- package/dist/docs/components/editableContent.md +186 -2
- package/dist/docs/components/expander.md +51 -4
- package/dist/docs/components/fade.md +41 -6
- package/dist/docs/components/fadeExpander.md +11 -2
- package/dist/docs/components/fadeUp.md +21 -3
- package/dist/docs/components/feedback.md +43 -2
- package/dist/docs/components/filePickers.md +44 -2
- package/dist/docs/components/formLabel.md +16 -2
- package/dist/docs/components/groupedItemList.md +53 -2
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +6 -2
- package/dist/docs/components/labeledElement.md +12 -2
- package/dist/docs/components/licensePlate.md +10 -2
- package/dist/docs/components/lineCharts.md +3 -3
- package/dist/docs/components/listMenu.md +72 -2
- package/dist/docs/components/loadMore.md +28 -2
- 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 +1 -1
- package/dist/docs/components/mapPolygon.md +1 -1
- package/dist/docs/components/mapRoute.md +1 -1
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +1 -1
- package/dist/docs/components/mapUtils.md +1 -1
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +22 -2
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +50 -2
- package/dist/docs/components/onboarding.md +25 -1
- package/dist/docs/components/page.md +32 -2
- package/dist/docs/components/pager.md +14 -2
- package/dist/docs/components/pieCharts.md +36 -36
- package/dist/docs/components/popover.md +39 -1
- package/dist/docs/components/position.md +10 -2
- package/dist/docs/components/radialBarCharts.md +25 -25
- package/dist/docs/components/radiobutton.md +137 -9
- package/dist/docs/components/releaseNotes.md +18 -1
- package/dist/docs/components/resizer.md +13 -2
- package/dist/docs/components/responsiveColumnStripe.md +19 -2
- package/dist/docs/components/responsiveVideo.md +11 -2
- package/dist/docs/components/rioglyph.md +12 -2
- package/dist/docs/components/rules.md +94 -4
- package/dist/docs/components/saveableInput.md +399 -275
- package/dist/docs/components/selects.md +1 -1
- package/dist/docs/components/sidebar.md +38 -2
- package/dist/docs/components/sliders.md +37 -2
- package/dist/docs/components/smoothScrollbars.md +92 -2
- package/dist/docs/components/spinners.md +50 -2
- package/dist/docs/components/states.md +216 -1
- package/dist/docs/components/statsWidgets.md +122 -2
- package/dist/docs/components/statusBar.md +28 -2
- package/dist/docs/components/stepButton.md +8 -2
- package/dist/docs/components/steppedProgressBars.md +66 -2
- package/dist/docs/components/subNavigation.md +8 -1
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +12 -38
- package/dist/docs/components/switch.md +11 -2
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +55 -1
- package/dist/docs/components/tags.md +32 -2
- package/dist/docs/components/teaser.md +29 -2
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +30 -2
- package/dist/docs/components/toggleButton.md +65 -7
- package/dist/docs/components/tooltip.md +26 -18
- package/dist/docs/components/virtualList.md +103 -77
- package/dist/docs/foundations.md +177 -177
- package/dist/docs/start/changelog.md +1 -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 +2 -2
- 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 +1 -1
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +200 -200
- package/dist/docs/templates/loading-progress.md +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 +16 -16
- 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 +1 -1
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +51 -51
- package/dist/docs/utilities/useTableSelection.md +87 -87
- 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 +1 -1
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Application
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/appLayout
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:07.567Z
|
|
7
7
|
|
|
8
8
|
The ApplicationLayout components consists of three sub-components: ApplicationHeader, ApplicationBody, ApplicationSidebar
|
|
9
9
|
|
|
@@ -136,6 +136,76 @@ export default () => (
|
|
|
136
136
|
</div>
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
+
#### Props: ApplicationLayout
|
|
140
|
+
|
|
141
|
+
### ApplicationLayout
|
|
142
|
+
|
|
143
|
+
| Name | Type | Default | Description |
|
|
144
|
+
| --- | --- | --- | --- |
|
|
145
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
146
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
147
|
+
|
|
148
|
+
#### Props: ApplicationLayoutHeader
|
|
149
|
+
|
|
150
|
+
### ApplicationLayoutHeader
|
|
151
|
+
|
|
152
|
+
| Name | Type | Default | Description |
|
|
153
|
+
| --- | --- | --- | --- |
|
|
154
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
155
|
+
|
|
156
|
+
#### Props: ApplicationLayoutSidebar
|
|
157
|
+
|
|
158
|
+
### ApplicationLayoutSidebar
|
|
159
|
+
|
|
160
|
+
| Name | Type | Default | Description |
|
|
161
|
+
| --- | --- | --- | --- |
|
|
162
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
163
|
+
|
|
164
|
+
#### Props: ApplicationLayoutBody
|
|
165
|
+
|
|
166
|
+
### ApplicationLayoutBody
|
|
167
|
+
|
|
168
|
+
| Name | Type | Default | Description |
|
|
169
|
+
| --- | --- | --- | --- |
|
|
170
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
171
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
172
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
173
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
174
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
175
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
176
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
177
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
178
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
179
|
+
|
|
180
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
181
|
+
|
|
182
|
+
### ApplicationLayoutBodyNavigation
|
|
183
|
+
|
|
184
|
+
| Name | Type | Default | Description |
|
|
185
|
+
| --- | --- | --- | --- |
|
|
186
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
187
|
+
|
|
188
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
189
|
+
|
|
190
|
+
### ApplicationLayoutBodyBottomBar
|
|
191
|
+
|
|
192
|
+
| Name | Type | Default | Description |
|
|
193
|
+
| --- | --- | --- | --- |
|
|
194
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
195
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
196
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
197
|
+
|
|
198
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
199
|
+
|
|
200
|
+
### ApplicationLayoutBodyBanner
|
|
201
|
+
|
|
202
|
+
| Name | Type | Default | Description |
|
|
203
|
+
| --- | --- | --- | --- |
|
|
204
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
205
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
206
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
207
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
208
|
+
|
|
139
209
|
## SubNavigation example
|
|
140
210
|
|
|
141
211
|
### Example: Example 2
|
|
@@ -343,6 +413,76 @@ const useResizer = () => {
|
|
|
343
413
|
</div>
|
|
344
414
|
```
|
|
345
415
|
|
|
416
|
+
#### Props: ApplicationLayout
|
|
417
|
+
|
|
418
|
+
### ApplicationLayout
|
|
419
|
+
|
|
420
|
+
| Name | Type | Default | Description |
|
|
421
|
+
| --- | --- | --- | --- |
|
|
422
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
423
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
424
|
+
|
|
425
|
+
#### Props: ApplicationLayoutHeader
|
|
426
|
+
|
|
427
|
+
### ApplicationLayoutHeader
|
|
428
|
+
|
|
429
|
+
| Name | Type | Default | Description |
|
|
430
|
+
| --- | --- | --- | --- |
|
|
431
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
432
|
+
|
|
433
|
+
#### Props: ApplicationLayoutSidebar
|
|
434
|
+
|
|
435
|
+
### ApplicationLayoutSidebar
|
|
436
|
+
|
|
437
|
+
| Name | Type | Default | Description |
|
|
438
|
+
| --- | --- | --- | --- |
|
|
439
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
440
|
+
|
|
441
|
+
#### Props: ApplicationLayoutBody
|
|
442
|
+
|
|
443
|
+
### ApplicationLayoutBody
|
|
444
|
+
|
|
445
|
+
| Name | Type | Default | Description |
|
|
446
|
+
| --- | --- | --- | --- |
|
|
447
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
448
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
449
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
450
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
451
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
452
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
453
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
454
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
455
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
456
|
+
|
|
457
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
458
|
+
|
|
459
|
+
### ApplicationLayoutBodyNavigation
|
|
460
|
+
|
|
461
|
+
| Name | Type | Default | Description |
|
|
462
|
+
| --- | --- | --- | --- |
|
|
463
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
464
|
+
|
|
465
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
466
|
+
|
|
467
|
+
### ApplicationLayoutBodyBottomBar
|
|
468
|
+
|
|
469
|
+
| Name | Type | Default | Description |
|
|
470
|
+
| --- | --- | --- | --- |
|
|
471
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
472
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
473
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
474
|
+
|
|
475
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
476
|
+
|
|
477
|
+
### ApplicationLayoutBodyBanner
|
|
478
|
+
|
|
479
|
+
| Name | Type | Default | Description |
|
|
480
|
+
| --- | --- | --- | --- |
|
|
481
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
482
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
483
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
484
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
485
|
+
|
|
346
486
|
## Body banner example
|
|
347
487
|
|
|
348
488
|
### Example: Example 3
|
|
@@ -477,6 +617,76 @@ export default () => (
|
|
|
477
617
|
</div>
|
|
478
618
|
```
|
|
479
619
|
|
|
620
|
+
#### Props: ApplicationLayout
|
|
621
|
+
|
|
622
|
+
### ApplicationLayout
|
|
623
|
+
|
|
624
|
+
| Name | Type | Default | Description |
|
|
625
|
+
| --- | --- | --- | --- |
|
|
626
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
627
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
628
|
+
|
|
629
|
+
#### Props: ApplicationLayoutHeader
|
|
630
|
+
|
|
631
|
+
### ApplicationLayoutHeader
|
|
632
|
+
|
|
633
|
+
| Name | Type | Default | Description |
|
|
634
|
+
| --- | --- | --- | --- |
|
|
635
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
636
|
+
|
|
637
|
+
#### Props: ApplicationLayoutSidebar
|
|
638
|
+
|
|
639
|
+
### ApplicationLayoutSidebar
|
|
640
|
+
|
|
641
|
+
| Name | Type | Default | Description |
|
|
642
|
+
| --- | --- | --- | --- |
|
|
643
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
644
|
+
|
|
645
|
+
#### Props: ApplicationLayoutBody
|
|
646
|
+
|
|
647
|
+
### ApplicationLayoutBody
|
|
648
|
+
|
|
649
|
+
| Name | Type | Default | Description |
|
|
650
|
+
| --- | --- | --- | --- |
|
|
651
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
652
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
653
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
654
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
655
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
656
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
657
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
658
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
659
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
660
|
+
|
|
661
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
662
|
+
|
|
663
|
+
### ApplicationLayoutBodyNavigation
|
|
664
|
+
|
|
665
|
+
| Name | Type | Default | Description |
|
|
666
|
+
| --- | --- | --- | --- |
|
|
667
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
668
|
+
|
|
669
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
670
|
+
|
|
671
|
+
### ApplicationLayoutBodyBottomBar
|
|
672
|
+
|
|
673
|
+
| Name | Type | Default | Description |
|
|
674
|
+
| --- | --- | --- | --- |
|
|
675
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
676
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
677
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
678
|
+
|
|
679
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
680
|
+
|
|
681
|
+
### ApplicationLayoutBodyBanner
|
|
682
|
+
|
|
683
|
+
| Name | Type | Default | Description |
|
|
684
|
+
| --- | --- | --- | --- |
|
|
685
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
686
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
687
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
688
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
689
|
+
|
|
480
690
|
## Bottom bar example
|
|
481
691
|
|
|
482
692
|
### Example: Example 4
|
|
@@ -615,6 +825,76 @@ export default () => (
|
|
|
615
825
|
</div>
|
|
616
826
|
```
|
|
617
827
|
|
|
828
|
+
#### Props: ApplicationLayout
|
|
829
|
+
|
|
830
|
+
### ApplicationLayout
|
|
831
|
+
|
|
832
|
+
| Name | Type | Default | Description |
|
|
833
|
+
| --- | --- | --- | --- |
|
|
834
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
835
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
836
|
+
|
|
837
|
+
#### Props: ApplicationLayoutHeader
|
|
838
|
+
|
|
839
|
+
### ApplicationLayoutHeader
|
|
840
|
+
|
|
841
|
+
| Name | Type | Default | Description |
|
|
842
|
+
| --- | --- | --- | --- |
|
|
843
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
844
|
+
|
|
845
|
+
#### Props: ApplicationLayoutSidebar
|
|
846
|
+
|
|
847
|
+
### ApplicationLayoutSidebar
|
|
848
|
+
|
|
849
|
+
| Name | Type | Default | Description |
|
|
850
|
+
| --- | --- | --- | --- |
|
|
851
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
852
|
+
|
|
853
|
+
#### Props: ApplicationLayoutBody
|
|
854
|
+
|
|
855
|
+
### ApplicationLayoutBody
|
|
856
|
+
|
|
857
|
+
| Name | Type | Default | Description |
|
|
858
|
+
| --- | --- | --- | --- |
|
|
859
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
860
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
861
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
862
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
863
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
864
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
865
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
866
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
867
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
868
|
+
|
|
869
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
870
|
+
|
|
871
|
+
### ApplicationLayoutBodyNavigation
|
|
872
|
+
|
|
873
|
+
| Name | Type | Default | Description |
|
|
874
|
+
| --- | --- | --- | --- |
|
|
875
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
876
|
+
|
|
877
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
878
|
+
|
|
879
|
+
### ApplicationLayoutBodyBottomBar
|
|
880
|
+
|
|
881
|
+
| Name | Type | Default | Description |
|
|
882
|
+
| --- | --- | --- | --- |
|
|
883
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
884
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
885
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
886
|
+
|
|
887
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
888
|
+
|
|
889
|
+
### ApplicationLayoutBodyBanner
|
|
890
|
+
|
|
891
|
+
| Name | Type | Default | Description |
|
|
892
|
+
| --- | --- | --- | --- |
|
|
893
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
894
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
895
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
896
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
897
|
+
|
|
618
898
|
## Sidebar Example
|
|
619
899
|
|
|
620
900
|
### Example: Example 5
|
|
@@ -793,6 +1073,76 @@ export default () => (
|
|
|
793
1073
|
</div>
|
|
794
1074
|
```
|
|
795
1075
|
|
|
1076
|
+
#### Props: ApplicationLayout
|
|
1077
|
+
|
|
1078
|
+
### ApplicationLayout
|
|
1079
|
+
|
|
1080
|
+
| Name | Type | Default | Description |
|
|
1081
|
+
| --- | --- | --- | --- |
|
|
1082
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
1083
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1084
|
+
|
|
1085
|
+
#### Props: ApplicationLayoutHeader
|
|
1086
|
+
|
|
1087
|
+
### ApplicationLayoutHeader
|
|
1088
|
+
|
|
1089
|
+
| Name | Type | Default | Description |
|
|
1090
|
+
| --- | --- | --- | --- |
|
|
1091
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1092
|
+
|
|
1093
|
+
#### Props: ApplicationLayoutSidebar
|
|
1094
|
+
|
|
1095
|
+
### ApplicationLayoutSidebar
|
|
1096
|
+
|
|
1097
|
+
| Name | Type | Default | Description |
|
|
1098
|
+
| --- | --- | --- | --- |
|
|
1099
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1100
|
+
|
|
1101
|
+
#### Props: ApplicationLayoutBody
|
|
1102
|
+
|
|
1103
|
+
### ApplicationLayoutBody
|
|
1104
|
+
|
|
1105
|
+
| Name | Type | Default | Description |
|
|
1106
|
+
| --- | --- | --- | --- |
|
|
1107
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
1108
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
1109
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
1110
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
1111
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
1112
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
1113
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
1114
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
1115
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1116
|
+
|
|
1117
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
1118
|
+
|
|
1119
|
+
### ApplicationLayoutBodyNavigation
|
|
1120
|
+
|
|
1121
|
+
| Name | Type | Default | Description |
|
|
1122
|
+
| --- | --- | --- | --- |
|
|
1123
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
1124
|
+
|
|
1125
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
1126
|
+
|
|
1127
|
+
### ApplicationLayoutBodyBottomBar
|
|
1128
|
+
|
|
1129
|
+
| Name | Type | Default | Description |
|
|
1130
|
+
| --- | --- | --- | --- |
|
|
1131
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1132
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
1133
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
1134
|
+
|
|
1135
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
1136
|
+
|
|
1137
|
+
### ApplicationLayoutBodyBanner
|
|
1138
|
+
|
|
1139
|
+
| Name | Type | Default | Description |
|
|
1140
|
+
| --- | --- | --- | --- |
|
|
1141
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
1142
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
1143
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
1144
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1145
|
+
|
|
796
1146
|
## Complete example with all components
|
|
797
1147
|
|
|
798
1148
|
### Example: Example 6
|
|
@@ -805,17 +1155,22 @@ Navigation 3
|
|
|
805
1155
|
|
|
806
1156
|
4
|
|
807
1157
|
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
1158
|
+
6
|
|
1159
|
+
3
|
|
1160
|
+
4
|
|
1161
|
+
6
|
|
812
1162
|
|
|
813
|
-
Asset
|
|
814
|
-
Vehicle-
|
|
815
|
-
Vehicle-
|
|
816
|
-
Vehicle-
|
|
1163
|
+
Asset Group8
|
|
1164
|
+
Vehicle-1458Asset 1001
|
|
1165
|
+
Vehicle-2546Asset 1016
|
|
1166
|
+
Vehicle-3976Asset 1010
|
|
1167
|
+
Vehicle-4094Asset 1009
|
|
1168
|
+
Vehicle-5226Asset 1013
|
|
1169
|
+
Vehicle-5265Asset 1012
|
|
1170
|
+
Vehicle-5337Asset 1005
|
|
1171
|
+
Vehicle-6602Asset 1018
|
|
817
1172
|
|
|
818
|
-
|
|
1173
|
+
Ungrouped11
|
|
819
1174
|
|
|
820
1175
|
200
|
|
821
1176
|
|
|
@@ -850,17 +1205,22 @@ Navigation 3
|
|
|
850
1205
|
|
|
851
1206
|
4
|
|
852
1207
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
1208
|
+
6
|
|
1209
|
+
3
|
|
1210
|
+
4
|
|
1211
|
+
6
|
|
857
1212
|
|
|
858
|
-
Asset
|
|
859
|
-
Vehicle-
|
|
860
|
-
Vehicle-
|
|
861
|
-
Vehicle-
|
|
1213
|
+
Asset Group8
|
|
1214
|
+
Vehicle-1458Asset 1001
|
|
1215
|
+
Vehicle-2546Asset 1016
|
|
1216
|
+
Vehicle-3976Asset 1010
|
|
1217
|
+
Vehicle-4094Asset 1009
|
|
1218
|
+
Vehicle-5226Asset 1013
|
|
1219
|
+
Vehicle-5265Asset 1012
|
|
1220
|
+
Vehicle-5337Asset 1005
|
|
1221
|
+
Vehicle-6602Asset 1018
|
|
862
1222
|
|
|
863
|
-
|
|
1223
|
+
Ungrouped11
|
|
864
1224
|
|
|
865
1225
|
200
|
|
866
1226
|
|
|
@@ -1346,24 +1706,24 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1346
1706
|
<div class="display-flex justify-content-between align-items-start width-100pct">
|
|
1347
1707
|
<div class="TreeSummary display-flex flex-wrap align-items-center gap-10 padding-left-3">
|
|
1348
1708
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1349
|
-
<span class="rioglyph rioglyph-
|
|
1709
|
+
<span class="rioglyph rioglyph-truck text-size-16 margin-right-2">
|
|
1350
1710
|
</span>
|
|
1351
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1711
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">6</span>
|
|
1352
1712
|
</div>
|
|
1353
1713
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1354
|
-
<span class="rioglyph rioglyph-
|
|
1714
|
+
<span class="rioglyph rioglyph-trailer text-size-16 margin-right-2">
|
|
1355
1715
|
</span>
|
|
1356
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1716
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">3</span>
|
|
1357
1717
|
</div>
|
|
1358
1718
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1359
|
-
<span class="rioglyph rioglyph-
|
|
1719
|
+
<span class="rioglyph rioglyph-van text-size-16 margin-right-2">
|
|
1360
1720
|
</span>
|
|
1361
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1721
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">4</span>
|
|
1362
1722
|
</div>
|
|
1363
1723
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1364
|
-
<span class="rioglyph rioglyph-
|
|
1724
|
+
<span class="rioglyph rioglyph-bus text-size-16 margin-right-2">
|
|
1365
1725
|
</span>
|
|
1366
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1726
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">6</span>
|
|
1367
1727
|
</div>
|
|
1368
1728
|
</div>
|
|
1369
1729
|
</div>
|
|
@@ -1381,7 +1741,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1381
1741
|
<span class="TreeLabelNameText">
|
|
1382
1742
|
<span class="TreeLabelNameTextHeadline">Asset Group</span>
|
|
1383
1743
|
</span>
|
|
1384
|
-
<span class="TreeLabelCount label label-muted label-filled label-condensed">
|
|
1744
|
+
<span class="TreeLabelCount label label-muted label-filled label-condensed">8</span>
|
|
1385
1745
|
<span class="TreeLabelExpander rioglyph rioglyph-chevron-down ">
|
|
1386
1746
|
</span>
|
|
1387
1747
|
</span>
|
|
@@ -1393,15 +1753,75 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1393
1753
|
</span>
|
|
1394
1754
|
</label>
|
|
1395
1755
|
<span class="TreeLabel TreeLabelName">
|
|
1396
|
-
<span class="rioglyph rioglyph-
|
|
1756
|
+
<span class="rioglyph rioglyph-trailer">
|
|
1397
1757
|
</span>
|
|
1398
1758
|
<span class="TreeLabelNameText">
|
|
1399
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1759
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-1458</span>
|
|
1400
1760
|
<span class="TreeLabelNameTextSubline">Asset 1001</span>
|
|
1401
1761
|
</span>
|
|
1402
1762
|
</span>
|
|
1403
1763
|
</div>
|
|
1404
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1764
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9716">
|
|
1765
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1766
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1767
|
+
<span class="checkbox-text">
|
|
1768
|
+
</span>
|
|
1769
|
+
</label>
|
|
1770
|
+
<span class="TreeLabel TreeLabelName">
|
|
1771
|
+
<span class="rioglyph rioglyph-trailer">
|
|
1772
|
+
</span>
|
|
1773
|
+
<span class="TreeLabelNameText">
|
|
1774
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-2546</span>
|
|
1775
|
+
<span class="TreeLabelNameTextSubline">Asset 1016</span>
|
|
1776
|
+
</span>
|
|
1777
|
+
</span>
|
|
1778
|
+
</div>
|
|
1779
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9710">
|
|
1780
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1781
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1782
|
+
<span class="checkbox-text">
|
|
1783
|
+
</span>
|
|
1784
|
+
</label>
|
|
1785
|
+
<span class="TreeLabel TreeLabelName">
|
|
1786
|
+
<span class="rioglyph rioglyph-bus">
|
|
1787
|
+
</span>
|
|
1788
|
+
<span class="TreeLabelNameText">
|
|
1789
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-3976</span>
|
|
1790
|
+
<span class="TreeLabelNameTextSubline">Asset 1010</span>
|
|
1791
|
+
</span>
|
|
1792
|
+
</span>
|
|
1793
|
+
</div>
|
|
1794
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d979">
|
|
1795
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1796
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1797
|
+
<span class="checkbox-text">
|
|
1798
|
+
</span>
|
|
1799
|
+
</label>
|
|
1800
|
+
<span class="TreeLabel TreeLabelName">
|
|
1801
|
+
<span class="rioglyph rioglyph-bus">
|
|
1802
|
+
</span>
|
|
1803
|
+
<span class="TreeLabelNameText">
|
|
1804
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-4094</span>
|
|
1805
|
+
<span class="TreeLabelNameTextSubline">Asset 1009</span>
|
|
1806
|
+
</span>
|
|
1807
|
+
</span>
|
|
1808
|
+
</div>
|
|
1809
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9713">
|
|
1810
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1811
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1812
|
+
<span class="checkbox-text">
|
|
1813
|
+
</span>
|
|
1814
|
+
</label>
|
|
1815
|
+
<span class="TreeLabel TreeLabelName">
|
|
1816
|
+
<span class="rioglyph rioglyph-bus">
|
|
1817
|
+
</span>
|
|
1818
|
+
<span class="TreeLabelNameText">
|
|
1819
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5226</span>
|
|
1820
|
+
<span class="TreeLabelNameTextSubline">Asset 1013</span>
|
|
1821
|
+
</span>
|
|
1822
|
+
</span>
|
|
1823
|
+
</div>
|
|
1824
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9712">
|
|
1405
1825
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1406
1826
|
<input type="checkbox" class="TreeCheckbox">
|
|
1407
1827
|
<span class="checkbox-text">
|
|
@@ -1411,12 +1831,27 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1411
1831
|
<span class="rioglyph rioglyph-truck">
|
|
1412
1832
|
</span>
|
|
1413
1833
|
<span class="TreeLabelNameText">
|
|
1414
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1415
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1834
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5265</span>
|
|
1835
|
+
<span class="TreeLabelNameTextSubline">Asset 1012</span>
|
|
1416
1836
|
</span>
|
|
1417
1837
|
</span>
|
|
1418
1838
|
</div>
|
|
1419
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1839
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d975">
|
|
1840
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1841
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1842
|
+
<span class="checkbox-text">
|
|
1843
|
+
</span>
|
|
1844
|
+
</label>
|
|
1845
|
+
<span class="TreeLabel TreeLabelName">
|
|
1846
|
+
<span class="rioglyph rioglyph-van">
|
|
1847
|
+
</span>
|
|
1848
|
+
<span class="TreeLabelNameText">
|
|
1849
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5337</span>
|
|
1850
|
+
<span class="TreeLabelNameTextSubline">Asset 1005</span>
|
|
1851
|
+
</span>
|
|
1852
|
+
</span>
|
|
1853
|
+
</div>
|
|
1854
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9718">
|
|
1420
1855
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1421
1856
|
<input type="checkbox" class="TreeCheckbox">
|
|
1422
1857
|
<span class="checkbox-text">
|
|
@@ -1426,8 +1861,8 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1426
1861
|
<span class="rioglyph rioglyph-bus">
|
|
1427
1862
|
</span>
|
|
1428
1863
|
<span class="TreeLabelNameText">
|
|
1429
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1430
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1864
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-6602</span>
|
|
1865
|
+
<span class="TreeLabelNameTextSubline">Asset 1018</span>
|
|
1431
1866
|
</span>
|
|
1432
1867
|
</span>
|
|
1433
1868
|
</div>
|
|
@@ -1443,7 +1878,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1443
1878
|
<span class="TreeLabelNameText">
|
|
1444
1879
|
<span class="TreeLabelNameTextHeadline">Ungrouped</span>
|
|
1445
1880
|
</span>
|
|
1446
|
-
<span class="TreeLabelCount label label-muted label-filled label-condensed">
|
|
1881
|
+
<span class="TreeLabelCount label label-muted label-filled label-condensed">11</span>
|
|
1447
1882
|
<span class="TreeLabelExpander rioglyph rioglyph-chevron-down ">
|
|
1448
1883
|
</span>
|
|
1449
1884
|
</span>
|
|
@@ -1611,4 +2046,74 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1611
2046
|
<button type="button" class="btn btn-primary">Bottom Button</button>
|
|
1612
2047
|
</div>
|
|
1613
2048
|
</div>
|
|
1614
|
-
```
|
|
2049
|
+
```
|
|
2050
|
+
|
|
2051
|
+
#### Props: ApplicationLayout
|
|
2052
|
+
|
|
2053
|
+
### ApplicationLayout
|
|
2054
|
+
|
|
2055
|
+
| Name | Type | Default | Description |
|
|
2056
|
+
| --- | --- | --- | --- |
|
|
2057
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
2058
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2059
|
+
|
|
2060
|
+
#### Props: ApplicationLayoutHeader
|
|
2061
|
+
|
|
2062
|
+
### ApplicationLayoutHeader
|
|
2063
|
+
|
|
2064
|
+
| Name | Type | Default | Description |
|
|
2065
|
+
| --- | --- | --- | --- |
|
|
2066
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
2067
|
+
|
|
2068
|
+
#### Props: ApplicationLayoutSidebar
|
|
2069
|
+
|
|
2070
|
+
### ApplicationLayoutSidebar
|
|
2071
|
+
|
|
2072
|
+
| Name | Type | Default | Description |
|
|
2073
|
+
| --- | --- | --- | --- |
|
|
2074
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2075
|
+
|
|
2076
|
+
#### Props: ApplicationLayoutBody
|
|
2077
|
+
|
|
2078
|
+
### ApplicationLayoutBody
|
|
2079
|
+
|
|
2080
|
+
| Name | Type | Default | Description |
|
|
2081
|
+
| --- | --- | --- | --- |
|
|
2082
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
2083
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
2084
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
2085
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
2086
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
2087
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
2088
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
2089
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
2090
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
2091
|
+
|
|
2092
|
+
#### Props: ApplicationLayoutBodyNavigation
|
|
2093
|
+
|
|
2094
|
+
### ApplicationLayoutBodyNavigation
|
|
2095
|
+
|
|
2096
|
+
| Name | Type | Default | Description |
|
|
2097
|
+
| --- | --- | --- | --- |
|
|
2098
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
2099
|
+
|
|
2100
|
+
#### Props: ApplicationLayoutBodyBottomBar
|
|
2101
|
+
|
|
2102
|
+
### ApplicationLayoutBodyBottomBar
|
|
2103
|
+
|
|
2104
|
+
| Name | Type | Default | Description |
|
|
2105
|
+
| --- | --- | --- | --- |
|
|
2106
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2107
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
2108
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
2109
|
+
|
|
2110
|
+
#### Props: ApplicationLayoutBodyBanner
|
|
2111
|
+
|
|
2112
|
+
### ApplicationLayoutBodyBanner
|
|
2113
|
+
|
|
2114
|
+
| Name | Type | Default | Description |
|
|
2115
|
+
| --- | --- | --- | --- |
|
|
2116
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
2117
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
2118
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
2119
|
+
| className | string | — | Additional class names that are added to the respective component. |
|