@rio-cloud/uikit-mcp 1.0.0 → 1.1.0

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 (388) hide show
  1. package/README.md +75 -40
  2. package/dist/doc-metadata.json +1872 -0
  3. package/dist/docs/components/accentBar.md +582 -0
  4. package/dist/docs/components/activity.md +330 -0
  5. package/dist/docs/components/animatedNumber.md +88 -0
  6. package/dist/docs/components/animatedTextReveal.md +381 -0
  7. package/dist/docs/components/animations.md +459 -0
  8. package/dist/docs/components/appHeader.md +737 -0
  9. package/dist/docs/components/appLayout.md +2016 -0
  10. package/dist/docs/components/appNavigationBar.md +274 -0
  11. package/dist/docs/components/areaCharts.md +828 -0
  12. package/dist/docs/components/aspectRatioPlaceholder.md +106 -0
  13. package/dist/docs/components/assetTree.md +3223 -0
  14. package/dist/docs/components/autosuggests.md +1177 -0
  15. package/dist/docs/components/avatar.md +206 -0
  16. package/dist/docs/components/banner.md +668 -0
  17. package/dist/docs/components/barCharts.md +2785 -0
  18. package/dist/docs/components/barList.md +517 -0
  19. package/dist/docs/components/basicMap.md +167 -0
  20. package/dist/docs/components/bottomSheet.md +721 -0
  21. package/dist/docs/components/button.md +775 -0
  22. package/dist/docs/components/buttonToolbar.md +134 -0
  23. package/dist/docs/components/calendarStripe.md +525 -0
  24. package/dist/docs/components/card.md +86 -0
  25. package/dist/docs/components/carousel.md +128 -0
  26. package/dist/docs/components/chartColors.md +716 -0
  27. package/dist/docs/components/chartsGettingStarted.md +28 -0
  28. package/dist/docs/components/chat.md +932 -0
  29. package/dist/docs/components/checkbox.md +996 -0
  30. package/dist/docs/components/clearableInput.md +806 -0
  31. package/dist/docs/components/collapse.md +189 -0
  32. package/dist/docs/components/composedCharts.md +424 -0
  33. package/dist/docs/components/contentLoader.md +674 -0
  34. package/dist/docs/components/dataTabs.md +1251 -0
  35. package/dist/docs/components/datepickers.md +2543 -0
  36. package/dist/docs/components/dialogs.md +2244 -0
  37. package/dist/docs/components/divider.md +219 -0
  38. package/dist/docs/components/dropdowns.md +17550 -0
  39. package/dist/docs/components/editableContent.md +1127 -0
  40. package/dist/docs/components/expander.md +970 -0
  41. package/dist/docs/components/fade.md +836 -0
  42. package/dist/docs/components/fadeExpander.md +180 -0
  43. package/dist/docs/components/fadeUp.md +396 -0
  44. package/dist/docs/components/feedback.md +758 -0
  45. package/dist/docs/components/filePickers.md +370 -0
  46. package/dist/docs/components/formLabel.md +251 -0
  47. package/dist/docs/components/fullscreenMap.md +10 -0
  48. package/dist/docs/components/groupedItemList.md +1001 -0
  49. package/dist/docs/components/iconList.md +306 -0
  50. package/dist/docs/components/imagePreloader.md +167 -0
  51. package/dist/docs/components/labeledElement.md +115 -0
  52. package/dist/docs/components/licensePlate.md +412 -0
  53. package/dist/docs/components/lineCharts.md +2014 -0
  54. package/dist/docs/components/listMenu.md +392 -0
  55. package/dist/docs/components/loadMore.md +219 -0
  56. package/dist/docs/components/mainNavigation.md +129 -0
  57. package/dist/docs/components/mapCircle.md +93 -0
  58. package/dist/docs/components/mapCluster.md +337 -0
  59. package/dist/docs/components/mapContext.md +284 -0
  60. package/dist/docs/components/mapDraggableMarker.md +150 -0
  61. package/dist/docs/components/mapGettingStarted.md +39 -0
  62. package/dist/docs/components/mapInfoBubble.md +135 -0
  63. package/dist/docs/components/mapLayerGroup.md +94 -0
  64. package/dist/docs/components/mapMarker.md +1814 -0
  65. package/dist/docs/components/mapPolygon.md +959 -0
  66. package/dist/docs/components/mapRoute.md +3816 -0
  67. package/dist/docs/components/mapRouteGenerator.md +6 -0
  68. package/dist/docs/components/mapSettings.md +1040 -0
  69. package/dist/docs/components/mapUtils.md +132 -0
  70. package/dist/docs/components/multiselects.md +1921 -0
  71. package/dist/docs/components/noData.md +210 -0
  72. package/dist/docs/components/notifications.md +314 -0
  73. package/dist/docs/components/numbercontrol.md +706 -0
  74. package/dist/docs/components/onboarding.md +297 -0
  75. package/dist/docs/components/page.md +241 -0
  76. package/dist/docs/components/pager.md +133 -0
  77. package/dist/docs/components/pieCharts.md +1284 -0
  78. package/dist/docs/components/popover.md +222 -0
  79. package/dist/docs/components/position.md +50 -0
  80. package/dist/docs/components/radialBarCharts.md +3663 -0
  81. package/dist/docs/components/radiobutton.md +1271 -0
  82. package/dist/docs/components/releaseNotes.md +135 -0
  83. package/dist/docs/components/resizer.md +162 -0
  84. package/dist/docs/components/responsiveColumnStripe.md +435 -0
  85. package/dist/docs/components/responsiveVideo.md +71 -0
  86. package/dist/docs/components/rioglyph.md +331 -0
  87. package/dist/docs/components/rules.md +965 -0
  88. package/dist/docs/components/saveableInput.md +1721 -0
  89. package/dist/docs/components/selects.md +1993 -0
  90. package/dist/docs/components/sidebar.md +332 -0
  91. package/dist/docs/components/sliders.md +376 -0
  92. package/dist/docs/components/smoothScrollbars.md +1180 -0
  93. package/dist/docs/components/spinners.md +506 -0
  94. package/dist/docs/components/states.md +1176 -0
  95. package/dist/docs/components/statsWidgets.md +636 -0
  96. package/dist/docs/components/statusBar.md +644 -0
  97. package/dist/docs/components/stepButton.md +61 -0
  98. package/dist/docs/components/steppedProgressBars.md +1064 -0
  99. package/dist/docs/components/subNavigation.md +470 -0
  100. package/dist/docs/components/supportMarker.md +115 -0
  101. package/dist/docs/components/svgImage.md +248 -0
  102. package/dist/docs/components/switch.md +554 -0
  103. package/dist/docs/components/tables.md +8 -0
  104. package/dist/docs/components/tagManager.md +476 -0
  105. package/dist/docs/components/tags.md +785 -0
  106. package/dist/docs/components/teaser.md +925 -0
  107. package/dist/docs/components/timeline.md +514 -0
  108. package/dist/docs/components/timepicker.md +262 -0
  109. package/dist/docs/components/toggleButton.md +178 -0
  110. package/dist/docs/components/tooltip.md +454 -0
  111. package/dist/docs/components/virtualList.md +483 -0
  112. package/dist/docs/foundations.md +20901 -0
  113. package/dist/docs/start/changelog.md +439 -0
  114. package/dist/docs/start/goodtoknow.md +14 -0
  115. package/dist/docs/start/guidelines/color-combinations.md +678 -0
  116. package/dist/docs/start/guidelines/custom-css.md +42 -0
  117. package/dist/docs/start/guidelines/custom-rioglyph.md +35 -0
  118. package/dist/docs/start/guidelines/formatting.md +587 -0
  119. package/dist/docs/start/guidelines/iframe.md +323 -0
  120. package/dist/docs/start/guidelines/obfuscate-data.md +30 -0
  121. package/dist/docs/start/guidelines/print-css.md +36 -0
  122. package/dist/docs/start/guidelines/spinner.md +710 -0
  123. package/dist/docs/start/guidelines/supported-browsers.md +10 -0
  124. package/dist/docs/start/guidelines/writing.md +635 -0
  125. package/dist/docs/start/howto.md +187 -0
  126. package/dist/docs/start/intro.md +43 -0
  127. package/dist/docs/start/responsiveness.md +98 -0
  128. package/dist/docs/templates/common-table.md +1111 -0
  129. package/dist/docs/templates/detail-views.md +942 -0
  130. package/dist/docs/templates/expandable-details.md +228 -0
  131. package/dist/docs/templates/feature-cards.md +549 -0
  132. package/dist/docs/templates/form-summary.md +199 -0
  133. package/dist/docs/templates/form-toggle.md +367 -0
  134. package/dist/docs/templates/list-blocks.md +1021 -0
  135. package/dist/docs/templates/loading-progress.md +109 -0
  136. package/dist/docs/templates/options-panel.md +152 -0
  137. package/dist/docs/templates/panel-variants.md +164 -0
  138. package/dist/docs/templates/progress-cards.md +607 -0
  139. package/dist/docs/templates/progress-success.md +142 -0
  140. package/dist/docs/templates/settings-form.md +434 -0
  141. package/dist/docs/templates/stats-blocks.md +1381 -0
  142. package/dist/docs/templates/table-panel.md +184 -0
  143. package/dist/docs/templates/table-row-animation.md +317 -0
  144. package/dist/docs/templates/usage-cards.md +227 -0
  145. package/dist/docs/utilities/deviceUtils.md +123 -0
  146. package/dist/docs/utilities/featureToggles.md +90 -0
  147. package/dist/docs/utilities/fuelTypeUtils.md +186 -0
  148. package/dist/docs/utilities/routeUtils.md +138 -0
  149. package/dist/docs/utilities/useAfterMount.md +66 -0
  150. package/dist/docs/utilities/useAutoAnimate.md +193 -0
  151. package/dist/docs/utilities/useAverage.md +95 -0
  152. package/dist/docs/utilities/useClickOutside.md +61 -0
  153. package/dist/docs/utilities/useClipboard.md +93 -0
  154. package/dist/docs/utilities/useCount.md +178 -0
  155. package/dist/docs/utilities/useDarkMode.md +49 -0
  156. package/dist/docs/utilities/useDebugInfo.md +126 -0
  157. package/dist/docs/utilities/useEffectOnce.md +58 -0
  158. package/dist/docs/utilities/useElapsedTime.md +58 -0
  159. package/dist/docs/utilities/useElementSize.md +71 -0
  160. package/dist/docs/utilities/useEsc.md +58 -0
  161. package/dist/docs/utilities/useEvent.md +64 -0
  162. package/dist/docs/utilities/useFocusTrap.md +85 -0
  163. package/dist/docs/utilities/useFullscreen.md +198 -0
  164. package/dist/docs/utilities/useHover.md +55 -0
  165. package/dist/docs/utilities/useIncomingPostMessages.md +237 -0
  166. package/dist/docs/utilities/useInterval.md +85 -0
  167. package/dist/docs/utilities/useIsFocusWithin.md +114 -0
  168. package/dist/docs/utilities/useKey.md +151 -0
  169. package/dist/docs/utilities/useLocalStorage.md +91 -0
  170. package/dist/docs/utilities/useLocationSuggestions.md +114 -0
  171. package/dist/docs/utilities/useMax.md +62 -0
  172. package/dist/docs/utilities/useMin.md +78 -0
  173. package/dist/docs/utilities/useMutationObserver.md +113 -0
  174. package/dist/docs/utilities/useOnScreen.md +138 -0
  175. package/dist/docs/utilities/useOnlineStatus.md +49 -0
  176. package/dist/docs/utilities/usePostMessage.md +117 -0
  177. package/dist/docs/utilities/usePostMessageSender.md +257 -0
  178. package/dist/docs/utilities/usePrevious.md +101 -0
  179. package/dist/docs/utilities/useResizeObserver.md +151 -0
  180. package/dist/docs/utilities/useScrollPosition.md +252 -0
  181. package/dist/docs/utilities/useSearch.md +228 -0
  182. package/dist/docs/utilities/useSorting.md +389 -0
  183. package/dist/docs/utilities/useStateWithValidation.md +83 -0
  184. package/dist/docs/utilities/useSum.md +155 -0
  185. package/dist/docs/utilities/useTableExport.md +404 -0
  186. package/dist/docs/utilities/useTableSelection.md +1120 -0
  187. package/dist/docs/utilities/useTimeout.md +55 -0
  188. package/dist/docs/utilities/useToggle.md +115 -0
  189. package/dist/docs/utilities/useWindowResize.md +70 -0
  190. package/dist/index.mjs +271 -0
  191. package/dist/search-synonyms.json +134 -0
  192. package/dist/version.json +4 -0
  193. package/package.json +23 -19
  194. package/bin/uikit-mcp.mjs +0 -23
  195. package/data/pages/Components/components/accentbar.json +0 -207
  196. package/data/pages/Components/components/activity.json +0 -87
  197. package/data/pages/Components/components/animatednumber.json +0 -99
  198. package/data/pages/Components/components/animations.json +0 -87
  199. package/data/pages/Components/components/appheader.json +0 -291
  200. package/data/pages/Components/components/applayout.json +0 -1198
  201. package/data/pages/Components/components/appnavigationbar.json +0 -327
  202. package/data/pages/Components/components/areacharts.json +0 -563
  203. package/data/pages/Components/components/aspectratioplaceholder.json +0 -75
  204. package/data/pages/Components/components/assettree.json +0 -3080
  205. package/data/pages/Components/components/autosuggests.json +0 -710
  206. package/data/pages/Components/components/avatar.json +0 -157
  207. package/data/pages/Components/components/banner.json +0 -599
  208. package/data/pages/Components/components/barcharts.json +0 -1507
  209. package/data/pages/Components/components/barlist.json +0 -223
  210. package/data/pages/Components/components/basicmap.json +0 -68
  211. package/data/pages/Components/components/bottomsheet.json +0 -601
  212. package/data/pages/Components/components/button.json +0 -583
  213. package/data/pages/Components/components/buttontoolbar.json +0 -63
  214. package/data/pages/Components/components/calendarstripe.json +0 -235
  215. package/data/pages/Components/components/card.json +0 -69
  216. package/data/pages/Components/components/carousel.json +0 -39
  217. package/data/pages/Components/components/chartcolors.json +0 -34
  218. package/data/pages/Components/components/chartsgettingstarted.json +0 -32
  219. package/data/pages/Components/components/chat.json +0 -39
  220. package/data/pages/Components/components/checkbox.json +0 -847
  221. package/data/pages/Components/components/clearableinput.json +0 -789
  222. package/data/pages/Components/components/collapse.json +0 -175
  223. package/data/pages/Components/components/composedcharts.json +0 -159
  224. package/data/pages/Components/components/contentloader.json +0 -233
  225. package/data/pages/Components/components/datatabs.json +0 -680
  226. package/data/pages/Components/components/datepickers.json +0 -287
  227. package/data/pages/Components/components/dialogs.json +0 -1492
  228. package/data/pages/Components/components/divider.json +0 -93
  229. package/data/pages/Components/components/dropdowns.json +0 -936
  230. package/data/pages/Components/components/editablecontent.json +0 -1117
  231. package/data/pages/Components/components/expander.json +0 -377
  232. package/data/pages/Components/components/fade.json +0 -403
  233. package/data/pages/Components/components/fadeexpander.json +0 -75
  234. package/data/pages/Components/components/fadeup.json +0 -127
  235. package/data/pages/Components/components/feedback.json +0 -269
  236. package/data/pages/Components/components/filepickers.json +0 -269
  237. package/data/pages/Components/components/formlabel.json +0 -115
  238. package/data/pages/Components/components/fullscreenmap.json +0 -22
  239. package/data/pages/Components/components/groupeditemlist.json +0 -323
  240. package/data/pages/Components/components/iconlist.json +0 -45
  241. package/data/pages/Components/components/imagepreloader.json +0 -81
  242. package/data/pages/Components/components/labeledelement.json +0 -75
  243. package/data/pages/Components/components/licenseplate.json +0 -69
  244. package/data/pages/Components/components/linecharts.json +0 -987
  245. package/data/pages/Components/components/listmenu.json +0 -313
  246. package/data/pages/Components/components/loadmore.json +0 -175
  247. package/data/pages/Components/components/mainnavigation.json +0 -39
  248. package/data/pages/Components/components/mapcircle.json +0 -34
  249. package/data/pages/Components/components/mapcluster.json +0 -51
  250. package/data/pages/Components/components/mapcontext.json +0 -105
  251. package/data/pages/Components/components/mapdraggablemarker.json +0 -34
  252. package/data/pages/Components/components/mapgettingstarted.json +0 -27
  253. package/data/pages/Components/components/mapgroup.json +0 -1198
  254. package/data/pages/Components/components/mapinfobubble.json +0 -34
  255. package/data/pages/Components/components/maplayergroup.json +0 -34
  256. package/data/pages/Components/components/mapmarker.json +0 -700
  257. package/data/pages/Components/components/mappolygon.json +0 -45
  258. package/data/pages/Components/components/maproute.json +0 -623
  259. package/data/pages/Components/components/maproutegenerator.json +0 -16
  260. package/data/pages/Components/components/mapsettings.json +0 -51
  261. package/data/pages/Components/components/maputils.json +0 -34
  262. package/data/pages/Components/components/multiselects.json +0 -1451
  263. package/data/pages/Components/components/nodata.json +0 -139
  264. package/data/pages/Components/components/notifications.json +0 -65
  265. package/data/pages/Components/components/numbercontrol.json +0 -301
  266. package/data/pages/Components/components/onboarding.json +0 -302
  267. package/data/pages/Components/components/page.json +0 -197
  268. package/data/pages/Components/components/pager.json +0 -93
  269. package/data/pages/Components/components/piecharts.json +0 -731
  270. package/data/pages/Components/components/popover.json +0 -251
  271. package/data/pages/Components/components/position.json +0 -69
  272. package/data/pages/Components/components/radialbarcharts.json +0 -1304
  273. package/data/pages/Components/components/radiobutton.json +0 -1105
  274. package/data/pages/Components/components/releasenotes.json +0 -44
  275. package/data/pages/Components/components/resizer.json +0 -93
  276. package/data/pages/Components/components/responsivecolumnstripe.json +0 -123
  277. package/data/pages/Components/components/responsivevideo.json +0 -75
  278. package/data/pages/Components/components/rioglyph.json +0 -93
  279. package/data/pages/Components/components/rules.json +0 -410
  280. package/data/pages/Components/components/saveableinput.json +0 -703
  281. package/data/pages/Components/components/selects.json +0 -701
  282. package/data/pages/Components/components/sidebar.json +0 -243
  283. package/data/pages/Components/components/sliders.json +0 -235
  284. package/data/pages/Components/components/smoothscrollbars.json +0 -335
  285. package/data/pages/Components/components/spinners.json +0 -343
  286. package/data/pages/Components/components/states.json +0 -1705
  287. package/data/pages/Components/components/statswidgets.json +0 -314
  288. package/data/pages/Components/components/statusbar.json +0 -177
  289. package/data/pages/Components/components/stepbutton.json +0 -57
  290. package/data/pages/Components/components/steppedprogressbars.json +0 -417
  291. package/data/pages/Components/components/subnavigation.json +0 -107
  292. package/data/pages/Components/components/supportmarker.json +0 -45
  293. package/data/pages/Components/components/svgimage.json +0 -81
  294. package/data/pages/Components/components/switch.json +0 -111
  295. package/data/pages/Components/components/tables.json +0 -144
  296. package/data/pages/Components/components/tagmanager.json +0 -86
  297. package/data/pages/Components/components/tags.json +0 -146
  298. package/data/pages/Components/components/teaser.json +0 -188
  299. package/data/pages/Components/components/timeline.json +0 -45
  300. package/data/pages/Components/components/timepicker.json +0 -163
  301. package/data/pages/Components/components/togglebutton.json +0 -247
  302. package/data/pages/Components/components/tooltip.json +0 -270
  303. package/data/pages/Components/components/virtuallist.json +0 -175
  304. package/data/pages/Foundations/foundations.json +0 -2475
  305. package/data/pages/Getting-started/start/changelog.json +0 -22
  306. package/data/pages/Getting-started/start/goodtoknow.json +0 -32
  307. package/data/pages/Getting-started/start/guidelines/color-combinations.json +0 -58
  308. package/data/pages/Getting-started/start/guidelines/custom-css.json +0 -27
  309. package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +0 -22
  310. package/data/pages/Getting-started/start/guidelines/formatting.json +0 -97
  311. package/data/pages/Getting-started/start/guidelines/iframe.json +0 -93
  312. package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +0 -22
  313. package/data/pages/Getting-started/start/guidelines/print-css.json +0 -37
  314. package/data/pages/Getting-started/start/guidelines/spinner.json +0 -144
  315. package/data/pages/Getting-started/start/guidelines/supported-browsers.json +0 -22
  316. package/data/pages/Getting-started/start/guidelines/writing.json +0 -242
  317. package/data/pages/Getting-started/start/howto.json +0 -72
  318. package/data/pages/Getting-started/start/intro.json +0 -37
  319. package/data/pages/Getting-started/start/responsiveness.json +0 -52
  320. package/data/pages/Templates/templates/common-table.json +0 -39
  321. package/data/pages/Templates/templates/detail-views.json +0 -71
  322. package/data/pages/Templates/templates/expandable-details.json +0 -39
  323. package/data/pages/Templates/templates/feature-cards.json +0 -103
  324. package/data/pages/Templates/templates/form-summary.json +0 -39
  325. package/data/pages/Templates/templates/form-toggle.json +0 -39
  326. package/data/pages/Templates/templates/list-blocks.json +0 -119
  327. package/data/pages/Templates/templates/loading-progress.json +0 -39
  328. package/data/pages/Templates/templates/options-panel.json +0 -39
  329. package/data/pages/Templates/templates/panel-variants.json +0 -39
  330. package/data/pages/Templates/templates/progress-cards.json +0 -71
  331. package/data/pages/Templates/templates/progress-success.json +0 -39
  332. package/data/pages/Templates/templates/settings-form.json +0 -39
  333. package/data/pages/Templates/templates/stats-blocks.json +0 -135
  334. package/data/pages/Templates/templates/table-panel.json +0 -39
  335. package/data/pages/Templates/templates/table-row-animation.json +0 -39
  336. package/data/pages/Templates/templates/usage-cards.json +0 -39
  337. package/data/pages/Utilities/utilities/deviceutils.json +0 -39
  338. package/data/pages/Utilities/utilities/featuretoggles.json +0 -42
  339. package/data/pages/Utilities/utilities/fueltypeutils.json +0 -118
  340. package/data/pages/Utilities/utilities/routeutils.json +0 -34
  341. package/data/pages/Utilities/utilities/useaftermount.json +0 -63
  342. package/data/pages/Utilities/utilities/useaverage.json +0 -86
  343. package/data/pages/Utilities/utilities/useclickoutside.json +0 -69
  344. package/data/pages/Utilities/utilities/useclipboard.json +0 -57
  345. package/data/pages/Utilities/utilities/usecount.json +0 -92
  346. package/data/pages/Utilities/utilities/usedarkmode.json +0 -50
  347. package/data/pages/Utilities/utilities/usedebuginfo.json +0 -63
  348. package/data/pages/Utilities/utilities/useeffectonce.json +0 -57
  349. package/data/pages/Utilities/utilities/useelapsedtime.json +0 -57
  350. package/data/pages/Utilities/utilities/useelementsize.json +0 -63
  351. package/data/pages/Utilities/utilities/useesc.json +0 -57
  352. package/data/pages/Utilities/utilities/useevent.json +0 -75
  353. package/data/pages/Utilities/utilities/usefocustrap.json +0 -57
  354. package/data/pages/Utilities/utilities/usefullscreen.json +0 -197
  355. package/data/pages/Utilities/utilities/usehover.json +0 -57
  356. package/data/pages/Utilities/utilities/useinterval.json +0 -63
  357. package/data/pages/Utilities/utilities/useisfocuswithin.json +0 -75
  358. package/data/pages/Utilities/utilities/usekey.json +0 -75
  359. package/data/pages/Utilities/utilities/uselocalstorage.json +0 -69
  360. package/data/pages/Utilities/utilities/uselocationsuggestions.json +0 -110
  361. package/data/pages/Utilities/utilities/usemax.json +0 -86
  362. package/data/pages/Utilities/utilities/usemin.json +0 -86
  363. package/data/pages/Utilities/utilities/usemutationobserver.json +0 -69
  364. package/data/pages/Utilities/utilities/useonlinestatus.json +0 -39
  365. package/data/pages/Utilities/utilities/useonscreen.json +0 -63
  366. package/data/pages/Utilities/utilities/usepostmessage.json +0 -80
  367. package/data/pages/Utilities/utilities/useprevious.json +0 -63
  368. package/data/pages/Utilities/utilities/useresizeobserver.json +0 -65
  369. package/data/pages/Utilities/utilities/usescrollposition.json +0 -103
  370. package/data/pages/Utilities/utilities/usesearch.json +0 -197
  371. package/data/pages/Utilities/utilities/usesorting.json +0 -139
  372. package/data/pages/Utilities/utilities/usestatewithvalidation.json +0 -69
  373. package/data/pages/Utilities/utilities/usesum.json +0 -86
  374. package/data/pages/Utilities/utilities/usetableexport.json +0 -87
  375. package/data/pages/Utilities/utilities/usetableselection.json +0 -311
  376. package/data/pages/Utilities/utilities/usetimeout.json +0 -63
  377. package/data/pages/Utilities/utilities/usetoggle.json +0 -75
  378. package/data/pages/Utilities/utilities/usewindowresize.json +0 -63
  379. package/data/version.json +0 -4
  380. package/docs/content-schema.md +0 -147
  381. package/docs/navigation-inventory.json +0 -1310
  382. package/docs/search-synonyms.json +0 -43
  383. package/server/index.mjs +0 -268
  384. package/server/lib/load-docs.mjs +0 -48
  385. package/server/lib/normalise-doc.mjs +0 -220
  386. package/server/lib/render-markdown.mjs +0 -82
  387. package/server/lib/search-index.mjs +0 -49
  388. package/server/lib/types.js +0 -99
