@rio-cloud/uikit-mcp 1.1.5 → 1.1.7

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.
Files changed (200) hide show
  1. package/dist/doc-metadata.json +129 -29
  2. package/dist/docs/components/accentBar.md +2 -2
  3. package/dist/docs/components/activity.md +2 -2
  4. package/dist/docs/components/animatedNumber.md +3 -3
  5. package/dist/docs/components/animatedTextReveal.md +7 -7
  6. package/dist/docs/components/animations.md +33 -33
  7. package/dist/docs/components/appHeader.md +8 -8
  8. package/dist/docs/components/appLayout.md +106 -89
  9. package/dist/docs/components/appNavigationBar.md +2 -2
  10. package/dist/docs/components/areaCharts.md +14 -14
  11. package/dist/docs/components/aspectRatioPlaceholder.md +2 -2
  12. package/dist/docs/components/assetTree.md +209 -404
  13. package/dist/docs/components/autosuggests.md +2 -2
  14. package/dist/docs/components/avatar.md +2 -2
  15. package/dist/docs/components/banner.md +3 -3
  16. package/dist/docs/components/barCharts.md +24 -24
  17. package/dist/docs/components/barList.md +11 -11
  18. package/dist/docs/components/basicMap.md +2 -2
  19. package/dist/docs/components/bottomSheet.md +2 -2
  20. package/dist/docs/components/button.md +400 -32
  21. package/dist/docs/components/buttonToolbar.md +2 -2
  22. package/dist/docs/components/calendarStripe.md +96 -36
  23. package/dist/docs/components/card.md +2 -2
  24. package/dist/docs/components/carousel.md +2 -2
  25. package/dist/docs/components/chartColors.md +2 -2
  26. package/dist/docs/components/chartsGettingStarted.md +2 -2
  27. package/dist/docs/components/chat.md +3 -3
  28. package/dist/docs/components/checkbox.md +17 -20
  29. package/dist/docs/components/circularProgress.md +465 -0
  30. package/dist/docs/components/clearableInput.md +2 -2
  31. package/dist/docs/components/collapse.md +3 -3
  32. package/dist/docs/components/composedCharts.md +20 -20
  33. package/dist/docs/components/contentLoader.md +102 -102
  34. package/dist/docs/components/dataTabs.md +10 -10
  35. package/dist/docs/components/datepickers.md +31 -31
  36. package/dist/docs/components/dialogs.md +2 -2
  37. package/dist/docs/components/divider.md +2 -2
  38. package/dist/docs/components/dropdowns.md +4354 -4387
  39. package/dist/docs/components/editableContent.md +2 -2
  40. package/dist/docs/components/expander.md +2 -2
  41. package/dist/docs/components/fade.md +2 -2
  42. package/dist/docs/components/fadeExpander.md +3 -3
  43. package/dist/docs/components/fadeUp.md +3 -3
  44. package/dist/docs/components/feedback.md +2 -2
  45. package/dist/docs/components/filePickers.md +2 -2
  46. package/dist/docs/components/formLabel.md +5 -4
  47. package/dist/docs/components/groupedItemList.md +2 -2
  48. package/dist/docs/components/iconList.md +4 -4
  49. package/dist/docs/components/imagePreloader.md +2 -2
  50. package/dist/docs/components/labeledElement.md +2 -2
  51. package/dist/docs/components/licensePlate.md +2 -2
  52. package/dist/docs/components/lineCharts.md +11 -11
  53. package/dist/docs/components/listMenu.md +7 -7
  54. package/dist/docs/components/loadMore.md +2 -2
  55. package/dist/docs/components/mainNavigation.md +5 -5
  56. package/dist/docs/components/mapCircle.md +2 -2
  57. package/dist/docs/components/mapCluster.md +2 -2
  58. package/dist/docs/components/mapContext.md +2 -2
  59. package/dist/docs/components/mapDraggableMarker.md +2 -2
  60. package/dist/docs/components/mapGettingStarted.md +2 -2
  61. package/dist/docs/components/mapInfoBubble.md +2 -2
  62. package/dist/docs/components/mapLayerGroup.md +2 -2
  63. package/dist/docs/components/mapMarker.md +2 -2
  64. package/dist/docs/components/mapPolygon.md +2 -2
  65. package/dist/docs/components/mapRoute.md +2 -2
  66. package/dist/docs/components/mapRouteGenerator.md +2 -2
  67. package/dist/docs/components/mapSettings.md +9 -9
  68. package/dist/docs/components/mapUtils.md +2 -2
  69. package/dist/docs/components/multiselects.md +2 -2
  70. package/dist/docs/components/noData.md +2 -2
  71. package/dist/docs/components/notifications.md +2 -2
  72. package/dist/docs/components/numbercontrol.md +5 -4
  73. package/dist/docs/components/onboarding.md +2 -2
  74. package/dist/docs/components/page.md +2 -2
  75. package/dist/docs/components/pager.md +2 -2
  76. package/dist/docs/components/pieCharts.md +89 -78
  77. package/dist/docs/components/popover.md +2 -2
  78. package/dist/docs/components/position.md +2 -2
  79. package/dist/docs/components/radialBarCharts.md +2054 -2012
  80. package/dist/docs/components/radioCardGroup.md +487 -0
  81. package/dist/docs/components/radiobutton.md +2 -2
  82. package/dist/docs/components/releaseNotes.md +2 -2
  83. package/dist/docs/components/resizer.md +2 -2
  84. package/dist/docs/components/responsiveColumnStripe.md +2 -2
  85. package/dist/docs/components/responsiveVideo.md +2 -2
  86. package/dist/docs/components/rioglyph.md +2 -2
  87. package/dist/docs/components/rules.md +2 -2
  88. package/dist/docs/components/saveableInput.md +20 -20
  89. package/dist/docs/components/selects.md +2 -2
  90. package/dist/docs/components/sidebar.md +2 -2
  91. package/dist/docs/components/sliders.md +2 -2
  92. package/dist/docs/components/smoothScrollbars.md +2 -2
  93. package/dist/docs/components/spinners.md +2 -2
  94. package/dist/docs/components/states.md +2 -2
  95. package/dist/docs/components/statsWidgets.md +2 -2
  96. package/dist/docs/components/statusBar.md +2 -2
  97. package/dist/docs/components/stepButton.md +2 -2
  98. package/dist/docs/components/steppedProgressBars.md +2 -2
  99. package/dist/docs/components/subNavigation.md +17 -17
  100. package/dist/docs/components/supportMarker.md +2 -2
  101. package/dist/docs/components/svgImage.md +38 -2
  102. package/dist/docs/components/switch.md +210 -83
  103. package/dist/docs/components/tables.md +2 -2
  104. package/dist/docs/components/tagManager.md +2 -2
  105. package/dist/docs/components/tags.md +2 -2
  106. package/dist/docs/components/teaser.md +2 -2
  107. package/dist/docs/components/textTruncateMiddle.md +151 -0
  108. package/dist/docs/components/timeline.md +2 -2
  109. package/dist/docs/components/timepicker.md +660 -64
  110. package/dist/docs/components/toggleButton.md +37 -9
  111. package/dist/docs/components/tooltip.md +5 -4
  112. package/dist/docs/components/tracker.md +631 -0
  113. package/dist/docs/components/virtualList.md +77 -77
  114. package/dist/docs/foundations.md +594 -222
  115. package/dist/docs/start/changelog.md +54 -2
  116. package/dist/docs/start/goodtoknow.md +2 -2
  117. package/dist/docs/start/guidelines/color-combinations.md +2 -2
  118. package/dist/docs/start/guidelines/custom-css.md +2 -2
  119. package/dist/docs/start/guidelines/custom-rioglyph.md +2 -2
  120. package/dist/docs/start/guidelines/formatting.md +2 -2
  121. package/dist/docs/start/guidelines/iframe.md +3 -3
  122. package/dist/docs/start/guidelines/obfuscate-data.md +2 -2
  123. package/dist/docs/start/guidelines/print-css.md +2 -2
  124. package/dist/docs/start/guidelines/spinner.md +82 -82
  125. package/dist/docs/start/guidelines/state-in-url.md +263 -0
  126. package/dist/docs/start/guidelines/supported-browsers.md +2 -2
  127. package/dist/docs/start/guidelines/writing.md +2 -2
  128. package/dist/docs/start/howto.md +10 -10
  129. package/dist/docs/start/intro.md +2 -2
  130. package/dist/docs/start/responsiveness.md +2 -2
  131. package/dist/docs/templates/common-table.md +15 -14
  132. package/dist/docs/templates/detail-views.md +3 -3
  133. package/dist/docs/templates/expandable-details.md +2 -2
  134. package/dist/docs/templates/feature-cards.md +56 -56
  135. package/dist/docs/templates/form-summary.md +23 -23
  136. package/dist/docs/templates/form-toggle.md +2 -2
  137. package/dist/docs/templates/list-blocks.md +204 -204
  138. package/dist/docs/templates/loading-progress.md +2 -2
  139. package/dist/docs/templates/options-panel.md +2 -2
  140. package/dist/docs/templates/panel-variants.md +2 -2
  141. package/dist/docs/templates/progress-cards.md +2 -2
  142. package/dist/docs/templates/progress-success.md +2 -2
  143. package/dist/docs/templates/settings-form.md +24 -24
  144. package/dist/docs/templates/stats-blocks.md +15 -15
  145. package/dist/docs/templates/table-panel.md +2 -2
  146. package/dist/docs/templates/table-row-animation.md +2 -2
  147. package/dist/docs/templates/usage-cards.md +2 -2
  148. package/dist/docs/utilities/classNames.md +191 -0
  149. package/dist/docs/utilities/deviceUtils.md +2 -2
  150. package/dist/docs/utilities/featureToggles.md +2 -2
  151. package/dist/docs/utilities/fuelTypeUtils.md +2 -2
  152. package/dist/docs/utilities/routeUtils.md +326 -90
  153. package/dist/docs/utilities/useAfterMount.md +2 -2
  154. package/dist/docs/utilities/useAutoAnimate.md +2 -2
  155. package/dist/docs/utilities/useAverage.md +2 -2
  156. package/dist/docs/utilities/useClickOutside.md +2 -2
  157. package/dist/docs/utilities/useClipboard.md +3 -3
  158. package/dist/docs/utilities/useCookies.md +188 -0
  159. package/dist/docs/utilities/useCount.md +2 -2
  160. package/dist/docs/utilities/useDarkMode.md +2 -2
  161. package/dist/docs/utilities/useDebugInfo.md +5 -5
  162. package/dist/docs/utilities/useEffectOnce.md +2 -2
  163. package/dist/docs/utilities/useElapsedTime.md +2 -2
  164. package/dist/docs/utilities/useElementSize.md +2 -2
  165. package/dist/docs/utilities/useEsc.md +2 -2
  166. package/dist/docs/utilities/useEvent.md +2 -2
  167. package/dist/docs/utilities/useFocusTrap.md +2 -2
  168. package/dist/docs/utilities/useFullscreen.md +2 -2
  169. package/dist/docs/utilities/useHover.md +2 -2
  170. package/dist/docs/utilities/useIncomingPostMessages.md +2 -2
  171. package/dist/docs/utilities/useInterval.md +2 -2
  172. package/dist/docs/utilities/useIsFocusWithin.md +2 -2
  173. package/dist/docs/utilities/useKey.md +2 -2
  174. package/dist/docs/utilities/useLocalStorage.md +2 -2
  175. package/dist/docs/utilities/useLocationSuggestions.md +2 -2
  176. package/dist/docs/utilities/useMax.md +2 -2
  177. package/dist/docs/utilities/useMin.md +2 -2
  178. package/dist/docs/utilities/useMutationObserver.md +2 -2
  179. package/dist/docs/utilities/useOnScreen.md +2 -2
  180. package/dist/docs/utilities/useOnlineStatus.md +2 -2
  181. package/dist/docs/utilities/usePostMessage.md +3 -3
  182. package/dist/docs/utilities/usePostMessageSender.md +2 -2
  183. package/dist/docs/utilities/usePrevious.md +2 -2
  184. package/dist/docs/utilities/useResizeObserver.md +2 -2
  185. package/dist/docs/utilities/useRioCookieConsent.md +90 -0
  186. package/dist/docs/utilities/useScrollPosition.md +2 -2
  187. package/dist/docs/utilities/useSearch.md +2 -2
  188. package/dist/docs/utilities/useSearchHighlight.md +815 -0
  189. package/dist/docs/utilities/useSorting.md +2 -2
  190. package/dist/docs/utilities/useStateWithValidation.md +2 -2
  191. package/dist/docs/utilities/useSum.md +2 -2
  192. package/dist/docs/utilities/useTableExport.md +52 -52
  193. package/dist/docs/utilities/useTableSelection.md +90 -90
  194. package/dist/docs/utilities/useTimeout.md +2 -2
  195. package/dist/docs/utilities/useToggle.md +3 -3
  196. package/dist/docs/utilities/useUrlState.md +418 -0
  197. package/dist/docs/utilities/useWindowResize.md +2 -2
  198. package/dist/index.mjs +1 -1
  199. package/dist/version.json +2 -2
  200. package/package.json +9 -9
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Interaction
5
- *Source:* https://uikit.developers.rio.cloud/#components/switch
6
- *Captured:* 2026-02-03T14:04:20.481Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/switch
6
+ *Captured:* 2026-02-23T15:48:18.065Z
7
7
 
