@rio-cloud/uikit-mcp 1.1.10 → 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 +90 -90
- package/dist/docs/components/accentBar.md +1 -1
- package/dist/docs/components/activity.md +1 -1
- package/dist/docs/components/analyticsAnalysisOverlay.md +3 -1
- package/dist/docs/components/animatedNumber.md +1 -1
- package/dist/docs/components/animatedTextReveal.md +6 -6
- package/dist/docs/components/animations.md +22 -22
- package/dist/docs/components/appHeader.md +1 -1
- package/dist/docs/components/appLayout.md +27 -77
- package/dist/docs/components/appNavigationBar.md +1 -1
- package/dist/docs/components/areaCharts.md +7 -5
- package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
- package/dist/docs/components/assetTree.md +418 -364
- 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 +4 -2
- package/dist/docs/components/barList.md +10 -10
- package/dist/docs/components/basicMap.md +45 -1
- package/dist/docs/components/bottomSheet.md +1 -1
- package/dist/docs/components/button.md +1 -1
- package/dist/docs/components/buttonToolbar.md +1 -1
- package/dist/docs/components/calendarStripe.md +39 -35
- package/dist/docs/components/card.md +1 -1
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +3 -1
- package/dist/docs/components/chartsGettingStarted.md +3 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +3 -1
- package/dist/docs/components/circularProgress.md +8 -8
- package/dist/docs/components/clearableInput.md +1 -1
- package/dist/docs/components/collapse.md +4 -2
- package/dist/docs/components/composedCharts.md +17 -15
- package/dist/docs/components/contentLoader.md +1 -1
- package/dist/docs/components/dataTabs.md +1 -1
- package/dist/docs/components/datepickers.md +30 -28
- package/dist/docs/components/dayPicker.md +52 -2
- package/dist/docs/components/dayPickerCalendar.md +44 -24
- package/dist/docs/components/dialogs.md +1 -1
- package/dist/docs/components/divider.md +1 -1
- package/dist/docs/components/dropdowns.md +3253 -3241
- package/dist/docs/components/editableContent.md +1 -1
- package/dist/docs/components/expander.md +1 -1
- package/dist/docs/components/fade.md +1 -1
- package/dist/docs/components/fadeExpander.md +1 -1
- package/dist/docs/components/fadeUp.md +2 -2
- package/dist/docs/components/feedback.md +1 -1
- package/dist/docs/components/filePickers.md +1 -1
- package/dist/docs/components/formLabel.md +1 -1
- package/dist/docs/components/groupedItemList.md +1 -1
- package/dist/docs/components/htmlTable.md +69 -69
- 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 +5 -3
- package/dist/docs/components/listMenu.md +1 -1
- package/dist/docs/components/loadMore.md +1 -1
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +3 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +39 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +3 -1
- package/dist/docs/components/mapPolygon.md +1 -1
- package/dist/docs/components/mapRoute.md +1 -1
- package/dist/docs/components/mapSettings.md +6 -1
- package/dist/docs/components/mapUtils.md +1 -1
- package/dist/docs/components/mapViewportHistory.md +287 -0
- package/dist/docs/components/multiselects.md +7 -1
- package/dist/docs/components/noData.md +1 -1
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +1 -1
- 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 +38 -36
- package/dist/docs/components/popover.md +1 -1
- package/dist/docs/components/position.md +1 -1
- package/dist/docs/components/radialBarCharts.md +27 -25
- package/dist/docs/components/radioCardGroup.md +1 -1
- package/dist/docs/components/radiobutton.md +3 -1
- package/dist/docs/components/releaseNotes.md +1 -1
- package/dist/docs/components/resizer.md +3 -1
- package/dist/docs/components/responsiveColumnStripe.md +3 -1
- package/dist/docs/components/responsiveVideo.md +1 -1
- package/dist/docs/components/rioglyph.md +1 -1
- package/dist/docs/components/rules.md +1 -1
- package/dist/docs/components/saveableInput.md +17 -17
- package/dist/docs/components/selects.md +168 -51
- package/dist/docs/components/sidebar.md +1 -1
- package/dist/docs/components/sliders.md +1 -1
- package/dist/docs/components/smoothScrollbars.md +3 -1
- 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 +1 -1
- 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 +1998 -221
- package/dist/docs/components/tableControls.md +5 -5
- package/dist/docs/components/tagManager.md +1 -1
- package/dist/docs/components/tags.md +1 -1
- package/dist/docs/components/teaser.md +3 -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 +1 -1
- package/dist/docs/components/tooltip.md +5 -1
- package/dist/docs/components/tracker.md +1 -1
- package/dist/docs/components/virtualList.md +57 -57
- package/dist/docs/foundations.md +276 -110
- package/dist/docs/start/changelog.md +21 -1
- package/dist/docs/start/goodtoknow.md +8 -2
- 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 +2256 -249
- package/dist/docs/start/guidelines/iframe.md +37 -1
- package/dist/docs/start/guidelines/obfuscate-data.md +26 -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 +160 -10
- package/dist/docs/start/intro.md +40 -2
- package/dist/docs/start/responsiveness.md +29 -1
- package/dist/docs/templates/ai-assistant.md +1 -1
- package/dist/docs/templates/common-table.md +9 -9
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +37 -37
- package/dist/docs/templates/form-summary.md +15 -15
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +135 -135
- package/dist/docs/templates/loading-progress.md +1 -1
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +18 -18
- package/dist/docs/templates/stats-blocks.md +12 -12
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/classNames.md +89 -1
- package/dist/docs/utilities/deviceUtils.md +1 -1
- package/dist/docs/utilities/featureToggles.md +182 -2
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/getTrackingAttributes.md +46 -1
- package/dist/docs/utilities/routeUtils.md +210 -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 +1 -1
- package/dist/docs/utilities/useDebugInfo.md +3 -3
- package/dist/docs/utilities/useDraggableElement.md +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +111 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useRioCookieConsent.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSearchHighlight.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +61 -61
- package/dist/docs/utilities/useTableSelection.md +72 -72
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Templates
|
|
4
4
|
*Section:* Forms
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/templates/settings-form
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:24.128Z
|
|
7
7
|
|
|
8
8
|
## Form blocks
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ This name will appear on your team profile page
|
|
|
15
15
|
About the team
|
|
16
16
|
Write a short summary about your organization or group (max 240 characters).
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Multi-tiered local attitude
|
|
19
19
|
|
|
20
20
|
Company email
|
|
21
21
|
Your contact email address for customer communication
|
|
@@ -25,11 +25,11 @@ Display email on team page
|
|
|
25
25
|
Office location
|
|
26
26
|
Primary business address used for official correspondence
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Texas Texas
|
|
29
|
+
Illinois
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Mauritania Mauritania
|
|
32
|
+
Grenada
|
|
33
33
|
|
|
34
34
|
Preferred currency
|
|
35
35
|
All pricing and payouts will be shown in this currency
|
|
@@ -194,7 +194,7 @@ export default () => (
|
|
|
194
194
|
</div>
|
|
195
195
|
<div class="form-group">
|
|
196
196
|
<div class="ClearableInput input-group">
|
|
197
|
-
<input class="form-control withClearButton" type="text" tabindex="0" value="
|
|
197
|
+
<input class="form-control withClearButton" type="text" tabindex="0" value="Lubowitz, Ondricka and Conn">
|
|
198
198
|
<span class="clearButton">
|
|
199
199
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
200
200
|
</span>
|
|
@@ -214,7 +214,7 @@ export default () => (
|
|
|
214
214
|
<p class="text-wrap-balance text-color-dark">Write a short summary about your organization or group (max 240 characters).</p>
|
|
215
215
|
</div>
|
|
216
216
|
<div class="form-group">
|
|
217
|
-
<textarea class="form-control" rows="4">
|
|
217
|
+
<textarea class="form-control" rows="4">Multi-tiered local attitude</textarea>
|
|
218
218
|
</div>
|
|
219
219
|
</section>
|
|
220
220
|
<div class="grid-colspan-2">
|
|
@@ -230,7 +230,7 @@ export default () => (
|
|
|
230
230
|
</div>
|
|
231
231
|
<div class="form-group">
|
|
232
232
|
<div class="ClearableInput input-group">
|
|
233
|
-
<input class="form-control withClearButton" type="email" tabindex="0" value="
|
|
233
|
+
<input class="form-control withClearButton" type="email" tabindex="0" value="Marjory_Bogan1@gmail.com">
|
|
234
234
|
<span class="clearButton">
|
|
235
235
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
236
236
|
</span>
|
|
@@ -257,14 +257,14 @@ export default () => (
|
|
|
257
257
|
</div>
|
|
258
258
|
<div class="form-group display-flex flex-column gap-15">
|
|
259
259
|
<div class="ClearableInput input-group">
|
|
260
|
-
<input placeholder="Street address" class="form-control withClearButton" type="text" tabindex="0" value="
|
|
260
|
+
<input placeholder="Street address" class="form-control withClearButton" type="text" tabindex="0" value="456 Lehner Extension">
|
|
261
261
|
<span class="clearButton">
|
|
262
262
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
263
263
|
</span>
|
|
264
264
|
</span>
|
|
265
265
|
</div>
|
|
266
266
|
<div class="ClearableInput input-group">
|
|
267
|
-
<input placeholder="City" class="form-control withClearButton" type="text" tabindex="0" value="
|
|
267
|
+
<input placeholder="City" class="form-control withClearButton" type="text" tabindex="0" value="West Sadieborough">
|
|
268
268
|
<span class="clearButton">
|
|
269
269
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
270
270
|
</span>
|
|
@@ -273,7 +273,7 @@ export default () => (
|
|
|
273
273
|
<div class="display-flex gap-15">
|
|
274
274
|
<div class="select dropdown dropup">
|
|
275
275
|
<button type="button" class="dropdown-toggle form-control text-left" data-toggle="dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
|
|
276
|
-
<span class="selected-option-text">
|
|
276
|
+
<span class="selected-option-text">Texas</span>
|
|
277
277
|
<span class="select-toggle-actions">
|
|
278
278
|
<span class="clearButton hide pointer-events-none">
|
|
279
279
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
@@ -286,20 +286,20 @@ export default () => (
|
|
|
286
286
|
<ul class="dropdown-menu" role="menu">
|
|
287
287
|
<li class="" role="listitem">
|
|
288
288
|
<a role="menuitem" class="display-flex align-items-center gap-3" data-item-id="1" data-item-index="0">
|
|
289
|
-
<span class="selected-option-dropdown-item">
|
|
289
|
+
<span class="selected-option-dropdown-item">Texas</span>
|
|
290
290
|
<input type="hidden" value="1">
|
|
291
291
|
</a>
|
|
292
292
|
</li>
|
|
293
293
|
<li class="" role="listitem">
|
|
294
294
|
<a role="menuitem" class="display-flex align-items-center gap-3" data-item-id="2" data-item-index="1">
|
|
295
|
-
<span class="selected-option-dropdown-item">
|
|
295
|
+
<span class="selected-option-dropdown-item">Illinois</span>
|
|
296
296
|
<input type="hidden" value="2">
|
|
297
297
|
</a>
|
|
298
298
|
</li>
|
|
299
299
|
</ul>
|
|
300
300
|
</div>
|
|
301
301
|
<div class="ClearableInput input-group">
|
|
302
|
-
<input placeholder="Zip code" class="form-control withClearButton" type="text" tabindex="0" value="
|
|
302
|
+
<input placeholder="Zip code" class="form-control withClearButton" type="text" tabindex="0" value="35339">
|
|
303
303
|
<span class="clearButton">
|
|
304
304
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
305
305
|
</span>
|
|
@@ -308,7 +308,7 @@ export default () => (
|
|
|
308
308
|
</div>
|
|
309
309
|
<div class="select dropdown dropup">
|
|
310
310
|
<button type="button" class="dropdown-toggle form-control text-left" data-toggle="dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
|
|
311
|
-
<span class="selected-option-text">
|
|
311
|
+
<span class="selected-option-text">Mauritania</span>
|
|
312
312
|
<span class="select-toggle-actions">
|
|
313
313
|
<span class="clearButton hide pointer-events-none">
|
|
314
314
|
<span class="clearButtonIcon rioglyph rioglyph-remove-sign">
|
|
@@ -321,13 +321,13 @@ export default () => (
|
|
|
321
321
|
<ul class="dropdown-menu" role="menu">
|
|
322
322
|
<li class="" role="listitem">
|
|
323
323
|
<a role="menuitem" class="display-flex align-items-center gap-3" data-item-id="1" data-item-index="0">
|
|
324
|
-
<span class="selected-option-dropdown-item">
|
|
324
|
+
<span class="selected-option-dropdown-item">Mauritania</span>
|
|
325
325
|
<input type="hidden" value="1">
|
|
326
326
|
</a>
|
|
327
327
|
</li>
|
|
328
328
|
<li class="" role="listitem">
|
|
329
329
|
<a role="menuitem" class="display-flex align-items-center gap-3" data-item-id="2" data-item-index="1">
|
|
330
|
-
<span class="selected-option-dropdown-item">
|
|
330
|
+
<span class="selected-option-dropdown-item">Grenada</span>
|
|
331
331
|
<input type="hidden" value="2">
|
|
332
332
|
</a>
|
|
333
333
|
</li>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Templates
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/templates/stats-blocks
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:26.924Z
|
|
7
7
|
|
|
8
8
|
## Stats blocks
|
|
9
9
|
|
|
@@ -13,22 +13,22 @@ Stats page
|
|
|
13
13
|
Overview of your supply chain operations
|
|
14
14
|
|
|
15
15
|
Total inventory
|
|
16
|
-
|
|
16
|
+
1574 units
|
|
17
17
|
|
|
18
18
|
12% from last month
|
|
19
19
|
|
|
20
20
|
Open orders
|
|
21
|
-
|
|
21
|
+
48
|
|
22
22
|
|
|
23
23
|
5% from last month
|
|
24
24
|
|
|
25
25
|
In transit
|
|
26
|
-
|
|
26
|
+
19
|
|
27
27
|
|
|
28
28
|
-3% from last month
|
|
29
29
|
|
|
30
30
|
Issues
|
|
31
|
-
|
|
31
|
+
3
|
|
32
32
|
|
|
33
33
|
#### React (tsx)
|
|
34
34
|
|
|
@@ -145,7 +145,7 @@ export default () => {
|
|
|
145
145
|
</div>
|
|
146
146
|
<div>
|
|
147
147
|
<div class="text-color-dark">Total inventory</div>
|
|
148
|
-
<div class="text-size-h3 text-color-darkest line-height-125rel">
|
|
148
|
+
<div class="text-size-h3 text-color-darkest line-height-125rel">1574 units</div>
|
|
149
149
|
</div>
|
|
150
150
|
</div>
|
|
151
151
|
<div class="text-size-12 padding-x-20 padding-y-10 bg-lightest rounded-bottom display-flex gap-5">
|
|
@@ -163,7 +163,7 @@ export default () => {
|
|
|
163
163
|
</div>
|
|
164
164
|
<div>
|
|
165
165
|
<div class="text-color-dark">Open orders</div>
|
|
166
|
-
<div class="text-size-h3 text-color-darkest line-height-125rel">
|
|
166
|
+
<div class="text-size-h3 text-color-darkest line-height-125rel">48</div>
|
|
167
167
|
</div>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="text-size-12 padding-x-20 padding-y-10 bg-lightest rounded-bottom display-flex gap-5">
|
|
@@ -181,7 +181,7 @@ export default () => {
|
|
|
181
181
|
</div>
|
|
182
182
|
<div>
|
|
183
183
|
<div class="text-color-dark">In transit</div>
|
|
184
|
-
<div class="text-size-h3 text-color-darkest line-height-125rel">
|
|
184
|
+
<div class="text-size-h3 text-color-darkest line-height-125rel">19</div>
|
|
185
185
|
</div>
|
|
186
186
|
</div>
|
|
187
187
|
<div class="text-size-12 padding-x-20 padding-y-10 bg-lightest rounded-bottom display-flex gap-5">
|
|
@@ -199,7 +199,7 @@ export default () => {
|
|
|
199
199
|
</div>
|
|
200
200
|
<div>
|
|
201
201
|
<div class="text-color-dark">Issues</div>
|
|
202
|
-
<div class="text-size-h3 text-color-darkest line-height-125rel">
|
|
202
|
+
<div class="text-size-h3 text-color-darkest line-height-125rel">3</div>
|
|
203
203
|
</div>
|
|
204
204
|
</div>
|
|
205
205
|
</div>
|
|
@@ -907,7 +907,7 @@ const getStatusColor = (status: string) => {
|
|
|
907
907
|
<div class="text-medium text-size-16">Lorem ipsum dolor</div>
|
|
908
908
|
<div>
|
|
909
909
|
<div class="dropdown btn-group">
|
|
910
|
-
<button type="button" id="
|
|
910
|
+
<button type="button" id="ablnjzhk1z" class="btn btn-muted btn-md btn-icon-only btn-component dropdown-toggle" tabindex="0">
|
|
911
911
|
<span class="rioglyph rioglyph-option-horizontal" aria-hidden="true">
|
|
912
912
|
</span>
|
|
913
913
|
</button>
|
|
@@ -1106,7 +1106,7 @@ const getStatusColor = (status: string) => {
|
|
|
1106
1106
|
</div>
|
|
1107
1107
|
<div>
|
|
1108
1108
|
<div class="dropdown btn-group">
|
|
1109
|
-
<button type="button" id="
|
|
1109
|
+
<button type="button" id="6mmn1pdjo9s" class="btn btn-muted btn-md btn-icon-only btn-component dropdown-toggle" tabindex="0">
|
|
1110
1110
|
<span class="rioglyph rioglyph-option-horizontal" aria-hidden="true">
|
|
1111
1111
|
</span>
|
|
1112
1112
|
</button>
|
|
@@ -1174,7 +1174,7 @@ const getStatusColor = (status: string) => {
|
|
|
1174
1174
|
</div>
|
|
1175
1175
|
<div>
|
|
1176
1176
|
<div class="dropdown btn-group">
|
|
1177
|
-
<button type="button" id="
|
|
1177
|
+
<button type="button" id="z74oenueisl" class="btn btn-muted btn-md btn-icon-only btn-component dropdown-toggle" tabindex="0">
|
|
1178
1178
|
<span class="rioglyph rioglyph-option-horizontal" aria-hidden="true">
|
|
1179
1179
|
</span>
|
|
1180
1180
|
</button>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Utilities
|
|
4
4
|
*Section:* Helper
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/utilities/classNames
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:28.428Z
|
|
7
7
|
|
|
8
8
|
Small utility for composing CSS classes from optional string arguments. It keeps the common case readable without adding third-party runtime behavior.
|
|
9
9
|
|
|
@@ -15,16 +15,104 @@ Use it for patterns like: classNames('base-class', isActive && 'active', classNa
|
|
|
15
15
|
|
|
16
16
|
The old third-party classnames API also supported object-based syntax where object keys became class names. This worked, but it was harder to read and unnecessarily complex because the class name lived in the object key instead of being a direct argument.
|
|
17
17
|
|
|
18
|
+
Old classnames style (harder to read)
|
|
19
|
+
|
|
18
20
|
```tsx
|
|
19
21
|
classNames('base', { inverse: isInverse, double: isDoubleSized });
|
|
20
22
|
classNames('base', { 'cursor-pointer': clickable }, className);
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
classNames
|
|
26
|
+
|
|
27
|
+
(
|
|
28
|
+
|
|
29
|
+
'base'
|
|
30
|
+
|
|
31
|
+
,
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
|
|
35
|
+
:
|
|
36
|
+
|
|
37
|
+
,
|
|
38
|
+
|
|
39
|
+
:
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
;
|
|
46
|
+
|
|
47
|
+
classNames
|
|
48
|
+
|
|
49
|
+
(
|
|
50
|
+
|
|
51
|
+
'base'
|
|
52
|
+
|
|
53
|
+
,
|
|
54
|
+
|
|
55
|
+
{
|
|
56
|
+
|
|
57
|
+
'cursor-pointer'
|
|
58
|
+
|
|
59
|
+
:
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
,
|
|
64
|
+
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
;
|
|
68
|
+
|
|
69
|
+
New classNames API
|
|
70
|
+
|
|
23
71
|
```tsx
|
|
24
72
|
classNames('base', isInverse && 'inverse', isDoubleSized && 'double');
|
|
25
73
|
classNames('base', clickable && 'cursor-pointer', className);
|
|
26
74
|
```
|
|
27
75
|
|
|
76
|
+
classNames
|
|
77
|
+
|
|
78
|
+
(
|
|
79
|
+
|
|
80
|
+
'base'
|
|
81
|
+
|
|
82
|
+
,
|
|
83
|
+
|
|
84
|
+
&&
|
|
85
|
+
|
|
86
|
+
'inverse'
|
|
87
|
+
|
|
88
|
+
,
|
|
89
|
+
|
|
90
|
+
&&
|
|
91
|
+
|
|
92
|
+
'double'
|
|
93
|
+
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
;
|
|
97
|
+
|
|
98
|
+
classNames
|
|
99
|
+
|
|
100
|
+
(
|
|
101
|
+
|
|
102
|
+
'base'
|
|
103
|
+
|
|
104
|
+
,
|
|
105
|
+
|
|
106
|
+
&&
|
|
107
|
+
|
|
108
|
+
'cursor-pointer'
|
|
109
|
+
|
|
110
|
+
,
|
|
111
|
+
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
;
|
|
115
|
+
|
|
28
116
|
### Example: This class string is built from optional className arguments.
|
|
29
117
|
|
|
30
118
|
text-left text-center text-right Include optional border class
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Utilities
|
|
4
4
|
*Section:* Helper
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/utilities/deviceUtils
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:27.950Z
|
|
7
7
|
|
|
8
8
|
Set of utility functions which helps detecting certain devices or functionality.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Utilities
|
|
4
4
|
*Section:* Helper
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/utilities/featureToggles
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:29.244Z
|
|
7
7
|
|
|
8
8
|
URL-based feature toggles (also known as feature flags) are a powerful development technique that allows you to enable or disable features in your application dynamically, without deploying new code.
|
|
9
9
|
|
|
@@ -16,6 +16,10 @@ The feature toggle detection system in your application is designed to handle th
|
|
|
16
16
|
- URL Query Parameters Toggles can be passed through the URL as query parameters (e.g., ?ft_demo=true), allowing for easy testing or overriding of features without modifying code
|
|
17
17
|
- LocalStorage If a toggle is not present in the URL, the system falls back to using stored values in the browser's localStorage, ensuring that user preferences or feature states are preserved across sessions
|
|
18
18
|
|
|
19
|
+
Toggles can be passed through the URL as query parameters (e.g., ?ft_demo=true), allowing for easy testing or overriding of features without modifying code
|
|
20
|
+
|
|
21
|
+
If a toggle is not present in the URL, the system falls back to using stored values in the browser's localStorage, ensuring that user preferences or feature states are preserved across sessions
|
|
22
|
+
|
|
19
23
|
## Defining feature toggles
|
|
20
24
|
|
|
21
25
|
Feature toggles are defined in a centralized configuration map, with each toggle specifying its corresponding query parameter name, its data type (boolean, string, or number) and an optional default value. This allows you to easily configure new toggles.
|
|
@@ -47,6 +51,126 @@ oldToggles
|
|
|
47
51
|
);
|
|
48
52
|
```
|
|
49
53
|
|
|
54
|
+
import
|
|
55
|
+
|
|
56
|
+
{
|
|
57
|
+
|
|
58
|
+
,
|
|
59
|
+
|
|
60
|
+
,
|
|
61
|
+
|
|
62
|
+
,
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
from
|
|
67
|
+
|
|
68
|
+
'@rio-cloud/rio-uikit/urlFeatureToggles'
|
|
69
|
+
|
|
70
|
+
;
|
|
71
|
+
|
|
72
|
+
// Define old toggles to clean up
|
|
73
|
+
|
|
74
|
+
const
|
|
75
|
+
|
|
76
|
+
=
|
|
77
|
+
|
|
78
|
+
[
|
|
79
|
+
|
|
80
|
+
'ft_eventTeaser'
|
|
81
|
+
|
|
82
|
+
,
|
|
83
|
+
|
|
84
|
+
'ft_survey'
|
|
85
|
+
|
|
86
|
+
,
|
|
87
|
+
|
|
88
|
+
'ft_menu'
|
|
89
|
+
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
;
|
|
93
|
+
|
|
94
|
+
// Define toggle transformation functions with their respective names and
|
|
95
|
+
|
|
96
|
+
// export the detected feature toggles as a singleton
|
|
97
|
+
|
|
98
|
+
export
|
|
99
|
+
|
|
100
|
+
const
|
|
101
|
+
|
|
102
|
+
=
|
|
103
|
+
|
|
104
|
+
detectFeatureToggles
|
|
105
|
+
|
|
106
|
+
(
|
|
107
|
+
|
|
108
|
+
{
|
|
109
|
+
|
|
110
|
+
:
|
|
111
|
+
|
|
112
|
+
asString
|
|
113
|
+
|
|
114
|
+
(
|
|
115
|
+
|
|
116
|
+
'ft_enforceLocale'
|
|
117
|
+
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
,
|
|
121
|
+
|
|
122
|
+
:
|
|
123
|
+
|
|
124
|
+
asBoolean
|
|
125
|
+
|
|
126
|
+
(
|
|
127
|
+
|
|
128
|
+
'ft_tracing'
|
|
129
|
+
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
,
|
|
133
|
+
|
|
134
|
+
:
|
|
135
|
+
|
|
136
|
+
asBooleanWithDefault
|
|
137
|
+
|
|
138
|
+
(
|
|
139
|
+
|
|
140
|
+
'ft_demo'
|
|
141
|
+
|
|
142
|
+
,
|
|
143
|
+
|
|
144
|
+
false
|
|
145
|
+
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
,
|
|
149
|
+
|
|
150
|
+
:
|
|
151
|
+
|
|
152
|
+
asNumberWithDefault
|
|
153
|
+
|
|
154
|
+
(
|
|
155
|
+
|
|
156
|
+
'ft_maxItems'
|
|
157
|
+
|
|
158
|
+
,
|
|
159
|
+
|
|
160
|
+
10
|
|
161
|
+
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
,
|
|
165
|
+
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
,
|
|
169
|
+
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
;
|
|
173
|
+
|
|
50
174
|
**Default values**
|
|
51
175
|
|
|
52
176
|
For each type of transformer there is a *WithDefault variant. This function accepts a default value as second parameter. The default value is only returned if neither the query parameter nor the local storage contain a value for the feature toggle. A feature toggle with a default value will never be null. This fact is also reflected in the type of the feature toggle properties in the object returned by detectFeatureToggles.
|
|
@@ -63,6 +187,40 @@ oldToggles,
|
|
|
63
187
|
);
|
|
64
188
|
```
|
|
65
189
|
|
|
190
|
+
export
|
|
191
|
+
|
|
192
|
+
const
|
|
193
|
+
|
|
194
|
+
=
|
|
195
|
+
|
|
196
|
+
detectFeatureToggles
|
|
197
|
+
|
|
198
|
+
(
|
|
199
|
+
|
|
200
|
+
{
|
|
201
|
+
|
|
202
|
+
:
|
|
203
|
+
|
|
204
|
+
asBoolean
|
|
205
|
+
|
|
206
|
+
(
|
|
207
|
+
|
|
208
|
+
'ft_demo'
|
|
209
|
+
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
,
|
|
215
|
+
|
|
216
|
+
,
|
|
217
|
+
|
|
218
|
+
'myCustomPrefix.'
|
|
219
|
+
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
;
|
|
223
|
+
|
|
66
224
|
## Usage
|
|
67
225
|
|
|
68
226
|
Suppose you want to enable or disable a demo mode in your application. You can pass ?ft_demo=true in the URL or rely on the value previously stored in localStorage.
|
|
@@ -82,9 +240,31 @@ if (featureToggles.demo) {
|
|
|
82
240
|
}
|
|
83
241
|
```
|
|
84
242
|
|
|
243
|
+
if
|
|
244
|
+
|
|
245
|
+
(
|
|
246
|
+
|
|
247
|
+
.
|
|
248
|
+
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
{
|
|
252
|
+
|
|
253
|
+
// Render demo feature
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
85
257
|
## Benefits
|
|
86
258
|
|
|
87
259
|
- Flexibility This approach allows toggles to be easily overridden via URL for testing or debugging purposes without changing the codebase
|
|
88
260
|
- Persistence By leveraging localStorage, feature toggles persist across browser sessions, ensuring a consistent experience for users
|
|
89
261
|
- Type safety Type transformation functions (asBoolean, asString, asNumber) ensure that toggles are correctly interpreted based on the expected data type
|
|
90
|
-
- Clean state management Unused toggles can be cleaned up from localStorage, ensuring there is no unnecessary buildup of outdated data
|
|
262
|
+
- Clean state management Unused toggles can be cleaned up from localStorage, ensuring there is no unnecessary buildup of outdated data
|
|
263
|
+
|
|
264
|
+
This approach allows toggles to be easily overridden via URL for testing or debugging purposes without changing the codebase
|
|
265
|
+
|
|
266
|
+
By leveraging localStorage, feature toggles persist across browser sessions, ensuring a consistent experience for users
|
|
267
|
+
|
|
268
|
+
Type transformation functions (asBoolean, asString, asNumber) ensure that toggles are correctly interpreted based on the expected data type
|
|
269
|
+
|
|
270
|
+
Unused toggles can be cleaned up from localStorage, ensuring there is no unnecessary buildup of outdated data
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Utilities
|
|
4
4
|
*Section:* Helper
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/utilities/fuelTypeUtils
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:28.552Z
|
|
7
7
|
|
|
8
8
|
There is a wide variety of standardized fuel types, and on top of that, some projects or systems introduce their own custom definitions. While the naming can differ, many of these values carry the same semantic meaning. To avoid confusion and ensure consistent visual representation, we provide a centralized mapping of fuel types to icons.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Utilities
|
|
4
4
|
*Section:* Helper
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#/utilities/getTrackingAttributes
|
|
6
|
-
*Captured:* 2026-04-
|
|
6
|
+
*Captured:* 2026-04-27T14:59:29.682Z
|
|
7
7
|
|
|
8
8
|
Utility helpers for Google Analytics integration, including attribute generation and push helpers.
|
|
9
9
|
|
|
@@ -15,8 +15,14 @@ Use these helpers to create consistent tracking attributes, push events intowind
|
|
|
15
15
|
|
|
16
16
|
## Available helpers
|
|
17
17
|
|
|
18
|
+
NameExampleDescriptiongetTrackingAttributes(...)getTrackingAttributes({ trigger: 'click', category: 'demo' })Creates the data-track-ga-event-* attributes for declarative tracking on DOM elements. This is the preferred approach for UI elements.gaPush(...)gaPush({ category: 'demo', action: 'click', label: 'cta' })Pushes an event into window.dataLayer programmatically. Use this when tracking should happen from imperative code, including hover interactions.executeAndTrack(...)executeAndTrack(myFn, { category: 'demo', action: 'run', label: 'myFn' })Wraps a function so it still runs normally and also sends a GA event afterward. Useful when you want tracking and business logic wired together in one call.
|
|
19
|
+
|
|
18
20
|
## Tracking attributesRecommended
|
|
19
21
|
|
|
22
|
+
Tracking attributes
|
|
23
|
+
|
|
24
|
+
> Recommended
|
|
25
|
+
|
|
20
26
|
**TRACKING_TRIGGER**
|
|
21
27
|
|
|
22
28
|
TRACKING_TRIGGER defines the allowed values for trigger ingetTrackingAttributes.
|
|
@@ -25,8 +31,27 @@ TRACKING_TRIGGER defines the allowed values for trigger ingetTrackingAttributes.
|
|
|
25
31
|
type TRACKING_TRIGGER = 'click' | 'visibility';
|
|
26
32
|
```
|
|
27
33
|
|
|
34
|
+
type
|
|
35
|
+
|
|
36
|
+
TRACKING_TRIGGER
|
|
37
|
+
|
|
38
|
+
=
|
|
39
|
+
|
|
40
|
+
'click'
|
|
41
|
+
|
|
42
|
+
|
|
|
43
|
+
|
|
44
|
+
'visibility'
|
|
45
|
+
|
|
46
|
+
;
|
|
47
|
+
|
|
28
48
|
Hover is intentionally not part of TRACKING_TRIGGER. If you need to track hover interactions, send the event programmatically with gaPush or executeAndTrackfrom the relevant UI callback.
|
|
29
49
|
|
|
50
|
+
| Trigger | Use for |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| click | User actively clicks an element (buttons, links, controls). |
|
|
53
|
+
| visibility | Element becomes visible in the viewport. |
|
|
54
|
+
|
|
30
55
|
**TRACKING_ACTIONS and TRACKING_LABELS**
|
|
31
56
|
|
|
32
57
|
These exports are optional app-level maps that consuming applications can fill with shared action and label values. They are configuration points, not required runtime state.
|
|
@@ -36,6 +61,26 @@ TRACKING_ACTIONS.dialogClose = 'dialog clicked';
|
|
|
36
61
|
TRACKING_LABELS.dialogClose = 'Dialog closed via close button';
|
|
37
62
|
```
|
|
38
63
|
|
|
64
|
+
TRACKING_ACTIONS
|
|
65
|
+
|
|
66
|
+
.
|
|
67
|
+
|
|
68
|
+
=
|
|
69
|
+
|
|
70
|
+
'dialog clicked'
|
|
71
|
+
|
|
72
|
+
;
|
|
73
|
+
|
|
74
|
+
TRACKING_LABELS
|
|
75
|
+
|
|
76
|
+
.
|
|
77
|
+
|
|
78
|
+
=
|
|
79
|
+
|
|
80
|
+
'Dialog closed via close button'
|
|
81
|
+
|
|
82
|
+
;
|
|
83
|
+
|
|
39
84
|
### Example: getTrackingAttributes()
|
|
40
85
|
|
|
41
86
|
getTrackingAttributes()
|