@rio-cloud/uikit-mcp 1.1.7 → 1.1.8
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.
- package/README.md +13 -17
- package/dist/doc-metadata.json +125 -295
- package/dist/docs/components/accentBar.md +16 -69
- package/dist/docs/components/activity.md +7 -44
- package/dist/docs/components/animatedNumber.md +3 -11
- package/dist/docs/components/animatedTextReveal.md +6 -34
- package/dist/docs/components/animations.md +21 -54
- package/dist/docs/components/appHeader.md +11 -30
- package/dist/docs/components/appLayout.md +40 -193
- package/dist/docs/components/appNavigationBar.md +1 -24
- package/dist/docs/components/areaCharts.md +7 -22
- package/dist/docs/components/aspectRatioPlaceholder.md +1 -9
- package/dist/docs/components/assetTree.md +241 -280
- package/dist/docs/components/autosuggests.md +3 -102
- package/dist/docs/components/avatar.md +1 -16
- package/dist/docs/components/banner.md +4 -37
- package/dist/docs/components/barCharts.md +20 -75
- package/dist/docs/components/barList.md +10 -78
- package/dist/docs/components/basicMap.md +1 -67
- package/dist/docs/components/bottomSheet.md +2 -28
- package/dist/docs/components/button.md +12 -65
- package/dist/docs/components/buttonToolbar.md +5 -19
- package/dist/docs/components/calendarStripe.md +50 -100
- package/dist/docs/components/card.md +1 -9
- package/dist/docs/components/carousel.md +1 -14
- package/dist/docs/components/chartColors.md +1 -156
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -81
- package/dist/docs/components/checkbox.md +11 -72
- package/dist/docs/components/circularProgress.md +8 -49
- package/dist/docs/components/clearableInput.md +3 -62
- package/dist/docs/components/collapse.md +2 -15
- package/dist/docs/components/composedCharts.md +16 -26
- package/dist/docs/components/contentLoader.md +7 -25
- package/dist/docs/components/dataTabs.md +16 -104
- package/dist/docs/components/datepickers.md +710 -962
- package/dist/docs/components/dialogs.md +5 -67
- package/dist/docs/components/divider.md +1 -33
- package/dist/docs/components/dropdowns.md +3424 -5567
- package/dist/docs/components/editableContent.md +4 -82
- package/dist/docs/components/expander.md +15 -88
- package/dist/docs/components/fade.md +4 -61
- package/dist/docs/components/fadeExpander.md +1 -7
- package/dist/docs/components/fadeUp.md +2 -76
- package/dist/docs/components/feedback.md +9 -68
- package/dist/docs/components/filePickers.md +4 -18
- package/dist/docs/components/formLabel.md +7 -27
- package/dist/docs/components/groupedItemList.md +2 -158
- package/dist/docs/components/iconList.md +7 -64
- package/dist/docs/components/imagePreloader.md +1 -9
- package/dist/docs/components/labeledElement.md +3 -18
- package/dist/docs/components/licensePlate.md +1 -43
- package/dist/docs/components/lineCharts.md +8 -39
- package/dist/docs/components/listMenu.md +2 -34
- package/dist/docs/components/loadMore.md +5 -24
- package/dist/docs/components/mainNavigation.md +1 -9
- package/dist/docs/components/mapCircle.md +1 -23
- package/dist/docs/components/mapCluster.md +2 -54
- package/dist/docs/components/mapContext.md +1 -23
- package/dist/docs/components/mapDraggableMarker.md +2 -28
- package/dist/docs/components/mapGettingStarted.md +2 -2
- package/dist/docs/components/mapInfoBubble.md +1 -27
- package/dist/docs/components/mapLayerGroup.md +1 -23
- package/dist/docs/components/mapMarker.md +1 -99
- package/dist/docs/components/mapPolygon.md +2 -116
- package/dist/docs/components/mapRoute.md +6 -1465
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +11 -128
- package/dist/docs/components/mapUtils.md +10 -113
- package/dist/docs/components/multiselects.md +14 -163
- package/dist/docs/components/noData.md +8 -22
- package/dist/docs/components/notifications.md +3 -19
- package/dist/docs/components/numbercontrol.md +3 -47
- package/dist/docs/components/onboarding.md +3 -15
- package/dist/docs/components/page.md +1 -33
- package/dist/docs/components/pager.md +1 -17
- package/dist/docs/components/pieCharts.md +40 -71
- package/dist/docs/components/popover.md +1 -12
- package/dist/docs/components/position.md +2 -6
- package/dist/docs/components/radialBarCharts.md +32 -116
- package/dist/docs/components/radioCardGroup.md +6 -48
- package/dist/docs/components/radiobutton.md +6 -75
- package/dist/docs/components/releaseNotes.md +3 -21
- package/dist/docs/components/resizer.md +1 -7
- package/dist/docs/components/responsiveColumnStripe.md +9 -49
- package/dist/docs/components/responsiveVideo.md +1 -7
- package/dist/docs/components/rioglyph.md +1 -17
- package/dist/docs/components/rules.md +7 -70
- package/dist/docs/components/saveableInput.md +267 -401
- package/dist/docs/components/selects.md +27 -1164
- package/dist/docs/components/sidebar.md +6 -17
- package/dist/docs/components/sliders.md +1 -27
- package/dist/docs/components/smoothScrollbars.md +1 -73
- package/dist/docs/components/spinners.md +6 -51
- package/dist/docs/components/states.md +6 -92
- package/dist/docs/components/statsWidgets.md +1 -76
- package/dist/docs/components/statusBar.md +1 -57
- package/dist/docs/components/stepButton.md +2 -7
- package/dist/docs/components/steppedProgressBars.md +5 -62
- package/dist/docs/components/subNavigation.md +1 -31
- package/dist/docs/components/supportMarker.md +2 -14
- package/dist/docs/components/svgImage.md +1 -5
- package/dist/docs/components/switch.md +2 -33
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +1 -41
- package/dist/docs/components/tags.md +1 -138
- package/dist/docs/components/teaser.md +2 -122
- package/dist/docs/components/textTruncateMiddle.md +2 -9
- package/dist/docs/components/timeline.md +1 -99
- package/dist/docs/components/timepicker.md +4 -79
- package/dist/docs/components/toggleButton.md +2 -15
- package/dist/docs/components/tooltip.md +9 -30
- package/dist/docs/components/tracker.md +2 -19
- package/dist/docs/components/virtualList.md +61 -130
- package/dist/docs/foundations.md +749 -4069
- package/dist/docs/start/changelog.md +5 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +149 -483
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +4 -16
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +13 -67
- package/dist/docs/start/guidelines/state-in-url.md +1 -1
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +11 -11
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/utilities/classNames.md +3 -18
- package/dist/docs/utilities/deviceUtils.md +7 -13
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +2 -12
- package/dist/docs/utilities/routeUtils.md +25 -343
- package/dist/docs/utilities/useAfterMount.md +1 -6
- package/dist/docs/utilities/useAutoAnimate.md +2 -15
- package/dist/docs/utilities/useAverage.md +1 -6
- package/dist/docs/utilities/useClickOutside.md +1 -5
- package/dist/docs/utilities/useClipboard.md +2 -6
- package/dist/docs/utilities/useCookies.md +2 -10
- package/dist/docs/utilities/useCount.md +7 -16
- package/dist/docs/utilities/useDarkMode.md +2 -6
- package/dist/docs/utilities/useDebugInfo.md +6 -20
- package/dist/docs/utilities/useEffectOnce.md +1 -6
- package/dist/docs/utilities/useElapsedTime.md +2 -6
- package/dist/docs/utilities/useElementSize.md +1 -7
- package/dist/docs/utilities/useEsc.md +1 -5
- package/dist/docs/utilities/useEvent.md +1 -5
- package/dist/docs/utilities/useFocusTrap.md +1 -5
- package/dist/docs/utilities/useFullscreen.md +2 -15
- package/dist/docs/utilities/useHover.md +1 -5
- package/dist/docs/utilities/useIncomingPostMessages.md +2 -18
- package/dist/docs/utilities/useInterval.md +2 -8
- package/dist/docs/utilities/useIsFocusWithin.md +1 -10
- package/dist/docs/utilities/useKey.md +1 -15
- package/dist/docs/utilities/useLocalStorage.md +2 -11
- package/dist/docs/utilities/useLocationSuggestions.md +1 -5
- package/dist/docs/utilities/useMax.md +1 -5
- package/dist/docs/utilities/useMin.md +1 -5
- package/dist/docs/utilities/useMutationObserver.md +3 -11
- package/dist/docs/utilities/useOnScreen.md +1 -8
- package/dist/docs/utilities/useOnlineStatus.md +1 -5
- package/dist/docs/utilities/usePostMessage.md +3 -9
- package/dist/docs/utilities/usePostMessageSender.md +3 -13
- package/dist/docs/utilities/usePrevious.md +1 -5
- package/dist/docs/utilities/useResizeObserver.md +3 -11
- package/dist/docs/utilities/useRioCookieConsent.md +1 -5
- package/dist/docs/utilities/useScrollPosition.md +3 -59
- package/dist/docs/utilities/useSearch.md +2 -16
- package/dist/docs/utilities/useSearchHighlight.md +13 -78
- package/dist/docs/utilities/useSorting.md +18 -43
- package/dist/docs/utilities/useStateWithValidation.md +1 -5
- package/dist/docs/utilities/useSum.md +1 -9
- package/dist/docs/utilities/useTableExport.md +42 -59
- package/dist/docs/utilities/useTableSelection.md +74 -119
- package/dist/docs/utilities/useTimeout.md +2 -6
- package/dist/docs/utilities/useToggle.md +4 -14
- package/dist/docs/utilities/useUrlState.md +2 -27
- package/dist/docs/utilities/useWindowResize.md +1 -5
- package/dist/index.mjs +46 -10
- package/dist/version.json +2 -2
- package/package.json +2 -2
- package/dist/docs/templates/common-table.md +0 -1112
- package/dist/docs/templates/detail-views.md +0 -942
- package/dist/docs/templates/expandable-details.md +0 -228
- package/dist/docs/templates/feature-cards.md +0 -549
- package/dist/docs/templates/form-summary.md +0 -199
- package/dist/docs/templates/form-toggle.md +0 -367
- package/dist/docs/templates/list-blocks.md +0 -1021
- package/dist/docs/templates/loading-progress.md +0 -109
- package/dist/docs/templates/options-panel.md +0 -152
- package/dist/docs/templates/panel-variants.md +0 -164
- package/dist/docs/templates/progress-cards.md +0 -607
- package/dist/docs/templates/progress-success.md +0 -142
- package/dist/docs/templates/settings-form.md +0 -434
- package/dist/docs/templates/stats-blocks.md +0 -1381
- package/dist/docs/templates/table-panel.md +0 -184
- package/dist/docs/templates/table-row-animation.md +0 -317
- package/dist/docs/templates/usage-cards.md +0 -227
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
# Expandable details
|
|
2
|
-
|
|
3
|
-
*Category:* Templates
|
|
4
|
-
*Section:* Content
|
|
5
|
-
*Source:* https://uikit.developers.rio.cloud/#/templates/expandable-details
|
|
6
|
-
*Captured:* 2026-02-23T15:49:32.869Z
|
|
7
|
-
|
|
8
|
-
## Expandable details
|
|
9
|
-
|
|
10
|
-
### Example: Example 1
|
|
11
|
-
|
|
12
|
-
Warehouse EU-Central
|
|
13
|
-
#458712839104 | eu-central-warehouse@logistics.cloud
|
|
14
|
-
|
|
15
|
-
Distribution hub west
|
|
16
|
-
|
|
17
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
18
|
-
|
|
19
|
-
Local delivery north
|
|
20
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
21
|
-
|
|
22
|
-
#### Summary
|
|
23
|
-
|
|
24
|
-
Warehouse EU-Central
|
|
25
|
-
#458712839104 | eu-central-warehouse@logistics.cloud
|
|
26
|
-
|
|
27
|
-
Distribution hub west
|
|
28
|
-
|
|
29
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
30
|
-
|
|
31
|
-
Local delivery north
|
|
32
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
33
|
-
|
|
34
|
-
#### React (tsx)
|
|
35
|
-
|
|
36
|
-
```tsx
|
|
37
|
-
import { useState } from 'react';
|
|
38
|
-
|
|
39
|
-
import { generateDummyText } from '../../../utils/data';
|
|
40
|
-
import ExpanderList from '@rio-cloud/rio-uikit/ExpanderList';
|
|
41
|
-
import Divider from '@rio-cloud/rio-uikit/Divider';
|
|
42
|
-
|
|
43
|
-
export default () => {
|
|
44
|
-
const [listItems, setListItems] = useState([
|
|
45
|
-
{
|
|
46
|
-
id: 1,
|
|
47
|
-
header: (
|
|
48
|
-
<div className='padding-y-5 display-flex gap-10'>
|
|
49
|
-
<div>
|
|
50
|
-
<span className='rioglyph rioglyph-building text-size-18 text-color-primary' />
|
|
51
|
-
</div>
|
|
52
|
-
<div>
|
|
53
|
-
<div className='text-color-primary text-medium'>Warehouse EU-Central</div>
|
|
54
|
-
<div className='text-color-gray text-size-12'>
|
|
55
|
-
#458712839104 | eu-central-warehouse@logistics.cloud
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
),
|
|
60
|
-
body: <RoleList />,
|
|
61
|
-
bodyClassName: 'padding-top-0 padding-bottom-15 padding-x-25',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
id: 2,
|
|
65
|
-
header: (
|
|
66
|
-
<div className='padding-y-5 display-flex gap-10'>
|
|
67
|
-
<div>
|
|
68
|
-
<span className='rioglyph rioglyph-building text-size-18 text-color-primary' />
|
|
69
|
-
</div>
|
|
70
|
-
<div>
|
|
71
|
-
<div className='text-color-primary text-medium'>Distribution hub west</div>
|
|
72
|
-
<Divider vertical />
|
|
73
|
-
<div className='text-color-gray text-size-12'>
|
|
74
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
),
|
|
79
|
-
body: <RoleList />,
|
|
80
|
-
bodyClassName: 'padding-top-0 padding-bottom-15 padding-x-25',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: 3,
|
|
84
|
-
header: (
|
|
85
|
-
<div className='padding-y-5 display-flex gap-10'>
|
|
86
|
-
<div>
|
|
87
|
-
<span className='rioglyph rioglyph-factory text-size-18 text-color-primary' />
|
|
88
|
-
</div>
|
|
89
|
-
<div>
|
|
90
|
-
<div className='text-color-primary text-medium'>Local delivery north</div>
|
|
91
|
-
<div className='text-color-gray text-size-12'>
|
|
92
|
-
#778944220011 | delivery-north-team@logistics.cloud
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
),
|
|
97
|
-
body: <RoleList />,
|
|
98
|
-
bodyClassName: 'padding-top-0 padding-bottom-15 padding-x-25',
|
|
99
|
-
},
|
|
100
|
-
]);
|
|
101
|
-
|
|
102
|
-
return (
|
|
103
|
-
<div className='padding-15'>
|
|
104
|
-
<ExpanderList items={listItems} />
|
|
105
|
-
</div>
|
|
106
|
-
);
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
type RoleItem = {
|
|
110
|
-
role: string;
|
|
111
|
-
dashboardUrl: string;
|
|
112
|
-
apiUrl: string;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
const roles: RoleItem[] = [
|
|
116
|
-
{
|
|
117
|
-
role: 'Hub Manager',
|
|
118
|
-
dashboardUrl: '#',
|
|
119
|
-
apiUrl: '#',
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
role: 'Inventory Control',
|
|
123
|
-
dashboardUrl: '#',
|
|
124
|
-
apiUrl: '#',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
role: 'Shipping Operator',
|
|
128
|
-
dashboardUrl: '#',
|
|
129
|
-
apiUrl: '#',
|
|
130
|
-
},
|
|
131
|
-
];
|
|
132
|
-
|
|
133
|
-
export const RoleList = () => {
|
|
134
|
-
return (
|
|
135
|
-
<div className='cq-container margin-top--5 padding-left-10 divider-y-1 divider-color-lighter divider-style-solid'>
|
|
136
|
-
{roles.map(({ role, dashboardUrl, apiUrl }, index) => (
|
|
137
|
-
<div
|
|
138
|
-
key={role}
|
|
139
|
-
className={`
|
|
140
|
-
display-flex flex-column cq-600:flex-row column-gap-25 row-gap-5 padding-y-10 padding-left-10 padding-right-15 hover-bg-highlight-decent
|
|
141
|
-
${index === 0 ? 'rounded-top' : ''} ${index === (roles.length - 1) ? 'rounded-bottom' : ''}`}
|
|
142
|
-
>
|
|
143
|
-
<div className='flex-1-1'>
|
|
144
|
-
<div className='text-medium text-color-darker'>{role}</div>
|
|
145
|
-
<div className='text-color-dark'>{generateDummyText()}</div>
|
|
146
|
-
</div>
|
|
147
|
-
<div className='flex-0 display-flex align-items-center padding-y-5 cq-600:padding-y-0'>
|
|
148
|
-
<a href={dashboardUrl} className='link margin-right-5'>
|
|
149
|
-
Fleet dashboard
|
|
150
|
-
</a>
|
|
151
|
-
<Divider className='height-20' vertical />
|
|
152
|
-
<a href={apiUrl} className='link margin-left-5'>
|
|
153
|
-
API access
|
|
154
|
-
</a>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
))}
|
|
158
|
-
</div>
|
|
159
|
-
);
|
|
160
|
-
};
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
#### HTML (html)
|
|
164
|
-
|
|
165
|
-
```html
|
|
166
|
-
<div class="padding-15">
|
|
167
|
-
<ul class="expander-list list-group rounded border">
|
|
168
|
-
<li class="list-group-item expandable">
|
|
169
|
-
<div class="expander-list-header" aria-label="expander item header">
|
|
170
|
-
<span class="expander-list-header-content">
|
|
171
|
-
<div class="padding-y-5 display-flex gap-10">
|
|
172
|
-
<div>
|
|
173
|
-
<span class="rioglyph rioglyph-building text-size-18 text-color-primary">
|
|
174
|
-
</span>
|
|
175
|
-
</div>
|
|
176
|
-
<div>
|
|
177
|
-
<div class="text-color-primary text-medium">Warehouse EU-Central</div>
|
|
178
|
-
<div class="text-color-gray text-size-12">#458712839104 | eu-central-warehouse@logistics.cloud</div>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
</span>
|
|
182
|
-
<span class="expander-icon rioglyph rioglyph-chevron-down">
|
|
183
|
-
</span>
|
|
184
|
-
</div>
|
|
185
|
-
</li>
|
|
186
|
-
<li class="list-group-item expandable">
|
|
187
|
-
<div class="expander-list-header" aria-label="expander item header">
|
|
188
|
-
<span class="expander-list-header-content">
|
|
189
|
-
<div class="padding-y-5 display-flex gap-10">
|
|
190
|
-
<div>
|
|
191
|
-
<span class="rioglyph rioglyph-building text-size-18 text-color-primary">
|
|
192
|
-
</span>
|
|
193
|
-
</div>
|
|
194
|
-
<div>
|
|
195
|
-
<div class="text-color-primary text-medium">Distribution hub west</div>
|
|
196
|
-
<div class="Divider position-relative" style="padding-left: 15px; padding-right: 15px;">
|
|
197
|
-
<div class="divider-line bg-light" style="width: 1px; height: 100%;">
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
<div class="text-color-gray text-size-12">#778944220011 | delivery-north-team@logistics.cloud</div>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
</span>
|
|
204
|
-
<span class="expander-icon rioglyph rioglyph-chevron-down">
|
|
205
|
-
</span>
|
|
206
|
-
</div>
|
|
207
|
-
</li>
|
|
208
|
-
<li class="list-group-item expandable">
|
|
209
|
-
<div class="expander-list-header" aria-label="expander item header">
|
|
210
|
-
<span class="expander-list-header-content">
|
|
211
|
-
<div class="padding-y-5 display-flex gap-10">
|
|
212
|
-
<div>
|
|
213
|
-
<span class="rioglyph rioglyph-factory text-size-18 text-color-primary">
|
|
214
|
-
</span>
|
|
215
|
-
</div>
|
|
216
|
-
<div>
|
|
217
|
-
<div class="text-color-primary text-medium">Local delivery north</div>
|
|
218
|
-
<div class="text-color-gray text-size-12">#778944220011 | delivery-north-team@logistics.cloud</div>
|
|
219
|
-
</div>
|
|
220
|
-
</div>
|
|
221
|
-
</span>
|
|
222
|
-
<span class="expander-icon rioglyph rioglyph-chevron-down">
|
|
223
|
-
</span>
|
|
224
|
-
</div>
|
|
225
|
-
</li>
|
|
226
|
-
</ul>
|
|
227
|
-
</div>
|
|
228
|
-
```
|