@rio-cloud/uikit-mcp 1.1.6 → 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 +3 -31
- package/dist/docs/components/animations.md +21 -54
- package/dist/docs/components/appHeader.md +11 -30
- package/dist/docs/components/appLayout.md +36 -172
- 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 +141 -374
- 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 +9 -77
- 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 +48 -106
- 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 +3412 -5600
- 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 +8 -65
- 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 +7 -38
- 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 +57 -123
- package/dist/docs/foundations.md +753 -4073
- package/dist/docs/start/changelog.md +793 -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 +75 -120
- 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,1021 +0,0 @@
|
|
|
1
|
-
# List blocks
|
|
2
|
-
|
|
3
|
-
*Category:* Templates
|
|
4
|
-
*Section:* Content
|
|
5
|
-
*Source:* https://uikit.developers.rio.cloud/#/templates/list-blocks
|
|
6
|
-
*Captured:* 2026-02-23T13:48:41.811Z
|
|
7
|
-
|
|
8
|
-
## List blocks
|
|
9
|
-
|
|
10
|
-
### Example: Apud aufero taedium.
|
|
11
|
-
|
|
12
|
-
Lorem ipsum dolor
|
|
13
|
-
Apud aufero taedium.
|
|
14
|
-
|
|
15
|
-
Rath - Mante
|
|
16
|
-
Talis iste correptius vitiosus desidero pax.
|
|
17
|
-
|
|
18
|
-
Connect
|
|
19
|
-
|
|
20
|
-
Brekke - Casper
|
|
21
|
-
Apostolus aetas cresco.
|
|
22
|
-
Sub suggero tot dedecor celer.
|
|
23
|
-
|
|
24
|
-
Connect
|
|
25
|
-
|
|
26
|
-
Lowe Group
|
|
27
|
-
Acervus totidem caelum vilitas stella.
|
|
28
|
-
|
|
29
|
-
Connect
|
|
30
|
-
|
|
31
|
-
#### Summary
|
|
32
|
-
|
|
33
|
-
Lorem ipsum dolor
|
|
34
|
-
Apud aufero taedium.
|
|
35
|
-
|
|
36
|
-
Rath - Mante
|
|
37
|
-
Talis iste correptius vitiosus desidero pax.
|
|
38
|
-
|
|
39
|
-
Connect
|
|
40
|
-
|
|
41
|
-
Brekke - Casper
|
|
42
|
-
Apostolus aetas cresco.
|
|
43
|
-
Sub suggero tot dedecor celer.
|
|
44
|
-
|
|
45
|
-
Connect
|
|
46
|
-
|
|
47
|
-
Lowe Group
|
|
48
|
-
Acervus totidem caelum vilitas stella.
|
|
49
|
-
|
|
50
|
-
Connect
|
|
51
|
-
|
|
52
|
-
#### React (tsx)
|
|
53
|
-
|
|
54
|
-
```tsx
|
|
55
|
-
import { faker } from '@faker-js/faker';
|
|
56
|
-
import Button from '@rio-cloud/rio-uikit/Button';
|
|
57
|
-
|
|
58
|
-
export default () => {
|
|
59
|
-
const examples = [
|
|
60
|
-
{
|
|
61
|
-
name: faker.company.name(),
|
|
62
|
-
icon: 'rioglyph-academic-cap',
|
|
63
|
-
description: faker.lorem.lines(1),
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: faker.company.name(),
|
|
67
|
-
icon: 'rioglyph-inbox',
|
|
68
|
-
description: faker.lorem.lines(2),
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: faker.company.name(),
|
|
72
|
-
icon: 'rioglyph-rio',
|
|
73
|
-
description: faker.lorem.lines(1),
|
|
74
|
-
},
|
|
75
|
-
];
|
|
76
|
-
|
|
77
|
-
return (
|
|
78
|
-
<div className='max-width-500 margin-auto padding-5'>
|
|
79
|
-
<div className='text-size-h2 font-bold'>Lorem ipsum dolor</div>
|
|
80
|
-
<p className='text-color-dark margin-top-0 margin-bottom-20'>{faker.lorem.lines(1)}</p>
|
|
81
|
-
|
|
82
|
-
<div className='space-y-15'>
|
|
83
|
-
{examples.map(item => (
|
|
84
|
-
<div key={item.name} className='bg-white padding-15 rounded-large shadow-subtle border'>
|
|
85
|
-
<div className='display-flex gap-15'>
|
|
86
|
-
<div className='height-80 aspect-ratio-1 bg-lightest rounded display-flex align-items-center justify-content-center text-size-14'>
|
|
87
|
-
<span className={`rioglyph ${item.icon} text-size-300pct`} />
|
|
88
|
-
</div>
|
|
89
|
-
<div className='flex-1-1 display-flex gap-15 flex-row-ls flex-column'>
|
|
90
|
-
<div className='flex-1-1'>
|
|
91
|
-
<p className='text-size-18 margin-0 margin-bottom-5'>{item.name}</p>
|
|
92
|
-
<p className='text-color-dark margin-0'>{item.description}</p>
|
|
93
|
-
</div>
|
|
94
|
-
<div className='display-flex align-items-center'>
|
|
95
|
-
<Button>Connect</Button>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
))}
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
);
|
|
104
|
-
};
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
#### HTML (html)
|
|
108
|
-
|
|
109
|
-
```html
|
|
110
|
-
<div class="max-width-500 margin-auto padding-5">
|
|
111
|
-
<div class="text-size-h2 font-bold">Lorem ipsum dolor</div>
|
|
112
|
-
<p class="text-color-dark margin-top-0 margin-bottom-20">Apud aufero taedium.</p>
|
|
113
|
-
<div class="space-y-15">
|
|
114
|
-
<div class="bg-white padding-15 rounded-large shadow-subtle border">
|
|
115
|
-
<div class="display-flex gap-15">
|
|
116
|
-
<div class="height-80 aspect-ratio-1 bg-lightest rounded display-flex align-items-center justify-content-center text-size-14">
|
|
117
|
-
<span class="rioglyph rioglyph-academic-cap text-size-300pct">
|
|
118
|
-
</span>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="flex-1-1 display-flex gap-15 flex-row-ls flex-column">
|
|
121
|
-
<div class="flex-1-1">
|
|
122
|
-
<p class="text-size-18 margin-0 margin-bottom-5">Rath - Mante</p>
|
|
123
|
-
<p class="text-color-dark margin-0">Talis iste correptius vitiosus desidero pax.</p>
|
|
124
|
-
</div>
|
|
125
|
-
<div class="display-flex align-items-center">
|
|
126
|
-
<button type="button" class="btn btn-default btn-component" tabindex="0">Connect</button>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="bg-white padding-15 rounded-large shadow-subtle border">
|
|
132
|
-
<div class="display-flex gap-15">
|
|
133
|
-
<div class="height-80 aspect-ratio-1 bg-lightest rounded display-flex align-items-center justify-content-center text-size-14">
|
|
134
|
-
<span class="rioglyph rioglyph-inbox text-size-300pct">
|
|
135
|
-
</span>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="flex-1-1 display-flex gap-15 flex-row-ls flex-column">
|
|
138
|
-
<div class="flex-1-1">
|
|
139
|
-
<p class="text-size-18 margin-0 margin-bottom-5">Brekke - Casper</p>
|
|
140
|
-
<p class="text-color-dark margin-0">Apostolus aetas cresco.
|
|
141
|
-
Sub suggero tot dedecor celer.</p>
|
|
142
|
-
</div>
|
|
143
|
-
<div class="display-flex align-items-center">
|
|
144
|
-
<button type="button" class="btn btn-default btn-component" tabindex="0">Connect</button>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
<div class="bg-white padding-15 rounded-large shadow-subtle border">
|
|
150
|
-
<div class="display-flex gap-15">
|
|
151
|
-
<div class="height-80 aspect-ratio-1 bg-lightest rounded display-flex align-items-center justify-content-center text-size-14">
|
|
152
|
-
<span class="rioglyph rioglyph-rio text-size-300pct">
|
|
153
|
-
</span>
|
|
154
|
-
</div>
|
|
155
|
-
<div class="flex-1-1 display-flex gap-15 flex-row-ls flex-column">
|
|
156
|
-
<div class="flex-1-1">
|
|
157
|
-
<p class="text-size-18 margin-0 margin-bottom-5">Lowe Group</p>
|
|
158
|
-
<p class="text-color-dark margin-0">Acervus totidem caelum vilitas stella.</p>
|
|
159
|
-
</div>
|
|
160
|
-
<div class="display-flex align-items-center">
|
|
161
|
-
<button type="button" class="btn btn-default btn-component" tabindex="0">Connect</button>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
</div>
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Example: Choose the logistics session that fits your process
|
|
171
|
-
|
|
172
|
-
Meeting type
|
|
173
|
-
|
|
174
|
-
Choose the logistics session that fits your process
|
|
175
|
-
Freight pickup
|
|
176
|
-
Schedule cargo collection at origin
|
|
177
|
-
|
|
178
|
-
30 min
|
|
179
|
-
|
|
180
|
-
Route planning
|
|
181
|
-
Discuss optimal route and ETA
|
|
182
|
-
|
|
183
|
-
45 min
|
|
184
|
-
|
|
185
|
-
Delivery coordination
|
|
186
|
-
Align final drop-off and documents
|
|
187
|
-
|
|
188
|
-
60 min
|
|
189
|
-
|
|
190
|
-
#### Summary
|
|
191
|
-
|
|
192
|
-
Meeting type
|
|
193
|
-
|
|
194
|
-
Choose the logistics session that fits your process
|
|
195
|
-
Freight pickup
|
|
196
|
-
Schedule cargo collection at origin
|
|
197
|
-
|
|
198
|
-
30 min
|
|
199
|
-
|
|
200
|
-
Route planning
|
|
201
|
-
Discuss optimal route and ETA
|
|
202
|
-
|
|
203
|
-
45 min
|
|
204
|
-
|
|
205
|
-
Delivery coordination
|
|
206
|
-
Align final drop-off and documents
|
|
207
|
-
|
|
208
|
-
60 min
|
|
209
|
-
|
|
210
|
-
#### React (tsx)
|
|
211
|
-
|
|
212
|
-
```tsx
|
|
213
|
-
import Card from '@rio-cloud/rio-uikit/Card';
|
|
214
|
-
|
|
215
|
-
export default () => {
|
|
216
|
-
const options = [
|
|
217
|
-
{
|
|
218
|
-
title: 'Freight pickup',
|
|
219
|
-
subtitle: 'Schedule cargo collection at origin',
|
|
220
|
-
duration: '30 min',
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
title: 'Route planning',
|
|
224
|
-
subtitle: 'Discuss optimal route and ETA',
|
|
225
|
-
duration: '45 min',
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
title: 'Delivery coordination',
|
|
229
|
-
subtitle: 'Align final drop-off and documents',
|
|
230
|
-
duration: '60 min',
|
|
231
|
-
},
|
|
232
|
-
];
|
|
233
|
-
|
|
234
|
-
return (
|
|
235
|
-
<div className='max-width-500 margin-auto padding-5'>
|
|
236
|
-
<Card padding={25}>
|
|
237
|
-
<div className='display-flex align-items-center gap-5 margin-bottom-5'>
|
|
238
|
-
<span className='rioglyph rioglyph-user text-size-18' />
|
|
239
|
-
<div className='text-size-18 text-bold text-color-darkest'>Meeting type</div>
|
|
240
|
-
</div>
|
|
241
|
-
<div className='text-color-dark margin-bottom-20'>
|
|
242
|
-
Choose the logistics session that fits your process
|
|
243
|
-
</div>
|
|
244
|
-
|
|
245
|
-
<div className='display-flex flex-column gap-10'>
|
|
246
|
-
{options.map(({ title, subtitle, duration }) => (
|
|
247
|
-
<div
|
|
248
|
-
key={title}
|
|
249
|
-
className='display-flex justify-content-between align-items-center border border-color-light hover-border-color-highlight rounded padding-15 hover-bg-highlight-decent cursor-pointer'
|
|
250
|
-
>
|
|
251
|
-
<div>
|
|
252
|
-
<div className='text-medium text-color-darkest'>{title}</div>
|
|
253
|
-
<div className='text-color-dark text-size-14'>{subtitle}</div>
|
|
254
|
-
</div>
|
|
255
|
-
<div className='badge badge-muted'>{duration}</div>
|
|
256
|
-
</div>
|
|
257
|
-
))}
|
|
258
|
-
</div>
|
|
259
|
-
</Card>
|
|
260
|
-
</div>
|
|
261
|
-
);
|
|
262
|
-
};
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
#### HTML (html)
|
|
266
|
-
|
|
267
|
-
```html
|
|
268
|
-
<div class="max-width-500 margin-auto padding-5">
|
|
269
|
-
<div class="bg-white rounded border shadow-default padding-25">
|
|
270
|
-
<div class="display-flex align-items-center gap-5 margin-bottom-5">
|
|
271
|
-
<span class="rioglyph rioglyph-user text-size-18">
|
|
272
|
-
</span>
|
|
273
|
-
<div class="text-size-18 text-bold text-color-darkest">Meeting type</div>
|
|
274
|
-
</div>
|
|
275
|
-
<div class="text-color-dark margin-bottom-20">Choose the logistics session that fits your process</div>
|
|
276
|
-
<div class="display-flex flex-column gap-10">
|
|
277
|
-
<div class="display-flex justify-content-between align-items-center border border-color-light hover-border-color-highlight rounded padding-15 hover-bg-highlight-decent cursor-pointer">
|
|
278
|
-
<div>
|
|
279
|
-
<div class="text-medium text-color-darkest">Freight pickup</div>
|
|
280
|
-
<div class="text-color-dark text-size-14">Schedule cargo collection at origin</div>
|
|
281
|
-
</div>
|
|
282
|
-
<div class="badge badge-muted">30 min</div>
|
|
283
|
-
</div>
|
|
284
|
-
<div class="display-flex justify-content-between align-items-center border border-color-light hover-border-color-highlight rounded padding-15 hover-bg-highlight-decent cursor-pointer">
|
|
285
|
-
<div>
|
|
286
|
-
<div class="text-medium text-color-darkest">Route planning</div>
|
|
287
|
-
<div class="text-color-dark text-size-14">Discuss optimal route and ETA</div>
|
|
288
|
-
</div>
|
|
289
|
-
<div class="badge badge-muted">45 min</div>
|
|
290
|
-
</div>
|
|
291
|
-
<div class="display-flex justify-content-between align-items-center border border-color-light hover-border-color-highlight rounded padding-15 hover-bg-highlight-decent cursor-pointer">
|
|
292
|
-
<div>
|
|
293
|
-
<div class="text-medium text-color-darkest">Delivery coordination</div>
|
|
294
|
-
<div class="text-color-dark text-size-14">Align final drop-off and documents</div>
|
|
295
|
-
</div>
|
|
296
|
-
<div class="badge badge-muted">60 min</div>
|
|
297
|
-
</div>
|
|
298
|
-
</div>
|
|
299
|
-
</div>
|
|
300
|
-
</div>
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Example: Amor cinis charisma degusto terreo.
|
|
304
|
-
|
|
305
|
-
Lorem ipsum dolor
|
|
306
|
-
Amor cinis charisma degusto terreo.
|
|
307
|
-
|
|
308
|
-
Gusikowski, Wisozk and Oberbrunner
|
|
309
|
-
Totidem carpo deputo amplus.
|
|
310
|
-
|
|
311
|
-
Bashirian - Osinski
|
|
312
|
-
Velut commemoro sono ratione annus voro pecus.
|
|
313
|
-
Praesentium copiose ascisco.
|
|
314
|
-
|
|
315
|
-
Franecki - VonRueden
|
|
316
|
-
Vinculum una deripio vitium admitto solium hic ars harum.
|
|
317
|
-
Subvenio crur vulnero vociferor velit vestigium vulgo quae.
|
|
318
|
-
|
|
319
|
-
#### Summary
|
|
320
|
-
|
|
321
|
-
Lorem ipsum dolor
|
|
322
|
-
Amor cinis charisma degusto terreo.
|
|
323
|
-
|
|
324
|
-
Gusikowski, Wisozk and Oberbrunner
|
|
325
|
-
Totidem carpo deputo amplus.
|
|
326
|
-
|
|
327
|
-
Bashirian - Osinski
|
|
328
|
-
Velut commemoro sono ratione annus voro pecus.
|
|
329
|
-
Praesentium copiose ascisco.
|
|
330
|
-
|
|
331
|
-
Franecki - VonRueden
|
|
332
|
-
Vinculum una deripio vitium admitto solium hic ars harum.
|
|
333
|
-
Subvenio crur vulnero vociferor velit vestigium vulgo quae.
|
|
334
|
-
|
|
335
|
-
#### React (tsx)
|
|
336
|
-
|
|
337
|
-
```tsx
|
|
338
|
-
import { faker } from '@faker-js/faker';
|
|
339
|
-
|
|
340
|
-
export default () => {
|
|
341
|
-
const examples = [
|
|
342
|
-
{
|
|
343
|
-
name: faker.company.name(),
|
|
344
|
-
icon: 'rioglyph-trailer',
|
|
345
|
-
description: faker.lorem.lines(1),
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
name: faker.company.name(),
|
|
349
|
-
icon: 'rioglyph-truck',
|
|
350
|
-
description: faker.lorem.lines(2),
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
name: faker.company.name(),
|
|
354
|
-
icon: 'rioglyph-van',
|
|
355
|
-
description: faker.lorem.lines(2),
|
|
356
|
-
},
|
|
357
|
-
];
|
|
358
|
-
|
|
359
|
-
return (
|
|
360
|
-
<div className='max-width-500 margin-auto padding-5'>
|
|
361
|
-
<div className='text-center'>
|
|
362
|
-
<div className='text-size-h2 font-bold'>Lorem ipsum dolor</div>
|
|
363
|
-
<p className='text-color-dark margin-top-0 margin-bottom-20'>{faker.lorem.lines(1)}</p>
|
|
364
|
-
</div>
|
|
365
|
-
|
|
366
|
-
<div className='space-y-15 divider-y-1 divider-color-light divider-style-solid'>
|
|
367
|
-
{examples.map(item => (
|
|
368
|
-
<div key={item.name} className='padding-15'>
|
|
369
|
-
<div className='display-flex gap-15'>
|
|
370
|
-
<div className='text-size-14 text-color-darkest'>
|
|
371
|
-
<span
|
|
372
|
-
className={`rioglyph ${item.icon} rioglyph-filled rioglyph-align-bottom text-size-300pct`}
|
|
373
|
-
/>
|
|
374
|
-
</div>
|
|
375
|
-
<div className='flex-1-1'>
|
|
376
|
-
<div className='text-size-18 margin-bottom-2'>{item.name}</div>
|
|
377
|
-
<div className='text-color-dark'>{item.description}</div>
|
|
378
|
-
</div>
|
|
379
|
-
</div>
|
|
380
|
-
</div>
|
|
381
|
-
))}
|
|
382
|
-
</div>
|
|
383
|
-
</div>
|
|
384
|
-
);
|
|
385
|
-
};
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
#### HTML (html)
|
|
389
|
-
|
|
390
|
-
```html
|
|
391
|
-
<div class="max-width-500 margin-auto padding-5">
|
|
392
|
-
<div class="text-center">
|
|
393
|
-
<div class="text-size-h2 font-bold">Lorem ipsum dolor</div>
|
|
394
|
-
<p class="text-color-dark margin-top-0 margin-bottom-20">Amor cinis charisma degusto terreo.</p>
|
|
395
|
-
</div>
|
|
396
|
-
<div class="space-y-15 divider-y-1 divider-color-light divider-style-solid">
|
|
397
|
-
<div class="padding-15">
|
|
398
|
-
<div class="display-flex gap-15">
|
|
399
|
-
<div class="text-size-14 text-color-darkest">
|
|
400
|
-
<span class="rioglyph rioglyph-trailer rioglyph-filled rioglyph-align-bottom text-size-300pct">
|
|
401
|
-
</span>
|
|
402
|
-
</div>
|
|
403
|
-
<div class="flex-1-1">
|
|
404
|
-
<div class="text-size-18 margin-bottom-2">Gusikowski, Wisozk and Oberbrunner</div>
|
|
405
|
-
<div class="text-color-dark">Totidem carpo deputo amplus.</div>
|
|
406
|
-
</div>
|
|
407
|
-
</div>
|
|
408
|
-
</div>
|
|
409
|
-
<div class="padding-15">
|
|
410
|
-
<div class="display-flex gap-15">
|
|
411
|
-
<div class="text-size-14 text-color-darkest">
|
|
412
|
-
<span class="rioglyph rioglyph-truck rioglyph-filled rioglyph-align-bottom text-size-300pct">
|
|
413
|
-
</span>
|
|
414
|
-
</div>
|
|
415
|
-
<div class="flex-1-1">
|
|
416
|
-
<div class="text-size-18 margin-bottom-2">Bashirian - Osinski</div>
|
|
417
|
-
<div class="text-color-dark">Velut commemoro sono ratione annus voro pecus.
|
|
418
|
-
Praesentium copiose ascisco.</div>
|
|
419
|
-
</div>
|
|
420
|
-
</div>
|
|
421
|
-
</div>
|
|
422
|
-
<div class="padding-15">
|
|
423
|
-
<div class="display-flex gap-15">
|
|
424
|
-
<div class="text-size-14 text-color-darkest">
|
|
425
|
-
<span class="rioglyph rioglyph-van rioglyph-filled rioglyph-align-bottom text-size-300pct">
|
|
426
|
-
</span>
|
|
427
|
-
</div>
|
|
428
|
-
<div class="flex-1-1">
|
|
429
|
-
<div class="text-size-18 margin-bottom-2">Franecki - VonRueden</div>
|
|
430
|
-
<div class="text-color-dark">Vinculum una deripio vitium admitto solium hic ars harum.
|
|
431
|
-
Subvenio crur vulnero vociferor velit vestigium vulgo quae.</div>
|
|
432
|
-
</div>
|
|
433
|
-
</div>
|
|
434
|
-
</div>
|
|
435
|
-
</div>
|
|
436
|
-
</div>
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
### Example: Benevolentia appello torrens clamo atqui arto video enim. Soluta totus cui venustas apostolus suspendo cornu velut. Autem defetiscor bellicus pecco.
|
|
440
|
-
|
|
441
|
-
Lorem ipsum dolor sit amet
|
|
442
|
-
Statua cohaero vivo adduco cubicularis ciminatio.
|
|
443
|
-
Audax ullus terror articulus defessus quos vae.
|
|
444
|
-
|
|
445
|
-
Moen LLC
|
|
446
|
-
Benevolentia appello torrens clamo atqui arto video enim.
|
|
447
|
-
Soluta totus cui venustas apostolus suspendo cornu velut.
|
|
448
|
-
Autem defetiscor bellicus pecco.
|
|
449
|
-
|
|
450
|
-
Hoeger, Wilderman and Baumbach
|
|
451
|
-
Cunae confugo viduo sordeo.
|
|
452
|
-
Caput cur admoveo victoria curvo eos fugiat beneficium.
|
|
453
|
-
Esse tamisium clibanus viriliter charisma pauper amplus.
|
|
454
|
-
|
|
455
|
-
Wuckert - Schinner
|
|
456
|
-
Debilito magnam peccatus volubilis aptus enim.
|
|
457
|
-
Decet celo cultellus audacia vinculum tricesimus ver.
|
|
458
|
-
Suffoco constans ait amplus tenuis incidunt.
|
|
459
|
-
|
|
460
|
-
Reinger LLC
|
|
461
|
-
Arca curto adeptio supplanto quibusdam victus.
|
|
462
|
-
Arto vestrum tracto sodalitas sursum contra asper volo.
|
|
463
|
-
Recusandae thalassinus vilitas aegrotatio nulla tepidus caritas vos conforto earum.
|
|
464
|
-
|
|
465
|
-
#### Summary
|
|
466
|
-
|
|
467
|
-
Lorem ipsum dolor sit amet
|
|
468
|
-
Statua cohaero vivo adduco cubicularis ciminatio.
|
|
469
|
-
Audax ullus terror articulus defessus quos vae.
|
|
470
|
-
|
|
471
|
-
Moen LLC
|
|
472
|
-
Benevolentia appello torrens clamo atqui arto video enim.
|
|
473
|
-
Soluta totus cui venustas apostolus suspendo cornu velut.
|
|
474
|
-
Autem defetiscor bellicus pecco.
|
|
475
|
-
|
|
476
|
-
Hoeger, Wilderman and Baumbach
|
|
477
|
-
Cunae confugo viduo sordeo.
|
|
478
|
-
Caput cur admoveo victoria curvo eos fugiat beneficium.
|
|
479
|
-
Esse tamisium clibanus viriliter charisma pauper amplus.
|
|
480
|
-
|
|
481
|
-
Wuckert - Schinner
|
|
482
|
-
Debilito magnam peccatus volubilis aptus enim.
|
|
483
|
-
Decet celo cultellus audacia vinculum tricesimus ver.
|
|
484
|
-
Suffoco constans ait amplus tenuis incidunt.
|
|
485
|
-
|
|
486
|
-
Reinger LLC
|
|
487
|
-
Arca curto adeptio supplanto quibusdam victus.
|
|
488
|
-
Arto vestrum tracto sodalitas sursum contra asper volo.
|
|
489
|
-
Recusandae thalassinus vilitas aegrotatio nulla tepidus caritas vos conforto earum.
|
|
490
|
-
|
|
491
|
-
#### React (tsx)
|
|
492
|
-
|
|
493
|
-
```tsx
|
|
494
|
-
import { faker } from '@faker-js/faker';
|
|
495
|
-
|
|
496
|
-
export default () => {
|
|
497
|
-
const examples = [
|
|
498
|
-
{
|
|
499
|
-
name: faker.company.name(),
|
|
500
|
-
icon: 'rioglyph-stats',
|
|
501
|
-
description: faker.lorem.lines(3),
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
name: faker.company.name(),
|
|
505
|
-
icon: 'rioglyph-server-stack',
|
|
506
|
-
description: faker.lorem.lines(3),
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
name: faker.company.name(),
|
|
510
|
-
icon: 'rioglyph-fingerprint',
|
|
511
|
-
description: faker.lorem.lines(3),
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
name: faker.company.name(),
|
|
515
|
-
icon: 'rioglyph-code-brackets',
|
|
516
|
-
description: faker.lorem.lines(3),
|
|
517
|
-
},
|
|
518
|
-
];
|
|
519
|
-
|
|
520
|
-
return (
|
|
521
|
-
<div>
|
|
522
|
-
<div className='margin-auto max-width-800 margin-bottom-50'>
|
|
523
|
-
<div className='text-size-h2 text-medium'>Lorem ipsum dolor sit amet</div>
|
|
524
|
-
<div>{faker.lorem.lines(2)}</div>
|
|
525
|
-
</div>
|
|
526
|
-
<div className='margin-auto max-width-800 display-grid grid-cols-1 grid-cols-2-ls row-gap-25 column-gap-50'>
|
|
527
|
-
{examples.map(item => (
|
|
528
|
-
<div key={item.name}>
|
|
529
|
-
<div className='text-size-14 text-color-primary margin-bottom-10'>
|
|
530
|
-
<span className={`rioglyph ${item.icon} text-size-200pct`} />
|
|
531
|
-
</div>
|
|
532
|
-
<div className='text-size-18 text-color-darker text-medium margin-bottom-5'>{item.name}</div>
|
|
533
|
-
<div className='text-color-dark'>{item.description}</div>
|
|
534
|
-
</div>
|
|
535
|
-
))}
|
|
536
|
-
</div>
|
|
537
|
-
</div>
|
|
538
|
-
);
|
|
539
|
-
};
|
|
540
|
-
```
|
|
541
|
-
|
|
542
|
-
#### HTML (html)
|
|
543
|
-
|
|
544
|
-
```html
|
|
545
|
-
<div>
|
|
546
|
-
<div class="margin-auto max-width-800 margin-bottom-50">
|
|
547
|
-
<div class="text-size-h2 text-medium">Lorem ipsum dolor sit amet</div>
|
|
548
|
-
<div>Statua cohaero vivo adduco cubicularis ciminatio.
|
|
549
|
-
Audax ullus terror articulus defessus quos vae.</div>
|
|
550
|
-
</div>
|
|
551
|
-
<div class="margin-auto max-width-800 display-grid grid-cols-1 grid-cols-2-ls row-gap-25 column-gap-50">
|
|
552
|
-
<div>
|
|
553
|
-
<div class="text-size-14 text-color-primary margin-bottom-10">
|
|
554
|
-
<span class="rioglyph rioglyph-stats text-size-200pct">
|
|
555
|
-
</span>
|
|
556
|
-
</div>
|
|
557
|
-
<div class="text-size-18 text-color-darker text-medium margin-bottom-5">Moen LLC</div>
|
|
558
|
-
<div class="text-color-dark">Benevolentia appello torrens clamo atqui arto video enim.
|
|
559
|
-
Soluta totus cui venustas apostolus suspendo cornu velut.
|
|
560
|
-
Autem defetiscor bellicus pecco.</div>
|
|
561
|
-
</div>
|
|
562
|
-
<div>
|
|
563
|
-
<div class="text-size-14 text-color-primary margin-bottom-10">
|
|
564
|
-
<span class="rioglyph rioglyph-server-stack text-size-200pct">
|
|
565
|
-
</span>
|
|
566
|
-
</div>
|
|
567
|
-
<div class="text-size-18 text-color-darker text-medium margin-bottom-5">Hoeger, Wilderman and Baumbach</div>
|
|
568
|
-
<div class="text-color-dark">Cunae confugo viduo sordeo.
|
|
569
|
-
Caput cur admoveo victoria curvo eos fugiat beneficium.
|
|
570
|
-
Esse tamisium clibanus viriliter charisma pauper amplus.</div>
|
|
571
|
-
</div>
|
|
572
|
-
<div>
|
|
573
|
-
<div class="text-size-14 text-color-primary margin-bottom-10">
|
|
574
|
-
<span class="rioglyph rioglyph-fingerprint text-size-200pct">
|
|
575
|
-
</span>
|
|
576
|
-
</div>
|
|
577
|
-
<div class="text-size-18 text-color-darker text-medium margin-bottom-5">Wuckert - Schinner</div>
|
|
578
|
-
<div class="text-color-dark">Debilito magnam peccatus volubilis aptus enim.
|
|
579
|
-
Decet celo cultellus audacia vinculum tricesimus ver.
|
|
580
|
-
Suffoco constans ait amplus tenuis incidunt.</div>
|
|
581
|
-
</div>
|
|
582
|
-
<div>
|
|
583
|
-
<div class="text-size-14 text-color-primary margin-bottom-10">
|
|
584
|
-
<span class="rioglyph rioglyph-code-brackets text-size-200pct">
|
|
585
|
-
</span>
|
|
586
|
-
</div>
|
|
587
|
-
<div class="text-size-18 text-color-darker text-medium margin-bottom-5">Reinger LLC</div>
|
|
588
|
-
<div class="text-color-dark">Arca curto adeptio supplanto quibusdam victus.
|
|
589
|
-
Arto vestrum tracto sodalitas sursum contra asper volo.
|
|
590
|
-
Recusandae thalassinus vilitas aegrotatio nulla tepidus caritas vos conforto earum.</div>
|
|
591
|
-
</div>
|
|
592
|
-
</div>
|
|
593
|
-
</div>
|
|
594
|
-
```
|
|
595
|
-
|
|
596
|
-
### Example: Featuring Tennessine-enhanced technology, our Table offers unparalleled strange performance
|
|
597
|
-
|
|
598
|
-
Enhance your application with powerful add-ons!
|
|
599
|
-
|
|
600
|
-
Rustic Gold Car
|
|
601
|
-
Featuring Tennessine-enhanced technology, our Table offers unparalleled strange performance
|
|
602
|
-
|
|
603
|
-
€30.05
|
|
604
|
-
Total per month
|
|
605
|
-
|
|
606
|
-
Get Add-on
|
|
607
|
-
|
|
608
|
-
Modern Granite Mouse
|
|
609
|
-
Innovative Bike featuring specific technology and Gold construction
|
|
610
|
-
|
|
611
|
-
€86.15
|
|
612
|
-
Total per month
|
|
613
|
-
|
|
614
|
-
Get Add-on
|
|
615
|
-
|
|
616
|
-
Electronic Granite Shoes
|
|
617
|
-
Refined Bike designed with Gold for classic performance
|
|
618
|
-
|
|
619
|
-
€55.90
|
|
620
|
-
Total per month
|
|
621
|
-
|
|
622
|
-
Get Add-on
|
|
623
|
-
|
|
624
|
-
Incredible Marble Gloves
|
|
625
|
-
The sleek and hefty Tuna comes with silver LED lighting for smart functionality
|
|
626
|
-
|
|
627
|
-
€91.10
|
|
628
|
-
Total per month
|
|
629
|
-
|
|
630
|
-
Get Add-on
|
|
631
|
-
|
|
632
|
-
Licensed Rubber Table
|
|
633
|
-
Introducing the Cuba-inspired Chips, blending advanced style with local craftsmanship
|
|
634
|
-
|
|
635
|
-
€21.09
|
|
636
|
-
Total per month
|
|
637
|
-
|
|
638
|
-
Get Add-on
|
|
639
|
-
|
|
640
|
-
#### Summary
|
|
641
|
-
|
|
642
|
-
Enhance your application with powerful add-ons!
|
|
643
|
-
|
|
644
|
-
Rustic Gold Car
|
|
645
|
-
Featuring Tennessine-enhanced technology, our Table offers unparalleled strange performance
|
|
646
|
-
|
|
647
|
-
€30.05
|
|
648
|
-
Total per month
|
|
649
|
-
|
|
650
|
-
Get Add-on
|
|
651
|
-
|
|
652
|
-
Modern Granite Mouse
|
|
653
|
-
Innovative Bike featuring specific technology and Gold construction
|
|
654
|
-
|
|
655
|
-
€86.15
|
|
656
|
-
Total per month
|
|
657
|
-
|
|
658
|
-
Get Add-on
|
|
659
|
-
|
|
660
|
-
Electronic Granite Shoes
|
|
661
|
-
Refined Bike designed with Gold for classic performance
|
|
662
|
-
|
|
663
|
-
€55.90
|
|
664
|
-
Total per month
|
|
665
|
-
|
|
666
|
-
Get Add-on
|
|
667
|
-
|
|
668
|
-
Incredible Marble Gloves
|
|
669
|
-
The sleek and hefty Tuna comes with silver LED lighting for smart functionality
|
|
670
|
-
|
|
671
|
-
€91.10
|
|
672
|
-
Total per month
|
|
673
|
-
|
|
674
|
-
Get Add-on
|
|
675
|
-
|
|
676
|
-
Licensed Rubber Table
|
|
677
|
-
Introducing the Cuba-inspired Chips, blending advanced style with local craftsmanship
|
|
678
|
-
|
|
679
|
-
€21.09
|
|
680
|
-
Total per month
|
|
681
|
-
|
|
682
|
-
Get Add-on
|
|
683
|
-
|
|
684
|
-
#### React (tsx)
|
|
685
|
-
|
|
686
|
-
```tsx
|
|
687
|
-
import { useEffect, useState } from 'react';
|
|
688
|
-
import { faker } from '@faker-js/faker';
|
|
689
|
-
import { FormattedNumber } from 'react-intl';
|
|
690
|
-
|
|
691
|
-
import Button from '@rio-cloud/rio-uikit/Button';
|
|
692
|
-
import useWindowResize from '@rio-cloud/rio-uikit/useWindowResize';
|
|
693
|
-
|
|
694
|
-
const gridTemplateLargeScreen = 'auto 1fr auto auto';
|
|
695
|
-
const gridTemplateSmallScreen = '1fr auto';
|
|
696
|
-
|
|
697
|
-
export default () => {
|
|
698
|
-
const addons = Array.from({ length: 5 }).map(() => ({
|
|
699
|
-
id: faker.string.uuid(),
|
|
700
|
-
title: faker.commerce.productName(),
|
|
701
|
-
description: faker.commerce.productDescription(),
|
|
702
|
-
price: Number(faker.commerce.price({ min: 5, max: 99 })),
|
|
703
|
-
unit: faker.helpers.arrayElement(['Total per month', 'Total per user / month', 'Per 1000 messages / month']),
|
|
704
|
-
}));
|
|
705
|
-
|
|
706
|
-
const [gridTemplate, setGridTemplate] = useState(gridTemplateLargeScreen);
|
|
707
|
-
|
|
708
|
-
const handleResize = () => {
|
|
709
|
-
const windowWidth = window.innerWidth;
|
|
710
|
-
if (windowWidth < 600) {
|
|
711
|
-
setGridTemplate(gridTemplateSmallScreen);
|
|
712
|
-
} else {
|
|
713
|
-
setGridTemplate(gridTemplateLargeScreen);
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
// Handle small screens on mount
|
|
718
|
-
useEffect(() => {
|
|
719
|
-
handleResize();
|
|
720
|
-
}, []);
|
|
721
|
-
|
|
722
|
-
// Handle small screens when window resizes
|
|
723
|
-
useWindowResize(() => {
|
|
724
|
-
handleResize();
|
|
725
|
-
});
|
|
726
|
-
|
|
727
|
-
console.log({ gridTemplate });
|
|
728
|
-
|
|
729
|
-
return (
|
|
730
|
-
<div className='max-width-800 margin-auto'>
|
|
731
|
-
<h2 className='text-center text-wrap-pretty text-size-24 margin-bottom-25'>
|
|
732
|
-
Enhance your application with powerful add-ons!
|
|
733
|
-
</h2>
|
|
734
|
-
|
|
735
|
-
<div className='display-flex flex-column gap-20'>
|
|
736
|
-
{addons.map(addon => (
|
|
737
|
-
<div
|
|
738
|
-
key={addon.id}
|
|
739
|
-
className='display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border'
|
|
740
|
-
style={{
|
|
741
|
-
gridTemplateColumns: gridTemplate,
|
|
742
|
-
}}
|
|
743
|
-
>
|
|
744
|
-
<div className='align-self-start text-size-14 text-color-darker'>
|
|
745
|
-
<span className='rioglyph rioglyph-puzzle text-size-300pct margin-top-2' />
|
|
746
|
-
</div>
|
|
747
|
-
|
|
748
|
-
<div className='flex-1-1'>
|
|
749
|
-
<div className='text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word'>
|
|
750
|
-
{addon.title}
|
|
751
|
-
</div>
|
|
752
|
-
<div className='text-size-14 text-color-dark'>{addon.description}</div>
|
|
753
|
-
</div>
|
|
754
|
-
|
|
755
|
-
<div className='width-100'>
|
|
756
|
-
<div className='text-size-16 text-medium'>
|
|
757
|
-
<FormattedNumber value={addon.price} style='currency' currency='EUR' />
|
|
758
|
-
</div>
|
|
759
|
-
<div className='text-size-12 text-color-gray'>{addon.unit}</div>
|
|
760
|
-
</div>
|
|
761
|
-
|
|
762
|
-
<div>
|
|
763
|
-
<Button bsStyle='muted-filled'>Get Add-on</Button>
|
|
764
|
-
</div>
|
|
765
|
-
</div>
|
|
766
|
-
))}
|
|
767
|
-
</div>
|
|
768
|
-
</div>
|
|
769
|
-
);
|
|
770
|
-
};
|
|
771
|
-
```
|
|
772
|
-
|
|
773
|
-
#### HTML (html)
|
|
774
|
-
|
|
775
|
-
```html
|
|
776
|
-
<div class="max-width-800 margin-auto">
|
|
777
|
-
<h2 class="text-center text-wrap-pretty text-size-24 margin-bottom-25">Enhance your application with powerful add-ons!</h2>
|
|
778
|
-
<div class="display-flex flex-column gap-20">
|
|
779
|
-
<div class="display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border" style="grid-template-columns: auto 1fr auto auto;">
|
|
780
|
-
<div class="align-self-start text-size-14 text-color-darker">
|
|
781
|
-
<span class="rioglyph rioglyph-puzzle text-size-300pct margin-top-2">
|
|
782
|
-
</span>
|
|
783
|
-
</div>
|
|
784
|
-
<div class="flex-1-1">
|
|
785
|
-
<div class="text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word">Rustic Gold Car</div>
|
|
786
|
-
<div class="text-size-14 text-color-dark">Featuring Tennessine-enhanced technology, our Table offers unparalleled strange performance</div>
|
|
787
|
-
</div>
|
|
788
|
-
<div class="width-100">
|
|
789
|
-
<div class="text-size-16 text-medium">€30.05</div>
|
|
790
|
-
<div class="text-size-12 text-color-gray">Total per month</div>
|
|
791
|
-
</div>
|
|
792
|
-
<div>
|
|
793
|
-
<button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Get Add-on</button>
|
|
794
|
-
</div>
|
|
795
|
-
</div>
|
|
796
|
-
<div class="display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border" style="grid-template-columns: auto 1fr auto auto;">
|
|
797
|
-
<div class="align-self-start text-size-14 text-color-darker">
|
|
798
|
-
<span class="rioglyph rioglyph-puzzle text-size-300pct margin-top-2">
|
|
799
|
-
</span>
|
|
800
|
-
</div>
|
|
801
|
-
<div class="flex-1-1">
|
|
802
|
-
<div class="text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word">Modern Granite Mouse</div>
|
|
803
|
-
<div class="text-size-14 text-color-dark">Innovative Bike featuring specific technology and Gold construction</div>
|
|
804
|
-
</div>
|
|
805
|
-
<div class="width-100">
|
|
806
|
-
<div class="text-size-16 text-medium">€86.15</div>
|
|
807
|
-
<div class="text-size-12 text-color-gray">Total per month</div>
|
|
808
|
-
</div>
|
|
809
|
-
<div>
|
|
810
|
-
<button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Get Add-on</button>
|
|
811
|
-
</div>
|
|
812
|
-
</div>
|
|
813
|
-
<div class="display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border" style="grid-template-columns: auto 1fr auto auto;">
|
|
814
|
-
<div class="align-self-start text-size-14 text-color-darker">
|
|
815
|
-
<span class="rioglyph rioglyph-puzzle text-size-300pct margin-top-2">
|
|
816
|
-
</span>
|
|
817
|
-
</div>
|
|
818
|
-
<div class="flex-1-1">
|
|
819
|
-
<div class="text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word">Electronic Granite Shoes</div>
|
|
820
|
-
<div class="text-size-14 text-color-dark">Refined Bike designed with Gold for classic performance</div>
|
|
821
|
-
</div>
|
|
822
|
-
<div class="width-100">
|
|
823
|
-
<div class="text-size-16 text-medium">€55.90</div>
|
|
824
|
-
<div class="text-size-12 text-color-gray">Total per month</div>
|
|
825
|
-
</div>
|
|
826
|
-
<div>
|
|
827
|
-
<button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Get Add-on</button>
|
|
828
|
-
</div>
|
|
829
|
-
</div>
|
|
830
|
-
<div class="display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border" style="grid-template-columns: auto 1fr auto auto;">
|
|
831
|
-
<div class="align-self-start text-size-14 text-color-darker">
|
|
832
|
-
<span class="rioglyph rioglyph-puzzle text-size-300pct margin-top-2">
|
|
833
|
-
</span>
|
|
834
|
-
</div>
|
|
835
|
-
<div class="flex-1-1">
|
|
836
|
-
<div class="text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word">Incredible Marble Gloves</div>
|
|
837
|
-
<div class="text-size-14 text-color-dark">The sleek and hefty Tuna comes with silver LED lighting for smart functionality</div>
|
|
838
|
-
</div>
|
|
839
|
-
<div class="width-100">
|
|
840
|
-
<div class="text-size-16 text-medium">€91.10</div>
|
|
841
|
-
<div class="text-size-12 text-color-gray">Total per month</div>
|
|
842
|
-
</div>
|
|
843
|
-
<div>
|
|
844
|
-
<button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Get Add-on</button>
|
|
845
|
-
</div>
|
|
846
|
-
</div>
|
|
847
|
-
<div class="display-grid align-items-center gap-20 padding-20 bg-white rounded shadow-subtle border" style="grid-template-columns: auto 1fr auto auto;">
|
|
848
|
-
<div class="align-self-start text-size-14 text-color-darker">
|
|
849
|
-
<span class="rioglyph rioglyph-puzzle text-size-300pct margin-top-2">
|
|
850
|
-
</span>
|
|
851
|
-
</div>
|
|
852
|
-
<div class="flex-1-1">
|
|
853
|
-
<div class="text-size-16 text-medium margin-bottom-5 text-lowercase text-capitalize-first-word">Licensed Rubber Table</div>
|
|
854
|
-
<div class="text-size-14 text-color-dark">Introducing the Cuba-inspired Chips, blending advanced style with local craftsmanship</div>
|
|
855
|
-
</div>
|
|
856
|
-
<div class="width-100">
|
|
857
|
-
<div class="text-size-16 text-medium">€21.09</div>
|
|
858
|
-
<div class="text-size-12 text-color-gray">Total per month</div>
|
|
859
|
-
</div>
|
|
860
|
-
<div>
|
|
861
|
-
<button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Get Add-on</button>
|
|
862
|
-
</div>
|
|
863
|
-
</div>
|
|
864
|
-
</div>
|
|
865
|
-
</div>
|
|
866
|
-
```
|
|
867
|
-
|
|
868
|
-
### Example: Example 6
|
|
869
|
-
|
|
870
|
-
Features
|
|
871
|
-
|
|
872
|
-
Frozen Silk Keyboard
|
|
873
|
-
Savor the crunchy essence in our Salad, designed for excellent culinary adventures
|
|
874
|
-
|
|
875
|
-
Licensed Aluminum Gloves
|
|
876
|
-
Ergonomic Bike designed with Aluminum for austere performance
|
|
877
|
-
|
|
878
|
-
Fantastic Rubber Pizza
|
|
879
|
-
New pink Bike with ergonomic design for menacing comfort
|
|
880
|
-
|
|
881
|
-
Gorgeous Granite Chips
|
|
882
|
-
Small Chicken designed with Marble for fluffy performance
|
|
883
|
-
|
|
884
|
-
Fresh Rubber Pizza
|
|
885
|
-
Discover the scary new Mouse with an exciting mix of Rubber ingredients
|
|
886
|
-
|
|
887
|
-
Rustic Plastic Car
|
|
888
|
-
The Managed fault-tolerant internet solution Ball offers reliable performance and frank design
|
|
889
|
-
|
|
890
|
-
#### Summary
|
|
891
|
-
|
|
892
|
-
Features
|
|
893
|
-
|
|
894
|
-
Frozen Silk Keyboard
|
|
895
|
-
Savor the crunchy essence in our Salad, designed for excellent culinary adventures
|
|
896
|
-
|
|
897
|
-
Licensed Aluminum Gloves
|
|
898
|
-
Ergonomic Bike designed with Aluminum for austere performance
|
|
899
|
-
|
|
900
|
-
Fantastic Rubber Pizza
|
|
901
|
-
New pink Bike with ergonomic design for menacing comfort
|
|
902
|
-
|
|
903
|
-
Gorgeous Granite Chips
|
|
904
|
-
Small Chicken designed with Marble for fluffy performance
|
|
905
|
-
|
|
906
|
-
Fresh Rubber Pizza
|
|
907
|
-
Discover the scary new Mouse with an exciting mix of Rubber ingredients
|
|
908
|
-
|
|
909
|
-
Rustic Plastic Car
|
|
910
|
-
The Managed fault-tolerant internet solution Ball offers reliable performance and frank design
|
|
911
|
-
|
|
912
|
-
#### React (tsx)
|
|
913
|
-
|
|
914
|
-
```tsx
|
|
915
|
-
import { faker } from '@faker-js/faker';
|
|
916
|
-
|
|
917
|
-
export default () => {
|
|
918
|
-
const examples = Array.from({ length: 5 }).map(() => ({
|
|
919
|
-
id: faker.string.uuid(),
|
|
920
|
-
title: faker.commerce.productName(),
|
|
921
|
-
description: faker.commerce.productDescription(),
|
|
922
|
-
}));
|
|
923
|
-
|
|
924
|
-
return (
|
|
925
|
-
<div className='max-width-600 margin-auto'>
|
|
926
|
-
<div className='lead '>
|
|
927
|
-
<div className='display-flex justify-content-between'>
|
|
928
|
-
<div>Features</div>
|
|
929
|
-
</div>
|
|
930
|
-
<hr className='margin-top-10 border-color-light' />
|
|
931
|
-
</div>
|
|
932
|
-
|
|
933
|
-
<ul className='display-grid grid-cols-1 grid-cols-2-sm column-gap-25 row-gap-10 icon-list margin-bottom-0'>
|
|
934
|
-
{examples.map(example => (
|
|
935
|
-
<li key={example.id} className='display-flex gap-10 '>
|
|
936
|
-
<span className='rioglyph rioglyph-ok-sign text-color-success text-size-20' />
|
|
937
|
-
<div>
|
|
938
|
-
<div className='text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word'>
|
|
939
|
-
{example.title}
|
|
940
|
-
</div>
|
|
941
|
-
<div>{example.description}</div>
|
|
942
|
-
</div>
|
|
943
|
-
</li>
|
|
944
|
-
))}
|
|
945
|
-
<li className='display-flex gap-10'>
|
|
946
|
-
<span className='rioglyph rioglyph rioglyph-minus-sign text-color-gray text-size-20' />
|
|
947
|
-
<div>
|
|
948
|
-
<div className='text-medium text-size-18 text-color-darker text-capitalize-first-word'>
|
|
949
|
-
{faker.commerce.productName()}
|
|
950
|
-
</div>
|
|
951
|
-
<div>{faker.commerce.productDescription()}</div>
|
|
952
|
-
</div>
|
|
953
|
-
</li>
|
|
954
|
-
</ul>
|
|
955
|
-
</div>
|
|
956
|
-
);
|
|
957
|
-
};
|
|
958
|
-
```
|
|
959
|
-
|
|
960
|
-
#### HTML (html)
|
|
961
|
-
|
|
962
|
-
```html
|
|
963
|
-
<div class="max-width-600 margin-auto">
|
|
964
|
-
<div class="lead ">
|
|
965
|
-
<div class="display-flex justify-content-between">
|
|
966
|
-
<div>Features</div>
|
|
967
|
-
</div>
|
|
968
|
-
<hr class="margin-top-10 border-color-light">
|
|
969
|
-
</div>
|
|
970
|
-
<ul class="display-grid grid-cols-1 grid-cols-2-sm column-gap-25 row-gap-10 icon-list margin-bottom-0">
|
|
971
|
-
<li class="display-flex gap-10 ">
|
|
972
|
-
<span class="rioglyph rioglyph-ok-sign text-color-success text-size-20">
|
|
973
|
-
</span>
|
|
974
|
-
<div>
|
|
975
|
-
<div class="text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word">Frozen Silk Keyboard</div>
|
|
976
|
-
<div>Savor the crunchy essence in our Salad, designed for excellent culinary adventures</div>
|
|
977
|
-
</div>
|
|
978
|
-
</li>
|
|
979
|
-
<li class="display-flex gap-10 ">
|
|
980
|
-
<span class="rioglyph rioglyph-ok-sign text-color-success text-size-20">
|
|
981
|
-
</span>
|
|
982
|
-
<div>
|
|
983
|
-
<div class="text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word">Licensed Aluminum Gloves</div>
|
|
984
|
-
<div>Ergonomic Bike designed with Aluminum for austere performance</div>
|
|
985
|
-
</div>
|
|
986
|
-
</li>
|
|
987
|
-
<li class="display-flex gap-10 ">
|
|
988
|
-
<span class="rioglyph rioglyph-ok-sign text-color-success text-size-20">
|
|
989
|
-
</span>
|
|
990
|
-
<div>
|
|
991
|
-
<div class="text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word">Fantastic Rubber Pizza</div>
|
|
992
|
-
<div>New pink Bike with ergonomic design for menacing comfort</div>
|
|
993
|
-
</div>
|
|
994
|
-
</li>
|
|
995
|
-
<li class="display-flex gap-10 ">
|
|
996
|
-
<span class="rioglyph rioglyph-ok-sign text-color-success text-size-20">
|
|
997
|
-
</span>
|
|
998
|
-
<div>
|
|
999
|
-
<div class="text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word">Gorgeous Granite Chips</div>
|
|
1000
|
-
<div>Small Chicken designed with Marble for fluffy performance</div>
|
|
1001
|
-
</div>
|
|
1002
|
-
</li>
|
|
1003
|
-
<li class="display-flex gap-10 ">
|
|
1004
|
-
<span class="rioglyph rioglyph-ok-sign text-color-success text-size-20">
|
|
1005
|
-
</span>
|
|
1006
|
-
<div>
|
|
1007
|
-
<div class="text-medium text-size-18 text-color-darker text-lowercase text-capitalize-first-word">Fresh Rubber Pizza</div>
|
|
1008
|
-
<div>Discover the scary new Mouse with an exciting mix of Rubber ingredients</div>
|
|
1009
|
-
</div>
|
|
1010
|
-
</li>
|
|
1011
|
-
<li class="display-flex gap-10">
|
|
1012
|
-
<span class="rioglyph rioglyph rioglyph-minus-sign text-color-gray text-size-20">
|
|
1013
|
-
</span>
|
|
1014
|
-
<div>
|
|
1015
|
-
<div class="text-medium text-size-18 text-color-darker text-capitalize-first-word">Rustic Plastic Car</div>
|
|
1016
|
-
<div>The Managed fault-tolerant internet solution Ball offers reliable performance and frank design</div>
|
|
1017
|
-
</div>
|
|
1018
|
-
</li>
|
|
1019
|
-
</ul>
|
|
1020
|
-
</div>
|
|
1021
|
-
```
|