@adia-ai/web-modules 0.6.30 → 0.6.32

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +47 -2
  3. package/chat/chat-composer/chat-composer.a2ui.json +1 -0
  4. package/chat/chat-composer/chat-composer.yaml +1 -0
  5. package/chat/chat-empty/chat-empty.a2ui.json +1 -0
  6. package/chat/chat-empty/chat-empty.yaml +1 -0
  7. package/chat/chat-header/chat-header.a2ui.json +1 -0
  8. package/chat/chat-header/chat-header.yaml +1 -0
  9. package/chat/chat-shell/chat-shell.a2ui.json +1 -0
  10. package/chat/chat-shell/chat-shell.yaml +1 -0
  11. package/chat/chat-sidebar/chat-sidebar.a2ui.json +1 -0
  12. package/chat/chat-sidebar/chat-sidebar.yaml +1 -0
  13. package/chat/chat-status/chat-status.a2ui.json +1 -0
  14. package/chat/chat-status/chat-status.yaml +1 -0
  15. package/chat/chat-thread/chat-thread.a2ui.json +1 -0
  16. package/chat/chat-thread/chat-thread.yaml +1 -0
  17. package/dist/everything.min.js +268 -48
  18. package/dist/shell/admin-shell.min.css +1 -1
  19. package/editor/editor-canvas/editor-canvas.a2ui.json +1 -0
  20. package/editor/editor-canvas/editor-canvas.yaml +1 -0
  21. package/editor/editor-canvas-empty/editor-canvas-empty.a2ui.json +1 -0
  22. package/editor/editor-canvas-empty/editor-canvas-empty.yaml +1 -0
  23. package/editor/editor-canvas-toolbar/editor-canvas-toolbar.a2ui.json +1 -0
  24. package/editor/editor-canvas-toolbar/editor-canvas-toolbar.yaml +1 -0
  25. package/editor/editor-shell/editor-shell.a2ui.json +1 -0
  26. package/editor/editor-shell/editor-shell.yaml +1 -0
  27. package/editor/editor-sidebar/editor-sidebar.a2ui.json +1 -0
  28. package/editor/editor-sidebar/editor-sidebar.yaml +1 -0
  29. package/editor/editor-statusbar/editor-statusbar.a2ui.json +1 -0
  30. package/editor/editor-statusbar/editor-statusbar.yaml +1 -0
  31. package/editor/editor-toolbar/editor-toolbar.a2ui.json +1 -0
  32. package/editor/editor-toolbar/editor-toolbar.yaml +1 -0
  33. package/package.json +1 -1
  34. package/runtime/a2ui-root/a2ui-root.a2ui.json +1 -0
  35. package/runtime/a2ui-root/a2ui-root.yaml +1 -0
  36. package/runtime/gen-root/gen-root.a2ui.json +1 -0
  37. package/runtime/gen-root/gen-root.yaml +1 -0
  38. package/shell/admin-command/admin-command.a2ui.json +1 -0
  39. package/shell/admin-command/admin-command.yaml +1 -0
  40. package/shell/admin-content/admin-content.a2ui.json +1 -0
  41. package/shell/admin-content/admin-content.yaml +1 -0
  42. package/shell/admin-entity-item/admin-entity-item.a2ui.json +1 -0
  43. package/shell/admin-entity-item/admin-entity-item.yaml +1 -0
  44. package/shell/admin-page/admin-page.a2ui.json +1 -0
  45. package/shell/admin-page/admin-page.yaml +1 -0
  46. package/shell/admin-page-body/admin-page-body.a2ui.json +1 -0
  47. package/shell/admin-page-body/admin-page-body.yaml +1 -0
  48. package/shell/admin-page-header/admin-page-header.a2ui.json +1 -0
  49. package/shell/admin-page-header/admin-page-header.yaml +1 -0
  50. package/shell/admin-scroll/admin-scroll.a2ui.json +1 -0
  51. package/shell/admin-scroll/admin-scroll.yaml +1 -0
  52. package/shell/admin-shell/admin-shell.a2ui.json +1 -0
  53. package/shell/admin-shell/admin-shell.yaml +1 -0
  54. package/shell/admin-shell/css/admin-shell.helpers.css +17 -7
  55. package/shell/admin-sidebar/admin-sidebar.a2ui.json +1 -0
  56. package/shell/admin-sidebar/admin-sidebar.yaml +1 -0
  57. package/shell/admin-statusbar/admin-statusbar.a2ui.json +1 -0
  58. package/shell/admin-statusbar/admin-statusbar.yaml +1 -0
  59. package/shell/admin-topbar/admin-topbar.a2ui.json +1 -0
  60. package/shell/admin-topbar/admin-topbar.yaml +1 -0
  61. package/simple/simple-content/simple-content.a2ui.json +1 -0
  62. package/simple/simple-content/simple-content.yaml +1 -0
  63. package/simple/simple-hero/simple-hero.a2ui.json +1 -0
  64. package/simple/simple-hero/simple-hero.yaml +1 -0
  65. package/simple/simple-shell/simple-shell.a2ui.json +1 -0
  66. package/simple/simple-shell/simple-shell.yaml +1 -0
  67. package/theme/theme-panel/theme-panel.a2ui.json +1 -0
  68. package/theme/theme-panel/theme-panel.yaml +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog — @adia-ai/web-modules
