@wordpress/edit-site 6.30.0 → 6.30.1-next.6870dfe5b.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.30.0",
3
+ "version": "6.30.1-next.6870dfe5b.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,45 +30,45 @@
30
30
  "dependencies": {
31
31
  "@babel/runtime": "7.25.7",
32
32
  "@react-spring/web": "^9.4.5",
33
- "@wordpress/a11y": "^4.30.0",
34
- "@wordpress/api-fetch": "^7.30.0",
35
- "@wordpress/blob": "^4.30.0",
36
- "@wordpress/block-editor": "^15.3.0",
37
- "@wordpress/block-library": "^9.30.0",
38
- "@wordpress/blocks": "^15.3.0",
39
- "@wordpress/commands": "^1.30.0",
40
- "@wordpress/components": "^30.3.0",
41
- "@wordpress/compose": "^7.30.0",
42
- "@wordpress/core-data": "^7.30.0",
43
- "@wordpress/data": "^10.30.0",
44
- "@wordpress/dataviews": "^8.0.0",
45
- "@wordpress/date": "^5.30.0",
46
- "@wordpress/deprecated": "^4.30.0",
47
- "@wordpress/dom": "^4.30.0",
48
- "@wordpress/editor": "^14.30.0",
49
- "@wordpress/element": "^6.30.0",
50
- "@wordpress/escape-html": "^3.30.0",
51
- "@wordpress/fields": "^0.22.0",
52
- "@wordpress/hooks": "^4.30.0",
53
- "@wordpress/html-entities": "^4.30.0",
54
- "@wordpress/i18n": "^6.3.0",
55
- "@wordpress/icons": "^10.30.0",
56
- "@wordpress/keyboard-shortcuts": "^5.30.0",
57
- "@wordpress/keycodes": "^4.30.0",
58
- "@wordpress/media-utils": "^5.30.0",
59
- "@wordpress/notices": "^5.30.0",
60
- "@wordpress/patterns": "^2.30.0",
61
- "@wordpress/plugins": "^7.30.0",
62
- "@wordpress/preferences": "^4.30.0",
63
- "@wordpress/primitives": "^4.30.0",
64
- "@wordpress/private-apis": "^1.30.0",
65
- "@wordpress/reusable-blocks": "^5.30.0",
66
- "@wordpress/router": "^1.30.0",
67
- "@wordpress/style-engine": "^2.30.0",
68
- "@wordpress/url": "^4.30.0",
69
- "@wordpress/viewport": "^6.30.0",
70
- "@wordpress/widgets": "^4.30.0",
71
- "@wordpress/wordcount": "^4.30.0",
33
+ "@wordpress/a11y": "^4.30.1-next.6870dfe5b.0",
34
+ "@wordpress/api-fetch": "^7.30.1-next.6870dfe5b.0",
35
+ "@wordpress/blob": "^4.30.1-next.6870dfe5b.0",
36
+ "@wordpress/block-editor": "^15.3.1-next.6870dfe5b.0",
37
+ "@wordpress/block-library": "^9.30.1-next.6870dfe5b.0",
38
+ "@wordpress/blocks": "^15.3.1-next.6870dfe5b.0",
39
+ "@wordpress/commands": "^1.30.1-next.6870dfe5b.0",
40
+ "@wordpress/components": "^30.3.2-next.6870dfe5b.0",
41
+ "@wordpress/compose": "^7.30.1-next.6870dfe5b.0",
42
+ "@wordpress/core-data": "^7.30.1-next.6870dfe5b.0",
43
+ "@wordpress/data": "^10.30.1-next.6870dfe5b.0",
44
+ "@wordpress/dataviews": "^9.0.1-next.6870dfe5b.0",
45
+ "@wordpress/date": "^5.30.1-next.6870dfe5b.0",
46
+ "@wordpress/deprecated": "^4.30.1-next.6870dfe5b.0",
47
+ "@wordpress/dom": "^4.30.1-next.6870dfe5b.0",
48
+ "@wordpress/editor": "^14.30.1-next.6870dfe5b.0",
49
+ "@wordpress/element": "^6.30.1-next.6870dfe5b.0",
50
+ "@wordpress/escape-html": "^3.30.1-next.6870dfe5b.0",
51
+ "@wordpress/fields": "^0.22.1-next.6870dfe5b.0",
52
+ "@wordpress/hooks": "^4.30.1-next.6870dfe5b.0",
53
+ "@wordpress/html-entities": "^4.30.1-next.6870dfe5b.0",
54
+ "@wordpress/i18n": "^6.3.1-next.6870dfe5b.0",
55
+ "@wordpress/icons": "^10.30.1-next.6870dfe5b.0",
56
+ "@wordpress/keyboard-shortcuts": "^5.30.1-next.6870dfe5b.0",
57
+ "@wordpress/keycodes": "^4.30.1-next.6870dfe5b.0",
58
+ "@wordpress/media-utils": "^5.30.1-next.6870dfe5b.0",
59
+ "@wordpress/notices": "^5.30.1-next.6870dfe5b.0",
60
+ "@wordpress/patterns": "^2.30.1-next.6870dfe5b.0",
61
+ "@wordpress/plugins": "^7.30.1-next.6870dfe5b.0",
62
+ "@wordpress/preferences": "^4.30.1-next.6870dfe5b.0",
63
+ "@wordpress/primitives": "^4.30.1-next.6870dfe5b.0",
64
+ "@wordpress/private-apis": "^1.30.1-next.6870dfe5b.0",
65
+ "@wordpress/reusable-blocks": "^5.30.1-next.6870dfe5b.0",
66
+ "@wordpress/router": "^1.30.1-next.6870dfe5b.0",
67
+ "@wordpress/style-engine": "^2.30.1-next.6870dfe5b.0",
68
+ "@wordpress/url": "^4.30.1-next.6870dfe5b.0",
69
+ "@wordpress/viewport": "^6.30.1-next.6870dfe5b.0",
70
+ "@wordpress/widgets": "^4.30.1-next.6870dfe5b.0",
71
+ "@wordpress/wordcount": "^4.30.1-next.6870dfe5b.0",
72
72
  "change-case": "^4.1.2",
73
73
  "clsx": "^2.1.1",
74
74
  "colord": "^2.9.2",
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "c66cb089eed19d4f4956962fa7b4c81abe6dd513"
86
+ "gitHead": "c8637da9df499cd7b6b07c9fad918f6d45f4de3d"
87
87
  }
