Skip to content

Commit

Permalink
Revert "Navigator: mark experimental exports as deprecated (WordPress…
Browse files Browse the repository at this point in the history
…#65802)"

This reverts commit b21d49d.
  • Loading branch information
huubl authored Oct 2, 2024
1 parent 742f05d commit 5d56a94
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

- `__experimentalBorderControl` can now be imported as a stable `BorderControl` ([#65475](https://github.com/WordPress/gutenberg/pull/65475)).
- `__experimentalBorderBoxControl` can now be imported as a stable `BorderBoxControl` ([#65586](https://github.com/WordPress/gutenberg/pull/65586)).
- `__experimentalNavigator*` components can now be imported as a stable `Navigator`. Similarly, the `__experimentalUseNavigator` hook can be imported as a stable `useNavigator` ([#65802](https://github.com/WordPress/gutenberg/pull/65802)).

### Enhancements

Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,15 @@ export { default as __experimentalNavigationGroup } from './navigation/group';
export { default as __experimentalNavigationItem } from './navigation/item';
export { default as __experimentalNavigationMenu } from './navigation/menu';
export {
/** @deprecated Import `Navigator` instead. */
NavigatorProvider as __experimentalNavigatorProvider,
/** @deprecated Import `Navigator` and use `Navigator.Screen` instead. */
NavigatorScreen as __experimentalNavigatorScreen,
/** @deprecated Import `Navigator` and use `Navigator.Button` instead. */
NavigatorButton as __experimentalNavigatorButton,
/** @deprecated Import `Navigator` and use `Navigator.BackButton` instead. */
NavigatorBackButton as __experimentalNavigatorBackButton,
/** @deprecated Import `Navigator` and use `Navigator.BackButton` instead. */
NavigatorToParentButton as __experimentalNavigatorToParentButton,
} from './navigator/legacy';
export {
Navigator,
useNavigator,
/** @deprecated Import `useNavigator` instead. */
useNavigator as __experimentalUseNavigator,
} from './navigator';
export { default as Notice } from './notice';
Expand Down

0 comments on commit 5d56a94

Please sign in to comment.