@adia-ai/web-modules 0.8.21 → 0.8.23

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.
@@ -80,7 +80,11 @@ admin-sidebar > :is(admin-topbar, admin-statusbar) > :where(span, p, small, time
80
80
  box-shadow ring traces the full corner — two divergent lines at
81
81
  exactly the radius, reading as a doubled border (operator-reported,
82
82
  screenshot). A full 1px border draws one continuous arc the shadow
83
- hugs, the standard bordered-card look. */
83
+ hugs, the standard bordered-card look.
84
+ RESTORED 2026-07-30 (gh#500 follow-up): the gh#500 cut removed this
85
+ as an "outer border" — misread; the ruling targeted component outer
86
+ borders, and the operator flagged the missing page-content container
87
+ border the same day. This island frame stays. */
84
88
  admin-content > admin-scroll {
85
89
  flex: 1;
86
90
  min-height: 0;
@@ -203,7 +207,7 @@ admin-sidebar[slot="trailing"] {
203
207
  bottom: 0;
204
208
  width: 6px;
205
209
  cursor: col-resize;
206
- z-index: 1;
210
+ z-index: 3; /* above the content island's sticky bands (z 1) and sidebar chrome (z 2) — the grabber is a transient affordance and reads on top of shell chrome (gh#513) */
207
211
  user-select: none;
208
212
  }
209
213
 
@@ -38,7 +38,7 @@
38
38
  cursor: col-resize;
39
39
  background: transparent;
40
40
  transition: background var(--page-duration-fast) var(--page-easing);
41
- z-index: 2;
41
+ z-index: 3; /* above the content island's sticky bands (z 1) and sidebar chrome (z 2) — the grabber is a transient affordance and reads on top of shell chrome (gh#513) */
42
42
  }
43
43
 
44
44
  admin-sidebar[slot="leading"] > [data-resize] { right: -3px; }
@@ -49,6 +49,14 @@ admin-page-header > :is(header, header-ui) {
49
49
  padding-inline: var(--page-content-inset);
50
50
  }
51
51
 
52
+ /* gh#536 (operator ruling 2026-07-30) — page-element border anatomy:
53
+ header border-bottom, footer border-top, and content blocks divide
54
+ ONLY between multiples. :not(:last-child) is exactly "only if
55
+ multiple are used" — a single section draws nothing. */
56
+ admin-page-body > :is(section, section-ui):not(:last-child) {
57
+ border-bottom: var(--page-content-border);
58
+ }
59
+
52
60
  /* Full-width escape hatch — stretch the centered column to 100%.
53
61
  [data-content-full] can land on the bespoke wrapper or its inner
54
62
  semantic element. */
@@ -37,6 +37,7 @@
37
37
  * code should prefer <admin-sidebar>.
38
38
  */
39
39
 
40
+ import { defineIfFree } from '../../../web-components/core/register.js';
40
41
  import { UIElement } from '../../../web-components/core/element.js';
41
42
 
42
43
  const SNAP_THRESHOLD = 96;
@@ -264,5 +265,5 @@ class AdminSidebar extends UIElement {
264
265
  }
265
266
  }
266
267
 
267
- customElements.define('admin-sidebar', AdminSidebar);
268
+ defineIfFree('admin-sidebar', AdminSidebar);
268
269
  export { AdminSidebar };
@@ -31,6 +31,7 @@
31
31
  * edge to resize + a `resize-end` event), not a CSS stand-in. The trait is imported
32
32
  * here so it's registered for declarative lookup.
33
33
  */
34
+ import { defineIfFree } from '../../../web-components/core/register.js';
34
35
  import { UIElement } from '../../../web-components/core/element.js';
35
36
  import '../../../web-components/traits/resizable/resizable.js'; // register `resizable` for traits="resizable"
36
37
 
@@ -88,5 +89,5 @@ class EmbedShell extends UIElement {
88
89
  }
89
90
  }
90
91
 
91
- customElements.define('embed-shell', EmbedShell);
92
+ defineIfFree('embed-shell', EmbedShell);
92
93
  export { EmbedShell };
@@ -51,6 +51,7 @@
51
51
  * theme-panel[active-scheme="dark"] button-ui { … }
52
52
  */
53
53
 
54
+ import { defineIfFree } from '../../../web-components/core/register.js';
54
55
  import { UIElement } from '../../../web-components/core/element.js';
55
56
 
56
57
  // The 12 named identities shipped in styles/themes.css (real recolor +
@@ -692,5 +693,5 @@ class ThemePanel extends UIElement {
692
693
  }
693
694
  }
694
695
 
695
- customElements.define('theme-panel', ThemePanel);
696
+ defineIfFree('theme-panel', ThemePanel);
696
697
  export { ThemePanel };