@adia-ai/web-modules 0.6.41 → 0.6.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-modules",
3
- "version": "0.6.41",
3
+ "version": "0.6.43",
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": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://adiaui.dev/a2ui/v0_9/components/AdminPageHeader.json",
4
4
  "title": "AdminPageHeader",
5
- "description": "Module-tier page-header band. CSS-only — no behavior, no JS.\nSticky top band inside <admin-page>. Owns full-width concerns\n(sticky position, border-bottom, background); wraps an inner\n<header-ui> or raw <header> for the centered reading column\n(max-width, gutter, rhythm).\n",
5
+ "description": "Module-tier page-header band. CSS-only — no behavior, no JS.\nSticky top band inside <admin-page>. Owns full-width concerns\n(sticky position, border-bottom, background); wraps an inner\n<header-ui> for the centered reading column (max-width, gutter,\nrhythm). Do NOT use a raw <header> element — slot-named regions\n(action, description, icon, heading) are silently ignored without\n<header-ui>'s shadow-DOM slot routing.\n",
6
6
  "type": "object",
7
7
  "allOf": [
8
8
  {
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "slots": {
42
42
  "default": {
43
- "description": "Default — typically <header-ui> or <header> with title + actions."
43
+ "description": "Default — <header-ui> with title + actions (slot=\"action\"). Raw <header> works for the CSS rhythm but drops named slots."
44
44
  }
45
45
  },
46
46
  "states": [
@@ -10,8 +10,10 @@ description: |
10
10
  Module-tier page-header band. CSS-only — no behavior, no JS.
11
11
  Sticky top band inside <admin-page>. Owns full-width concerns
12
12
  (sticky position, border-bottom, background); wraps an inner
13
- <header-ui> or raw <header> for the centered reading column
14
- (max-width, gutter, rhythm).
13
+ <header-ui> for the centered reading column (max-width, gutter,
14
+ rhythm). Do NOT use a raw <header> element — slot-named regions
15
+ (action, description, icon, heading) are silently ignored without
16
+ <header-ui>'s shadow-DOM slot routing.
15
17
 
16
18
  props: {}
17
19
 
@@ -20,7 +22,8 @@ events: {}
20
22
  slots:
21
23
  default:
22
24
  description: >-
23
- Default — typically <header-ui> or <header> with title + actions.
25
+ Default — <header-ui> with title + actions (slot="action").
26
+ Raw <header> works for the CSS rhythm but drops named slots.
24
27
 
25
28
  states:
26
29
  - name: idle
@@ -37,6 +40,8 @@ a2ui:
37
40
  reason: 'Sticky chrome vs content layout separation.'
38
41
  - rule: 'Always inside <admin-page slot="header">; for shell-tier chrome use <admin-topbar> instead.'
39
42
  reason: 'Page-tier vs shell-tier distinction.'
43
+ - rule: 'Always wrap an inner <header-ui> — not a raw <header>. Raw <header> has no shadow DOM; slot="action" and other named slots on its children are silently dropped.'
44
+ reason: 'header-ui provides the shadow-DOM slot routing that makes slot="action" / slot="heading" / slot="description" work; raw <header> matches the CSS positioning but cannot route named slots.'
40
45
 
41
46
  keywords:
42
47
  - admin-page-header