tailwindlabs / tailwindui-issues

Bug fixes and feature request tracking for Tailwind UI.
233 stars 4 forks source link

Deprecated HeadlessUI components used in TailwindUI components #1573

Closed liams000 closed 3 months ago

liams000 commented 4 months ago

What component (if applicable)

Describe the bug The components used, for example Combobox.Input is marked as depreceated in the HeadlessUI package and should instead be ComboboxInput. This can also be found in other UI components in TailwindUI that use the HeadlessUI package.

To Reproduce View the source code, it's non-breaking but the components are deprecated.

Screenshots image

RobinMalfait commented 3 months ago

Hey!

Thanks for the bug report, we've updated the Tailwind UI examples and we removed the deprecated components and use the new non-deprecated components instead!

If you want to apply the same changes locally, you can essentially drop the . in Combobox.Input -> ComboboxInput and make sure to update the imports.

Hope this helps!