@@ -0,0 +1,297 @@
1
+ # Onboarding
2
+
3
+ *Category:* Components
4
+ *Section:* Misc
5
+ *Source:* https://uikit.developers.rio.cloud/#components/onboarding
6
+ *Captured:* 2025-12-12T12:38:55.062Z
7
+
8
+ Useful when you want to control a single tooltip that highlights a portion of the UI.
9
+
10
+ ## Onboarding
11
+
12
+ ## Single onboarding tip
13
+
14
+ ### Example: Example 1
15
+
16
+ Reveal feature with onboarding tipReset
17
+
18
+ #### Summary
19
+
20
+ Reveal feature with onboarding tipReset
21
+
22
+ #### React (tsx)
23
+
24
+ ```tsx
25
+ import { useEffect, useState } from 'react';
26
+
27
+ import Button from '@rio-cloud/rio-uikit/Button';
28
+ import OnboardingTip from '@rio-cloud/rio-uikit/OnboardingTip';
29
+ import Divider from '@rio-cloud/rio-uikit/Divider';
30
+ import Fade from '@rio-cloud/rio-uikit/Fade';
31
+
32
+ export default () => {
33
+ const [showFeature, setShowFeature] = useState(false);
34
+ const [showTip, setShowTip] = useState(false);
35
+
36
+ useEffect(() => {
37
+ if (showFeature) {
38
+ setTimeout(() => setShowTip(true), 1200);
39
+ }
40
+ }, [showFeature]);
41
+
42
+ const handleReset = () => {
43
+ setShowFeature(false);
44
+ setShowTip(false);
45
+ };
46
+
47
+ return (
48
+ <div>
49
+ <div className='btn-toolbar'>
50
+ <Button bsStyle='primary' onClick={() => setShowFeature(true)}>
51
+ Reveal feature with onboarding tip
52
+ </Button>
53
+ <Button variant='link' onClick={handleReset}>
54
+ Reset
55
+ </Button>
56
+ </div>
57
+ <Divider />
58
+ <div className='display-grid gap-25 grid-cols-3 gap-4'>
59
+ <Fade show={showFeature}>
60
+ <div>
61
+ <OnboardingTip
62
+ show={showTip}
63
+ placement='top-start'
64
+ width={350}
65
+ title='Single onboarding example'
66
+ content='Welcome to the dashboard! This section provides an overview of your activity and important updates.'
67
+ onHide={() => setShowTip(false)}
68
+ >
69
+ <div
70
+ className='panel panel-default position-relative padding-20 text-center bg-white text-wrap-balance'
71
+ data-onboarding
72
+ >
73
+ <span className='rioglyph rioglyph-desktop text-size-h1 text-color-highlight' />
74
+ <h3 className='margin-top-5'>Dashboard</h3>
75
+ <p>See your key metrics and latest updates at a glance.</p>
76
+ </div>
77
+ </OnboardingTip>
78
+ </div>
79
+ </Fade>
80
+ </div>
81
+ </div>
82
+ );
83
+ };
84
+ ```
85
+
86
+ #### Props
87
+
88
+ | Name | Type | Default | Description |
89
+ | --- | --- | --- | --- |
90
+ | id | String | — | The id of the DOM element. |
91
+ | show | Boolean | false | Indicates whether the onboarding tip is shown. |
92
+ | showCloseIcon | Boolean | true | Defines whether to show a close icon. |
93
+ | textAlignment | String | OnboardingTip.TEXT_ALIGNMENT_LEFT | Define how the text should be aligned. Possible values are: OnboardingTip.TEXT_ALIGNMENT_LEFT OnboardingTip.TEXT_ALIGNMENT_CENTER OnboardingTip.TEXT_ALIGNMENT_RIGHT |
94
+ | width | Number | — | Possible values are: auto, 100, 150, 200, 250, 300, 350, 400, 450 or 500 |
95
+ | onHide | Function | () => {} | Callback function for when the component shall be hidden. |
96
+ | useInDialog | Boolean | false | Changes the z-index. |
97
+ | className | String | — | Additional classes to be set on the wrapper element. |
98
+ | title | String / Node | — | The title of the onboarding tip. |
99
+ | content | String / Node | — | The content of the onboarding tip. |
100
+ | preventOverflow | Boolean | true | Prevents Onboarding tips from being cut off horizontally at screen borders. |
101
+ | popperConfig | Object | — | A Popper.js config object passed to the the underlying popper instance. |
102
+ | placement | String | OnboardingTip.BOTTOM | Define how the component should be placed. Possible values are: auto-start, auto, auto-end, top-start, top, top-end, bottom-start, bottom, bottom-end, right-start, right, right-end, left-start, left or left-end |
103
+
104
+ ## Onboarding tour
105
+
106
+ When you want to guide the user through a "tour" with multiple steps explaining individual features or UI elements. The behavior of the whole tour and individual steps can be controlled declaratively.
107
+
108
+ ### Example: Notifications
109
+
110
+ Start walkthroughReset
111
+
112
+ Notifications
113
+ Keep track of important alerts and messages.
114
+ Click here
115
+
116
+ #### Summary
117
+
118
+ Start walkthroughReset
119
+
120
+ Notifications
121
+ Keep track of important alerts and messages.
122
+ Click here
123
+
124
+ #### React (tsx)
125
+
126
+ ```tsx
127
+ import { useState, useEffect, type PropsWithChildren } from 'react';
128
+
129
+ import { useOnboardingTour, type OnboardingStep } from '@rio-cloud/rio-uikit/useOnboarding';
130
+ import Button from '@rio-cloud/rio-uikit/Button';
131
+ import Divider from '@rio-cloud/rio-uikit/Divider';
132
+
133
+ type PanelProps = {
134
+ step?: string;
135
+ };
136
+
137
+ const Panel = ({ children, step }: PropsWithChildren<PanelProps>) => (
138
+ <div
139
+ data-onboarding-walkthrough-step={step}
140
+ className='panel panel-default position-relative padding-20 text-center bg-white text-wrap-balance'
141
+ >
142
+ {children}
143
+ </div>
144
+ );
145
+
146
+ const steps: OnboardingStep[] = [
147
+ {
148
+ element: '[data-onboarding-walkthrough-step="1"]',
149
+ popover: {
150
+ title: 'Animated tour example',
151
+ description:
152
+ 'Welcome to the dashboard! This section provides an overview of your activity and important updates.',
153
+ side: 'top',
154
+ align: 'start',
155
+ showButtons: [],
156
+ },
157
+ },
158
+ {
159
+ element: '[data-onboarding-walkthrough-step="2"]',
160
+ disableActiveInteraction: true,
161
+ popover: {
162
+ title: 'Animated tour example',
163
+ description: 'Here, you can find your recent notifications. Stay updated with real-time alerts!',
164
+ side: 'top',
165
+ align: 'start',
166
+ showButtons: ['next'],
167
+ nextBtnText: 'Next',
168
+ },
169
+ },
170
+ {
171
+ element: '[data-onboarding-walkthrough-step="3"]',
172
+ popover: {
173
+ title: 'Animated tour example',
174
+ description: 'Here, you can find your recent notifications. Stay updated with real-time alerts!',
175
+ side: 'top',
176
+ align: 'start',
177
+ showButtons: [],
178
+ },
179
+ },
180
+ {
181
+ element: '[data-onboarding-walkthrough-step="4"]',
182
+ popover: {
183
+ title: 'Animated tour example',
184
+ description: 'Access your profile settings here. Customize your preferences and manage account details.',
185
+ side: 'top',
186
+ align: 'start',
187
+ showButtons: ['next', 'close'],
188
+ doneBtnText: 'Done',
189
+ },
190
+ },
191
+ ];
192
+
193
+ export default () => {
194
+ const [enableWalkthrough, setEnableWalkthrough] = useState(false);
195
+ const [showContent2, setShowContent2] = useState(false);
196
+ const [showContent3, setShowContent3] = useState(false);
197
+
198
+ const { run, moveTo } = useOnboardingTour({ steps });
199
+
200
+ const handleOnboarding = () => {
201
+ setEnableWalkthrough(true);
202
+ run();
203
+ };
204
+
205
+ const handleShowContent2 = () => setShowContent2(true);
206
+ const handleShowContent3 = () => setShowContent3(true);
207
+
208
+ const handleReset = () => {
209
+ setEnableWalkthrough(false);
210
+ setShowContent2(false);
211
+ setShowContent3(false);
212
+ };
213
+
214
+ useEffect(() => {
215
+ if (enableWalkthrough && showContent2) {
216
+ moveTo(1);
217
+ }
218
+ }, [enableWalkthrough, showContent2]);
219
+
220
+ useEffect(() => {
221
+ if (enableWalkthrough && showContent3) {
222
+ moveTo(3);
223
+ }
224
+ }, [enableWalkthrough, showContent3]);
225
+
226
+ return (
227
+ <div>
228
+ <div className='btn-toolbar'>
229
+ <Button bsStyle='primary' onClick={handleOnboarding}>
230
+ Start walkthrough
231
+ </Button>
232
+ <Button variant='link' onClick={handleReset}>
233
+ Reset
234
+ </Button>
235
+ </div>
236
+ <Divider />
237
+ <div className='display-grid gap-25 grid-cols-3 gap-4'>
238
+ <Panel step='1'>
239
+ <span className='rioglyph rioglyph-notification text-size-h1 text-color-highlight' />
240
+ <h3 className='margin-top-5'>Notifications</h3>
241
+ <p>Keep track of important alerts and messages.</p>
242
+ <Button onClick={handleShowContent2}>Click here</Button>
243
+ </Panel>
244
+ {showContent2 && (
245
+ <>
246
+ <Panel step='2'>
247
+ <span className='rioglyph rioglyph-user text-size-h1 text-color-highlight' />
248
+ <h3 className='margin-top-5'>Profile Settings</h3>
249
+ <p>Manage your personal information and preferences.</p>
250
+ </Panel>
251
+
252
+ <Panel step='3'>
253
+ <span className='rioglyph rioglyph-clipboard text-size-h1 text-color-highlight' />
254
+ <h3 className='margin-top-5'>Project Tracker</h3>
255
+ <p>Monitor your ongoing projects and track deadlines.</p>
256
+ <Button onClick={handleShowContent3}>Click here</Button>
257
+ </Panel>
258
+ </>
259
+ )}
260
+ {showContent3 && (
261
+ <Panel step='4'>
262
+ <span className='rioglyph rioglyph-ok text-size-h1 text-color-highlight' />
263
+ <h3 className='margin-top-5'>Done</h3>
264
+ <p>You have reached the final feature</p>
265
+ </Panel>
266
+ )}
267
+ </div>
268
+ </div>
269
+ );
270
+ };
271
+ ```
272
+
273
+ #### Props
274
+
275
+ | Name | Type | Default | Description |
276
+ | --- | --- | --- | --- |
277
+ | steps | OnboardingStep[] | — | Array of steps to highlight. This should be passed when setting up a product tour. |
278
+ | └element | String | — | The target element to highlight. This can be a DOM element (ref), a function that returns a DOM element, or a CSS selector (most likely, you want to go with a selector as it's the easiest one to implement). If no element is given, the popover will simply be centered on the screen. |
279
+ | └popover | Object | — | Defines the content and appearance of the popover using those properties: title: Title text to be shown. description: Description text to be shown. side: The position of the popover relative to the target element. align: Where the popover is anchored to the target element. showButtons: The buttons that should be shown in the popover - for this step only. disableButtons: The buttons that should be disabled in the popover - for this step only. disableActiveInteraction: Whether to disable interaction with the highlighted element. popoverClass: Custom class to add to the popover element. prevBtnText: Text to use for the "previous" button - specific for this step only. nextBtnText: Text to use for the "next" button - specific for this step only. doneBtnText: Text to use for the "done" (a.k.a. the final "next") button - specific for this step only. |
280
+ | └onHighlightStarted | Function | — | Callback triggered when the highlighting is about to become visible. |
281
+ | └onHighlighted | Function | — | Callback triggered when the highlight is visible. |
282
+ | └onDeselected | Function | — | Callback triggered when the highlight is about to become invisible. |
283
+ | showButtons | AllowedButtons[] | ["next", "previous", "close"] | Array of buttons to show in the popover. Defaults to ["next", "previous", "close"] for product tours and [] for single element highlighting. |
284
+ | disableButtons | AllowedButtons[] | — | Array of buttons to disable. Useful when you want to show some buttons but disable others. |
285
+ | prevBtnText | String | Previous | Text to use for the "previous" buttons. |
286
+ | nextBtnText | String | Next | Text to use for the "next" buttons. |
287
+ | doneBtnText | String | Done | Text to use for the "done" button. |
288
+ | showProgress | Boolean | true | Indicates whether to show progress in the onboarding popover. |
289
+ | allowClose | Boolean | false | Whether to allow closing the popover by clicking on the backdrop. |
290
+ | stagePadding | Number | 10 | Distance between the highlighted element and the cutout. |
291
+ | stageRadius | Number | 5 | Radius of the cutout around the highlighted element. |
292
+ | allowKeyboardControl | Boolean | true | Whether to allow keyboard navigation. |
293
+ | disableActiveInteraction | Boolean | false | Whether to disable interaction with the highlighted element. Can be configured at the step level as well |
294
+ | noBackdrop | Boolean | false | Option to disable the backdrop. The backdrop element is still there but with 100% opacity and the close on the backdrop is disabled. |
295
+ | popoverClass | String | — | Additional classes set on the popover itself. |
296
+ | onPopoverRender | Function | — | Callback triggered when the onboarding popover renders. |
297
+ | onDestroyed | Function | — | Callback triggered when the onboarding tour is "destroyed" (dismissed). |
@@ -0,0 +1,241 @@
1
+ # Page
2
+
3
+ *Category:* Components
4
+ *Section:* Content
5
+ *Source:* https://uikit.developers.rio.cloud/#components/page
6
+ *Captured:* 2025-12-12T12:38:44.541Z
7
+
8
+ ## Page
9
+
10
+ ### Example: A4
11
+
12
+ A4
13
+
14
+ Lorem ipsum dolor
15
+
16
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
17
+
18
+ In mattis massa a tellus laoreet volutpat. Integer placerat convallis tempor. Quisque id diam nec ex iaculis pulvinar. Nunc urna dui, varius at tempus sit amet, euismod id risus. Cras placerat imperdiet mattis. Etiam vehicula finibus magna. Nullam ornare diam at molestie faucibus. Aenean dictum magna a ipsum scelerisque, a vehicula massa vehicula. Suspendisse blandit tellus vulputate enim ullamcorper tincidunt. Vivamus enim justo, sollicitudin sit amet pulvinar vitae, vehicula sed leo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
19
+
20
+ Praesent mattis purus et velit maximus hendrerit. Aenean vehicula tempus dapibus. Mauris convallis pharetra purus, non vulputate erat rutrum quis. Sed in tincidunt justo. Ut eu venenatis augue. Aliquam ullamcorper vitae tellus et egestas. Integer eget metus quis odio elementum auctor quis et ipsum. Duis lobortis eros lacinia sapien rutrum egestas. Phasellus ornare, elit non efficitur fringilla, arcu risus molestie enim, sit amet blandit lorem ex in lectus. Vestibulum quis tempor nisi, at pretium erat.
21
+
22
+ #### Summary
23
+
24
+ A4
25
+
26
+ Lorem ipsum dolor
27
+
28
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
29
+
30
+ In mattis massa a tellus laoreet volutpat. Integer placerat convallis tempor. Quisque id diam nec ex iaculis pulvinar. Nunc urna dui, varius at tempus sit amet, euismod id risus. Cras placerat imperdiet mattis. Etiam vehicula finibus magna. Nullam ornare diam at molestie faucibus. Aenean dictum magna a ipsum scelerisque, a vehicula massa vehicula. Suspendisse blandit tellus vulputate enim ullamcorper tincidunt. Vivamus enim justo, sollicitudin sit amet pulvinar vitae, vehicula sed leo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
31
+
32
+ Praesent mattis purus et velit maximus hendrerit. Aenean vehicula tempus dapibus. Mauris convallis pharetra purus, non vulputate erat rutrum quis. Sed in tincidunt justo. Ut eu venenatis augue. Aliquam ullamcorper vitae tellus et egestas. Integer eget metus quis odio elementum auctor quis et ipsum. Duis lobortis eros lacinia sapien rutrum egestas. Phasellus ornare, elit non efficitur fringilla, arcu risus molestie enim, sit amet blandit lorem ex in lectus. Vestibulum quis tempor nisi, at pretium erat.
33
+
34
+ #### React (tsx)
35
+
36
+ ```tsx
37
+ import Page from '@rio-cloud/rio-uikit/components/page/Page';
38
+
39
+ import sampleShippingDocument from '../../../assets/shipping_list_sample.png';
40
+
41
+ const content = <div className='display-grid place-items-center height-100pct text-size-20 text-color-dark'>A4</div>;
42
+
43
+ import { dummyTextLong } from '../../../utils/data';
44
+
45
+ export default () => (
46
+ <div className='height-600 overflow-y-scroll padding-20'>
47
+ <div className='display-grid place-items-center gap-20'>
48
+ <Page width={600}>{content}</Page>
49
+
50
+ <Page width={600}>
51
+ <img
52
+ className='img-responsive'
53
+ src={sampleShippingDocument}
54
+ loading='lazy'
55
+ alt='sample shipment document'
56
+ />
57
+ </Page>
58
+
59
+ <Page width={600}>
60
+ <div className='padding-x-20'>
61
+ <h2>Lorem ipsum dolor</h2>
62
+ <p>{dummyTextLong}</p>
63
+ </div>
64
+ </Page>
65
+ </div>
66
+ </div>
67
+ );
68
+ ```
69
+
70
+ #### HTML (html)
71
+
72
+ ```html
73
+ <div class="height-600 overflow-y-scroll padding-20">
74
+ <div class="display-grid place-items-center gap-20">
75
+ <div class="Page portrait shadow-hard" style="width: 600px;">
76
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">A4</div>
77
+ </div>
78
+ <div class="Page portrait shadow-hard" style="width: 600px;">
79
+ <img class="img-responsive" src="https://uikit.developers.rio.cloud/assets/shipping_list_sample-iOPFy4Rq.png" loading="lazy" alt="sample shipment document">
80
+ </div>
81
+ <div class="Page portrait shadow-hard" style="width: 600px;">
82
+ <div class="padding-x-20">
83
+ <h2>Lorem ipsum dolor</h2>
84
+ <p>
85
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.
86
+
87
+ In mattis massa a tellus laoreet volutpat. Integer placerat convallis tempor. Quisque id diam nec ex iaculis pulvinar. Nunc urna dui, varius at tempus sit amet, euismod id risus. Cras placerat imperdiet mattis. Etiam vehicula finibus magna. Nullam ornare diam at molestie faucibus. Aenean dictum magna a ipsum scelerisque, a vehicula massa vehicula. Suspendisse blandit tellus vulputate enim ullamcorper tincidunt. Vivamus enim justo, sollicitudin sit amet pulvinar vitae, vehicula sed leo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
88
+
89
+ Praesent mattis purus et velit maximus hendrerit. Aenean vehicula tempus dapibus. Mauris convallis pharetra purus, non vulputate erat rutrum quis. Sed in tincidunt justo. Ut eu venenatis augue. Aliquam ullamcorper vitae tellus et egestas. Integer eget metus quis odio elementum auctor quis et ipsum. Duis lobortis eros lacinia sapien rutrum egestas. Phasellus ornare, elit non efficitur fringilla, arcu risus molestie enim, sit amet blandit lorem ex in lectus. Vestibulum quis tempor nisi, at pretium erat.</p>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ ```
95
+
96
+ #### Props
97
+
98
+ | Name | Type | Default | Description |
99
+ | --- | --- | --- | --- |
100
+ | width | Number | — | Defines the width in pixel of the page. In landscape mode, the width is set as height. The component uses internally the aspect-ratio of a standard DIN A4 page.Please make sure the element does not get stretched when using flexbox. |
101
+ | orientation | 'portrait' \| 'landscape' | portrait | Defines the layout of the page |
102
+ | shadow | Boolean | true | Defines to use a pre-defined shadow style. May be disabled on white background. |
103
+ | border | Boolean | — | Defines to use a pre-defined border style. This may be used to render the page on a white background of as part of another element like a panel. |
104
+ | className | String | — | Additional classes to be set on the wrapper element |
105
+
106
+ ### Example: Page 1
107
+
108
+ Page 1
109
+
110
+ Page 2
111
+
112
+ Page 3
113
+
114
+ Page 4
115
+
116
+ Page 5
117
+
118
+ Page 6
119
+
120
+ #### Summary
121
+
122
+ Page 1
123
+
124
+ Page 2
125
+
126
+ Page 3
127
+
128
+ Page 4
129
+
130
+ Page 5
131
+
132
+ Page 6
133
+
134
+ #### React (tsx)
135
+
136
+ ```tsx
137
+ import Page from '@rio-cloud/rio-uikit/components/page/Page';
138
+
139
+ export default () => (
140
+ <div className='padding-20 overflow-x-scroll'>
141
+ <div className='display-inline-flex gap-20'>
142
+ {Array.from({ length: 6 }, (_, index) => (
143
+ <Page width={300} key={index}>
144
+ <div className='display-grid place-items-center height-100pct text-size-20 text-color-dark'>
145
+ {`Page ${index + 1}`}
146
+ </div>
147
+ </Page>
148
+ ))}
149
+ </div>
150
+ </div>
151
+ );
152
+ ```
153
+
154
+ #### HTML (html)
155
+
156
+ ```html
157
+ <div class="padding-20 overflow-x-scroll">
158
+ <div class="display-inline-flex gap-20">
159
+ <div class="Page portrait shadow-hard" style="width: 300px;">
160
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 1</div>
161
+ </div>
162
+ <div class="Page portrait shadow-hard" style="width: 300px;">
163
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 2</div>
164
+ </div>
165
+ <div class="Page portrait shadow-hard" style="width: 300px;">
166
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 3</div>
167
+ </div>
168
+ <div class="Page portrait shadow-hard" style="width: 300px;">
169
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 4</div>
170
+ </div>
171
+ <div class="Page portrait shadow-hard" style="width: 300px;">
172
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 5</div>
173
+ </div>
174
+ <div class="Page portrait shadow-hard" style="width: 300px;">
175
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Page 6</div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ ```
180
+
181
+ #### Props
182
+
183
+ | Name | Type | Default | Description |
184
+ | --- | --- | --- | --- |
185
+ | width | Number | — | Defines the width in pixel of the page. In landscape mode, the width is set as height. The component uses internally the aspect-ratio of a standard DIN A4 page.Please make sure the element does not get stretched when using flexbox. |
186
+ | orientation | 'portrait' \| 'landscape' | portrait | Defines the layout of the page |
187
+ | shadow | Boolean | true | Defines to use a pre-defined shadow style. May be disabled on white background. |
188
+ | border | Boolean | — | Defines to use a pre-defined border style. This may be used to render the page on a white background of as part of another element like a panel. |
189
+ | className | String | — | Additional classes to be set on the wrapper element |
190
+
191
+ ### Example: Portrait
192
+
193
+ Portrait
194
+
195
+ Landscape
196
+
197
+ #### Summary
198
+
199
+ Portrait
200
+
201
+ Landscape
202
+
203
+ #### React (tsx)
204
+
205
+ ```tsx
206
+ import Page from '@rio-cloud/rio-uikit/components/page/Page';
207
+
208
+ export default () => (
209
+ <div className='display-grid grid-cols-2 place-items-center gap-20'>
210
+ <Page width={210} border shadow={false}>
211
+ <div className='display-grid place-items-center height-100pct text-size-20 text-color-dark'>Portrait</div>
212
+ </Page>
213
+ <Page width={210} border shadow={false} orientation='landscape'>
214
+ <div className='display-grid place-items-center height-100pct text-size-20 text-color-dark'>Landscape</div>
215
+ </Page>
216
+ </div>
217
+ );
218
+ ```
219
+
220
+ #### HTML (html)
221
+
222
+ ```html
223
+ <div class="display-grid grid-cols-2 place-items-center gap-20">
224
+ <div class="Page portrait border border-width-2" style="width: 210px;">
225
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Portrait</div>
226
+ </div>
227
+ <div class="Page landscape border border-width-2" style="height: 210px;">
228
+ <div class="display-grid place-items-center height-100pct text-size-20 text-color-dark">Landscape</div>
229
+ </div>
230
+ </div>
231
+ ```
232
+
233
+ #### Props
234
+
235
+ | Name | Type | Default | Description |
236
+ | --- | --- | --- | --- |
237
+ | width | Number | — | Defines the width in pixel of the page. In landscape mode, the width is set as height. The component uses internally the aspect-ratio of a standard DIN A4 page.Please make sure the element does not get stretched when using flexbox. |
238
+ | orientation | 'portrait' \| 'landscape' | portrait | Defines the layout of the page |
239
+ | shadow | Boolean | true | Defines to use a pre-defined shadow style. May be disabled on white background. |
240
+ | border | Boolean | — | Defines to use a pre-defined border style. This may be used to render the page on a white background of as part of another element like a panel. |
241
+ | className | String | — | Additional classes to be set on the wrapper element |
@@ -0,0 +1,133 @@
1
+ # Pager
2
+
3
+ *Category:* Components
4
+ *Section:* Navigation
5
+ *Source:* https://uikit.developers.rio.cloud/#components/pager
6
+ *Captured:* 2025-12-12T12:38:09.425Z
7
+
8
+ ## Pager
9
+
10
+ ### Example: Example 1
11
+
12
+ Pager with label
13
+
14
+ Previous
15
+ The previous chapter
16
+
17
+ Next
18
+ The next chapter
19
+
20
+ Compact Pager without label
21
+
22
+ Previous
23
+
24
+ Next
25
+
26
+ #### Summary
27
+
28
+ Pager with label
29
+
30
+ Previous
31
+ The previous chapter
32
+
33
+ Next
34
+ The next chapter
35
+
36
+ Compact Pager without label
37
+
38
+ Previous
39
+
40
+ Next
41
+
42
+ #### React (tsx)
43
+
44
+ ```tsx
45
+ import { Title } from '../../../components/Title';
46
+
47
+ import Pager from '@rio-cloud/rio-uikit/Pager';
48
+
49
+ export default () => (
50
+ <div>
51
+ <Title>Pager with label</Title>
52
+ <div className='display-flex gap-15 max-width-800 margin-bottom-50'>
53
+ <Pager label='Previous' title='The previous chapter' alignRight />
54
+ <Pager label='Next' title='The next chapter' />
55
+ </div>
56
+
57
+ <Title>Compact Pager without label</Title>
58
+ <div className='display-flex gap-15 max-width-800 justify-content-between'>
59
+ <Pager title='Previous' variant={Pager.VARIANT_COMPACT} disabled alignRight />
60
+ <Pager title='Next' label='foo' variant={Pager.VARIANT_COMPACT} />
61
+ </div>
62
+ </div>
63
+ );
64
+ ```
65
+
66
+ #### HTML (html)
67
+
68
+ ```html
69
+ <div>
70
+ <div class="lead ">
71
+ <div class="display-flex justify-content-between">
72
+ <div>Pager with label</div>
73
+ </div>
74
+ <hr class="margin-top-10 border-color-light">
75
+ </div>
76
+ <div class="display-flex gap-15 max-width-800 margin-bottom-50">
77
+ <div class="Pager bg-white border display-flex justify-space-between align-items-center flex-row-reverse cursor-pointer user-select-none rounded padding-y-15 padding-x-20 width-100pct">
78
+ <div class="display-flex flex-1-1 flex-column align-items-end">
79
+ <div class="text-color-gray line-height-16">Previous</div>
80
+ <div class="text-color-darker text-right text-size-16 text-medium">The previous chapter</div>
81
+ </div>
82
+ <div class="text-size-12 display-grid place-items-center">
83
+ <span class="rioglyph text-color-darker rioglyph-arrow-left margin-right-10 text-size-200pct">
84
+ </span>
85
+ </div>
86
+ </div>
87
+ <div class="Pager bg-white border display-flex justify-space-between align-items-center cursor-pointer user-select-none rounded padding-y-15 padding-x-20 width-100pct">
88
+ <div class="display-flex flex-1-1 flex-column ">
89
+ <div class="text-color-gray line-height-16">Next</div>
90
+ <div class="text-color-darker text-size-16 text-medium">The next chapter</div>
91
+ </div>
92
+ <div class="text-size-12 display-grid place-items-center">
93
+ <span class="rioglyph text-color-darker rioglyph-arrow-right margin-left-10 text-size-200pct">
94
+ </span>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ <div class="lead ">
99
+ <div class="display-flex justify-content-between">
100
+ <div>Compact Pager without label</div>
101
+ </div>
102
+ <hr class="margin-top-10 border-color-light">
103
+ </div>
104
+ <div class="display-flex gap-15 max-width-800 justify-content-between">
105
+ <div class="Pager bg-white border display-flex justify-space-between align-items-center flex-row-reverse pointer-events-none cursor-pointer user-select-none rounded-circle padding-y-5 padding-x-15 width-auto">
106
+ <div class="display-flex flex-1-1 flex-column align-items-end">
107
+ <div class="text-color-light">Previous</div>
108
+ </div>
109
+ <span class="rioglyph text-color-light rioglyph-chevron-left margin-right-5 text-size-10">
110
+ </span>
111
+ </div>
112
+ <div class="Pager bg-white border display-flex justify-space-between align-items-center cursor-pointer user-select-none rounded-circle padding-y-5 padding-x-15 width-auto">
113
+ <div class="display-flex flex-1-1 flex-column ">
114
+ <div class="text-color-darker">Next</div>
115
+ </div>
116
+ <span class="rioglyph text-color-darker rioglyph-chevron-right margin-left-5 text-size-10">
117
+ </span>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ ```
122
+
123
+ #### Props
124
+
125
+ | Name | Type | Default | Description |
126
+ | --- | --- | --- | --- |
127
+ | title | String / Node | — | The title or name of the section next/previous section. |
128
+ | label | String / Node | — | The optional label for the full variant. |
129
+ | alignRight | Boolean | false | Set right alignment for "previous" pager content to be aligned to the right side of the pager and the arrow on the left side. |
130
+ | disabled | Boolean | false | Sets the pager disabled. |
131
+ | variant | String | full | Define how large the component should be rendered. Possible values are: Pager.VARIANT_FULL, Pager.VARIANT_COMPACT, full, compact |
132
+ | onClick | Function | () => {} | Callback function for when the component is clicked. |
133
+ | className | String | — | Additional classes for the wrapper element. |