@rio-cloud/uikit-mcp 1.1.9 → 1.1.11
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 +2 -1
- package/dist/doc-metadata.json +334 -94
- package/dist/docs/components/accentBar.md +110 -116
- package/dist/docs/components/activity.md +1 -1
- package/dist/docs/components/analyticsAnalysisOverlay.md +630 -0
- package/dist/docs/components/animatedNumber.md +2 -2
- package/dist/docs/components/animatedTextReveal.md +53 -55
- package/dist/docs/components/animations.md +21 -21
- package/dist/docs/components/appHeader.md +27 -38
- package/dist/docs/components/appLayout.md +23 -77
- package/dist/docs/components/appNavigationBar.md +1 -1
- package/dist/docs/components/areaCharts.md +57 -61
- package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
- package/dist/docs/components/assetTree.md +429 -342
- package/dist/docs/components/autosuggests.md +1 -1
- package/dist/docs/components/avatar.md +1 -1
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +530 -414
- package/dist/docs/components/barList.md +10 -10
- package/dist/docs/components/basicMap.md +104 -39
- package/dist/docs/components/bottomSheet.md +2 -2
- package/dist/docs/components/button.md +8 -2
- package/dist/docs/components/buttonToolbar.md +1 -1
- package/dist/docs/components/calendarStripe.md +59 -63
- package/dist/docs/components/card.md +1 -1
- 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 +15 -10
- package/dist/docs/components/circularProgress.md +6 -6
- package/dist/docs/components/clearableInput.md +1 -1
- package/dist/docs/components/collapse.md +2 -2
- package/dist/docs/components/composedCharts.md +63 -51
- package/dist/docs/components/contentLoader.md +1 -1
- package/dist/docs/components/dataTabs.md +33 -33
- package/dist/docs/components/datepickers.md +693 -685
- package/dist/docs/components/dayPicker.md +5624 -0
- package/dist/docs/components/dayPickerCalendar.md +5289 -0
- package/dist/docs/components/dialogs.md +17 -19
- package/dist/docs/components/divider.md +1 -1
- package/dist/docs/components/dropdowns.md +3264 -3276
- package/dist/docs/components/editableContent.md +91 -91
- package/dist/docs/components/expander.md +4 -1
- package/dist/docs/components/fade.md +1 -1
- package/dist/docs/components/fadeExpander.md +1 -1
- package/dist/docs/components/fadeUp.md +32 -36
- package/dist/docs/components/feedback.md +1 -1
- package/dist/docs/components/filePickers.md +1 -1
- package/dist/docs/components/formLabel.md +29 -31
- package/dist/docs/components/groupedItemList.md +3 -7
- package/dist/docs/components/htmlTable.md +5074 -0
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +1 -1
- package/dist/docs/components/labeledElement.md +1 -1
- package/dist/docs/components/licensePlate.md +1 -1
- package/dist/docs/components/lineCharts.md +172 -170
- package/dist/docs/components/listMenu.md +15 -12
- package/dist/docs/components/loadMore.md +4 -2
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +10 -1
- package/dist/docs/components/mapCluster.md +25 -1
- package/dist/docs/components/mapContext.md +12 -4
- package/dist/docs/components/mapDraggableMarker.md +12 -1
- package/dist/docs/components/mapGettingStarted.md +39 -1
- package/dist/docs/components/mapInfoBubble.md +129 -2
- package/dist/docs/components/mapLayerGroup.md +10 -1
- package/dist/docs/components/mapMarker.md +10 -1
- package/dist/docs/components/mapPolygon.md +288 -85
- package/dist/docs/components/mapRoute.md +262 -172
- package/dist/docs/components/mapSettings.md +28 -1
- package/dist/docs/components/mapUtils.md +1 -1
- package/dist/docs/components/mapViewportHistory.md +287 -0
- package/dist/docs/components/multiselects.md +217 -18
- package/dist/docs/components/noData.md +1 -1
- package/dist/docs/components/notifications.md +2 -2
- package/dist/docs/components/numbercontrol.md +15 -15
- package/dist/docs/components/onboarding.md +1 -1
- package/dist/docs/components/page.md +1 -1
- package/dist/docs/components/pager.md +1 -1
- package/dist/docs/components/pieCharts.md +237 -211
- package/dist/docs/components/popover.md +1 -1
- package/dist/docs/components/position.md +1 -1
- package/dist/docs/components/radialBarCharts.md +446 -398
- package/dist/docs/components/radioCardGroup.md +1 -1
- package/dist/docs/components/radiobutton.md +98 -98
- package/dist/docs/components/releaseNotes.md +1 -1
- package/dist/docs/components/resizer.md +1 -1
- package/dist/docs/components/responsiveColumnStripe.md +1 -1
- package/dist/docs/components/responsiveVideo.md +1 -1
- package/dist/docs/components/rioglyph.md +1 -1
- package/dist/docs/components/rules.md +41 -47
- package/dist/docs/components/saveableInput.md +252 -252
- package/dist/docs/components/selects.md +332 -161
- package/dist/docs/components/sidebar.md +1 -1
- package/dist/docs/components/sliders.md +1 -1
- package/dist/docs/components/smoothScrollbars.md +19 -13
- package/dist/docs/components/spinners.md +1 -1
- package/dist/docs/components/states.md +15 -1
- package/dist/docs/components/statsWidgets.md +1 -1
- package/dist/docs/components/statusBar.md +3 -1
- package/dist/docs/components/stepButton.md +1 -1
- package/dist/docs/components/steppedProgressBars.md +9 -11
- package/dist/docs/components/subNavigation.md +1 -1
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +1 -1
- package/dist/docs/components/switch.md +5 -1
- package/dist/docs/components/table.md +21361 -0
- package/dist/docs/components/tableControls.md +982 -0
- package/dist/docs/components/tagManager.md +1 -1
- package/dist/docs/components/tags.md +1 -1
- package/dist/docs/components/teaser.md +1 -1
- package/dist/docs/components/textTruncateMiddle.md +1 -1
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +3 -1
- package/dist/docs/components/toggleButton.md +3 -1
- package/dist/docs/components/tooltip.md +8 -2
- package/dist/docs/components/tracker.md +1 -1
- package/dist/docs/components/virtualList.md +60 -60
- package/dist/docs/foundations.md +761 -3077
- package/dist/docs/start/changelog.md +73 -3
- package/dist/docs/start/goodtoknow.md +5 -1
- package/dist/docs/start/guidelines/color-combinations.md +5 -1
- package/dist/docs/start/guidelines/custom-css.md +26 -2
- package/dist/docs/start/guidelines/custom-rioglyph.md +20 -2
- package/dist/docs/start/guidelines/formatting.md +2254 -249
- package/dist/docs/start/guidelines/iframe.md +53 -19
- package/dist/docs/start/guidelines/obfuscate-data.md +24 -2
- package/dist/docs/start/guidelines/print-css.md +16 -2
- package/dist/docs/start/guidelines/spinner.md +1 -1
- package/dist/docs/start/guidelines/state-in-url.md +1138 -11
- package/dist/docs/start/guidelines/supported-browsers.md +9 -2
- package/dist/docs/start/guidelines/writing.md +228 -2
- package/dist/docs/start/howto.md +155 -13
- package/dist/docs/start/intro.md +40 -2
- package/dist/docs/start/responsiveness.md +27 -1
- package/dist/docs/templates/ai-assistant.md +311 -0
- package/dist/docs/templates/common-table.md +814 -0
- package/dist/docs/templates/detail-views.md +846 -0
- package/dist/docs/templates/expandable-details.md +214 -0
- package/dist/docs/templates/feature-cards.md +479 -0
- package/dist/docs/templates/form-summary.md +179 -0
- package/dist/docs/templates/form-toggle.md +329 -0
- package/dist/docs/templates/list-blocks.md +872 -0
- package/dist/docs/templates/loading-progress.md +100 -0
- package/dist/docs/templates/options-panel.md +132 -0
- package/dist/docs/templates/panel-variants.md +137 -0
- package/dist/docs/templates/progress-cards.md +541 -0
- package/dist/docs/templates/progress-success.md +125 -0
- package/dist/docs/templates/settings-form.md +401 -0
- package/dist/docs/templates/stats-blocks.md +1245 -0
- package/dist/docs/templates/table-panel.md +310 -0
- package/dist/docs/templates/usage-cards.md +199 -0
- package/dist/docs/utilities/classNames.md +89 -1
- package/dist/docs/utilities/deviceUtils.md +2 -2
- package/dist/docs/utilities/featureToggles.md +182 -2
- package/dist/docs/utilities/fuelTypeUtils.md +27 -29
- package/dist/docs/utilities/getTrackingAttributes.md +322 -0
- package/dist/docs/utilities/routeUtils.md +211 -3
- 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/useCookies.md +1 -1
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +5 -4
- package/dist/docs/utilities/useDebugInfo.md +3 -3
- package/dist/docs/utilities/useDraggableElement.md +281 -0
- 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 +8 -10
- 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 +2 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +110 -2
- package/dist/docs/utilities/useResizeObserver.md +35 -15
- package/dist/docs/utilities/useRioCookieConsent.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +3 -6
- package/dist/docs/utilities/useSearch.md +1 -3
- package/dist/docs/utilities/useSearchHighlight.md +1 -1
- package/dist/docs/utilities/useSorting.md +370 -239
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +364 -288
- package/dist/docs/utilities/useTableSelection.md +88 -92
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useUrlState.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +173 -69
- package/dist/search-synonyms.json +214 -76
- package/dist/version.json +2 -2
- package/package.json +4 -5
- package/dist/docs/components/mapRouteGenerator.md +0 -6
- package/dist/docs/components/tables.md +0 -8
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/radioCardGroup
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:22.225Z
|
|
7
7
|
|
|
8
8
|
Card-based radio selection built on top of RadioButton. Supports options-based usage and a compound API via RadioCardItem and RadioCardIndicator.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/radiobutton
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:24.606Z
|
|
7
7
|
|
|
8
8
|
NoteWhen using the custom option, make sure to wrap the children with the class name radio-text-wrapper. For using the radio tick, use an element with class name radio-text.
|
|
9
9
|
|
|
@@ -370,6 +370,8 @@ export default () => {
|
|
|
370
370
|
|
|
371
371
|
> Note: When using the custom option, make sure to wrap the children with the class name radio-text-wrapper. For using the radio tick, use an element with class name radio-text.
|
|
372
372
|
|
|
373
|
+
> Note
|
|
374
|
+
|
|
373
375
|
### Example: This option is a first option
|
|
374
376
|
|
|
375
377
|
Option 1
|
|
@@ -953,119 +955,117 @@ Save 25%
|
|
|
953
955
|
```tsx
|
|
954
956
|
import RadioButton from '@rio-cloud/rio-uikit/RadioButton';
|
|
955
957
|
|
|
956
|
-
export default () =>
|
|
957
|
-
|
|
958
|
+
export default () => (
|
|
959
|
+
<div>
|
|
958
960
|
<div>
|
|
959
|
-
<
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
>
|
|
967
|
-
|
|
968
|
-
</RadioButton>
|
|
961
|
+
<RadioButton
|
|
962
|
+
name='radiosIconInline'
|
|
963
|
+
id='IconInlineTruck'
|
|
964
|
+
inline
|
|
965
|
+
icon='rioglyph-truck'
|
|
966
|
+
iconLabelPosition='horizontal'
|
|
967
|
+
>
|
|
968
|
+
<span>Truck</span>
|
|
969
|
+
</RadioButton>
|
|
969
970
|
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
971
|
+
<RadioButton
|
|
972
|
+
name='radiosIconInline'
|
|
973
|
+
id='IconInlineBus'
|
|
974
|
+
inline
|
|
975
|
+
icon='rioglyph-bus'
|
|
976
|
+
iconLabelPosition='horizontal'
|
|
977
|
+
>
|
|
978
|
+
<span>Bus</span>
|
|
979
|
+
</RadioButton>
|
|
979
980
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
981
|
+
<RadioButton
|
|
982
|
+
name='radiosIconInline'
|
|
983
|
+
id='IconInlineTrailer'
|
|
984
|
+
inline
|
|
985
|
+
icon='rioglyph-trailer'
|
|
986
|
+
iconLabelPosition='horizontal'
|
|
987
|
+
>
|
|
988
|
+
<span>Trailer</span>
|
|
989
|
+
</RadioButton>
|
|
990
|
+
</div>
|
|
990
991
|
|
|
991
|
-
|
|
992
|
+
<hr />
|
|
992
993
|
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
<RadioButton name='radiosIcon' id='IconBus' inline icon='rioglyph-bus' iconSize={75}>
|
|
999
|
-
<span className='text-size-16 margin-top-10'>Bus</span>
|
|
1000
|
-
</RadioButton>
|
|
994
|
+
<div>
|
|
995
|
+
<RadioButton name='radiosIcon' id='IconTruck' inline icon='rioglyph-truck' iconSize={75}>
|
|
996
|
+
<span className='text-size-16 margin-top-10'>Truck</span>
|
|
997
|
+
</RadioButton>
|
|
1001
998
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
999
|
+
<RadioButton name='radiosIcon' id='IconBus' inline icon='rioglyph-bus' iconSize={75}>
|
|
1000
|
+
<span className='text-size-16 margin-top-10'>Bus</span>
|
|
1001
|
+
</RadioButton>
|
|
1005
1002
|
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
</div>
|
|
1003
|
+
<RadioButton name='radiosIcon' id='IconBus' inline icon='rioglyph-van' iconSize={75}>
|
|
1004
|
+
<span className='text-size-16 margin-top-10'>Van</span>
|
|
1005
|
+
</RadioButton>
|
|
1010
1006
|
|
|
1011
|
-
<
|
|
1007
|
+
<RadioButton name='radiosIcon' id='IconTrailer' inline icon='rioglyph-trailer' iconSize={75}>
|
|
1008
|
+
<span className='text-size-16 margin-top-10'>Trailer</span>
|
|
1009
|
+
</RadioButton>
|
|
1010
|
+
</div>
|
|
1012
1011
|
|
|
1013
|
-
|
|
1014
|
-
<div className='display-flex content-space-between column-gap-25 margin-bottom-25'>
|
|
1015
|
-
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1016
|
-
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>6 Month</div>
|
|
1017
|
-
<div className='text-size-12 text-color-dark' />
|
|
1018
|
-
</div>
|
|
1012
|
+
<hr />
|
|
1019
1013
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
</div>
|
|
1014
|
+
<div className='padding-25 max-width-400'>
|
|
1015
|
+
<div className='display-flex content-space-between column-gap-25 margin-bottom-25'>
|
|
1016
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1017
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>6 Month</div>
|
|
1018
|
+
<div className='text-size-12 text-color-dark' />
|
|
1019
|
+
</div>
|
|
1024
1020
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
</div>
|
|
1021
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1022
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>12 Month</div>
|
|
1023
|
+
<div className='text-size-12 text-color-dark'>Save 15%</div>
|
|
1029
1024
|
</div>
|
|
1030
1025
|
|
|
1031
|
-
<div
|
|
1032
|
-
className=
|
|
1033
|
-
|
|
1034
|
-
'padding-3 border-style-solid border-width-1 border-color-light'
|
|
1035
|
-
}
|
|
1036
|
-
>
|
|
1037
|
-
<RadioButton
|
|
1038
|
-
name='radiosContracts'
|
|
1039
|
-
id='Periode1'
|
|
1040
|
-
inline
|
|
1041
|
-
icon='rioglyph-start'
|
|
1042
|
-
iconSize={30}
|
|
1043
|
-
className='padding-0 margin-0 width-33pct'
|
|
1044
|
-
defaultChecked
|
|
1045
|
-
/>
|
|
1046
|
-
|
|
1047
|
-
<RadioButton
|
|
1048
|
-
name='radiosContracts'
|
|
1049
|
-
id='Periode2'
|
|
1050
|
-
inline
|
|
1051
|
-
icon='rioglyph-stopover'
|
|
1052
|
-
iconSize={30}
|
|
1053
|
-
className='padding-0 margin-0 width-33pct'
|
|
1054
|
-
/>
|
|
1055
|
-
|
|
1056
|
-
<RadioButton
|
|
1057
|
-
name='radiosContracts'
|
|
1058
|
-
id='Periode3'
|
|
1059
|
-
inline
|
|
1060
|
-
icon='rioglyph-stopover'
|
|
1061
|
-
iconSize={30}
|
|
1062
|
-
className='padding-0 margin-0 width-33pct'
|
|
1063
|
-
/>
|
|
1026
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1027
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>24 Month</div>
|
|
1028
|
+
<div className='text-size-12 text-color-dark'>Save 25%</div>
|
|
1064
1029
|
</div>
|
|
1065
1030
|
</div>
|
|
1031
|
+
|
|
1032
|
+
<div
|
|
1033
|
+
className={
|
|
1034
|
+
'display-flex justify-content-between column-gap-25 bg-white rounded-circle ' +
|
|
1035
|
+
'padding-3 border-style-solid border-width-1 border-color-light'
|
|
1036
|
+
}
|
|
1037
|
+
>
|
|
1038
|
+
<RadioButton
|
|
1039
|
+
name='radiosContracts'
|
|
1040
|
+
id='Periode1'
|
|
1041
|
+
inline
|
|
1042
|
+
icon='rioglyph-start'
|
|
1043
|
+
iconSize={30}
|
|
1044
|
+
className='padding-0 margin-0 width-33pct'
|
|
1045
|
+
defaultChecked
|
|
1046
|
+
/>
|
|
1047
|
+
|
|
1048
|
+
<RadioButton
|
|
1049
|
+
name='radiosContracts'
|
|
1050
|
+
id='Periode2'
|
|
1051
|
+
inline
|
|
1052
|
+
icon='rioglyph-stopover'
|
|
1053
|
+
iconSize={30}
|
|
1054
|
+
className='padding-0 margin-0 width-33pct'
|
|
1055
|
+
/>
|
|
1056
|
+
|
|
1057
|
+
<RadioButton
|
|
1058
|
+
name='radiosContracts'
|
|
1059
|
+
id='Periode3'
|
|
1060
|
+
inline
|
|
1061
|
+
icon='rioglyph-stopover'
|
|
1062
|
+
iconSize={30}
|
|
1063
|
+
className='padding-0 margin-0 width-33pct'
|
|
1064
|
+
/>
|
|
1065
|
+
</div>
|
|
1066
1066
|
</div>
|
|
1067
|
-
|
|
1068
|
-
|
|
1067
|
+
</div>
|
|
1068
|
+
);
|
|
1069
1069
|
```
|
|
1070
1070
|
|
|
1071
1071
|
#### HTML (html)
|
|
@@ -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-04-27T14:58:03.536Z
|
|
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
|
|
|
@@ -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-04-27T14:58:27.558Z
|
|
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
|
|
|
@@ -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-04-27T14:58:30.084Z
|
|
7
7
|
|
|
8
8
|
## RulesWrapper, RuleContainer and RuleConnector
|
|
9
9
|
|
|
@@ -224,62 +224,56 @@ const ConditionsList = ({
|
|
|
224
224
|
|
|
225
225
|
type ConditionEditorProps = { condition: Condition; onDelete: (id: string) => void };
|
|
226
226
|
|
|
227
|
-
const ConditionEditor = ({ condition, onDelete }: ConditionEditorProps) =>
|
|
228
|
-
|
|
229
|
-
<
|
|
230
|
-
<div className='
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<
|
|
235
|
-
|
|
236
|
-
</Button>
|
|
237
|
-
</div>
|
|
227
|
+
const ConditionEditor = ({ condition, onDelete }: ConditionEditorProps) => (
|
|
228
|
+
<form>
|
|
229
|
+
<div className='display-flex align-items-center gap-10 flex-1-1 flex-wrap'>
|
|
230
|
+
<div className='flex-1-1-0 line-height-125rel'>{condition.label}</div>
|
|
231
|
+
<div className='flex-1-1-0 display-flex gap-10'>
|
|
232
|
+
{condition.formElements}
|
|
233
|
+
<Button bsStyle={Button.MUTED} iconOnly onClick={() => onDelete(condition.id)}>
|
|
234
|
+
<span className='rioglyph rioglyph-trash' />
|
|
235
|
+
</Button>
|
|
238
236
|
</div>
|
|
239
|
-
</
|
|
240
|
-
|
|
241
|
-
|
|
237
|
+
</div>
|
|
238
|
+
</form>
|
|
239
|
+
);
|
|
242
240
|
|
|
243
241
|
type ConditionsTwoProps = { onRuleSelect: VoidFunction };
|
|
244
242
|
|
|
245
|
-
const ConditionsTwo = ({ onRuleSelect }: ConditionsTwoProps) =>
|
|
246
|
-
|
|
247
|
-
<div className='
|
|
248
|
-
|
|
249
|
-
<
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
);
|
|
259
|
-
};
|
|
243
|
+
const ConditionsTwo = ({ onRuleSelect }: ConditionsTwoProps) => (
|
|
244
|
+
<div className='display-flex flex-column align-items-center gap-15'>
|
|
245
|
+
<div className='text-center'>When should the rule be triggered?</div>
|
|
246
|
+
<TagList>
|
|
247
|
+
<Tag active clickable={false} round={false}>
|
|
248
|
+
Immediately
|
|
249
|
+
</Tag>
|
|
250
|
+
<Tag clickable onClick={onRuleSelect} round={false}>
|
|
251
|
+
When all conditions apply for at least
|
|
252
|
+
</Tag>
|
|
253
|
+
</TagList>
|
|
254
|
+
</div>
|
|
255
|
+
);
|
|
260
256
|
|
|
261
257
|
type ConditionEditorTwpProps = { onDelete: VoidFunction };
|
|
262
258
|
|
|
263
|
-
const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) =>
|
|
264
|
-
|
|
265
|
-
<
|
|
266
|
-
<div className='
|
|
267
|
-
|
|
268
|
-
<div className='
|
|
269
|
-
<div className='
|
|
270
|
-
<
|
|
271
|
-
|
|
272
|
-
<div className='input-group-addon'>minutes</div>
|
|
273
|
-
</div>
|
|
259
|
+
const ConditionEditorTwo = ({ onDelete }: ConditionEditorTwpProps) => (
|
|
260
|
+
<form>
|
|
261
|
+
<div className='display-flex align-items-center gap-10 flex-1-1 flex-wrap'>
|
|
262
|
+
<div className='flex-1-1-0 line-height-125rel'>When all conditions apply for at least</div>
|
|
263
|
+
<div className='flex-1-1-0 display-flex gap-10'>
|
|
264
|
+
<div className='width-100pct margin-bottom-0'>
|
|
265
|
+
<div className='input-group min-width-100'>
|
|
266
|
+
<input className='form-control' type='text' name='value' />
|
|
267
|
+
<div className='input-group-addon'>minutes</div>
|
|
274
268
|
</div>
|
|
275
|
-
<Button bsStyle={Button.MUTED} iconOnly onClick={onDelete}>
|
|
276
|
-
<span className='rioglyph rioglyph-trash' />
|
|
277
|
-
</Button>
|
|
278
269
|
</div>
|
|
270
|
+
<Button bsStyle={Button.MUTED} iconOnly onClick={onDelete}>
|
|
271
|
+
<span className='rioglyph rioglyph-trash' />
|
|
272
|
+
</Button>
|
|
279
273
|
</div>
|
|
280
|
-
</
|
|
281
|
-
|
|
282
|
-
|
|
274
|
+
</div>
|
|
275
|
+
</form>
|
|
276
|
+
);
|
|
283
277
|
```
|
|
284
278
|
|
|
285
279
|
#### HTML (html)
|