Skip to content

5.1.0

Latest
Compare
Choose a tag to compare
@thednp thednp released this 22 Nov 08:41
· 6 commits to master since this release

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 returns instead of long ifs, 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);