@adia-ai/web-modules 0.6.30 → 0.6.31
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 +10 -0
- package/README.md +47 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog — @adia-ai/web-modules
|
|
2
2
|
|
|
3
|
+
## [0.6.31] — 2026-05-23
|
|
4
|
+
|
|
5
|
+
### Fixed — `admin-shell.examples` taming CSS inlined (docs site render fix)
|
|
6
|
+
|
|
7
|
+
- **`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.
|
|
8
|
+
|
|
9
|
+
### Documentation — README CDN example uses canonical hierarchy
|
|
10
|
+
|
|
11
|
+
- **`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.
|
|
12
|
+
|
|
3
13
|
## [0.6.30] — 2026-05-23
|
|
4
14
|
|
|
5
15
|
### 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):**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-modules",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.31",
|
|
4
4
|
"description": "AdiaUI composite custom elements \u2014 shell, chat, editor, runtime clusters built from @adia-ai/web-components primitives. Subpath exports per cluster.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|