@rio-cloud/uikit-mcp 1.1.9 → 1.1.10
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 +325 -85
- package/dist/docs/components/accentBar.md +110 -116
- package/dist/docs/components/activity.md +1 -1
- package/dist/docs/components/analyticsAnalysisOverlay.md +628 -0
- package/dist/docs/components/animatedNumber.md +2 -2
- package/dist/docs/components/animatedTextReveal.md +53 -55
- package/dist/docs/components/animations.md +22 -22
- package/dist/docs/components/appHeader.md +27 -38
- package/dist/docs/components/appLayout.md +38 -42
- package/dist/docs/components/appNavigationBar.md +1 -1
- package/dist/docs/components/areaCharts.md +57 -63
- package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
- package/dist/docs/components/assetTree.md +200 -167
- 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 +531 -417
- package/dist/docs/components/barList.md +9 -9
- package/dist/docs/components/basicMap.md +60 -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 +57 -65
- package/dist/docs/components/card.md +1 -1
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -3
- package/dist/docs/components/chartsGettingStarted.md +1 -3
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +15 -12
- package/dist/docs/components/circularProgress.md +8 -8
- package/dist/docs/components/clearableInput.md +1 -1
- package/dist/docs/components/collapse.md +2 -4
- package/dist/docs/components/composedCharts.md +63 -53
- package/dist/docs/components/contentLoader.md +1 -1
- package/dist/docs/components/dataTabs.md +33 -33
- package/dist/docs/components/datepickers.md +693 -687
- package/dist/docs/components/dayPicker.md +5574 -0
- package/dist/docs/components/dayPickerCalendar.md +5269 -0
- package/dist/docs/components/dialogs.md +17 -19
- package/dist/docs/components/divider.md +1 -1
- package/dist/docs/components/dropdowns.md +3252 -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 -172
- 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 +23 -1
- package/dist/docs/components/mapContext.md +12 -4
- package/dist/docs/components/mapDraggableMarker.md +12 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +129 -2
- package/dist/docs/components/mapLayerGroup.md +10 -1
- package/dist/docs/components/mapMarker.md +10 -3
- package/dist/docs/components/mapPolygon.md +288 -85
- package/dist/docs/components/mapRoute.md +262 -172
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +23 -1
- package/dist/docs/components/mapUtils.md +1 -1
- package/dist/docs/components/multiselects.md +211 -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 -213
- package/dist/docs/components/popover.md +1 -1
- package/dist/docs/components/position.md +1 -1
- package/dist/docs/components/radialBarCharts.md +446 -400
- package/dist/docs/components/radioCardGroup.md +1 -1
- package/dist/docs/components/radiobutton.md +96 -98
- package/dist/docs/components/releaseNotes.md +1 -1
- package/dist/docs/components/resizer.md +1 -3
- package/dist/docs/components/responsiveColumnStripe.md +1 -3
- 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 +165 -111
- package/dist/docs/components/sidebar.md +1 -1
- package/dist/docs/components/sliders.md +1 -1
- package/dist/docs/components/smoothScrollbars.md +19 -15
- package/dist/docs/components/spinners.md +1 -1
- package/dist/docs/components/states.md +1 -1
- package/dist/docs/components/statsWidgets.md +1 -1
- package/dist/docs/components/statusBar.md +1 -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 +3 -1
- package/dist/docs/components/table.md +19584 -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 -3
- package/dist/docs/components/textTruncateMiddle.md +1 -1
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +1 -1
- package/dist/docs/components/toggleButton.md +3 -1
- package/dist/docs/components/tooltip.md +4 -2
- package/dist/docs/components/tracker.md +1 -1
- package/dist/docs/components/virtualList.md +56 -56
- package/dist/docs/foundations.md +640 -3122
- package/dist/docs/start/changelog.md +53 -3
- package/dist/docs/start/goodtoknow.md +2 -4
- 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 -3
- package/dist/docs/start/guidelines/iframe.md +17 -19
- package/dist/docs/start/guidelines/obfuscate-data.md +2 -4
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +1 -1
- package/dist/docs/start/guidelines/state-in-url.md +1 -1
- 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 +12 -20
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -3
- 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 +1 -1
- package/dist/docs/utilities/deviceUtils.md +2 -2
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +27 -29
- package/dist/docs/utilities/getTrackingAttributes.md +277 -0
- package/dist/docs/utilities/routeUtils.md +2 -2
- 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 +2 -4
- 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 +1 -1
- package/dist/search-synonyms.json +2 -2
- package/dist/version.json +2 -2
- package/package.json +2 -2
- 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-20T12:53:47.409Z
|
|
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-20T12:53:49.743Z
|
|
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
|
|
|
@@ -953,119 +953,117 @@ Save 25%
|
|
|
953
953
|
```tsx
|
|
954
954
|
import RadioButton from '@rio-cloud/rio-uikit/RadioButton';
|
|
955
955
|
|
|
956
|
-
export default () =>
|
|
957
|
-
|
|
956
|
+
export default () => (
|
|
957
|
+
<div>
|
|
958
958
|
<div>
|
|
959
|
-
<
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
>
|
|
967
|
-
|
|
968
|
-
</RadioButton>
|
|
969
|
-
|
|
970
|
-
<RadioButton
|
|
971
|
-
name='radiosIconInline'
|
|
972
|
-
id='IconInlineBus'
|
|
973
|
-
inline
|
|
974
|
-
icon='rioglyph-bus'
|
|
975
|
-
iconLabelPosition='horizontal'
|
|
976
|
-
>
|
|
977
|
-
<span>Bus</span>
|
|
978
|
-
</RadioButton>
|
|
959
|
+
<RadioButton
|
|
960
|
+
name='radiosIconInline'
|
|
961
|
+
id='IconInlineTruck'
|
|
962
|
+
inline
|
|
963
|
+
icon='rioglyph-truck'
|
|
964
|
+
iconLabelPosition='horizontal'
|
|
965
|
+
>
|
|
966
|
+
<span>Truck</span>
|
|
967
|
+
</RadioButton>
|
|
979
968
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
</div>
|
|
969
|
+
<RadioButton
|
|
970
|
+
name='radiosIconInline'
|
|
971
|
+
id='IconInlineBus'
|
|
972
|
+
inline
|
|
973
|
+
icon='rioglyph-bus'
|
|
974
|
+
iconLabelPosition='horizontal'
|
|
975
|
+
>
|
|
976
|
+
<span>Bus</span>
|
|
977
|
+
</RadioButton>
|
|
990
978
|
|
|
991
|
-
<
|
|
979
|
+
<RadioButton
|
|
980
|
+
name='radiosIconInline'
|
|
981
|
+
id='IconInlineTrailer'
|
|
982
|
+
inline
|
|
983
|
+
icon='rioglyph-trailer'
|
|
984
|
+
iconLabelPosition='horizontal'
|
|
985
|
+
>
|
|
986
|
+
<span>Trailer</span>
|
|
987
|
+
</RadioButton>
|
|
988
|
+
</div>
|
|
992
989
|
|
|
993
|
-
|
|
994
|
-
<RadioButton name='radiosIcon' id='IconTruck' inline icon='rioglyph-truck' iconSize={75}>
|
|
995
|
-
<span className='text-size-16 margin-top-10'>Truck</span>
|
|
996
|
-
</RadioButton>
|
|
990
|
+
<hr />
|
|
997
991
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
</
|
|
992
|
+
<div>
|
|
993
|
+
<RadioButton name='radiosIcon' id='IconTruck' inline icon='rioglyph-truck' iconSize={75}>
|
|
994
|
+
<span className='text-size-16 margin-top-10'>Truck</span>
|
|
995
|
+
</RadioButton>
|
|
1001
996
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
997
|
+
<RadioButton name='radiosIcon' id='IconBus' inline icon='rioglyph-bus' iconSize={75}>
|
|
998
|
+
<span className='text-size-16 margin-top-10'>Bus</span>
|
|
999
|
+
</RadioButton>
|
|
1005
1000
|
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
</div>
|
|
1001
|
+
<RadioButton name='radiosIcon' id='IconBus' inline icon='rioglyph-van' iconSize={75}>
|
|
1002
|
+
<span className='text-size-16 margin-top-10'>Van</span>
|
|
1003
|
+
</RadioButton>
|
|
1010
1004
|
|
|
1011
|
-
<
|
|
1005
|
+
<RadioButton name='radiosIcon' id='IconTrailer' inline icon='rioglyph-trailer' iconSize={75}>
|
|
1006
|
+
<span className='text-size-16 margin-top-10'>Trailer</span>
|
|
1007
|
+
</RadioButton>
|
|
1008
|
+
</div>
|
|
1012
1009
|
|
|
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>
|
|
1010
|
+
<hr />
|
|
1019
1011
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
</div>
|
|
1012
|
+
<div className='padding-25 max-width-400'>
|
|
1013
|
+
<div className='display-flex content-space-between column-gap-25 margin-bottom-25'>
|
|
1014
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1015
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>6 Month</div>
|
|
1016
|
+
<div className='text-size-12 text-color-dark' />
|
|
1017
|
+
</div>
|
|
1024
1018
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
</div>
|
|
1019
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1020
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>12 Month</div>
|
|
1021
|
+
<div className='text-size-12 text-color-dark'>Save 15%</div>
|
|
1029
1022
|
</div>
|
|
1030
1023
|
|
|
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
|
-
/>
|
|
1024
|
+
<div className='flex-1-1 text-center line-height-125rel width-33pct margin-left-10 margin-right-10'>
|
|
1025
|
+
<div className='text-size-16 text-medium margin-bottom-5 white-space-nowrap'>24 Month</div>
|
|
1026
|
+
<div className='text-size-12 text-color-dark'>Save 25%</div>
|
|
1064
1027
|
</div>
|
|
1065
1028
|
</div>
|
|
1029
|
+
|
|
1030
|
+
<div
|
|
1031
|
+
className={
|
|
1032
|
+
'display-flex justify-content-between column-gap-25 bg-white rounded-circle ' +
|
|
1033
|
+
'padding-3 border-style-solid border-width-1 border-color-light'
|
|
1034
|
+
}
|
|
1035
|
+
>
|
|
1036
|
+
<RadioButton
|
|
1037
|
+
name='radiosContracts'
|
|
1038
|
+
id='Periode1'
|
|
1039
|
+
inline
|
|
1040
|
+
icon='rioglyph-start'
|
|
1041
|
+
iconSize={30}
|
|
1042
|
+
className='padding-0 margin-0 width-33pct'
|
|
1043
|
+
defaultChecked
|
|
1044
|
+
/>
|
|
1045
|
+
|
|
1046
|
+
<RadioButton
|
|
1047
|
+
name='radiosContracts'
|
|
1048
|
+
id='Periode2'
|
|
1049
|
+
inline
|
|
1050
|
+
icon='rioglyph-stopover'
|
|
1051
|
+
iconSize={30}
|
|
1052
|
+
className='padding-0 margin-0 width-33pct'
|
|
1053
|
+
/>
|
|
1054
|
+
|
|
1055
|
+
<RadioButton
|
|
1056
|
+
name='radiosContracts'
|
|
1057
|
+
id='Periode3'
|
|
1058
|
+
inline
|
|
1059
|
+
icon='rioglyph-stopover'
|
|
1060
|
+
iconSize={30}
|
|
1061
|
+
className='padding-0 margin-0 width-33pct'
|
|
1062
|
+
/>
|
|
1063
|
+
</div>
|
|
1066
1064
|
</div>
|
|
1067
|
-
|
|
1068
|
-
|
|
1065
|
+
</div>
|
|
1066
|
+
);
|
|
1069
1067
|
```
|
|
1070
1068
|
|
|
1071
1069
|
#### HTML (html)
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/resizer
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:54:51.929Z
|
|
7
7
|
|
|
8
8
|
A helper component to allow elements to resize.
|
|
9
9
|
|
|
10
10
|
## Resizer
|
|
11
11
|
|
|
12
|
-
> Note: When the resizer position is set to left or top you also need to position your elements on screen accordingly. Otherwise, the browser will set the height or width and expands in the opposite direction
|
|
13
|
-
|
|
14
12
|
### Example: Example 1
|
|
15
13
|
|
|
16
14
|
Horizontal (default):
|
|
@@ -3,14 +3,12 @@
|
|
|
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-20T12:54:28.779Z
|
|
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
|
|
|
10
10
|
## ResponsiveColumnStripe
|
|
11
11
|
|
|
12
|
-
> Note: It is mandatory to set the key attribute for the individual items. If they are not set or when they are not unique the calculation of how many items to show on which page wont work. In case a custom component is used as item, wrap it in a native DOM element and set the key to the wrapping element.
|
|
13
|
-
|
|
14
12
|
### Example: Shipments
|
|
15
13
|
|
|
16
14
|
ResponsiveColumnStripe with minColumns 2 and maxColumns 5
|
|
@@ -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-20T12:54:53.164Z
|
|
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-20T12:54:55.085Z
|
|
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)
|