diff --git a/packages/@headlessui-react/CHANGELOG.md b/packages/@headlessui-react/CHANGELOG.md index 3fa8bdc332..f378791413 100644 --- a/packages/@headlessui-react/CHANGELOG.md +++ b/packages/@headlessui-react/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Remove accidental deprecation comments on `` and `` ([#3176](https://github.com/tailwindlabs/headlessui/pull/3176)) ## [2.0.0] - 2024-05-06 diff --git a/packages/@headlessui-react/src/components/dialog/dialog.tsx b/packages/@headlessui-react/src/components/dialog/dialog.tsx index db93e77410..fd2f5f0f36 100644 --- a/packages/@headlessui-react/src/components/dialog/dialog.tsx +++ b/packages/@headlessui-react/src/components/dialog/dialog.tsx @@ -536,9 +536,7 @@ export interface _internal_ComponentDialogTitle extends HasDisplayName { export interface _internal_ComponentDialogDescription extends _internal_ComponentDescription {} let DialogRoot = forwardRefWithAs(DialogFn) as _internal_ComponentDialog -/** @deprecated use a plain `
` instead of `` */ export let DialogPanel = forwardRefWithAs(PanelFn) as _internal_ComponentDialogPanel -/** @deprecated use a plain `
` instead of `` */ export let DialogTitle = forwardRefWithAs(TitleFn) as _internal_ComponentDialogTitle /** @deprecated use `` instead of `` */ export let DialogDescription = Description as _internal_ComponentDialogDescription