/**
 * `<embed-ui>` — Responsive sandboxed <iframe> wrapper — renders external content at
a constrained [aspect] ratio with optional [width] / [height] override.
The iframe is created in light DOM with safe sandbox attributes;
authors do NOT slot an <iframe> directly. Use for YouTube / Vimeo /
Figma embeds in articles, marketing pages, or chat responses; not
for arbitrary cross-origin app integrations (use the platform's own
SDK / portal instead).

 *
 * @see https://ui-kit.exe.xyz/site/components/embed
 *
 * 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 UIEmbed extends UIElement {
  /** CSS aspect-ratio (e.g. 16/9) */
  aspect: string;
  /** Iframe height. Plain numbers treated as pixels. */
  height: string;
  /** URL to load in the iframe */
  src: string;
  /** Iframe width. Any CSS width value. */
  width: string;
}
