@wordpress/edit-site 6.28.1-next.0f6f9d12c.0 → 6.29.1-next.e256d081a.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-site",
3
- "version": "6.28.1-next.0f6f9d12c.0",
3
+ "version": "6.29.1-next.e256d081a.0",
4
4
  "description": "Edit Site Page module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,46 +30,45 @@
30
30
  "dependencies": {
31
31
  "@babel/runtime": "7.25.7",
32
32
  "@react-spring/web": "^9.4.5",
33
- "@wordpress/a11y": "^4.28.1-next.0f6f9d12c.0",
34
- "@wordpress/api-fetch": "^7.28.1-next.0f6f9d12c.0",
35
- "@wordpress/blob": "^4.28.1-next.0f6f9d12c.0",
36
- "@wordpress/block-editor": "^15.1.1-next.0f6f9d12c.0",
37
- "@wordpress/block-library": "^9.28.1-next.0f6f9d12c.0",
38
- "@wordpress/blocks": "^15.1.1-next.0f6f9d12c.0",
39
- "@wordpress/commands": "^1.28.1-next.0f6f9d12c.0",
40
- "@wordpress/components": "^30.2.1-next.0f6f9d12c.0",
41
- "@wordpress/compose": "^7.28.1-next.0f6f9d12c.0",
42
- "@wordpress/core-commands": "^1.28.1-next.0f6f9d12c.0",
43
- "@wordpress/core-data": "^7.28.1-next.0f6f9d12c.0",
44
- "@wordpress/data": "^10.28.1-next.0f6f9d12c.0",
45
- "@wordpress/dataviews": "^7.0.1-next.0f6f9d12c.0",
46
- "@wordpress/date": "^5.28.1-next.0f6f9d12c.0",
47
- "@wordpress/deprecated": "^4.28.1-next.0f6f9d12c.0",
48
- "@wordpress/dom": "^4.28.1-next.0f6f9d12c.0",
49
- "@wordpress/editor": "^14.28.1-next.0f6f9d12c.0",
50
- "@wordpress/element": "^6.28.1-next.0f6f9d12c.0",
51
- "@wordpress/escape-html": "^3.28.1-next.0f6f9d12c.0",
52
- "@wordpress/fields": "^0.20.1-next.0f6f9d12c.0",
53
- "@wordpress/hooks": "^4.28.1-next.0f6f9d12c.0",
54
- "@wordpress/html-entities": "^4.28.1-next.0f6f9d12c.0",
55
- "@wordpress/i18n": "^6.1.1-next.0f6f9d12c.0",
56
- "@wordpress/icons": "^10.28.2-next.0f6f9d12c.0",
57
- "@wordpress/keyboard-shortcuts": "^5.28.1-next.0f6f9d12c.0",
58
- "@wordpress/keycodes": "^4.28.1-next.0f6f9d12c.0",
59
- "@wordpress/media-utils": "^5.28.1-next.0f6f9d12c.0",
60
- "@wordpress/notices": "^5.28.1-next.0f6f9d12c.0",
61
- "@wordpress/patterns": "^2.28.1-next.0f6f9d12c.0",
62
- "@wordpress/plugins": "^7.28.1-next.0f6f9d12c.0",
63
- "@wordpress/preferences": "^4.28.1-next.0f6f9d12c.0",
64
- "@wordpress/primitives": "^4.28.1-next.0f6f9d12c.0",
65
- "@wordpress/private-apis": "^1.28.1-next.0f6f9d12c.0",
66
- "@wordpress/reusable-blocks": "^5.28.1-next.0f6f9d12c.0",
67
- "@wordpress/router": "^1.28.1-next.0f6f9d12c.0",
68
- "@wordpress/style-engine": "^2.28.1-next.0f6f9d12c.0",
69
- "@wordpress/url": "^4.28.1-next.0f6f9d12c.0",
70
- "@wordpress/viewport": "^6.28.1-next.0f6f9d12c.0",
71
- "@wordpress/widgets": "^4.28.1-next.0f6f9d12c.0",
72
- "@wordpress/wordcount": "^4.28.1-next.0f6f9d12c.0",
33
+ "@wordpress/a11y": "^4.29.1-next.e256d081a.0",
34
+ "@wordpress/api-fetch": "^7.29.1-next.e256d081a.0",
35
+ "@wordpress/blob": "^4.29.1-next.e256d081a.0",
36
+ "@wordpress/block-editor": "^15.2.1-next.e256d081a.0",
37
+ "@wordpress/block-library": "^9.29.1-next.e256d081a.0",
38
+ "@wordpress/blocks": "^15.2.1-next.e256d081a.0",
39
+ "@wordpress/commands": "^1.29.1-next.e256d081a.0",
40
+ "@wordpress/components": "^30.2.2-next.e256d081a.0",
41
+ "@wordpress/compose": "^7.29.1-next.e256d081a.0",
42
+ "@wordpress/core-data": "^7.29.1-next.e256d081a.0",
43
+ "@wordpress/data": "^10.29.1-next.e256d081a.0",
44
+ "@wordpress/dataviews": "^8.0.1-next.e256d081a.0",
45
+ "@wordpress/date": "^5.30.1-next.e256d081a.0",
46
+ "@wordpress/deprecated": "^4.29.1-next.e256d081a.0",
47
+ "@wordpress/dom": "^4.29.1-next.e256d081a.0",
48
+ "@wordpress/editor": "^14.29.1-next.e256d081a.0",
49
+ "@wordpress/element": "^6.29.1-next.e256d081a.0",
50
+ "@wordpress/escape-html": "^3.29.1-next.e256d081a.0",
51
+ "@wordpress/fields": "^0.21.1-next.e256d081a.0",
52
+ "@wordpress/hooks": "^4.29.1-next.e256d081a.0",
53
+ "@wordpress/html-entities": "^4.29.1-next.e256d081a.0",
54
+ "@wordpress/i18n": "^6.2.1-next.e256d081a.0",
55
+ "@wordpress/icons": "^10.29.1-next.e256d081a.0",
56
+ "@wordpress/keyboard-shortcuts": "^5.29.1-next.e256d081a.0",
57
+ "@wordpress/keycodes": "^4.29.1-next.e256d081a.0",
58
+ "@wordpress/media-utils": "^5.29.1-next.e256d081a.0",
59
+ "@wordpress/notices": "^5.29.1-next.e256d081a.0",
60
+ "@wordpress/patterns": "^2.29.1-next.e256d081a.0",
61
+ "@wordpress/plugins": "^7.29.1-next.e256d081a.0",
62
+ "@wordpress/preferences": "^4.29.1-next.e256d081a.0",
63
+ "@wordpress/primitives": "^4.29.1-next.e256d081a.0",
64
+ "@wordpress/private-apis": "^1.29.1-next.e256d081a.0",
65
+ "@wordpress/reusable-blocks": "^5.29.1-next.e256d081a.0",
66
+ "@wordpress/router": "^1.29.1-next.e256d081a.0",
67
+ "@wordpress/style-engine": "^2.29.1-next.e256d081a.0",
68
+ "@wordpress/url": "^4.29.1-next.e256d081a.0",
69
+ "@wordpress/viewport": "^6.29.1-next.e256d081a.0",
70
+ "@wordpress/widgets": "^4.29.1-next.e256d081a.0",
71
+ "@wordpress/wordcount": "^4.29.1-next.e256d081a.0",
73
72
  "change-case": "^4.1.2",
74
73
  "clsx": "^2.1.1",
75
74
  "colord": "^2.9.2",
@@ -84,5 +83,5 @@
84
83
  "publishConfig": {
85
84
  "access": "public"
86
85
  },
87
- "gitHead": "7d4f4367e2f76deddf4a09b540e6b2f9f4c3fe9f"
86
+ "gitHead": "7d529ba9a461795d5f1572d3856de33f744287c2"
88
87
  }
