What changed
- π added a new PositionObserver for Tooltip, Popover, Dropdown and ScrollSpy to replace the legacy scroll and/or resize event listeners, for top notch performance;
- π Modal and Offcanvas now make use of ResizeObserver with the same effect;
- πΊοΈ Tooltip and Popover use a different positioning system based on
position: absolute
; - π improved accessibility for Modal and Offcanvas by implementing a focus trap, if at least one focusable element is inside your modal/offcanvas, users cannot focus outside of it;
- π― replaced Cypress tests with Vitest, it's not just better but it works perfect on my Linux machine;
- βοΈ removed many tools like eslint and prettier with Deno 2.0 powered tools; we only update dependencies that actually matter;
- π performance improvements: early
return
s instead of longif
s, improved logic, code cleanup; - π updated Types, in some cases more strict in others more flexible;
- πΊ all interaction event listeners now check for target
disabled
status; - βοΈ fixed Tab event listener for the cases where
currentTarget
is a child element of the event target (possibly a result of incorrect code mergers in the past);