/**
 * @adia-ai/web-components — main entry.
 *
 *   import '@adia-ai/web-components';
 *   import { UIButton } from '@adia-ai/web-components';
 *
 * Loading this file registers every primitive (side effect of each
 * module's `customElements.define(...)` call). Pair with
 * `@adia-ai/web-components/css` (the all-in-one stylesheet) or link
 * tokens/components/resets individually.
 *
 * If you only want a subset, use the subpath imports:
 *   import '@adia-ai/web-components/components/button';
 *
 * Composite elements (admin-shell, chat-shell, editor-shell, gen-root,
 * a2ui-root) shipped here as `patterns/` until 0.0.28 — they now live
 * in `@adia-ai/web-modules` (see ADR-0012). The nav family was
 * subsequently consolidated back into web-components as primitives
 * (see ADR-0015 § Nav consolidation).
 *
 *   import '@adia-ai/web-modules';            // every cluster
 *   import '@adia-ai/web-modules/shell';      // admin-shell
 *   import '@adia-ai/web-modules/chat';       // chat-shell
 *   import '@adia-ai/web-modules/editor';     // editor-shell
 *   import '@adia-ai/web-modules/runtime';    // gen-root, a2ui-root
 *
 * Icon registry: the main barrel side-effect-imports
 * `core/icons-phosphor.js` so every Phosphor name resolves without
 * pre-registration. Apps with bundle-size SLOs should skip this barrel,
 * import primitives piecemeal, and call `installIconLoaders()` with a
 * scoped glob — see `core/icons.js` JSDoc.
 *
 * Router primitive: the main barrel ALSO side-effect-imports
 * `core/provider.js` so `<router-ui>` registers without an extra
 * import. The router is the canonical content-area driver for the
 * <admin-shell> + <chat-shell> + <editor-shell> family — omitting
 * it makes `<router-ui>` render as HTMLUnknownElement and
 * `router.routes = [...]` silently no-op (no error, no warning,
 * empty content area). Same precedent as icons-phosphor.js. Apps
 * with bundle-size SLOs can skip the barrel and import the router
 * piecemeal via `import '@adia-ai/web-components/core/provider'`
 * (FB-72 substrate fix, 2026-05-25).
 */

import './core/icons-phosphor.js';
import './core/provider.js';
export * from './components/index.js';