8
8
  ## Switch
9
9
 
@@ -23,11 +23,16 @@ Switch with label left
23
23
 
24
24
  Label
25
25
 
26
- Switch with text and min-width
26
+ Switch with different ON/OFF text
27
27
 
28
- Switch with single text and label
28
+ Switch with autoMinWidth (takes the width from the longest text)Lorem
29
29
 
30
- Beta feature toggle
30
+ Switch with a longer label and more spacing
31
+
32
+ Lorem ipsum
33
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
34
+
35
+ Lorem ipsum dolor
31
36
 
32
37
  Switch in panels
33
38
 
@@ -49,11 +54,16 @@ Switch with label left
49
54
 
50
55
  Label
51
56
 
52
- Switch with text and min-width
57
+ Switch with different ON/OFF text
58
+
59
+ Switch with autoMinWidth (takes the width from the longest text)Lorem
53
60
 
54
- Switch with single text and label
61
+ Switch with a longer label and more spacing
55
62
 
56
- Beta feature toggle
63
+ Lorem ipsum
64
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
65
+
66
+ Lorem ipsum dolor
57
67
 
58
68
  Switch in panels
59
69
 
@@ -66,6 +76,7 @@ import { useState } from 'react';
66
76
 
67
77
  import Switch from '@rio-cloud/rio-uikit/Switch';
