@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/editableContent
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:21.492Z
|
|
7
7
|
|
|
8
8
|
The EditableContent component allows for inline editing text or other values. To make sure the user can recognize such an element, it's best to mark the text or content with a dotted line depending on the situation and where it is placed. Alternatively, you can place the "pencil" icon next to the content. Especially on mobile where no hover is available, the editable content must be marked permanently.
|
|
9
9
|
|
|
@@ -280,6 +280,7 @@ export default () => {
|
|
|
280
280
|
};
|
|
281
281
|
|
|
282
282
|
const handleCancelText = () => setIsEditMode(false);
|
|
283
|
+
const handleEnterEditMode = () => setIsEditMode(true);
|
|
283
284
|
|
|
284
285
|
const handleValidation = (value: string) => !/\d/.test(value);
|
|
285
286
|
|
|
@@ -290,6 +291,7 @@ export default () => {
|
|
|
290
291
|
show={isEditMode}
|
|
291
292
|
onSave={handleSaveText}
|
|
292
293
|
onCancel={handleCancelText}
|
|
294
|
+
onEditMode={handleEnterEditMode}
|
|
293
295
|
onSaveValidation={handleValidation}
|
|
294
296
|
editorOffsetTop={1}
|
|
295
297
|
errorMessage={<span>Numbers are not allowed</span>}
|
|
@@ -774,96 +776,94 @@ const Demo2 = () => {
|
|
|
774
776
|
);
|
|
775
777
|
};
|
|
776
778
|
|
|
777
|
-
export default () =>
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
<div
|
|
781
|
-
<div>
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
<
|
|
785
|
-
<
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
<
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
<
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
<
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
<
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
<
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
<
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
</ul>
|
|
807
|
-
</div>
|
|
808
|
-
<div>
|
|
809
|
-
<div className='text-size-16 text-color-success'>Do</div>
|
|
810
|
-
<p>Use an underline to indicate editable text and use a hover icon on Desktop if possible.</p>
|
|
811
|
-
<ul className='list-group rounded border'>
|
|
812
|
-
<li className='list-group-item'>
|
|
813
|
-
<Demo2 />
|
|
814
|
-
</li>
|
|
815
|
-
<li className='list-group-item'>
|
|
816
|
-
<Demo2 />
|
|
817
|
-
</li>
|
|
818
|
-
<li className='list-group-item'>
|
|
819
|
-
<Demo2 />
|
|
820
|
-
</li>
|
|
821
|
-
<li className='list-group-item'>
|
|
822
|
-
<Demo2 />
|
|
823
|
-
</li>
|
|
824
|
-
<li className='list-group-item'>
|
|
825
|
-
<Demo2 />
|
|
826
|
-
</li>
|
|
827
|
-
<li className='list-group-item'>
|
|
828
|
-
<Demo2 />
|
|
829
|
-
</li>
|
|
830
|
-
<li className='list-group-item'>
|
|
831
|
-
<Demo2 />
|
|
832
|
-
</li>
|
|
833
|
-
</ul>
|
|
834
|
-
</div>
|
|
835
|
-
<div className='grid-colspan-2 grid-colspan-1-md'>
|
|
836
|
-
<div className='text-size-16 text-color-success'>Do</div>
|
|
837
|
-
<p>
|
|
838
|
-
Using the editable field in isolation like inside a panel header or a like, you can permanently
|
|
839
|
-
show a edit icon.
|
|
840
|
-
</p>
|
|
841
|
-
<EditableContent editorOffsetTop={1}>
|
|
842
|
-
<h5 className='display-flex align-items-center gap-5 text-thin cursor-pointer'>
|
|
843
|
-
<span>Lorem ipsum dolor</span>
|
|
844
|
-
<span className='rioglyph rioglyph-pencil' />
|
|
845
|
-
</h5>
|
|
846
|
-
</EditableContent>
|
|
847
|
-
<hr />
|
|
848
|
-
<EditableContent editorOffsetTop={1}>
|
|
849
|
-
<div className='display-flex align-items-center gap-5 text-size-h4 text-thin cursor-pointer'>
|
|
850
|
-
<span>Lorem ipsum dolor</span>
|
|
851
|
-
<span className='rioglyph rioglyph-pencil' />
|
|
852
|
-
</div>
|
|
853
|
-
</EditableContent>
|
|
854
|
-
<hr />
|
|
855
|
-
</div>
|
|
779
|
+
export default () => (
|
|
780
|
+
<>
|
|
781
|
+
<div className='display-grid grid-cols-2 grid-cols-3-md grid-auto-rows gap-15 margin-bottom-20'>
|
|
782
|
+
<div>
|
|
783
|
+
<div className='text-size-16 text-color-danger'>Don't</div>
|
|
784
|
+
<p>Avoid overuse in lists or tables. Avoid many repetitions of edit icons.</p>
|
|
785
|
+
<ul className='list-group rounded border'>
|
|
786
|
+
<li className='list-group-item'>
|
|
787
|
+
<Demo1 />
|
|
788
|
+
</li>
|
|
789
|
+
<li className='list-group-item'>
|
|
790
|
+
<Demo1 />
|
|
791
|
+
</li>
|
|
792
|
+
<li className='list-group-item'>
|
|
793
|
+
<Demo1 />
|
|
794
|
+
</li>
|
|
795
|
+
<li className='list-group-item'>
|
|
796
|
+
<Demo1 />
|
|
797
|
+
</li>
|
|
798
|
+
<li className='list-group-item'>
|
|
799
|
+
<Demo1 />
|
|
800
|
+
</li>
|
|
801
|
+
<li className='list-group-item'>
|
|
802
|
+
<Demo1 />
|
|
803
|
+
</li>
|
|
804
|
+
<li className='list-group-item'>
|
|
805
|
+
<Demo1 />
|
|
806
|
+
</li>
|
|
807
|
+
</ul>
|
|
856
808
|
</div>
|
|
857
|
-
<
|
|
858
|
-
<
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
809
|
+
<div>
|
|
810
|
+
<div className='text-size-16 text-color-success'>Do</div>
|
|
811
|
+
<p>Use an underline to indicate editable text and use a hover icon on Desktop if possible.</p>
|
|
812
|
+
<ul className='list-group rounded border'>
|
|
813
|
+
<li className='list-group-item'>
|
|
814
|
+
<Demo2 />
|
|
815
|
+
</li>
|
|
816
|
+
<li className='list-group-item'>
|
|
817
|
+
<Demo2 />
|
|
818
|
+
</li>
|
|
819
|
+
<li className='list-group-item'>
|
|
820
|
+
<Demo2 />
|
|
821
|
+
</li>
|
|
822
|
+
<li className='list-group-item'>
|
|
823
|
+
<Demo2 />
|
|
824
|
+
</li>
|
|
825
|
+
<li className='list-group-item'>
|
|
826
|
+
<Demo2 />
|
|
827
|
+
</li>
|
|
828
|
+
<li className='list-group-item'>
|
|
829
|
+
<Demo2 />
|
|
830
|
+
</li>
|
|
831
|
+
<li className='list-group-item'>
|
|
832
|
+
<Demo2 />
|
|
833
|
+
</li>
|
|
834
|
+
</ul>
|
|
835
|
+
</div>
|
|
836
|
+
<div className='grid-colspan-2 grid-colspan-1-md'>
|
|
837
|
+
<div className='text-size-16 text-color-success'>Do</div>
|
|
838
|
+
<p>
|
|
839
|
+
Using the editable field in isolation like inside a panel header or a like, you can permanently show
|
|
840
|
+
a edit icon.
|
|
841
|
+
</p>
|
|
842
|
+
<EditableContent editorOffsetTop={1}>
|
|
843
|
+
<h5 className='display-flex align-items-center gap-5 text-thin cursor-pointer'>
|
|
844
|
+
<span>Lorem ipsum dolor</span>
|
|
845
|
+
<span className='rioglyph rioglyph-pencil' />
|
|
846
|
+
</h5>
|
|
847
|
+
</EditableContent>
|
|
848
|
+
<hr />
|
|
849
|
+
<EditableContent editorOffsetTop={1}>
|
|
850
|
+
<div className='display-flex align-items-center gap-5 text-size-h4 text-thin cursor-pointer'>
|
|
851
|
+
<span>Lorem ipsum dolor</span>
|
|
852
|
+
<span className='rioglyph rioglyph-pencil' />
|
|
853
|
+
</div>
|
|
854
|
+
</EditableContent>
|
|
855
|
+
<hr />
|
|
856
|
+
</div>
|
|
857
|
+
</div>
|
|
858
|
+
<b>
|
|
859
|
+
<Note>
|
|
860
|
+
In general, don't make every cell in a table editable. The indication style would be too repetitive and
|
|
861
|
+
the user does not expect this behavior as it is not implemented in other services like so. Strive for a
|
|
862
|
+
common look and feel with regards to other services.
|
|
863
|
+
</Note>
|
|
864
|
+
</b>
|
|
865
|
+
</>
|
|
866
|
+
);
|
|
867
867
|
```
|
|
868
868
|
|
|
869
869
|
#### HTML (html)
|
|
@@ -1016,7 +1016,7 @@ export default () => {
|
|
|
1016
1016
|
</div>
|
|
1017
1017
|
</div>
|
|
1018
1018
|
<b>
|
|
1019
|
-
<div class="display-flex gap-10 max-width-1000 margin-bottom-10 last-child-margin-bottom-0"
|
|
1019
|
+
<div class="display-flex gap-10 max-width-1000 margin-bottom-10 last-child-margin-bottom-0">
|
|
1020
1020
|
<div>
|
|
1021
1021
|
<span class="label label-info label-condensed label-filled">Note</span>
|
|
1022
1022
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/expander
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:29.139Z
|
|
7
7
|
|
|
8
8
|
A simple panel component where the "panel-body" can be expanded.
|
|
9
9
|
|
|
@@ -125,6 +125,7 @@ export default () => {
|
|
|
125
125
|
| bodyClassName | string | — | Additional classes to be set on the panel body. |
|
|
126
126
|
| iconClassName | string | — | Additional classes added to the chevron icon |
|
|
127
127
|
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
128
|
+
| trackingAttributes | TrackingAttributes | — | Optional tracking attributes (e.g. from getTrackingAttributes) added to the panel header element. |
|
|
128
129
|
| children | React.ReactNode \| ((isOpen: boolean) => React.ReactNode \| JSX.Element) | — | Any element to be rendered inside the panel body. Providing a function enables the render prop approach. See https://reactjs.org/docs/render-props.html The function gets the isOpen state passed and is responsible for rendering the custom content. |
|
|
129
130
|
|
|
130
131
|
### Example: Default
|
|
@@ -622,6 +623,7 @@ const DynamicContent = () => {
|
|
|
622
623
|
| bodyClassName | string | — | Additional classes to be set on the panel body. |
|
|
623
624
|
| iconClassName | string | — | Additional classes added to the chevron icon |
|
|
624
625
|
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
626
|
+
| trackingAttributes | TrackingAttributes | — | Optional tracking attributes (e.g. from getTrackingAttributes) added to the panel header element. |
|
|
625
627
|
| children | React.ReactNode \| ((isOpen: boolean) => React.ReactNode \| JSX.Element) | — | Any element to be rendered inside the panel body. Providing a function enables the render prop approach. See https://reactjs.org/docs/render-props.html The function gets the isOpen state passed and is responsible for rendering the custom content. |
|
|
626
628
|
|
|
627
629
|
## ExpanderList
|
|
@@ -891,6 +893,7 @@ export default () => {
|
|
|
891
893
|
| └headerClassName | string | — | Additional classes to be set on "expander-list-header" node. |
|
|
892
894
|
| └bodyClassName | string | — | Additional classes to be set on "expander-list-body" node. |
|
|
893
895
|
| └className | string | — | Additional classes to be set on list item node. |
|
|
896
|
+
| └trackingAttributes | TrackingAttributes | — | Optional tracking attributes (e.g. from getTrackingAttributes) added to the item header element. |
|
|
894
897
|
| rounded | boolean | true | Defines whether the "expander-list-body" is rounded or not. |
|
|
895
898
|
| bordered | boolean | true | Defines whether the "expander-list-body" has a border or not. |
|
|
896
899
|
| unmountOnExit | boolean | true | It unmounts the body component (remove it from the DOM) when it is collapsed. Set it to false to avoid the unmount. |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/fade
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:30.629Z
|
|
7
7
|
|
|
8
8
|
The Fade component fades in and out content with a given animation style.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/fadeExpander
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:28.551Z
|
|
7
7
|
|
|
8
8
|
The FadeExpander component fades in and expands when the content.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/fadeUp
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:30.431Z
|
|
7
7
|
|
|
8
8
|
The FadeUp component fades in when the content appears on the screen. After it faded in, the element will stay on screen. This can be used in a scrolling scenario where elements should fade up when they scroll into view. Using the delay helps to stagger the animation.
|
|
9
9
|
|
|
@@ -77,17 +77,15 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget ma
|
|
|
77
77
|
import FadeUp from '@rio-cloud/rio-uikit/FadeUp';
|
|
78
78
|
import { dummyText } from '../../../utils/data';
|
|
79
79
|
|
|
80
|
-
export default () =>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
);
|
|
90
|
-
};
|
|
80
|
+
export default () => (
|
|
81
|
+
<div className='max-width-500 max-height-500 overflow-auto padding-x-25'>
|
|
82
|
+
{Array.from({ length: 30 }, (_, index) => (
|
|
83
|
+
<FadeUp key={index} duration={0.5} delay={0.3}>
|
|
84
|
+
<div className='bg-white rounded border padding-25 margin-bottom-15'>{dummyText}</div>
|
|
85
|
+
</FadeUp>
|
|
86
|
+
))}
|
|
87
|
+
</div>
|
|
88
|
+
);
|
|
91
89
|
```
|
|
92
90
|
|
|
93
91
|
#### HTML (html)
|
|
@@ -244,33 +242,31 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget ma
|
|
|
244
242
|
import FadeUp from '@rio-cloud/rio-uikit/FadeUp';
|
|
245
243
|
import { dummyImage3by2, dummyTextExtraShort, dummyTextShort } from '../../../utils/data';
|
|
246
244
|
|
|
247
|
-
export default () =>
|
|
248
|
-
|
|
249
|
-
<div className='
|
|
250
|
-
<div
|
|
251
|
-
<
|
|
252
|
-
<
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
<
|
|
256
|
-
<p className='text-color-dark'>{dummyTextExtraShort}</p>
|
|
257
|
-
</FadeUp>
|
|
258
|
-
</div>
|
|
259
|
-
<FadeUp delay={1.0}>
|
|
260
|
-
<img className='rounded-large' width={250} src={dummyImage3by2} alt='dummy' />
|
|
245
|
+
export default () => (
|
|
246
|
+
<div className='max-width-800 padding-x-25'>
|
|
247
|
+
<div className='display-flex align-items-center gap-25 margin-bottom-50'>
|
|
248
|
+
<div>
|
|
249
|
+
<FadeUp delay={0.4}>
|
|
250
|
+
<h1 className=''>Lorem ipsum dolor sit amet</h1>
|
|
251
|
+
</FadeUp>
|
|
252
|
+
<FadeUp delay={0.6}>
|
|
253
|
+
<p className='text-color-dark'>{dummyTextExtraShort}</p>
|
|
261
254
|
</FadeUp>
|
|
262
255
|
</div>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
{Array.from({ length: 3 }, (_, index) => (
|
|
266
|
-
<FadeUp key={index} delay={1.5 + index * 0.2}>
|
|
267
|
-
<div className='bg-white rounded border padding-25 margin-bottom-15'>{dummyTextShort}</div>
|
|
268
|
-
</FadeUp>
|
|
269
|
-
))}
|
|
256
|
+
<FadeUp delay={1.0}>
|
|
257
|
+
<img className='rounded-large' width={250} src={dummyImage3by2} alt='dummy' />
|
|
270
258
|
</FadeUp>
|
|
271
259
|
</div>
|
|
272
|
-
|
|
273
|
-
}
|
|
260
|
+
|
|
261
|
+
<FadeUp delay={1.3} className='display-grid grid-cols-1 grid-cols-3-md gap-15'>
|
|
262
|
+
{Array.from({ length: 3 }, (_, index) => (
|
|
263
|
+
<FadeUp key={index} delay={1.5 + index * 0.2}>
|
|
264
|
+
<div className='bg-white rounded border padding-25 margin-bottom-15'>{dummyTextShort}</div>
|
|
265
|
+
</FadeUp>
|
|
266
|
+
))}
|
|
267
|
+
</FadeUp>
|
|
268
|
+
</div>
|
|
269
|
+
);
|
|
274
270
|
```
|
|
275
271
|
|
|
276
272
|
#### HTML (html)
|
|
@@ -282,7 +278,7 @@ export default () => {
|
|
|
282
278
|
<div class="" style="opacity: 1; transform: none;">
|
|
283
279
|
<h1 class="">Lorem ipsum dolor sit amet</h1>
|
|
284
280
|
</div>
|
|
285
|
-
<div class="" style="opacity: 0; transform: translateY(0.
|
|
281
|
+
<div class="" style="opacity: 0; transform: translateY(-0.0006625px);">
|
|
286
282
|
<p class="text-color-dark">
|
|
287
283
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</p>
|
|
288
284
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/formLabel
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:57:58.946Z
|
|
7
7
|
|
|
8
8
|
A small convenience component for a form label or just a label style used without a form element.
|
|
9
9
|
|
|
@@ -158,39 +158,37 @@ import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
|
|
|
158
158
|
import Button from '@rio-cloud/rio-uikit/Button';
|
|
159
159
|
import ButtonToolbar from '@rio-cloud/rio-uikit/ButtonToolbar';
|
|
160
160
|
|
|
161
|
-
export default () =>
|
|
162
|
-
|
|
163
|
-
<
|
|
164
|
-
<
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
</div>
|
|
161
|
+
export default () => (
|
|
162
|
+
<div className='display-flex flex-column gap-15 max-width-500'>
|
|
163
|
+
<p>
|
|
164
|
+
Labels for various sized elements using the <code>form-group-sm</code> and <code>form-group-lg</code> class
|
|
165
|
+
on the parent element.
|
|
166
|
+
</p>
|
|
167
|
+
<div className='form-group form-group-sm'>
|
|
168
|
+
<FormLabel htmlFor='sample-sm-input' supportingText='Lorem ipsum'>
|
|
169
|
+
A label for a small form element
|
|
170
|
+
</FormLabel>
|
|
171
|
+
<input id='sample-sm-input' className='form-control' placeholder='Some input' />
|
|
172
|
+
</div>
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
174
|
+
<div className='form-group form-group-lg'>
|
|
175
|
+
<FormLabel htmlFor='sample-lg-input' supportingText='Lorem ipsum'>
|
|
176
|
+
A label for a large form element
|
|
177
|
+
</FormLabel>
|
|
178
|
+
<input id='sample-lg-input' className='form-control' placeholder='Some input' />
|
|
179
|
+
</div>
|
|
181
180
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</div>
|
|
181
|
+
<div className='form-group form-group-lg'>
|
|
182
|
+
<FormLabel>A label for some large buttons</FormLabel>
|
|
183
|
+
<ButtonToolbar>
|
|
184
|
+
<Button bsSize='lg'>Button</Button>
|
|
185
|
+
<Button bsSize='lg' bsStyle='primary'>
|
|
186
|
+
Button
|
|
187
|
+
</Button>
|
|
188
|
+
</ButtonToolbar>
|
|
191
189
|
</div>
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
</div>
|
|
191
|
+
);
|
|
194
192
|
```
|
|
195
193
|
|
|
196
194
|
#### HTML (html)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/components/groupedItemList
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-27T14:58:01.947Z
|
|
7
7
|
|
|
8
8
|
## GroupedItemList
|
|
9
9
|
|
|
@@ -464,14 +464,10 @@ export default () => {
|
|
|
464
464
|
);
|
|
465
465
|
|
|
466
466
|
// Sorting function for groups by deliveryDate
|
|
467
|
-
const groupSortFunction = (groups: Group[]) =>
|
|
468
|
-
return naturalSortByProperty(groups, 'groupKey', sortOrder);
|
|
469
|
-
};
|
|
467
|
+
const groupSortFunction = (groups: Group[]) => naturalSortByProperty(groups, 'groupKey', sortOrder);
|
|
470
468
|
|
|
471
469
|
// Sorting function for items within each group
|
|
472
|
-
const itemSortFunction = (items: LogisticItem[]) =>
|
|
473
|
-
return sortByProperty(items, 'name', itemSortOrder);
|
|
474
|
-
};
|
|
470
|
+
const itemSortFunction = (items: LogisticItem[]) => sortByProperty(items, 'name', itemSortOrder);
|
|
475
471
|
|
|
476
472
|
return (
|
|
477
473
|
<div>
|