@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/CHANGELOG.md +2 -0
- package/build/components/global-styles/screen-style-variations.js +0 -8
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/layout/index.js +1 -7
- package/build/components/layout/index.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +1 -9
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/layout/index.js +1 -7
- package/build-module/components/layout/index.js.map +1 -1
- package/build-style/posts-rtl.css +8 -4
- package/build-style/posts.css +8 -4
- package/build-style/style-rtl.css +8 -4
- package/build-style/style.css +8 -4
- package/package.json +41 -42
- package/src/components/global-styles/screen-style-variations.js +1 -7
- package/src/components/layout/index.js +0 -5
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.
|
|
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.
|
|
34
|
-
"@wordpress/api-fetch": "^7.
|
|
35
|
-
"@wordpress/blob": "^4.
|
|
36
|
-
"@wordpress/block-editor": "^15.
|
|
37
|
-
"@wordpress/block-library": "^9.
|
|
38
|
-
"@wordpress/blocks": "^15.
|
|
39
|
-
"@wordpress/commands": "^1.
|
|
40
|
-
"@wordpress/components": "^30.2.
|
|
41
|
-
"@wordpress/compose": "^7.
|
|
42
|
-
"@wordpress/core-
|
|
43
|
-
"@wordpress/
|
|
44
|
-
"@wordpress/
|
|
45
|
-
"@wordpress/
|
|
46
|
-
"@wordpress/
|
|
47
|
-
"@wordpress/
|
|
48
|
-
"@wordpress/
|
|
49
|
-
"@wordpress/
|
|
50
|
-
"@wordpress/
|
|
51
|
-
"@wordpress/
|
|
52
|
-
"@wordpress/
|
|
53
|
-
"@wordpress/
|
|
54
|
-
"@wordpress/
|
|
55
|
-
"@wordpress/
|
|
56
|
-
"@wordpress/
|
|
57
|
-
"@wordpress/
|
|
58
|
-
"@wordpress/
|
|
59
|
-
"@wordpress/
|
|
60
|
-
"@wordpress/
|
|
61
|
-
"@wordpress/
|
|
62
|
-
"@wordpress/
|
|
63
|
-
"@wordpress/
|
|
64
|
-
"@wordpress/
|
|
65
|
-
"@wordpress/
|
|
66
|
-
"@wordpress/
|
|
67
|
-
"@wordpress/
|
|
68
|
-
"@wordpress/
|
|
69
|
-
"@wordpress/
|
|
70
|
-
"@wordpress/
|
|
71
|
-
"@wordpress/
|
|
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": "
|
|
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
|
|
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 }
|