@vaadin/virtual-list 24.3.2 → 24.4.0-dev.223e39f050

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/virtual-list",
3
- "version": "24.3.2",
3
+ "version": "24.4.0-dev.223e39f050",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,21 +41,21 @@
41
41
  "dependencies": {
42
42
  "@open-wc/dedupe-mixin": "^1.3.0",
43
43
  "@polymer/polymer": "^3.0.0",
44
- "@vaadin/component-base": "~24.3.2",
45
- "@vaadin/lit-renderer": "~24.3.2",
46
- "@vaadin/vaadin-lumo-styles": "~24.3.2",
47
- "@vaadin/vaadin-material-styles": "~24.3.2",
48
- "@vaadin/vaadin-themable-mixin": "~24.3.2"
44
+ "@vaadin/component-base": "24.4.0-dev.223e39f050",
45
+ "@vaadin/lit-renderer": "24.4.0-dev.223e39f050",
46
+ "@vaadin/vaadin-lumo-styles": "24.4.0-dev.223e39f050",
47
+ "@vaadin/vaadin-material-styles": "24.4.0-dev.223e39f050",
48
+ "@vaadin/vaadin-themable-mixin": "24.4.0-dev.223e39f050",
49
+ "lit": "^3.0.0"
49
50
  },
50
51
  "devDependencies": {
51
52
  "@esm-bundle/chai": "^4.3.4",
52
53
  "@vaadin/testing-helpers": "^0.6.0",
53
- "lit": "^3.0.0",
54
54
  "sinon": "^13.0.2"
55
55
  },
56
56
  "web-types": [
57
57
  "web-types.json",
58
58
  "web-types.lit.json"
59
59
  ],
60
- "gitHead": "615ee9dd4611f52db90445b0db13dcbb91ca74d4"
60
+ "gitHead": "5e2e3bfc811c95aed9354235fab93fdbf43eb354"
61
61
  }
package/web-types.json DELETED
@@ -1,54 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/web-types",
3
- "name": "@vaadin/virtual-list",
4
- "version": "24.3.2",
5
- "description-markup": "markdown",
6
- "contributions": {
7
- "html": {
8
- "elements": [
9
- {
10
- "name": "vaadin-virtual-list",
11
- "description": "`<vaadin-virtual-list>` is a Web Component for displaying a virtual/infinite list of items.\n\n```html\n<vaadin-virtual-list></vaadin-virtual-list>\n```\n```js\nconst list = document.querySelector('vaadin-virtual-list');\nlist.items = items; // An array of data items\nlist.renderer = (root, list, {item, index}) => {\n root.textContent = `#${index}: ${item.name}`\n}\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|--------------------------------------------\n`overflow` | Set to `top`, `bottom`, both, or none.\n\nSee [Virtual List](https://vaadin.com/docs/latest/components/virtual-list) documentation.",
12
- "attributes": [
13
- {
14
- "name": "theme",
15
- "description": "The theme variants to apply to the component.",
16
- "value": {
17
- "type": [
18
- "string",
19
- "null",
20
- "undefined"
21
- ]
22
- }
23
- }
24
- ],
25
- "js": {
26
- "properties": [
27
- {
28
- "name": "items",
29
- "description": "An array containing items determining how many instances to render.",
30
- "value": {
31
- "type": [
32
- "Array.<VirtualListItem>",
33
- "undefined"
34
- ]
35
- }
36
- },
37
- {
38
- "name": "renderer",
39
- "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.",
40
- "value": {
41
- "type": [
42
- "VirtualListRenderer",
43
- "undefined"
44
- ]
45
- }
46
- }
47
- ],
48
- "events": []
49
- }
50
- }
51
- ]
52
- }
53
- }
54
- }
@@ -1,41 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/web-types",
3
- "name": "@vaadin/virtual-list",
4
- "version": "24.3.2",
5
- "description-markup": "markdown",
6
- "framework": "lit",
7
- "framework-config": {
8
- "enable-when": {
9
- "node-packages": [
10
- "lit"
11
- ]
12
- }
13
- },
14
- "contributions": {
15
- "html": {
16
- "elements": [
17
- {
18
- "name": "vaadin-virtual-list",
19
- "description": "`<vaadin-virtual-list>` is a Web Component for displaying a virtual/infinite list of items.\n\n```html\n<vaadin-virtual-list></vaadin-virtual-list>\n```\n```js\nconst list = document.querySelector('vaadin-virtual-list');\nlist.items = items; // An array of data items\nlist.renderer = (root, list, {item, index}) => {\n root.textContent = `#${index}: ${item.name}`\n}\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|--------------------------------------------\n`overflow` | Set to `top`, `bottom`, both, or none.\n\nSee [Virtual List](https://vaadin.com/docs/latest/components/virtual-list) documentation.",
20
- "extension": true,
21
- "attributes": [
22
- {
23
- "name": ".items",
24
- "description": "An array containing items determining how many instances to render.",
25
- "value": {
26
- "kind": "expression"
27
- }
28
- },
29
- {
30
- "name": ".renderer",
31
- "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.",
32
- "value": {
33
- "kind": "expression"
34
- }
35
- }
36
- ]
37
- }
38
- ]
39
- }
40
- }
41
- }