@vaadin/field-base 25.3.0-beta2 → 25.3.0-beta3
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-
|
|
3
|
+
"version": "25.3.0-beta3",
|
|
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-
|
|
36
|
-
"@vaadin/component-base": "25.3.0-
|
|
35
|
+
"@vaadin/a11y-base": "25.3.0-beta3",
|
|
36
|
+
"@vaadin/component-base": "25.3.0-beta3",
|
|
37
37
|
"lit": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
41
|
-
"@vaadin/input-container": "25.3.0-
|
|
42
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
40
|
+
"@vaadin/chai-plugins": "25.3.0-beta3",
|
|
41
|
+
"@vaadin/input-container": "25.3.0-beta3",
|
|
42
|
+
"@vaadin/test-runner-commands": "25.3.0-beta3",
|
|
43
43
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
44
44
|
"sinon": "^22.0.0"
|
|
45
45
|
},
|
|
46
46
|
"customElements": "custom-elements.json",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "1ea43188e1297f6898cbf9d3610b85a7a2cca6f0"
|
|
48
48
|
}
|
|
@@ -10,8 +10,6 @@ export const field = css`
|
|
|
10
10
|
:host {
|
|
11
11
|
--_helper-below-field: initial;
|
|
12
12
|
--_helper-above-field: ;
|
|
13
|
-
--_no-label: initial;
|
|
14
|
-
--_has-label: ;
|
|
15
13
|
--_no-helper: initial;
|
|
16
14
|
--_has-helper: ;
|
|
17
15
|
--_no-error: initial;
|
|
@@ -31,11 +29,6 @@ export const field = css`
|
|
|
31
29
|
-webkit-tap-highlight-color: transparent;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
:host([has-label]) {
|
|
35
|
-
--_has-label: initial;
|
|
36
|
-
--_no-label: ;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
32
|
:host([has-helper]) {
|
|
40
33
|
--_has-helper: initial;
|
|
41
34
|
--_no-helper: ;
|
|
@@ -60,8 +53,8 @@ export const field = css`
|
|
|
60
53
|
:host::before {
|
|
61
54
|
content: '\\2003' / '';
|
|
62
55
|
grid-column: 1;
|
|
63
|
-
grid-row:
|
|
64
|
-
align-self:
|
|
56
|
+
grid-row: 1 / baseline;
|
|
57
|
+
align-self: end;
|
|
65
58
|
font-size: var(--vaadin-input-field-value-font-size, inherit);
|
|
66
59
|
line-height: var(--vaadin-input-field-value-line-height, inherit);
|
|
67
60
|
padding: var(
|
|
@@ -70,17 +63,13 @@ export const field = css`
|
|
|
70
63
|
);
|
|
71
64
|
border: var(--vaadin-input-field-border-width, 1px) solid transparent;
|
|
72
65
|
pointer-events: none;
|
|
73
|
-
margin-bottom:
|
|
66
|
+
margin-bottom: calc(
|
|
74
67
|
var(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
) *
|
|
81
|
-
-1
|
|
82
|
-
)
|
|
83
|
-
);
|
|
68
|
+
--vaadin-field-baseline-input-height,
|
|
69
|
+
(1lh + var(--vaadin-padding-block-container) * 2 + var(--vaadin-input-field-border-width, 1px) * 2)
|
|
70
|
+
) *
|
|
71
|
+
-1
|
|
72
|
+
);
|
|
84
73
|
}
|
|
85
74
|
|
|
86
75
|
[class$='container'] {
|
|
@@ -23,11 +23,7 @@ export const group = css`
|
|
|
23
23
|
:host([theme~='horizontal']) [part='group-field'] {
|
|
24
24
|
flex-flow: row wrap;
|
|
25
25
|
align-items: center;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
:host([has-label][theme~='horizontal']) [part='group-field'] {
|
|
29
|
-
padding: var(--vaadin-padding-block-container) var(--vaadin-padding-inline-container);
|
|
30
|
-
padding-inline: 0;
|
|
26
|
+
padding-block: var(--vaadin-padding-block-container);
|
|
31
27
|
border-block: var(--vaadin-input-field-border-width, 1px) solid transparent;
|
|
32
28
|
}
|
|
33
29
|
`;
|