/**
 * `<inline-message-ui>` — In-flow message glyph + text used in form-field rows for validation
feedback, hint copy, and inline confirmations. Distinguished from
<alert-ui> (banner / surface-bearing notice) by carrying no surface
fill, no border, no padding box — severity is foreground color +
icon only. Variants map to severity (info / success / warning /
danger). Nests inside <field-ui>, <col-ui>, <row-ui> without
breaking field rhythm. Non-interactive annotation only.

 *
 * @see https://ui-kit.exe.xyz/site/components/inline-message
 *
 * Type declarations generated by scripts/build/dts-codegen.mjs from
 * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
 * run `npm run build:components`, then `npm run codegen:dts` to
 * regenerate; or hand-author this file fully if rich event types are
 * needed beyond what the yaml `events:` block can express.
 */

import { UIElement } from '../../core/element.js';

export class UIInlineMessage extends UIElement {
  /** Phosphor glyph override; each [variant] ships a sensible default (info / check-circle / warning / x-circle). */
  icon: string;
  /** Sets `aria-live` on the host for dynamic message updates. Empty = no live region (static annotation). */
  live: '' | 'polite' | 'assertive';
  /** Single-line message text. Default-slot content wins when present. */
  text: string;
  /** Semantic severity tone — drives icon + foreground color. Default carries no leading icon (pure hint copy). */
  variant: string;
}