2
2
 
3
+ ## [0.6.32] — 2026-05-23
4
+
5
+ ### Fixed (P0) — `[data-col]` / `[data-row]` / `[data-grid]` global CSS collision closed
6
+
7
+ - **`admin-shell.helpers.css`** — five bare attribute selectors (`[data-col]`, `[data-row]`,
8
+ `[data-grid]`, `[data-actions]`, `[data-spacer]`) were global in the published CSS,
9
+ matching ANY element on pages that loaded `admin-shell.min.css`. In Safari/WebKit,
10
+ `display: flex` forced on `<th data-col="…">` table headers broke the table formatting
11
+ context (thead rendered as a left sidebar; tbody rendered to its right). The selectors
12
+ are now prefixed with `admin-shell` so they only apply inside `<admin-shell>` descendants.
13
+ `@scope` was not viable — the admin-shell build pipeline emits 0 `@scope` blocks.
14
+ File: `shell/admin-shell/css/admin-shell.helpers.css`.
15
+
16
+ ### Fixed (P0) — `everything.min.js` CDN bundle now registers all 95+ primitives; `dist/` bundles rebuilt
17
+
18
+ - **`packages/web-modules/everything.js`** — new CDN entry point that imports
19
+ `@adia-ai/web-components` first (registers all primitives via `defineIfFree`) then
20
+ re-exports all shell clusters. Previously `everything.min.js` was built from
21
+ `index.js` (shells-only); primitives like `search-ui`, `select-ui`, `field-ui` were
22
+ never registered, causing a hard `TypeError` crash on any primitive `.value` access.
23
+ `everything.min.js` now 1.04 MB (+316 KB = primitives). Filed as FB-51.
24
+ File: `packages/web-modules/everything.js`.
25
+ - **`dist/everything.min.js`** and **`dist/shell/admin-shell.min.css`** rebuilt to pick up the
26
+ CSS helpers scoping fix and the new primitives entry point. Files: `dist/everything.min.js`,
27
+ `dist/shell/admin-shell.min.css`, `dist/shell/admin-shell.min.js`.
28
+
29
+ ### Documentation — anatomy sections added to `chat/`, `editor/`, `runtime/`, `simple/`, `theme/` example pages
30
+
31
+ - Example pages across all web-modules clusters were updated with canonical `data-property`
32
+ vocabulary sections (slots, keyboard, css-vars, a2ui, related) by `scripts/docs/anatomy-sweep.mjs`.
33
+ Files: `chat/**/*.examples.html`, `editor/**/*.examples.html`, `runtime/**/*.examples.html`,
34
+ `simple/**/*.examples.html`, `theme/**/*.examples.html`.
35
+
36
+ ## [0.6.31] — 2026-05-23
37
+
38
+ ### Fixed — `admin-shell.examples` taming CSS inlined (docs site render fix)
39
+
40
+ - **`shell/admin-shell/admin-shell.examples.html`** — the docs router at `/site/components/admin-shell` loads this `.examples.html` directly (via `template: "doc"` in `site/sitemap.json`); it does NOT load the wrapper `admin-shell.html` with its inline `<style>` block. Net effect: the `.sidebar-gallery`, `.shell-states`, `.ad-switcher`, `.ad-menu`, `.ad-brand-logo` classes were never styled on the docs site, so the demo `<admin-shell>` instances rendered with their default `position:fixed` full-viewport layout — overlapping the docs page chrome. Fix: inline the taming CSS (~110 lines from `admin-shell.html` lines 42-151) into `admin-shell.examples.html` at the top. Matches the precedent set by `editor-shell.examples.html` + `responsive-shell-sidebar.examples.html` which both inline demo-specific CSS. Not tarball-affecting (`!shell/**/*.examples.html` exclusion in `files:`) — docs-surface only, but `ui-kit.exe.xyz/site/components/admin-shell` reflects the fix.
41
+
42
+ ### Documentation — README CDN example uses canonical hierarchy
43
+
44
+ - **`README.md`** — the CDN "Kitchen-sink one-tag setup" example replaced the broken stub `<admin-sidebar><!-- nav --></admin-sidebar>` with the full canonical hierarchy: `<admin-sidebar slot="leading" resizable collapsible>` containing `<admin-topbar slot="header"><span slot="heading">My App</span></admin-topbar>` + `<section-ui><nav-ui><nav-item-ui icon="…" text="…"/></nav-ui></section-ui>` + `<div data-resize></div>`; `<admin-content>` containing `<admin-topbar>` (breadcrumb) + `<admin-scroll><admin-page><admin-page-header><header><div><h1>+<div data-actions></div></div><p></header></admin-page-header><admin-page-body><button-ui/></admin-page-body></admin-page></admin-scroll></admin-content>`. Trailing HTML comment block teaches the canonical rules inline: `<nav-ui>+<nav-item-ui>` for sidebar nav (NOT `<menu-ui>`), `<admin-topbar slot="header">` inside `<admin-sidebar>`, `<admin-statusbar slot="footer">` inside `<admin-sidebar>`, `<admin-scroll>` wraps `<admin-page>` inside `<admin-content>`, `<admin-page-header>` wraps an inner `<header>` with `<div><h1>+<div data-actions></div></div><p>` (add `data-flush` on `<header>` to drop bottom border). README ships in npm tarball — consumers reading via npmjs.com see the canonical pattern.
45
+
3
46
  ## [0.6.30] — 2026-05-23
