@rio-cloud/uikit-mcp 1.1.7 → 1.1.9

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 (201) hide show
  1. package/README.md +24 -18
  2. package/dist/doc-metadata.json +125 -295
  3. package/dist/docs/components/accentBar.md +16 -69
  4. package/dist/docs/components/activity.md +7 -44
  5. package/dist/docs/components/animatedNumber.md +3 -11
  6. package/dist/docs/components/animatedTextReveal.md +6 -34
  7. package/dist/docs/components/animations.md +21 -54
  8. package/dist/docs/components/appHeader.md +11 -30
  9. package/dist/docs/components/appLayout.md +40 -193
  10. package/dist/docs/components/appNavigationBar.md +1 -24
  11. package/dist/docs/components/areaCharts.md +7 -22
  12. package/dist/docs/components/aspectRatioPlaceholder.md +1 -9
  13. package/dist/docs/components/assetTree.md +241 -280
  14. package/dist/docs/components/autosuggests.md +3 -102
  15. package/dist/docs/components/avatar.md +1 -16
  16. package/dist/docs/components/banner.md +4 -37
  17. package/dist/docs/components/barCharts.md +20 -75
  18. package/dist/docs/components/barList.md +10 -78
  19. package/dist/docs/components/basicMap.md +1 -67
  20. package/dist/docs/components/bottomSheet.md +2 -28
  21. package/dist/docs/components/button.md +12 -65
  22. package/dist/docs/components/buttonToolbar.md +5 -19
  23. package/dist/docs/components/calendarStripe.md +50 -100
  24. package/dist/docs/components/card.md +1 -9
  25. package/dist/docs/components/carousel.md +1 -14
  26. package/dist/docs/components/chartColors.md +1 -156
  27. package/dist/docs/components/chartsGettingStarted.md +1 -1
  28. package/dist/docs/components/chat.md +2 -81
  29. package/dist/docs/components/checkbox.md +11 -72
  30. package/dist/docs/components/circularProgress.md +8 -49
  31. package/dist/docs/components/clearableInput.md +3 -62
  32. package/dist/docs/components/collapse.md +2 -15
  33. package/dist/docs/components/composedCharts.md +16 -26
  34. package/dist/docs/components/contentLoader.md +7 -25
  35. package/dist/docs/components/dataTabs.md +16 -104
  36. package/dist/docs/components/datepickers.md +710 -962
  37. package/dist/docs/components/dialogs.md +5 -67
  38. package/dist/docs/components/divider.md +1 -33
  39. package/dist/docs/components/dropdowns.md +3424 -5567
  40. package/dist/docs/components/editableContent.md +4 -82
  41. package/dist/docs/components/expander.md +15 -88
  42. package/dist/docs/components/fade.md +4 -61
  43. package/dist/docs/components/fadeExpander.md +1 -7
  44. package/dist/docs/components/fadeUp.md +2 -76
  45. package/dist/docs/components/feedback.md +9 -68
  46. package/dist/docs/components/filePickers.md +4 -18
  47. package/dist/docs/components/formLabel.md +7 -27
  48. package/dist/docs/components/groupedItemList.md +2 -158
  49. package/dist/docs/components/iconList.md +7 -64
  50. package/dist/docs/components/imagePreloader.md +1 -9
  51. package/dist/docs/components/labeledElement.md +3 -18
  52. package/dist/docs/components/licensePlate.md +1 -43
  53. package/dist/docs/components/lineCharts.md +8 -39
  54. package/dist/docs/components/listMenu.md +2 -34
  55. package/dist/docs/components/loadMore.md +5 -24
  56. package/dist/docs/components/mainNavigation.md +1 -9
  57. package/dist/docs/components/mapCircle.md +1 -23
  58. package/dist/docs/components/mapCluster.md +2 -54
  59. package/dist/docs/components/mapContext.md +1 -23
  60. package/dist/docs/components/mapDraggableMarker.md +2 -28
  61. package/dist/docs/components/mapGettingStarted.md +2 -2
  62. package/dist/docs/components/mapInfoBubble.md +1 -27
  63. package/dist/docs/components/mapLayerGroup.md +1 -23
  64. package/dist/docs/components/mapMarker.md +1 -99
  65. package/dist/docs/components/mapPolygon.md +2 -116
  66. package/dist/docs/components/mapRoute.md +6 -1465
  67. package/dist/docs/components/mapRouteGenerator.md +1 -1
  68. package/dist/docs/components/mapSettings.md +11 -128
  69. package/dist/docs/components/mapUtils.md +10 -113
  70. package/dist/docs/components/multiselects.md +14 -163
  71. package/dist/docs/components/noData.md +8 -22
  72. package/dist/docs/components/notifications.md +3 -19
  73. package/dist/docs/components/numbercontrol.md +3 -47
  74. package/dist/docs/components/onboarding.md +3 -15
  75. package/dist/docs/components/page.md +1 -33
  76. package/dist/docs/components/pager.md +1 -17
  77. package/dist/docs/components/pieCharts.md +40 -71
  78. package/dist/docs/components/popover.md +1 -12
  79. package/dist/docs/components/position.md +2 -6
  80. package/dist/docs/components/radialBarCharts.md +32 -116
  81. package/dist/docs/components/radioCardGroup.md +6 -48
  82. package/dist/docs/components/radiobutton.md +6 -75
  83. package/dist/docs/components/releaseNotes.md +3 -21
  84. package/dist/docs/components/resizer.md +1 -7
  85. package/dist/docs/components/responsiveColumnStripe.md +9 -49
  86. package/dist/docs/components/responsiveVideo.md +1 -7
  87. package/dist/docs/components/rioglyph.md +1 -17
  88. package/dist/docs/components/rules.md +7 -70
  89. package/dist/docs/components/saveableInput.md +267 -401
  90. package/dist/docs/components/selects.md +27 -1164
  91. package/dist/docs/components/sidebar.md +6 -17
  92. package/dist/docs/components/sliders.md +1 -27
  93. package/dist/docs/components/smoothScrollbars.md +1 -73
  94. package/dist/docs/components/spinners.md +6 -51
  95. package/dist/docs/components/states.md +6 -92
  96. package/dist/docs/components/statsWidgets.md +1 -76
  97. package/dist/docs/components/statusBar.md +1 -57
  98. package/dist/docs/components/stepButton.md +2 -7
  99. package/dist/docs/components/steppedProgressBars.md +5 -62
  100. package/dist/docs/components/subNavigation.md +1 -31
  101. package/dist/docs/components/supportMarker.md +2 -14
  102. package/dist/docs/components/svgImage.md +1 -5
  103. package/dist/docs/components/switch.md +2 -33
  104. package/dist/docs/components/tables.md +1 -1
  105. package/dist/docs/components/tagManager.md +1 -41
  106. package/dist/docs/components/tags.md +1 -138
  107. package/dist/docs/components/teaser.md +2 -122
  108. package/dist/docs/components/textTruncateMiddle.md +2 -9
  109. package/dist/docs/components/timeline.md +1 -99
  110. package/dist/docs/components/timepicker.md +4 -79
  111. package/dist/docs/components/toggleButton.md +2 -15
  112. package/dist/docs/components/tooltip.md +9 -30
  113. package/dist/docs/components/tracker.md +2 -19
  114. package/dist/docs/components/virtualList.md +61 -130
  115. package/dist/docs/foundations.md +749 -4069
  116. package/dist/docs/start/changelog.md +5 -1
  117. package/dist/docs/start/goodtoknow.md +1 -1
  118. package/dist/docs/start/guidelines/color-combinations.md +149 -483
  119. package/dist/docs/start/guidelines/custom-css.md +1 -1
  120. package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
  121. package/dist/docs/start/guidelines/formatting.md +1 -1
  122. package/dist/docs/start/guidelines/iframe.md +4 -16
  123. package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
  124. package/dist/docs/start/guidelines/print-css.md +1 -1
  125. package/dist/docs/start/guidelines/spinner.md +13 -67
  126. package/dist/docs/start/guidelines/state-in-url.md +1 -1
  127. package/dist/docs/start/guidelines/supported-browsers.md +1 -1
  128. package/dist/docs/start/guidelines/writing.md +1 -1
  129. package/dist/docs/start/howto.md +11 -11
  130. package/dist/docs/start/intro.md +1 -1
  131. package/dist/docs/start/responsiveness.md +1 -1
  132. package/dist/docs/utilities/classNames.md +3 -18
  133. package/dist/docs/utilities/deviceUtils.md +7 -13
  134. package/dist/docs/utilities/featureToggles.md +1 -1
  135. package/dist/docs/utilities/fuelTypeUtils.md +2 -12
  136. package/dist/docs/utilities/routeUtils.md +25 -343
  137. package/dist/docs/utilities/useAfterMount.md +1 -6
  138. package/dist/docs/utilities/useAutoAnimate.md +2 -15
  139. package/dist/docs/utilities/useAverage.md +1 -6
  140. package/dist/docs/utilities/useClickOutside.md +1 -5
  141. package/dist/docs/utilities/useClipboard.md +2 -6
  142. package/dist/docs/utilities/useCookies.md +2 -10
  143. package/dist/docs/utilities/useCount.md +7 -16
  144. package/dist/docs/utilities/useDarkMode.md +2 -6
  145. package/dist/docs/utilities/useDebugInfo.md +6 -20
  146. package/dist/docs/utilities/useEffectOnce.md +1 -6
  147. package/dist/docs/utilities/useElapsedTime.md +2 -6
  148. package/dist/docs/utilities/useElementSize.md +1 -7
  149. package/dist/docs/utilities/useEsc.md +1 -5
  150. package/dist/docs/utilities/useEvent.md +1 -5
  151. package/dist/docs/utilities/useFocusTrap.md +1 -5
  152. package/dist/docs/utilities/useFullscreen.md +2 -15
  153. package/dist/docs/utilities/useHover.md +1 -5
  154. package/dist/docs/utilities/useIncomingPostMessages.md +2 -18
  155. package/dist/docs/utilities/useInterval.md +2 -8
  156. package/dist/docs/utilities/useIsFocusWithin.md +1 -10
  157. package/dist/docs/utilities/useKey.md +1 -15
  158. package/dist/docs/utilities/useLocalStorage.md +2 -11
  159. package/dist/docs/utilities/useLocationSuggestions.md +1 -5
  160. package/dist/docs/utilities/useMax.md +1 -5
  161. package/dist/docs/utilities/useMin.md +1 -5
  162. package/dist/docs/utilities/useMutationObserver.md +3 -11
  163. package/dist/docs/utilities/useOnScreen.md +1 -8
  164. package/dist/docs/utilities/useOnlineStatus.md +1 -5
  165. package/dist/docs/utilities/usePostMessage.md +3 -9
  166. package/dist/docs/utilities/usePostMessageSender.md +3 -13
  167. package/dist/docs/utilities/usePrevious.md +1 -5
  168. package/dist/docs/utilities/useResizeObserver.md +3 -11
  169. package/dist/docs/utilities/useRioCookieConsent.md +1 -5
  170. package/dist/docs/utilities/useScrollPosition.md +3 -59
  171. package/dist/docs/utilities/useSearch.md +2 -16
  172. package/dist/docs/utilities/useSearchHighlight.md +13 -78
  173. package/dist/docs/utilities/useSorting.md +18 -43
  174. package/dist/docs/utilities/useStateWithValidation.md +1 -5
  175. package/dist/docs/utilities/useSum.md +1 -9
  176. package/dist/docs/utilities/useTableExport.md +42 -59
  177. package/dist/docs/utilities/useTableSelection.md +74 -119
  178. package/dist/docs/utilities/useTimeout.md +2 -6
  179. package/dist/docs/utilities/useToggle.md +4 -14
  180. package/dist/docs/utilities/useUrlState.md +2 -27
  181. package/dist/docs/utilities/useWindowResize.md +1 -5
  182. package/dist/index.mjs +46 -16
  183. package/dist/version.json +2 -2
  184. package/package.json +15 -9
  185. package/dist/docs/templates/common-table.md +0 -1112
  186. package/dist/docs/templates/detail-views.md +0 -942
  187. package/dist/docs/templates/expandable-details.md +0 -228
  188. package/dist/docs/templates/feature-cards.md +0 -549
  189. package/dist/docs/templates/form-summary.md +0 -199
  190. package/dist/docs/templates/form-toggle.md +0 -367
  191. package/dist/docs/templates/list-blocks.md +0 -1021
  192. package/dist/docs/templates/loading-progress.md +0 -109
  193. package/dist/docs/templates/options-panel.md +0 -152
  194. package/dist/docs/templates/panel-variants.md +0 -164
  195. package/dist/docs/templates/progress-cards.md +0 -607
  196. package/dist/docs/templates/progress-success.md +0 -142
  197. package/dist/docs/templates/settings-form.md +0 -434
  198. package/dist/docs/templates/stats-blocks.md +0 -1381
  199. package/dist/docs/templates/table-panel.md +0 -184
  200. package/dist/docs/templates/table-row-animation.md +0 -317
  201. package/dist/docs/templates/usage-cards.md +0 -227
