@vaadin/field-base 25.3.0-alpha4 → 25.3.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/field-base",
3
- "version": "25.3.0-alpha4",
3
+ "version": "25.3.0-alpha6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,17 +32,17 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@open-wc/dedupe-mixin": "^1.3.0",
35
- "@vaadin/a11y-base": "25.3.0-alpha4",
36
- "@vaadin/component-base": "25.3.0-alpha4",
35
+ "@vaadin/a11y-base": "25.3.0-alpha6",
36
+ "@vaadin/component-base": "25.3.0-alpha6",
37
37
  "lit": "^3.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@vaadin/chai-plugins": "25.3.0-alpha4",
41
- "@vaadin/input-container": "25.3.0-alpha4",
42
- "@vaadin/test-runner-commands": "25.3.0-alpha4",
40
+ "@vaadin/chai-plugins": "25.3.0-alpha6",
41
+ "@vaadin/input-container": "25.3.0-alpha6",
42
+ "@vaadin/test-runner-commands": "25.3.0-alpha6",
43
43
  "@vaadin/testing-helpers": "^2.0.0",
44
44
  "sinon": "^22.0.0"
45
45
  },
46
46
  "customElements": "custom-elements.json",
47
- "gitHead": "ff0efcd52d3b8a081e8101d36cf7bef65ed71cb1"
47
+ "gitHead": "92c124fb9cff367bc07e734d8e65707facd0bd43"
48
48
  }
@@ -37,7 +37,6 @@ export const checkable = (part, propName = part) => css`
37
37
  color: var(--vaadin-${unsafeCSS(propName)}-label-color, var(--vaadin-input-field-label-color, var(--vaadin-text-color)));
38
38
  word-break: break-word;
39
39
  cursor: var(--_cursor);
40
- /* TODO clicking the label part doesn't toggle the checked state, even though it triggers the active state */
41
40
  }
42
41
 
43
42
  [part='${unsafeCSS(part)}'],
@@ -91,8 +90,8 @@ export const checkable = (part, propName = part) => css`
91
90
  box-sizing: border-box;
92
91
  --_color: var(--vaadin-${unsafeCSS(propName)}-marker-color, var(--vaadin-${unsafeCSS(propName)}-background, var(--vaadin-background-color)));
93
92
  color: var(--_color);
94
- height: var(--vaadin-${unsafeCSS(propName)}-size, 1lh);
95
- width: var(--vaadin-${unsafeCSS(propName)}-size, 1lh);
93
+ height: var(--vaadin-${unsafeCSS(propName)}-size, round(1.125em, 2px));
94
+ width: var(--vaadin-${unsafeCSS(propName)}-size, round(1.125em, 2px));
96
95
  position: relative;
97
96
  cursor: var(--_cursor);
98
97
  display: flex;