/**
 * `<preview-ui>` — auto-registers the tag on import.
 *
 * For non-side-effect class import (test isolation, tag override), use
 * the `class` subpath:
 *
 *   import { UIPreview } from '@adia-ai/web-components/components/preview/class';
 *
 * @see ../../USAGE.md#registration--auto-vs-explicit
 */

import { defineIfFree } from '../../core/register.js';
import { UIPreview } from './preview.class.js';

// preview-ui composes <code-ui> for the source pane — pull it in so a bare
// `import '.../preview'` is batteries-included (the code pane works without
// the consumer separately importing code-ui).
import '../code/code.js';

defineIfFree('preview-ui', UIPreview);

export { UIPreview };
