@rio-cloud/uikit-mcp 1.0.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 (198) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +91 -0
  3. package/bin/uikit-mcp.mjs +23 -0
  4. package/data/pages/Components/components/accentbar.json +207 -0
  5. package/data/pages/Components/components/activity.json +87 -0
  6. package/data/pages/Components/components/animatednumber.json +99 -0
  7. package/data/pages/Components/components/animations.json +87 -0
  8. package/data/pages/Components/components/appheader.json +291 -0
  9. package/data/pages/Components/components/applayout.json +1198 -0
  10. package/data/pages/Components/components/appnavigationbar.json +327 -0
  11. package/data/pages/Components/components/areacharts.json +563 -0
  12. package/data/pages/Components/components/aspectratioplaceholder.json +75 -0
  13. package/data/pages/Components/components/assettree.json +3080 -0
  14. package/data/pages/Components/components/autosuggests.json +710 -0
  15. package/data/pages/Components/components/avatar.json +157 -0
  16. package/data/pages/Components/components/banner.json +599 -0
  17. package/data/pages/Components/components/barcharts.json +1507 -0
  18. package/data/pages/Components/components/barlist.json +223 -0
  19. package/data/pages/Components/components/basicmap.json +68 -0
  20. package/data/pages/Components/components/bottomsheet.json +601 -0
  21. package/data/pages/Components/components/button.json +583 -0
  22. package/data/pages/Components/components/buttontoolbar.json +63 -0
  23. package/data/pages/Components/components/calendarstripe.json +235 -0
  24. package/data/pages/Components/components/card.json +69 -0
  25. package/data/pages/Components/components/carousel.json +39 -0
  26. package/data/pages/Components/components/chartcolors.json +34 -0
  27. package/data/pages/Components/components/chartsgettingstarted.json +32 -0
  28. package/data/pages/Components/components/chat.json +39 -0
  29. package/data/pages/Components/components/checkbox.json +847 -0
  30. package/data/pages/Components/components/clearableinput.json +789 -0
  31. package/data/pages/Components/components/collapse.json +175 -0
  32. package/data/pages/Components/components/composedcharts.json +159 -0
  33. package/data/pages/Components/components/contentloader.json +233 -0
  34. package/data/pages/Components/components/datatabs.json +680 -0
  35. package/data/pages/Components/components/datepickers.json +287 -0
  36. package/data/pages/Components/components/dialogs.json +1492 -0
  37. package/data/pages/Components/components/divider.json +93 -0
  38. package/data/pages/Components/components/dropdowns.json +936 -0
  39. package/data/pages/Components/components/editablecontent.json +1117 -0
  40. package/data/pages/Components/components/expander.json +377 -0
  41. package/data/pages/Components/components/fade.json +403 -0
  42. package/data/pages/Components/components/fadeexpander.json +75 -0
  43. package/data/pages/Components/components/fadeup.json +127 -0
  44. package/data/pages/Components/components/feedback.json +269 -0
  45. package/data/pages/Components/components/filepickers.json +269 -0
  46. package/data/pages/Components/components/formlabel.json +115 -0
  47. package/data/pages/Components/components/fullscreenmap.json +22 -0
  48. package/data/pages/Components/components/groupeditemlist.json +323 -0
  49. package/data/pages/Components/components/iconlist.json +45 -0
  50. package/data/pages/Components/components/imagepreloader.json +81 -0
  51. package/data/pages/Components/components/labeledelement.json +75 -0
  52. package/data/pages/Components/components/licenseplate.json +69 -0
  53. package/data/pages/Components/components/linecharts.json +987 -0
  54. package/data/pages/Components/components/listmenu.json +313 -0
  55. package/data/pages/Components/components/loadmore.json +175 -0
  56. package/data/pages/Components/components/mainnavigation.json +39 -0
  57. package/data/pages/Components/components/mapcircle.json +34 -0
  58. package/data/pages/Components/components/mapcluster.json +51 -0
  59. package/data/pages/Components/components/mapcontext.json +105 -0
  60. package/data/pages/Components/components/mapdraggablemarker.json +34 -0
  61. package/data/pages/Components/components/mapgettingstarted.json +27 -0
  62. package/data/pages/Components/components/mapgroup.json +1198 -0
  63. package/data/pages/Components/components/mapinfobubble.json +34 -0
  64. package/data/pages/Components/components/maplayergroup.json +34 -0
  65. package/data/pages/Components/components/mapmarker.json +700 -0
  66. package/data/pages/Components/components/mappolygon.json +45 -0
  67. package/data/pages/Components/components/maproute.json +623 -0
  68. package/data/pages/Components/components/maproutegenerator.json +16 -0
  69. package/data/pages/Components/components/mapsettings.json +51 -0
  70. package/data/pages/Components/components/maputils.json +34 -0
  71. package/data/pages/Components/components/multiselects.json +1451 -0
  72. package/data/pages/Components/components/nodata.json +139 -0
  73. package/data/pages/Components/components/notifications.json +65 -0
  74. package/data/pages/Components/components/numbercontrol.json +301 -0
  75. package/data/pages/Components/components/onboarding.json +302 -0
  76. package/data/pages/Components/components/page.json +197 -0
  77. package/data/pages/Components/components/pager.json +93 -0
  78. package/data/pages/Components/components/piecharts.json +731 -0
  79. package/data/pages/Components/components/popover.json +251 -0
  80. package/data/pages/Components/components/position.json +69 -0
  81. package/data/pages/Components/components/radialbarcharts.json +1304 -0
  82. package/data/pages/Components/components/radiobutton.json +1105 -0
  83. package/data/pages/Components/components/releasenotes.json +44 -0
  84. package/data/pages/Components/components/resizer.json +93 -0
  85. package/data/pages/Components/components/responsivecolumnstripe.json +123 -0
  86. package/data/pages/Components/components/responsivevideo.json +75 -0
  87. package/data/pages/Components/components/rioglyph.json +93 -0
  88. package/data/pages/Components/components/rules.json +410 -0
  89. package/data/pages/Components/components/saveableinput.json +703 -0
  90. package/data/pages/Components/components/selects.json +701 -0
  91. package/data/pages/Components/components/sidebar.json +243 -0
  92. package/data/pages/Components/components/sliders.json +235 -0
  93. package/data/pages/Components/components/smoothscrollbars.json +335 -0
  94. package/data/pages/Components/components/spinners.json +343 -0
  95. package/data/pages/Components/components/states.json +1705 -0
  96. package/data/pages/Components/components/statswidgets.json +314 -0
  97. package/data/pages/Components/components/statusbar.json +177 -0
  98. package/data/pages/Components/components/stepbutton.json +57 -0
  99. package/data/pages/Components/components/steppedprogressbars.json +417 -0
  100. package/data/pages/Components/components/subnavigation.json +107 -0
  101. package/data/pages/Components/components/supportmarker.json +45 -0
  102. package/data/pages/Components/components/svgimage.json +81 -0
  103. package/data/pages/Components/components/switch.json +111 -0
  104. package/data/pages/Components/components/tables.json +144 -0
  105. package/data/pages/Components/components/tagmanager.json +86 -0
  106. package/data/pages/Components/components/tags.json +146 -0
  107. package/data/pages/Components/components/teaser.json +188 -0
  108. package/data/pages/Components/components/timeline.json +45 -0
  109. package/data/pages/Components/components/timepicker.json +163 -0
  110. package/data/pages/Components/components/togglebutton.json +247 -0
  111. package/data/pages/Components/components/tooltip.json +270 -0
  112. package/data/pages/Components/components/virtuallist.json +175 -0
  113. package/data/pages/Foundations/foundations.json +2475 -0
  114. package/data/pages/Getting-started/start/changelog.json +22 -0
  115. package/data/pages/Getting-started/start/goodtoknow.json +32 -0
  116. package/data/pages/Getting-started/start/guidelines/color-combinations.json +58 -0
  117. package/data/pages/Getting-started/start/guidelines/custom-css.json +27 -0
  118. package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +22 -0
  119. package/data/pages/Getting-started/start/guidelines/formatting.json +97 -0
  120. package/data/pages/Getting-started/start/guidelines/iframe.json +93 -0
  121. package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +22 -0
  122. package/data/pages/Getting-started/start/guidelines/print-css.json +37 -0
  123. package/data/pages/Getting-started/start/guidelines/spinner.json +144 -0
  124. package/data/pages/Getting-started/start/guidelines/supported-browsers.json +22 -0
  125. package/data/pages/Getting-started/start/guidelines/writing.json +242 -0
  126. package/data/pages/Getting-started/start/howto.json +72 -0
  127. package/data/pages/Getting-started/start/intro.json +37 -0
  128. package/data/pages/Getting-started/start/responsiveness.json +52 -0
  129. package/data/pages/Templates/templates/common-table.json +39 -0
  130. package/data/pages/Templates/templates/detail-views.json +71 -0
  131. package/data/pages/Templates/templates/expandable-details.json +39 -0
  132. package/data/pages/Templates/templates/feature-cards.json +103 -0
  133. package/data/pages/Templates/templates/form-summary.json +39 -0
  134. package/data/pages/Templates/templates/form-toggle.json +39 -0
  135. package/data/pages/Templates/templates/list-blocks.json +119 -0
  136. package/data/pages/Templates/templates/loading-progress.json +39 -0
  137. package/data/pages/Templates/templates/options-panel.json +39 -0
  138. package/data/pages/Templates/templates/panel-variants.json +39 -0
  139. package/data/pages/Templates/templates/progress-cards.json +71 -0
  140. package/data/pages/Templates/templates/progress-success.json +39 -0
  141. package/data/pages/Templates/templates/settings-form.json +39 -0
  142. package/data/pages/Templates/templates/stats-blocks.json +135 -0
  143. package/data/pages/Templates/templates/table-panel.json +39 -0
  144. package/data/pages/Templates/templates/table-row-animation.json +39 -0
  145. package/data/pages/Templates/templates/usage-cards.json +39 -0
  146. package/data/pages/Utilities/utilities/deviceutils.json +39 -0
  147. package/data/pages/Utilities/utilities/featuretoggles.json +42 -0
  148. package/data/pages/Utilities/utilities/fueltypeutils.json +118 -0
  149. package/data/pages/Utilities/utilities/routeutils.json +34 -0
  150. package/data/pages/Utilities/utilities/useaftermount.json +63 -0
  151. package/data/pages/Utilities/utilities/useaverage.json +86 -0
  152. package/data/pages/Utilities/utilities/useclickoutside.json +69 -0
  153. package/data/pages/Utilities/utilities/useclipboard.json +57 -0
  154. package/data/pages/Utilities/utilities/usecount.json +92 -0
  155. package/data/pages/Utilities/utilities/usedarkmode.json +50 -0
  156. package/data/pages/Utilities/utilities/usedebuginfo.json +63 -0
  157. package/data/pages/Utilities/utilities/useeffectonce.json +57 -0
  158. package/data/pages/Utilities/utilities/useelapsedtime.json +57 -0
  159. package/data/pages/Utilities/utilities/useelementsize.json +63 -0
  160. package/data/pages/Utilities/utilities/useesc.json +57 -0
  161. package/data/pages/Utilities/utilities/useevent.json +75 -0
  162. package/data/pages/Utilities/utilities/usefocustrap.json +57 -0
  163. package/data/pages/Utilities/utilities/usefullscreen.json +197 -0
  164. package/data/pages/Utilities/utilities/usehover.json +57 -0
  165. package/data/pages/Utilities/utilities/useinterval.json +63 -0
  166. package/data/pages/Utilities/utilities/useisfocuswithin.json +75 -0
  167. package/data/pages/Utilities/utilities/usekey.json +75 -0
  168. package/data/pages/Utilities/utilities/uselocalstorage.json +69 -0
  169. package/data/pages/Utilities/utilities/uselocationsuggestions.json +110 -0
  170. package/data/pages/Utilities/utilities/usemax.json +86 -0
  171. package/data/pages/Utilities/utilities/usemin.json +86 -0
  172. package/data/pages/Utilities/utilities/usemutationobserver.json +69 -0
  173. package/data/pages/Utilities/utilities/useonlinestatus.json +39 -0
  174. package/data/pages/Utilities/utilities/useonscreen.json +63 -0
  175. package/data/pages/Utilities/utilities/usepostmessage.json +80 -0
  176. package/data/pages/Utilities/utilities/useprevious.json +63 -0
  177. package/data/pages/Utilities/utilities/useresizeobserver.json +65 -0
  178. package/data/pages/Utilities/utilities/usescrollposition.json +103 -0
  179. package/data/pages/Utilities/utilities/usesearch.json +197 -0
  180. package/data/pages/Utilities/utilities/usesorting.json +139 -0
  181. package/data/pages/Utilities/utilities/usestatewithvalidation.json +69 -0
  182. package/data/pages/Utilities/utilities/usesum.json +86 -0
  183. package/data/pages/Utilities/utilities/usetableexport.json +87 -0
  184. package/data/pages/Utilities/utilities/usetableselection.json +311 -0
  185. package/data/pages/Utilities/utilities/usetimeout.json +63 -0
  186. package/data/pages/Utilities/utilities/usetoggle.json +75 -0
  187. package/data/pages/Utilities/utilities/usewindowresize.json +63 -0
  188. package/data/version.json +4 -0
  189. package/docs/content-schema.md +147 -0
  190. package/docs/navigation-inventory.json +1310 -0
  191. package/docs/search-synonyms.json +43 -0
  192. package/package.json +38 -0
  193. package/server/index.mjs +268 -0
  194. package/server/lib/load-docs.mjs +48 -0
  195. package/server/lib/normalise-doc.mjs +220 -0
  196. package/server/lib/render-markdown.mjs +82 -0
  197. package/server/lib/search-index.mjs +49 -0
  198. package/server/lib/types.js +99 -0
