import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';export interface LyraReorderItemEventMap{'lr-move-request':CustomEvent<{direction:'up'|'down';}>;} /** * `` — one row inside ``. Renders arbitrary slotted content plus * move-up/move-down buttons. This item alone doesn't know whether it's first or last in the list, * so its readonly boundary-disabled state (`atStart`/`atEnd`), list-level cascade * (`listDisabled`), and held-move state (`pending`) are resolved by the owning * ``. `focusMoveButton()` moves focus onto one of the two controls * programmatically -- the owning list uses it for its own post-move focus restore, and a host * running `` in its `controlled` mode can use it the same way once its own * re-render settles, including onto a freshly recreated element instance. * * @customElement lr-reorder-item * @slot - Arbitrary row content (a label, a mini-form, anything). * @event lr-move-request - `detail: { direction: 'up' | 'down' }` — a move button was activated * while not disabled. Bubbles (composed) to the owning ``, which performs the * actual move and boundary-state recomputation. * @csspart base - The row's root wrapper. * @csspart move-up-button - The move-up control, a composed `` as of 16.0.0. It * still owns the accessible name, the activation and the rotation; its background, radius, * hover/press mixes, focus ring and hit-area floor now come from `--lr-icon-button-*`. * @csspart move-up-button__control - The move-up control's own native `