@@ -1,942 +0,0 @@
1
- # Detail views
2
-
3
- *Category:* Templates
4
- *Section:* Content
5
- *Source:* https://uikit.developers.rio.cloud/#/templates/detail-views
6
- *Captured:* 2026-02-23T15:49:33.756Z
7
-
8
- ## Detail views
9
-
10
- ### Example: Coordinates
11
-
12
- VoltPoint
13
- Isarweg 22, 81830 München
14
- Coordinates
15
- 51.339695, 12.373075
16
-
17
- Network operator
18
- EnerCharge GmbH
19
-
20
- Support contact
21
- 089 9876543
22
-
23
- Additional information
24
- Boost your experience
25
- Book Lorem Ipsum to get more information, advanced settings and preferred prices.
26
-
27
- Prices
28
-
29
- Opening hours
30
-
31
- Connectors
32
- Amenities
33
- Vehicle access
34
-
35
- 180 kW6/6
36
-
37
- 300 kW3/4
38
-
39
- #### Summary
40
-
41
- VoltPoint
42
- Isarweg 22, 81830 München
43
- Coordinates
44
- 51.339695, 12.373075
45
-
46
- Network operator
47
- EnerCharge GmbH
48
-
49
- Support contact
50
- 089 9876543
51
-
52
- Additional information
53
- Boost your experience
54
- Book Lorem Ipsum to get more information, advanced settings and preferred prices.
55
-
56
- Prices
57
-
58
- Opening hours
59
-
60
- Connectors
61
- Amenities
62
- Vehicle access
63
-
64
- 180 kW6/6
65
-
66
- 300 kW3/4
67
-
68
- #### React (tsx)
69
-
70
- ```tsx
71
- import { useState } from 'react';
72
-
73
- import Divider from '@rio-cloud/rio-uikit/Divider';
74
- import LabeledElement from '@rio-cloud/rio-uikit/LabeledElement';
75
- import ExpanderPanel from '@rio-cloud/rio-uikit/ExpanderPanel';
76
- import ExpanderList from '@rio-cloud/rio-uikit/ExpanderList';
77
- import ButtonDropdown from '@rio-cloud/rio-uikit/ButtonDropdown';
78
- import Fade from '@rio-cloud/rio-uikit/Fade';
79
-
80
- export default () => {
81
- const [currentTab, setCurrentTab] = useState(1);
82
-
83
- return (
84
- <div className='margin-auto border border-top-none border-bottom-none max-width-400'>
85
- {/* Actual content comes here */}
86
- <div className='bg-white'>
87
- {/* Address block */}
88
- <section className='padding-x-20'>
89
- <div className='flex-1-1 padding-top-10'>
90
- <div className='display-flex'>
91
- <div className='flex-1-1 display-flex gap-10'>
92
- <div>
93
- <span className='rioglyph rioglyph-filling-e-station text-size-18' />
94
- </div>
95
- <div>
96
- <div className='text-medium text-size-18 line-height-125rel'>VoltPoint</div>
97
- <div className='margin-left-20--'>
98
- <div>Isarweg 22, 81830 München</div>
99
-
100
- <LabeledElement label='Coordinates' className='margin-top-15' noGap>
101
- <div className='display-flex gap-3 align-items-center'>
102
- <span className='rioglyph rioglyph-map-marker text-color-dark' />
103
- <div>51.339695, 12.373075</div>
104
- </div>
105
- </LabeledElement>
106
-
107
- <div className='margin-top-15 display-flex gap-25 flex-wrap'>
108
- <LabeledElement label='Network operator' noGap>
109
- <div className='display-flex gap-3 align-items-center'>
110
- <span className='rioglyph rioglyph-building text-color-dark' />
111
- <div>EnerCharge GmbH</div>
112
- </div>
113
- </LabeledElement>
114
- <LabeledElement label='Support contact' noGap>
115
- <div className='display-flex gap-3 align-items-center'>
116
- <span className='rioglyph rioglyph-earphone text-color-dark' />
117
- <div>089 9876543</div>
118
- </div>
119
- </LabeledElement>
120
- </div>
121
- </div>
122
- </div>
123
- </div>
124
- <div>
125
- <ButtonDropdown
126
- title={<span className='rioglyph rioglyph-option-horizontal' aria-hidden='true' />}
127
- items={[
128
- {
129
- value: 'Edit',
130
- },
131
- {
132
- value: 'Share',
133
- },
134
- {
135
- value: 'Report issue',
136
- },
137
- ]}
138
- iconOnly
139
- pullRight
140
- />
141
- </div>
142
- </div>
143
- </div>
144
- </section>
145
-
146
- <Divider dividerColor='lighter' spacing={25} />
147
-
148
- {/* Additional information block */}
149
- <section className='padding-x-20 display-flex flex-column'>
150
- <div className='text-size-14 text-medium text-color-darkest padding-bottom-10'>
151
- Additional information
152
- </div>
153
- <div className='padding-15 bg-lightest rounded rounded-large display-flex align-items-start gap-15 text-left text-size-14 margin-bottom-15'>
154
- <span className='rioglyph rioglyph-stars text-size-300pct text-color-primary' />
155
- <div>
156
- <div className='text-color-darker text-medium margin-bottom-3'>Boost your experience</div>
157
- <div className='text-color-darker'>
158
- Book{' '}
159
- <a href='#' className='text-medium'>
160
- Lorem Ipsum
161
- </a>{' '}
162
- to get more information, advanced settings and preferred prices.
163
- </div>
164
- </div>
165
- </div>
166
- <ExpanderPanel className='margin-bottom-5' title='Prices' bsStyle='default'>
167
- <div className='display-grid grid-cols-2 gap-5'>
168
- <div className='text-medium'>AC Charging (Type 2):</div>
169
- <div>€0.39 / kWh</div>
170
- <div className='text-medium'>DC Fast Charging (CCS):</div>
171
- <div>€0.49 / kWh</div>
172
- <div className='text-medium'>Idle Fee:</div>
173
- <div>€0.10 / minute after 30 mins</div>
174
- <div className='text-medium'>Payment Methods:</div>
175
- <div>RFID Card, Mobile App, Credit Card</div>
176
- </div>
177
- </ExpanderPanel>
178
- <ExpanderPanel className='margin-bottom-0' title='Opening hours' bsStyle='default'>
179
- <div className='display-grid grid-cols-2 gap-3'>
180
- <div className='text-medium'>Mon – Fri:</div>
181
- <div>06:00 – 22:00</div>
182
- <div className='text-medium'>Saturday:</div>
183
- <div>08:00 – 20:00</div>
184
- <div className='text-medium'>Sunday:</div>
185
- <div>08:00 – 18:00</div>
186
- <div className='grid-colspan-2 margin-top-10'>
187
- <b>Note:</b> Charging is available 24/7, but on-site support is limited to staffed
188
- hours.
189
- </div>
190
- </div>
191
- </ExpanderPanel>
192
- </section>
193
-
194
- <Divider dividerColor='lighter' spacing={25} />
195
-
196
- {/* Sub-content block */}
197
- <section className='padding-x-20 display-flex flex-column'>
198
- <ul className='nav nav-pills nav-pills-filled- nav-justified nav-justified-word-wrap margin-bottom-15'>
199
- <li className={currentTab === 1 ? 'active' : ''} onClick={() => setCurrentTab(1)}>
200
- <span>Connectors</span>
201
- </li>
202
- <li className={currentTab === 2 ? 'active' : ''} onClick={() => setCurrentTab(2)}>
203
- <span>Amenities</span>
204
- </li>
205
- <li className='disabled'>
206
- <span>Vehicle access</span>
207
- </li>
208
- </ul>
209
- <div>
210
- <Fade initial={false} exitBeforeEnter>
211
- {currentTab === 1 && (
212
- <ExpanderList
213
- key='content1'
214
- className='margin-bottom-20'
215
- items={[
216
- {
217
- id: 1,
218
- header: (
219
- <div className='display-flex column-gap-10 justify-content-between padding-right-15 text-medium padding-y-2'>
220
- <span>180 kW</span>
221
- <div className='display-flex column-gap-10 align-items-center'>
222
- <span className='text-color-info'>6/6</span>
223
- </div>
224
- </div>
225
- ),
226
- headerClassName: 'padding-y-5',
227
- body: 'Lorem ipsum',
228
- },
229
- {
230
- id: 2,
231
- header: (
232
- <div className='display-flex column-gap-10 justify-content-between padding-right-15 text-medium padding-y-2'>
233
- <span>300 kW</span>
234
- <div className='display-flex column-gap-10 align-items-center'>
235
- <span className='text-color-info'>3/4</span>
236
- </div>
237
- </div>
238
- ),
239
- headerClassName: 'padding-y-5',
240
- body: 'Lorem ipsum',
241
- },
242
- ]}
243
- />
244
- )}
245
- {currentTab === 2 && (
246
- <div key='content2' className='display-grid grid-cols-2 gap-10 padding-bottom-15'>
247
- <div className='display-flex gap-5 padding-y-10 padding-x-15 border rounded'>
248
- <span className='rioglyph rioglyph-wifi rioglyph-align-top' />
249
- <div>Free WiFi</div>
250
- </div>
251
- <div className='display-flex gap-5 padding-y-10 padding-x-15 border rounded'>
252
- <span className='rioglyph rioglyph-car-wash rioglyph-align-top' />
253
- <div>Truck wash</div>
254
- </div>
255
- <div className='display-flex gap-5 padding-y-10 padding-x-15 border rounded'>
256
- <span className='rioglyph rioglyph-trash rioglyph-align-top' />
257
- <div>Trash disposal</div>
258
- </div>
259
- <div className='display-flex gap-5 padding-y-10 padding-x-15 border rounded'>
260
- <span className='rioglyph rioglyph-calendar-parking rioglyph-align-top' />
261
- <div>Overnight parking</div>
262
- </div>
263
- </div>
264
- )}
265
- </Fade>
266
- </div>
267
- </section>
268
- </div>
269
- </div>
270
- );
271
- };
272
- ```
273
-
274
- #### HTML (html)
275
-
276
- ```html
277
- <div class="margin-auto border border-top-none border-bottom-none max-width-400">
278
- <div class="bg-white">
279
- <section class="padding-x-20">
280
- <div class="flex-1-1 padding-top-10">
281
- <div class="display-flex">
282
- <div class="flex-1-1 display-flex gap-10">
283
- <div>
284
- <span class="rioglyph rioglyph-filling-e-station text-size-18">
285
- </span>
286
- </div>
287
- <div>
288
- <div class="text-medium text-size-18 line-height-125rel">VoltPoint</div>
289
- <div class="margin-left-20--">
290
- <div>Isarweg 22, 81830 München</div>
291
- <div class="LabeledElement display-flex flex-column margin-top-15">
292
- <div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-0">Coordinates</div>
293
- <div class="display-flex gap-3 align-items-center">
294
- <span class="rioglyph rioglyph-map-marker text-color-dark">
295
- </span>
296
- <div>51.339695, 12.373075</div>
297
- </div>
298
- </div>
299
- <div class="margin-top-15 display-flex gap-25 flex-wrap">
300
- <div class="LabeledElement display-flex flex-column">
301
- <div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-0">Network operator</div>
302
- <div class="display-flex gap-3 align-items-center">
303
- <span class="rioglyph rioglyph-building text-color-dark">
304
- </span>
305
- <div>EnerCharge GmbH</div>
306
- </div>
307
- </div>
308
- <div class="LabeledElement display-flex flex-column">
309
- <div class="text-color-dark max-width-100pct text-size-12 display-inline-block margin-bottom-0">Support contact</div>
310
- <div class="display-flex gap-3 align-items-center">
311
- <span class="rioglyph rioglyph-earphone text-color-dark">
312
- </span>
313
- <div>089 9876543</div>
314
- </div>
315
- </div>
316
- </div>
317
- </div>
318
- </div>
319
- </div>
320
- <div>
321
- <div class="dropdown btn-group">
322
- <button type="button" id="0wbz7yyxbxbo" class="btn btn-default btn-md btn-icon-only btn-component dropdown-toggle" tabindex="0">
323
- <span class="rioglyph rioglyph-option-horizontal" aria-hidden="true">
324
- </span>
325
- </button>
326
- </div>
327
- </div>
328
- </div>
329
- </div>
330
- </section>
331
- <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
332
- <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
333
- </div>
334
- </div>
335
- <section class="padding-x-20 display-flex flex-column">
336
- <div class="text-size-14 text-medium text-color-darkest padding-bottom-10">Additional information</div>
337
- <div class="padding-15 bg-lightest rounded rounded-large display-flex align-items-start gap-15 text-left text-size-14 margin-bottom-15">
338
- <span class="rioglyph rioglyph-stars text-size-300pct text-color-primary">
339
- </span>
340
- <div>
341
- <div class="text-color-darker text-medium margin-bottom-3">Boost your experience</div>
342
- <div class="text-color-darker">Book <a href="#" class="text-medium">Lorem Ipsum</a> to get more information, advanced settings and preferred prices.</div>
343
- </div>
344
- </div>
345
- <div class="expander-panel panel panel-default margin-bottom-5" aria-label="expander panel">
346
- <div class="panel-heading" aria-label="panel heading">
347
- <span class="title">Prices</span>
348
- <span class="expander-icon rioglyph rioglyph-chevron-down">
349
- </span>
350
- </div>
351
- </div>
352
- <div class="expander-panel panel panel-default margin-bottom-0" aria-label="expander panel">
353
- <div class="panel-heading" aria-label="panel heading">
354
- <span class="title">Opening hours</span>
355
- <span class="expander-icon rioglyph rioglyph-chevron-down">
356
- </span>
357
- </div>
358
- </div>
359
- </section>
360
- <div class="Divider position-relative width-100pct" style="padding-top: 25px; padding-bottom: 25px;">
361
- <div class="divider-line bg-lighter" style="width: 100%; height: 1px;">
362
- </div>
363
- </div>
364
- <section class="padding-x-20 display-flex flex-column">
365
- <ul class="nav nav-pills nav-pills-filled- nav-justified nav-justified-word-wrap margin-bottom-15">
366
- <li class="active">
367
- <span>Connectors</span>
368
- </li>
369
- <li class="">
370
- <span>Amenities</span>
371
- </li>
372
- <li class="disabled">
373
- <span>Vehicle access</span>
374
- </li>
375
- </ul>
376
- <div>
377
- <div style="opacity: 1; transform: none;">
378
- <ul class="expander-list list-group rounded border margin-bottom-20">
379
- <li class="list-group-item expandable">
380
- <div class="expander-list-header padding-y-5" aria-label="expander item header">
381
- <span class="expander-list-header-content">
382
- <div class="display-flex column-gap-10 justify-content-between padding-right-15 text-medium padding-y-2">
383
- <span>180 kW</span>
384
- <div class="display-flex column-gap-10 align-items-center">
385
- <span class="text-color-info">6/6</span>
386
- </div>
387
- </div>
388
- </span>
389
- <span class="expander-icon rioglyph rioglyph-chevron-down">
390
- </span>
391
- </div>
392
- </li>
393
- <li class="list-group-item expandable">
394
- <div class="expander-list-header padding-y-5" aria-label="expander item header">
395
- <span class="expander-list-header-content">
396
- <div class="display-flex column-gap-10 justify-content-between padding-right-15 text-medium padding-y-2">
397
- <span>300 kW</span>
398
- <div class="display-flex column-gap-10 align-items-center">
399
- <span class="text-color-info">3/4</span>
400
- </div>
401
- </div>
402
- </span>
403
- <span class="expander-icon rioglyph rioglyph-chevron-down">
404
- </span>
405
- </div>
406
- </li>
407
- </ul>
408
- </div>
409
- </div>
410
- </section>
411
- </div>
412
- </div>
413
- ```
414
-
415
- ### Example: Internal Directives Administrator
416
-
417
- JD
418
- John Doe
419
- Internal Directives Administrator
420
- Not Working
421
-
422
- General
423
-
424
- Graduations
425
-
426
- Objectives
427
-
428
- #### Summary
429
-
430
- JD
431
- John Doe
432
- Internal Directives Administrator
433
- Not Working
434
-
435
- General
436
-
437
- Graduations
438
-
439
- Objectives
440
-
441
- #### React (tsx)
442
-
443
- ```tsx
444
- import { dummyTextShort } from '../../../utils/data';
445
-
446
- import ExpanderList from '@rio-cloud/rio-uikit/ExpanderList';
447
- import Avatar from '@rio-cloud/rio-uikit/Avatar';
448
- import FormLabel from '@rio-cloud/rio-uikit/FormLabel';
449
-
450
- export default () => {
451
- return (
452
- <div className='margin-auto border border-top-none border-bottom-none max-width-400'>
453
- {/* Actual content comes here */}
454
- <section className='bg-white padding-bottom-20'>
455
- <div className='padding-x-20 display-flex padding-top-10'>
456
- <div className='display-flex gap-15 padding-bottom-25'>
457
- <Avatar name='John Doe' size={50} />
458
- <div>
459
- <div className='text-bold text-size-20'>John Doe</div>
460
- <div className='text-color-dark'>Internal Directives Administrator</div>
461
- <div className='margin-top-10'>
462
- <span className='label label-condensed label-danger'>Not Working</span>
463
- </div>
464
- </div>
465
- </div>
466
- </div>
467
-
468
- <ExpanderList
469
- className='border border-left-none border-right-none rounded-none'
470
- items={[
471
- {
472
- id: 1,
473
- header: <div>General</div>,
474
- body: (
475
- <div className='divider-y-1 divider-style-solid divider-color-lighter'>
476
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
477
- <div className='text-color-dark'>Id</div>
478
- <div className='grid-colspan-2 word-break'>80</div>
479
- </div>
480
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
481
- <div className='text-color-dark'>Nickname</div>
482
- <div className='grid-colspan-2 word-break'>Adelia_Rutherford</div>
483
- </div>
484
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
485
- <div className='text-color-dark'>First name</div>
486
- <div className='grid-colspan-2 word-break'>Rolando</div>
487
- </div>
488
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
489
- <div className='text-color-dark'>Last name</div>
490
- <div className='grid-colspan-2 word-break'>Schuster</div>
491
- </div>
492
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
493
- <div className='text-color-dark'>Job</div>
494
- <div className='grid-colspan-2 word-break'>
495
- Future Applications Administrator
496
- </div>
497
- </div>
498
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
499
- <div className='text-color-dark'>Email</div>
500
- <div className='grid-colspan-2 word-break'>Bret.Block91@yahoo.com</div>
501
- </div>
502
- <div className='display-grid grid-cols-3 gap-15 padding-x-5 padding-y-10'>
503
- <div className='text-color-dark'>Phone</div>
504
- <div className='grid-colspan-2 word-break'>243-907-0058</div>
505
- </div>
506
- </div>
507
- ),
508
- bodyClassName: 'padding-top-0',
509
- },
510
- {
511
- id: 2,
512
- header: <div>Graduations</div>,
513
- body: dummyTextShort,
514
- bodyClassName: 'padding-top-0 padding-bottom-20',
515
- },
516
- {
517
- id: 3,
518
- header: <div>Objectives</div>,
519
- body: (
520
- <div>
521
- <div className='form-group '>
522
- <FormLabel htmlFor='input1'>Subject</FormLabel>
523
- <input className='form-control' id='input1' placeholder='Subject' />
524
- </div>
525
- <div className='form-group '>
526
- <FormLabel htmlFor='input2'>Category</FormLabel>
527
- <input className='form-control' id='input2' placeholder='Enter a category' />
528
- </div>
529
- <div className='form-group '>
530
- <FormLabel htmlFor='textArea'>Textarea</FormLabel>
531
- <textarea className='form-control' rows={3} id='textArea' />
532
- </div>
533
- </div>
534
- ),
535
- bodyClassName: 'padding-top-0',
536
- },
537
- ]}
538
- />
539
- </section>
540
- </div>
541
- );
542
- };
543
- ```
544
-
545
- #### HTML (html)
546
-
547
- ```html
548
- <div class="margin-auto border border-top-none border-bottom-none max-width-400">
549
- <section class="bg-white padding-bottom-20">
550
- <div class="padding-x-20 display-flex padding-top-10">
551
- <div class="display-flex gap-15 padding-bottom-25">
552
- <div class="Avatar bg-lighter" style="height: 50px;">
553
- <span class="Avatar-initials">JD</span>
554
- </div>
555
- <div>
556
- <div class="text-bold text-size-20">John Doe</div>
557
- <div class="text-color-dark">Internal Directives Administrator</div>
558
- <div class="margin-top-10">
559
- <span class="label label-condensed label-danger">Not Working</span>
560
- </div>
561
- </div>
562
- </div>
563
- </div>
564
- <ul class="expander-list list-group border border-left-none border-right-none rounded-none">
565
- <li class="list-group-item expandable">
566
- <div class="expander-list-header" aria-label="expander item header">
567
- <span class="expander-list-header-content">
568
- <div>General</div>
569
- </span>
570
- <span class="expander-icon rioglyph rioglyph-chevron-down">
571
- </span>
572
- </div>
573
- </li>
574
- <li class="list-group-item expandable">
575
- <div class="expander-list-header" aria-label="expander item header">
576
- <span class="expander-list-header-content">
577
- <div>Graduations</div>
578
- </span>
579
- <span class="expander-icon rioglyph rioglyph-chevron-down">
580
- </span>
581
- </div>
582
- </li>
583
- <li class="list-group-item expandable">
584
- <div class="expander-list-header" aria-label="expander item header">
585
- <span class="expander-list-header-content">
586
- <div>Objectives</div>
587
- </span>
588
- <span class="expander-icon rioglyph rioglyph-chevron-down">
589
- </span>
590
- </div>
591
- </li>
592
- </ul>
593
- </section>
594
- </div>
595
- ```
596
-
597
- ### Example: Shipment ID
598
-
599
- Shipment details
600
- Options
601
- Shipment ID
602
- 982-457-ABX
603
-
604
- Status
605
- Out for delivery
606
-
607
- Last update
608
- July 23, 2025 – 10:31
609
-
610
- Shipping type
611
- Express
612
-
613
- Origin
614
- Hamburg, DE
615
-
616
- Destination
617
- Verona, IT
618
-
619
- Vehicle information
620
-
621
- Vehicle type
622
- Truck with trailer
623
-
624
- License plate
625
- M-TD 3456
626
-
627
- Driver
628
- M. Schubert
629
-
630
- Current load
631
- 19.4 t
632
-
633
- Temperature
634
- 6 °C
635
-
636
- Time & distanceEstimated arrival
637
- July 24, 2025 – 08:00
638
-
639
- Current position
640
- Near Munich
641
-
642
- Distance to destination
643
- 498 km
644
-
645
- Average speed
646
- 72 km/h
647
-
648
- Last stop
649
- Regensburg (Shell)
650
-
651
- #### Summary
652
-
653
- Shipment details
654
- Options
655
- Shipment ID
656
- 982-457-ABX
657
-
658
- Status
659
- Out for delivery
660
-
661
- Last update
662
- July 23, 2025 – 10:31
663
-
664
- Shipping type
665
- Express
666
-
667
- Origin
668
- Hamburg, DE
669
-
670
- Destination
671
- Verona, IT
672
-
673
- Vehicle information
674
-
675
- Vehicle type
676
- Truck with trailer
677
-
678
- License plate
679
- M-TD 3456
680
-
681
- Driver
682
- M. Schubert
683
-
684
- Current load
685
- 19.4 t
686
-
687
- Temperature
688
- 6 °C
689
-
690
- Time & distanceEstimated arrival
691
- July 24, 2025 – 08:00
692
-
693
- Current position
694
- Near Munich
695
-
696
- Distance to destination
697
- 498 km
698
-
699
- Average speed
700
- 72 km/h
701
-
702
- Last stop
703
- Regensburg (Shell)
704
-
705
- #### React (tsx)
706
-
707
- ```tsx
708
- import Button from '@rio-cloud/rio-uikit/Button';
709
-
710
- export default () => {
711
- return (
712
- <div className='margin-auto border border-top-none border-bottom-none max-width-400'>
713
- {/* Actual content comes here */}
714
- <div className='padding-20 display-flex flex-column gap-25 space-y-10'>
715
- <section>
716
- <legend className='margin-bottom-5 padding-bottom-5 display-flex align-items-center justify-content-between gap-15'>
717
- <div className='display-flex align-items-center gap-5'>
718
- <span className='rioglyph rioglyph-parcel' />
719
- <span>Shipment details</span>
720
- </div>
721
- <div>
722
- <Button bsSize='sm' bsStyle='muted'>
723
- Options
724
- </Button>
725
- </div>
726
- </legend>
727
- <div className='divider-y-1 divider-color-lighter divider-style-solid'>
728
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
729
- <div className='min-width-40pct text-color-dark'>Shipment ID</div>
730
- <div className='text-right text-color-darkest'>982-457-ABX</div>
731
- </div>
732
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
733
- <div className='min-width-40pct text-color-dark'>Status</div>
734
- <div className='text-right text-color-darkest'>
735
- <div className='label label-info label-condensed'>Out for delivery</div>
736
- </div>
737
- </div>
738
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
739
- <div className='min-width-40pct text-color-dark'>Last update</div>
740
- <div className='text-right text-color-darkest'>July 23, 2025 – 10:31</div>
741
- </div>
742
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
743
- <div className='min-width-40pct text-color-dark'>Shipping type</div>
744
- <div className='text-right text-color-darkest'>Express</div>
745
- </div>
746
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
747
- <div className='min-width-40pct text-color-dark'>Origin</div>
748
- <div className='text-right text-color-darkest'>Hamburg, DE</div>
749
- </div>
750
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
751
- <div className='min-width-40pct text-color-dark'>Destination</div>
752
- <div className='text-right text-color-darkest'>Verona, IT</div>
753
- </div>
754
- </div>
755
- </section>
756
-
757
- <section>
758
- <legend className='margin-bottom-5 padding-bottom-5 display-flex align-items-center justify-content-between gap-15'>
759
- <div className='display-flex align-items-center gap-5'>
760
- <span className='rioglyph rioglyph-truck' />
761
- <span>Vehicle information</span>
762
- </div>
763
- <div>
764
- <Button bsSize='sm' bsStyle='muted' iconName='rioglyph-share-nodes' iconOnly />
765
- </div>
766
- </legend>
767
- <div className='divider-y-1 divider-color-lighter divider-style-solid'>
768
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
769
- <div className='min-width-40pct text-color-dark'>Vehicle type</div>
770
- <div className='text-right text-color-darkest'>Truck with trailer</div>
771
- </div>
772
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
773
- <div className='min-width-40pct text-color-dark'>License plate</div>
774
- <div className='text-right text-color-darkest'>M-TD 3456</div>
775
- </div>
776
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
777
- <div className='min-width-40pct text-color-dark'>Driver</div>
778
- <div className='text-right text-color-darkest'>M. Schubert</div>
779
- </div>
780
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
781
- <div className='min-width-40pct text-color-dark'>Current load</div>
782
- <div className='text-right text-color-darkest'>19.4 t</div>
783
- </div>
784
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
785
- <div className='min-width-40pct text-color-dark'>Temperature</div>
786
- <div className='text-right text-color-darkest'>6 °C</div>
787
- </div>
788
- </div>
789
- </section>
790
-
791
- <section>
792
- <legend className='display-flex align-items-center gap-5 margin-bottom-5'>
793
- <span className='rioglyph rioglyph-time' />
794
- <span>Time & distance</span>
795
- </legend>
796
- <div className='divider-y-1 divider-color-lighter divider-style-solid'>
797
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
798
- <div className='min-width-40pct text-color-dark'>Estimated arrival</div>
799
- <div className='text-right text-color-darkest'>July 24, 2025 – 08:00</div>
800
- </div>
801
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
802
- <div className='min-width-40pct text-color-dark'>Current position</div>
803
- <div className='text-right text-color-darkest'>
804
- <a href='#'>Near Munich</a>
805
- </div>
806
- </div>
807
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
808
- <div className='min-width-40pct text-color-dark'>Distance to destination</div>
809
- <div className='text-right text-color-darkest'>498 km</div>
810
- </div>
811
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
812
- <div className='min-width-40pct text-color-dark'>Average speed</div>
813
- <div className='text-right text-color-darkest'>72 km/h</div>
814
- </div>
815
- <div className='display-flex justify-content-between padding-y-10 padding-x-5'>
816
- <div className='min-width-40pct text-color-dark'>Last stop</div>
817
- <div className='text-right text-color-darkest'>Regensburg (Shell)</div>
818
- </div>
819
- </div>
820
- </section>
821
- </div>
822
- </div>
823
- );
824
- };
825
- ```
826
-
827
- #### HTML (html)
828
-
829
- ```html
830
- <div class="margin-auto border border-top-none border-bottom-none max-width-400">
831
- <div class="padding-20 display-flex flex-column gap-25 space-y-10">
832
- <section>
833
- <legend class="margin-bottom-5 padding-bottom-5 display-flex align-items-center justify-content-between gap-15">
834
- <div class="display-flex align-items-center gap-5">
835
- <span class="rioglyph rioglyph-parcel">
836
- </span>
837
- <span>Shipment details</span>
838
- </div>
839
- <div>
840
- <button type="button" class="btn btn-muted btn-sm btn-component" tabindex="0">Options</button>
841
- </div>
842
- </legend>
843
- <div class="divider-y-1 divider-color-lighter divider-style-solid">
844
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
845
- <div class="min-width-40pct text-color-dark">Shipment ID</div>
846
- <div class="text-right text-color-darkest">982-457-ABX</div>
847
- </div>
848
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
849
- <div class="min-width-40pct text-color-dark">Status</div>
850
- <div class="text-right text-color-darkest">
851
- <div class="label label-info label-condensed">Out for delivery</div>
852
- </div>
853
- </div>
854
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
855
- <div class="min-width-40pct text-color-dark">Last update</div>
856
- <div class="text-right text-color-darkest">July 23, 2025 – 10:31</div>
857
- </div>
858
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
859
- <div class="min-width-40pct text-color-dark">Shipping type</div>
860
- <div class="text-right text-color-darkest">Express</div>
861
- </div>
862
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
863
- <div class="min-width-40pct text-color-dark">Origin</div>
864
- <div class="text-right text-color-darkest">Hamburg, DE</div>
865
- </div>
866
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
867
- <div class="min-width-40pct text-color-dark">Destination</div>
868
- <div class="text-right text-color-darkest">Verona, IT</div>
869
- </div>
870
- </div>
871
- </section>
872
- <section>
873
- <legend class="margin-bottom-5 padding-bottom-5 display-flex align-items-center justify-content-between gap-15">
874
- <div class="display-flex align-items-center gap-5">
875
- <span class="rioglyph rioglyph-truck">
876
- </span>
877
- <span>Vehicle information</span>
878
- </div>
879
- <div>
880
- <button type="button" class="btn btn-muted btn-sm btn-icon-only btn-component" tabindex="0">
881
- <span class="rioglyph rioglyph-share-nodes">
882
- </span>
883
- </button>
884
- </div>
885
- </legend>
886
- <div class="divider-y-1 divider-color-lighter divider-style-solid">
887
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
888
- <div class="min-width-40pct text-color-dark">Vehicle type</div>
889
- <div class="text-right text-color-darkest">Truck with trailer</div>
890
- </div>
891
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
892
- <div class="min-width-40pct text-color-dark">License plate</div>
893
- <div class="text-right text-color-darkest">M-TD 3456</div>
894
- </div>
895
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
896
- <div class="min-width-40pct text-color-dark">Driver</div>
897
- <div class="text-right text-color-darkest">M. Schubert</div>
898
- </div>
899
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
900
- <div class="min-width-40pct text-color-dark">Current load</div>
901
- <div class="text-right text-color-darkest">19.4 t</div>
902
- </div>
903
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
904
- <div class="min-width-40pct text-color-dark">Temperature</div>
905
- <div class="text-right text-color-darkest">6 °C</div>
906
- </div>
907
- </div>
908
- </section>
909
- <section>
910
- <legend class="display-flex align-items-center gap-5 margin-bottom-5">
911
- <span class="rioglyph rioglyph-time">
912
- </span>
913
- <span>Time &amp; distance</span>
914
- </legend>
915
- <div class="divider-y-1 divider-color-lighter divider-style-solid">
916
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
917
- <div class="min-width-40pct text-color-dark">Estimated arrival</div>
918
- <div class="text-right text-color-darkest">July 24, 2025 – 08:00</div>
919
- </div>
920
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
921
- <div class="min-width-40pct text-color-dark">Current position</div>
922
- <div class="text-right text-color-darkest">
923
- <a href="#">Near Munich</a>
924
- </div>
925
- </div>
926
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
927
- <div class="min-width-40pct text-color-dark">Distance to destination</div>
928
- <div class="text-right text-color-darkest">498 km</div>
929
- </div>
930
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
931
- <div class="min-width-40pct text-color-dark">Average speed</div>
932
- <div class="text-right text-color-darkest">72 km/h</div>
933
- </div>
934
- <div class="display-flex justify-content-between padding-y-10 padding-x-5">
935
- <div class="min-width-40pct text-color-dark">Last stop</div>
936
- <div class="text-right text-color-darkest">Regensburg (Shell)</div>
937
- </div>
938
- </div>
939
- </section>
940
- </div>
941
- </div>
942
- ```