@vaadin/grid-pro 23.2.2 → 23.3.0-alpha2

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,12 +1,11 @@
1
1
  {
2
2
  "name": "@vaadin/grid-pro",
3
- "version": "23.2.2",
3
+ "version": "23.3.0-alpha2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "vaadin-grid-pro",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
- "cvdlName": "vaadin-grid-pro",
10
9
  "repository": {
11
10
  "type": "git",
12
11
  "url": "https://github.com/vaadin/web-components.git",
@@ -40,28 +39,29 @@
40
39
  "dependencies": {
41
40
  "@open-wc/dedupe-mixin": "^1.3.0",
42
41
  "@polymer/polymer": "^3.0.0",
43
- "@vaadin/checkbox": "~23.2.2",
44
- "@vaadin/component-base": "~23.2.2",
45
- "@vaadin/grid": "~23.2.2",
46
- "@vaadin/item": "~23.2.2",
47
- "@vaadin/list-box": "~23.2.2",
48
- "@vaadin/lit-renderer": "~23.2.2",
49
- "@vaadin/select": "~23.2.2",
50
- "@vaadin/text-field": "~23.2.2",
51
- "@vaadin/vaadin-lumo-styles": "~23.2.2",
52
- "@vaadin/vaadin-material-styles": "~23.2.2",
53
- "@vaadin/vaadin-themable-mixin": "~23.2.2"
42
+ "@vaadin/checkbox": "23.3.0-alpha2",
43
+ "@vaadin/component-base": "23.3.0-alpha2",
44
+ "@vaadin/grid": "23.3.0-alpha2",
45
+ "@vaadin/item": "23.3.0-alpha2",
46
+ "@vaadin/list-box": "23.3.0-alpha2",
47
+ "@vaadin/lit-renderer": "23.3.0-alpha2",
48
+ "@vaadin/select": "23.3.0-alpha2",
49
+ "@vaadin/text-field": "23.3.0-alpha2",
50
+ "@vaadin/vaadin-lumo-styles": "23.3.0-alpha2",
51
+ "@vaadin/vaadin-material-styles": "23.3.0-alpha2",
52
+ "@vaadin/vaadin-themable-mixin": "23.3.0-alpha2"
54
53
  },
55
54
  "devDependencies": {
56
55
  "@esm-bundle/chai": "^4.3.4",
57
- "@vaadin/polymer-legacy-adapter": "~23.2.2",
56
+ "@vaadin/polymer-legacy-adapter": "23.3.0-alpha2",
58
57
  "@vaadin/testing-helpers": "^0.3.2",
59
58
  "lit": "^2.0.0",
60
59
  "sinon": "^13.0.2"
61
60
  },
61
+ "cvdlName": "vaadin-grid-pro",
62
62
  "web-types": [
63
63
  "web-types.json",
64
64
  "web-types.lit.json"
65
65
  ],
66
- "gitHead": "a98818979098f4542ce557a58858fb6dad910a25"
66
+ "gitHead": "ae61027c62ffa7f7d70cfc50e43f333addfc74b6"
67
67
  }
@@ -226,7 +226,7 @@ export const InlineEditingMixin = (superClass) =>
226
226
 
227
227
  /** @private */
228
228
  _getRowByIndex(index) {
229
- return Array.from(this.$.items.children).filter((el) => el.index === index)[0];
229
+ return Array.from(this.$.items.children).find((el) => el.index === index);
230
230
  }
231
231
 
232
232
  /** @private */
@@ -456,7 +456,7 @@ export const InlineEditingMixin = (superClass) =>
456
456
  this._stopEdit();
457
457
 
458
458
  if (nextRow && nextCol) {
459
- const nextCell = Array.from(nextRow.children).filter((cell) => cell._column === nextCol)[0];
459
+ const nextCell = Array.from(nextRow.children).find((cell) => cell._column === nextCol);
460
460
  e.preventDefault();
461
461
 
462
462
  // Prevent vaadin-grid handler from being called
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/grid-pro",
4
- "version": "23.2.2",
4
+ "version": "23.3.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -328,7 +328,7 @@
328
328
  },
329
329
  {
330
330
  "name": "vaadin-grid-pro",
331
- "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-select).",
331
+ "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-select).",
332
332
  "attributes": [
333
333
  {
334
334
  "name": "size",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/grid-pro",
4
- "version": "23.2.2",
4
+ "version": "23.3.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -149,7 +149,7 @@
149
149
  },
150
150
  {
151
151
  "name": "vaadin-grid-pro",
152
- "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/23.2.2/#/elements/vaadin-select).",
152
+ "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/23.3.0-alpha2/#/elements/vaadin-select).",
153
153
  "extension": true,
154
154
  "attributes": [
155
155
  {