@rio-cloud/uikit-mcp 1.1.3 → 1.1.5
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 +1 -0
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +5 -5
- package/dist/docs/components/activity.md +7 -7
- package/dist/docs/components/animatedNumber.md +10 -10
- package/dist/docs/components/animatedTextReveal.md +42 -43
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +20 -35
- package/dist/docs/components/appLayout.md +198 -221
- package/dist/docs/components/appNavigationBar.md +21 -21
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +4 -5
- package/dist/docs/components/assetTree.md +887 -614
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +7 -7
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +173 -173
- package/dist/docs/components/barList.md +19 -41
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +74 -74
- package/dist/docs/components/button.md +161 -71
- package/dist/docs/components/buttonToolbar.md +3 -3
- package/dist/docs/components/calendarStripe.md +71 -123
- package/dist/docs/components/card.md +4 -4
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +56 -131
- package/dist/docs/components/clearableInput.md +23 -127
- package/dist/docs/components/collapse.md +14 -16
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +125 -122
- package/dist/docs/components/dataTabs.md +103 -93
- package/dist/docs/components/datepickers.md +734 -764
- package/dist/docs/components/dialogs.md +299 -186
- package/dist/docs/components/divider.md +4 -4
- package/dist/docs/components/dropdowns.md +4555 -4498
- package/dist/docs/components/editableContent.md +97 -97
- package/dist/docs/components/expander.md +56 -56
- package/dist/docs/components/fade.md +41 -41
- package/dist/docs/components/fadeExpander.md +4 -4
- package/dist/docs/components/fadeUp.md +8 -10
- package/dist/docs/components/feedback.md +22 -21
- package/dist/docs/components/filePickers.md +25 -25
- package/dist/docs/components/formLabel.md +5 -7
- package/dist/docs/components/groupedItemList.md +37 -37
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +6 -6
- package/dist/docs/components/labeledElement.md +4 -3
- package/dist/docs/components/licensePlate.md +2 -2
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +63 -41
- package/dist/docs/components/loadMore.md +17 -17
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +1 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +339 -345
- package/dist/docs/components/mapPolygon.md +16 -20
- package/dist/docs/components/mapRoute.md +14 -20
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +263 -274
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +11 -11
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +39 -37
- package/dist/docs/components/onboarding.md +18 -38
- package/dist/docs/components/page.md +16 -16
- package/dist/docs/components/pager.md +8 -8
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +37 -53
- package/dist/docs/components/position.md +4 -4
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +209 -191
- package/dist/docs/components/releaseNotes.md +9 -3
- package/dist/docs/components/resizer.md +7 -8
- package/dist/docs/components/responsiveColumnStripe.md +11 -11
- package/dist/docs/components/responsiveVideo.md +5 -5
- package/dist/docs/components/rioglyph.md +11 -11
- package/dist/docs/components/rules.md +118 -92
- package/dist/docs/components/saveableInput.md +366 -356
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +22 -23
- package/dist/docs/components/sliders.md +26 -26
- package/dist/docs/components/smoothScrollbars.md +61 -25
- package/dist/docs/components/spinners.md +32 -30
- package/dist/docs/components/states.md +236 -245
- package/dist/docs/components/statsWidgets.md +37 -28
- package/dist/docs/components/statusBar.md +22 -22
- package/dist/docs/components/stepButton.md +2 -2
- package/dist/docs/components/steppedProgressBars.md +45 -45
- package/dist/docs/components/subNavigation.md +3 -3
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -38
- package/dist/docs/components/switch.md +11 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +40 -40
- package/dist/docs/components/tags.md +21 -20
- package/dist/docs/components/teaser.md +22 -23
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +17 -13
- package/dist/docs/components/toggleButton.md +65 -29
- package/dist/docs/components/tooltip.md +27 -50
- package/dist/docs/components/virtualList.md +75 -75
- package/dist/docs/foundations.md +167 -167
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- 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 +80 -27
- 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 +81 -81
- 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 +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +197 -197
- package/dist/docs/templates/loading-progress.md +1 -1
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +58 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +93 -93
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +8 -8
- package/dist/version.json +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/virtualList
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:54.271Z
|
|
7
7
|
|
|
8
8
|
The VirtualList component is designed for efficiently rendering large lists of items by only displaying the visible portion of the list, also known as windowing.
|
|
9
9
|
|
|
@@ -14,70 +14,68 @@ It allows a specified number of items outside the viewport for smoother scrollin
|
|
|
14
14
|
### Example: Example 1
|
|
15
15
|
|
|
16
16
|
Virtual list with 100 itemsItem 1
|
|
17
|
-
|
|
17
|
+
Consectetur primis adipiscing ac pharetra
|
|
18
18
|
|
|
19
19
|
Item 2
|
|
20
|
-
|
|
20
|
+
Fusce Ut sagittis ac sit ut in, efficitur finibus pretium Vivamus pretium amet, amet, orci,
|
|
21
21
|
|
|
22
22
|
Item 3
|
|
23
|
-
Ac
|
|
24
|
-
Lorem orci, nec primis lorem
|
|
23
|
+
Ac Sed Mauris amet, molestie sem.
|
|
25
24
|
|
|
26
25
|
Item 4
|
|
27
|
-
|
|
26
|
+
Consectetur tortor efficitur rutrum vitae in vel efficitur sem. scelerisque efficitur Fusce velit.
|
|
28
27
|
|
|
29
28
|
Item 5
|
|
30
|
-
|
|
29
|
+
Ut ac Integer rutrum nunc sem. efficitur ante Duis finibus ac ut purus
|
|
31
30
|
|
|
32
31
|
Item 6
|
|
33
|
-
|
|
32
|
+
Elit. ante felis. finibus in
|
|
34
33
|
|
|
35
34
|
Item 7
|
|
36
|
-
|
|
35
|
+
Metus rutrum ante ac consectetur aliquam
|
|
37
36
|
|
|
38
37
|
Item 8
|
|
39
|
-
|
|
38
|
+
Malesuada ac Vivamus purus massa, efficitur Vivamus hendrerit
|
|
40
39
|
|
|
41
40
|
Item 9
|
|
42
|
-
|
|
41
|
+
Nunc libero
|
|
42
|
+
Lorem in elementum
|
|
43
43
|
|
|
44
44
|
Item 10
|
|
45
|
-
|
|
46
|
-
Lorem lorem tortor primis libero
|
|
45
|
+
Fringilla massa, quis, sit orci scelerisque ante elit. ut fringilla faucibus. Vivamus
|
|
47
46
|
|
|
48
47
|
#### Summary
|
|
49
48
|
|
|
50
49
|
Virtual list with 100 itemsItem 1
|
|
51
|
-
|
|
50
|
+
Consectetur primis adipiscing ac pharetra
|
|
52
51
|
|
|
53
52
|
Item 2
|
|
54
|
-
|
|
53
|
+
Fusce Ut sagittis ac sit ut in, efficitur finibus pretium Vivamus pretium amet, amet, orci,
|
|
55
54
|
|
|
56
55
|
Item 3
|
|
57
|
-
Ac
|
|
58
|
-
Lorem orci, nec primis lorem
|
|
56
|
+
Ac Sed Mauris amet, molestie sem.
|
|
59
57
|
|
|
60
58
|
Item 4
|
|
61
|
-
|
|
59
|
+
Consectetur tortor efficitur rutrum vitae in vel efficitur sem. scelerisque efficitur Fusce velit.
|
|
62
60
|
|
|
63
61
|
Item 5
|
|
64
|
-
|
|
62
|
+
Ut ac Integer rutrum nunc sem. efficitur ante Duis finibus ac ut purus
|
|
65
63
|
|
|
66
64
|
Item 6
|
|
67
|
-
|
|
65
|
+
Elit. ante felis. finibus in
|
|
68
66
|
|
|
69
67
|
Item 7
|
|
70
|
-
|
|
68
|
+
Metus rutrum ante ac consectetur aliquam
|
|
71
69
|
|
|
72
70
|
Item 8
|
|
73
|
-
|
|
71
|
+
Malesuada ac Vivamus purus massa, efficitur Vivamus hendrerit
|
|
74
72
|
|
|
75
73
|
Item 9
|
|
76
|
-
|
|
74
|
+
Nunc libero
|
|
75
|
+
Lorem in elementum
|
|
77
76
|
|
|
78
77
|
Item 10
|
|
79
|
-
|
|
80
|
-
Lorem lorem tortor primis libero
|
|
78
|
+
Fringilla massa, quis, sit orci scelerisque ante elit. ut fringilla faucibus. Vivamus
|
|
81
79
|
|
|
82
80
|
#### React (tsx)
|
|
83
81
|
|
|
@@ -130,63 +128,62 @@ export default () => {
|
|
|
130
128
|
<div class="VirtualListItemWrapper " data-index="0" style="position: absolute; transform: translateY(0px); width: 100%; will-change: transform;">
|
|
131
129
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
132
130
|
<div class="text-medium" data-test-ignore="text">Item 1</div>
|
|
133
|
-
<div class="word-break" data-test-ignore="text">
|
|
131
|
+
<div class="word-break" data-test-ignore="text">Consectetur primis adipiscing ac pharetra</div>
|
|
134
132
|
</div>
|
|
135
133
|
</div>
|
|
136
134
|
<div class="VirtualListItemWrapper " data-index="1" style="position: absolute; transform: translateY(70px); width: 100%; will-change: transform;">
|
|
137
135
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
138
136
|
<div class="text-medium" data-test-ignore="text">Item 2</div>
|
|
139
|
-
<div class="word-break" data-test-ignore="text">
|
|
137
|
+
<div class="word-break" data-test-ignore="text">Fusce Ut sagittis ac sit ut in, efficitur finibus pretium Vivamus pretium amet, amet, orci,</div>
|
|
140
138
|
</div>
|
|
141
139
|
</div>
|
|
142
140
|
<div class="VirtualListItemWrapper " data-index="2" style="position: absolute; transform: translateY(140px); width: 100%; will-change: transform;">
|
|
143
141
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
144
142
|
<div class="text-medium" data-test-ignore="text">Item 3</div>
|
|
145
|
-
<div class="word-break" data-test-ignore="text">Ac
|
|
146
|
-
Lorem orci, nec primis lorem</div>
|
|
143
|
+
<div class="word-break" data-test-ignore="text">Ac Sed Mauris amet, molestie sem.</div>
|
|
147
144
|
</div>
|
|
148
145
|
</div>
|
|
149
146
|
<div class="VirtualListItemWrapper " data-index="3" style="position: absolute; transform: translateY(210px); width: 100%; will-change: transform;">
|
|
150
147
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
151
148
|
<div class="text-medium" data-test-ignore="text">Item 4</div>
|
|
152
|
-
<div class="word-break" data-test-ignore="text">
|
|
149
|
+
<div class="word-break" data-test-ignore="text">Consectetur tortor efficitur rutrum vitae in vel efficitur sem. scelerisque efficitur Fusce velit.</div>
|
|
153
150
|
</div>
|
|
154
151
|
</div>
|
|
155
152
|
<div class="VirtualListItemWrapper " data-index="4" style="position: absolute; transform: translateY(280px); width: 100%; will-change: transform;">
|
|
156
153
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
157
154
|
<div class="text-medium" data-test-ignore="text">Item 5</div>
|
|
158
|
-
<div class="word-break" data-test-ignore="text">
|
|
155
|
+
<div class="word-break" data-test-ignore="text">Ut ac Integer rutrum nunc sem. efficitur ante Duis finibus ac ut purus</div>
|
|
159
156
|
</div>
|
|
160
157
|
</div>
|
|
161
158
|
<div class="VirtualListItemWrapper " data-index="5" style="position: absolute; transform: translateY(350px); width: 100%; will-change: transform;">
|
|
162
159
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
163
160
|
<div class="text-medium" data-test-ignore="text">Item 6</div>
|
|
164
|
-
<div class="word-break" data-test-ignore="text">
|
|
161
|
+
<div class="word-break" data-test-ignore="text">Elit. ante felis. finibus in</div>
|
|
165
162
|
</div>
|
|
166
163
|
</div>
|
|
167
164
|
<div class="VirtualListItemWrapper " data-index="6" style="position: absolute; transform: translateY(420px); width: 100%; will-change: transform;">
|
|
168
165
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
169
166
|
<div class="text-medium" data-test-ignore="text">Item 7</div>
|
|
170
|
-
<div class="word-break" data-test-ignore="text">
|
|
167
|
+
<div class="word-break" data-test-ignore="text">Metus rutrum ante ac consectetur aliquam</div>
|
|
171
168
|
</div>
|
|
172
169
|
</div>
|
|
173
170
|
<div class="VirtualListItemWrapper " data-index="7" style="position: absolute; transform: translateY(490px); width: 100%; will-change: transform;">
|
|
174
171
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
175
172
|
<div class="text-medium" data-test-ignore="text">Item 8</div>
|
|
176
|
-
<div class="word-break" data-test-ignore="text">
|
|
173
|
+
<div class="word-break" data-test-ignore="text">Malesuada ac Vivamus purus massa, efficitur Vivamus hendrerit</div>
|
|
177
174
|
</div>
|
|
178
175
|
</div>
|
|
179
176
|
<div class="VirtualListItemWrapper " data-index="8" style="position: absolute; transform: translateY(560px); width: 100%; will-change: transform;">
|
|
180
177
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
181
178
|
<div class="text-medium" data-test-ignore="text">Item 9</div>
|
|
182
|
-
<div class="word-break" data-test-ignore="text">
|
|
179
|
+
<div class="word-break" data-test-ignore="text">Nunc libero
|
|
180
|
+
Lorem in elementum</div>
|
|
183
181
|
</div>
|
|
184
182
|
</div>
|
|
185
183
|
<div class="VirtualListItemWrapper " data-index="9" style="position: absolute; transform: translateY(630px); width: 100%; will-change: transform;">
|
|
186
184
|
<div class="margin-bottom-10 padding-y-10 padding-x-15 bg-white rounded shadow-accent text-color-darker">
|
|
187
185
|
<div class="text-medium" data-test-ignore="text">Item 10</div>
|
|
188
|
-
<div class="word-break" data-test-ignore="text">
|
|
189
|
-
Lorem lorem tortor primis libero</div>
|
|
186
|
+
<div class="word-break" data-test-ignore="text">Fringilla massa, quis, sit orci scelerisque ante elit. ut fringilla faucibus. Vivamus</div>
|
|
190
187
|
</div>
|
|
191
188
|
</div>
|
|
192
189
|
</div>
|
|
@@ -206,73 +203,75 @@ export default () => {
|
|
|
206
203
|
| scrollContainerRef | React.RefObject<HTMLElement> | — | Optional ref to an external scroll container. Use this when VirtualList is inside a scrollable container. |
|
|
207
204
|
| containerClassName | string | — | Additional classNames for the container of the list items. |
|
|
208
205
|
| listItemWrapperClassName | string | — | Additional classNames for each individual list item wrapper. This wrapper is required for proper positioning each item in the list using an absolute top value. |
|
|
209
|
-
| className | string | — | Additional classNames for the outer list container
|
|
206
|
+
| className | string | — | Additional classNames for the outer list container |
|
|
210
207
|
|
|
211
208
|
### Example: Example 2
|
|
212
209
|
|
|
213
210
|
Virtual list with 5000 items
|
|
214
211
|
Vehicle 1
|
|
215
|
-
|
|
212
|
+
Fringilla semper. faucibus. lorem ac Ut condimentum semper.
|
|
216
213
|
|
|
217
214
|
Vehicle 2
|
|
218
|
-
|
|
215
|
+
Finibus aliquam in Vivamus consectetur sit ante
|
|
219
216
|
|
|
220
217
|
Vehicle 3
|
|
221
|
-
|
|
218
|
+
Primis orci purus elementum libero tortor sit
|
|
222
219
|
|
|
223
220
|
Vehicle 4
|
|
224
|
-
|
|
221
|
+
Sed aliquam semper ipsum orci et metus Mauris ligula Ut consectetur nec elementum
|
|
225
222
|
|
|
226
223
|
Vehicle 5
|
|
227
|
-
|
|
224
|
+
Efficitur Integer malesuada adipiscing vel malesuada elit. pharetra elit. fringilla pretium orci, elit.
|
|
228
225
|
|
|
229
226
|
Vehicle 6
|
|
230
|
-
|
|
227
|
+
Orci, Fusce et condimentum scelerisque dolor metus fringilla consectetur consectetur primis nunc
|
|
231
228
|
|
|
232
229
|
Vehicle 7
|
|
233
|
-
|
|
230
|
+
Felis. ipsum condimentum efficitur tortor iaculis. amet, hendrerit dolor dolor massa molestie ut ac
|
|
231
|
+
Lorem
|
|
234
232
|
|
|
235
233
|
Vehicle 8
|
|
236
|
-
|
|
234
|
+
Fringilla ac ipsum Mauris ac ac et semper. semper Fusce ut
|
|
237
235
|
|
|
238
236
|
Vehicle 9
|
|
239
|
-
|
|
237
|
+
Scelerisque ante orci, in nec elementum rutrum adipiscing hendrerit molestie in, fames orci,
|
|
240
238
|
|
|
241
239
|
Vehicle 10
|
|
242
|
-
|
|
240
|
+
Nunc nec bibendum, velit. Mauris
|
|
243
241
|
|
|
244
242
|
#### Summary
|
|
245
243
|
|
|
246
244
|
Virtual list with 5000 items
|
|
247
245
|
Vehicle 1
|
|
248
|
-
|
|
246
|
+
Fringilla semper. faucibus. lorem ac Ut condimentum semper.
|
|
249
247
|
|
|
250
248
|
Vehicle 2
|
|
251
|
-
|
|
249
|
+
Finibus aliquam in Vivamus consectetur sit ante
|
|
252
250
|
|
|
253
251
|
Vehicle 3
|
|
254
|
-
|
|
252
|
+
Primis orci purus elementum libero tortor sit
|
|
255
253
|
|
|
256
254
|
Vehicle 4
|
|
257
|
-
|
|
255
|
+
Sed aliquam semper ipsum orci et metus Mauris ligula Ut consectetur nec elementum
|
|
258
256
|
|
|
259
257
|
Vehicle 5
|
|
260
|
-
|
|
258
|
+
Efficitur Integer malesuada adipiscing vel malesuada elit. pharetra elit. fringilla pretium orci, elit.
|
|
261
259
|
|
|
262
260
|
Vehicle 6
|
|
263
|
-
|
|
261
|
+
Orci, Fusce et condimentum scelerisque dolor metus fringilla consectetur consectetur primis nunc
|
|
264
262
|
|
|
265
263
|
Vehicle 7
|
|
266
|
-
|
|
264
|
+
Felis. ipsum condimentum efficitur tortor iaculis. amet, hendrerit dolor dolor massa molestie ut ac
|
|
265
|
+
Lorem
|
|
267
266
|
|
|
268
267
|
Vehicle 8
|
|
269
|
-
|
|
268
|
+
Fringilla ac ipsum Mauris ac ac et semper. semper Fusce ut
|
|
270
269
|
|
|
271
270
|
Vehicle 9
|
|
272
|
-
|
|
271
|
+
Scelerisque ante orci, in nec elementum rutrum adipiscing hendrerit molestie in, fames orci,
|
|
273
272
|
|
|
274
273
|
Vehicle 10
|
|
275
|
-
|
|
274
|
+
Nunc nec bibendum, velit. Mauris
|
|
276
275
|
|
|
277
276
|
#### React (tsx)
|
|
278
277
|
|
|
@@ -342,7 +341,7 @@ export default () => {
|
|
|
342
341
|
<div class="padding-20">
|
|
343
342
|
<label>Virtual list with 5000 items</label>
|
|
344
343
|
<div class="max-width-600 max-height-400 overflow-y-auto">
|
|
345
|
-
<div class="VirtualList overflow-y-auto border rounded" style="height:
|
|
344
|
+
<div class="VirtualList overflow-y-auto border rounded" style="height: 390000px; position: relative; overflow: visible;">
|
|
346
345
|
<div class="position-relative" style="height: auto;">
|
|
347
346
|
<div class="VirtualListItemContainer list-group">
|
|
348
347
|
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="0" style="position: absolute; transform: translateY(0px); width: 100%; will-change: transform;">
|
|
@@ -353,7 +352,7 @@ export default () => {
|
|
|
353
352
|
</div>
|
|
354
353
|
<div>
|
|
355
354
|
<div class="text-medium" data-test-ignore="text">Vehicle 1</div>
|
|
356
|
-
<div class="word-break" data-test-ignore="text">
|
|
355
|
+
<div class="word-break" data-test-ignore="text">Fringilla semper. faucibus. lorem ac Ut condimentum semper.</div>
|
|
357
356
|
</div>
|
|
358
357
|
</div>
|
|
359
358
|
</div>
|
|
@@ -365,7 +364,7 @@ export default () => {
|
|
|
365
364
|
</div>
|
|
366
365
|
<div>
|
|
367
366
|
<div class="text-medium" data-test-ignore="text">Vehicle 2</div>
|
|
368
|
-
<div class="word-break" data-test-ignore="text">
|
|
367
|
+
<div class="word-break" data-test-ignore="text">Finibus aliquam in Vivamus consectetur sit ante</div>
|
|
369
368
|
</div>
|
|
370
369
|
</div>
|
|
371
370
|
</div>
|
|
@@ -377,7 +376,7 @@ export default () => {
|
|
|
377
376
|
</div>
|
|
378
377
|
<div>
|
|
379
378
|
<div class="text-medium" data-test-ignore="text">Vehicle 3</div>
|
|
380
|
-
<div class="word-break" data-test-ignore="text">
|
|
379
|
+
<div class="word-break" data-test-ignore="text">Primis orci purus elementum libero tortor sit</div>
|
|
381
380
|
</div>
|
|
382
381
|
</div>
|
|
383
382
|
</div>
|
|
@@ -389,11 +388,11 @@ export default () => {
|
|
|
389
388
|
</div>
|
|
390
389
|
<div>
|
|
391
390
|
<div class="text-medium" data-test-ignore="text">Vehicle 4</div>
|
|
392
|
-
<div class="word-break" data-test-ignore="text">
|
|
391
|
+
<div class="word-break" data-test-ignore="text">Sed aliquam semper ipsum orci et metus Mauris ligula Ut consectetur nec elementum</div>
|
|
393
392
|
</div>
|
|
394
393
|
</div>
|
|
395
394
|
</div>
|
|
396
|
-
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="4" style="position: absolute; transform: translateY(
|
|
395
|
+
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="4" style="position: absolute; transform: translateY(279px); width: 100%; will-change: transform;">
|
|
397
396
|
<div class="display-flex gap-15 align-items-center">
|
|
398
397
|
<div class="Avatar bg-lightest" style="height: 40px;">
|
|
399
398
|
<span class="Avatar-icon rioglyph rioglyph-truck ">
|
|
@@ -401,7 +400,7 @@ export default () => {
|
|
|
401
400
|
</div>
|
|
402
401
|
<div>
|
|
403
402
|
<div class="text-medium" data-test-ignore="text">Vehicle 5</div>
|
|
404
|
-
<div class="word-break" data-test-ignore="text">
|
|
403
|
+
<div class="word-break" data-test-ignore="text">Efficitur Integer malesuada adipiscing vel malesuada elit. pharetra elit. fringilla pretium orci, elit.</div>
|
|
405
404
|
</div>
|
|
406
405
|
</div>
|
|
407
406
|
</div>
|
|
@@ -413,11 +412,11 @@ export default () => {
|
|
|
413
412
|
</div>
|
|
414
413
|
<div>
|
|
415
414
|
<div class="text-medium" data-test-ignore="text">Vehicle 6</div>
|
|
416
|
-
<div class="word-break" data-test-ignore="text">
|
|
415
|
+
<div class="word-break" data-test-ignore="text">Orci, Fusce et condimentum scelerisque dolor metus fringilla consectetur consectetur primis nunc</div>
|
|
417
416
|
</div>
|
|
418
417
|
</div>
|
|
419
418
|
</div>
|
|
420
|
-
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="6" style="position: absolute; transform: translateY(
|
|
419
|
+
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="6" style="position: absolute; transform: translateY(459px); width: 100%; will-change: transform;">
|
|
421
420
|
<div class="display-flex gap-15 align-items-center">
|
|
422
421
|
<div class="Avatar bg-lightest" style="height: 40px;">
|
|
423
422
|
<span class="Avatar-icon rioglyph rioglyph-truck ">
|
|
@@ -425,11 +424,12 @@ export default () => {
|
|
|
425
424
|
</div>
|
|
426
425
|
<div>
|
|
427
426
|
<div class="text-medium" data-test-ignore="text">Vehicle 7</div>
|
|
428
|
-
<div class="word-break" data-test-ignore="text">
|
|
427
|
+
<div class="word-break" data-test-ignore="text">Felis. ipsum condimentum efficitur tortor iaculis. amet, hendrerit dolor dolor massa molestie ut ac
|
|
428
|
+
Lorem</div>
|
|
429
429
|
</div>
|
|
430
430
|
</div>
|
|
431
431
|
</div>
|
|
432
|
-
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="7" style="position: absolute; transform: translateY(
|
|
432
|
+
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="7" style="position: absolute; transform: translateY(549px); width: 100%; will-change: transform;">
|
|
433
433
|
<div class="display-flex gap-15 align-items-center">
|
|
434
434
|
<div class="Avatar bg-lightest" style="height: 40px;">
|
|
435
435
|
<span class="Avatar-icon rioglyph rioglyph-truck ">
|
|
@@ -437,11 +437,11 @@ export default () => {
|
|
|
437
437
|
</div>
|
|
438
438
|
<div>
|
|
439
439
|
<div class="text-medium" data-test-ignore="text">Vehicle 8</div>
|
|
440
|
-
<div class="word-break" data-test-ignore="text">
|
|
440
|
+
<div class="word-break" data-test-ignore="text">Fringilla ac ipsum Mauris ac ac et semper. semper Fusce ut</div>
|
|
441
441
|
</div>
|
|
442
442
|
</div>
|
|
443
443
|
</div>
|
|
444
|
-
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="8" style="position: absolute; transform: translateY(
|
|
444
|
+
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="8" style="position: absolute; transform: translateY(619px); width: 100%; will-change: transform;">
|
|
445
445
|
<div class="display-flex gap-15 align-items-center">
|
|
446
446
|
<div class="Avatar bg-lightest" style="height: 40px;">
|
|
447
447
|
<span class="Avatar-icon rioglyph rioglyph-truck ">
|
|
@@ -449,11 +449,11 @@ export default () => {
|
|
|
449
449
|
</div>
|
|
450
450
|
<div>
|
|
451
451
|
<div class="text-medium" data-test-ignore="text">Vehicle 9</div>
|
|
452
|
-
<div class="word-break" data-test-ignore="text">
|
|
452
|
+
<div class="word-break" data-test-ignore="text">Scelerisque ante orci, in nec elementum rutrum adipiscing hendrerit molestie in, fames orci,</div>
|
|
453
453
|
</div>
|
|
454
454
|
</div>
|
|
455
455
|
</div>
|
|
456
|
-
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="9" style="position: absolute; transform: translateY(
|
|
456
|
+
<div class="VirtualListItemWrapper list-group-item padding-y-15" data-index="9" style="position: absolute; transform: translateY(709px); width: 100%; will-change: transform;">
|
|
457
457
|
<div class="display-flex gap-15 align-items-center">
|
|
458
458
|
<div class="Avatar bg-lightest" style="height: 40px;">
|
|
459
459
|
<span class="Avatar-icon rioglyph rioglyph-truck ">
|
|
@@ -461,7 +461,7 @@ export default () => {
|
|
|
461
461
|
</div>
|
|
462
462
|
<div>
|
|
463
463
|
<div class="text-medium" data-test-ignore="text">Vehicle 10</div>
|
|
464
|
-
<div class="word-break" data-test-ignore="text">
|
|
464
|
+
<div class="word-break" data-test-ignore="text">Nunc nec bibendum, velit. Mauris</div>
|
|
465
465
|
</div>
|
|
466
466
|
</div>
|
|
467
467
|
</div>
|
|
@@ -483,4 +483,4 @@ export default () => {
|
|
|
483
483
|
| scrollContainerRef | React.RefObject<HTMLElement> | — | Optional ref to an external scroll container. Use this when VirtualList is inside a scrollable container. |
|
|
484
484
|
| containerClassName | string | — | Additional classNames for the container of the list items. |
|
|
485
485
|
| listItemWrapperClassName | string | — | Additional classNames for each individual list item wrapper. This wrapper is required for proper positioning each item in the list using an absolute top value. |
|
|
486
|
-
| className | string | — | Additional classNames for the outer list container
|
|
486
|
+
| className | string | — | Additional classNames for the outer list container |
|