github tailwindlabs/headlessui @headlessui/react@v1.0.0

latest releases: @headlessui/react@v2.1.1, @headlessui/react@v2.1.0, @headlessui/tailwindcss@v0.2.1...
3 years ago

This is the v1 release of Headless UI - React

We introduced a bunch of new components for this release:

We also created a beautiful new documentation website: https://headlessui.dev/react

Changelog:

Fixes

  • Fixed outside click not re-focusing the Menu.Button (#220, #256)
  • Fixed outside click not re-focusing the Listbox.Button (#220, #256)
  • Force focus in Menu.Items and Listbox.Options from within the component itself (#261)
  • Stop propagating keyboard/mouse events (#261)

Added

  • Add Disclosure, Disclosure.Button and Disclosure.Panel components (#220)
  • Add Dialog, Dialog.Overlay, Dialog.Tile and Dialog.Description components (#220)
  • Add Portal and Portal.Group component (#220)
  • Add Switch.Description component, which adds the aria-describedby to the actual Switch (#220)
  • Add FocusTrap component (#220)
  • Add Popover, Popover.Button, Popover.Overlay, Popover.Panel and Popover.Group components (#220)
  • All components that accept a className, can now also receive a function with the renderProp argument (#257)
  • Add RadioGroup, RadioGroup.Option, RadioGroup.Label and RadioGroup.Description components (#274)

Don't miss a new headlessui release

NewReleases is sending notifications on new releases.