Headlessui Versions Save

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.

@headlessui/[email protected]

10 months ago

Fixed

  • Ensure the caret is in a consistent position when syncing the Combobox.Input value (#2568)
  • Improve "outside click" behaviour in combination with 3rd party libraries (#2572)
  • Improve performance of Combobox component (#2574)
  • Ensure IME works on Android devices (#2580)
  • Calculate aria-expanded purely based on the open/closed state (#2610)
  • Submit form on Enter even if no submit-like button was found (#2613)

@headlessui/[email protected]

1 year ago

Added

  • [internal] add demo mode to Menu and Popover components (#2448)

Fixed

  • Ensure FocusTrap is only active when the given enabled value is true (#2456)
  • Stop <Transition appear> from overwriting classes on re-render (#2457)
  • Improve control over Menu and Listbox options while searching (#2471)
  • Consider clicks inside iframes to be "outside" (#2485)
  • Ensure moving focus within a Portal component, does not close the Popover component (#2492)

Changed

  • Move types condition to the front (#2469)

@headlessui/[email protected]

1 year ago

Fixed

  • Fix memory leak in Popover component (#2430)
  • Ensure FocusTrap is only active when the given enabled value is true (#2456)
  • Ensure the exposed activeIndex is up to date for the Combobox component (#2463)
  • Improve control over Menu and Listbox options while searching (#2471)
  • Consider clicks inside iframes to be "outside" (#2485)
  • Ensure moving focus within a Portal component, does not close the Popover component (#2492)

Changed

  • Move types condition to the front (#2469)

@headlessui/[email protected]

1 year ago

Fixed

  • Fix focus styles showing up when using the mouse (#2347)
  • Fix "Can't perform a React state update on an unmounted component." when using the Transition component (#2374)
  • Add FocusTrap event listeners once document has loaded (#2389)
  • Fix className hydration for <Transition appear> (#2390)
  • Improve Combobox types to improve false positives (#2411)
  • Merge className correctly when it’s a function (#2412)

Added

  • Add form prop to form-like components such as RadioGroup, Switch, Listbox, and Combobox (#2356)

@headlessui/[email protected]

1 year ago

Fixed

  • Fix focus styles showing up when using the mouse (#2347)
  • Disable ComboboxInput when its Combobox is disabled (#2375)
  • Add FocusTrap event listeners once document has loaded (#2389)
  • Don't scroll-lock <Dialog> when wrapping transition isn't showing (#2422)
  • Ensure DOM ref is properly handled in the RadioGroup component (#2424)

Added

  • Add form prop to form-like components such as RadioGroup, Switch, Listbox, and Combobox (#2356)

@headlessui/[email protected]

1 year ago

Fixed

  • Add ESM and types paths to package.json for Tailwind CSS plugin (#2382)

@headlessui/[email protected]

1 year ago

Fixed

  • Ensure Transition component completes if nothing is transitioning (#2318)
  • Enable native label behavior for <Switch> where possible (#2265)
  • Allow root containers from the Dialog component in the FocusTrap component (#2322)
  • Fix XYZPropsWeControl and cleanup internal TypeScript types (#2329)
  • Fix invalid warning when using multiple Popover.Button components inside a Popover.Panel (#2333)
  • Fix restore focus to buttons in Safari, when Dialog component closes (#2326)

@headlessui/[email protected]

1 year ago

Fixed

  • Enable native label behavior for <Switch> where possible (#2265)
  • Allow root containers from the Dialog component in the FocusTrap component (#2322)
  • Cleanup internal TypeScript types (#2329)
  • Fix restore focus to buttons in Safari, when Dialog component closes (#2326)
  • Ensure hooks in the FocusTrap component only apply when mounted (#2331)

@headlessui/[email protected]

1 year ago

Added

  • Add explicit props types for every component (#2282)

Fixed

  • Ensure the main tree and parent Dialog components are marked as inert (#2290)
  • Fix nested Popover components not opening (#2293)
  • Make React types more compatible with other libraries (#2282)
  • Fix Dialog cleanup when the Dialog becomes hidden (#2303)

@headlessui/[email protected]

1 year ago

Fixed

  • Ensure the main tree and parent Dialog components are marked as inert (#2290)
  • Fix nested Popover components not opening (#2293)
  • Fix change event incorrectly getting called on blur (#2296)
  • Fix Dialog cleanup when the Dialog becomes hidden (#2303)