@vaadin/checkbox 24.5.0-alpha7 → 24.5.0-alpha9
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/README.md +1 -1
- package/package.json +11 -11
- package/src/vaadin-checkbox-mixin.js +1 -1
- package/theme/lumo/vaadin-checkbox-styles.js +4 -3
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ import '@vaadin/checkbox/src/vaadin-checkbox.js';
|
|
|
53
53
|
|
|
54
54
|
## Contributing
|
|
55
55
|
|
|
56
|
-
Read the [contributing guide](https://vaadin.com/docs/latest/contributing
|
|
56
|
+
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
|
|
57
57
|
|
|
58
58
|
## License
|
|
59
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-alpha9",
|
|
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-
|
|
41
|
-
"@vaadin/component-base": "24.5.0-
|
|
42
|
-
"@vaadin/field-base": "24.5.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
40
|
+
"@vaadin/a11y-base": "24.5.0-alpha9",
|
|
41
|
+
"@vaadin/component-base": "24.5.0-alpha9",
|
|
42
|
+
"@vaadin/field-base": "24.5.0-alpha9",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha9",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.5.0-alpha9",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha9",
|
|
46
46
|
"lit": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@
|
|
50
|
-
"@vaadin/testing-helpers": "^0.
|
|
51
|
-
"sinon": "^
|
|
49
|
+
"@vaadin/chai-plugins": "24.5.0-alpha9",
|
|
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": "
|
|
57
|
+
"gitHead": "804744762f3bec0a2247c4bbcbbb204dbcd78bc0"
|
|
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(--
|
|
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(--
|
|
171
|
+
background-color: var(--_disabled-checkmark-color);
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
:host([readonly][checked]) [part='checkbox'],
|
package/web-types.json
CHANGED