@vaadin/form-layout
Advanced tools
Comparing version
{ | ||
"name": "@vaadin/form-layout", | ||
"version": "23.2.0-dev.8a7678b70", | ||
"version": "23.2.0-rc1", | ||
"publishConfig": { | ||
@@ -26,3 +26,5 @@ "access": "public" | ||
"vaadin-*.d.ts", | ||
"vaadin-*.js" | ||
"vaadin-*.js", | ||
"web-types.json", | ||
"web-types.lit.json" | ||
], | ||
@@ -38,15 +40,19 @@ "keywords": [ | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-material-styles": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-dev.8a7678b70" | ||
"@vaadin/component-base": "23.2.0-rc1", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-rc1", | ||
"@vaadin/vaadin-material-styles": "23.2.0-rc1", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-rc1" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/custom-field": "23.2.0-dev.8a7678b70", | ||
"@vaadin/custom-field": "23.2.0-rc1", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
"@vaadin/text-field": "23.2.0-dev.8a7678b70", | ||
"@vaadin/text-field": "23.2.0-rc1", | ||
"sinon": "^13.0.2" | ||
}, | ||
"gitHead": "85b403f96d8282f262322b56c0ff4289f843d02a" | ||
"web-types": [ | ||
"web-types.json", | ||
"web-types.lit.json" | ||
], | ||
"gitHead": "e78a1f2fe6f42d78cefa3f48085b09a3033c9588" | ||
} |
@@ -7,4 +7,4 @@ /** | ||
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { addValueToAttribute, removeValueFromAttribute } from '@vaadin/component-base/src/dom-utils.js'; | ||
import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js'; | ||
import { addValueToAttribute, removeValueFromAttribute } from '@vaadin/field-base/src/utils.js'; | ||
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
@@ -11,0 +11,0 @@ |
@@ -534,4 +534,8 @@ /** | ||
if (this._labelsOnTop) { | ||
child.setAttribute('label-position', 'top'); | ||
} else { | ||
if (child.getAttribute('label-position') !== 'top') { | ||
child.__useLayoutLabelPosition = true; | ||
child.setAttribute('label-position', 'top'); | ||
} | ||
} else if (child.__useLayoutLabelPosition) { | ||
delete child.__useLayoutLabelPosition; | ||
child.removeAttribute('label-position'); | ||
@@ -538,0 +542,0 @@ } |
67274
26.62%20
11.11%1281
12.47%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed