@vaadin/vaadin-lumo-styles 24.7.2 → 24.8.0-alpha10
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/required-field.js +2 -12
- package/package.json +5 -5
package/mixins/required-field.js
CHANGED
|
@@ -15,10 +15,10 @@ const requiredField = css`
|
|
|
15
15
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
16
16
|
font-weight: var(--vaadin-input-field-label-font-weight, 500);
|
|
17
17
|
font-size: var(--vaadin-input-field-label-font-size, var(--lumo-font-size-s));
|
|
18
|
-
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
19
18
|
transition: color 0.2s;
|
|
20
19
|
line-height: 1;
|
|
21
|
-
padding-
|
|
20
|
+
padding-inline-start: calc(var(--lumo-border-radius-m) / 4);
|
|
21
|
+
padding-inline-end: 1em;
|
|
22
22
|
padding-bottom: 0.5em;
|
|
23
23
|
/* As a workaround for diacritics being cut off, add a top padding and a
|
|
24
24
|
negative margin to compensate */
|
|
@@ -102,16 +102,6 @@ const requiredField = css`
|
|
|
102
102
|
|
|
103
103
|
/* RTL specific styles */
|
|
104
104
|
|
|
105
|
-
:host([dir='rtl']) [part='label'] {
|
|
106
|
-
margin-left: 0;
|
|
107
|
-
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
:host([dir='rtl']) [part='label'] {
|
|
111
|
-
padding-left: 1em;
|
|
112
|
-
padding-right: 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
105
|
:host([dir='rtl']) [part='required-indicator']::after {
|
|
116
106
|
right: auto;
|
|
117
107
|
left: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-lumo-styles",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@polymer/polymer": "^3.0.0",
|
|
44
|
-
"@vaadin/component-base": "
|
|
45
|
-
"@vaadin/icon": "
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
44
|
+
"@vaadin/component-base": "24.8.0-alpha10",
|
|
45
|
+
"@vaadin/icon": "24.8.0-alpha10",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "24.8.0-alpha10"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"gulp": "^4.0.2",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"gulp-sort": "^2.0.0",
|
|
53
53
|
"gulp-svgmin": "^4.1.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "f8c79ffc67eccc3ade226dfe52fbf7d3d46428cf"
|
|
56
56
|
}
|