@@ -43,9 +43,8 @@ import { FormItemMixin } from './vaadin-form-item-mixin.js';
4343 * because the `label-position` attribute is triggered automatically by the parent
4444 * `<vaadin-form-layout>`, depending on its width and responsive behavior.
4545 *
46- * **Deprecation note:** The `label-position` attribute is deprecated since 24.7 and
47- * will be removed in Vaadin 25, when a new approach for setting the label position
48- * will be introduced.
46+ * **Deprecation note:** The `label-position` attribute is deprecated and will be removed
47+ * in Vaadin 26. Use `labelsAside` property on the form-layout instead.
4948 *
5049 * ### Input Width
5150 *
@@ -62,23 +61,23 @@ import { FormItemMixin } from './vaadin-form-item-mixin.js';
6261 *
6362 * ### Styling
6463 *
65- * The `label-position` host attribute can be used to target the label on top state:
64+ * The `label-position` attribute can be used to target the label on top state:
6665 *
6766 * ```css
68- * :host( [label-position="top"]) {
67+ * vaadin-form-item [label-position="top"] {
6968 * padding-top: 0.5rem;
7069 * }
7170 * ```
7271 *
73- * **Deprecation note:** The `label-position` attribute is deprecated since 24.7 and
74- * will be removed in Vaadin 25, when a new approach to styling the form-item
75- * based on the label position will be introduced.
72+ * **Deprecation note:** The `label-position` attribute is deprecated and will be removed
73+ * in Vaadin 26. Use `labelsAside` property on the form-layout instead.
7674 *
7775 * The following shadow DOM parts are available for styling:
7876 *
79- * Part name | Description
80- * ---|---
81- * label | The label slot container
77+ * Part name | Description
78+ * ---------------------|-------------
79+ * `label` | The slotted label element wrapper
80+ * `required-indicator` | The `required` state indicator element
8281 *
8382 * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
8483 */
0 commit comments