@vaadin/grid-pro 25.0.0-beta7 → 25.0.0
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 +12 -12
- package/src/styles/vaadin-grid-pro-base-styles.js +16 -16
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid-pro",
|
|
3
|
-
"version": "25.0.0
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
|
-
"@vaadin/checkbox": "25.0.0
|
|
40
|
-
"@vaadin/component-base": "25.0.0
|
|
41
|
-
"@vaadin/grid": "25.0.0
|
|
42
|
-
"@vaadin/lit-renderer": "25.0.0
|
|
43
|
-
"@vaadin/select": "25.0.0
|
|
44
|
-
"@vaadin/text-field": "25.0.0
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0
|
|
39
|
+
"@vaadin/checkbox": "~25.0.0",
|
|
40
|
+
"@vaadin/component-base": "~25.0.0",
|
|
41
|
+
"@vaadin/grid": "~25.0.0",
|
|
42
|
+
"@vaadin/lit-renderer": "~25.0.0",
|
|
43
|
+
"@vaadin/select": "~25.0.0",
|
|
44
|
+
"@vaadin/text-field": "~25.0.0",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "~25.0.0",
|
|
46
46
|
"lit": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@vaadin/chai-plugins": "25.0.0
|
|
50
|
-
"@vaadin/test-runner-commands": "25.0.0
|
|
49
|
+
"@vaadin/chai-plugins": "~25.0.0",
|
|
50
|
+
"@vaadin/test-runner-commands": "~25.0.0",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "~25.0.0",
|
|
53
53
|
"sinon": "^21.0.0"
|
|
54
54
|
},
|
|
55
55
|
"cvdlName": "vaadin-grid-pro",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "c979f7ca278b6412095176ada230eb07eb4456bf"
|
|
61
61
|
}
|
|
@@ -36,19 +36,18 @@ const gridPro = css`
|
|
|
36
36
|
/* On macOS the editable-cell part is a button inside the body cell. On other platforms the body cell is the editable-cell part. */
|
|
37
37
|
|
|
38
38
|
@media (any-hover: hover) {
|
|
39
|
-
|
|
40
|
-
--vaadin-grid-
|
|
39
|
+
.body-cell:is([part~='editable-cell'], :has([part~='editable-cell'])):hover {
|
|
40
|
+
--vaadin-grid-cell-background-color: var(--_highlight-color);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
:host([navigating])
|
|
45
|
-
--vaadin-grid-
|
|
44
|
+
:host([navigating]) .body-cell:is([part~='editable-cell']:focus, :has([part~='editable-cell']:focus)) {
|
|
45
|
+
--vaadin-grid-cell-background-color: var(--_highlight-color);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Indicate editable cells */
|
|
49
49
|
|
|
50
|
-
:host([theme~='highlight-editable-cells'])
|
|
51
|
-
[part~='body-cell']:is([part~='editable-cell'], :has([part~='editable-cell'])) {
|
|
50
|
+
:host([theme~='highlight-editable-cells']) .body-cell:is([part~='editable-cell'], :has([part~='editable-cell'])) {
|
|
52
51
|
--vaadin-grid-row-highlight-background-color: var(
|
|
53
52
|
--vaadin-grid-pro-editable-cell-background-color,
|
|
54
53
|
var(--_highlight-color)
|
|
@@ -57,16 +56,17 @@ const gridPro = css`
|
|
|
57
56
|
|
|
58
57
|
/* Indicate read-only cells */
|
|
59
58
|
|
|
60
|
-
:host([theme~='highlight-read-only-cells'])
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
:host([theme~='highlight-read-only-cells']) .body-cell:not([part~='editable-cell'], :has([part~='editable-cell'])) {
|
|
60
|
+
--_cell-highlight-background-image: repeating-linear-gradient(
|
|
61
|
+
-45deg,
|
|
62
|
+
transparent,
|
|
63
|
+
transparent 30%,
|
|
64
|
+
var(--_highlight-color2) 30%,
|
|
65
|
+
var(--_highlight-color2) 50%
|
|
66
|
+
);
|
|
67
|
+
background-repeat: repeat;
|
|
68
|
+
background-size: 6px 6px;
|
|
69
|
+
background-clip: padding-box;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* Loading editor cell styles are used by Flow GridPro */
|
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": "25.0.0
|
|
4
|
+
"version": "25.0.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
403
|
"name": "vaadin-grid-pro",
|
|
404
|
-
"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/25.0.0
|
|
404
|
+
"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/25.0.0/#/elements/vaadin-grid) documentation for details.\n\n```html\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/25.0.0/#/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/25.0.0/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0/#/elements/vaadin-select).",
|
|
405
405
|
"attributes": [
|
|
406
406
|
{
|
|
407
407
|
"name": "accessible-name",
|
package/web-types.lit.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": "25.0.0
|
|
4
|
+
"version": "25.0.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "vaadin-grid-pro",
|
|
180
|
-
"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/25.0.0
|
|
180
|
+
"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/25.0.0/#/elements/vaadin-grid) documentation for details.\n\n```html\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/25.0.0/#/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/25.0.0/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0/#/elements/vaadin-select).",
|
|
181
181
|
"extension": true,
|
|
182
182
|
"attributes": [
|
|
183
183
|
{
|