@vaadin/virtual-list 25.4.0-alpha3 → 25.4.0-alpha5
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/custom-elements.json +4 -51
- package/package.json +9 -9
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -44,8 +44,7 @@
|
|
|
44
44
|
"type": {
|
|
45
45
|
"text": "function"
|
|
46
46
|
},
|
|
47
|
-
"description": "A function that generates accessible names for virtual list items.\nThe function gets the item as an argument and the\nreturn value should be a string representing that item. The\nresult gets applied to the corresponding virtual list child element\nas an `aria-label` attribute."
|
|
48
|
-
"attribute": "item-accessible-name-generator"
|
|
47
|
+
"description": "A function that generates accessible names for virtual list items.\nThe function gets the item as an argument and the\nreturn value should be a string representing that item. The\nresult gets applied to the corresponding virtual list child element\nas an `aria-label` attribute."
|
|
49
48
|
},
|
|
50
49
|
{
|
|
51
50
|
"kind": "field",
|
|
@@ -54,8 +53,7 @@
|
|
|
54
53
|
"type": {
|
|
55
54
|
"text": "Array<!VirtualListItem> | undefined"
|
|
56
55
|
},
|
|
57
|
-
"description": "An array containing items determining how many instances to render."
|
|
58
|
-
"attribute": "items"
|
|
56
|
+
"description": "An array containing items determining how many instances to render."
|
|
59
57
|
},
|
|
60
58
|
{
|
|
61
59
|
"kind": "field",
|
|
@@ -75,8 +73,7 @@
|
|
|
75
73
|
"type": {
|
|
76
74
|
"text": "VirtualListRenderer | undefined"
|
|
77
75
|
},
|
|
78
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The render target element representing one item at a time.\n- `virtualList` The reference to the `<vaadin-virtual-list>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item."
|
|
79
|
-
"attribute": "renderer"
|
|
76
|
+
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The render target element representing one item at a time.\n- `virtualList` The reference to the `<vaadin-virtual-list>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item."
|
|
80
77
|
},
|
|
81
78
|
{
|
|
82
79
|
"kind": "method",
|
|
@@ -98,24 +95,7 @@
|
|
|
98
95
|
"description": "Scroll to a specific index in the virtual list."
|
|
99
96
|
}
|
|
100
97
|
],
|
|
101
|
-
"attributes": [
|
|
102
|
-
{
|
|
103
|
-
"name": "item-accessible-name-generator",
|
|
104
|
-
"type": {
|
|
105
|
-
"text": "function"
|
|
106
|
-
},
|
|
107
|
-
"description": "A function that generates accessible names for virtual list items.\nThe function gets the item as an argument and the\nreturn value should be a string representing that item. The\nresult gets applied to the corresponding virtual list child element\nas an `aria-label` attribute.",
|
|
108
|
-
"fieldName": "itemAccessibleNameGenerator"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "renderer",
|
|
112
|
-
"type": {
|
|
113
|
-
"text": "VirtualListRenderer | undefined"
|
|
114
|
-
},
|
|
115
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The render target element representing one item at a time.\n- `virtualList` The reference to the `<vaadin-virtual-list>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item.",
|
|
116
|
-
"fieldName": "renderer"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
98
|
+
"attributes": [],
|
|
119
99
|
"parameters": [
|
|
120
100
|
{
|
|
121
101
|
"name": "superClass"
|
|
@@ -166,7 +146,6 @@
|
|
|
166
146
|
"text": "function"
|
|
167
147
|
},
|
|
168
148
|
"description": "A function that generates accessible names for virtual list items.\nThe function gets the item as an argument and the\nreturn value should be a string representing that item. The\nresult gets applied to the corresponding virtual list child element\nas an `aria-label` attribute.",
|
|
169
|
-
"attribute": "item-accessible-name-generator",
|
|
170
149
|
"inheritedFrom": {
|
|
171
150
|
"name": "VirtualListMixin",
|
|
172
151
|
"module": "src/vaadin-virtual-list-mixin.js"
|
|
@@ -180,7 +159,6 @@
|
|
|
180
159
|
"text": "Array<!VirtualListItem> | undefined"
|
|
181
160
|
},
|
|
182
161
|
"description": "An array containing items determining how many instances to render.",
|
|
183
|
-
"attribute": "items",
|
|
184
162
|
"inheritedFrom": {
|
|
185
163
|
"name": "VirtualListMixin",
|
|
186
164
|
"module": "src/vaadin-virtual-list-mixin.js"
|
|
@@ -209,7 +187,6 @@
|
|
|
209
187
|
"text": "VirtualListRenderer | undefined"
|
|
210
188
|
},
|
|
211
189
|
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The render target element representing one item at a time.\n- `virtualList` The reference to the `<vaadin-virtual-list>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item.",
|
|
212
|
-
"attribute": "renderer",
|
|
213
190
|
"inheritedFrom": {
|
|
214
191
|
"name": "VirtualListMixin",
|
|
215
192
|
"module": "src/vaadin-virtual-list-mixin.js"
|
|
@@ -244,30 +221,6 @@
|
|
|
244
221
|
}
|
|
245
222
|
],
|
|
246
223
|
"attributes": [
|
|
247
|
-
{
|
|
248
|
-
"name": "item-accessible-name-generator",
|
|
249
|
-
"type": {
|
|
250
|
-
"text": "function"
|
|
251
|
-
},
|
|
252
|
-
"description": "A function that generates accessible names for virtual list items.\nThe function gets the item as an argument and the\nreturn value should be a string representing that item. The\nresult gets applied to the corresponding virtual list child element\nas an `aria-label` attribute.",
|
|
253
|
-
"fieldName": "itemAccessibleNameGenerator",
|
|
254
|
-
"inheritedFrom": {
|
|
255
|
-
"name": "VirtualListMixin",
|
|
256
|
-
"module": "src/vaadin-virtual-list-mixin.js"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"name": "renderer",
|
|
261
|
-
"type": {
|
|
262
|
-
"text": "VirtualListRenderer | undefined"
|
|
263
|
-
},
|
|
264
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The render target element representing one item at a time.\n- `virtualList` The reference to the `<vaadin-virtual-list>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item.",
|
|
265
|
-
"fieldName": "renderer",
|
|
266
|
-
"inheritedFrom": {
|
|
267
|
-
"name": "VirtualListMixin",
|
|
268
|
-
"module": "src/vaadin-virtual-list-mixin.js"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
224
|
{
|
|
272
225
|
"type": {
|
|
273
226
|
"text": "string"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/virtual-list",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-alpha5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
|
-
"@vaadin/component-base": "25.4.0-
|
|
42
|
-
"@vaadin/lit-renderer": "25.4.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "25.4.0-
|
|
41
|
+
"@vaadin/component-base": "25.4.0-alpha5",
|
|
42
|
+
"@vaadin/lit-renderer": "25.4.0-alpha5",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-alpha5",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/aura": "25.4.0-
|
|
48
|
-
"@vaadin/chai-plugins": "25.4.0-
|
|
49
|
-
"@vaadin/test-runner-commands": "25.4.0-
|
|
47
|
+
"@vaadin/aura": "25.4.0-alpha5",
|
|
48
|
+
"@vaadin/chai-plugins": "25.4.0-alpha5",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.4.0-alpha5",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "25.4.0-
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-alpha5",
|
|
52
52
|
"sinon": "^22.0.0"
|
|
53
53
|
},
|
|
54
54
|
"customElements": "custom-elements.json",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "65e9c9e49c0a723b08ee91b9aae8b901e91a3597"
|
|
60
60
|
}
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED