Skip to content

Commit cfbcf5b

Browse files
Remove accidental deprecation comments on <DialogPanel> and <DialogTitle> (#3176)
* Remove accidental deprecations These got left in when they shouldn’t’ve been * Update changelog
1 parent fb13190 commit cfbcf5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/@headlessui-react/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Remove accidental deprecation comments on `<DialogPanel>` and `<DialogTitle>` ([#3176](https://github.com/tailwindlabs/headlessui/pull/3176))
1113

1214
## [2.0.0] - 2024-05-06
1315

packages/@headlessui-react/src/components/dialog/dialog.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,7 @@ export interface _internal_ComponentDialogTitle extends HasDisplayName {
536536
export interface _internal_ComponentDialogDescription extends _internal_ComponentDescription {}
537537

538538
let DialogRoot = forwardRefWithAs(DialogFn) as _internal_ComponentDialog
539-
/** @deprecated use a plain `<div>` instead of `<DialogBackdrop>` */
540539
export let DialogPanel = forwardRefWithAs(PanelFn) as _internal_ComponentDialogPanel
541-
/** @deprecated use a plain `<div>` instead of `<DialogOverlay>` */
542540
export let DialogTitle = forwardRefWithAs(TitleFn) as _internal_ComponentDialogTitle
543541
/** @deprecated use `<Description>` instead of `<DialogDescription>` */
544542
export let DialogDescription = Description as _internal_ComponentDialogDescription

0 commit comments

Comments
 (0)