@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,9 +3,59 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Welcome
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/changelog
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.187Z
|
|
7
7
|
|
|
8
|
-
## Version 2.
|
|
8
|
+
## Version 2.3.0 (2026-03-20)
|
|
9
|
+
|
|
10
|
+
- **New** useDraggableElement Added a new useDraggableElement hook to make DOM elements draggable with pointer events, including support for dedicated drag handles.
|
|
11
|
+
|
|
12
|
+
- **New** CSS Animations Added a new foundations demo page for CSS animations with interactive slide, fade, scale, and rotate examples, including controls for duration, delay, easing, repeat, looping, and playback.
|
|
13
|
+
|
|
14
|
+
- **New** AI Assistant template Added a new template demo for AI-assisted service queries that turns a request into a structured response card with loading states and result tables.
|
|
15
|
+
|
|
16
|
+
- **Update** Multiselect Added a new useClear prop to clear the current selection from the toggle, aligned with the existing Select API and documented in the multiselect demo page.
|
|
17
|
+
|
|
18
|
+
- **Update** ButtonDropdown Added a new iconName prop and forward it to the underlying button toggle, so icon buttons no longer need custom title markup just to render a rioglyph with a button text.
|
|
19
|
+
|
|
20
|
+
- **Update** Route Route interactions now show a pointer cursor for clickable routes and support an optional hoverStyle. Route clicks and hover now use an internal hit area to enlarge the clickable surface and make route interaction more reliable.
|
|
21
|
+
|
|
22
|
+
- **Update** Polygon & Isoline Polygons and isolines now support click and hover interactions, including automatic pointer cursors for clickable shapes and an optional hoverStyle for hover feedback such as highlighted outlines.
|
|
23
|
+
|
|
24
|
+
- **Update** Map performance Added marker icon caching for map markers and cluster markers, which avoids recreating identical marker icons, speeds up large marker sets, and can reduce memory usage by reusing shared DOM icon instances. Also added an optional zoom optimization to temporarily suppress marker pointer events during zoom interactions.
|
|
25
|
+
|
|
26
|
+
- **Fixed** useResizeObserver Fixed repeated state updates when ResizeObserver reported the same size, which could trigger render loops under certain conditions.
|
|
27
|
+
|
|
28
|
+
- **Fixed** routeUtils Fixed parseSorting to return the documented asc / desc sort direction values, so URL-based table sorting no longer resets after parsing in controlled integrations.
|
|
29
|
+
|
|
30
|
+
- **Fixed** Fixed incorrect:focus-visible outlines on text links in Chrome 147 after the browser changed how outline-width and outline-style are computed.
|
|
31
|
+
|
|
32
|
+
- **Fixed** InfoBubble Adjusted the HERE map InfoBubble to use the active theme font-family instead of HERE default font styles. Also added a new demo showing an InfoBubble opened from a POI map marker.
|
|
33
|
+
|
|
34
|
+
- **New** DayPicker Added a new composable DayPicker component for date inputs with dropdown calendar, custom triggers, sidebars, footers, presets, validation, and composed date/time workflows.
|
|
35
|
+
|
|
36
|
+
- **New** DayPickerCalendar Added a new standalone DayPickerCalendar component for embedded calendar use cases, including single, multiple, and range selection plus custom modifiers and day content.
|
|
37
|
+
|
|
38
|
+
- **New** Table Added a new declarative Table component with compound subcomponents for headers, rows, cells, footers, grouped sticky rows, expandable rows, selection, sortable and resizable columns, column filters, disabled rows, row animations, and responsive card views.
|
|
39
|
+
|
|
40
|
+
- **New** TableToolbar Added the new compound TableToolbarColumn API for declarative toolbar layouts with automatic left/right grouping via alignment, optional label and separator, plus per-column className support. Existing manual toolbar markup remains supported.
|
|
41
|
+
|
|
42
|
+
- **Update** TableViewToggles Redesigned TableViewToggles to use a Select-based view switcher instead of the former toggle button group. Added dedicated label props for the dropdown items, while the older tooltip props are now deprecated and only kept as a fallback for item labels.
|
|
43
|
+
|
|
44
|
+
- **Update** LoadMoreButton Added the new hideOnPrint prop, defaulting to true.
|
|
45
|
+
|
|
46
|
+
- **New** AnalyticsAnalysisOverlay Added a new AnalyticsAnalysisOverlay component to visualize tracked elements on the page using uploaded analytics CSV data.
|
|
47
|
+
|
|
48
|
+
- **New** googleAnalyticsUtils Added a new Utilities helper demo page for googleAnalyticsUtils with examples for getTrackingAttributes.
|
|
49
|
+
|
|
50
|
+
- **Update** Button Added support for automatic GA tracking attributes via the new autoTrackingKey prop.
|
|
51
|
+
|
|
52
|
+
- **Update** ExpanderPanel Added support for tracking attributes on panel headers, so getTrackingAttributes will be passed directly to ExpanderPanel.
|
|
53
|
+
|
|
54
|
+
- **Update** ExpanderList Added support for tracking attributes on expander item, so getTrackingAttributes will be passed directly to ExpanderListItemHeader.
|
|
55
|
+
|
|
56
|
+
- **New** New icons rioglyph- big-bag rioglyph- bulk-container rioglyph- coil rioglyph- roll-container rioglyph- shelve-empty rioglyph- stillage
|
|
57
|
+
|
|
58
|
+
## Version 2.2.1 (2026-03-06)
|
|
9
59
|
|
|
10
60
|
- **Fixed** TableSettingsDialog Fixed the TableSettingsDialog to prevent an endless loop under certain conditions.
|
|
11
61
|
|
|
@@ -663,7 +713,7 @@
|
|
|
663
713
|
|
|
664
714
|
- **breaking** Split SortArrows, SortArrowUp, and SortArrowDown in dedicated components. Change imports to default imports.
|
|
665
715
|
|
|
666
|
-
- **Removed** useResizeObserver The "Observer Entry" object may now be null, so it can't reliably be destructured anymore. This doesn't work anymore: const [ ref, { borderBoxSize } ] = useResizeObserver ( ); console. log ( borderBoxSize ); Update your code like so: const [ ref, observerEntry ] = useResizeObserver ( ); console. log ( observerEntry ?. borderBoxSize ); Also, an option to specify the HTML element type of the generated ref was added (defaults
|
|
716
|
+
- **Removed** useResizeObserver The "Observer Entry" object may now be null, so it can't reliably be destructured anymore. This doesn't work anymore: const [ ref, { borderBoxSize } ] = useResizeObserver ( ); console. log ( borderBoxSize ); Update your code like so: const [ ref, observerEntry ] = useResizeObserver ( ); console. log ( observerEntry ?. borderBoxSize ); Also, an option to specify the HTML element type of the generated ref was added (defaults to div).
|
|
667
717
|
|
|
668
718
|
- **Fixed** Blockquote Change default blockquote padding from percentage to pixel. Please add custom padding classes to change it to your needs.
|
|
669
719
|
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/goodtoknow
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.060Z
|
|
7
7
|
|
|
8
8
|
## Good to know
|
|
9
9
|
|
|
10
10
|
## IntelliSense for CSS class names in HTML
|
|
11
11
|
|
|
12
|
-
## CSS Hyphens
|
|
13
|
-
|
|
14
|
-
> Note: Hyphens is language-sensitive. Its ability to find break opportunities depends on the language, defined in the lang attribute of a html element. Not all languages are supported yet, and support depends on the specific browser.
|
|
12
|
+
## CSS Hyphens
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/color-combinations
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.905Z
|
|
7
7
|
|
|
8
8
|
For accessibility purposes, aim for a good color contrast between the foreground color (e.g. text, links, etc.) and the background color. This contrast ensures people with moderately low vision can tell the colors apart and see your content.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/custom-css
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.953Z
|
|
7
7
|
|
|
8
8
|
Maintaining CSS will become harder over time due to various reasons like growing amount of styles, old and unknown overwrites, exchange of Team members etc.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/custom-rioglyph
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:31.025Z
|
|
7
7
|
|
|
8
8
|
To use a custom Rioglyph icon, there are two different approaches:
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/formatting
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:32.590Z
|
|
7
7
|
|
|
8
8
|
Having a common date formatting guide is crucial to ensure consistency, clarity, and accuracy in documentation, making it easier to understand and interpret dates correctly across different contexts.
|
|
9
9
|
|
|
@@ -529,8 +529,6 @@ Here's an example of the correct usage:
|
|
|
529
529
|
|
|
530
530
|
The unit symbol should always be in lowercase and a space should be used between the number and the unit symbol
|
|
531
531
|
|
|
532
|
-
> Note: When formatting durations in a short format, ReactIntl does not follow the more common style defined in the section "Format durations" especially for locales like de-DE. In this case we need to combine the FormattedNumber with a custom unit.
|
|
533
|
-
|
|
534
532
|
```jsx
|
|
535
533
|
<FormattedNumber value={2} />h <FormattedNumber value={45} />min
|
|
536
534
|
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/iframe
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:32.365Z
|
|
7
7
|
|
|
8
8
|
Web applications can embed smaller SPAs as widgets using an <iframe> to enrich it's functionality provided by other services and teams. This page explains what the parent application (host) and the child application (widget) must do to ensure correct styling, sizing, and communication.
|
|
9
9
|
|
|
@@ -117,7 +117,7 @@ export default IFrameWidgetExample;
|
|
|
117
117
|
```html
|
|
118
118
|
<div class="display-flex justify-content-center">
|
|
119
119
|
<div class="iframe-wrapper width-400">
|
|
120
|
-
<iframe title="iframe" src="https://menu.rio.cloud" id="iFrameResizer0" scrolling="no" style="overflow: hidden;">
|
|
120
|
+
<iframe title="iframe" src="https://menu.rio.cloud" id="iFrameResizer0" scrolling="no" style="overflow: hidden; height: 250px;">
|
|
121
121
|
</iframe>
|
|
122
122
|
</div>
|
|
123
123
|
</div>
|
|
@@ -243,24 +243,22 @@ import IframeResizer from 'iframe-resizer-react';
|
|
|
243
243
|
import FrameDialog from '@rio-cloud/rio-uikit/FrameDialog';
|
|
244
244
|
import { PREFIX } from '../../../widgets/WidgetDemo';
|
|
245
245
|
|
|
246
|
-
const IFrameWidgetExample = React.memo(() =>
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
<
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
style={{ width: '1px', minWidth: '100%' }}
|
|
255
|
-
/>
|
|
256
|
-
</div>
|
|
257
|
-
<FrameDialog
|
|
258
|
-
eventPrefix={PREFIX}
|
|
259
|
-
getSourceFrame={() => document.getElementById('widgetDialogFrame') as HTMLIFrameElement}
|
|
246
|
+
const IFrameWidgetExample = React.memo(() => (
|
|
247
|
+
<>
|
|
248
|
+
<div className='iframe-wrapper'>
|
|
249
|
+
<IframeResizer
|
|
250
|
+
id='widgetDialogFrame'
|
|
251
|
+
src={`${window.location.origin}${window.location.pathname}#widgetDemo`}
|
|
252
|
+
className='unstyled width-100pct'
|
|
253
|
+
style={{ width: '1px', minWidth: '100%' }}
|
|
260
254
|
/>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
255
|
+
</div>
|
|
256
|
+
<FrameDialog
|
|
257
|
+
eventPrefix={PREFIX}
|
|
258
|
+
getSourceFrame={() => document.getElementById('widgetDialogFrame') as HTMLIFrameElement}
|
|
259
|
+
/>
|
|
260
|
+
</>
|
|
261
|
+
));
|
|
264
262
|
|
|
265
263
|
export default IFrameWidgetExample;
|
|
266
264
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/obfuscate-data
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:31.710Z
|
|
7
7
|
|
|
8
8
|
This demo demonstrates how sensitive data marked with the data-pii="visible" attribute can be obfuscated directly in the frontend.
|
|
9
9
|
|
|
@@ -25,6 +25,4 @@ Dynamically added elements will immediately be obfuscated as long as the HTML at
|
|
|
25
25
|
|
|
26
26
|
- Debug or demo environments, where you want realistic data structure but no real identities.
|
|
27
27
|
- Screenshot or recording safety, ensuring you don’t leak PII in support sessions or analytics.
|
|
28
|
-
- QA/testing, to verify UI behavior without showing live customer data.
|
|
29
|
-
|
|
30
|
-
> Tip: Use the "Load more" button to dynamically reveal additional obfuscated employees.
|
|
28
|
+
- QA/testing, to verify UI behavior without showing live customer data.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/print-css
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:31.712Z
|
|
7
7
|
|
|
8
8
|
The UIKIT supports simple print stylings in order to have printable content. Those print styles are supposed to do basic printing and should not replace server side PDF`s.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/spinner
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:33.710Z
|
|
7
7
|
|
|
8
8
|
There are various approaches when it comes to loading data and showing the user the different stages of the loading process.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/state-in-url
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.762Z
|
|
7
7
|
|
|
8
8
|
Every service frontend should support deep linking and reflect meaningful UI state in the URL. This enables restoring state when links are shared, when they are stored as bookmarks, when users navigate with browser history, or when a service is opened from another app.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/guidelines/writing
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:32.545Z
|
|
7
7
|
|
|
8
8
|
UX writing doesn't receive as much attention as it should. In the past, digital experiences featured words written by different individuals - ranging from designers to engineers — at various times and in diverse styles, all without a centralized guide.
|
|
9
9
|
|
package/dist/docs/start/howto.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Welcome
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/howto
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:29.881Z
|
|
7
7
|
|
|
8
8
|
Install the latest version of the UIKIT (that includes latest beta versions as well) via
|
|
9
9
|
|
|
@@ -33,15 +33,13 @@ npm install @rio-cloud/rio-uikit
|
|
|
33
33
|
Or install a dedicated version via
|
|
34
34
|
|
|
35
35
|
```javascript
|
|
36
|
-
npm install @rio-cloud/rio-uikit@2.
|
|
36
|
+
npm install @rio-cloud/rio-uikit@2.3.0
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## TypeScript
|
|
40
40
|
|
|
41
41
|
The UIKIT is built with TypeScript and defines the types inside the components.
|
|
42
42
|
|
|
43
|
-
> Note: Do not import types from the ./types.ts file directly as this is an internal file and subject to change. Import enums, constants and types from the declaration file together with the component.
|
|
44
|
-
|
|
45
43
|
```javascript
|
|
46
44
|
import AutoSuggest, { type AutoSuggestSuggestion } from "@rio-cloud/rio-uikit/AutoSuggest";
|
|
47
45
|
import Select, { type SelectOption } from "@rio-cloud/rio-uikit/Select";
|
|
@@ -72,24 +70,20 @@ By specifying the initial scale and width, this tag guarantees that your content
|
|
|
72
70
|
|
|
73
71
|
## UIKIT CSS
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
**Managed**
|
|
76
74
|
|
|
77
75
|
When utilizing the ApplicationLayout component, the UIKIT automatically ensures the inclusion of the necessary CSS style tag within your index.html, providing seamless integration and enhanced functionality.
|
|
78
76
|
|
|
79
77
|
You no longer need to manually add the CSS style tag to your index.html. Feel free to remove it if you prefer to manage it yourself.
|
|
80
78
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
ManualNot Recommended
|
|
79
|
+
**Manual**
|
|
84
80
|
|
|
85
81
|
Use the CSS Stylesheet as follows (specify your required version number in the URL) if you need more control on what style you want to use.
|
|
86
82
|
|
|
87
83
|
```html
|
|
88
|
-
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.
|
|
84
|
+
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.3.0/rio-uikit.css">
|
|
89
85
|
```
|
|
90
86
|
|
|
91
|
-
> Note: Please make sure to use the same UIKIT style version as the npm package, otherwise this will lead to inconsistency and UI bugs.
|
|
92
|
-
|
|
93
87
|
## Brand themes
|
|
94
88
|
|
|
95
89
|
In addition to the RIO theme, the UIKIT offers other brand-specific themes.
|
|
@@ -99,18 +93,18 @@ These other themes may only be used for applications or services who don't run o
|
|
|
99
93
|
In order to use such a brand theme, modify the URL in the <link> tag that loads the CSS
|
|
100
94
|
|
|
101
95
|
```html
|
|
102
|
-
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.
|
|
96
|
+
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.3.0/vw-uikit.css">
|
|
103
97
|
```
|
|
104
98
|
|
|
105
99
|
```html
|
|
106
|
-
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.
|
|
100
|
+
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.3.0/man-uikit.css">
|
|
107
101
|
```
|
|
108
102
|
|
|
109
103
|
```html
|
|
110
|
-
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.
|
|
104
|
+
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.3.0/scania-uikit.css">
|
|
111
105
|
```
|
|
112
106
|
|
|
113
|
-
|
|
107
|
+
**Managed**
|
|
114
108
|
|
|
115
109
|
You can simply omit the <link> tag in your index.html altogether. The UIKIT will automatically load the correct CSS file for you.
|
|
116
110
|
|
|
@@ -131,7 +125,7 @@ You can simply omit the <link> tag in your index.html altogether. The UIKI
|
|
|
131
125
|
The UIKIT supports simple print stylings in order to have printable content. See Print CSS
|
|
132
126
|
|
|
133
127
|
```html
|
|
134
|
-
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.
|
|
128
|
+
<link rel="stylesheet" type="text/css" href="https://uikit.developers.rio.cloud/2.3.0/rio-uikit-print-utilities.css">
|
|
135
129
|
```
|
|
136
130
|
|
|
137
131
|
## Additional styling information
|
|
@@ -139,15 +133,13 @@ The UIKIT supports simple print stylings in order to have printable content. See
|
|
|
139
133
|
In some cases like using D3 you may need the color variables as .json from the UIKIT provided via CDN. You can fetch the provided file from CDN via the following URL:
|
|
140
134
|
|
|
141
135
|
```html
|
|
142
|
-
https://uikit.developers.rio.cloud/2.
|
|
136
|
+
https://uikit.developers.rio.cloud/2.3.0/rio-uikit-colors.json
|
|
143
137
|
```
|
|
144
138
|
|
|
145
139
|
## Dark mode
|
|
146
140
|
|
|
147
141
|
The UIKIT is fully dark mode ready.
|
|
148
142
|
|
|
149
|
-
> Note: Please note that every application and every widget must be wrapped with the <ApplicationLayout /> as it executes our init function.
|
|
150
|
-
|
|
151
143
|
```jsx
|
|
152
144
|
<ApplicationLayout>
|
|
153
145
|
<ApplicationLayout.Header>
|
|
@@ -168,7 +160,7 @@ The UIKIT is fully dark mode ready.
|
|
|
168
160
|
In cases where the React ApplicationLayout component cannot be used, you can import the new darkmode.js from the UIKIT CDN and add it to your index.html. This script will take care of listening to the theme switch for you.
|
|
169
161
|
|
|
170
162
|
```html
|
|
171
|
-
<script src="https://uikit.developers.rio.cloud/2.
|
|
163
|
+
<script src="https://uikit.developers.rio.cloud/2.3.0/rio-darkmode.js"></script>
|
|
172
164
|
```
|
|
173
165
|
|
|
174
166
|
If you want to react on the dark mode for instance to exchange some images or apply some specific utility classes, you can use the custom hook useDarkMode to do so.
|
package/dist/docs/start/intro.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Welcome
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/intro
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.100Z
|
|
7
7
|
|
|
8
8
|
Welcome! This UI library is designed to help you build beautiful, consistent, and maintainable user interfaces with minimal effort. Here’s how you can make the most of it:
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Getting started
|
|
4
4
|
*Section:* Guidelines
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/start/responsiveness
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-04-20T12:53:30.067Z
|
|
7
7
|
|
|
8
8
|
The UIKIT considers all platforms — both desktop and mobile. We recognize that people work across many different products and often need to support multiple platforms and the UIKIT is a foundation for that with its many responsive building blocks and responsive components.
|
|
9
9
|
|
|
@@ -83,8 +83,6 @@ In this example:
|
|
|
83
83
|
- It switches to a row layout when the container is at least 600px wide.
|
|
84
84
|
- Padding is also conditionally applied based on container size.
|
|
85
85
|
|
|
86
|
-
> Note: Make sure the container element has cq-container applied, as it sets up the container context required for the styles to react correctly.
|
|
87
|
-
|
|
88
86
|
## Device utils
|
|
89
87
|
|
|
90
88
|
We also offer a set of device utility functions such as hasTouch, isMobile, and isDesktop. This allows to hide or show elements for mobile or to switch settings for some components how to behave. For instance, you might want to show the table card view when a page is rendered on mobile. Or you might want to expand or collapse information depending on your device.
|