Skip to content

Releases: rossrobino/drab

5.4.2

04 Jun 18:59
Compare
Choose a tag to compare

Full Changelog: 5.4.1...5.4.2

  • fix: Dialog - removes unnecessary getters and setters for smaller bundle size.

5.4.1

04 Jun 18:53
Compare
Choose a tag to compare

Full Changelog: 5.4.0...5.4.1

  • feat: Dialog now adjusts for scrollbar width when remove-body-scroll is set to prevent jank.

5.4.0

12 Apr 14:52
Compare
Choose a tag to compare

Dialog

  • adds the remove-body-scroll attribute to remove the scroll on document.body when the dialog is open.

Full Changelog: 5.3.6...5.4.0

5.3.6

05 Mar 14:06
Compare
Choose a tag to compare

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

01 Mar 17:09
Compare
Choose a tag to compare

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

01 Mar 15:26
Compare
Choose a tag to compare

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

29 Feb 16:24
Compare
Choose a tag to compare

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 of link tag for prefetch when Speculation Rules is not supported.

Dialog

  • fix: add click-outside-close attribute to Dialog type.

5.3.2

27 Feb 20:51
Compare
Choose a tag to compare

Full Changelog: 5.3.1...5.3.2

  • feat: adds the click-outside-close attribute to the dialog element.

5.3.1

27 Feb 14:57
Compare
Choose a tag to compare

Full Changelog: 5.3.0...5.3.1

  • fix: makes touch events passive to improve scroll performance

5.3.0

26 Feb 15:44
Compare
Choose a tag to compare

Full Changelog: 5.2.3...5.3.0

  • feat: adds intersection observer element, Intersect