@adia-ai/web-modules 0.5.8 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,32 @@ Built from `@adia-ai/web-components` primitives.
10
10
 
11
11
  _No pending changes._
12
12
 
13
+ ## [0.5.10] - 2026-05-15
14
+
15
+ _Lockstep ride-along (no source change)._
16
+
17
+
18
+ ## [0.5.9] - 2026-05-15
19
+
20
+ ### Added — §226 (v0.5.9) — `package.json` `exports` map nested-CSS sweep × 6 clusters
21
+
22
+
23
+ `packages/web-modules/package.json` `exports` map gains 12 new entries (2 per cluster × 6 clusters: shell + chat + editor + simple + runtime + theme). Each cluster now accepts three specifier shapes parallel to v0.5.7 §204 fix on `@adia-ai/web-components`:
24
+
25
+ ```json
26
+ "./<cluster>/*.css": "./<cluster>/*/*.css", // existing
27
+ "./<cluster>/*/*.css": "./<cluster>/*/*.css", // NEW (nested-path mirroring JS)
28
+ "./<cluster>/*/css/*.css": "./<cluster>/*/css/*.css" // NEW (sub-stylesheets — editor-shell.{layout,tokens,bespoke}.css etc.)
29
+ ```
30
+
31
+ Editor-shell sub-stylesheets (`editor-shell.layout.css` / `editor-shell.tokens.css` / `editor-shell.bespoke.css`) now have reachable import paths via the natural-shape specifier. Closes FEEDBACK-18 §1.
32
+
33
+ ### Audit ride-along — §227 (v0.5.9) — `check-styles-barrel-completeness.mjs --package=web-modules` parity audit
34
+
35
+ Companion mechanical-protection for the §226 fix. `scripts/release/check-styles-barrel-completeness.mjs` graduates a `--package=web-modules` flag that walks all 6 clusters + verifies every `*.css` file under `<cluster>/<elem>/` (and `<cluster>/<elem>/css/`) matches one of the three export-map patterns. Closes the second half of drift surface #3 in the 7-surface lockdown taxonomy.
36
+
37
+ No web-modules source changes from §227 — the audit lives in `@adia-ai/web-components` but enforces a property on this package.
38
+
13
39
  ## [0.5.8] - 2026-05-15
14
40
 
15
41
  _Lockstep ride-along (no source change)._
@@ -17,7 +17,7 @@ code should prefer <chat-composer>.
17
17
  * @see https://ui-kit.exe.xyz/site/components/chat-composer
18
18
  *
19
19
  * Type declarations generated by scripts/build/dts-codegen.mjs from
20
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
20
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
21
21
  * run `npm run build:components`, then `npm run codegen:dts` to
22
22
  * regenerate; or hand-author this file fully if rich event types are
23
23
  * needed beyond what the yaml `events:` block can express.
