@vaadin/form-layout 23.2.0-alpha4 → 23.2.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/package.json +8 -8
- package/src/vaadin-form-layout.js +6 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/form-layout",
|
|
3
|
-
"version": "23.2.0-
|
|
3
|
+
"version": "23.2.0-alpha5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "23.2.0-
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "23.2.0-
|
|
41
|
-
"@vaadin/vaadin-material-styles": "23.2.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "23.2.0-
|
|
39
|
+
"@vaadin/component-base": "23.2.0-alpha5",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha5",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "23.2.0-alpha5",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
|
-
"@vaadin/custom-field": "23.2.0-
|
|
46
|
+
"@vaadin/custom-field": "23.2.0-alpha5",
|
|
47
47
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
48
|
-
"@vaadin/text-field": "23.2.0-
|
|
48
|
+
"@vaadin/text-field": "23.2.0-alpha5",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
51
|
"web-types": [
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c6247fd741d61096d75a71feda4a1faf88b6f0ce"
|
|
56
56
|
}
|
|
@@ -531,8 +531,12 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
|
|
|
531
531
|
|
|
532
532
|
if (child.localName === 'vaadin-form-item') {
|
|
533
533
|
if (this._labelsOnTop) {
|
|
534
|
-
child.
|
|
535
|
-
|
|
534
|
+
if (child.getAttribute('label-position') !== 'top') {
|
|
535
|
+
child.__useLayoutLabelPosition = true;
|
|
536
|
+
child.setAttribute('label-position', 'top');
|
|
537
|
+
}
|
|
538
|
+
} else if (child.__useLayoutLabelPosition) {
|
|
539
|
+
delete child.__useLayoutLabelPosition;
|
|
536
540
|
child.removeAttribute('label-position');
|
|
537
541
|
}
|
|
538
542
|
}
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED