@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.
- package/CHANGELOG.md +43 -0
- package/README.md +47 -2
- package/chat/chat-composer/chat-composer.a2ui.json +1 -0
- package/chat/chat-composer/chat-composer.yaml +1 -0
- package/chat/chat-empty/chat-empty.a2ui.json +1 -0
- package/chat/chat-empty/chat-empty.yaml +1 -0
- package/chat/chat-header/chat-header.a2ui.json +1 -0
- package/chat/chat-header/chat-header.yaml +1 -0
- package/chat/chat-shell/chat-shell.a2ui.json +1 -0
- package/chat/chat-shell/chat-shell.yaml +1 -0
- package/chat/chat-sidebar/chat-sidebar.a2ui.json +1 -0
- package/chat/chat-sidebar/chat-sidebar.yaml +1 -0
- package/chat/chat-status/chat-status.a2ui.json +1 -0
- package/chat/chat-status/chat-status.yaml +1 -0
- package/chat/chat-thread/chat-thread.a2ui.json +1 -0
- package/chat/chat-thread/chat-thread.yaml +1 -0
- package/dist/everything.min.js +268 -48
- package/dist/shell/admin-shell.min.css +1 -1
- package/editor/editor-canvas/editor-canvas.a2ui.json +1 -0
- package/editor/editor-canvas/editor-canvas.yaml +1 -0
- package/editor/editor-canvas-empty/editor-canvas-empty.a2ui.json +1 -0
- package/editor/editor-canvas-empty/editor-canvas-empty.yaml +1 -0
- package/editor/editor-canvas-toolbar/editor-canvas-toolbar.a2ui.json +1 -0
- package/editor/editor-canvas-toolbar/editor-canvas-toolbar.yaml +1 -0
- package/editor/editor-shell/editor-shell.a2ui.json +1 -0
- package/editor/editor-shell/editor-shell.yaml +1 -0
- package/editor/editor-sidebar/editor-sidebar.a2ui.json +1 -0
- package/editor/editor-sidebar/editor-sidebar.yaml +1 -0
- package/editor/editor-statusbar/editor-statusbar.a2ui.json +1 -0
- package/editor/editor-statusbar/editor-statusbar.yaml +1 -0
- package/editor/editor-toolbar/editor-toolbar.a2ui.json +1 -0
- package/editor/editor-toolbar/editor-toolbar.yaml +1 -0
- package/package.json +1 -1
- package/runtime/a2ui-root/a2ui-root.a2ui.json +1 -0
- package/runtime/a2ui-root/a2ui-root.yaml +1 -0
- package/runtime/gen-root/gen-root.a2ui.json +1 -0
- package/runtime/gen-root/gen-root.yaml +1 -0
- package/shell/admin-command/admin-command.a2ui.json +1 -0
- package/shell/admin-command/admin-command.yaml +1 -0
- package/shell/admin-content/admin-content.a2ui.json +1 -0
- package/shell/admin-content/admin-content.yaml +1 -0
- package/shell/admin-entity-item/admin-entity-item.a2ui.json +1 -0
- package/shell/admin-entity-item/admin-entity-item.yaml +1 -0
- package/shell/admin-page/admin-page.a2ui.json +1 -0
- package/shell/admin-page/admin-page.yaml +1 -0
- package/shell/admin-page-body/admin-page-body.a2ui.json +1 -0
- package/shell/admin-page-body/admin-page-body.yaml +1 -0
- package/shell/admin-page-header/admin-page-header.a2ui.json +1 -0
- package/shell/admin-page-header/admin-page-header.yaml +1 -0
- package/shell/admin-scroll/admin-scroll.a2ui.json +1 -0
- package/shell/admin-scroll/admin-scroll.yaml +1 -0
- package/shell/admin-shell/admin-shell.a2ui.json +1 -0
- package/shell/admin-shell/admin-shell.yaml +1 -0
- package/shell/admin-shell/css/admin-shell.helpers.css +17 -7
- package/shell/admin-sidebar/admin-sidebar.a2ui.json +1 -0
- package/shell/admin-sidebar/admin-sidebar.yaml +1 -0
- package/shell/admin-statusbar/admin-statusbar.a2ui.json +1 -0
- package/shell/admin-statusbar/admin-statusbar.yaml +1 -0
- package/shell/admin-topbar/admin-topbar.a2ui.json +1 -0
- package/shell/admin-topbar/admin-topbar.yaml +1 -0
- package/simple/simple-content/simple-content.a2ui.json +1 -0
- package/simple/simple-content/simple-content.yaml +1 -0
- package/simple/simple-hero/simple-hero.a2ui.json +1 -0
- package/simple/simple-hero/simple-hero.yaml +1 -0
- package/simple/simple-shell/simple-shell.a2ui.json +1 -0
- package/simple/simple-shell/simple-shell.yaml +1 -0
- package/theme/theme-panel/theme-panel.a2ui.json +1 -0
- 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
|
|
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
|
-
<
|
|
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):**
|