@@ -32,7 +32,7 @@ export interface ChatComposerComposerSubmitEventDetail {
32
32
 
33
33
  export type ChatComposerComposerSubmitEvent = CustomEvent<ChatComposerComposerSubmitEventDetail>;
34
34
 
35
- export class UIChatComposer extends UIElement {
35
+ export class ChatComposer extends UIElement {
36
36
  /** Reflected — set by the host while streaming, or by application
37
37
  code. Propagated to the inner input element automatically.
38
38
  */
@@ -40,7 +40,7 @@ code. Propagated to the inner input element automatically.
40
40
 
41
41
  addEventListener<K extends keyof HTMLElementEventMap>(
42
42
  type: K,
43
- listener: (this: UIChatComposer, ev: HTMLElementEventMap[K]) => unknown,
43
+ listener: (this: ChatComposer, ev: HTMLElementEventMap[K]) => unknown,
44
44
  options?: boolean | AddEventListenerOptions,
45
45
  ): void;
46
46
  addEventListener(type: 'composer-submit', listener: (ev: ChatComposerComposerSubmitEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -9,7 +9,7 @@ rendering, code-block upgrades, and an LLM integration path via proxy-url
9
9
  * @see https://ui-kit.exe.xyz/site/components/chat-shell
10
10
  *
11
11
  * Type declarations generated by scripts/build/dts-codegen.mjs from
12
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
12
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
13
13
  * run `npm run build:components`, then `npm run codegen:dts` to
14
14
  * regenerate; or hand-author this file fully if rich event types are
15
15
  * needed beyond what the yaml `events:` block can express.
@@ -56,7 +56,7 @@ export interface ChatShellThinkingEventDetail {
56
56
 
57
57
  export type ChatShellThinkingEvent = CustomEvent<ChatShellThinkingEventDetail>;
58
58
 
59
- export class UIChatShell extends UIElement {
59
+ export class ChatShell extends UIElement {
60
60
  /** Model identifier. */
61
61
  model: string;
62
62
  /** LLM provider name (anthropic | openai | google | stub). */
@@ -72,7 +72,7 @@ export class UIChatShell extends UIElement {
72
72
 
73
73
  addEventListener<K extends keyof HTMLElementEventMap>(
74
74
  type: K,
75
- listener: (this: UIChatShell, ev: HTMLElementEventMap[K]) => unknown,
75
+ listener: (this: ChatShell, ev: HTMLElementEventMap[K]) => unknown,
76
76
  options?: boolean | AddEventListenerOptions,
77
77
  ): void;
78
78
  addEventListener(type: 'abort', listener: (ev: ChatShellAbortEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -15,7 +15,7 @@ inspector rails.
15
15
  * @see https://ui-kit.exe.xyz/site/components/chat-sidebar
16
16
  *
17
17
  * Type declarations generated by scripts/build/dts-codegen.mjs from
18
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
18
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
19
19
  * run `npm run build:components`, then `npm run codegen:dts` to
20
20
  * regenerate; or hand-author this file fully if rich event types are
21
21
  * needed beyond what the yaml `events:` block can express.
@@ -36,7 +36,7 @@ export interface ChatSidebarSidebarToggleEventDetail {
36
36
 
37
37
  export type ChatSidebarSidebarToggleEvent = CustomEvent<ChatSidebarSidebarToggleEventDetail>;
38
38
 
39
- export class UIChatSidebar extends UIElement {
39
+ export class ChatSidebar extends UIElement {
40
40
  /** Reflected — set when the sidebar's measured width is at or below
41
41
  96px. Consumers query this to style "collapsed mode" without
42
42
  duplicating threshold math.
@@ -62,7 +62,7 @@ Useful for suppressing transitions while dragging.
62
62
 
63
63
  addEventListener<K extends keyof HTMLElementEventMap>(
64
64
  type: K,
65
- listener: (this: UIChatSidebar, ev: HTMLElementEventMap[K]) => unknown,
65
+ listener: (this: ChatSidebar, ev: HTMLElementEventMap[K]) => unknown,
66
66
  options?: boolean | AddEventListenerOptions,
67
67
  ): void;
68
68
  addEventListener(type: 'sidebar-resize', listener: (ev: ChatSidebarSidebarResizeEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -17,7 +17,7 @@ should prefer <chat-thread>.
17
17
  * @see https://ui-kit.exe.xyz/site/components/chat-thread
18
18
  *
19
19
  * Type declarations generated by scripts/build/dts-codegen.mjs from
20
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
20
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
21
21
  * run `npm run build:components`, then `npm run codegen:dts` to
22
22
  * regenerate; or hand-author this file fully if rich event types are
23
23
  * needed beyond what the yaml `events:` block can express.
@@ -25,7 +25,7 @@ should prefer <chat-thread>.
25
25
 
26
26
  import { UIElement } from '../../../web-components/core/element.js';
27
27
 
28
- export class UIChatThread extends UIElement {
28
+ export class ChatThread extends UIElement {
29
29
  /** Reflected — set when zero message children. Drives the
30
30
  <chat-empty> visibility via CSS — no JS toggling needed.
31
31
  */
@@ -19,7 +19,7 @@ Backwards compat — <editor-shell> still recognizes the legacy
19
19
  * @see https://ui-kit.exe.xyz/site/components/editor-canvas
20
20
  *
21
21
  * Type declarations generated by scripts/build/dts-codegen.mjs from
22
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
22
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
23
23
  * run `npm run build:components`, then `npm run codegen:dts` to
24
24
  * regenerate; or hand-author this file fully if rich event types are
25
25
  * needed beyond what the yaml `events:` block can express.
@@ -27,7 +27,7 @@ Backwards compat — <editor-shell> still recognizes the legacy
27
27
 
28
28
  import { UIElement } from '../../../web-components/core/element.js';
29
29
 
30
- export class UIEditorCanvas extends UIElement {
30
+ export class EditorCanvas extends UIElement {
31
31
  /** Reflected — set when zero non-<editor-canvas-empty> children.
32
32
  Drives the <editor-canvas-empty> visibility via parent CSS —
33
33
  no JS toggling needed.
@@ -9,7 +9,7 @@ select-ui[data-options] for JSON-parsed option lists.
9
9
  * @see https://ui-kit.exe.xyz/site/components/editor-shell
10
10
  *
11
11
  * Type declarations generated by scripts/build/dts-codegen.mjs from
12
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
12
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
13
13
  * run `npm run build:components`, then `npm run codegen:dts` to
14
14
  * regenerate; or hand-author this file fully if rich event types are
15
15
  * needed beyond what the yaml `events:` block can express.
@@ -17,5 +17,5 @@ select-ui[data-options] for JSON-parsed option lists.
17
17
 
18
18
  import { UIElement } from '../../../web-components/core/element.js';
19
19
 
20
- export class UIEditorShell extends UIElement {
20
+ export class EditorShell extends UIElement {
21
21
  }
@@ -20,7 +20,7 @@ drag at the primitive tier.
20
20
  * @see https://ui-kit.exe.xyz/site/components/editor-sidebar
21
21
  *
22
22
  * Type declarations generated by scripts/build/dts-codegen.mjs from
23
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
23
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
24
24
  * run `npm run build:components`, then `npm run codegen:dts` to
25
25
  * regenerate; or hand-author this file fully if rich event types are
26
26
  * needed beyond what the yaml `events:` block can express.
@@ -35,7 +35,7 @@ export interface EditorSidebarSidebarToggleEventDetail {
35
35
 
36
36
  export type EditorSidebarSidebarToggleEvent = CustomEvent<EditorSidebarSidebarToggleEventDetail>;
37
37
 
38
- export class UIEditorSidebar extends UIElement {
38
+ export class EditorSidebar extends UIElement {
39
39
  /** Reflected — set when inner <pane-ui> width is at or below 96px snap threshold. */
40
40
  collapsed: boolean;
41
41
  /** Alias for [persist]; kept for v0.4.x back-compat. Deprecated —
@@ -56,7 +56,7 @@ that would feel laggy during drag.
56
56
 
57
57
  addEventListener<K extends keyof HTMLElementEventMap>(
58
58
  type: K,
59
- listener: (this: UIEditorSidebar, ev: HTMLElementEventMap[K]) => unknown,
59
+ listener: (this: EditorSidebar, ev: HTMLElementEventMap[K]) => unknown,
60
60
  options?: boolean | AddEventListenerOptions,
61
61
  ): void;
62
62
  addEventListener(type: 'sidebar-toggle', listener: (ev: EditorSidebarSidebarToggleEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -12,7 +12,7 @@ via slot vocabulary. The host (<editor-shell>) reads either
12
12
  * @see https://ui-kit.exe.xyz/site/components/editor-toolbar
13
13
  *
14
14
  * Type declarations generated by scripts/build/dts-codegen.mjs from
15
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
15
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
16
16
  * run `npm run build:components`, then `npm run codegen:dts` to
17
17
  * regenerate; or hand-author this file fully if rich event types are
18
18
  * needed beyond what the yaml `events:` block can express.
@@ -26,13 +26,13 @@ export interface EditorToolbarToolbarActionEventDetail {
26
26
 
27
27
  export type EditorToolbarToolbarActionEvent = CustomEvent<EditorToolbarToolbarActionEventDetail>;
28
28
 
29
- export class UIEditorToolbar extends UIElement {
29
+ export class EditorToolbar extends UIElement {
30
30
  /** Reflected — set when editor is in distraction-free / focus mode. */
31
31
  fullScreen: boolean;
32
32
 
33
33
  addEventListener<K extends keyof HTMLElementEventMap>(
34
34
  type: K,
35
- listener: (this: UIEditorToolbar, ev: HTMLElementEventMap[K]) => unknown,
35
+ listener: (this: EditorToolbar, ev: HTMLElementEventMap[K]) => unknown,
36
36
  options?: boolean | AddEventListenerOptions,
37
37
  ): void;
38
38
  addEventListener(type: 'toolbar-action', listener: (ev: EditorToolbarToolbarActionEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-modules",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "AdiaUI composite custom elements — shell, chat, editor, runtime clusters built from @adia-ai/web-components primitives. Subpath exports per cluster.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -8,9 +8,13 @@
8
8
  "./shell": "./shell/index.js",
9
9
  "./shell/*": "./shell/*/*.js",
10
10
  "./shell/*.css": "./shell/*/*.css",
11
+ "./shell/*/*.css": "./shell/*/*.css",
12
+ "./shell/*/css/*.css": "./shell/*/css/*.css",
11
13
  "./chat": "./chat/index.js",
12
14
  "./chat/*": "./chat/*/*.js",
13
15
  "./chat/*.css": "./chat/*/*.css",
16
+ "./chat/*/*.css": "./chat/*/*.css",
17
+ "./chat/*/css/*.css": "./chat/*/css/*.css",
14
18
  "./editor": {
15
19
  "types": "./editor/index.d.ts",
16
20
  "default": "./editor/index.js"
@@ -21,15 +25,23 @@
21
25
  },
22
26
  "./editor/*": "./editor/*/*.js",
23
27
  "./editor/*.css": "./editor/*/*.css",
28
+ "./editor/*/*.css": "./editor/*/*.css",
29
+ "./editor/*/css/*.css": "./editor/*/css/*.css",
24
30
  "./simple": "./simple/index.js",
25
31
  "./simple/*": "./simple/*/*.js",
26
32
  "./simple/*.css": "./simple/*/*.css",
33
+ "./simple/*/*.css": "./simple/*/*.css",
34
+ "./simple/*/css/*.css": "./simple/*/css/*.css",
27
35
  "./runtime": "./runtime/index.js",
28
36
  "./runtime/*": "./runtime/*/*.js",
29
37
  "./runtime/*.css": "./runtime/*/*.css",
38
+ "./runtime/*/*.css": "./runtime/*/*.css",
39
+ "./runtime/*/css/*.css": "./runtime/*/css/*.css",
30
40
  "./theme": "./theme/index.js",
31
41
  "./theme/*": "./theme/*/*.js",
32
42
  "./theme/*.css": "./theme/*/*.css",
43
+ "./theme/*/*.css": "./theme/*/*.css",
44
+ "./theme/*/css/*.css": "./theme/*/css/*.css",
33
45
  "./package.json": "./package.json"
34
46
  },
35
47
  "files": [
@@ -4,7 +4,7 @@
4
4
  * @see https://ui-kit.exe.xyz/site/components/a2ui-root
5
5
  *
6
6
  * Type declarations generated by scripts/build/dts-codegen.mjs from
7
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
7
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
8
8
  * run `npm run build:components`, then `npm run codegen:dts` to
9
9
  * regenerate; or hand-author this file fully if rich event types are
10
10
  * needed beyond what the yaml `events:` block can express.
@@ -19,7 +19,7 @@ export type A2UIRootA2uiErrorEvent = CustomEvent<unknown>;
19
19
  export type A2UIRootA2uiMessageEvent = CustomEvent<unknown>;
20
20
  export type A2UIRootDocReplacedEvent = CustomEvent<unknown>;
21
21
 
22
- export class UIA2UIRoot extends UIElement {
22
+ export class A2UIRoot extends UIElement {
23
23
  /** True while the stream is connected and receiving messages. */
24
24
  active: boolean;
25
25
  /** Batch renderer updates via requestAnimationFrame for large fan-in. */
@@ -35,7 +35,7 @@ export class UIA2UIRoot extends UIElement {
35
35
 
36
36
  addEventListener<K extends keyof HTMLElementEventMap>(
37
37
  type: K,
38
- listener: (this: UIA2UIRoot, ev: HTMLElementEventMap[K]) => unknown,
38
+ listener: (this: A2UIRoot, ev: HTMLElementEventMap[K]) => unknown,
39
39
  options?: boolean | AddEventListenerOptions,
40
40
  ): void;
41
41
  addEventListener(type: 'a2ui-action', listener: (ev: A2UIRootA2uiActionEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -7,7 +7,7 @@ child chat-ui, canvas-ui, and inspector-ui elements.
7
7
  * @see https://ui-kit.exe.xyz/site/components/gen-root
8
8
  *
9
9
  * Type declarations generated by scripts/build/dts-codegen.mjs from
10
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
10
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
11
11
  * run `npm run build:components`, then `npm run codegen:dts` to
12
12
  * regenerate; or hand-author this file fully if rich event types are
13
13
  * needed beyond what the yaml `events:` block can express.
@@ -15,7 +15,7 @@ child chat-ui, canvas-ui, and inspector-ui elements.
15
15
 
16
16
  import { UIElement } from '../../../web-components/core/element.js';
17
17
 
18
- export class UIGenRoot extends UIElement {
18
+ export class GenRoot extends UIElement {
19
19
  /** Show the inspector pane (for debugging generated A2UI). */
20
20
  inspector: boolean;
21
21
  /** Layout mode — chat-only, 50/50 split, or canvas-only. */
@@ -14,7 +14,7 @@ legacy shape via :is() selector. New code should prefer <admin-command>.
14
14
  * @see https://ui-kit.exe.xyz/site/components/admin-command
15
15
  *
16
16
  * Type declarations generated by scripts/build/dts-codegen.mjs from
17
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
17
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
18
18
  * run `npm run build:components`, then `npm run codegen:dts` to
19
19
  * regenerate; or hand-author this file fully if rich event types are
20
20
  * needed beyond what the yaml `events:` block can express.
@@ -28,7 +28,7 @@ export interface AdminCommandCommandSelectEventDetail {
28
28
 
29
29
  export type AdminCommandCommandSelectEvent = CustomEvent<AdminCommandCommandSelectEventDetail>;
30
30
 
31
- export class UIAdminCommand extends UIElement {
31
+ export class AdminCommand extends UIElement {
32
32
  /** Reflected — set while the dialog is showing. Synced with both
33
33
  programmatic .show()/.hide() and native dialog close events
34
34
  (esc key, backdrop click).
@@ -43,7 +43,7 @@ cross-platform Cmd+K affordance.
43
43
 
44
44
  addEventListener<K extends keyof HTMLElementEventMap>(
45
45
  type: K,
46
- listener: (this: UIAdminCommand, ev: HTMLElementEventMap[K]) => unknown,
46
+ listener: (this: AdminCommand, ev: HTMLElementEventMap[K]) => unknown,
47
47
  options?: boolean | AddEventListenerOptions,
48
48
  ): void;
49
49
  addEventListener(type: 'command-select', listener: (ev: AdminCommandCommandSelectEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -8,7 +8,7 @@ dialog[data-command]); admin-shell binds the interactions.
8
8
  * @see https://ui-kit.exe.xyz/site/components/admin-shell
9
9
  *
10
10
  * Type declarations generated by scripts/build/dts-codegen.mjs from
11
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
11
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
12
12
  * run `npm run build:components`, then `npm run codegen:dts` to
13
13
  * regenerate; or hand-author this file fully if rich event types are
14
14
  * needed beyond what the yaml `events:` block can express.
@@ -16,34 +16,34 @@ dialog[data-command]); admin-shell binds the interactions.
16
16
 
17
17
  import { UIElement } from '../../../web-components/core/element.js';
18
18
 
19
- export interface AppShellCommandSelectEventDetail {
19
+ export interface AdminShellCommandSelectEventDetail {
20
20
  value: string;
21
21
  }
22
22
 
23
- export type AppShellCommandSelectEvent = CustomEvent<AppShellCommandSelectEventDetail>;
24
- export interface AppShellSidebarResizeEventDetail {
23
+ export type AdminShellCommandSelectEvent = CustomEvent<AdminShellCommandSelectEventDetail>;
24
+ export interface AdminShellSidebarResizeEventDetail {
25
25
  sidebar: string;
26
26
  width: string;
27
27
  }
28
28
 
29
- export type AppShellSidebarResizeEvent = CustomEvent<AppShellSidebarResizeEventDetail>;
30
- export interface AppShellSidebarToggleEventDetail {
29
+ export type AdminShellSidebarResizeEvent = CustomEvent<AdminShellSidebarResizeEventDetail>;
30
+ export interface AdminShellSidebarToggleEventDetail {
31
31
  expanded: string;
32
32
  sidebar: string;
33
33
  }
34
34
 
35
- export type AppShellSidebarToggleEvent = CustomEvent<AppShellSidebarToggleEventDetail>;
35
+ export type AdminShellSidebarToggleEvent = CustomEvent<AdminShellSidebarToggleEventDetail>;
36
36
 
37
- export class UIAppShell extends UIElement {
37
+ export class AdminShell extends UIElement {
38
38
  /** Layout variant — default is bordered surface; rounded softens edges; borderless removes the outer chrome. */
39
39
  mode: '' | 'rounded' | 'borderless';
40
40
 
41
41
  addEventListener<K extends keyof HTMLElementEventMap>(
42
42
  type: K,
43
- listener: (this: UIAppShell, ev: HTMLElementEventMap[K]) => unknown,
43
+ listener: (this: AdminShell, ev: HTMLElementEventMap[K]) => unknown,
44
44
  options?: boolean | AddEventListenerOptions,
45
45
  ): void;
46
- addEventListener(type: 'command-select', listener: (ev: AppShellCommandSelectEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
47
- addEventListener(type: 'sidebar-resize', listener: (ev: AppShellSidebarResizeEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
48
- addEventListener(type: 'sidebar-toggle', listener: (ev: AppShellSidebarToggleEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
46
+ addEventListener(type: 'command-select', listener: (ev: AdminShellCommandSelectEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
47
+ addEventListener(type: 'sidebar-resize', listener: (ev: AdminShellSidebarResizeEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
48
+ addEventListener(type: 'sidebar-toggle', listener: (ev: AdminShellSidebarToggleEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
49
49
  }
@@ -13,7 +13,7 @@ shape via :is() selector for backwards compat. New code should prefer
13
13
  * @see https://ui-kit.exe.xyz/site/components/admin-sidebar
14
14
  *
15
15
  * Type declarations generated by scripts/build/dts-codegen.mjs from
16
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
16
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
17
17
  * run `npm run build:components`, then `npm run codegen:dts` to
18
18
  * regenerate; or hand-author this file fully if rich event types are
19
19
  * needed beyond what the yaml `events:` block can express.
@@ -34,7 +34,7 @@ export interface AdminSidebarSidebarToggleEventDetail {
34
34
 
35
35
  export type AdminSidebarSidebarToggleEvent = CustomEvent<AdminSidebarSidebarToggleEventDetail>;
36
36
 
37
- export class UIAdminSidebar extends UIElement {
37
+ export class AdminSidebar extends UIElement {
38
38
  /** Reflected — set when the sidebar's measured width is at or below
39
39
  96px. Consumers query this to style "collapsed mode" without
40
40
  duplicating threshold math.
@@ -60,7 +60,7 @@ Useful for suppressing transitions while dragging.
60
60
 
61
61
  addEventListener<K extends keyof HTMLElementEventMap>(
62
62
  type: K,
63
- listener: (this: UIAdminSidebar, ev: HTMLElementEventMap[K]) => unknown,
63
+ listener: (this: AdminSidebar, ev: HTMLElementEventMap[K]) => unknown,
64
64
  options?: boolean | AddEventListenerOptions,
65
65
  ): void;
66
66
  addEventListener(type: 'sidebar-resize', listener: (ev: AdminSidebarSidebarResizeEvent) => unknown, options?: boolean | AddEventListenerOptions): void;
@@ -15,7 +15,7 @@ thank-you pages, single-card flows (sign-in, password reset).
15
15
  * @see https://ui-kit.exe.xyz/site/components/simple-shell
16
16
  *
17
17
  * Type declarations generated by scripts/build/dts-codegen.mjs from
18
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
18
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
19
19
  * run `npm run build:components`, then `npm run codegen:dts` to
20
20
  * regenerate; or hand-author this file fully if rich event types are
21
21
  * needed beyond what the yaml `events:` block can express.
@@ -23,7 +23,7 @@ thank-you pages, single-card flows (sign-in, password reset).
23
23
 
24
24
  import { UIElement } from '../../../web-components/core/element.js';
25
25
 
26
- export class UISimpleShell extends UIElement {
26
+ export class SimpleShell extends UIElement {
27
27
  /** Reflected — vertically centers content in viewport. */
28
28
  centered: boolean;
29
29
  }
@@ -17,7 +17,7 @@ playgrounds/admin-shell/ — see docs/specs/theme-panel-module.md.
17
17
  * @see https://ui-kit.exe.xyz/site/components/theme-panel
18
18
  *
19
19
  * Type declarations generated by scripts/build/dts-codegen.mjs from
20
- * the component's `.a2ui.json` sidecar. Edit the source `.yaml`,
20
+ * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
21
21
  * run `npm run build:components`, then `npm run codegen:dts` to
22
22
  * regenerate; or hand-author this file fully if rich event types are
23
23
  * needed beyond what the yaml `events:` block can express.
@@ -35,7 +35,7 @@ export interface ThemePanelThemeChangeEventDetail {
35
35
 
36
36
  export type ThemePanelThemeChangeEvent = CustomEvent<ThemePanelThemeChangeEventDetail>;
37
37
 
38
- export class UIThemePanel extends UIElement {
38
+ export class ThemePanel extends UIElement {
39
39
  /** Renders the density + radius slider block. Sliders bind to
40
40
  --a-density and --a-radius-k on the target element.
41
41
  */
@@ -70,7 +70,7 @@ regardless of whether themes.css has a matching block.
70
70
 
71
71
  addEventListener<K extends keyof HTMLElementEventMap>(
72
72
  type: K,
73
- listener: (this: UIThemePanel, ev: HTMLElementEventMap[K]) => unknown,
73
+ listener: (this: ThemePanel, ev: HTMLElementEventMap[K]) => unknown,
74
74
  options?: boolean | AddEventListenerOptions,
75
75
  ): void;
76
76
  addEventListener(type: 'theme-change', listener: (ev: ThemePanelThemeChangeEvent) => unknown, options?: boolean | AddEventListenerOptions): void;