Skip to content

Releases: rgossiaux/svelte-headlessui

v1.0.0-beta.6

29 Dec 21:10
Compare
Choose a tag to compare

Changes

  • Tabs:
    • Fix aria-controls= being set incorrectly when Panels are not rendered: 70c68d0
    • Fix a number of mounting issues, including defaultIndex not working and incorrect initial aria-selected

With this release, all of the main Headless UI components except Transition have extensive unit tests, which means the non-beta 1.0.0 release will be coming soon.

Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6

v1.0.0-beta.5

29 Dec 01:25
Compare
Choose a tag to compare

Changes

  • Add support for <Form>: 08021bb
  • Disclosure:
    • Fix error message when using <DisclosurePanel> outside of a <Disclosure>: 206b839
  • Menu:
    • Fix auto-focusing after opening a <Menu>: fe0388c
    • MenuButton: forward disabled prop correctly: fe0388c
    • MenuItems: fix error message when using outside of a <Menu>: fe0388c
    • MenuItems: fix searching for items after opening a <Menu>: 41774ec
    • MenuItem: only fire click handlers if the <MenuItem> is not disabled: d7348b3
  • Popover:
    • PopoverButton: fix aria-controls being added when Popover is closed: 5bff629

These were all caught thanks to porting tests over from the upstream Headless UI library.

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5

v1.0.0-beta.4

27 Dec 01:17
Compare
Choose a tag to compare

Changes

  • Fixes <FocusTrap> not working correctly for top-level <Dialog> components: a2745e1
  • Adds support for the <input> custom element (primarily for tests)
  • Adds initial documentation to Readme