diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss
index c7bc54004e1d49..de9ec9d6917e56 100644
--- a/packages/base-styles/_z-index.scss
+++ b/packages/base-styles/_z-index.scss
@@ -141,7 +141,6 @@ $z-layers: (
// ...Except for popovers immediately beneath wp-admin menu on large breakpoints
".components-popover.block-editor-inserter__popover": 99999,
".components-popover.table-of-contents__popover": 99998,
- ".components-popover.block-editor-block-navigation__popover": 99998,
".components-popover.customize-widgets-more-menu__content": 99998,
".components-popover.edit-post-more-menu__content": 99998,
".components-popover.edit-site-more-menu__content": 99998,
diff --git a/packages/block-editor/src/components/block-navigation/dropdown.js b/packages/block-editor/src/components/block-navigation/dropdown.js
index de7345280387ad..414706ddf74338 100644
--- a/packages/block-editor/src/components/block-navigation/dropdown.js
+++ b/packages/block-editor/src/components/block-navigation/dropdown.js
@@ -10,7 +10,7 @@ import { listView } from '@wordpress/icons';
/**
* Internal dependencies
*/
-import BlockNavigationTree from './tree';
+import ListView from '../list-view';
import { store as blockEditorStore } from '../../store';
function BlockNavigationDropdownToggle( {
@@ -65,7 +65,7 @@ function BlockNavigationDropdown(
{ __( 'List view' ) }
- = 0 {
- margin-left: ( $icon-size * $i ) + 4 * ($i - 1);
- }
- @else {
- margin-left: ( $icon-size * $i );
- }
- }
-}
-
-.block-editor-block-navigation-leaf .block-editor-block-navigation__expander {
- visibility: hidden;
-}
-
-// Point downwards when open.
-.block-editor-block-navigation-leaf[aria-expanded="true"] .block-editor-block-navigation__expander svg {
- visibility: visible;
- transition: transform 0.2s ease;
- transform: rotate(90deg);
- @include reduce-motion("transition");
-}
-
-// Point rightwards when closed
-.block-editor-block-navigation-leaf[aria-expanded="false"] .block-editor-block-navigation__expander svg {
- visibility: visible;
- transform: rotate(0deg);
- transition: transform 0.2s ease;
- @include reduce-motion("transition");
-}
diff --git a/packages/block-editor/src/components/index.js b/packages/block-editor/src/components/index.js
index 76d13b62221580..3cfa70c4b9f408 100644
--- a/packages/block-editor/src/components/index.js
+++ b/packages/block-editor/src/components/index.js
@@ -24,9 +24,6 @@ export { default as BlockColorsStyleSelector } from './color-style-selector';
export { default as BlockEdit, useBlockEditContext } from './block-edit';
export { default as BlockIcon } from './block-icon';
export { default as BlockNavigationDropdown } from './block-navigation/dropdown';
-export { BlockNavigationBlockFill as __experimentalBlockNavigationBlockFill } from './block-navigation/block-slot';
-export { default as __experimentalBlockNavigationEditor } from './block-navigation/editor';
-export { default as __experimentalBlockNavigationTree } from './block-navigation/tree';
export { default as __experimentalBlockVariationPicker } from './block-variation-picker';
export { default as __experimentalBlockPatternSetup } from './block-pattern-setup';
export { default as __experimentalBlockVariationTransforms } from './block-variation-transforms';
@@ -66,6 +63,9 @@ export { default as __experimentalLinkControlSearchInput } from './link-control/
export { default as __experimentalLinkControlSearchResults } from './link-control/search-results';
export { default as __experimentalLinkControlSearchItem } from './link-control/search-item';
export { default as LineHeightControl } from './line-height-control';
+export { default as __experimentalListView } from './list-view';
+export { ListViewBlockFill as __experimentalListViewBlockFill } from './list-view/block-slot';
+export { default as __experimentalListViewEditor } from './list-view/editor';
export { default as MediaReplaceFlow } from './media-replace-flow';
export { default as MediaPlaceholder } from './media-placeholder';
export { default as MediaUpload } from './media-upload';
diff --git a/packages/block-editor/src/components/block-navigation/README.md b/packages/block-editor/src/components/list-view/README.md
similarity index 51%
rename from packages/block-editor/src/components/block-navigation/README.md
rename to packages/block-editor/src/components/list-view/README.md
index 9491b9ad7ef013..934bb5a47a13e2 100644
--- a/packages/block-editor/src/components/block-navigation/README.md
+++ b/packages/block-editor/src/components/list-view/README.md
@@ -1,13 +1,13 @@
# Block navigation
-The BlockNavigation component provides an overview of the hierarchical structure of all blocks in the editor. The blocks are presented vertically one below the other.
+The ListView component provides an overview of the hierarchical structure of all blocks in the editor. The blocks are presented vertically one below the other.
Blocks that have child blocks (such as group or column blocks) are presented with the parent at the top and the nested children below.
-In addition to presenting the structure of the blocks in the editor, the BlockNavigation component lets users navigate to each block by clicking on its line in the hierarchy tree.
+In addition to presenting the structure of the blocks in the editor, the ListView component lets users navigate to each block by clicking on its line in the hierarchy tree.
-![Block navigation](https://make.wordpress.org/core/files/2020/08/block-navigation.png)
-![View of a group block navigation](https://make.wordpress.org/core/files/2020/08/view-of-group-block-navigation.png)
+![List view](https://make.wordpress.org/core/files/2020/08/block-navigation.png)
+![View of a group list view](https://make.wordpress.org/core/files/2020/08/view-of-group-block-navigation.png)
## Table of contents
@@ -18,12 +18,12 @@ In addition to presenting the structure of the blocks in the editor, the BlockNa
### Usage
-Renders a block navigation with default syles.
+Renders a list view with default syles.
```jsx
-import { BlockNavigation } from '@wordpress/block-editor';
+import { ListView } from '@wordpress/block-editor';
-const MyNavigation = () => ;
+const MyNavigation = () => ;
```
## Related components
diff --git a/packages/block-editor/src/components/block-navigation/appender.js b/packages/block-editor/src/components/list-view/appender.js
similarity index 77%
rename from packages/block-editor/src/components/block-navigation/appender.js
rename to packages/block-editor/src/components/list-view/appender.js
index 92d60146ca9ba3..229a391856eecb 100644
--- a/packages/block-editor/src/components/block-navigation/appender.js
+++ b/packages/block-editor/src/components/list-view/appender.js
@@ -14,11 +14,11 @@ import { useSelect } from '@wordpress/data';
/**
* Internal dependencies
*/
-import BlockNavigationLeaf from './leaf';
+import ListViewLeaf from './leaf';
import Inserter from '../inserter';
import { store as blockEditorStore } from '../../store';
-export default function BlockNavigationAppender( {
+export default function ListViewAppender( {
parentBlockClientId,
position,
level,
@@ -38,8 +38,8 @@ export default function BlockNavigationAppender( {
},
[ parentBlockClientId ]
);
- const instanceId = useInstanceId( BlockNavigationAppender );
- const descriptionId = `block-navigation-appender-row__description_${ instanceId }`;
+ const instanceId = useInstanceId( ListViewAppender );
+ const descriptionId = `list-view-appender-row__description_${ instanceId }`;
const appenderPositionDescription = sprintf(
/* translators: 1: The numerical position of the block that will be inserted. 2: The level of nesting for the block that will be inserted. */
@@ -49,7 +49,7 @@ export default function BlockNavigationAppender( {
);
return (
-
{ ( { ref, tabIndex, onFocus } ) => (
-