@@ -16,7 +16,6 @@ import { isRTL, __ } from '@wordpress/i18n';
16
16
  import { chevronLeft, chevronRight } from '@wordpress/icons';
17
17
  import { useSelect } from '@wordpress/data';
18
18
  import { store as coreStore } from '@wordpress/core-data';
19
- import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
20
19
 
21
20
  /**
22
21
  * Internal dependencies
@@ -25,13 +24,8 @@ import { IconWithCurrentColor } from './icon-with-current-color';
25
24
  import { NavigationButtonAsItem } from './navigation-button';
26
25
  import RootMenu from './root-menu';
27
26
  import PreviewStyles from './preview-styles';
28
- import { unlock } from '../../lock-unlock';
29
-
30
- const { useGlobalStyle } = unlock( blockEditorPrivateApis );
31
27
 
32
28
  function ScreenRoot() {
33
- const [ customCSS ] = useGlobalStyle( 'css' );
34
-
35
29
  const { hasVariations, canEditCSS } = useSelect( ( select ) => {
36
30
  const {
37
31
  getEntityRecord,
@@ -116,7 +110,7 @@ function ScreenRoot() {
116
110
  </ItemGroup>
117
111
  </CardBody>
118
112
 
119
- { canEditCSS && !! customCSS && (
113
+ { canEditCSS && (
120
114
  <>
121
115
  <CardDivider />
122
116
  <CardBody>
@@ -200,7 +200,6 @@ function getItemLevel( item ) {
200
200
 
201
201
  export default function PostList( { postType } ) {
202
202
  const [ view, setView ] = useView( postType );
203
- const defaultViews = useDefaultViews( { postType } );
204
203
  const history = useHistory();
205
204
  const location = useLocation();
206
205
  const {
@@ -266,7 +265,7 @@ export default function PostList( { postType } ) {
266
265
  search: view.search,
267
266
  ...filters,
268
267
  };
269
- }, [ view, activeView, defaultViews ] );
268
+ }, [ view ] );
270
269
  const {
271
270
  records,
272
271
  isResolving: isLoadingData,