Releases: rossrobino/drab
Releases · rossrobino/drab
5.4.2
Full Changelog: 5.4.1...5.4.2
- fix:
Dialog
- removes unnecessary getters and setters for smaller bundle size.
5.4.1
Full Changelog: 5.4.0...5.4.1
- feat:
Dialog
now adjusts for scrollbar width whenremove-body-scroll
is set to prevent jank.
5.4.0
Dialog
- adds the
remove-body-scroll
attribute to remove the scroll ondocument.body
when the dialog is open.
Full Changelog: 5.3.6...5.4.0
5.3.6
Full Changelog: 5.3.5...5.3.6
Prefetch
- fix: uses the speculation rules API as a prefetch fallback instead of a link tag when supported, this has a few perf benefits highlighted here: MDN Reference.
Related issue: WICG/nav-speculation#162 (comment)
5.3.5
Full Changelog: 5.3.4...5.3.5
- update dependencies
Prefetch
- fix: remove unnecessary
supports
checks since speculation rules are a progressive enhancement.
5.3.4
Full Changelog: 5.3.3...5.3.4
Prefetch
- fix: always add
link
tag for prefetch even when prerendering as a fallback in case speculations rules fails.
5.3.3
Full Changelog: 5.3.2...5.3.3
Prefetch
- fix: use the Speculation Rules API for prefetching as well as prerendering when supported.
- fix: use
fetch
with low priority instead oflink
tag for prefetch when Speculation Rules is not supported.
Dialog
- fix: add
click-outside-close
attribute to Dialog type.
5.3.2
Full Changelog: 5.3.1...5.3.2
- feat: adds the
click-outside-close
attribute to the dialog element.
5.3.1
Full Changelog: 5.3.0...5.3.1
- fix: makes touch events passive to improve scroll performance
5.3.0
Full Changelog: 5.2.3...5.3.0
- feat: adds intersection observer element, Intersect