@rio-cloud/uikit-mcp 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +2 -34
- package/dist/docs/components/activity.md +2 -13
- package/dist/docs/components/animatedNumber.md +3 -16
- package/dist/docs/components/animatedTextReveal.md +7 -54
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +2 -73
- package/dist/docs/components/appLayout.md +44 -572
- package/dist/docs/components/appNavigationBar.md +2 -54
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +2 -11
- package/dist/docs/components/assetTree.md +417 -991
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +2 -24
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +187 -187
- package/dist/docs/components/barList.md +10 -44
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +3 -100
- package/dist/docs/components/button.md +16 -71
- package/dist/docs/components/buttonToolbar.md +2 -9
- package/dist/docs/components/calendarStripe.md +46 -72
- package/dist/docs/components/card.md +2 -10
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +11 -111
- package/dist/docs/components/clearableInput.md +7 -111
- package/dist/docs/components/collapse.md +3 -29
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +104 -122
- package/dist/docs/components/dataTabs.md +24 -194
- package/dist/docs/components/datepickers.md +32 -74
- package/dist/docs/components/dialogs.md +15 -262
- package/dist/docs/components/divider.md +2 -14
- package/dist/docs/components/dropdowns.md +4387 -4511
- package/dist/docs/components/editableContent.md +2 -186
- package/dist/docs/components/expander.md +23 -70
- package/dist/docs/components/fade.md +6 -41
- package/dist/docs/components/fadeExpander.md +2 -11
- package/dist/docs/components/fadeUp.md +3 -23
- package/dist/docs/components/feedback.md +2 -42
- package/dist/docs/components/filePickers.md +2 -44
- package/dist/docs/components/formLabel.md +2 -18
- package/dist/docs/components/groupedItemList.md +2 -53
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +2 -6
- package/dist/docs/components/labeledElement.md +2 -11
- package/dist/docs/components/licensePlate.md +2 -10
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +2 -50
- package/dist/docs/components/loadMore.md +2 -28
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +1 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +339 -345
- package/dist/docs/components/mapPolygon.md +16 -20
- package/dist/docs/components/mapRoute.md +14 -20
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +263 -274
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +2 -22
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +2 -48
- package/dist/docs/components/onboarding.md +2 -46
- package/dist/docs/components/page.md +2 -32
- package/dist/docs/components/pager.md +2 -14
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +2 -56
- package/dist/docs/components/position.md +2 -10
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +81 -191
- package/dist/docs/components/releaseNotes.md +1 -12
- package/dist/docs/components/resizer.md +2 -14
- package/dist/docs/components/responsiveColumnStripe.md +2 -19
- package/dist/docs/components/responsiveVideo.md +2 -11
- package/dist/docs/components/rioglyph.md +2 -12
- package/dist/docs/components/rules.md +69 -133
- package/dist/docs/components/saveableInput.md +21 -135
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +2 -39
- package/dist/docs/components/sliders.md +2 -37
- package/dist/docs/components/smoothScrollbars.md +2 -56
- package/dist/docs/components/spinners.md +5 -51
- package/dist/docs/components/states.md +21 -245
- package/dist/docs/components/statsWidgets.md +2 -113
- package/dist/docs/components/statusBar.md +2 -28
- package/dist/docs/components/stepButton.md +2 -8
- package/dist/docs/components/steppedProgressBars.md +2 -66
- package/dist/docs/components/subNavigation.md +1 -8
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -12
- package/dist/docs/components/switch.md +2 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +4 -58
- package/dist/docs/components/tags.md +2 -31
- package/dist/docs/components/teaser.md +2 -30
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +2 -26
- package/dist/docs/components/toggleButton.md +7 -29
- package/dist/docs/components/tooltip.md +9 -40
- package/dist/docs/components/virtualList.md +73 -99
- package/dist/docs/foundations.md +119 -119
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +79 -26
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +81 -81
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +203 -203
- package/dist/docs/templates/loading-progress.md +1 -1
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +58 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +92 -92
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/rules
|
|
6
|
-
*Captured:* 2026-01-
|
|
6
|
+
*Captured:* 2026-01-14T09:07:50.442Z
|
|
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>
|
|
@@ -310,13 +310,13 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
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>
|
|
@@ -351,10 +351,10 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
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>
|
|
@@ -383,36 +383,6 @@ const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => {
|
|
|
383
383
|
</div>
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
#### Props: RuleContainer
|
|
387
|
-
|
|
388
|
-
### RuleContainer
|
|
389
|
-
|
|
390
|
-
| Name | Type | Default | Description |
|
|
391
|
-
| --- | --- | --- | --- |
|
|
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 \| Node | — | Overwrites the default connector. |
|
|
398
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
399
|
-
|
|
400
|
-
#### Props: RuleConnector
|
|
401
|
-
|
|
402
|
-
### RuleConnector
|
|
403
|
-
|
|
404
|
-
| Name | Type | Default | Description |
|
|
405
|
-
| --- | --- | --- | --- |
|
|
406
|
-
| placement | String | 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
|
-
|
|
416
386
|
### Example: Example 2
|
|
417
387
|
|
|
418
388
|
Default Example with morde conditions - (static)Mileage is greater than
|
|
@@ -534,28 +504,52 @@ export default () => (
|
|
|
534
504
|
<div className='flex-1-1-0'>
|
|
535
505
|
<legend>Category A</legend>
|
|
536
506
|
<TagList>
|
|
537
|
-
<Tag clickable>
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
<Tag clickable>
|
|
507
|
+
<Tag round={false} clickable>
|
|
508
|
+
Mileage
|
|
509
|
+
</Tag>
|
|
510
|
+
<Tag round={false} clickable>
|
|
511
|
+
Fuel Level
|
|
512
|
+
</Tag>
|
|
513
|
+
<Tag round={false} clickable>
|
|
514
|
+
Engine speed
|
|
515
|
+
</Tag>
|
|
516
|
+
<Tag round={false} clickable>
|
|
517
|
+
Driving/standing
|
|
518
|
+
</Tag>
|
|
541
519
|
</TagList>
|
|
542
520
|
</div>
|
|
543
521
|
<div className='flex-1-1-0'>
|
|
544
522
|
<legend>Category B</legend>
|
|
545
523
|
<TagList>
|
|
546
|
-
<Tag clickable>
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
<Tag clickable>
|
|
524
|
+
<Tag round={false} clickable>
|
|
525
|
+
Remaining daily driving time
|
|
526
|
+
</Tag>
|
|
527
|
+
<Tag round={false} clickable>
|
|
528
|
+
Remaining weekly driving time
|
|
529
|
+
</Tag>
|
|
530
|
+
<Tag round={false} clickable>
|
|
531
|
+
Daily driving time
|
|
532
|
+
</Tag>
|
|
533
|
+
<Tag round={false} clickable>
|
|
534
|
+
Weekly driving time
|
|
535
|
+
</Tag>
|
|
550
536
|
</TagList>
|
|
551
537
|
</div>
|
|
552
538
|
<div className='flex-1-1-0'>
|
|
553
539
|
<legend>Category C</legend>
|
|
554
540
|
<TagList>
|
|
555
|
-
<Tag clickable>
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
<Tag clickable>
|
|
541
|
+
<Tag round={false} clickable>
|
|
542
|
+
Driver Card
|
|
543
|
+
</Tag>
|
|
544
|
+
<Tag round={false} clickable>
|
|
545
|
+
Power take-off
|
|
546
|
+
</Tag>
|
|
547
|
+
<Tag round={false} clickable>
|
|
548
|
+
Inside/Outside geofence
|
|
549
|
+
</Tag>
|
|
550
|
+
<Tag round={false} clickable>
|
|
551
|
+
Inside/Outside Country
|
|
552
|
+
</Tag>
|
|
559
553
|
</TagList>
|
|
560
554
|
</div>
|
|
561
555
|
</div>
|
|
@@ -566,10 +560,12 @@ export default () => (
|
|
|
566
560
|
<span>When should the rule be triggered?</span>
|
|
567
561
|
|
|
568
562
|
<TagList>
|
|
569
|
-
<Tag active clickable={false}>
|
|
563
|
+
<Tag round={false} active clickable={false}>
|
|
570
564
|
Immediately
|
|
571
565
|
</Tag>
|
|
572
|
-
<Tag clickable>
|
|
566
|
+
<Tag round={false} clickable>
|
|
567
|
+
When all conditions apply for at least
|
|
568
|
+
</Tag>
|
|
573
569
|
</TagList>
|
|
574
570
|
</div>
|
|
575
571
|
</RuleContainer>
|
|
@@ -661,16 +657,16 @@ export default () => (
|
|
|
661
657
|
<div class="flex-1-1-0">
|
|
662
658
|
<legend>Category A</legend>
|
|
663
659
|
<div class="taglist taglist-autowidth">
|
|
664
|
-
<div class="tag clickable">
|
|
660
|
+
<div class="tag clickable rounded">
|
|
665
661
|
<div class="tag-inner">Mileage</div>
|
|
666
662
|
</div>
|
|
667
|
-
<div class="tag clickable">
|
|
663
|
+
<div class="tag clickable rounded">
|
|
668
664
|
<div class="tag-inner">Fuel Level</div>
|
|
669
665
|
</div>
|
|
670
|
-
<div class="tag clickable">
|
|
666
|
+
<div class="tag clickable rounded">
|
|
671
667
|
<div class="tag-inner">Engine speed</div>
|
|
672
668
|
</div>
|
|
673
|
-
<div class="tag clickable">
|
|
669
|
+
<div class="tag clickable rounded">
|
|
674
670
|
<div class="tag-inner">Driving/standing</div>
|
|
675
671
|
</div>
|
|
676
672
|
</div>
|
|
@@ -678,16 +674,16 @@ export default () => (
|
|
|
678
674
|
<div class="flex-1-1-0">
|
|
679
675
|
<legend>Category B</legend>
|
|
680
676
|
<div class="taglist taglist-autowidth">
|
|
681
|
-
<div class="tag clickable">
|
|
677
|
+
<div class="tag clickable rounded">
|
|
682
678
|
<div class="tag-inner">Remaining daily driving time</div>
|
|
683
679
|
</div>
|
|
684
|
-
<div class="tag clickable">
|
|
680
|
+
<div class="tag clickable rounded">
|
|
685
681
|
<div class="tag-inner">Remaining weekly driving time</div>
|
|
686
682
|
</div>
|
|
687
|
-
<div class="tag clickable">
|
|
683
|
+
<div class="tag clickable rounded">
|
|
688
684
|
<div class="tag-inner">Daily driving time</div>
|
|
689
685
|
</div>
|
|
690
|
-
<div class="tag clickable">
|
|
686
|
+
<div class="tag clickable rounded">
|
|
691
687
|
<div class="tag-inner">Weekly driving time</div>
|
|
692
688
|
</div>
|
|
693
689
|
</div>
|
|
@@ -695,16 +691,16 @@ export default () => (
|
|
|
695
691
|
<div class="flex-1-1-0">
|
|
696
692
|
<legend>Category C</legend>
|
|
697
693
|
<div class="taglist taglist-autowidth">
|
|
698
|
-
<div class="tag clickable">
|
|
694
|
+
<div class="tag clickable rounded">
|
|
699
695
|
<div class="tag-inner">Driver Card</div>
|
|
700
696
|
</div>
|
|
701
|
-
<div class="tag clickable">
|
|
697
|
+
<div class="tag clickable rounded">
|
|
702
698
|
<div class="tag-inner">Power take-off</div>
|
|
703
699
|
</div>
|
|
704
|
-
<div class="tag clickable">
|
|
700
|
+
<div class="tag clickable rounded">
|
|
705
701
|
<div class="tag-inner">Inside/Outside geofence</div>
|
|
706
702
|
</div>
|
|
707
|
-
<div class="tag clickable">
|
|
703
|
+
<div class="tag clickable rounded">
|
|
708
704
|
<div class="tag-inner">Inside/Outside Country</div>
|
|
709
705
|
</div>
|
|
710
706
|
</div>
|
|
@@ -735,10 +731,10 @@ export default () => (
|
|
|
735
731
|
<div class="display-flex flex-column align-items-center gap-15">
|
|
736
732
|
<span>When should the rule be triggered?</span>
|
|
737
733
|
<div class="taglist taglist-autowidth">
|
|
738
|
-
<div class="tag active clickable rioglyph rioglyph-ok">
|
|
734
|
+
<div class="tag active clickable rioglyph rioglyph-ok rounded">
|
|
739
735
|
<div class="tag-inner">Immediately</div>
|
|
740
736
|
</div>
|
|
741
|
-
<div class="tag clickable">
|
|
737
|
+
<div class="tag clickable rounded">
|
|
742
738
|
<div class="tag-inner">When all conditions apply for at least</div>
|
|
743
739
|
</div>
|
|
744
740
|
</div>
|
|
@@ -767,36 +763,6 @@ export default () => (
|
|
|
767
763
|
</div>
|
|
768
764
|
```
|
|
769
765
|
|
|
770
|
-
#### Props: RuleContainer
|
|
771
|
-
|
|
772
|
-
### RuleContainer
|
|
773
|
-
|
|
774
|
-
| Name | Type | Default | Description |
|
|
775
|
-
| --- | --- | --- | --- |
|
|
776
|
-
| show | Boolean | true | Defines whether the container is shown. |
|
|
777
|
-
| unchecked | Boolean | false | Determines the container style for when no rule option is selected. It also hides the connector in this case. |
|
|
778
|
-
| background | String | bg-lightest | The box background class name. |
|
|
779
|
-
| borderColor | String | — | The border color class name. |
|
|
780
|
-
| hideConnector | Boolean | false | Defines whether the connector is shown. |
|
|
781
|
-
| customConnector | String \| Node | — | Overwrites the default connector. |
|
|
782
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
783
|
-
|
|
784
|
-
#### Props: RuleConnector
|
|
785
|
-
|
|
786
|
-
### RuleConnector
|
|
787
|
-
|
|
788
|
-
| Name | Type | Default | Description |
|
|
789
|
-
| --- | --- | --- | --- |
|
|
790
|
-
| placement | String | center | The placement for the connector. Possible values are "start", "center" and "end". |
|
|
791
|
-
| icon | String | rioglyph-plus | The rioglyph icon name. |
|
|
792
|
-
| hidden | Boolean | false | Defines whether the connector is shown. |
|
|
793
|
-
| background | String | bg-lightest | Background color of the connector itself. |
|
|
794
|
-
| pageBackground | String | bg-white | Background color of the surrounding area where the rule containers are placed. |
|
|
795
|
-
| contentClassName | String | text-color-light | Classes to be set on the connector content. |
|
|
796
|
-
| hasBorder | Boolean | false | Defines whether the connector has a border. |
|
|
797
|
-
| borderColor | String | — | The border color class name. |
|
|
798
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
799
|
-
|
|
800
766
|
### Example: AND
|
|
801
767
|
|
|
802
768
|
Custom Example
|
|
@@ -932,34 +898,4 @@ const CustomConnector = ({ value }: { value: string }) => (
|
|
|
932
898
|
</div>
|
|
933
899
|
</div>
|
|
934
900
|
</div>
|
|
935
|
-
```
|
|
936
|
-
|
|
937
|
-
#### Props: RuleContainer
|
|
938
|
-
|
|
939
|
-
### RuleContainer
|
|
940
|
-
|
|
941
|
-
| Name | Type | Default | Description |
|
|
942
|
-
| --- | --- | --- | --- |
|
|
943
|
-
| show | Boolean | true | Defines whether the container is shown. |
|
|
944
|
-
| unchecked | Boolean | false | Determines the container style for when no rule option is selected. It also hides the connector in this case. |
|
|
945
|
-
| background | String | bg-lightest | The box background class name. |
|
|
946
|
-
| borderColor | String | — | The border color class name. |
|
|
947
|
-
| hideConnector | Boolean | false | Defines whether the connector is shown. |
|
|
948
|
-
| customConnector | String \| Node | — | Overwrites the default connector. |
|
|
949
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
950
|
-
|
|
951
|
-
#### Props: RuleConnector
|
|
952
|
-
|
|
953
|
-
### RuleConnector
|
|
954
|
-
|
|
955
|
-
| Name | Type | Default | Description |
|
|
956
|
-
| --- | --- | --- | --- |
|
|
957
|
-
| placement | String | center | The placement for the connector. Possible values are "start", "center" and "end". |
|
|
958
|
-
| icon | String | rioglyph-plus | The rioglyph icon name. |
|
|
959
|
-
| hidden | Boolean | false | Defines whether the connector is shown. |
|
|
960
|
-
| background | String | bg-lightest | Background color of the connector itself. |
|
|
961
|
-
| pageBackground | String | bg-white | Background color of the surrounding area where the rule containers are placed. |
|
|
962
|
-
| contentClassName | String | text-color-light | Classes to be set on the connector content. |
|
|
963
|
-
| hasBorder | Boolean | false | Defines whether the connector has a border. |
|
|
964
|
-
| borderColor | String | — | The border color class name. |
|
|
965
|
-
| className | String | — | Additional classes for the wrapper element. |
|
|
901
|
+
```
|