@domphy/ui 0.21.1 → 0.21.3
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 +16 -0
- package/dist/core-theme-ui.global.js +6 -6
- package/dist/core-theme-ui.global.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -29
- package/dist/index.d.ts +45 -29
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @domphy/ui Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.3
|
|
4
|
+
|
|
5
|
+
- fix(dialog, drawer): closed state now sets inline `display: none` (same strategy as `visibility` / `pointer-events`) so a consumer `style.display` cannot keep the closed node in layout. Mounted-closed skips the close animation and hides immediately.
|
|
6
|
+
|
|
7
|
+
## 0.21.2
|
|
8
|
+
|
|
9
|
+
- fix(overlays): `open.set(true)` / `open: true` inserts the floating panel (popover, selectBox, combobox, datePicker, tooltip) — `attachFloating` now subscribes to `openState` like `attachDialog`.
|
|
10
|
+
- fix(drawer): migrate `_onMount` factory-scope state to `behavior()` so reuse still calls `showModal`; guard `showModal` when already open; clear the close fallback timer on reopen; backdrop click uses the panel rect (empty-panel clicks no longer close).
|
|
11
|
+
- fix(popover): click-mode `onBlur` no longer closes (docs: focus has no effect when `openOn` is `"click"`).
|
|
12
|
+
- fix(floating): portal a panel whose trigger is inside an open `<dialog>` into that dialog so it shares the top layer (z-index cannot beat `showModal`).
|
|
13
|
+
- fix(selectBox, combobox): wrap/options rebuild via `behavior().update()` so later `options` apply on a reused node.
|
|
14
|
+
- fix(menu): rebuild menuitems on patch/update, not only `_onSchedule`.
|
|
15
|
+
- fix(datePicker): do not copy the previous internal selection onto a caller-provided `Date`; expose `role=combobox` + `aria-expanded` / `aria-controls`.
|
|
16
|
+
- fix(combobox): filter input keeps typed text; `role=combobox` + `aria-controls` + `aria-expanded`.
|
|
17
|
+
- fix(selectBox): trigger `aria-controls` for the listbox panel.
|
|
18
|
+
|
|
3
19
|
## 0.21.1
|
|
4
20
|
|
|
5
21
|
- Peer range widened: `@domphy/theme` now accepts `^0.21.0 || ^0.22.0` — theme 0.22.0 is additive (palette re-export), and every theme API ui uses (`themeColor`/`themeDensity`/`themeSpacing`/`themeSize`) is unchanged. Removes the peer warning for consumers on theme 0.22.x.
|