@vaadin/grid-pro 24.2.0-alpha4 → 24.2.0-alpha6

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/grid-pro",
3
- "version": "24.2.0-alpha4",
3
+ "version": "24.2.0-alpha6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,21 +39,21 @@
39
39
  "dependencies": {
40
40
  "@open-wc/dedupe-mixin": "^1.3.0",
41
41
  "@polymer/polymer": "^3.0.0",
42
- "@vaadin/checkbox": "24.2.0-alpha4",
43
- "@vaadin/component-base": "24.2.0-alpha4",
44
- "@vaadin/grid": "24.2.0-alpha4",
45
- "@vaadin/item": "24.2.0-alpha4",
46
- "@vaadin/list-box": "24.2.0-alpha4",
47
- "@vaadin/lit-renderer": "24.2.0-alpha4",
48
- "@vaadin/select": "24.2.0-alpha4",
49
- "@vaadin/text-field": "24.2.0-alpha4",
50
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha4",
51
- "@vaadin/vaadin-material-styles": "24.2.0-alpha4",
52
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha4"
42
+ "@vaadin/checkbox": "24.2.0-alpha6",
43
+ "@vaadin/component-base": "24.2.0-alpha6",
44
+ "@vaadin/grid": "24.2.0-alpha6",
45
+ "@vaadin/item": "24.2.0-alpha6",
46
+ "@vaadin/list-box": "24.2.0-alpha6",
47
+ "@vaadin/lit-renderer": "24.2.0-alpha6",
48
+ "@vaadin/select": "24.2.0-alpha6",
49
+ "@vaadin/text-field": "24.2.0-alpha6",
50
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha6",
51
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha6",
52
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha6"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@esm-bundle/chai": "^4.3.4",
56
- "@vaadin/testing-helpers": "^0.4.2",
56
+ "@vaadin/testing-helpers": "^0.4.3",
57
57
  "lit": "^2.0.0",
58
58
  "sinon": "^13.0.2"
59
59
  },
@@ -62,5 +62,5 @@
62
62
  "web-types.json",
63
63
  "web-types.lit.json"
64
64
  ],
65
- "gitHead": "aaf7c5ebfea62628210eead4229be1718ac6b129"
65
+ "gitHead": "3ef6e6cd66919b3ef7637e42916e4c54656beb51"
66
66
  }
@@ -8,9 +8,9 @@
8
8
  * See https://vaadin.com/commercial-license-and-service-terms for the full
9
9
  * license.
10
10
  */
11
- import type { TemplateResult } from 'lit';
12
11
  import type { DirectiveResult } from 'lit/directive';
13
12
  import type { GridItemModel } from '@vaadin/grid';
13
+ import type { LitRendererResult } from '@vaadin/lit-renderer';
14
14
  import { LitRendererDirective } from '@vaadin/lit-renderer';
15
15
  import type { GridProEditColumn } from '../vaadin-grid-pro-edit-column.js';
16
16
 
@@ -18,7 +18,7 @@ export type GridProColumnEditModeLitRenderer<TItem> = (
18
18
  item: TItem,
19
19
  model: GridItemModel<TItem>,
20
20
  column: GridProEditColumn,
21
- ) => TemplateResult;
21
+ ) => LitRendererResult;
22
22
 
23
23
  export declare class GridProColumnEditModeRendererDirective<TItem> extends LitRendererDirective<
24
24
  GridProEditColumn,
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": "24.2.0-alpha4",
4
+ "version": "24.2.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -39,6 +39,15 @@
39
39
  ]
40
40
  }
41
41
  },
42
+ {
43
+ "name": "row-header",
44
+ "description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
45
+ "value": {
46
+ "type": [
47
+ "boolean"
48
+ ]
49
+ }
50
+ },
42
51
  {
43
52
  "name": "hidden",
44
53
  "description": "When set to true, the cells for this column are hidden.",
@@ -173,6 +182,15 @@
173
182
  ]
174
183
  }
175
184
  },
185
+ {
186
+ "name": "rowHeader",
187
+ "description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
188
+ "value": {
189
+ "type": [
190
+ "boolean"
191
+ ]
192
+ }
193
+ },
176
194
  {
177
195
  "name": "hidden",
178
196
  "description": "When set to true, the cells for this column are hidden.",
@@ -328,7 +346,7 @@
328
346
  },
329
347
  {
330
348
  "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/24.2.0-alpha4/#/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/24.2.0-alpha4/#/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/24.2.0-alpha4/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha4/#/elements/vaadin-select).",
349
+ "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/24.2.0-alpha6/#/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/24.2.0-alpha6/#/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/24.2.0-alpha6/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha6/#/elements/vaadin-select).",
332
350
  "attributes": [
333
351
  {
334
352
  "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": "24.2.0-alpha4",
4
+ "version": "24.2.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -40,6 +40,13 @@
40
40
  "kind": "expression"
41
41
  }
42
42
  },
43
+ {
44
+ "name": "?rowHeader",
45
+ "description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
46
+ "value": {
47
+ "kind": "expression"
48
+ }
49
+ },
43
50
  {
44
51
  "name": "?hidden",
45
52
  "description": "When set to true, the cells for this column are hidden.",
@@ -149,7 +156,7 @@
149
156
  },
150
157
  {
151
158
  "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/24.2.0-alpha4/#/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/24.2.0-alpha4/#/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/24.2.0-alpha4/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha4/#/elements/vaadin-select).",
159
+ "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/24.2.0-alpha6/#/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/24.2.0-alpha6/#/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/24.2.0-alpha6/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha6/#/elements/vaadin-select).",
153
160
  "extension": true,
154
161
  "attributes": [
155
162
  {