4
47
 
5
48
  ### Added — JS bundles + `./everything` kitchen-sink export (CDN / CodePen)
package/README.md CHANGED
@@ -26,11 +26,56 @@ Since **v0.6.30**, both this package and `@adia-ai/web-components` ship pre-flat
26
26
  <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6.30/dist/everything.min.js"></script>
27
27
 
28
28
  <admin-shell mode="rounded borderless">
29
- <admin-sidebar><!-- nav --></admin-sidebar>
29
+ <admin-sidebar slot="leading" resizable collapsible>
30
+ <admin-topbar slot="header">
31
+ <span slot="heading">My App</span>
32
+ </admin-topbar>
33
+ <section-ui>
34
+ <nav-ui>
35
+ <nav-item-ui icon="house" text="Home" selected></nav-item-ui>
36
+ <nav-item-ui icon="gear" text="Settings"></nav-item-ui>
37
+ </nav-ui>
38
+ </section-ui>
39
+ <div data-resize></div>
40
+ </admin-sidebar>
30
41
  <admin-content>
31
- <button-ui variant="primary" text="Click me"></button-ui>
42
+ <admin-topbar>
43
+ <breadcrumb-ui><span>Dashboard</span></breadcrumb-ui>
44
+ </admin-topbar>
45
+ <admin-scroll>
46
+ <admin-page>
47
+ <admin-page-header>
48
+ <header>
49
+ <div>
50
+ <h1>Dashboard</h1>
51
+ <div data-actions>
52
+ <button-ui text="Share" variant="outline" size="sm"></button-ui>
53
+ </div>
54
+ </div>
55
+ <p>Welcome back.</p>
56
+ </header>
57
+ </admin-page-header>
58
+ <admin-page-body>
59
+ <button-ui variant="primary" text="Click me"></button-ui>
60
+ </admin-page-body>
61
+ </admin-page>
62
+ </admin-scroll>
32
63
  </admin-content>
33
64
  </admin-shell>
