@adia-ai/web-modules 0.8.12 → 0.8.14

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog — @adia-ai/web-modules
2
2
 
3
+ ## [0.8.14] — 2026-07-25
4
+
5
+ ### Fixed
6
+ - **`theme-panel`'s Density and Radius rows collapse to one row each** (`theme/theme-panel/`; PR #413) — `slider-ui` already renders `[label] … [value] [suffix]` as its own header row with the track beneath ("wrap in `<field-ui>` only when you need external label-row composition", per its own doc comment), so the `<field-ui label="Density">` wrapper produced a spurious extra row: field-ui's label and slider-ui's own unlabeled value readout stacked separately. The label now passes straight to the slider, and `field-ui` is no longer composed by this module (dropped from the yaml and demo imports).
7
+ - **The panel's own size/scale is pinned through a `<theme-provider scale="ui-md">` wrapper** around the stamped content, replacing an ad-hoc `this.setAttribute('scale', 'ui-md')` plus a bare CSS pin on `theme-panel` itself — the framework's own mechanism for giving a subtree a fixed size/scale context, and `display: contents`, so it adds no box. `--a-density`/`--a-radius-k` move onto the provider for the same reason. `[theme]` is deliberately *not* set on it: the panel's own accent still tracks whichever theme is active (velour's slider fill turns plum) while its size stays pinned even under `[scale="content-lg"]` on the page.
8
+
9
+ ### Maintenance
10
+ - **`dist/` bundles rebuilt** — this cut's `popover-ui` surface change (see `@adia-ai/web-components`) reaches `theme-panel` through its host popover, and the shell bundles inline the changed component CSS.
11
+
12
+ ## [0.8.13] — 2026-07-25
13
+
14
+ ### Changed
15
+ - **`theme-panel`'s Theme row is now a `<select-ui>`, not a button grid** (`theme/theme-panel/`; PR #409) — defaults to the 12 named identities shipped in `@adia-ai/web-components@styles/themes.css` (the `themes` prop default changed from `""` to the 12-slug list; pass `[themes="slug1 slug2"]` to restrict, or `themes=""` to suppress the row — same tolerant-of-unknown-slugs contract as before). Consumers that render `<theme-panel>` un-configured now get a working, populated Theme picker instead of an empty row.
16
+ - **Preset row relabeled `Compact | Default | Spacious`** (was `Compact | Reset | Spacious`) — the middle button only ever set density/radius; labeling it "Reset" implied it cleared everything, which it didn't consistently. It's now a pure density/radius preset like its siblings.
17
+ - **The panel's own chrome is pinned to a fixed compact/`ui-md` register**, independent of whatever `[scale]`/`--a-density` the panel's own Scale select or Density slider is driving on the target. Target defaults to `:root`, a DOM ancestor of `theme-panel`, so those inherited custom properties were previously cascading into the panel's own controls too — dragging Density to 1.5, or Scale to `content-lg`, visibly enlarged the popover's own buttons and select alongside the page.
18
+
19
+ ### Added
20
+ - **A dedicated Reset row** — its own button at the bottom of the panel, below a divider, always rendered regardless of which optional sections (`[parametric]`/`[presets]`/`[register]`) are enabled. Calls the existing `.reset()` method (clears theme, scheme, density, radius, and scale). Previously this full-state clear was a side effect of the Preset row's "Reset" button; it's now a separate, clearly-labeled affordance.
21
+
22
+ ### Fixed
23
+ - **Theme select `<option>` elements are now built via `createElement`/`textContent`, not `innerHTML` interpolation** — `[themes]` is attribute/A2UI-driven and documented as tolerant of unknown slugs, so a slug containing `"` or `<` could break out of the option markup (CWE-79, caught in PR #409 review).
24
+
25
+ ### Maintenance
26
+ - **`dist/` bundles rebuilt** in this cut's window (4 file(s)) — regenerated from the source changes described above, not independent edits.
27
+ - **`shell/` touched in this release window** (2 file(s), e.g. `css/admin-shell.collapsed.css`) — carried by the entries above.
28
+
3
29
  ## [0.8.12] — 2026-07-24
4
30
 
5
31
  ### Maintenance