@vaadin/checkbox 24.5.0-alpha7 → 24.5.0-alpha8

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/checkbox",
3
- "version": "24.5.0-alpha7",
3
+ "version": "24.5.0-alpha8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,22 +37,22 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.5.0-alpha7",
41
- "@vaadin/component-base": "24.5.0-alpha7",
42
- "@vaadin/field-base": "24.5.0-alpha7",
43
- "@vaadin/vaadin-lumo-styles": "24.5.0-alpha7",
44
- "@vaadin/vaadin-material-styles": "24.5.0-alpha7",
45
- "@vaadin/vaadin-themable-mixin": "24.5.0-alpha7",
40
+ "@vaadin/a11y-base": "24.5.0-alpha8",
41
+ "@vaadin/component-base": "24.5.0-alpha8",
42
+ "@vaadin/field-base": "24.5.0-alpha8",
43
+ "@vaadin/vaadin-lumo-styles": "24.5.0-alpha8",
44
+ "@vaadin/vaadin-material-styles": "24.5.0-alpha8",
45
+ "@vaadin/vaadin-themable-mixin": "24.5.0-alpha8",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@esm-bundle/chai": "^4.3.4",
50
- "@vaadin/testing-helpers": "^0.6.0",
51
- "sinon": "^13.0.2"
49
+ "@vaadin/chai-plugins": "24.5.0-alpha8",
50
+ "@vaadin/testing-helpers": "^1.0.0",
51
+ "sinon": "^18.0.0"
52
52
  },
53
53
  "web-types": [
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "89f77a69ae0eba6247f2b3084941f9395d7134e1"
57
+ "gitHead": "1e227aaa55df3f5dae3d477b9afb5fce4f5ece33"
58
58
  }
@@ -27,6 +27,7 @@ registerStyles(
27
27
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
28
28
  --_selection-color: var(--vaadin-selection-color, var(--lumo-primary-color));
29
29
  --_invalid-background: var(--vaadin-input-field-invalid-background, var(--lumo-error-color-10pct));
30
+ --_disabled-checkmark-color: var(--vaadin-checkbox-disabled-checkmark-color, var(--lumo-contrast-30pct));
30
31
  }
31
32
 
32
33
  [part='label'] {
@@ -153,11 +154,11 @@ registerStyles(
153
154
  }
154
155
 
155
156
  :host([disabled]) [part='checkbox'] {
156
- background-color: var(--lumo-contrast-10pct);
157
+ background-color: var(--vaadin-checkbox-disabled-background, var(--lumo-contrast-10pct));
157
158
  }
158
159
 
159
160
  :host([disabled]) [part='checkbox']::after {
160
- color: var(--lumo-contrast-30pct);
161
+ color: var(--_disabled-checkmark-color);
161
162
  }
162
163
 
163
164
  :host([disabled]) [part='label'],
@@ -167,7 +168,7 @@ registerStyles(
167
168
  }
168
169
 
169
170
  :host([indeterminate][disabled]) [part='checkbox']::after {
170
- background-color: var(--lumo-contrast-30pct);
171
+ background-color: var(--_disabled-checkmark-color);
171
172
  }
172
173
 
173
174
  :host([readonly][checked]) [part='checkbox'],
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "24.5.0-alpha7",
4
+ "version": "24.5.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "24.5.0-alpha7",
4
+ "version": "24.5.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {