@rio-cloud/uikit-mcp 1.0.1 → 1.1.1

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 -39
  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 +2033 -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 +3132 -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 +2765 -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 +533 -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 +935 -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 +17538 -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 +486 -0
  112. package/dist/docs/foundations.md +20901 -0
  113. package/dist/docs/start/changelog.md +714 -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,1176 @@
1
+ # ErrorState
2
+
3
+ *Category:* Components
4
+ *Section:* Content
5
+ *Source:* https://uikit.developers.rio.cloud/#components/states
6
+ *Captured:* 2025-12-12T14:20:53.901Z
7
+
8
+ A simple component to show an error to the user.
9
+
10
+ ## ErrorState
11
+
12
+ ### Example: Something went wrong
13
+
14
+ Something went wrong
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.
17
+ Try again
18
+
19
+ Condensed version example
20
+
21
+ 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.
22
+ Try again
23
+
24
+ #### Summary
25
+
26
+ Something went wrong
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.
29
+ Try again
30
+
31
+ Condensed version example
32
+
33
+ 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.
34
+ Try again
35
+
36
+ #### React (tsx)
37
+
38
+ ```tsx
39
+ import ErrorState from '@rio-cloud/rio-uikit/ErrorState';
40
+ import Notification from '@rio-cloud/rio-uikit/Notification';
41
+
42
+ import { dummyTextExtraShort } from '../../../utils/data';
43
+
44
+ export default () => (
45
+ <>
46
+ <ErrorState
47
+ headline='Something went wrong'
48
+ message={dummyTextExtraShort}
49
+ buttons={[
50
+ {
51
+ text: (
52
+ <>
53
+ <span className='rioglyph rioglyph-refresh' />
54
+ <span>Try again</span>
55
+ </>
56
+ ),
57
+ className: 'foobar',
58
+ onClick: () => Notification.info('Button pressed'),
59
+ },
60
+ ]}
61
+ />
62
+ <hr />
63
+ <ErrorState
64
+ headline='Condensed version example'
65
+ message={dummyTextExtraShort}
66
+ condensed
67
+ buttons={[
68
+ {
69
+ text: (
70
+ <>
71
+ <span className='rioglyph rioglyph-refresh' />
72
+ <span>Try again</span>
73
+ </>
74
+ ),
75
+ className: 'foobar',
76
+ onClick: () => Notification.info('Button pressed'),
77
+ },
78
+ ]}
79
+ />
80
+ </>
81
+ );
82
+ ```
83
+
84
+ #### HTML (html)
85
+
86
+ ```html
87
+ <div class="display-flex justify-content-center max-width-100pct">
88
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
89
+ <div class="display-flex flex-column align-items-center text-center padding-25">
90
+ <div class="text-size-h2 margin-bottom-20">
91
+ <span class="rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct">
92
+ </span>
93
+ </div>
94
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Something went wrong</div>
95
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
96
+ 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.</div>
97
+ <div class="btn-toolbar margin-top-20">
98
+ <button class="btn margin-top-10 btn-primary foobar" type="button">
99
+ <span class="rioglyph rioglyph-refresh">
100
+ </span>
101
+ <span>Try again</span>
102
+ </button>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <hr>
108
+ <div class="display-flex justify-content-center max-width-100pct">
109
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-10">
110
+ <div class="display-flex flex-column align-items-center text-center padding-15">
111
+ <div class="text-size-16 margin-bottom-10">
112
+ <span class="rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct">
113
+ </span>
114
+ </div>
115
+ <div class="text-size-h4 line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Condensed version example</div>
116
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
117
+ 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.</div>
118
+ <div class="btn-toolbar margin-top-20">
119
+ <button class="btn margin-top-10 btn-primary foobar" type="button">
120
+ <span class="rioglyph rioglyph-refresh">
121
+ </span>
122
+ <span>Try again</span>
123
+ </button>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ ```
129
+
130
+ #### Props
131
+
132
+ | Name | Type | Default | Description |
133
+ | --- | --- | --- | --- |
134
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
135
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
136
+ | └name | String | — | The name of the icon |
137
+ | └color | String | — | Optional color class name for the icon |
138
+ | └className | String | — | Optional class names for this icon. |
139
+ | headline | String / Node | — | The headline to be shown. |
140
+ | message | String / Node | — | The text to display. |
141
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
142
+ | bsStyle | String | default | Allows to define various button styles. |
143
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
144
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
145
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
146
+ | └className | String | — | Optional class names for this button. |
147
+ | condensed | Boolean | false | Smaller icon and headline size. |
148
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
149
+ | image | Node | — | Custom Image if needed. |
150
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
151
+ | outerClassName | String | — | Optional class names for the wrapper. |
152
+ | innerClassName | String | — | Optional class names for the content. |
153
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
154
+
155
+ ## NotFoundState
156
+
157
+ A simple component to show a message when something could not be found when searching or filtering data.
158
+
159
+ ### Example: Nothing found
160
+
161
+ Nothing found
162
+
163
+ 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.
164
+ Refresh
165
+
166
+ #### Summary
167
+
168
+ Nothing found
169
+
170
+ 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.
171
+ Refresh
172
+
173
+ #### React (tsx)
174
+
175
+ ```tsx
176
+ import NotFoundState from '@rio-cloud/rio-uikit/NotFoundState';
177
+ import Notification from '@rio-cloud/rio-uikit/Notification';
178
+ import { dummyTextShort } from '../../../utils/data';
179
+
180
+ export default () => (
181
+ <NotFoundState
182
+ headline='Nothing found'
183
+ message={dummyTextShort}
184
+ buttons={[
185
+ {
186
+ text: (
187
+ <>
188
+ <span className='rioglyph rioglyph-refresh' />
189
+ <span>Refresh</span>
190
+ </>
191
+ ),
192
+ className: 'foobar',
193
+ onClick: () => Notification.info('Button pressed'),
194
+ },
195
+ ]}
196
+ />
197
+ );
198
+ ```
199
+
200
+ #### HTML (html)
201
+
202
+ ```html
203
+ <div class="display-flex justify-content-center max-width-100pct">
204
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
205
+ <div class="display-flex flex-column align-items-center text-center padding-25">
206
+ <div class="text-size-h2 margin-bottom-20">
207
+ <span class="rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct">
208
+ </span>
209
+ </div>
210
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Nothing found</div>
211
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
212
+ 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.</div>
213
+ <div class="btn-toolbar margin-top-20">
214
+ <button class="btn margin-top-10 btn-primary foobar" type="button">
215
+ <span class="rioglyph rioglyph-refresh">
216
+ </span>
217
+ <span>Refresh</span>
218
+ </button>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ ```
224
+
225
+ #### Props
226
+
227
+ | Name | Type | Default | Description |
228
+ | --- | --- | --- | --- |
229
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
230
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
231
+ | └name | String | — | The name of the icon |
232
+ | └color | String | — | Optional color class name for the icon |
233
+ | └className | String | — | Optional class names for this icon. |
234
+ | headline | String / Node | — | The headline to be shown. |
235
+ | message | String / Node | — | The text to display. |
236
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
237
+ | bsStyle | String | default | Allows to define various button styles. |
238
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
239
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
240
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
241
+ | └className | String | — | Optional class names for this button. |
242
+ | condensed | Boolean | false | Smaller icon and headline size. |
243
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
244
+ | image | Node | — | Custom Image if needed. |
245
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
246
+ | outerClassName | String | — | Optional class names for the wrapper. |
247
+ | innerClassName | String | — | Optional class names for the content. |
248
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
249
+
250
+ ## EmptyState
251
+
252
+ A simple component to show a message when there is no data yet. The user may perform a task first in order to see some data in that view..
253
+
254
+ ### Example: There is no free lunch
255
+
256
+ There is no free lunch
257
+
258
+ 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.
259
+ Add something
260
+
261
+ #### Summary
262
+
263
+ There is no free lunch
264
+
265
+ 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.
266
+ Add something
267
+
268
+ #### React (tsx)
269
+
270
+ ```tsx
271
+ import EmptyState from '@rio-cloud/rio-uikit/EmptyState';
272
+ import Notification from '@rio-cloud/rio-uikit/Notification';
273
+
274
+ import { dummyTextExtraShort } from '../../../utils/data';
275
+
276
+ export default () => (
277
+ <EmptyState
278
+ headline='There is no free lunch'
279
+ message={dummyTextExtraShort}
280
+ buttons={[
281
+ {
282
+ text: (
283
+ <span>
284
+ <span className='rioglyph rioglyph-plus margin-right-5' />
285
+ <span>Add something</span>
286
+ </span>
287
+ ),
288
+ onClick: () => Notification.info('Button pressed'),
289
+ },
290
+ ]}
291
+ />
292
+ );
293
+ ```
294
+
295
+ #### HTML (html)
296
+
297
+ ```html
298
+ <div class="display-flex justify-content-center max-width-100pct">
299
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
300
+ <div class="display-flex flex-column align-items-center text-center padding-25">
301
+ <div class="text-size-h2 margin-bottom-20">
302
+ <span class="rioglyph rioglyph-empty text-color-light text-size-300pct">
303
+ </span>
304
+ </div>
305
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">There is no free lunch</div>
306
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
307
+ 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.</div>
308
+ <div class="btn-toolbar margin-top-20">
309
+ <button class="btn margin-top-10 btn-primary" type="button">
310
+ <span>
311
+ <span class="rioglyph rioglyph-plus margin-right-5">
312
+ </span>
313
+ <span>Add something</span>
314
+ </span>
315
+ </button>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </div>
320
+ ```
321
+
322
+ #### Props
323
+
324
+ | Name | Type | Default | Description |
325
+ | --- | --- | --- | --- |
326
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
327
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
328
+ | └name | String | — | The name of the icon |
329
+ | └color | String | — | Optional color class name for the icon |
330
+ | └className | String | — | Optional class names for this icon. |
331
+ | headline | String / Node | — | The headline to be shown. |
332
+ | message | String / Node | — | The text to display. |
333
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
334
+ | bsStyle | String | default | Allows to define various button styles. |
335
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
336
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
337
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
338
+ | └className | String | — | Optional class names for this button. |
339
+ | condensed | Boolean | false | Smaller icon and headline size. |
340
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
341
+ | image | Node | — | Custom Image if needed. |
342
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
343
+ | outerClassName | String | — | Optional class names for the wrapper. |
344
+ | innerClassName | String | — | Optional class names for the content. |
345
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
346
+
347
+ ## ForbiddenState
348
+
349
+ A simple component to show a message when the access to a certain area is restricted.
350
+
351
+ ### Example: Access not allowed
352
+
353
+ Access not allowed
354
+ You are not allowed to access this resource. Please contact your manager or administrator to gain access.
355
+ Request access
356
+
357
+ #### Summary
358
+
359
+ Access not allowed
360
+ You are not allowed to access this resource. Please contact your manager or administrator to gain access.
361
+ Request access
362
+
363
+ #### React (tsx)
364
+
365
+ ```tsx
366
+ import ForbiddenState from '@rio-cloud/rio-uikit/ForbiddenState';
367
+ import Notification from '@rio-cloud/rio-uikit/Notification';
368
+
369
+ export default () => (
370
+ <ForbiddenState
371
+ headline='Access not allowed'
372
+ message={
373
+ 'You are not allowed to access this resource. ' +
374
+ 'Please contact your manager or administrator to gain access.'
375
+ }
376
+ buttons={[
377
+ {
378
+ text: 'Request access',
379
+ onClick: () => Notification.info('Button pressed'),
380
+ },
381
+ ]}
382
+ />
383
+ );
384
+ ```
385
+
386
+ #### HTML (html)
387
+
388
+ ```html
389
+ <div class="display-flex justify-content-center max-width-100pct">
390
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
391
+ <div class="display-flex flex-column align-items-center text-center padding-25">
392
+ <div class="text-size-h2 margin-bottom-20">
393
+ <span class="rioglyph rioglyph-ban-circle text-color-light text-size-300pct">
394
+ </span>
395
+ </div>
396
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Access not allowed</div>
397
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">You are not allowed to access this resource. Please contact your manager or administrator to gain access.</div>
398
+ <div class="btn-toolbar margin-top-20">
399
+ <button class="btn margin-top-10 btn-primary" type="button">Request access</button>
400
+ </div>
401
+ </div>
402
+ </div>
403
+ </div>
404
+ ```
405
+
406
+ #### Props
407
+
408
+ | Name | Type | Default | Description |
409
+ | --- | --- | --- | --- |
410
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
411
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
412
+ | └name | String | — | The name of the icon |
413
+ | └color | String | — | Optional color class name for the icon |
414
+ | └className | String | — | Optional class names for this icon. |
415
+ | headline | String / Node | — | The headline to be shown. |
416
+ | message | String / Node | — | The text to display. |
417
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
418
+ | bsStyle | String | default | Allows to define various button styles. |
419
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
420
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
421
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
422
+ | └className | String | — | Optional class names for this button. |
423
+ | condensed | Boolean | false | Smaller icon and headline size. |
424
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
425
+ | image | Node | — | Custom Image if needed. |
426
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
427
+ | outerClassName | String | — | Optional class names for the wrapper. |
428
+ | innerClassName | String | — | Optional class names for the content. |
429
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
430
+
431
+ ## MaintenanceState
432
+
433
+ A simple component to show a message when a service is in maintenance.
434
+
435
+ ### Example: Service in maintenance
436
+
437
+ Service in maintenance
438
+ We are sorry for the inconvenience. The interruption will be resolved shortly.
439
+
440
+ #### Summary
441
+
442
+ Service in maintenance
443
+ We are sorry for the inconvenience. The interruption will be resolved shortly.
444
+
445
+ #### React (tsx)
446
+
447
+ ```tsx
448
+ import MaintenanceState from '@rio-cloud/rio-uikit/MaintenanceState';
449
+
450
+ export default () => (
451
+ <MaintenanceState
452
+ headline='Service in maintenance'
453
+ message='We are sorry for the inconvenience. The interruption will be resolved shortly.'
454
+ />
455
+ );
456
+ ```
457
+
458
+ #### HTML (html)
459
+
460
+ ```html
461
+ <div class="display-flex justify-content-center max-width-100pct">
462
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
463
+ <div class="display-flex flex-column align-items-center text-center padding-25">
464
+ <div class="text-size-h2 margin-bottom-20">
465
+ <span class="rioglyph rioglyph-wrench text-color-light text-size-300pct">
466
+ </span>
467
+ </div>
468
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Service in maintenance</div>
469
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">We are sorry for the inconvenience. The interruption will be resolved shortly.</div>
470
+ </div>
471
+ </div>
472
+ </div>
473
+ ```
474
+
475
+ #### Props
476
+
477
+ | Name | Type | Default | Description |
478
+ | --- | --- | --- | --- |
479
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
480
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
481
+ | └name | String | — | The name of the icon |
482
+ | └color | String | — | Optional color class name for the icon |
483
+ | └className | String | — | Optional class names for this icon. |
484
+ | headline | String / Node | — | The headline to be shown. |
485
+ | message | String / Node | — | The text to display. |
486
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
487
+ | bsStyle | String | default | Allows to define various button styles. |
488
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
489
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
490
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
491
+ | └className | String | — | Optional class names for this button. |
492
+ | condensed | Boolean | false | Smaller icon and headline size. |
493
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
494
+ | image | Node | — | Custom Image if needed. |
495
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
496
+ | outerClassName | String | — | Optional class names for the wrapper. |
497
+ | innerClassName | String | — | Optional class names for the content. |
498
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
499
+
500
+ ## CustomState
501
+
502
+ All state components above are based on the more flexible CustomState component. Use this if you need something to be shown which cannot be accomplished otherwise.
503
+
504
+ ### Example: Lorem ipsum dolor sit amet
505
+
506
+ Lorem ipsum dolor sit amet
507
+
508
+ 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.
509
+ Do something buttonPrimary call to action
510
+
511
+ #### Summary
512
+
513
+ Lorem ipsum dolor sit amet
514
+
515
+ 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.
516
+ Do something buttonPrimary call to action
517
+
518
+ #### React (tsx)
519
+
520
+ ```tsx
521
+ import CustomState from '@rio-cloud/rio-uikit/CustomState';
522
+ import Notification from '@rio-cloud/rio-uikit/Notification';
523
+
524
+ import { dummyTextExtraShort } from '../../../utils/data';
525
+
526
+ export default () => (
527
+ <CustomState
528
+ headline='Lorem ipsum dolor sit amet'
529
+ message={dummyTextExtraShort}
530
+ data-testid='demo-test'
531
+ icons={[
532
+ {
533
+ name: 'rioglyph-ok-sign',
534
+ color: 'text-color-highlight',
535
+ className: 'text-size-300pct',
536
+ },
537
+ ]}
538
+ buttons={[
539
+ {
540
+ text: <span>Do something button</span>,
541
+ bsStyle: 'default',
542
+ className: 'foobar',
543
+ onClick: () => Notification.info('Button pressed'),
544
+ },
545
+ {
546
+ text: <span>Primary call to action</span>,
547
+ className: 'foobar',
548
+ onClick: () => Notification.info('Button pressed'),
549
+ },
550
+ ]}
551
+ />
552
+ );
553
+ ```
554
+
555
+ #### HTML (html)
556
+
557
+ ```html
558
+ <div class="display-flex justify-content-center max-width-100pct" data-testid="demo-test">
559
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
560
+ <div class="display-flex flex-column align-items-center text-center padding-25">
561
+ <div class="text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct">
562
+ <span class="rioglyph rioglyph-ok-sign text-color-highlight text-size-300pct">
563
+ </span>
564
+ </div>
565
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Lorem ipsum dolor sit amet</div>
566
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
567
+ 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.</div>
568
+ <div class="btn-toolbar margin-top-20 justify-content-center-xs">
569
+ <button class="btn margin-top-10 btn-default foobar" type="button">
570
+ <span>Do something button</span>
571
+ </button>
572
+ <button class="btn margin-top-10 btn-primary foobar" type="button">
573
+ <span>Primary call to action</span>
574
+ </button>
575
+ </div>
576
+ </div>
577
+ </div>
578
+ </div>
579
+ ```
580
+
581
+ #### Props
582
+
583
+ | Name | Type | Default | Description |
584
+ | --- | --- | --- | --- |
585
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
586
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
587
+ | └name | String | — | The name of the icon |
588
+ | └color | String | — | Optional color class name for the icon |
589
+ | └className | String | — | Optional class names for this icon. |
590
+ | headline | String / Node | — | The headline to be shown. |
591
+ | message | String / Node | — | The text to display. |
592
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
593
+ | bsStyle | String | default | Allows to define various button styles. |
594
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
595
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
596
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
597
+ | └className | String | — | Optional class names for this button. |
598
+ | condensed | Boolean | false | Smaller icon and headline size. |
599
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
600
+ | image | Node | — | Custom Image if needed. |
601
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
602
+ | outerClassName | String | — | Optional class names for the wrapper. |
603
+ | innerClassName | String | — | Optional class names for the content. |
604
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
605
+
606
+ ### Example: You don't have access to this issue
607
+
608
+ You don't have access to this issue
609
+ Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
610
+ View permissionsRequest access
611
+ Learn more
612
+
613
+ #### Summary
614
+
615
+ You don't have access to this issue
616
+ Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
617
+ View permissionsRequest access
618
+ Learn more
619
+
620
+ #### React (tsx)
621
+
622
+ ```tsx
623
+ import CustomState from '@rio-cloud/rio-uikit/CustomState';
624
+ import Notification from '@rio-cloud/rio-uikit/Notification';
625
+
626
+ export default () => (
627
+ <CustomState
628
+ headline={<span>You don't have access to this issue</span>}
629
+ message={
630
+ <span>
631
+ Make sure the issue exists in this project. If it does, ask a project admin for permission to see the
632
+ project's issues.
633
+ </span>
634
+ }
635
+ buttons={[
636
+ {
637
+ text: <span>View permissions</span>,
638
+ bsStyle: 'default',
639
+ onClick: () => Notification.info('Button pressed'),
640
+ },
641
+ {
642
+ text: <span>Request access</span>,
643
+ onClick: () => Notification.info('Button pressed'),
644
+ },
645
+ {
646
+ text: <span>Learn more</span>,
647
+ className: 'btn-link',
648
+ href: '#',
649
+ },
650
+ ]}
651
+ />
652
+ );
653
+ ```
654
+
655
+ #### HTML (html)
656
+
657
+ ```html
658
+ <div class="display-flex justify-content-center max-width-100pct">
659
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
660
+ <div class="display-flex flex-column align-items-center text-center padding-25">
661
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">
662
+ <span>You don't have access to this issue</span>
663
+ </div>
664
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
665
+ <span>Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.</span>
666
+ </div>
667
+ <div class="btn-toolbar margin-top-20 justify-content-center-xs">
668
+ <button class="btn margin-top-10 btn-default" type="button">
669
+ <span>View permissions</span>
670
+ </button>
671
+ <button class="btn margin-top-10 btn-primary" type="button">
672
+ <span>Request access</span>
673
+ </button>
674
+ </div>
675
+ <div class="btn-toolbar">
676
+ <a class="margin-top-15 btn-link" href="#">
677
+ <span>Learn more</span>
678
+ </a>
679
+ </div>
680
+ </div>
681
+ </div>
682
+ </div>
683
+ ```
684
+
685
+ #### Props
686
+
687
+ | Name | Type | Default | Description |
688
+ | --- | --- | --- | --- |
689
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
690
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
691
+ | └name | String | — | The name of the icon |
692
+ | └color | String | — | Optional color class name for the icon |
693
+ | └className | String | — | Optional class names for this icon. |
694
+ | headline | String / Node | — | The headline to be shown. |
695
+ | message | String / Node | — | The text to display. |
696
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
697
+ | bsStyle | String | default | Allows to define various button styles. |
698
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
699
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
700
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
701
+ | └className | String | — | Optional class names for this button. |
702
+ | condensed | Boolean | false | Smaller icon and headline size. |
703
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
704
+ | image | Node | — | Custom Image if needed. |
705
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
706
+ | outerClassName | String | — | Optional class names for the wrapper. |
707
+ | innerClassName | String | — | Optional class names for the content. |
708
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
709
+
710
+ ## NotBookedState
711
+
712
+ A simple component to show a message when Service content requires a Marketplace booking.
713
+
714
+ ### Example: Premium feature
715
+
716
+ Premium feature
717
+ Book Timed now and get access to the following and many more special features
718
+ Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.
719
+ The driver’s activities are transmitted automatically and archived on the platform for 90 days.
720
+
721
+ #### Summary
722
+
723
+ Premium feature
724
+ Book Timed now and get access to the following and many more special features
725
+ Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.
726
+ The driver’s activities are transmitted automatically and archived on the platform for 90 days.
727
+
728
+ #### React (tsx)
729
+
730
+ ```tsx
731
+ import NotBookedState from '@rio-cloud/rio-uikit/NotBookedState';
732
+
733
+ export default () => (
734
+ <NotBookedState
735
+ headline='Premium feature'
736
+ message='Book Timed now and get access to the following and many more special features'
737
+ features={[
738
+ 'Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.',
739
+ 'The driver’s activities are transmitted automatically and archived on the platform for 90 days.',
740
+ ]}
741
+ >
742
+ <iframe className='buyButton' src='https://buybutton.marketplace.rio.cloud/?productId=RIO-SKU00000027' />
743
+ </NotBookedState>
744
+ );
745
+ ```
746
+
747
+ #### HTML (html)
748
+
749
+ ```html
750
+ <div class="display-flex justify-content-center max-width-100pct">
751
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
752
+ <div class="display-flex flex-column align-items-center text-center padding-25">
753
+ <div class="text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct">
754
+ <span class="rioglyph rioglyph-stars text-color-primary text-size-300pct">
755
+ </span>
756
+ </div>
757
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Premium feature</div>
758
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
759
+ <div class="text-medium margin-bottom-20">Book Timed now and get access to the following and many more special features</div>
760
+ <ul class="feature-list icon-list margin-x-10pct-ls margin-y-10 text-size-12 text-size-14-sm" id="features">
761
+ <li class="padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left">
762
+ <span class="rioglyph rioglyph-ok text-color-primary">
763
+ </span>
764
+ <span class="text-color-darker">Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.</span>
765
+ </li>
766
+ <li class="padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left">
767
+ <span class="rioglyph rioglyph-ok text-color-primary">
768
+ </span>
769
+ <span class="text-color-darker">The driver’s activities are transmitted automatically and archived on the platform for 90 days.</span>
770
+ </li>
771
+ </ul>
772
+ </div>
773
+ <div class="width-500 max-width-100pct margin-top-25">
774
+ <iframe class="buyButton" src="https://buybutton.marketplace.rio.cloud/?productId=RIO-SKU00000027">
775
+ </iframe>
776
+ </div>
777
+ </div>
778
+ </div>
779
+ </div>
780
+ ```
781
+
782
+ #### Props
783
+
784
+ | Name | Type | Default | Description |
785
+ | --- | --- | --- | --- |
786
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
787
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
788
+ | └name | String | — | The name of the icon |
789
+ | └color | String | — | Optional color class name for the icon |
790
+ | └className | String | — | Optional class names for this icon. |
791
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
792
+ | bsStyle | String | default | Allows to define various button styles. |
793
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
794
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
795
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
796
+ | └className | String | — | Optional class names for this button. |
797
+ | headline | String / Node | — | The headline to be shown. |
798
+ | message | String / Node | — | The text to display. |
799
+ | features | Array of Objects | [] | List of features. |
800
+ | condensed | Boolean | false | Smaller icon and headline size. |
801
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
802
+ | image | Node | — | Custom Image if needed. |
803
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
804
+ | outerClassName | String | — | Optional class names for the wrapper. |
805
+ | innerClassName | String | — | Optional class names for the content. |
806
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
807
+
808
+ ## Fully customized state
809
+
810
+ ### Example: Stay tuned
811
+
812
+ Stay tuned
813
+
814
+ 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.
815
+
816
+ #### Summary
817
+
818
+ Stay tuned
819
+
820
+ 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.
821
+
822
+ #### React (tsx)
823
+
824
+ ```tsx
825
+ import CustomState from '@rio-cloud/rio-uikit/CustomState';
826
+ import { dummyTextShort } from '../../../utils/data';
827
+
828
+ const image = (
829
+ <img
830
+ className='max-width-500'
831
+ src='https://cdn.rio.cloud/svg/dashboard/dashboard_coming_soon.svg'
832
+ alt='Coming soon'
833
+ />
834
+ );
835
+
836
+ export default () => <CustomState headline='Stay tuned' message={dummyTextShort} fullWidth image={image} />;
837
+ ```
838
+
839
+ #### HTML (html)
840
+
841
+ ```html
842
+ <div class="display-flex justify-content-center max-width-100pct">
843
+ <div class="margin-0 width-100pct panel-default panel padding-15">
844
+ <div class="display-flex flex-column align-items-center text-center padding-25">
845
+ <img class="max-width-500" src="https://cdn.rio.cloud/svg/dashboard/dashboard_coming_soon.svg" alt="Coming soon">
846
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">Stay tuned</div>
847
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
848
+ 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.</div>
849
+ </div>
850
+ </div>
851
+ </div>
852
+ ```
853
+
854
+ #### Props
855
+
856
+ | Name | Type | Default | Description |
857
+ | --- | --- | --- | --- |
858
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
859
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
860
+ | └name | String | — | The name of the icon |
861
+ | └color | String | — | Optional color class name for the icon |
862
+ | └className | String | — | Optional class names for this icon. |
863
+ | headline | String / Node | — | The headline to be shown. |
864
+ | message | String / Node | — | The text to display. |
865
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
866
+ | bsStyle | String | default | Allows to define various button styles. |
867
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
868
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
869
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
870
+ | └className | String | — | Optional class names for this button. |
871
+ | condensed | Boolean | false | Smaller icon and headline size. |
872
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
873
+ | image | Node | — | Custom Image if needed. |
874
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
875
+ | outerClassName | String | — | Optional class names for the wrapper. |
876
+ | innerClassName | String | — | Optional class names for the content. |
877
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
878
+
879
+ ### Example: End User Licence AgreementCurrently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.
880
+
881
+ End User Licence Agreement
882
+ Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.
883
+
884
+ Back to homeProceed with EULA
885
+
886
+ #### Summary
887
+
888
+ End User Licence Agreement
889
+ Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.
890
+
891
+ Back to homeProceed with EULA
892
+
893
+ #### React (tsx)
894
+
895
+ ```tsx
896
+ import CustomState from '@rio-cloud/rio-uikit/CustomState';
897
+
898
+ export default () => (
899
+ <CustomState
900
+ message={
901
+ <div className='display-flex flex-column gap-15'>
902
+ <span className='text-size-h1'>
903
+ <span
904
+ className='rioglyph text-size-300pct '
905
+ style={{ ['--i' as string]: 'url(https://cdn.rio.cloud/riosvg/custom/eu-data-act.svg)' }}
906
+ />
907
+ </span>
908
+ <div className='text-bold text-size-20'>End User Licence Agreement</div>
909
+ <div>
910
+ Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may
911
+ still choose to accept it voluntarily.
912
+ </div>
913
+ </div>
914
+ }
915
+ buttons={[
916
+ {
917
+ text: <span>Back to home</span>,
918
+ bsStyle: 'default',
919
+ },
920
+ {
921
+ text: <span>Proceed with EULA</span>,
922
+ },
923
+ ]}
924
+ />
925
+ );
926
+ ```
927
+
928
+ #### HTML (html)
929
+
930
+ ```html
931
+ <div class="display-flex justify-content-center max-width-100pct">
932
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15">
933
+ <div class="display-flex flex-column align-items-center text-center padding-25">
934
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">
935
+ <div class="display-flex flex-column gap-15">
936
+ <span class="text-size-h1">
937
+ <span class="rioglyph text-size-300pct " style="--i: url(https://cdn.rio.cloud/riosvg/custom/eu-data-act.svg);">
938
+ </span>
939
+ </span>
940
+ <div class="text-bold text-size-20">End User Licence Agreement</div>
941
+ <div>Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.</div>
942
+ </div>
943
+ </div>
944
+ <div class="btn-toolbar margin-top-20 justify-content-center-xs">
945
+ <button class="btn margin-top-10 btn-default" type="button">
946
+ <span>Back to home</span>
947
+ </button>
948
+ <button class="btn margin-top-10 btn-primary" type="button">
949
+ <span>Proceed with EULA</span>
950
+ </button>
951
+ </div>
952
+ </div>
953
+ </div>
954
+ </div>
955
+ ```
956
+
957
+ #### Props
958
+
959
+ | Name | Type | Default | Description |
960
+ | --- | --- | --- | --- |
961
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
962
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
963
+ | └name | String | — | The name of the icon |
964
+ | └color | String | — | Optional color class name for the icon |
965
+ | └className | String | — | Optional class names for this icon. |
966
+ | headline | String / Node | — | The headline to be shown. |
967
+ | message | String / Node | — | The text to display. |
968
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
969
+ | bsStyle | String | default | Allows to define various button styles. |
970
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
971
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
972
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
973
+ | └className | String | — | Optional class names for this button. |
974
+ | condensed | Boolean | false | Smaller icon and headline size. |
975
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
976
+ | image | Node | — | Custom Image if needed. |
977
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
978
+ | outerClassName | String | — | Optional class names for the wrapper. |
979
+ | innerClassName | String | — | Optional class names for the content. |
980
+ | children | Node | — | Additional elements that are rendered below the headline and text. |
981
+
982
+ ## Table with State
983
+
984
+ ### Example: We couldn't find anything that matches your search
985
+
986
+ NotFoundState when search or filter don't return any matching item
987
+ Head ColumnHead ColumnHead ColumnHead ColumnHead Column
988
+
989
+ We couldn't find anything that matches your search
990
+ Please refine your search and check spelling and spacing.
991
+
992
+ EmptyState when no item has been created yet
993
+ Head ColumnHead ColumnHead ColumnHead ColumnHead Column
994
+
995
+ No tracked events for this order
996
+ Events appear when when the order is shared with other users and the order state is active.
997
+ Learn how to start tracking order events
998
+
999
+ #### Summary
1000
+
1001
+ NotFoundState when search or filter don't return any matching item
1002
+ Head ColumnHead ColumnHead ColumnHead ColumnHead Column
1003
+
1004
+ We couldn't find anything that matches your search
1005
+ Please refine your search and check spelling and spacing.
1006
+
1007
+ EmptyState when no item has been created yet
1008
+ Head ColumnHead ColumnHead ColumnHead ColumnHead Column
1009
+
1010
+ No tracked events for this order
1011
+ Events appear when when the order is shared with other users and the order state is active.
1012
+ Learn how to start tracking order events
1013
+
1014
+ #### React (tsx)
1015
+
1016
+ ```tsx
1017
+ import NotFoundState from '@rio-cloud/rio-uikit/NotFoundState';
1018
+ import EmptyState from '@rio-cloud/rio-uikit/EmptyState';
1019
+
1020
+ export default () => (
1021
+ <div>
1022
+ <h5>NotFoundState when search or filter don't return any matching item</h5>
1023
+ <table className='table table-head-filled table-layout-fixed'>
1024
+ <thead>
1025
+ <tr>
1026
+ {[...Array(5)].map(() => (
1027
+ <th key={crypto.randomUUID()} className='ellipsis-1'>
1028
+ Head Column
1029
+ </th>
1030
+ ))}
1031
+ </tr>
1032
+ </thead>
1033
+ <tbody>
1034
+ <tr>
1035
+ <td colSpan={5}>
1036
+ <NotFoundState
1037
+ headline="We couldn't find anything that matches your search"
1038
+ message='Please refine your search and check spelling and spacing.'
1039
+ outerClassName='border-none'
1040
+ />
1041
+ </td>
1042
+ </tr>
1043
+ </tbody>
1044
+ </table>
1045
+ <hr className='border-color-light margin-y-25' />
1046
+ <h5>EmptyState when no item has been created yet</h5>
1047
+ <table className='table table-head-filled table-layout-fixed'>
1048
+ <thead>
1049
+ <tr>
1050
+ {[...Array(5)].map(() => (
1051
+ <th key={crypto.randomUUID()} className='ellipsis-1'>
1052
+ Head Column
1053
+ </th>
1054
+ ))}
1055
+ </tr>
1056
+ </thead>
1057
+ <tbody>
1058
+ <tr>
1059
+ <td colSpan={5}>
1060
+ <EmptyState
1061
+ headline='No tracked events for this order'
1062
+ message={
1063
+ 'Events appear when when the order is shared with other users and the order ' +
1064
+ 'state is active.'
1065
+ }
1066
+ outerClassName='border-none'
1067
+ buttons={[
1068
+ {
1069
+ text: 'Learn how to start tracking order events',
1070
+ href: '#',
1071
+ },
1072
+ ]}
1073
+ />
1074
+ </td>
1075
+ </tr>
1076
+ </tbody>
1077
+ </table>
1078
+ </div>
1079
+ );
1080
+ ```
1081
+
1082
+ #### HTML (html)
1083
+
1084
+ ```html
1085
+ <div>
1086
+ <h5>NotFoundState when search or filter don't return any matching item</h5>
1087
+ <table class="table table-head-filled table-layout-fixed">
1088
+ <thead>
1089
+ <tr>
1090
+ <th class="ellipsis-1">Head Column</th>
1091
+ <th class="ellipsis-1">Head Column</th>
1092
+ <th class="ellipsis-1">Head Column</th>
1093
+ <th class="ellipsis-1">Head Column</th>
1094
+ <th class="ellipsis-1">Head Column</th>
1095
+ </tr>
1096
+ </thead>
1097
+ <tbody>
1098
+ <tr>
1099
+ <td colspan="5">
1100
+ <div class="display-flex justify-content-center max-width-100pct">
1101
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none">
1102
+ <div class="display-flex flex-column align-items-center text-center padding-25">
1103
+ <div class="text-size-h2 margin-bottom-20">
1104
+ <span class="rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct">
1105
+ </span>
1106
+ </div>
1107
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">We couldn't find anything that matches your search</div>
1108
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">Please refine your search and check spelling and spacing.</div>
1109
+ </div>
1110
+ </div>
1111
+ </div>
1112
+ </td>
1113
+ </tr>
1114
+ </tbody>
1115
+ </table>
1116
+ <hr class="border-color-light margin-y-25">
1117
+ <h5>EmptyState when no item has been created yet</h5>
1118
+ <table class="table table-head-filled table-layout-fixed">
1119
+ <thead>
1120
+ <tr>
1121
+ <th class="ellipsis-1">Head Column</th>
1122
+ <th class="ellipsis-1">Head Column</th>
1123
+ <th class="ellipsis-1">Head Column</th>
1124
+ <th class="ellipsis-1">Head Column</th>
1125
+ <th class="ellipsis-1">Head Column</th>
1126
+ </tr>
1127
+ </thead>
1128
+ <tbody>
1129
+ <tr>
1130
+ <td colspan="5">
1131
+ <div class="display-flex justify-content-center max-width-100pct">
1132
+ <div class="margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none">
1133
+ <div class="display-flex flex-column align-items-center text-center padding-25">
1134
+ <div class="text-size-h2 margin-bottom-20">
1135
+ <span class="rioglyph rioglyph-empty text-color-light text-size-300pct">
1136
+ </span>
1137
+ </div>
1138
+ <div class="text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance">No tracked events for this order</div>
1139
+ <div class="text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance">Events appear when when the order is shared with other users and the order state is active.</div>
1140
+ <div class="btn-toolbar margin-top-20">
1141
+ <a class="margin-top-15" href="#">Learn how to start tracking order events</a>
1142
+ </div>
1143
+ </div>
1144
+ </div>
1145
+ </div>
1146
+ </td>
1147
+ </tr>
1148
+ </tbody>
1149
+ </table>
1150
+ </div>
1151
+ ```
1152
+
1153
+ #### Props
1154
+
1155
+ | Name | Type | Default | Description |
1156
+ | --- | --- | --- | --- |
1157
+ | icon | String | — | The icon to be shown. Default icons are defined for all states. |
1158
+ | icons | Array of Objects | [] | List of icons to show instead a single icon. |
1159
+ | └name | String | — | The name of the icon |
1160
+ | └color | String | — | Optional color class name for the icon |
1161
+ | └className | String | — | Optional class names for this icon. |
1162
+ | headline | String / Node | — | The headline to be shown. |
1163
+ | message | String / Node | — | The text to display. |
1164
+ | buttons | Array of Objects | [] | Definitions for the buttons to show. |
1165
+ | bsStyle | String | default | Allows to define various button styles. |
1166
+ | └text | String / Node | — | The button text. This can also be a node with an icon to be shown on the button. |
1167
+ | └onClick | Function | () => {} | Callback fired after the component starts to collapse. |
1168
+ | └href | String | — | Instead of a callback for the button you can specify an "href". This way it will render a link instead. |
1169
+ | └className | String | — | Optional class names for this button. |
1170
+ | condensed | Boolean | false | Smaller icon and headline size. |
1171
+ | fullWidth | Boolean | false | Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component. |
1172
+ | image | Node | — | Custom Image if needed. |
1173
+ | alignment | String | center | Defines where the panel is aligned. Possible values are: left center right |
1174
+ | outerClassName | String | — | Optional class names for the wrapper. |
1175
+ | innerClassName | String | — | Optional class names for the content. |
1176
+ | children | Node | — | Additional elements that are rendered below the headline and text. |