@domphy/ui 0.21.4 → 0.21.6
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 +12 -0
- package/dist/core-theme-ui.global.js +5 -5
- 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 +62 -15
- package/dist/index.d.ts +62 -15
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @domphy/ui Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.6
|
|
4
|
+
|
|
5
|
+
- fix(popover, selectBox, combobox, datePicker): dropdown panels use the page surface (`shift-0`), same as `menu` / `selectList` / `dialog`. `shift-14` inverted the panel in light theme, so the menubar recipe (`popover` + `menu`) rendered as a dark card wrapping a light list. Tooltip / toast stay inverted (`shift-17`).
|
|
6
|
+
- fix(popover): do not stamp panel chrome / `role=dialog` onto content that already owns a surface (`dataTone` on the element or a `$` patch). `menu()` already sets `role=menu`, `shift-0`, and elevation; a second stamp overwrote the role and comma-joined a second `boxShadow`.
|
|
7
|
+
|
|
8
|
+
## 0.21.5
|
|
9
|
+
|
|
10
|
+
- fix(overlays): `open` (`dialog`/`drawer`/`popover`/`tooltip`/`combobox`/`selectBox`/`createFloating`) accepts `Computed`/`ReadableState`. Subscribe with `addListener` on writable `State`, `effect()` on read-only (Computed has no `addListener`/`set`). Dismiss via optional `onDismiss`; `.set(false)` only when writable.
|
|
11
|
+
- feat(stack, row, toolbar): `density?: boolean` (default true). `false` is structural gap = bare `themeSpacing(n)` (page/form columns). `stack` gains `justify`; `toolbar` forwards `wrap`/`justify`/`align`/`density`.
|
|
12
|
+
- feat(heading): `size?: ElementSize` — when set, `themeSize(listener, size)` with no tag bump (`"inherit"` included).
|
|
13
|
+
- fix(textarea): `autoResize` remeasures when the host becomes visible (`IntersectionObserver`) and when its box size changes (`ResizeObserver`).
|
|
14
|
+
|
|
3
15
|
## 0.21.4
|
|
4
16
|
|
|
5
17
|
- a11y: datePicker ArrowDown opens `[role=grid]`, ArrowRight moves `[data-date]`; rating ArrowRight increments (gated in `a11y-keyboard.test.ts`).
|