import { LuxenElement } from '../../shared/luxen-element.js';
/**
* @summary Progressively enhances a label + control + messages group: wires the
* accessibility plumbing (`id`/`for`, `aria-describedby`, `aria-invalid`,
* required marker) and picks an inline or stacked layout from the control type.
*
* Styling stays on the control (`.l-checkbox`, …); inside a field a bare control
* is auto-styled by the element CSS. Add `unstyled` to keep the ARIA wiring while
* opting out of that auto-styling (e.g. for a third-party control).
*
* @example
* ```html
*
*
*
*