@vaadin/field-base 25.0.0-beta3 → 25.0.0-beta4
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.0.0-
|
|
3
|
+
"version": "25.0.0-beta4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
34
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
35
|
-
"@vaadin/component-base": "25.0.0-
|
|
34
|
+
"@vaadin/a11y-base": "25.0.0-beta4",
|
|
35
|
+
"@vaadin/component-base": "25.0.0-beta4",
|
|
36
36
|
"lit": "^3.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
40
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
39
|
+
"@vaadin/chai-plugins": "25.0.0-beta4",
|
|
40
|
+
"@vaadin/test-runner-commands": "25.0.0-beta4",
|
|
41
41
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
42
42
|
"sinon": "^21.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "707c30af7ed0afacc13c0afb27d047b043160d1f"
|
|
45
45
|
}
|
|
@@ -20,10 +20,11 @@ export const checkable = (part, propName = part) => css`
|
|
|
20
20
|
*/
|
|
21
21
|
grid-template-rows: minmax(auto, max-content);
|
|
22
22
|
-webkit-tap-highlight-color: transparent;
|
|
23
|
+
--_cursor: var(--vaadin-clickable-cursor);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
:host([disabled]) {
|
|
26
|
-
|
|
27
|
+
--_cursor: var(--vaadin-disabled-cursor);
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
:host(:not([has-label])) {
|
|
@@ -48,6 +49,8 @@ export const checkable = (part, propName = part) => css`
|
|
|
48
49
|
font-weight: var(--vaadin-${unsafeCSS(propName)}-font-weight, var(--vaadin-input-field-label-font-weight, 500));
|
|
49
50
|
color: var(--vaadin-${unsafeCSS(propName)}-label-color, var(--vaadin-input-field-label-color, var(--vaadin-text-color)));
|
|
50
51
|
word-break: break-word;
|
|
52
|
+
cursor: var(--_cursor);
|
|
53
|
+
/* TODO clicking the label part doesn't toggle the checked state, even though it triggers the active state */
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
[part='${unsafeCSS(part)}'],
|
|
@@ -76,6 +79,7 @@ export const checkable = (part, propName = part) => css`
|
|
|
76
79
|
appearance: none;
|
|
77
80
|
width: 100%;
|
|
78
81
|
height: 100%;
|
|
82
|
+
cursor: var(--_cursor);
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
/* Control container (checkbox, radio button) */
|
|
@@ -91,6 +95,7 @@ export const checkable = (part, propName = part) => css`
|
|
|
91
95
|
height: var(--vaadin-${unsafeCSS(propName)}-size, 1lh);
|
|
92
96
|
width: var(--vaadin-${unsafeCSS(propName)}-size, 1lh);
|
|
93
97
|
position: relative;
|
|
98
|
+
cursor: var(--_cursor);
|
|
94
99
|
}
|
|
95
100
|
|
|
96
101
|
:host(:is([checked], [indeterminate])) {
|