68
78
  import Notification from '@rio-cloud/rio-uikit/Notification';
79
+ import Divider from '@rio-cloud/rio-uikit/Divider';
69
80
 
70
81
  export default () => {
71
82
  const [switchStates, setSwitchStates] = useState<{
@@ -77,6 +88,10 @@ export default () => {
77
88
  switch4: false,
78
89
  switch5: false,
79
90
  switch6: true,
91
+ switch7: true,
92
+ switch8: true,
93
+ switch9: true,
94
+ switch10: true,
80
95
  });
81
96
 
82
97
  const handleChange = (key: string) => {
@@ -89,7 +104,7 @@ export default () => {
89
104
  });
90
105
  };
91
106
 
92
- const { switch1, switch2, switch3, switch4, switch5, switch6 } = switchStates;
107
+ const { switch1, switch2, switch3, switch4, switch5, switch6, switch7, switch8, switch9, switch10 } = switchStates;
93
108
 
94
109
  return (
95
110
  <div>
@@ -97,7 +112,9 @@ export default () => {
97
112
  <div>
98
113
  <Switch onChange={() => handleChange('switch1')} checked={switch1} />
99
114
  </div>
100
- <hr />
115
+
116
+ <Divider dividerColor='lighter' spacing={25} />
117
+
101
118
  <label>Disabled Switch & disabled active Switch</label>
102
119
  <div className='display-flex'>
103
120
  <div className='margin-right-10'>
@@ -107,7 +124,9 @@ export default () => {
107
124
  <Switch disabled checked />
108
125
  </div>
109
126
  </div>
110
- <hr />
127
+
128
+ <Divider dividerColor='lighter' spacing={25} />
129
+
111
130
  <label>Colored Switch</label>
112
131
  <div className='display-flex flex-wrap gap-5'>
113
132
  <Switch onChange={() => handleChange('switch2')} checked={switch2} color='secondary' />
@@ -116,50 +135,91 @@ export default () => {
116
135
  <Switch onChange={() => handleChange('switch2')} checked={switch2} color='warning' />
117
136
  <Switch onChange={() => handleChange('switch2')} checked={switch2} color='danger' />
118
137
  </div>
119
- <hr />
138
+
139
+ <Divider dividerColor='lighter' spacing={25} />
140
+
120
141
  <label>Switch with label</label>
121
142
  <div>
122
143
  <Switch onChange={() => handleChange('switch3')} checked={switch3} labelPosition='right'>
123
144
  <span>Label</span>
124
145
  </Switch>
125
146
  </div>
126
- <hr />
147
+
148
+ <Divider dividerColor='lighter' spacing={25} />
149
+
127
150
  <label>Switch with label left</label>
128
151
  <div>
129
152
  <Switch onChange={() => handleChange('switch4')} checked={switch4} labelPosition='left'>
130
153
  <span>Label</span>
131
154
  </Switch>
132
155
  </div>
133
- <hr />
134
- <label>Switch with text and min-width</label>
156
+
157
+ <Divider dividerColor='lighter' spacing={25} />
158
+
159
+ <label>Switch with different ON/OFF text</label>
135
160
  <div>
136
161
  <Switch
137
162
  onChange={() => handleChange('switch5')}
138
163
  checked={switch5}
139
- minWidth={50}
140
164
  enabledText='ON'
141
165
  disabledText='OFF'
142
166
  />
143
167
  </div>
144
- <hr />
145
- <label>Switch with single text and label</label>
168
+
169
+ <Divider dividerColor='lighter' spacing={25} />
170
+
171
+ <label>Switch with autoMinWidth (takes the width from the longest text)</label>
146
172
  <div>
147
173
  <Switch
148
174
  onChange={() => handleChange('switch6')}
149
175
  checked={switch6}
150
- enabledText='Beta'
151
- labelPosition='right'
152
- >
153
- <span>Beta feature toggle</span>
154
- </Switch>
176
+ enabledText='ON'
177
+ disabledText='Lorem'
178
+ autoMinWidth
179
+ />
155
180
  </div>
156
- <hr />
181
+
182
+ <Divider dividerColor='lighter' spacing={25} />
183
+
184
+ <label>Switch with a longer label and more spacing</label>
185
+ <div className='display-flex flex-wrap gap-25'>
186
+ <div className='max-width-300'>
187
+ <Switch
188
+ onChange={() => handleChange('switch7')}
189
+ checked={switch7}
190
+ labelPosition='right'
191
+ className='gap-10'
192
+ customTextStyle
193
+ >
194
+ <div className='text-size-14 text-color-darker'>
195
+ <div className='text-medium margin-bottom-5'>Lorem ipsum</div>
196
+ <div>
197
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
198
+ invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
199
+ </div>
200
+ </div>
201
+ </Switch>
202
+ </div>
203
+ <div>
204
+ <Switch
205
+ onChange={() => handleChange('switch8')}
206
+ checked={switch8}
207
+ labelPosition='right'
208
+ enabledText='Beta'
209
+ >
210
+ <span>Lorem ipsum dolor</span>
211
+ </Switch>
212
+ </div>
213
+ </div>
214
+
215
+ <Divider dividerColor='lighter' spacing={25} />
216
+
157
217
  <label>Switch in panels</label>
158
218
  <div className='display-grid grid-cols-3 gap-15'>
159
219
  <div className='panel panel-default'>
160
220
  <div className='panel-heading display-flex justify-content-end'>
161
221
  <div>
162
- <Switch onChange={() => handleChange('switch6')} checked={switch6} enabledText='Beta' />
222
+ <Switch onChange={() => handleChange('switch6')} checked={switch9} enabledText='Beta' />
163
223
  </div>
164
224
  </div>
165
225
  <div className='panel-body' />
@@ -167,7 +227,7 @@ export default () => {
167
227
  <div className='panel panel-primary'>
168
228
  <div className='panel-heading display-flex justify-content-end'>
169
229
  <div>
170
- <Switch onChange={() => handleChange('switch6')} checked={switch6} enabledText='Beta' />
230
+ <Switch onChange={() => handleChange('switch9')} checked={switch9} enabledText='Beta' />
171
231
  </div>
172
232
  </div>
173
233
  <div className='panel-body' />
@@ -176,8 +236,8 @@ export default () => {
176
236
  <div className='panel-heading display-flex justify-content-end'>
177
237
  <div>
178
238
  <Switch
179
- onChange={() => handleChange('switch6')}
180
- checked={switch6}
239
+ onChange={() => handleChange('switch10')}
240
+ checked={switch10}
181
241
  enabledText='Beta'
182
242
  color='success'
183
243
  />
@@ -189,8 +249,8 @@ export default () => {
189
249
  <div className='panel-heading display-flex justify-content-end'>
190
250
  <div>
191
251
  <Switch
192
- onChange={() => handleChange('switch6')}
193
- checked={switch6}
252
+ onChange={() => handleChange('switch10')}
253
+ checked={switch10}
194
254
  enabledText='Beta'
195
255
  color='warning'
196
256
  />
@@ -202,8 +262,8 @@ export default () => {
202
262
  <div className='panel-heading display-flex justify-content-end'>
203
263
  <div>
204
264
  <Switch
205
- onChange={() => handleChange('switch6')}
206
- checked={switch6}
265
+ onChange={() => handleChange('switch10')}
266
+ checked={switch10}
207
267
  enabledText='Beta'
208
268
  color='danger'
209
269
  />
@@ -216,24 +276,24 @@ export default () => {
216
276
  <div className='display-grid grid-cols-3 gap-15'>
217
277
  <div className='alert alert-warning'>
218
278
  <Switch
219
- onChange={() => handleChange('switch6')}
220
- checked={switch6}
279
+ onChange={() => handleChange('switch10')}
280
+ checked={switch10}
221
281
  enabledText='Beta'
222
282
  color='warning'
223
283
  />
224
284
  </div>
225
285
  <div className='alert alert-danger'>
226
286
  <Switch
227
- onChange={() => handleChange('switch6')}
228
- checked={switch6}
287
+ onChange={() => handleChange('switch10')}
288
+ checked={switch10}
229
289
  enabledText='Beta'
230
290
  color='danger'
231
291
  />
232
292
  </div>
233
293
  <div className='alert alert-info'>
234
294
  <Switch
235
- onChange={() => handleChange('switch6')}
236
- checked={switch6}
295
+ onChange={() => handleChange('switch10')}
296
+ checked={switch10}
237
297
  enabledText='Beta'
238
298
  color='info'
239
299
  />
@@ -251,7 +311,7 @@ export default () => {
251
311
  <label>Switch</label>
252
312
  <div>
253
313
  <div class="uikit-switch">
254
- <label class="switch-label">
314
+ <label class="switch-label uikit-switch">
255
315
  <input type="checkbox" class="switch-input" checked="">
256
316
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
257
317
  <div class="switch-handle">
@@ -260,12 +320,15 @@ export default () => {
260
320
  </label>
261
321
  </div>
262
322
  </div>
263
- <hr>
323
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
324
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
325
+ </div>
326
+ </div>
264
327
  <label>Disabled Switch &amp; disabled active Switch</label>
265
328
  <div class="display-flex">
266
329
  <div class="margin-right-10">
267
330
  <div class="uikit-switch">
268
- <label class="switch-label cursor-not-allowed">
331
+ <label class="switch-label uikit-switch cursor-not-allowed">
269
332
  <input type="checkbox" class="switch-input" disabled="">
270
333
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
271
334
  <div class="switch-handle">
@@ -276,7 +339,7 @@ export default () => {
276
339
  </div>
277
340
  <div>
278
341
  <div class="uikit-switch">
279
- <label class="switch-label cursor-not-allowed">
342
+ <label class="switch-label uikit-switch cursor-not-allowed">
280
343
  <input type="checkbox" class="switch-input" disabled="" checked="">
281
344
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
282
345
  <div class="switch-handle">
@@ -286,11 +349,14 @@ export default () => {
286
349
  </div>
287
350
  </div>
288
351
  </div>
289
- <hr>
352
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
353
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
354
+ </div>
355
+ </div>
290
356
  <label>Colored Switch</label>
291
357
  <div class="display-flex flex-wrap gap-5">
292
358
  <div class="uikit-switch">
293
- <label class="switch-label">
359
+ <label class="switch-label uikit-switch">
294
360
  <input type="checkbox" class="switch-input" checked="">
295
361
  <div class="switch-content" style="color: var(--brand-secondary); min-width: 40px;">
296
362
  <div class="switch-handle">
@@ -299,7 +365,7 @@ export default () => {
299
365
  </label>
300
366
  </div>
301
367
  <div class="uikit-switch">
302
- <label class="switch-label">
368
+ <label class="switch-label uikit-switch">
303
369
  <input type="checkbox" class="switch-input" checked="">
304
370
  <div class="switch-content" style="color: var(--brand-info); min-width: 40px;">
305
371
  <div class="switch-handle">
@@ -308,7 +374,7 @@ export default () => {
308
374
  </label>
309
375
  </div>
310
376
  <div class="uikit-switch">
311
- <label class="switch-label">
377
+ <label class="switch-label uikit-switch">
312
378
  <input type="checkbox" class="switch-input" checked="">
313
379
  <div class="switch-content" style="color: var(--brand-success); min-width: 40px;">
314
380
  <div class="switch-handle">
@@ -317,7 +383,7 @@ export default () => {
317
383
  </label>
318
384
  </div>
319
385
  <div class="uikit-switch">
320
- <label class="switch-label">
386
+ <label class="switch-label uikit-switch">
321
387
  <input type="checkbox" class="switch-input" checked="">
322
388
  <div class="switch-content" style="color: var(--brand-warning); min-width: 40px;">
323
389
  <div class="switch-handle">
@@ -326,7 +392,7 @@ export default () => {
326
392
  </label>
327
393
  </div>
328
394
  <div class="uikit-switch">
329
- <label class="switch-label">
395
+ <label class="switch-label uikit-switch">
330
396
  <input type="checkbox" class="switch-input" checked="">
331
397
  <div class="switch-content" style="color: var(--brand-danger); min-width: 40px;">
332
398
  <div class="switch-handle">
@@ -335,41 +401,54 @@ export default () => {
335
401
  </label>
336
402
  </div>
337
403
  </div>
338
- <hr>
404
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
405
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
406
+ </div>
407
+ </div>
339
408
  <label>Switch with label</label>
340
409
  <div>
341
410
  <div class="uikit-switch">
342
- <label class="switch-label label-position-right">
411
+ <label class="switch-label uikit-switch label-position-right">
343
412
  <input type="checkbox" class="switch-input">
344
413
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
345
414
  <div class="switch-handle">
346
415
  </div>
347
416
  </div>
348
- <span>Label</span>
417
+ <div class="switch-text-wrapper user-select-none padding-top-1">
418
+ <span>Label</span>
419
+ </div>
349
420
  </label>
350
421
  </div>
351
422
  </div>
352
- <hr>
423
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
424
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
425
+ </div>
426
+ </div>
353
427
  <label>Switch with label left</label>
354
428
  <div>
355
429
  <div class="uikit-switch">
356
- <label class="switch-label label-position-left">
430
+ <label class="switch-label uikit-switch label-position-left display-inline-flex height-20">
357
431
  <input type="checkbox" class="switch-input">
358
432
  <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
359
433
  <div class="switch-handle">
360
434
  </div>
361
435
  </div>
362
- <span>Label</span>
436
+ <div class="switch-text-wrapper user-select-none padding-top-1">
437
+ <span>Label</span>
438
+ </div>
363
439
  </label>
364
440
  </div>
365
441
  </div>
366
- <hr>
367
- <label>Switch with text and min-width</label>
442
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
443
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
444
+ </div>
445
+ </div>
446
+ <label>Switch with different ON/OFF text</label>
368
447
  <div>
369
448
  <div class="uikit-switch">
370
- <label class="switch-label">
449
+ <label class="switch-label uikit-switch">
371
450
  <input type="checkbox" class="switch-input">
372
- <div class="switch-content" style="color: var(--brand-primary); min-width: 50px;">
451
+ <div class="switch-content" style="color: var(--brand-primary);">
373
452
  <div class="switch-text" data-on="ON" data-off="OFF">
374
453
  </div>
375
454
  <div class="switch-handle">
@@ -378,32 +457,78 @@ export default () => {
378
457
  </label>
379
458
  </div>
380
459
  </div>
381
- <hr>
382
- <label>Switch with single text and label</label>
460
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
461
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
462
+ </div>
463
+ </div>
464
+ <label>Switch with autoMinWidth (takes the width from the longest text)</label>
383
465
  <div>
384
466
  <div class="uikit-switch">
385
- <label class="switch-label label-position-right">
467
+ <label class="switch-label uikit-switch">
468
+ <span class="switch-text-measure" aria-hidden="true">Lorem</span>
386
469
  <input type="checkbox" class="switch-input" checked="">
387
- <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
388
- <div class="switch-text" data-on="Beta" data-off="Beta">
470
+ <div class="switch-content" style="color: var(--brand-primary); min-width: 63px;">
471
+ <div class="switch-text" data-on="ON" data-off="Lorem">
389
472
  </div>
390
473
  <div class="switch-handle">
391
474
  </div>
392
475
  </div>
393
- <span>Beta feature toggle</span>
394
476
  </label>
395
477
  </div>
396
478
  </div>
397
- <hr>
479
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
480
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
481
+ </div>
482
+ </div>
483
+ <label>Switch with a longer label and more spacing</label>
484
+ <div class="display-flex flex-wrap gap-25">
485
+ <div class="max-width-300">
486
+ <div class="uikit-switch gap-10">
487
+ <label class="switch-label uikit-switch gap-10 label-position-right">
488
+ <input type="checkbox" class="switch-input" checked="">
489
+ <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
490
+ <div class="switch-handle">
491
+ </div>
492
+ </div>
493
+ <div class="switch-text-wrapper user-select-none">
494
+ <div class="text-size-14 text-color-darker">
495
+ <div class="text-medium margin-bottom-5">Lorem ipsum</div>
496
+ <div>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</div>
497
+ </div>
498
+ </div>
499
+ </label>
500
+ </div>
501
+ </div>
502
+ <div>
503
+ <div class="uikit-switch">
504
+ <label class="switch-label uikit-switch label-position-right">
505
+ <input type="checkbox" class="switch-input" checked="">
506
+ <div class="switch-content" style="color: var(--brand-primary);">
507
+ <div class="switch-text" data-on="Beta" data-off="Beta">
508
+ </div>
509
+ <div class="switch-handle">
510
+ </div>
511
+ </div>
512
+ <div class="switch-text-wrapper user-select-none padding-top-1">
513
+ <span>Lorem ipsum dolor</span>
514
+ </div>
515
+ </label>
516
+ </div>
517
+ </div>
518
+ </div>
519
+ <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
520
+ <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
521
+ </div>
522
+ </div>
398
523
  <label>Switch in panels</label>
399
524
  <div class="display-grid grid-cols-3 gap-15">
400
525
  <div class="panel panel-default">
401
526
  <div class="panel-heading display-flex justify-content-end">
402
527
  <div>
403
528
  <div class="uikit-switch">
404
- <label class="switch-label">
529
+ <label class="switch-label uikit-switch">
405
530
  <input type="checkbox" class="switch-input" checked="">
406
- <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
531
+ <div class="switch-content" style="color: var(--brand-primary);">
407
532
  <div class="switch-text" data-on="Beta" data-off="Beta">
408
533
  </div>
409
534
  <div class="switch-handle">
@@ -420,9 +545,9 @@ export default () => {
420
545
  <div class="panel-heading display-flex justify-content-end">
421
546
  <div>
422
547
  <div class="uikit-switch">
423
- <label class="switch-label">
548
+ <label class="switch-label uikit-switch">
424
549
  <input type="checkbox" class="switch-input" checked="">
425
- <div class="switch-content" style="color: var(--brand-primary); min-width: 40px;">
550
+ <div class="switch-content" style="color: var(--brand-primary);">
426
551
  <div class="switch-text" data-on="Beta" data-off="Beta">
427
552
  </div>
428
553
  <div class="switch-handle">
@@ -439,9 +564,9 @@ export default () => {
439
564
  <div class="panel-heading display-flex justify-content-end">
440
565
  <div>
441
566
  <div class="uikit-switch">
442
- <label class="switch-label">
567
+ <label class="switch-label uikit-switch">
443
568
  <input type="checkbox" class="switch-input" checked="">
444
- <div class="switch-content" style="color: var(--brand-success); min-width: 40px;">
569
+ <div class="switch-content" style="color: var(--brand-success);">
445
570
  <div class="switch-text" data-on="Beta" data-off="Beta">
446
571
  </div>
447
572
  <div class="switch-handle">
@@ -458,9 +583,9 @@ export default () => {
458
583
  <div class="panel-heading display-flex justify-content-end">
459
584
  <div>
460
585
  <div class="uikit-switch">
461
- <label class="switch-label">
586
+ <label class="switch-label uikit-switch">
462
587
  <input type="checkbox" class="switch-input" checked="">
463
- <div class="switch-content" style="color: var(--brand-warning); min-width: 40px;">
588
+ <div class="switch-content" style="color: var(--brand-warning);">
464
589
  <div class="switch-text" data-on="Beta" data-off="Beta">
465
590
  </div>
466
591
  <div class="switch-handle">
@@ -477,9 +602,9 @@ export default () => {
477
602
  <div class="panel-heading display-flex justify-content-end">
478
603
  <div>
479
604
  <div class="uikit-switch">
480
- <label class="switch-label">
605
+ <label class="switch-label uikit-switch">
481
606
  <input type="checkbox" class="switch-input" checked="">
482
- <div class="switch-content" style="color: var(--brand-danger); min-width: 40px;">
607
+ <div class="switch-content" style="color: var(--brand-danger);">
483
608
  <div class="switch-text" data-on="Beta" data-off="Beta">
484
609
  </div>
485
610
  <div class="switch-handle">
@@ -497,9 +622,9 @@ export default () => {
497
622
  <div class="display-grid grid-cols-3 gap-15">
498
623
  <div class="alert alert-warning">
499
624
  <div class="uikit-switch">
500
- <label class="switch-label">
625
+ <label class="switch-label uikit-switch">
501
626
  <input type="checkbox" class="switch-input" checked="">
502
- <div class="switch-content" style="color: var(--brand-warning); min-width: 40px;">
627
+ <div class="switch-content" style="color: var(--brand-warning);">
503
628
  <div class="switch-text" data-on="Beta" data-off="Beta">
504
629
  </div>
505
630
  <div class="switch-handle">
@@ -510,9 +635,9 @@ export default () => {
510
635
  </div>
511
636
  <div class="alert alert-danger">
512
637
  <div class="uikit-switch">
513
- <label class="switch-label">
638
+ <label class="switch-label uikit-switch">
514
639
  <input type="checkbox" class="switch-input" checked="">
515
- <div class="switch-content" style="color: var(--brand-danger); min-width: 40px;">
640
+ <div class="switch-content" style="color: var(--brand-danger);">
516
641
  <div class="switch-text" data-on="Beta" data-off="Beta">
517
642
  </div>
518
643
  <div class="switch-handle">
@@ -523,9 +648,9 @@ export default () => {
523
648
  </div>
524
649
  <div class="alert alert-info">
525
650
  <div class="uikit-switch">
526
- <label class="switch-label">
651
+ <label class="switch-label uikit-switch">
527
652
  <input type="checkbox" class="switch-input" checked="">
528
- <div class="switch-content" style="color: var(--brand-info); min-width: 40px;">
653
+ <div class="switch-content" style="color: var(--brand-info);">
529
654
  <div class="switch-text" data-on="Beta" data-off="Beta">
530
655
  </div>
531
656
  <div class="switch-handle">
@@ -546,9 +671,11 @@ export default () => {
546
671
  | onChange | (toggleState: boolean) => void | — | Callback function triggered when clicking the button. |
547
672
  | checked | boolean | false | Set active / inactive state. |
548
673
  | color | string | 'primary' | Defines the color of the switch. Possible values are: 'primary' 'secondary' 'info' 'success' 'warning' 'danger' |
549
- | minWidth | number | 40 | The min-width of the switch. |
674
+ | minWidth | number | | The min-width of the switch. If not set, the default min-width is 40. |
675
+ | autoMinWidth | boolean | false | Controls automatic text-based min-width behavior when minWidth is not set. Set to true to keep the width at the longer one of enabledText and disabledText. |
550
676
  | disabled | boolean | false | Disables the component. |
551
677
  | enabledText | string | — | The text used for the ON state. |
552
678
  | disabledText | string | — | The text used for the OFF state. |
553
- | labelPosition | 'left' \| 'right' | | Defines the position of the switch label. Defaults to 'right' when children are present. Possible values are 'left' and 'right'. |
679
+ | labelPosition | 'left' \| 'right' | 'right' | Defines the position of the switch label. Defaults to 'right' when children are present. Possible values are 'left' and 'right'. |
680
+ | customTextStyle | boolean | false | Use this flag if you want to have custom text styles. |
554
681
  | className | string | — | Additional class names added to the SVG element. |
@@ -2,7 +2,7 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Content
5
- *Source:* https://uikit.developers.rio.cloud/#components/tables
6
- *Captured:* 2026-02-03T14:04:50.602Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/tables
6
+ *Captured:* 2026-02-23T15:48:48.289Z
7
7
 
8
8
  The toolbar and its content has to be implemented by each team itself. Please use the following sample as a reference and adapt it accordingly.
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/tagManager
6
- *Captured:* 2026-02-03T14:05:09.350Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/tagManager
6
+ *Captured:* 2026-02-23T15:49:05.640Z
7
7
 
8
8
  The TagManager allows to select and filter for existing tags as well as adding and removing them from a list of tags.
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  *Category:* Components
4
4
  *Section:* Misc
5
- *Source:* https://uikit.developers.rio.cloud/#components/tags
6
- *Captured:* 2026-02-03T14:05:08.958Z
5
+ *Source:* https://uikit.developers.rio.cloud/#/components/tags
6
+ *Captured:* 2026-02-23T15:49:05.596Z
7
7
 
8
8
  ## Tag
9
9