Watch
0
0
Fork
You've already forked hyperhive
0

frontend: preact 11.2.0

All four packages move from preact 10.29.8 to 11.2.0. The new types need four
small changes in swarm-ui and the shared dropdown: a ref that may be empty is
typed RefObject<T | null>, HTMLAttributes is imported from preact instead of
read from the JSX namespace, and TextField's type is the five kinds it is
used with, asserted once for the input's new union. npm-deps-hash follows the
lockfile.
This commit is contained in:
iris 2026-11-06 22:38:56 +01:00
commit d76d54c412

View file

@ -52,7 +52,7 @@ export interface DropdownProps {
* `MetaNav`'s own hand-rolled popover (which wraps trigger+popover in
* one ref) already avoids this.
*/
anchorRef?: RefObject<HTMLElement>;
anchorRef?: RefObject<HTMLElement | null>;
}
export function Dropdown({