@adia-ai/adia-ui-factory 0.8.41 → 0.8.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adia-ui-kit-factory",
3
- "version": "0.8.41",
3
+ "version": "0.8.43",
4
4
  "description": "Author and verify apps built ON the adia-ui (@adia-ai) light-DOM web-component framework \u2014 orient, scaffold, compose, wire, verify, and migrate across SPA and SSR rendering modes. Wires the a2ui MCP for catalog retrieval, UI generation, and validation.",
5
5
  "author": {
6
6
  "name": "Kim",
package/.mcp.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "adia-gen-ui": {
4
4
  "command": "npx",
5
- "args": ["-y", "@adia-ai/mcp@0.8.41", "gen-ui"]
5
+ "args": ["-y", "@adia-ai/mcp@0.8.43", "gen-ui"]
6
6
  }
7
7
  }
8
8
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog — adia-ui-kit-factory
2
2
 
3
+ ## [0.8.43] — 2026-08-18
4
+
5
+ ### Breaking
6
+ - adia-lint SHELL-RESIZE accepts only `data-sidebar-resize`; the W1 dual-name window and `DEPRECATED-LAYOUT-NAME` advisory are retired with the W3 cut (gh#1562, #1622).
7
+
8
+ ### Maintenance
9
+ - **`.claude-plugin/plugin.json` version bump** — moves in lockstep with package.json (the `/plugin update` cache key).
10
+ - **`scripts/` touched in this release window** (1 file(s), e.g. `scripts/adia-lint`) — carried by the entries above.
11
+ - **`skills/` touched in this release window** (1 file(s), e.g. `references/a-alias-layer.md`) — carried by the entries above.
12
+
13
+ ## [0.8.42] — 2026-08-17
14
+
15
+ ### Maintenance
16
+ - Vendored contract/catalog references updated for the ADR-0063 compat shims and rename-wave W1/W2 names (PRs #1565/#1567/#1569).
17
+ - **`.claude-plugin/plugin.json` version bump** — moves in lockstep with package.json (the `/plugin update` cache key).
18
+ - **`scripts/` touched in this release window** (1 file(s), e.g. `scripts/adia-lint`) — carried by the entries above.
19
+ - **`skills/` touched in this release window** (1 file(s), e.g. `references/pattern-index.md`) — carried by the entries above.
20
+
3
21
  ## [0.8.41] — 2026-08-17
4
22
 
5
23
  ### Changed
package/README.md CHANGED
@@ -98,7 +98,7 @@ surface-qa-agent) · `component-model.md` · the `references/contracts/` twins.
98
98
 
99
99
  ## MCP
100
100
 
101
- `adia-gen-ui` server pinned: `@adia-ai/mcp@0.8.41` (tool SoT:
101
+ `adia-gen-ui` server pinned: `@adia-ai/mcp@0.8.43` (tool SoT:
102
102
  `packages/gen-ui/mcp/TOOLS.md` — the `gen-ui` section; stability rule in
103
103
  `references/contracts/`; pin lives in `.mcp.json` — `check:plugin-count-claims`
104
104
  guards this README copy against it). The server is `adia-mcp gen-ui`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/adia-ui-factory",
3
- "version": "0.8.41",
3
+ "version": "0.8.43",
4
4
  "description": "Author and verify apps built ON the adia-ui (@adia-ai) light-DOM web-component framework \u2014 orient, scaffold, compose, wire, verify, and migrate across SPA and SSR rendering modes. Wires the a2ui MCP for catalog retrieval, UI generation, and validation.",
5
5
  "keywords": [
6
6
  "adia-ui",
@@ -21,7 +21,7 @@ Full SaaS/admin chrome from `@adia-ai/web-modules`. Register the **cluster barre
21
21
  <admin-topbar slot="header"><span slot="heading">Workspace</span></admin-topbar>
22
22
  <nav-ui>…</nav-ui>
23
23
  <admin-statusbar slot="footer"><admin-entity-item slot="heading">…</admin-entity-item></admin-statusbar>
24
- <div data-resize></div> <!-- required when [resizable] -->
24
+ <div data-sidebar-resize></div> <!-- required when [resizable] -->
25
25
  </admin-sidebar>
26
26
  <admin-content>
27
27
  <admin-topbar slot="header">
@@ -80,7 +80,7 @@ SPA mounts the full markup. SSR keeps the shell + chrome fixed and swaps only th
80
80
  - **Piecemeal import** → `AdminSidebar`/`AdminCommand` unregistered; `.toggle()/.show()` undefined. Import the barrel.
81
81
  - **Wrapping shell children in `<col-ui>`/`<row-ui>`** → breaks the grid (it reads tag selectors). Generics go _inside_ `admin-content`/`admin-page-body`.
82
82
  - **Raw `<header>` vs `<header-ui>` inside `<admin-page-header>`**: both work — the shell CSS targets `admin-page-header > :is(header, header-ui)` identically (css/admin-shell.templates.css:39), and the CHANGELOG's canonical composition uses raw `<header>`. Pick either; just don't wrap the header in a layout primitive.
83
- - **`[resizable]` without a child `<div data-resize>`** → no drag handle.
83
+ - **`[resizable]` without a child `<div data-sidebar-resize>`** → no drag handle.
84
84
  - **Hardcoded `[collapsed]`** → won't auto-clear on resize; use `.collapse()/.expand()`.
85
85
  - **Multiple `<admin-page>` in one `<admin-scroll>`** → single-axis scroll breaks; one page per scroll.
86
86
  - **`@container (…)` instead of `@container page-content (…)`** → won't react to sidebar collapse.
package/scripts/adia-lint CHANGED
@@ -164,9 +164,16 @@ def lint_text(text, path=""):
164
164
  ln = text.count("\n", 0, m.start()) + 1
165
165
  findings.append(("SHELL-NESTING", ln, text[m.start():m.start() + 60].strip()[:90],
166
166
  "shell children are positioned by tag selectors — wrapping them in <col-ui>/<row-ui> breaks the shell grid; generics go inside admin-content/admin-page-body"))
167
- if re.search(r"<admin-sidebar[^>]*\bresizable\b", text) and "data-resize" not in text:
168
- findings.append(("SHELL-RESIZE", 1, "<admin-sidebar resizable> without [data-resize]",
169
- "[resizable] needs a child <div data-resize> or there is no drag handle"))
167
+ # Rename-wave cut (docs/ops/plan/plan-090-rename-wave.md W3, gh#1562):
168
+ # the 0.8.x→0.9.0 dual-read window is over [data-sidebar-resize] is
169
+ # the only recognized handle name; [data-resize]/[data-grid] no longer
170
+ # get a dedicated advisory (DEPRECATED-LAYOUT-NAME retired with the
171
+ # window it existed for — the old names simply stop resolving now,
172
+ # same as any other unrecognized markup).
173
+ if (re.search(r"<admin-sidebar[^>]*\bresizable\b", text)
174
+ and "data-sidebar-resize" not in text):
175
+ findings.append(("SHELL-RESIZE", 1, "<admin-sidebar resizable> without [data-sidebar-resize]",
176
+ "[resizable] needs a child <div data-sidebar-resize> or there is no drag handle"))
170
177
  # server-side files legitimately hold keys — exempt any path whose
171
178
  # segments mention server/api/proxy (the smart-proxy's own home).
172
179
  _segs = path.replace(os.sep, "/").lower().split("/")
@@ -278,9 +285,17 @@ def _selftest():
278
285
  "<admin-scroll><admin-page>a</admin-page><admin-page>b</admin-page></admin-scroll>\n</admin-shell>",
279
286
  {"SHELL-NESTING", "SHELL-RESIZE"}),
280
287
  ("markup/shell-good.html",
281
- "<admin-shell>\n<admin-sidebar resizable><div data-resize></div></admin-sidebar>\n"
288
+ "<admin-shell>\n<admin-sidebar resizable><div data-sidebar-resize></div></admin-sidebar>\n"
282
289
  "<admin-scroll><admin-page>a</admin-page></admin-scroll>\n</admin-shell>",
283
290
  set()),
291
+ # Rename-wave cut (plan-090 W3, gh#1562): the old names no longer
292
+ # resolve — SHELL-RESIZE now fires on the deprecated [data-resize]
293
+ # name alone (no [data-sidebar-resize] present), and [data-grid] gets
294
+ # no advisory at all (DEPRECATED-LAYOUT-NAME retired with the window).
295
+ ("markup/shell-old-names.html",
296
+ "<admin-shell>\n<admin-sidebar resizable><div data-resize></div></admin-sidebar>\n"
297
+ "<admin-content data-grid=\"3\"></admin-content>\n</admin-shell>",
298
+ {"SHELL-RESIZE"}),
284
299
  # gh#1258 regression: the CANONICAL admin skeleton (shell-patterns.md's admin
285
300
  # cluster — admin-page-header/body/footer are distinct CSS-only children whose
286
301
  # tag names share the <admin-page prefix) must stay clean.
@@ -479,7 +479,7 @@
479
479
  - source: `/catalog/ui-patterns/app/image-upload-preview/image-upload-preview.contents.html` · demo: `/catalog/ui-patterns/app/image-upload-preview/image-upload-preview.html` · docs: `/site/examples/patterns/image-upload-preview`
480
480
  - **Color Picker Swatches** (Pattern Library) — Color picker with OKLCH input + preset swatch palette. Click a swatch to apply; manual input edits the picker.
481
481
  - keywords: color, picker, swatch, palette, oklch, hex, preset, accent, token, chooser
482
- - components: `swatch-ui` `text-ui` `col-ui` `card-ui` `color-picker-ui` `row-ui`
482
+ - components: `swatch-ui` `text-ui` `col-ui` `card-ui` `color-area-ui` `row-ui`
483
483
  - source: `/catalog/ui-patterns/app/color-picker-swatches/color-picker-swatches.contents.html` · demo: `/catalog/ui-patterns/app/color-picker-swatches/color-picker-swatches.html` · docs: `/site/examples/patterns/color-picker-swatches`
484
484
  - **Slider Range Controls** (Pattern Library) — Range slider with min/max numeric inputs flanking the slider track. Allows direct value entry or drag-to-set.
485
485
  - keywords: slider, range, min, max, input, numeric, value, control, bound, dual-handle
@@ -236,7 +236,7 @@ The `--a-*` semantic layer is a thin alias layer reading FROM the `--md-sys-colo
236
236
  | `--a-ui-bg-hover` | `var(--a-canvas-0-scrim)` |
237
237
  | `--a-ui-bg-active` | `var(--a-canvas-0)` |
238
238
  | `--a-ui-bg-selected` | `var(--a-bg-selected)` |
239
- | `--a-ui-bg-disabled` | `var(--a-canvas-1)` |
239
+ | `--a-ui-bg-disabled` | `var(--md-sys-color-neutral-container-low)` |
240
240
  | `--a-ui-bg-invalid` | `var(--a-danger-muted)` |
241
241
  | `--a-ui-text` | `var(--a-fg-strong)` |
242
242
  | `--a-ui-text-hover` | `var(--a-fg-strong)` |