@rio-cloud/uikit-mcp 1.1.4 → 1.1.6
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 +188 -88
- package/dist/docs/components/accentBar.md +35 -3
- package/dist/docs/components/activity.md +14 -3
- package/dist/docs/components/animatedNumber.md +17 -4
- package/dist/docs/components/animatedTextReveal.md +54 -8
- package/dist/docs/components/animations.md +33 -33
- package/dist/docs/components/appHeader.md +65 -9
- package/dist/docs/components/appLayout.md +566 -61
- package/dist/docs/components/appNavigationBar.md +55 -3
- package/dist/docs/components/areaCharts.md +14 -14
- package/dist/docs/components/aspectRatioPlaceholder.md +11 -3
- package/dist/docs/components/assetTree.md +1174 -328
- package/dist/docs/components/autosuggests.md +2 -2
- package/dist/docs/components/avatar.md +25 -3
- package/dist/docs/components/banner.md +3 -3
- package/dist/docs/components/barCharts.md +38 -38
- package/dist/docs/components/barList.md +22 -10
- package/dist/docs/components/basicMap.md +2 -2
- package/dist/docs/components/bottomSheet.md +100 -3
- package/dist/docs/components/button.md +549 -36
- package/dist/docs/components/buttonToolbar.md +10 -3
- package/dist/docs/components/calendarStripe.md +127 -85
- package/dist/docs/components/card.md +11 -3
- package/dist/docs/components/carousel.md +2 -2
- package/dist/docs/components/chartColors.md +2 -2
- package/dist/docs/components/chartsGettingStarted.md +2 -2
- package/dist/docs/components/chat.md +3 -3
- package/dist/docs/components/checkbox.md +67 -45
- package/dist/docs/components/circularProgress.md +465 -0
- package/dist/docs/components/clearableInput.md +18 -18
- package/dist/docs/components/collapse.md +28 -4
- package/dist/docs/components/composedCharts.md +20 -20
- package/dist/docs/components/contentLoader.md +126 -105
- package/dist/docs/components/dataTabs.md +191 -11
- package/dist/docs/components/datepickers.md +735 -723
- package/dist/docs/components/dialogs.md +362 -2
- package/dist/docs/components/divider.md +15 -3
- package/dist/docs/components/dropdowns.md +4548 -4355
- package/dist/docs/components/editableContent.md +187 -3
- package/dist/docs/components/expander.md +52 -5
- package/dist/docs/components/fade.md +42 -7
- package/dist/docs/components/fadeExpander.md +13 -4
- package/dist/docs/components/fadeUp.md +22 -4
- package/dist/docs/components/feedback.md +44 -3
- package/dist/docs/components/filePickers.md +45 -3
- package/dist/docs/components/formLabel.md +20 -5
- package/dist/docs/components/groupedItemList.md +54 -3
- package/dist/docs/components/iconList.md +5 -5
- package/dist/docs/components/imagePreloader.md +7 -3
- package/dist/docs/components/labeledElement.md +13 -3
- package/dist/docs/components/licensePlate.md +11 -3
- package/dist/docs/components/lineCharts.md +10 -10
- package/dist/docs/components/listMenu.md +78 -8
- package/dist/docs/components/loadMore.md +29 -3
- package/dist/docs/components/mainNavigation.md +5 -5
- package/dist/docs/components/mapCircle.md +2 -2
- package/dist/docs/components/mapCluster.md +2 -2
- package/dist/docs/components/mapContext.md +2 -2
- package/dist/docs/components/mapDraggableMarker.md +2 -2
- package/dist/docs/components/mapGettingStarted.md +2 -2
- package/dist/docs/components/mapInfoBubble.md +2 -2
- package/dist/docs/components/mapLayerGroup.md +2 -2
- package/dist/docs/components/mapMarker.md +2 -2
- package/dist/docs/components/mapPolygon.md +2 -2
- package/dist/docs/components/mapRoute.md +2 -2
- package/dist/docs/components/mapRouteGenerator.md +2 -2
- package/dist/docs/components/mapSettings.md +9 -9
- package/dist/docs/components/mapUtils.md +2 -2
- package/dist/docs/components/multiselects.md +2 -2
- package/dist/docs/components/noData.md +23 -3
- package/dist/docs/components/notifications.md +2 -2
- package/dist/docs/components/numbercontrol.md +54 -5
- package/dist/docs/components/onboarding.md +26 -2
- package/dist/docs/components/page.md +33 -3
- package/dist/docs/components/pager.md +15 -3
- package/dist/docs/components/pieCharts.md +89 -78
- package/dist/docs/components/popover.md +40 -2
- package/dist/docs/components/position.md +11 -3
- package/dist/docs/components/radialBarCharts.md +2054 -2012
- package/dist/docs/components/radioCardGroup.md +487 -0
- package/dist/docs/components/radiobutton.md +138 -10
- package/dist/docs/components/releaseNotes.md +19 -2
- package/dist/docs/components/resizer.md +14 -3
- package/dist/docs/components/responsiveColumnStripe.md +20 -3
- package/dist/docs/components/responsiveVideo.md +12 -3
- package/dist/docs/components/rioglyph.md +13 -3
- package/dist/docs/components/rules.md +95 -5
- package/dist/docs/components/saveableInput.md +400 -276
- package/dist/docs/components/selects.md +2 -2
- package/dist/docs/components/sidebar.md +39 -3
- package/dist/docs/components/sliders.md +38 -3
- package/dist/docs/components/smoothScrollbars.md +93 -3
- package/dist/docs/components/spinners.md +51 -3
- package/dist/docs/components/states.md +217 -2
- package/dist/docs/components/statsWidgets.md +123 -3
- package/dist/docs/components/statusBar.md +29 -3
- package/dist/docs/components/stepButton.md +9 -3
- package/dist/docs/components/steppedProgressBars.md +67 -3
- package/dist/docs/components/subNavigation.md +24 -17
- package/dist/docs/components/supportMarker.md +2 -2
- package/dist/docs/components/svgImage.md +13 -3
- package/dist/docs/components/switch.md +218 -82
- package/dist/docs/components/tables.md +2 -2
- package/dist/docs/components/tagManager.md +56 -2
- package/dist/docs/components/tags.md +33 -3
- package/dist/docs/components/teaser.md +30 -3
- package/dist/docs/components/textTruncateMiddle.md +151 -0
- package/dist/docs/components/timeline.md +2 -2
- package/dist/docs/components/timepicker.md +687 -63
- package/dist/docs/components/toggleButton.md +96 -10
- package/dist/docs/components/tooltip.md +30 -21
- package/dist/docs/components/tracker.md +631 -0
- package/dist/docs/components/virtualList.md +107 -84
- package/dist/docs/foundations.md +647 -275
- package/dist/docs/start/changelog.md +2 -738
- package/dist/docs/start/goodtoknow.md +2 -2
- package/dist/docs/start/guidelines/color-combinations.md +2 -2
- package/dist/docs/start/guidelines/custom-css.md +2 -2
- package/dist/docs/start/guidelines/custom-rioglyph.md +2 -2
- package/dist/docs/start/guidelines/formatting.md +2 -2
- package/dist/docs/start/guidelines/iframe.md +2 -2
- package/dist/docs/start/guidelines/obfuscate-data.md +2 -2
- package/dist/docs/start/guidelines/print-css.md +2 -2
- package/dist/docs/start/guidelines/spinner.md +82 -82
- package/dist/docs/start/guidelines/state-in-url.md +263 -0
- package/dist/docs/start/guidelines/supported-browsers.md +2 -2
- package/dist/docs/start/guidelines/writing.md +2 -2
- package/dist/docs/start/howto.md +10 -10
- package/dist/docs/start/intro.md +2 -2
- package/dist/docs/start/responsiveness.md +2 -2
- package/dist/docs/templates/common-table.md +15 -14
- package/dist/docs/templates/detail-views.md +3 -3
- package/dist/docs/templates/expandable-details.md +2 -2
- package/dist/docs/templates/feature-cards.md +56 -56
- package/dist/docs/templates/form-summary.md +23 -23
- package/dist/docs/templates/form-toggle.md +2 -2
- package/dist/docs/templates/list-blocks.md +204 -204
- package/dist/docs/templates/loading-progress.md +2 -2
- package/dist/docs/templates/options-panel.md +2 -2
- package/dist/docs/templates/panel-variants.md +2 -2
- package/dist/docs/templates/progress-cards.md +2 -2
- package/dist/docs/templates/progress-success.md +2 -2
- package/dist/docs/templates/settings-form.md +24 -24
- package/dist/docs/templates/stats-blocks.md +18 -18
- package/dist/docs/templates/table-panel.md +2 -2
- package/dist/docs/templates/table-row-animation.md +2 -2
- package/dist/docs/templates/usage-cards.md +2 -2
- package/dist/docs/utilities/classNames.md +191 -0
- package/dist/docs/utilities/deviceUtils.md +2 -2
- package/dist/docs/utilities/featureToggles.md +2 -2
- package/dist/docs/utilities/fuelTypeUtils.md +2 -2
- package/dist/docs/utilities/routeUtils.md +326 -90
- package/dist/docs/utilities/useAfterMount.md +2 -2
- package/dist/docs/utilities/useAutoAnimate.md +2 -2
- package/dist/docs/utilities/useAverage.md +2 -2
- package/dist/docs/utilities/useClickOutside.md +2 -2
- package/dist/docs/utilities/useClipboard.md +3 -3
- package/dist/docs/utilities/useCookies.md +188 -0
- package/dist/docs/utilities/useCount.md +2 -2
- package/dist/docs/utilities/useDarkMode.md +2 -2
- package/dist/docs/utilities/useDebugInfo.md +5 -5
- package/dist/docs/utilities/useEffectOnce.md +2 -2
- package/dist/docs/utilities/useElapsedTime.md +2 -2
- package/dist/docs/utilities/useElementSize.md +2 -2
- package/dist/docs/utilities/useEsc.md +2 -2
- package/dist/docs/utilities/useEvent.md +2 -2
- package/dist/docs/utilities/useFocusTrap.md +2 -2
- package/dist/docs/utilities/useFullscreen.md +2 -2
- package/dist/docs/utilities/useHover.md +2 -2
- package/dist/docs/utilities/useIncomingPostMessages.md +2 -2
- package/dist/docs/utilities/useInterval.md +2 -2
- package/dist/docs/utilities/useIsFocusWithin.md +2 -2
- package/dist/docs/utilities/useKey.md +2 -2
- package/dist/docs/utilities/useLocalStorage.md +2 -2
- package/dist/docs/utilities/useLocationSuggestions.md +2 -2
- package/dist/docs/utilities/useMax.md +2 -2
- package/dist/docs/utilities/useMin.md +2 -2
- package/dist/docs/utilities/useMutationObserver.md +2 -2
- package/dist/docs/utilities/useOnScreen.md +2 -2
- package/dist/docs/utilities/useOnlineStatus.md +2 -2
- package/dist/docs/utilities/usePostMessage.md +3 -3
- package/dist/docs/utilities/usePostMessageSender.md +2 -2
- package/dist/docs/utilities/usePrevious.md +2 -2
- package/dist/docs/utilities/useResizeObserver.md +2 -2
- package/dist/docs/utilities/useRioCookieConsent.md +90 -0
- package/dist/docs/utilities/useScrollPosition.md +2 -2
- package/dist/docs/utilities/useSearch.md +2 -2
- package/dist/docs/utilities/useSearchHighlight.md +815 -0
- package/dist/docs/utilities/useSorting.md +2 -2
- package/dist/docs/utilities/useStateWithValidation.md +2 -2
- package/dist/docs/utilities/useSum.md +2 -2
- package/dist/docs/utilities/useTableExport.md +53 -53
- package/dist/docs/utilities/useTableSelection.md +90 -90
- package/dist/docs/utilities/useTimeout.md +2 -2
- package/dist/docs/utilities/useToggle.md +3 -3
- package/dist/docs/utilities/useUrlState.md +418 -0
- package/dist/docs/utilities/useWindowResize.md +2 -2
- package/dist/index.mjs +8 -8
- package/dist/version.json +2 -2
- package/package.json +9 -9
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Application
|
|
5
|
-
*Source:* https://uikit.developers.rio.cloud
|
|
6
|
-
*Captured:* 2026-
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#/components/appLayout
|
|
6
|
+
*Captured:* 2026-02-23T13:41:34.260Z
|
|
7
7
|
|
|
8
8
|
The ApplicationLayout components consists of three sub-components: ApplicationHeader, ApplicationBody, ApplicationSidebar
|
|
9
9
|
|
|
@@ -92,13 +92,13 @@ export default () => (
|
|
|
92
92
|
</ul>
|
|
93
93
|
<ul class="SubmoduleNavigation nav">
|
|
94
94
|
<li class="submodule " data-nav-item-key="1">
|
|
95
|
-
<a aria-current="page" class="active" href="
|
|
95
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Navigation 1</a>
|
|
96
96
|
</li>
|
|
97
97
|
<li class="submodule " data-nav-item-key="2">
|
|
98
|
-
<a href="
|
|
98
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
99
99
|
</li>
|
|
100
100
|
<li class="submodule " data-nav-item-key="3">
|
|
101
|
-
<a href="
|
|
101
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
102
102
|
</li>
|
|
103
103
|
</ul>
|
|
104
104
|
<ul class="ApplicationActionBar nav navbar-nav navbar-right ">
|
|
@@ -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
|
|
@@ -284,13 +354,13 @@ const useResizer = () => {
|
|
|
284
354
|
</ul>
|
|
285
355
|
<ul class="SubmoduleNavigation nav">
|
|
286
356
|
<li class="submodule " data-nav-item-key="1">
|
|
287
|
-
<a aria-current="page" class="active" href="
|
|
357
|
+
<a aria-current="page" class="active" href="//components/appLayout">Navigation 1</a>
|
|
288
358
|
</li>
|
|
289
359
|
<li class="submodule " data-nav-item-key="2">
|
|
290
|
-
<a href="
|
|
360
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
291
361
|
</li>
|
|
292
362
|
<li class="submodule " data-nav-item-key="3">
|
|
293
|
-
<a href="
|
|
363
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
294
364
|
</li>
|
|
295
365
|
</ul>
|
|
296
366
|
<ul class="ApplicationActionBar nav navbar-nav navbar-right ">
|
|
@@ -303,13 +373,13 @@ const useResizer = () => {
|
|
|
303
373
|
<div class="SubNavigation width-100pct overflow-auto">
|
|
304
374
|
<ul class="SubmoduleNavigation nav">
|
|
305
375
|
<li class="submodule" data-nav-item-key="1">
|
|
306
|
-
<a aria-current="page" class="active" href="
|
|
376
|
+
<a aria-current="page" class="active" href="//components/appLayout">Subnavigation 1</a>
|
|
307
377
|
</li>
|
|
308
378
|
<li class="submodule" data-nav-item-key="2">
|
|
309
|
-
<a href="
|
|
379
|
+
<a class="" href="#/2" data-discover="true">Subnavigation 2</a>
|
|
310
380
|
</li>
|
|
311
381
|
<li class="submodule" data-nav-item-key="3">
|
|
312
|
-
<a href="
|
|
382
|
+
<a class="" href="#/3" data-discover="true">Subnavigation 3</a>
|
|
313
383
|
</li>
|
|
314
384
|
</ul>
|
|
315
385
|
</div>
|
|
@@ -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
|
|
@@ -432,13 +572,13 @@ export default () => (
|
|
|
432
572
|
</ul>
|
|
433
573
|
<ul class="SubmoduleNavigation nav">
|
|
434
574
|
<li class="submodule " data-nav-item-key="1">
|
|
435
|
-
<a aria-current="page" class="active" href="
|
|
575
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Navigation 1</a>
|
|
436
576
|
</li>
|
|
437
577
|
<li class="submodule " data-nav-item-key="2">
|
|
438
|
-
<a href="
|
|
578
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
439
579
|
</li>
|
|
440
580
|
<li class="submodule " data-nav-item-key="3">
|
|
441
|
-
<a href="
|
|
581
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
442
582
|
</li>
|
|
443
583
|
</ul>
|
|
444
584
|
<ul class="ApplicationActionBar nav navbar-nav navbar-right ">
|
|
@@ -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
|
|
@@ -568,13 +778,13 @@ export default () => (
|
|
|
568
778
|
</ul>
|
|
569
779
|
<ul class="SubmoduleNavigation nav">
|
|
570
780
|
<li class="submodule " data-nav-item-key="1">
|
|
571
|
-
<a aria-current="page" class="active" href="
|
|
781
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Navigation 1</a>
|
|
572
782
|
</li>
|
|
573
783
|
<li class="submodule " data-nav-item-key="2">
|
|
574
|
-
<a href="
|
|
784
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
575
785
|
</li>
|
|
576
786
|
<li class="submodule " data-nav-item-key="3">
|
|
577
|
-
<a href="
|
|
787
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
578
788
|
</li>
|
|
579
789
|
</ul>
|
|
580
790
|
<ul class="ApplicationActionBar nav navbar-nav navbar-right ">
|
|
@@ -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
|
|
@@ -724,13 +1004,13 @@ export default () => (
|
|
|
724
1004
|
</ul>
|
|
725
1005
|
<ul class="SubmoduleNavigation nav">
|
|
726
1006
|
<li class="submodule " data-nav-item-key="1">
|
|
727
|
-
<a aria-current="page" class="active" href="
|
|
1007
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Navigation 1</a>
|
|
728
1008
|
</li>
|
|
729
1009
|
<li class="submodule " data-nav-item-key="2">
|
|
730
|
-
<a href="
|
|
1010
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
731
1011
|
</li>
|
|
732
1012
|
<li class="submodule " data-nav-item-key="3">
|
|
733
|
-
<a href="
|
|
1013
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
734
1014
|
</li>
|
|
735
1015
|
</ul>
|
|
736
1016
|
<ul class="ApplicationActionBar nav navbar-nav navbar-right ">
|
|
@@ -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
|
-
1
|
|
809
|
-
1
|
|
810
|
-
1
|
|
811
1158
|
2
|
|
1159
|
+
5
|
|
1160
|
+
4
|
|
1161
|
+
3
|
|
812
1162
|
|
|
813
|
-
Asset
|
|
814
|
-
Vehicle-
|
|
815
|
-
Vehicle-
|
|
816
|
-
Vehicle-
|
|
1163
|
+
Asset Group8
|
|
1164
|
+
Vehicle-2026Asset 1005
|
|
1165
|
+
Vehicle-2510Asset 1013
|
|
1166
|
+
Vehicle-3097Asset 1000
|
|
1167
|
+
Vehicle-4057Asset 1006
|
|
1168
|
+
Vehicle-5409Asset 1009
|
|
1169
|
+
Vehicle-6612Asset 1012
|
|
1170
|
+
Vehicle-8140Asset 1011
|
|
1171
|
+
Vehicle-8303Asset 1007
|
|
817
1172
|
|
|
818
|
-
|
|
1173
|
+
Ungrouped6
|
|
819
1174
|
|
|
820
1175
|
200
|
|
821
1176
|
|
|
@@ -850,17 +1205,22 @@ Navigation 3
|
|
|
850
1205
|
|
|
851
1206
|
4
|
|
852
1207
|
|
|
853
|
-
1
|
|
854
|
-
1
|
|
855
|
-
1
|
|
856
1208
|
2
|
|
1209
|
+
5
|
|
1210
|
+
4
|
|
1211
|
+
3
|
|
857
1212
|
|
|
858
|
-
Asset
|
|
859
|
-
Vehicle-
|
|
860
|
-
Vehicle-
|
|
861
|
-
Vehicle-
|
|
1213
|
+
Asset Group8
|
|
1214
|
+
Vehicle-2026Asset 1005
|
|
1215
|
+
Vehicle-2510Asset 1013
|
|
1216
|
+
Vehicle-3097Asset 1000
|
|
1217
|
+
Vehicle-4057Asset 1006
|
|
1218
|
+
Vehicle-5409Asset 1009
|
|
1219
|
+
Vehicle-6612Asset 1012
|
|
1220
|
+
Vehicle-8140Asset 1011
|
|
1221
|
+
Vehicle-8303Asset 1007
|
|
862
1222
|
|
|
863
|
-
|
|
1223
|
+
Ungrouped6
|
|
864
1224
|
|
|
865
1225
|
200
|
|
866
1226
|
|
|
@@ -1241,10 +1601,10 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1241
1601
|
</ul>
|
|
1242
1602
|
<ul class="SubmoduleNavigation nav">
|
|
1243
1603
|
<li class="submodule " data-nav-item-key="1">
|
|
1244
|
-
<a aria-current="page" class="active" href="
|
|
1604
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Navigation 1</a>
|
|
1245
1605
|
</li>
|
|
1246
1606
|
<li class="submodule " data-nav-item-key="2">
|
|
1247
|
-
<a href="
|
|
1607
|
+
<a class="" href="#/2" data-discover="true">Navigation 2</a>
|
|
1248
1608
|
</li>
|
|
1249
1609
|
<li class="CollapsedDropdown dropdown ">
|
|
1250
1610
|
<a id="basic-nav-dropdown" role="button" class="dropdown-toggle text-color-gray" aria-haspopup="true" aria-expanded="true">
|
|
@@ -1253,7 +1613,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1253
1613
|
</a>
|
|
1254
1614
|
<ul class="dropdown-menu" role="menu" aria-labelledby="basic-nav-dropdown">
|
|
1255
1615
|
<li class="submodule" data-nav-item-key="3">
|
|
1256
|
-
<a href="
|
|
1616
|
+
<a class="" href="#/3" data-discover="true">Navigation 3</a>
|
|
1257
1617
|
</li>
|
|
1258
1618
|
</ul>
|
|
1259
1619
|
</li>
|
|
@@ -1348,22 +1708,22 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1348
1708
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1349
1709
|
<span class="rioglyph rioglyph-trailer 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">2</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-truck 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">5</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">3</span>
|
|
1367
1727
|
</div>
|
|
1368
1728
|
</div>
|
|
1369
1729
|
</div>
|
|
@@ -1381,27 +1741,57 @@ 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>
|
|
1388
1748
|
</div>
|
|
1389
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1749
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d975">
|
|
1390
1750
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1391
1751
|
<input type="checkbox" class="TreeCheckbox">
|
|
1392
1752
|
<span class="checkbox-text">
|
|
1393
1753
|
</span>
|
|
1394
1754
|
</label>
|
|
1395
1755
|
<span class="TreeLabel TreeLabelName">
|
|
1396
|
-
<span class="rioglyph rioglyph-
|
|
1756
|
+
<span class="rioglyph rioglyph-bus">
|
|
1757
|
+
</span>
|
|
1758
|
+
<span class="TreeLabelNameText">
|
|
1759
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-2026</span>
|
|
1760
|
+
<span class="TreeLabelNameTextSubline">Asset 1005</span>
|
|
1761
|
+
</span>
|
|
1762
|
+
</span>
|
|
1763
|
+
</div>
|
|
1764
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9713">
|
|
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-truck">
|
|
1397
1772
|
</span>
|
|
1398
1773
|
<span class="TreeLabelNameText">
|
|
1399
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1400
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1774
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-2510</span>
|
|
1775
|
+
<span class="TreeLabelNameTextSubline">Asset 1013</span>
|
|
1401
1776
|
</span>
|
|
1402
1777
|
</span>
|
|
1403
1778
|
</div>
|
|
1404
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1779
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d970">
|
|
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-trailer">
|
|
1787
|
+
</span>
|
|
1788
|
+
<span class="TreeLabelNameText">
|
|
1789
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-3097</span>
|
|
1790
|
+
<span class="TreeLabelNameTextSubline">Asset 1000</span>
|
|
1791
|
+
</span>
|
|
1792
|
+
</span>
|
|
1793
|
+
</div>
|
|
1794
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d976">
|
|
1405
1795
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1406
1796
|
<input type="checkbox" class="TreeCheckbox">
|
|
1407
1797
|
<span class="checkbox-text">
|
|
@@ -1412,11 +1802,56 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1412
1802
|
</span>
|
|
1413
1803
|
<span class="TreeLabelNameText">
|
|
1414
1804
|
<span class="TreeLabelNameTextHeadline">Vehicle-4057</span>
|
|
1415
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1805
|
+
<span class="TreeLabelNameTextSubline">Asset 1006</span>
|
|
1416
1806
|
</span>
|
|
1417
1807
|
</span>
|
|
1418
1808
|
</div>
|
|
1419
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1809
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d979">
|
|
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-truck">
|
|
1817
|
+
</span>
|
|
1818
|
+
<span class="TreeLabelNameText">
|
|
1819
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5409</span>
|
|
1820
|
+
<span class="TreeLabelNameTextSubline">Asset 1009</span>
|
|
1821
|
+
</span>
|
|
1822
|
+
</span>
|
|
1823
|
+
</div>
|
|
1824
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9712">
|
|
1825
|
+
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1826
|
+
<input type="checkbox" class="TreeCheckbox">
|
|
1827
|
+
<span class="checkbox-text">
|
|
1828
|
+
</span>
|
|
1829
|
+
</label>
|
|
1830
|
+
<span class="TreeLabel TreeLabelName">
|
|
1831
|
+
<span class="rioglyph rioglyph-truck">
|
|
1832
|
+
</span>
|
|
1833
|
+
<span class="TreeLabelNameText">
|
|
1834
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-6612</span>
|
|
1835
|
+
<span class="TreeLabelNameTextSubline">Asset 1012</span>
|
|
1836
|
+
</span>
|
|
1837
|
+
</span>
|
|
1838
|
+
</div>
|
|
1839
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9711">
|
|
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-8140</span>
|
|
1850
|
+
<span class="TreeLabelNameTextSubline">Asset 1011</span>
|
|
1851
|
+
</span>
|
|
1852
|
+
</span>
|
|
1853
|
+
</div>
|
|
1854
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d977">
|
|
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-8303</span>
|
|
1865
|
+
<span class="TreeLabelNameTextSubline">Asset 1007</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">6</span>
|
|
1447
1882
|
<span class="TreeLabelExpander rioglyph rioglyph-chevron-down ">
|
|
1448
1883
|
</span>
|
|
1449
1884
|
</span>
|
|
@@ -1557,13 +1992,13 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1557
1992
|
<div class="SubNavigation width-100pct overflow-auto">
|
|
1558
1993
|
<ul class="SubmoduleNavigation nav">
|
|
1559
1994
|
<li class="submodule" data-nav-item-key="1">
|
|
1560
|
-
<a aria-current="page" class="active" href="
|
|
1995
|
+
<a aria-current="page" class="active" href="#/components/appLayout" data-discover="true">Subnavigation 1</a>
|
|
1561
1996
|
</li>
|
|
1562
1997
|
<li class="submodule" data-nav-item-key="2">
|
|
1563
|
-
<a href="
|
|
1998
|
+
<a class="" href="#/2" data-discover="true">Subnavigation 2</a>
|
|
1564
1999
|
</li>
|
|
1565
2000
|
<li class="submodule" data-nav-item-key="3">
|
|
1566
|
-
<a href="
|
|
2001
|
+
<a class="" href="#/3" data-discover="true">Subnavigation 3</a>
|
|
1567
2002
|
</li>
|
|
1568
2003
|
</ul>
|
|
1569
2004
|
</div>
|
|
@@ -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. |
|