@adia-ai/web-modules 0.8.12 → 0.8.13

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,22 @@
1
1
  # Changelog — @adia-ai/web-modules
2
2
 
3
+ ## [0.8.13] — 2026-07-25
4
+
5
+ ### Changed
6
+ - **`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.
7
+ - **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.
8
+ - **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.
9
+
10
+ ### Added
11
+ - **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.
12
+
13
+ ### Fixed
14
+ - **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).
15
+
16
+ ### Maintenance
17
+ - **`dist/` bundles rebuilt** in this cut's window (4 file(s)) — regenerated from the source changes described above, not independent edits.
18
+ - **`shell/` touched in this release window** (2 file(s), e.g. `css/admin-shell.collapsed.css`) — carried by the entries above.
19
+
3
20
  ## [0.8.12] — 2026-07-24
4
21
 
5
22
  ### Maintenance