@@ -6,10 +6,8 @@ import {
6
6
  store as blockEditorStore,
7
7
  } from '@wordpress/block-editor';
8
8
  import { Card, CardBody } from '@wordpress/components';
9
- import { useSelect, useDispatch } from '@wordpress/data';
9
+ import { useSelect } from '@wordpress/data';
10
10
  import { __ } from '@wordpress/i18n';
11
- import { store as editorStore } from '@wordpress/editor';
12
- import { useEffect } from '@wordpress/element';
13
11
 
14
12
  /**
15
13
  * Internal dependencies
@@ -27,11 +25,7 @@ function ScreenStyleVariations() {
27
25
  const isPreviewMode = useSelect( ( select ) => {
28
26
  return select( blockEditorStore ).getSettings().isPreviewMode;
29
27
  }, [] );
30
- const { setDeviceType } = useDispatch( editorStore );
31
28
  useZoomOut( ! isPreviewMode );
32
- useEffect( () => {
33
- setDeviceType( 'desktop' );
34
- }, [ setDeviceType ] );
35
29
 
36
30
  return (
37
31
  <>
@@ -20,7 +20,6 @@ import {
20
20
  } from '@wordpress/compose';
21
21
  import { __, sprintf } from '@wordpress/i18n';
22
22
  import { useState, useRef, useEffect } from '@wordpress/element';
23
- import { CommandMenu } from '@wordpress/commands';
24
23
  import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
25
24
  import {
26
25
  EditorSnackbars,
@@ -28,7 +27,6 @@ import {
28
27
  ErrorBoundary,
29
28
  privateApis as editorPrivateApis,
30
29
  } from '@wordpress/editor';
31
- import { privateApis as coreCommandsPrivateApis } from '@wordpress/core-commands';
32
30
  import { privateApis as routerPrivateApis } from '@wordpress/router';
33
31
  import { PluginArea } from '@wordpress/plugins';
34
32
  import { store as noticesStore } from '@wordpress/notices';
@@ -48,7 +46,6 @@ import { SidebarContent, SidebarNavigationProvider } from '../sidebar';
48
46
  import SaveHub from '../save-hub';
49
47
  import SavePanel from '../save-panel';
50
48
 
51
- const { useCommands } = unlock( coreCommandsPrivateApis );
52
49
  const { useGlobalStyle } = unlock( blockEditorPrivateApis );
53
50
  const { NavigableRegion, GlobalStylesProvider } = unlock( editorPrivateApis );
54
51
  const { useLocation } = unlock( routerPrivateApis );
@@ -58,7 +55,6 @@ const ANIMATION_DURATION = 0.3;
58
55
  function Layout() {
59
56
  const { query, name: routeKey, areas, widths } = useLocation();
60
57
  const { canvas = 'view' } = query;
61
- useCommands();
62
58
  const isMobileViewport = useViewportMatch( 'medium', '<' );
63
59
  const toggleRef = useRef();
64
60
  const navigateRegionsProps = useNavigateRegions();
@@ -93,7 +89,6 @@ function Layout() {
93
89
  return (
94
90
  <>
95
91
  <UnsavedChangesWarning />
96
- <CommandMenu />
97
92
  { canvas === 'view' && <SaveKeyboardShortcut /> }
98
93
  <div
99
94
  { ...navigateRegionsProps }