@vaadin/vaadin-lumo-styles 24.1.0-alpha3 → 24.1.0-alpha5
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/mixins/input-field-shared.js +10 -0
- package/package.json +4 -4
- package/version.js +1 -1
|
@@ -86,9 +86,15 @@ const inputField = css`
|
|
|
86
86
|
opacity: 0;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
/* Read-only style */
|
|
90
|
+
:host([readonly]) {
|
|
91
|
+
--vaadin-input-field-border-color: transparent;
|
|
92
|
+
}
|
|
93
|
+
|
|
89
94
|
/* Disabled style */
|
|
90
95
|
:host([disabled]) {
|
|
91
96
|
pointer-events: none;
|
|
97
|
+
--vaadin-input-field-border-color: var(--lumo-contrast-20pct);
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
:host([disabled]) [part='label'],
|
|
@@ -98,6 +104,10 @@ const inputField = css`
|
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
/* Invalid style */
|
|
107
|
+
:host([invalid]) {
|
|
108
|
+
--vaadin-input-field-border-color: var(--lumo-error-color);
|
|
109
|
+
}
|
|
110
|
+
|
|
101
111
|
:host([invalid][focus-ring]) [part='input-field'] {
|
|
102
112
|
box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
|
|
103
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-lumo-styles",
|
|
3
|
-
"version": "24.1.0-
|
|
3
|
+
"version": "24.1.0-alpha5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@polymer/polymer": "^3.0.0",
|
|
44
|
-
"@vaadin/icon": "24.1.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.1.0-
|
|
44
|
+
"@vaadin/icon": "24.1.0-alpha5",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.1.0-alpha5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"gulp": "^4.0.2",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"gulp-sort": "^2.0.0",
|
|
52
52
|
"gulp-svgmin": "^4.1.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "1ab6c977fe239d94aac5f39940c1a4722ad4bb63"
|
|
55
55
|
}
|