@domphy/ui 0.22.0 → 0.22.2

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,13 @@
1
1
  # @domphy/ui Changelog
2
2
 
3
+ ## 0.22.2
4
+
5
+ - fix(inputSwitch): the switch drew two pills. The host `<input>` painted its tone fill across its whole (taller, padded) box while the `::before` track painted a second fill inside it, so a larger grey pill showed behind the track. The host is now transparent; `::before` is the one track. Layout box, knob position and focus ring are unchanged.
6
+
7
+ ## 0.22.1
8
+
9
+ - Republish of 0.22.0 with no code change: the 0.22.0 tarball was published with raw `workspace:` dependency specifiers (published with `npm publish` instead of `pnpm publish`), so it could not be installed outside this monorepo. 0.22.0 is deprecated on npm.
10
+
3
11
  ## 0.22.0
4
12
 
5
13
  - fix(overlays): a floating panel opened outside a `<dialog>` no longer mounts inside it. Panels opened *within* a dialog portal into the dialog's own overlay container (top-layer sharing), which used the same `id="domphy-floating"` as the app-level one, so the root's descendant lookup matched the dialog's copy first: after one in-dialog dropdown, every later popover/tooltip/select in the app was mounted inside a closed, `display:none` dialog — `aria-expanded="true"` with a 0x0, unfocusable panel. The container is now marked with a `data-domphy-floating` **attribute** (a document can legitimately hold several, so a fixed `id` was duplicate-id invalid HTML) and the root lookup is `:scope > [data-domphy-floating]`.