@vaadin/checkbox 24.4.0-alpha22 → 24.4.0-alpha23

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.4.0-alpha22",
3
+ "version": "24.4.0-alpha23",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,12 +37,12 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.4.0-alpha22",
41
- "@vaadin/component-base": "24.4.0-alpha22",
42
- "@vaadin/field-base": "24.4.0-alpha22",
43
- "@vaadin/vaadin-lumo-styles": "24.4.0-alpha22",
44
- "@vaadin/vaadin-material-styles": "24.4.0-alpha22",
45
- "@vaadin/vaadin-themable-mixin": "24.4.0-alpha22",
40
+ "@vaadin/a11y-base": "24.4.0-alpha23",
41
+ "@vaadin/component-base": "24.4.0-alpha23",
42
+ "@vaadin/field-base": "24.4.0-alpha23",
43
+ "@vaadin/vaadin-lumo-styles": "24.4.0-alpha23",
44
+ "@vaadin/vaadin-material-styles": "24.4.0-alpha23",
45
+ "@vaadin/vaadin-themable-mixin": "24.4.0-alpha23",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "8e5223bcb61a5561fd984db5d11b31a73ec98eaa"
57
+ "gitHead": "a2d703efa3acbb60e1dfece97c506674e0bec19d"
58
58
  }
@@ -140,7 +140,6 @@ registerStyles(
140
140
  /* Disabled */
141
141
  :host([disabled]) {
142
142
  pointer-events: none;
143
- color: var(--lumo-disabled-text-color);
144
143
  --vaadin-input-field-border-color: var(--lumo-contrast-20pct);
145
144
  }
146
145
 
@@ -156,6 +155,12 @@ registerStyles(
156
155
  color: var(--lumo-contrast-30pct);
157
156
  }
158
157
 
158
+ :host([disabled]) [part='label'],
159
+ :host([disabled]) [part='helper-text'] {
160
+ color: var(--lumo-disabled-text-color);
161
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
162
+ }
163
+
159
164
  :host([indeterminate][disabled]) [part='checkbox']::after {
160
165
  background-color: var(--lumo-contrast-30pct);
161
166
  }
@@ -296,11 +301,6 @@ registerStyles(
296
301
  :host(:hover:not([readonly])) [part='helper-text'] {
297
302
  color: var(--lumo-body-text-color);
298
303
  }
299
-
300
- :host([disabled]) [part='helper-text'] {
301
- color: var(--lumo-disabled-text-color);
302
- -webkit-text-fill-color: var(--lumo-disabled-text-color);
303
- }
304
304
  `,
305
305
  { moduleId: 'lumo-checkbox' },
306
306
  );
@@ -147,9 +147,12 @@ registerStyles(
147
147
  left: 2px;
148
148
  }
149
149
 
150
+ :host([required]:not([disabled])) [part='required-indicator'] {
151
+ color: var(--material-secondary-text-color);
152
+ }
153
+
150
154
  :host([required]) [part='required-indicator']::after {
151
155
  content: '*';
152
- color: var(--material-secondary-text-color);
153
156
  }
154
157
 
155
158
  :host([invalid]) [part='required-indicator']::after {
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.4.0-alpha22",
4
+ "version": "24.4.0-alpha23",
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.4.0-alpha22",
4
+ "version": "24.4.0-alpha23",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {