@rio-cloud/uikit-mcp 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +5 -5
- package/dist/docs/components/activity.md +7 -7
- package/dist/docs/components/animatedNumber.md +10 -10
- package/dist/docs/components/animatedTextReveal.md +42 -43
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +20 -35
- package/dist/docs/components/appLayout.md +198 -221
- package/dist/docs/components/appNavigationBar.md +21 -21
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +4 -5
- package/dist/docs/components/assetTree.md +887 -614
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +7 -7
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +173 -173
- package/dist/docs/components/barList.md +19 -41
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +74 -74
- package/dist/docs/components/button.md +161 -71
- package/dist/docs/components/buttonToolbar.md +3 -3
- package/dist/docs/components/calendarStripe.md +71 -123
- package/dist/docs/components/card.md +4 -4
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +56 -131
- package/dist/docs/components/clearableInput.md +23 -127
- package/dist/docs/components/collapse.md +14 -16
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +125 -122
- package/dist/docs/components/dataTabs.md +103 -93
- package/dist/docs/components/datepickers.md +734 -764
- package/dist/docs/components/dialogs.md +299 -186
- package/dist/docs/components/divider.md +4 -4
- package/dist/docs/components/dropdowns.md +4555 -4498
- package/dist/docs/components/editableContent.md +97 -97
- package/dist/docs/components/expander.md +56 -56
- package/dist/docs/components/fade.md +41 -41
- package/dist/docs/components/fadeExpander.md +4 -4
- package/dist/docs/components/fadeUp.md +8 -10
- package/dist/docs/components/feedback.md +22 -21
- package/dist/docs/components/filePickers.md +25 -25
- package/dist/docs/components/formLabel.md +5 -7
- package/dist/docs/components/groupedItemList.md +37 -37
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +6 -6
- package/dist/docs/components/labeledElement.md +4 -3
- package/dist/docs/components/licensePlate.md +2 -2
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +63 -41
- package/dist/docs/components/loadMore.md +17 -17
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +1 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +339 -345
- package/dist/docs/components/mapPolygon.md +16 -20
- package/dist/docs/components/mapRoute.md +14 -20
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +263 -274
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +11 -11
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +39 -37
- package/dist/docs/components/onboarding.md +18 -38
- package/dist/docs/components/page.md +16 -16
- package/dist/docs/components/pager.md +8 -8
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +37 -53
- package/dist/docs/components/position.md +4 -4
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +209 -191
- package/dist/docs/components/releaseNotes.md +9 -3
- package/dist/docs/components/resizer.md +7 -8
- package/dist/docs/components/responsiveColumnStripe.md +11 -11
- package/dist/docs/components/responsiveVideo.md +5 -5
- package/dist/docs/components/rioglyph.md +11 -11
- package/dist/docs/components/rules.md +118 -92
- package/dist/docs/components/saveableInput.md +366 -356
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +22 -23
- package/dist/docs/components/sliders.md +26 -26
- package/dist/docs/components/smoothScrollbars.md +61 -25
- package/dist/docs/components/spinners.md +32 -30
- package/dist/docs/components/states.md +236 -245
- package/dist/docs/components/statsWidgets.md +37 -28
- package/dist/docs/components/statusBar.md +22 -22
- package/dist/docs/components/stepButton.md +2 -2
- package/dist/docs/components/steppedProgressBars.md +45 -45
- package/dist/docs/components/subNavigation.md +3 -3
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -38
- package/dist/docs/components/switch.md +11 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +40 -40
- package/dist/docs/components/tags.md +21 -20
- package/dist/docs/components/teaser.md +22 -23
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +17 -13
- package/dist/docs/components/toggleButton.md +65 -29
- package/dist/docs/components/tooltip.md +27 -50
- package/dist/docs/components/virtualList.md +75 -75
- package/dist/docs/foundations.md +167 -167
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +80 -27
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +81 -81
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +197 -197
- package/dist/docs/templates/loading-progress.md +1 -1
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +58 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +93 -93
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +8 -8
- package/dist/version.json +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/releaseNotes
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:02.678Z
|
|
7
7
|
|
|
8
8
|
Component to render release notes in a standardized manner.
|
|
9
9
|
|
|
@@ -128,8 +128,14 @@ export default () => <ReleaseNotes releaseNotes={releaseNotes[translationKey]} /
|
|
|
128
128
|
```json
|
|
129
129
|
{
|
|
130
130
|
"0.1.2": {
|
|
131
|
-
date:
|
|
132
|
-
content:
|
|
131
|
+
date: '23.07.2018',
|
|
132
|
+
content: (
|
|
133
|
+
<div className='padding-left-15'>
|
|
134
|
+
Map view within the tour history table
|
|
135
|
+
• Modern map design as used in the Beta of the fleet monitor
|
|
136
|
+
• Works with all event types
|
|
137
|
+
</div>
|
|
138
|
+
),
|
|
133
139
|
}
|
|
134
140
|
}
|
|
135
141
|
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/resizer
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:03.241Z
|
|
7
7
|
|
|
8
8
|
A helper component to allow elements to resize.
|
|
9
9
|
|
|
@@ -153,10 +153,9 @@ export default class ResizeExample extends Component {
|
|
|
153
153
|
|
|
154
154
|
| Name | Type | Default | Description |
|
|
155
155
|
| --- | --- | --- | --- |
|
|
156
|
-
|
|
|
157
|
-
|
|
|
158
|
-
| onResizeStart |
|
|
159
|
-
|
|
|
160
|
-
|
|
|
161
|
-
| className |
|
|
162
|
-
| children | any | — | Any element to be rendered inside the resizer handle. |
|
|
156
|
+
| position | typeof LEFT \| typeof RIGHT \| typeof TOP \| typeof BOTTOM | — | Defines where the resize handle is positioned relative to the element to resize. Possible values are: Resizer.LEFT, Resizer.RIGHT, Resizer.TOP, Resizer.BOTTOM 'left', 'right', 'top', 'bottom' |
|
|
157
|
+
| direction | typeof HORIZONTAL \| typeof VERTICAL | — | Defines on which axis to resize. Possible values are: Resizer.HORIZONTAL Resizer.VERTICAL 'x' 'y' |
|
|
158
|
+
| onResizeStart | (event: MouseEvent \| TouchEvent) => void | — | Callback when the resize starts, means when the handle is pressed. It returns the respective event. |
|
|
159
|
+
| onResize | (diff: number) => void | — | Callback when the resize handle is moved. The function returns the distant between the last position and the mouse movement. Means you can either subtract or add this diff to the elements width you want to change. |
|
|
160
|
+
| onResizeEnd | (event: Event) => void | — | Callback when the resize ends, means when the handle is released. It returns the respective event. |
|
|
161
|
+
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/responsiveColumnStripe
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:48.518Z
|
|
7
7
|
|
|
8
8
|
The ResponsiveColumnStripe component is designed to work with any list of items. The individual items are spread equally according to the available space. The component is totally customizable and does not style the individual items to give maximum flexibility.
|
|
9
9
|
|
|
@@ -421,15 +421,15 @@ const ComplexDemoContent = ({ day, date, active }: ComplexDemoContentProps) => (
|
|
|
421
421
|
|
|
422
422
|
| Name | Type | Default | Description |
|
|
423
423
|
| --- | --- | --- | --- |
|
|
424
|
-
| minColumnWith |
|
|
425
|
-
| minColumns |
|
|
426
|
-
| maxColumns |
|
|
427
|
-
| stretchLastItems |
|
|
428
|
-
| activePage |
|
|
429
|
-
| asType |
|
|
430
|
-
| disableAnimation |
|
|
424
|
+
| minColumnWith | number | 300 | The minimum width in pixel of a single column. This value determines how many columns are shown per page depending on the parent width. |
|
|
425
|
+
| minColumns | number | 1 | The minimum amount of columns that should be shown per page. |
|
|
426
|
+
| maxColumns | number | 5 | The maximum amount of columns that should be shown per page. |
|
|
427
|
+
| stretchLastItems | boolean | false | Defines whether the items on the last page are stretched out to fill the space. |
|
|
428
|
+
| activePage | number | 0 | The page that shall be shown. This can be used to control the pages from outside. |
|
|
429
|
+
| asType | keyof ReactHTML | 'div' | The DOM element type of the wrapping column element. If you need a list, this might be set to "ul". |
|
|
430
|
+
| disableAnimation | boolean | false | Set to true to skip animating pages. |
|
|
431
431
|
| onPreviousClick | (pageNumber: number, columnsPerPage: number) => void | — | Callback function for when the previous page is clicked. |
|
|
432
432
|
| onNextClick | (pageNumber: number, columnsPerPage: number) => void | — | Callback function for when the next page is clicked. |
|
|
433
|
-
| buttonClassName |
|
|
434
|
-
| columnsWrapperClassName |
|
|
435
|
-
| className |
|
|
433
|
+
| buttonClassName | string | — | Additional classes set to the navigation buttons. |
|
|
434
|
+
| columnsWrapperClassName | string | — | Additional classes set to the component wrapper element. |
|
|
435
|
+
| className | string | — | Additional classes set to the column wrapper element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/responsiveVideo
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:03.249Z
|
|
7
7
|
|
|
8
8
|
## Responsive Video
|
|
9
9
|
|
|
@@ -65,7 +65,7 @@ export default () => (
|
|
|
65
65
|
|
|
66
66
|
| Name | Type | Default | Description |
|
|
67
67
|
| --- | --- | --- | --- |
|
|
68
|
-
| src |
|
|
69
|
-
| aspectRatio |
|
|
70
|
-
| allowFullScreen |
|
|
71
|
-
| className |
|
|
68
|
+
| src | string | — | The link to the source of the video file. |
|
|
69
|
+
| aspectRatio | '4by3' \| '16by9' | '16by9' | Defined the aspect ratio of the video. Possible values are: ResponsiveVideo.ASPECT_RATIO_4_BY_3 ResponsiveVideo.ASPECT_RATIO_16_BY_9 '4by3' '16by9' |
|
|
70
|
+
| allowFullScreen | boolean | true | Allows the fullscreen feature of the underlying embedded iframe. |
|
|
71
|
+
| className | string | — | Additional classes added to the wrapping element. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/rioglyph
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:04.531Z
|
|
7
7
|
|
|
8
8
|
The Rioglyph component is a React wrapper for the Rioglyph icon set. It provides a convenient and type-safe way to render icons without directly dealing with the utility classnames.
|
|
9
9
|
|
|
@@ -319,13 +319,13 @@ export default () => (
|
|
|
319
319
|
| Name | Type | Default | Description |
|
|
320
320
|
| --- | --- | --- | --- |
|
|
321
321
|
| icon | string | — | The rioglyph icon string OR an external .svg link |
|
|
322
|
-
| iconClassName | string | — | Additional classes set to the icon. |
|
|
323
|
-
| size |
|
|
324
|
-
| spinning | boolean |
|
|
325
|
-
| pulsing | boolean |
|
|
326
|
-
|
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
|
|
|
330
|
-
|
|
|
331
|
-
|
|
|
322
|
+
| iconClassName | string | — | Additional classes set to the icon span. |
|
|
323
|
+
| size | 'h1' \| 'h2' \| 'h3' \| 'h4' \| 'h5' \| 'h6' \| '10' \| '11' \| '12' \| '14' \| '16' \| '18' \| '20' | — | The size (text-size) of the icon |
|
|
324
|
+
| spinning | boolean | false | Spinning animation. |
|
|
325
|
+
| pulsing | boolean | false | Pulsing animation. |
|
|
326
|
+
| filled | boolean | false | Filled style. |
|
|
327
|
+
| disabled | boolean | false | Add a disabled line |
|
|
328
|
+
| disabledDanger | boolean | false | Recolor the disabled line to the danger color. |
|
|
329
|
+
| disabledInverse | boolean | false | Flip the disabled line. |
|
|
330
|
+
| pairIcon | IconType \| string | — | The rioglyph icon string OR an external .svg link. |
|
|
331
|
+
| pairIconClassName | string | — | Additional classes set to the pairIcon span. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/rules
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:05:05.690Z
|
|
7
7
|
|
|
8
8
|
## RulesWrapper, RuleContainer and RuleConnector
|
|
9
9
|
|
|
@@ -130,18 +130,17 @@ export default () => {
|
|
|
130
130
|
</RuleContainer>
|
|
131
131
|
{firstConditionsSelected.map((selectedCondition, index) => {
|
|
132
132
|
const isLastCondition = index === size(firstConditionsSelected) - 1;
|
|
133
|
+
const condition = availableFirstConditions.find(condition => condition.id === selectedCondition);
|
|
134
|
+
if (!condition) {
|
|
135
|
+
return null;
|
|
136
|
+
}
|
|
133
137
|
return (
|
|
134
138
|
<RuleContainer
|
|
135
139
|
key={selectedCondition}
|
|
136
140
|
show={!isEmpty(firstConditionsSelected)}
|
|
137
141
|
hideConnector={isLastCondition && allConditionsSelected}
|
|
138
142
|
>
|
|
139
|
-
<ConditionEditor
|
|
140
|
-
condition={
|
|
141
|
-
availableFirstConditions.find(condition => condition.id === selectedCondition)!
|
|
142
|
-
}
|
|
143
|
-
onDelete={handleRemoveFirstCondition}
|
|
144
|
-
/>
|
|
143
|
+
<ConditionEditor condition={condition} onDelete={handleRemoveFirstCondition} />
|
|
145
144
|
</RuleContainer>
|
|
146
145
|
);
|
|
147
146
|
})}
|
|
@@ -224,6 +223,7 @@ const ConditionsList = ({
|
|
|
224
223
|
clickable={condition.enabled}
|
|
225
224
|
disabled={!condition.enabled}
|
|
226
225
|
onClick={() => handleSelectOption(condition.id)}
|
|
226
|
+
round={false}
|
|
227
227
|
>
|
|
228
228
|
{condition.id}
|
|
229
229
|
</Tag>
|
|
@@ -261,10 +261,10 @@ const ConditionsTwo = ({ onRuleSelect }: ConditionsTwoProps) => {
|
|
|
261
261
|
<div className='display-flex flex-column align-items-center gap-15'>
|
|
262
262
|
<div className='text-center'>When should the rule be triggered?</div>
|
|
263
263
|
<TagList>
|
|
264
|
-
<Tag active clickable={false}>
|
|
264
|
+
<Tag active clickable={false} round={false}>
|
|
265
265
|
Immediately
|
|
266
266
|
</Tag>
|
|
267
|
-
<Tag clickable onClick={onRuleSelect}>
|
|
267
|
+
<Tag clickable onClick={onRuleSelect} round={false}>
|
|
268
268
|
When all conditions apply for at least
|
|
269
269
|
</Tag>
|
|
270
270
|
</TagList>
|
|
@@ -305,18 +305,18 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
305
305
|
<div>
|
|
306
306
|
<div class="RuleContainer">
|
|
307
307
|
<div class="RuleContainerBox position-relative rounded padding-20 bg-lightest border border-width border-style-dashed " data-testid="ruleContainerBox">
|
|
308
|
-
<div style="opacity:
|
|
308
|
+
<div style="opacity: 0;">
|
|
309
309
|
<div class="display-flex flex-column align-items-center">
|
|
310
310
|
<div class="display-flex flex-column align-items-center gap-15">
|
|
311
311
|
<div class="text-center">Why should the rule be triggered?</div>
|
|
312
312
|
<div class="taglist taglist-autowidth">
|
|
313
|
-
<div class="tag clickable">
|
|
313
|
+
<div class="tag clickable rounded">
|
|
314
314
|
<div class="tag-inner">Mileage</div>
|
|
315
315
|
</div>
|
|
316
|
-
<div class="tag clickable">
|
|
316
|
+
<div class="tag clickable rounded">
|
|
317
317
|
<div class="tag-inner">Speed</div>
|
|
318
318
|
</div>
|
|
319
|
-
<div class="tag clickable">
|
|
319
|
+
<div class="tag clickable rounded">
|
|
320
320
|
<div class="tag-inner">Engine Speed</div>
|
|
321
321
|
</div>
|
|
322
322
|
</div>
|
|
@@ -347,14 +347,14 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
347
347
|
<div>
|
|
348
348
|
<div class="RuleContainer">
|
|
349
349
|
<div class="RuleContainerBox position-relative rounded padding-20 bg-lightest border border-width border-style-dashed " data-testid="ruleContainerBox">
|
|
350
|
-
<div style="opacity:
|
|
350
|
+
<div style="opacity: 0;">
|
|
351
351
|
<div class="display-flex flex-column align-items-center gap-15">
|
|
352
352
|
<div class="text-center">When should the rule be triggered?</div>
|
|
353
353
|
<div class="taglist taglist-autowidth">
|
|
354
|
-
<div class="tag active clickable rioglyph rioglyph-ok">
|
|
354
|
+
<div class="tag active clickable rioglyph rioglyph-ok rounded">
|
|
355
355
|
<div class="tag-inner">Immediately</div>
|
|
356
356
|
</div>
|
|
357
|
-
<div class="tag clickable">
|
|
357
|
+
<div class="tag clickable rounded">
|
|
358
358
|
<div class="tag-inner">When all conditions apply for at least</div>
|
|
359
359
|
</div>
|
|
360
360
|
</div>
|
|
@@ -389,13 +389,13 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
389
389
|
|
|
390
390
|
| Name | Type | Default | Description |
|
|
391
391
|
| --- | --- | --- | --- |
|
|
392
|
-
| show |
|
|
393
|
-
| unchecked |
|
|
394
|
-
| background |
|
|
395
|
-
| borderColor |
|
|
396
|
-
| hideConnector |
|
|
397
|
-
| customConnector |
|
|
398
|
-
| className |
|
|
392
|
+
| show | boolean | true | Defines whether the container is shown. |
|
|
393
|
+
| unchecked | boolean | false | Determines the container style for when no rule option is selected. It also hides the connector in this case. |
|
|
394
|
+
| background | string | 'bg-lightest' | The box background class name. |
|
|
395
|
+
| borderColor | string | — | The border color class name. |
|
|
396
|
+
| hideConnector | boolean | false | Defines whether the connector is shown. |
|
|
397
|
+
| customConnector | string \| JSX.Element | — | Overwrites the default connector. |
|
|
398
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
399
399
|
|
|
400
400
|
#### Props: RuleConnector
|
|
401
401
|
|
|
@@ -403,15 +403,15 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
403
403
|
|
|
404
404
|
| Name | Type | Default | Description |
|
|
405
405
|
| --- | --- | --- | --- |
|
|
406
|
-
| placement |
|
|
407
|
-
| icon |
|
|
408
|
-
| hidden |
|
|
409
|
-
| background |
|
|
410
|
-
| pageBackground |
|
|
411
|
-
| contentClassName |
|
|
412
|
-
| hasBorder |
|
|
413
|
-
| borderColor |
|
|
414
|
-
| className |
|
|
406
|
+
| placement | 'start' \| 'center' \| 'end' | 'center' | The placement for the connector. Possible values are start, center and end. |
|
|
407
|
+
| icon | string | 'rioglyph-plus' | The rioglyph icon name. |
|
|
408
|
+
| hidden | boolean | false | Defines whether the connector is shown. |
|
|
409
|
+
| background | string | 'bg-lightest' | Background color of the connector itself. |
|
|
410
|
+
| pageBackground | string | 'bg-white' | Background color of the surrounding area where the rule containers are placed. |
|
|
411
|
+
| contentClassName | string | 'text-color-light' | Classes to be set on the connector content. |
|
|
412
|
+
| hasBorder | boolean | false | Defines whether the connector has a border. |
|
|
413
|
+
| borderColor | string | — | The border color class name. |
|
|
414
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
415
415
|
|
|
416
416
|
### Example: Example 2
|
|
417
417
|
|
|
@@ -534,28 +534,52 @@ export default () => (
|
|
|
534
534
|
<div className='flex-1-1-0'>
|
|
535
535
|
<legend>Category A</legend>
|
|
536
536
|
<TagList>
|
|
537
|
-
<Tag clickable>
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
<Tag clickable>
|
|
537
|
+
<Tag round={false} clickable>
|
|
538
|
+
Mileage
|
|
539
|
+
</Tag>
|
|
540
|
+
<Tag round={false} clickable>
|
|
541
|
+
Fuel Level
|
|
542
|
+
</Tag>
|
|
543
|
+
<Tag round={false} clickable>
|
|
544
|
+
Engine speed
|
|
545
|
+
</Tag>
|
|
546
|
+
<Tag round={false} clickable>
|
|
547
|
+
Driving/standing
|
|
548
|
+
</Tag>
|
|
541
549
|
</TagList>
|
|
542
550
|
</div>
|
|
543
551
|
<div className='flex-1-1-0'>
|
|
544
552
|
<legend>Category B</legend>
|
|
545
553
|
<TagList>
|
|
546
|
-
<Tag clickable>
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
<Tag clickable>
|
|
554
|
+
<Tag round={false} clickable>
|
|
555
|
+
Remaining daily driving time
|
|
556
|
+
</Tag>
|
|
557
|
+
<Tag round={false} clickable>
|
|
558
|
+
Remaining weekly driving time
|
|
559
|
+
</Tag>
|
|
560
|
+
<Tag round={false} clickable>
|
|
561
|
+
Daily driving time
|
|
562
|
+
</Tag>
|
|
563
|
+
<Tag round={false} clickable>
|
|
564
|
+
Weekly driving time
|
|
565
|
+
</Tag>
|
|
550
566
|
</TagList>
|
|
551
567
|
</div>
|
|
552
568
|
<div className='flex-1-1-0'>
|
|
553
569
|
<legend>Category C</legend>
|
|
554
570
|
<TagList>
|
|
555
|
-
<Tag clickable>
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
<Tag clickable>
|
|
571
|
+
<Tag round={false} clickable>
|
|
572
|
+
Driver Card
|
|
573
|
+
</Tag>
|
|
574
|
+
<Tag round={false} clickable>
|
|
575
|
+
Power take-off
|
|
576
|
+
</Tag>
|
|
577
|
+
<Tag round={false} clickable>
|
|
578
|
+
Inside/Outside geofence
|
|
579
|
+
</Tag>
|
|
580
|
+
<Tag round={false} clickable>
|
|
581
|
+
Inside/Outside Country
|
|
582
|
+
</Tag>
|
|
559
583
|
</TagList>
|
|
560
584
|
</div>
|
|
561
585
|
</div>
|
|
@@ -566,10 +590,12 @@ export default () => (
|
|
|
566
590
|
<span>When should the rule be triggered?</span>
|
|
567
591
|
|
|
568
592
|
<TagList>
|
|
569
|
-
<Tag active clickable={false}>
|
|
593
|
+
<Tag round={false} active clickable={false}>
|
|
570
594
|
Immediately
|
|
571
595
|
</Tag>
|
|
572
|
-
<Tag clickable>
|
|
596
|
+
<Tag round={false} clickable>
|
|
597
|
+
When all conditions apply for at least
|
|
598
|
+
</Tag>
|
|
573
599
|
</TagList>
|
|
574
600
|
</div>
|
|
575
601
|
</RuleContainer>
|
|
@@ -661,16 +687,16 @@ export default () => (
|
|
|
661
687
|
<div class="flex-1-1-0">
|
|
662
688
|
<legend>Category A</legend>
|
|
663
689
|
<div class="taglist taglist-autowidth">
|
|
664
|
-
<div class="tag clickable">
|
|
690
|
+
<div class="tag clickable rounded">
|
|
665
691
|
<div class="tag-inner">Mileage</div>
|
|
666
692
|
</div>
|
|
667
|
-
<div class="tag clickable">
|
|
693
|
+
<div class="tag clickable rounded">
|
|
668
694
|
<div class="tag-inner">Fuel Level</div>
|
|
669
695
|
</div>
|
|
670
|
-
<div class="tag clickable">
|
|
696
|
+
<div class="tag clickable rounded">
|
|
671
697
|
<div class="tag-inner">Engine speed</div>
|
|
672
698
|
</div>
|
|
673
|
-
<div class="tag clickable">
|
|
699
|
+
<div class="tag clickable rounded">
|
|
674
700
|
<div class="tag-inner">Driving/standing</div>
|
|
675
701
|
</div>
|
|
676
702
|
</div>
|
|
@@ -678,16 +704,16 @@ export default () => (
|
|
|
678
704
|
<div class="flex-1-1-0">
|
|
679
705
|
<legend>Category B</legend>
|
|
680
706
|
<div class="taglist taglist-autowidth">
|
|
681
|
-
<div class="tag clickable">
|
|
707
|
+
<div class="tag clickable rounded">
|
|
682
708
|
<div class="tag-inner">Remaining daily driving time</div>
|
|
683
709
|
</div>
|
|
684
|
-
<div class="tag clickable">
|
|
710
|
+
<div class="tag clickable rounded">
|
|
685
711
|
<div class="tag-inner">Remaining weekly driving time</div>
|
|
686
712
|
</div>
|
|
687
|
-
<div class="tag clickable">
|
|
713
|
+
<div class="tag clickable rounded">
|
|
688
714
|
<div class="tag-inner">Daily driving time</div>
|
|
689
715
|
</div>
|
|
690
|
-
<div class="tag clickable">
|
|
716
|
+
<div class="tag clickable rounded">
|
|
691
717
|
<div class="tag-inner">Weekly driving time</div>
|
|
692
718
|
</div>
|
|
693
719
|
</div>
|
|
@@ -695,16 +721,16 @@ export default () => (
|
|
|
695
721
|
<div class="flex-1-1-0">
|
|
696
722
|
<legend>Category C</legend>
|
|
697
723
|
<div class="taglist taglist-autowidth">
|
|
698
|
-
<div class="tag clickable">
|
|
724
|
+
<div class="tag clickable rounded">
|
|
699
725
|
<div class="tag-inner">Driver Card</div>
|
|
700
726
|
</div>
|
|
701
|
-
<div class="tag clickable">
|
|
727
|
+
<div class="tag clickable rounded">
|
|
702
728
|
<div class="tag-inner">Power take-off</div>
|
|
703
729
|
</div>
|
|
704
|
-
<div class="tag clickable">
|
|
730
|
+
<div class="tag clickable rounded">
|
|
705
731
|
<div class="tag-inner">Inside/Outside geofence</div>
|
|
706
732
|
</div>
|
|
707
|
-
<div class="tag clickable">
|
|
733
|
+
<div class="tag clickable rounded">
|
|
708
734
|
<div class="tag-inner">Inside/Outside Country</div>
|
|
709
735
|
</div>
|
|
710
736
|
</div>
|
|
@@ -735,10 +761,10 @@ export default () => (
|
|
|
735
761
|
<div class="display-flex flex-column align-items-center gap-15">
|
|
736
762
|
<span>When should the rule be triggered?</span>
|
|
737
763
|
<div class="taglist taglist-autowidth">
|
|
738
|
-
<div class="tag active clickable rioglyph rioglyph-ok">
|
|
764
|
+
<div class="tag active clickable rioglyph rioglyph-ok rounded">
|
|
739
765
|
<div class="tag-inner">Immediately</div>
|
|
740
766
|
</div>
|
|
741
|
-
<div class="tag clickable">
|
|
767
|
+
<div class="tag clickable rounded">
|
|
742
768
|
<div class="tag-inner">When all conditions apply for at least</div>
|
|
743
769
|
</div>
|
|
744
770
|
</div>
|
|
@@ -773,13 +799,13 @@ export default () => (
|
|
|
773
799
|
|
|
774
800
|
| Name | Type | Default | Description |
|
|
775
801
|
| --- | --- | --- | --- |
|
|
776
|
-
| show |
|
|
777
|
-
| unchecked |
|
|
778
|
-
| background |
|
|
779
|
-
| borderColor |
|
|
780
|
-
| hideConnector |
|
|
781
|
-
| customConnector |
|
|
782
|
-
| className |
|
|
802
|
+
| show | boolean | true | Defines whether the container is shown. |
|
|
803
|
+
| unchecked | boolean | false | Determines the container style for when no rule option is selected. It also hides the connector in this case. |
|
|
804
|
+
| background | string | 'bg-lightest' | The box background class name. |
|
|
805
|
+
| borderColor | string | — | The border color class name. |
|
|
806
|
+
| hideConnector | boolean | false | Defines whether the connector is shown. |
|
|
807
|
+
| customConnector | string \| JSX.Element | — | Overwrites the default connector. |
|
|
808
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
783
809
|
|
|
784
810
|
#### Props: RuleConnector
|
|
785
811
|
|
|
@@ -787,15 +813,15 @@ export default () => (
|
|
|
787
813
|
|
|
788
814
|
| Name | Type | Default | Description |
|
|
789
815
|
| --- | --- | --- | --- |
|
|
790
|
-
| placement |
|
|
791
|
-
| icon |
|
|
792
|
-
| hidden |
|
|
793
|
-
| background |
|
|
794
|
-
| pageBackground |
|
|
795
|
-
| contentClassName |
|
|
796
|
-
| hasBorder |
|
|
797
|
-
| borderColor |
|
|
798
|
-
| className |
|
|
816
|
+
| placement | 'start' \| 'center' \| 'end' | 'center' | The placement for the connector. Possible values are start, center and end. |
|
|
817
|
+
| icon | string | 'rioglyph-plus' | The rioglyph icon name. |
|
|
818
|
+
| hidden | boolean | false | Defines whether the connector is shown. |
|
|
819
|
+
| background | string | 'bg-lightest' | Background color of the connector itself. |
|
|
820
|
+
| pageBackground | string | 'bg-white' | Background color of the surrounding area where the rule containers are placed. |
|
|
821
|
+
| contentClassName | string | 'text-color-light' | Classes to be set on the connector content. |
|
|
822
|
+
| hasBorder | boolean | false | Defines whether the connector has a border. |
|
|
823
|
+
| borderColor | string | — | The border color class name. |
|
|
824
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
799
825
|
|
|
800
826
|
### Example: AND
|
|
801
827
|
|
|
@@ -940,13 +966,13 @@ const CustomConnector = ({ value }: { value: string }) => (
|
|
|
940
966
|
|
|
941
967
|
| Name | Type | Default | Description |
|
|
942
968
|
| --- | --- | --- | --- |
|
|
943
|
-
| show |
|
|
944
|
-
| unchecked |
|
|
945
|
-
| background |
|
|
946
|
-
| borderColor |
|
|
947
|
-
| hideConnector |
|
|
948
|
-
| customConnector |
|
|
949
|
-
| className |
|
|
969
|
+
| show | boolean | true | Defines whether the container is shown. |
|
|
970
|
+
| unchecked | boolean | false | Determines the container style for when no rule option is selected. It also hides the connector in this case. |
|
|
971
|
+
| background | string | 'bg-lightest' | The box background class name. |
|
|
972
|
+
| borderColor | string | — | The border color class name. |
|
|
973
|
+
| hideConnector | boolean | false | Defines whether the connector is shown. |
|
|
974
|
+
| customConnector | string \| JSX.Element | — | Overwrites the default connector. |
|
|
975
|
+
| className | string | — | Additional classes for the wrapper element. |
|
|
950
976
|
|
|
951
977
|
#### Props: RuleConnector
|
|
952
978
|
|
|
@@ -954,12 +980,12 @@ const CustomConnector = ({ value }: { value: string }) => (
|
|
|
954
980
|
|
|
955
981
|
| Name | Type | Default | Description |
|
|
956
982
|
| --- | --- | --- | --- |
|
|
957
|
-
| placement |
|
|
958
|
-
| icon |
|
|
959
|
-
| hidden |
|
|
960
|
-
| background |
|
|
961
|
-
| pageBackground |
|
|
962
|
-
| contentClassName |
|
|
963
|
-
| hasBorder |
|
|
964
|
-
| borderColor |
|
|
965
|
-
| className |
|
|
983
|
+
| placement | 'start' \| 'center' \| 'end' | 'center' | The placement for the connector. Possible values are start, center and end. |
|
|
984
|
+
| icon | string | 'rioglyph-plus' | The rioglyph icon name. |
|
|
985
|
+
| hidden | boolean | false | Defines whether the connector is shown. |
|
|
986
|
+
| background | string | 'bg-lightest' | Background color of the connector itself. |
|
|
987
|
+
| pageBackground | string | 'bg-white' | Background color of the surrounding area where the rule containers are placed. |
|
|
988
|
+
| contentClassName | string | 'text-color-light' | Classes to be set on the connector content. |
|
|
989
|
+
| hasBorder | boolean | false | Defines whether the connector has a border. |
|
|
990
|
+
| borderColor | string | — | The border color class name. |
|
|
991
|
+
| className | string | — | Additional classes for the wrapper element. |
|