diff --git a/packages/base-styles/_variables.scss b/packages/base-styles/_variables.scss
index 7f9590b678ccc..c55cc42da0783 100644
--- a/packages/base-styles/_variables.scss
+++ b/packages/base-styles/_variables.scss
@@ -56,6 +56,7 @@ $mobile-header-toolbar-height: 44px;
$mobile-floating-toolbar-height: 44px;
$mobile-floating-toolbar-margin: 8px;
$mobile-color-swatch: 48px;
+$header-toolbar-min-width: 335px;
/**
* Shadows.
diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss
index 5921179e6a7ce..1fc37f98fccd0 100644
--- a/packages/base-styles/_z-index.scss
+++ b/packages/base-styles/_z-index.scss
@@ -84,6 +84,12 @@ $z-layers: (
".edit-site-sidebar {greater than small}": 90,
".edit-widgets-sidebar {greater than small}": 90,
+ // Show interface skeleton footer above interface skeleton drawer
+ ".interface-interface-skeleton__footer": 90,
+
+ // Show the navigation toggle above the skeleton header
+ ".edit-site-navigation-toggle": 31,
+
// Show notices below expanded editor bar
// .edit-post-header { z-index: 30 }
".components-notice-list": 29,
diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js
index 8be26456d8d16..9d2bb47d17a90 100644
--- a/packages/edit-site/src/components/editor/index.js
+++ b/packages/edit-site/src/components/editor/index.js
@@ -37,9 +37,11 @@ import BlockEditor from '../block-editor';
import KeyboardShortcuts from '../keyboard-shortcuts';
import GlobalStylesProvider from './global-styles-provider';
import LeftSidebar from '../left-sidebar';
+import NavigationSidebar from '../navigation-sidebar';
const interfaceLabels = {
leftSidebar: __( 'Block Library' ),
+ drawer: __( 'Navigation Sidebar' ),
};
function Editor() {
@@ -209,6 +211,9 @@ function Editor() {
+ }
leftSidebar={
}
diff --git a/packages/edit-site/src/components/header/index.js b/packages/edit-site/src/components/header/index.js
index 059d0dcb938db..5f29e38517554 100644
--- a/packages/edit-site/src/components/header/index.js
+++ b/packages/edit-site/src/components/header/index.js
@@ -9,10 +9,7 @@ import {
__experimentalPreviewOptions as PreviewOptions,
} from '@wordpress/block-editor';
import { useSelect, useDispatch } from '@wordpress/data';
-import {
- PinnedItems,
- __experimentalMainDashboardButton as MainDashboardButton,
-} from '@wordpress/interface';
+import { PinnedItems } from '@wordpress/interface';
import { _x } from '@wordpress/i18n';
import { plus } from '@wordpress/icons';
import { Button } from '@wordpress/components';
@@ -25,39 +22,36 @@ import SaveButton from '../save-button';
import UndoButton from './undo-redo/undo';
import RedoButton from './undo-redo/redo';
import DocumentActions from './document-actions';
-import NavigationToggle from './navigation-toggle';
export default function Header( { openEntitiesSavedStates } ) {
- const {
- deviceType,
- hasFixedToolbar,
- template,
- isNavigationOpen,
- isInserterOpen,
- } = useSelect( ( select ) => {
- const {
- __experimentalGetPreviewDeviceType,
- isFeatureActive,
- getTemplateId,
- isNavigationOpened,
- isInserterOpened,
- } = select( 'core/edit-site' );
- const { getEntityRecord } = select( 'core' );
+ const { deviceType, hasFixedToolbar, template, isInserterOpen } = useSelect(
+ ( select ) => {
+ const {
+ __experimentalGetPreviewDeviceType,
+ isFeatureActive,
+ getTemplateId,
+ isInserterOpened,
+ } = select( 'core/edit-site' );
+ const { getEntityRecord } = select( 'core' );
- const _templateId = getTemplateId();
- return {
- deviceType: __experimentalGetPreviewDeviceType(),
- hasFixedToolbar: isFeatureActive( 'fixedToolbar' ),
- template: getEntityRecord( 'postType', 'wp_template', _templateId ),
- isNavigationOpen: isNavigationOpened(),
- isInserterOpen: isInserterOpened(),
- };
- }, [] );
+ const _templateId = getTemplateId();
+ return {
+ deviceType: __experimentalGetPreviewDeviceType(),
+ hasFixedToolbar: isFeatureActive( 'fixedToolbar' ),
+ template: getEntityRecord(
+ 'postType',
+ 'wp_template',
+ _templateId
+ ),
+ isInserterOpen: isInserterOpened(),
+ };
+ },
+ []
+ );
const {
__experimentalSetPreviewDeviceType: setPreviewDeviceType,
setIsInserterOpened,
- setIsNavigationPanelOpened,
} = useDispatch( 'core/edit-site' );
const isLargeViewport = useViewportMatch( 'medium' );
@@ -67,14 +61,6 @@ export default function Header( { openEntitiesSavedStates } ) {
return (
-
-
- setIsNavigationPanelOpened( ! isNavigationOpen )
- }
- />
-