65
+
66
+ <!--
67
+ Canonical admin-shell hierarchy (matches ui-kit.exe.xyz/site/index.html):
68
+ - <nav-ui> + <nav-item-ui> is THE primitive pair for sidebar navigation.
69
+ - <menu-ui> / <menu-item-ui> are for popover action menus (dropdowns), NOT for nav.
70
+ - <admin-topbar slot="header"> goes inside <admin-sidebar> (workspace switcher / brand).
71
+ - <admin-statusbar slot="footer"> goes inside <admin-sidebar> (user switcher / sign-in).
72
+ - <admin-scroll> wraps <admin-page> inside <admin-content>.
73
+ - <admin-page-header> wraps an inner <header> with <div><h1>+<div data-actions></div></div><p>.
74
+ The <div data-actions> slot is right-aligned for page-level action buttons.
75
+ Use <header data-flush> to drop the bottom border.
76
+ Reference: https://ui-kit.exe.xyz/site/examples/admin-dashboard +
77
+ https://github.com/adiahealth/gen-ui-kit/blob/main/site/templates/settings.html
78
+ -->
34
79
  ```
35
80
 
36
81
  **Per-shell setup (advanced — only one shell tier loaded):**
@@ -80,6 +80,7 @@
80
80
  "name": "disabled"
81
81
  }
82
82
  ],
83
+ "status": "stable",
83
84
  "synonyms": {
84
85
  "composer": [
85
86
  "message-input",
@@ -2,6 +2,7 @@
2
2
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
3
3
  name: ChatComposer
4
4
  tag: chat-composer
5
+ status: stable
5
6
  component: ChatComposer
6
7
  category: input
7
8
  version: 1
@@ -54,6 +54,7 @@
54
54
  "name": "hidden"
55
55
  }
56
56
  ],
57
+ "status": "stable",
57
58
  "synonyms": {
58
59
  "chat-empty": [
59
60
  "empty-state",
@@ -2,6 +2,7 @@
2
2
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
3
3
  name: ChatEmpty
4
4
  tag: chat-empty
5
+ status: stable
5
6
  component: ChatEmpty
6
7
  category: feedback
7
8
  version: 1
@@ -63,6 +63,7 @@
63
63
  "name": "idle"
64
64
  }
65
65
  ],
66
+ "status": "stable",
66
67
  "synonyms": {
67
68
  "chat-header": [
68
69
  "titlebar",
@@ -2,6 +2,7 @@
2
2
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
3
3
  name: ChatHeader
4
4
  tag: chat-header
5
+ status: stable
5
6
  component: ChatHeader
6
7
  category: layout
7
8
  version: 1
@@ -144,6 +144,7 @@
144
144
  "name": "streaming"
145
145
  }
146
146
  ],
147
+ "status": "stable",
147
148
  "synonyms": {
148
149
  "chat": [
149
150
  "conversation",
@@ -1,6 +1,7 @@
1
1
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
2
2
  name: ChatShell
3
3
  tag: chat-shell
4
+ status: stable
4
5
  component: ChatShell
5
6
  category: container
6
7
  version: 1
@@ -117,6 +117,7 @@
117
117
  "name": "resizing"
118
118
  }
119
119
  ],
120
+ "status": "stable",
120
121
  "synonyms": {
121
122
  "collapsed": [
122
123
  "minimized",
@@ -2,6 +2,7 @@
2
2
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
3
3
  name: ChatSidebar
4
4
  tag: chat-sidebar
5
+ status: stable
5
6
  component: ChatSidebar
6
7
  category: layout
7
8
  version: 1
@@ -50,6 +50,7 @@
50
50
  "name": "idle"
51
51
  }
52
52
  ],
53
+ "status": "stable",
53
54
  "synonyms": {
54
55
  "chat-status": [
55
56
  "connection-indicator",
@@ -2,6 +2,7 @@
2
2
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
3
3
  name: ChatStatus
4
4
  tag: chat-status
5
+ status: stable
5
6
  component: ChatStatus
6
7
  category: feedback
7
8
  version: 1
@@ -72,6 +72,7 @@
72
72
  "name": "empty"
73
73
  }
74
74
  ],
75
+ "status": "stable",
75
76
  "synonyms": {
76
77
  "message-list": [
77
78
  "messages",
@@ -1,6 +1,7 @@
1
1
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
2
2
  name: ChatThread
3
3
  tag: chat-thread
4
+ status: stable
4
5
  component: ChatThread
5
6
  category: container
6
7
  version: 1