Skip to content

Releases: tailwindlabs/headlessui

@headlessui/react@v1.2.0

10 May 10:24
a8bbd0e
Compare
Choose a tag to compare

Added

  • Introduce Open/Closed state, to simplify component communication (#466)

Fixes

  • Improve SSR for Dialog (#477)
  • Delay focus trap initialization (#477)
  • Improve incorrect behaviour for nesting Dialog components (#560)

The Open/Closed state unlocks a feature where all our components can interact with each other. This means that you don't need to use the render prop function, and that you also don't need the static prop anymore for transitions. Here is an example in the docs that explains this: https://headlessui.dev/react/menu#transitions

@headlessui/vue@v1.1.1

28 Apr 08:59
91007b7
Compare
Choose a tag to compare

Fixes

  • Fix form submission within Dialog (#460)
  • Fix TypeScript types for Listbox and Switch (#459, #461)

@headlessui/react@v1.1.1

28 Apr 08:59
91007b7
Compare
Choose a tag to compare

Fixes

  • Fix form submission within Dialog (#460)

@headlessui/vue@v1.1.0

26 Apr 13:55
719db69
Compare
Choose a tag to compare

Fixes

  • Improve search, make searching case insensitive (#385)
  • Fix unreachable RadioGroup (#401)
  • Fix RadioGroupOption value type (#400)
  • Fix closing nested Dialog components when pressing Escape (#430)

Added

  • Add disabled prop to RadioGroup and RadioGroupOption (#401)
  • Add defaultOpen prop to the Disclosure component (#447)

@headlessui/react@v1.1.0

26 Apr 13:56
719db69
Compare
Choose a tag to compare

Fixes

  • Improve search, make searching case insensitive (#385)
  • Fix unreachable RadioGroup (#401)
  • Fix closing nested Dialog components when pressing Escape (#430)

Added

  • Add disabled prop to RadioGroup and RadioGroup.Option (#401)
  • Add defaultOpen prop to the Disclosure component (#447)

@headlessui/vue@v1.0.0

19 Apr 13:50
6722e9e
Compare
Choose a tag to compare

This is the v1 release of Headless UI - Vue

We introduced a bunch of new components for this release:

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

Changelog:

Fixes

  • Fix incorrect DOM node from ref (#249)
  • Stop propagating keyboard/mouse events (#282)

Added

  • Add SwitchDescription component, which adds the aria-describedby to the actual Switch (#220)
  • Add Disclosure, DisclosureButton, DisclosurePanel components (#282)
  • Add Dialog, DialogOverlay, DialogTitle and DialogDescription components (#282)
  • Add Portal and PortalGroup components (#282)
  • Add FocusTrap component (#282)
  • Add Popover, PopoverButton, PopoverOverlay, PopoverPanel and PopoverGroup components (#282)
  • Add RadioGroup, RadioGroupOption, RadioGroupLabel and RadioGroupDescription components (#282)
  • Add TransitionRoot and TransitionChild components (#326)

@headlessui/react@v1.0.0

19 Apr 13:51
6722e9e
Compare
Choose a tag to compare

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)

@headlessui/vue@v0.3.1

02 Apr 13:26
67d09e1
Compare
Choose a tag to compare

Fixes

  • Fix broken behaviour since Vue 3.0.5 (#279)

@headlessui/react@v0.3.2

02 Apr 13:26
67d09e1
Compare
Choose a tag to compare

Fixes

  • Fix incorrect type error unique symbol (#248, #240)

@headlessui/react@v0.3.1

12 Feb 15:41
71730fe
Compare
Choose a tag to compare

Fixes

  • Fix incorrect types path (d557d50)
  • Fix TypeScript render related types (bb68793)