@@ -0,0 +1,327 @@
1
+ {
2
+ "metadata": {
3
+ "captured_at": "2025-11-21T12:07:08.989Z",
4
+ "source": "https://uikit.developers.rio.cloud/#components/appNavigationBar",
5
+ "category": "Components",
6
+ "section": "Navigation",
7
+ "slug": "components/appnavigationbar",
8
+ "version": "v1.13.2",
9
+ "hash_algorithm": "sha256",
10
+ "hash": "86be7239d9ff05db7cc986d7295d5f46beea73f0477965e7bea998ab43626558"
11
+ },
12
+ "title": "AppNavigationBar",
13
+ "lead": null,
14
+ "content": [
15
+ {
16
+ "heading": "AppNavigationBar",
17
+ "body": "",
18
+ "examples": [
19
+ {
20
+ "caption": "Example 1",
21
+ "rendered_html": "<div class=\"playground-content bg-white padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"bg-white border max-width-300\"><div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-14\"><div class=\"grid-stack-item display-flex align-items-center justify-content-between\"><button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darkest\" tabindex=\"0\"><span class=\"rioglyph rioglyph-arrow-left\"></span></button><div class=\"btn-toolbar gap-2\"><span></span></div></div><div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\"><div class=\"ellipsis-1\">Title of content</div></div></div></div></div>",
22
+ "tabs": [
23
+ {
24
+ "label": "React",
25
+ "language": "tsx",
26
+ "code": "import AppNavigationBar from '@rio-cloud/rio-uikit/AppNavigationBar';\n\nexport default () => (\n <div className='bg-white border max-width-300'>\n <AppNavigationBar title='Title of content' />\n </div>\n);"
27
+ },
28
+ {
29
+ "label": "HTML",
30
+ "language": "html",
31
+ "code": "<div class=\"bg-white border max-width-300\">\n <div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-14\">\n <div class=\"grid-stack-item display-flex align-items-center justify-content-between\">\n <button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darkest\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-arrow-left\">\n </span>\n </button>\n <div class=\"btn-toolbar gap-2\">\n <span>\n </span>\n </div>\n </div>\n <div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\">\n <div class=\"ellipsis-1\">Title of content</div>\n </div>\n </div>\n</div>"
32
+ },
33
+ {
34
+ "label": "Props",
35
+ "language": "json",
36
+ "code": null,
37
+ "props": [
38
+ {
39
+ "heading": null,
40
+ "rows": [
41
+ {
42
+ "name": "ref",
43
+ "type": "React.ref",
44
+ "default": "",
45
+ "description": "A ref function assigned to the wrapper element."
46
+ },
47
+ {
48
+ "name": "title",
49
+ "type": "string | ReactNode",
50
+ "default": "",
51
+ "description": "The title for the content that is shown."
52
+ },
53
+ {
54
+ "name": "titleSize",
55
+ "type": "'md' | 'lg'",
56
+ "default": "md",
57
+ "description": "Defines the size of the title. Possible values are \"md\" and \"lg\"."
58
+ },
59
+ {
60
+ "name": "subtitle",
61
+ "type": "string | ReactNode",
62
+ "default": "",
63
+ "description": "Adds a subtitle below the title."
64
+ },
65
+ {
66
+ "name": "right",
67
+ "type": "Node",
68
+ "default": "",
69
+ "description": "Right side area for additional options or buttons like filter etc. that is relevant for the shown content."
70
+ },
71
+ {
72
+ "name": "onNavigateBack",
73
+ "type": "Function",
74
+ "default": "() => {}",
75
+ "description": "Callback function for when the back navigation button is clicked."
76
+ },
77
+ {
78
+ "name": "border",
79
+ "type": "boolean",
80
+ "default": "false",
81
+ "description": "Add a light bottom border to the wrapper element."
82
+ },
83
+ {
84
+ "name": "className",
85
+ "type": "String",
86
+ "default": "",
87
+ "description": "Additional classes for the wrapper element."
88
+ }
89
+ ]
90
+ }
91
+ ]
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "caption": "Example 2",
97
+ "rendered_html": "<div class=\"playground-content bg-white padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"bg-white border max-width-400\"><div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-14\"><div class=\"grid-stack-item display-flex align-items-center justify-content-between\"><button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darkest\" tabindex=\"0\"><span class=\"rioglyph rioglyph-arrow-left\"></span></button><div class=\"btn-toolbar gap-2\"><div class=\"btn-toolbar\"><button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darker\" tabindex=\"0\"><span class=\"rioglyph rioglyph-filter\"></span></button><button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darker\" tabindex=\"0\"><span class=\"rioglyph rioglyph-cog\"></span></button></div></div></div><div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\"><div class=\"ellipsis-1\">Title of content</div></div></div></div></div>",
98
+ "tabs": [
99
+ {
100
+ "label": "React",
101
+ "language": "tsx",
102
+ "code": "import AppNavigationBar from '@rio-cloud/rio-uikit/AppNavigationBar';\nimport Button from '@rio-cloud/rio-uikit/components/button/Button';\n\nexport default () => (\n <div className='bg-white border max-width-400'>\n <AppNavigationBar\n title='Title of content'\n right={\n <div className='btn-toolbar'>\n <Button bsStyle={Button.MUTED} iconOnly iconName='rioglyph-filter' className='text-color-darker' />\n <Button bsStyle={Button.MUTED} iconOnly iconName='rioglyph-cog' className='text-color-darker' />\n </div>\n }\n />\n </div>\n);"
103
+ },
104
+ {
105
+ "label": "HTML",
106
+ "language": "html",
107
+ "code": "<div class=\"bg-white border max-width-400\">\n <div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-14\">\n <div class=\"grid-stack-item display-flex align-items-center justify-content-between\">\n <button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darkest\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-arrow-left\">\n </span>\n </button>\n <div class=\"btn-toolbar gap-2\">\n <div class=\"btn-toolbar\">\n <button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darker\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-filter\">\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-muted btn-icon-only btn-component text-color-darker\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-cog\">\n </span>\n </button>\n </div>\n </div>\n </div>\n <div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\">\n <div class=\"ellipsis-1\">Title of content</div>\n </div>\n </div>\n</div>"
108
+ },
109
+ {
110
+ "label": "Props",
111
+ "language": "json",
112
+ "code": null,
113
+ "props": [
114
+ {
115
+ "heading": null,
116
+ "rows": [
117
+ {
118
+ "name": "ref",
119
+ "type": "React.ref",
120
+ "default": "",
121
+ "description": "A ref function assigned to the wrapper element."
122
+ },
123
+ {
124
+ "name": "title",
125
+ "type": "string | ReactNode",
126
+ "default": "",
127
+ "description": "The title for the content that is shown."
128
+ },
129
+ {
130
+ "name": "titleSize",
131
+ "type": "'md' | 'lg'",
132
+ "default": "md",
133
+ "description": "Defines the size of the title. Possible values are \"md\" and \"lg\"."
134
+ },
135
+ {
136
+ "name": "subtitle",
137
+ "type": "string | ReactNode",
138
+ "default": "",
139
+ "description": "Adds a subtitle below the title."
140
+ },
141
+ {
142
+ "name": "right",
143
+ "type": "Node",
144
+ "default": "",
145
+ "description": "Right side area for additional options or buttons like filter etc. that is relevant for the shown content."
146
+ },
147
+ {
148
+ "name": "onNavigateBack",
149
+ "type": "Function",
150
+ "default": "() => {}",
151
+ "description": "Callback function for when the back navigation button is clicked."
152
+ },
153
+ {
154
+ "name": "border",
155
+ "type": "boolean",
156
+ "default": "false",
157
+ "description": "Add a light bottom border to the wrapper element."
158
+ },
159
+ {
160
+ "name": "className",
161
+ "type": "String",
162
+ "default": "",
163
+ "description": "Additional classes for the wrapper element."
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "caption": "With more space, a back button label can be shown",
173
+ "rendered_html": "<div class=\"playground-content bg-lightest padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">With more space, a back button label can be shown</div><div class=\"bg-white max-width-400\"><div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-16 border border-bottom-only border-color-lighter\"><div class=\"grid-stack-item display-flex align-items-center justify-content-between\"><button type=\"button\" class=\"btn btn-muted btn-component text-color-darkest\" tabindex=\"0\"><span class=\"rioglyph rioglyph-arrow-left\"></span>Back</button><div class=\"btn-toolbar gap-2\"><span></span></div></div><div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\"><div class=\"ellipsis-1\">Title of content</div></div></div></div></div>",
174
+ "tabs": [
175
+ {
176
+ "label": "React",
177
+ "language": "tsx",
178
+ "code": "import AppNavigationBar from '@rio-cloud/rio-uikit/AppNavigationBar';\nimport FormLabel from '@rio-cloud/rio-uikit/FormLabel';\n\nexport default () => (\n <>\n <FormLabel>With more space, a back button label can be shown</FormLabel>\n <div className='bg-white max-width-400'>\n <AppNavigationBar title='Title of content' titleSize='lg' backButtonText='Back' border />\n </div>\n </>\n);"
179
+ },
180
+ {
181
+ "label": "HTML",
182
+ "language": "html",
183
+ "code": "<div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">With more space, a back button label can be shown</div>\n<div class=\"bg-white max-width-400\">\n <div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-16 border border-bottom-only border-color-lighter\">\n <div class=\"grid-stack-item display-flex align-items-center justify-content-between\">\n <button type=\"button\" class=\"btn btn-muted btn-component text-color-darkest\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-arrow-left\">\n </span>Back</button>\n <div class=\"btn-toolbar gap-2\">\n <span>\n </span>\n </div>\n </div>\n <div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\">\n <div class=\"ellipsis-1\">Title of content</div>\n </div>\n </div>\n</div>"
184
+ },
185
+ {
186
+ "label": "Props",
187
+ "language": "json",
188
+ "code": null,
189
+ "props": [
190
+ {
191
+ "heading": null,
192
+ "rows": [
193
+ {
194
+ "name": "ref",
195
+ "type": "React.ref",
196
+ "default": "",
197
+ "description": "A ref function assigned to the wrapper element."
198
+ },
199
+ {
200
+ "name": "title",
201
+ "type": "string | ReactNode",
202
+ "default": "",
203
+ "description": "The title for the content that is shown."
204
+ },
205
+ {
206
+ "name": "titleSize",
207
+ "type": "'md' | 'lg'",
208
+ "default": "md",
209
+ "description": "Defines the size of the title. Possible values are \"md\" and \"lg\"."
210
+ },
211
+ {
212
+ "name": "subtitle",
213
+ "type": "string | ReactNode",
214
+ "default": "",
215
+ "description": "Adds a subtitle below the title."
216
+ },
217
+ {
218
+ "name": "right",
219
+ "type": "Node",
220
+ "default": "",
221
+ "description": "Right side area for additional options or buttons like filter etc. that is relevant for the shown content."
222
+ },
223
+ {
224
+ "name": "onNavigateBack",
225
+ "type": "Function",
226
+ "default": "() => {}",
227
+ "description": "Callback function for when the back navigation button is clicked."
228
+ },
229
+ {
230
+ "name": "border",
231
+ "type": "boolean",
232
+ "default": "false",
233
+ "description": "Add a light bottom border to the wrapper element."
234
+ },
235
+ {
236
+ "name": "className",
237
+ "type": "String",
238
+ "default": "",
239
+ "description": "Additional classes for the wrapper element."
240
+ }
241
+ ]
242
+ }
243
+ ]
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "caption": "In some cases a subtitle comes in handy",
249
+ "rendered_html": "<div class=\"playground-content bg-lightest padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">In some cases a subtitle comes in handy</div><div class=\"bg-white max-width-400\"><div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-16 border border-bottom-only border-color-lighter\"><div class=\"grid-stack-item display-flex align-items-center justify-content-between\"><button type=\"button\" class=\"btn btn-muted btn-component text-color-darkest\" tabindex=\"0\"><span class=\"rioglyph rioglyph-arrow-left\"></span>Back</button><div class=\"btn-toolbar gap-2\"><span></span></div></div><div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\"><div class=\"ellipsis-1\">Title of content</div><div class=\"text-size-12 line-height-12 text-normal margin-top--2\">lorem ipsum dolor sit amet</div></div></div></div></div>",
250
+ "tabs": [
251
+ {
252
+ "label": "React",
253
+ "language": "tsx",
254
+ "code": "import AppNavigationBar from '@rio-cloud/rio-uikit/AppNavigationBar';\nimport FormLabel from '@rio-cloud/rio-uikit/FormLabel';\n\nexport default () => (\n <>\n <FormLabel>In some cases a subtitle comes in handy</FormLabel>\n <div className='bg-white max-width-400'>\n <AppNavigationBar\n title='Title of content'\n titleSize='lg'\n subtitle='lorem ipsum dolor sit amet'\n backButtonText='Back'\n border\n />\n </div>\n </>\n);"
255
+ },
256
+ {
257
+ "label": "HTML",
258
+ "language": "html",
259
+ "code": "<div class=\"text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-5\">In some cases a subtitle comes in handy</div>\n<div class=\"bg-white max-width-400\">\n <div class=\"AppNavigationBar width-100pct height-45 user-select-none padding-x-10 display-grid grid-stack align-items-center text-size-16 border border-bottom-only border-color-lighter\">\n <div class=\"grid-stack-item display-flex align-items-center justify-content-between\">\n <button type=\"button\" class=\"btn btn-muted btn-component text-color-darkest\" tabindex=\"0\">\n <span class=\"rioglyph rioglyph-arrow-left\">\n </span>Back</button>\n <div class=\"btn-toolbar gap-2\">\n <span>\n </span>\n </div>\n </div>\n <div class=\"grid-stack-item text-center text-medium text-color-darker margin-x-25 padding-x-5 ellipsis-1\">\n <div class=\"ellipsis-1\">Title of content</div>\n <div class=\"text-size-12 line-height-12 text-normal margin-top--2\">lorem ipsum dolor sit amet</div>\n </div>\n </div>\n</div>"
260
+ },
261
+ {
262
+ "label": "Props",
263
+ "language": "json",
264
+ "code": null,
265
+ "props": [
266
+ {
267
+ "heading": null,
268
+ "rows": [
269
+ {
270
+ "name": "ref",
271
+ "type": "React.ref",
272
+ "default": "",
273
+ "description": "A ref function assigned to the wrapper element."
274
+ },
275
+ {
276
+ "name": "title",
277
+ "type": "string | ReactNode",
278
+ "default": "",
279
+ "description": "The title for the content that is shown."
280
+ },
281
+ {
282
+ "name": "titleSize",
283
+ "type": "'md' | 'lg'",
284
+ "default": "md",
285
+ "description": "Defines the size of the title. Possible values are \"md\" and \"lg\"."
286
+ },
287
+ {
288
+ "name": "subtitle",
289
+ "type": "string | ReactNode",
290
+ "default": "",
291
+ "description": "Adds a subtitle below the title."
292
+ },
293
+ {
294
+ "name": "right",
295
+ "type": "Node",
296
+ "default": "",
297
+ "description": "Right side area for additional options or buttons like filter etc. that is relevant for the shown content."
298
+ },
299
+ {
300
+ "name": "onNavigateBack",
301
+ "type": "Function",
302
+ "default": "() => {}",
303
+ "description": "Callback function for when the back navigation button is clicked."
304
+ },
305
+ {
306
+ "name": "border",
307
+ "type": "boolean",
308
+ "default": "false",
309
+ "description": "Add a light bottom border to the wrapper element."
310
+ },
311
+ {
312
+ "name": "className",
313
+ "type": "String",
314
+ "default": "",
315
+ "description": "Additional classes for the wrapper element."
316
+ }
317
+ ]
318
+ }
319
+ ]
320
+ }
321
+ ]
322
+ }
323
+ ]
324
+ }
325
+ ],
326
+ "see_also": []
327
+ }