Editor: Update of npm packages after 6.4 RC3.

This update includes the following fixes reported after RC3:

* Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types].

Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern.

For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2.

This package update resolves the console error raised:
{{{
Uncaught TypeError: select(...).getCurrentTheme() is undefined 
}}}
which restores the rendering of the pattern template.

* Regression: [https://github.com/WordPress/gutenberg/pull/55859  Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4.

Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816].

Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya.
Fixes #59411.

git-svn-id: https://develop.svn.wordpress.org/trunk@57063 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork 2023-11-05 17:13:48 +00:00
parent 57d8eef46b
commit f9429d5f93
6 changed files with 1557 additions and 1578 deletions

2984
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -27,11 +27,11 @@
"@lodder/grunt-postcss": "^3.1.1",
"@playwright/test": "1.32.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@wordpress/babel-preset-default": "7.26.11",
"@wordpress/dependency-extraction-webpack-plugin": "4.25.11",
"@wordpress/e2e-test-utils": "10.13.11",
"@wordpress/e2e-test-utils-playwright": "0.10.11",
"@wordpress/scripts": "26.13.11",
"@wordpress/babel-preset-default": "7.26.12",
"@wordpress/dependency-extraction-webpack-plugin": "4.25.12",
"@wordpress/e2e-test-utils": "10.13.12",
"@wordpress/e2e-test-utils-playwright": "0.10.12",
"@wordpress/scripts": "26.13.12",
"autoprefixer": "10.4.16",
"chalk": "5.3.0",
"check-node-version": "4.2.1",
@ -79,70 +79,70 @@
"dependencies": {
"@emotion/is-prop-valid": "0.8.8",
"@emotion/memoize": "0.7.4",
"@wordpress/a11y": "3.42.11",
"@wordpress/annotations": "2.42.11",
"@wordpress/api-fetch": "6.39.11",
"@wordpress/autop": "3.42.11",
"@wordpress/blob": "3.42.11",
"@wordpress/block-directory": "4.19.11",
"@wordpress/block-editor": "12.10.11",
"@wordpress/block-library": "8.19.11",
"@wordpress/block-serialization-default-parser": "4.42.11",
"@wordpress/blocks": "12.19.11",
"@wordpress/commands": "0.13.11",
"@wordpress/components": "25.8.11",
"@wordpress/compose": "6.19.11",
"@wordpress/core-commands": "0.11.11",
"@wordpress/core-data": "6.19.11",
"@wordpress/customize-widgets": "4.19.11",
"@wordpress/data": "9.12.11",
"@wordpress/data-controls": "3.11.11",
"@wordpress/date": "4.42.11",
"@wordpress/deprecated": "3.42.11",
"@wordpress/dom": "3.42.11",
"@wordpress/dom-ready": "3.42.11",
"@wordpress/edit-post": "7.19.11",
"@wordpress/edit-site": "5.19.11",
"@wordpress/edit-widgets": "5.19.11",
"@wordpress/editor": "13.19.11",
"@wordpress/element": "5.19.11",
"@wordpress/escape-html": "2.42.11",
"@wordpress/format-library": "4.19.11",
"@wordpress/hooks": "3.42.11",
"@wordpress/html-entities": "3.42.11",
"@wordpress/i18n": "4.42.11",
"@wordpress/icons": "9.33.11",
"@wordpress/interactivity": "2.3.11",
"@wordpress/interface": "5.19.11",
"@wordpress/is-shallow-equal": "4.42.11",
"@wordpress/keyboard-shortcuts": "4.19.11",
"@wordpress/keycodes": "3.42.11",
"@wordpress/list-reusable-blocks": "4.19.11",
"@wordpress/media-utils": "4.33.11",
"@wordpress/notices": "4.10.11",
"@wordpress/nux": "8.4.11",
"@wordpress/patterns": "1.3.11",
"@wordpress/plugins": "6.10.11",
"@wordpress/preferences": "3.19.11",
"@wordpress/preferences-persistence": "1.34.11",
"@wordpress/primitives": "3.40.11",
"@wordpress/priority-queue": "2.42.11",
"@wordpress/private-apis": "0.24.11",
"@wordpress/redux-routine": "4.42.11",
"@wordpress/reusable-blocks": "4.19.11",
"@wordpress/rich-text": "6.19.11",
"@wordpress/router": "0.11.11",
"@wordpress/server-side-render": "4.19.11",
"@wordpress/shortcode": "3.42.11",
"@wordpress/style-engine": "1.25.11",
"@wordpress/sync": "0.4.11",
"@wordpress/token-list": "2.42.11",
"@wordpress/undo-manager": "0.2.11",
"@wordpress/url": "3.43.11",
"@wordpress/viewport": "5.19.11",
"@wordpress/warning": "2.42.11",
"@wordpress/widgets": "3.19.11",
"@wordpress/wordcount": "3.42.11",
"@wordpress/a11y": "3.42.12",
"@wordpress/annotations": "2.42.12",
"@wordpress/api-fetch": "6.39.12",
"@wordpress/autop": "3.42.12",
"@wordpress/blob": "3.42.12",
"@wordpress/block-directory": "4.19.12",
"@wordpress/block-editor": "12.10.12",
"@wordpress/block-library": "8.19.12",
"@wordpress/block-serialization-default-parser": "4.42.12",
"@wordpress/blocks": "12.19.12",
"@wordpress/commands": "0.13.12",
"@wordpress/components": "25.8.12",
"@wordpress/compose": "6.19.12",
"@wordpress/core-commands": "0.11.12",
"@wordpress/core-data": "6.19.12",
"@wordpress/customize-widgets": "4.19.12",
"@wordpress/data": "9.12.12",
"@wordpress/data-controls": "3.11.12",
"@wordpress/date": "4.42.12",
"@wordpress/deprecated": "3.42.12",
"@wordpress/dom": "3.42.12",
"@wordpress/dom-ready": "3.42.12",
"@wordpress/edit-post": "7.19.12",
"@wordpress/edit-site": "5.19.12",
"@wordpress/edit-widgets": "5.19.12",
"@wordpress/editor": "13.19.12",
"@wordpress/element": "5.19.12",
"@wordpress/escape-html": "2.42.12",
"@wordpress/format-library": "4.19.12",
"@wordpress/hooks": "3.42.12",
"@wordpress/html-entities": "3.42.12",
"@wordpress/i18n": "4.42.12",
"@wordpress/icons": "9.33.12",
"@wordpress/interactivity": "2.3.12",
"@wordpress/interface": "5.19.12",
"@wordpress/is-shallow-equal": "4.42.12",
"@wordpress/keyboard-shortcuts": "4.19.12",
"@wordpress/keycodes": "3.42.12",
"@wordpress/list-reusable-blocks": "4.19.12",
"@wordpress/media-utils": "4.33.12",
"@wordpress/notices": "4.10.12",
"@wordpress/nux": "8.4.12",
"@wordpress/patterns": "1.3.12",
"@wordpress/plugins": "6.10.12",
"@wordpress/preferences": "3.19.12",
"@wordpress/preferences-persistence": "1.34.12",
"@wordpress/primitives": "3.40.12",
"@wordpress/priority-queue": "2.42.12",
"@wordpress/private-apis": "0.24.12",
"@wordpress/redux-routine": "4.42.12",
"@wordpress/reusable-blocks": "4.19.12",
"@wordpress/rich-text": "6.19.12",
"@wordpress/router": "0.11.12",
"@wordpress/server-side-render": "4.19.12",
"@wordpress/shortcode": "3.42.12",
"@wordpress/style-engine": "1.25.12",
"@wordpress/sync": "0.4.12",
"@wordpress/token-list": "2.42.12",
"@wordpress/undo-manager": "0.2.12",
"@wordpress/url": "3.43.12",
"@wordpress/viewport": "5.19.12",
"@wordpress/warning": "2.42.12",
"@wordpress/widgets": "3.19.12",
"@wordpress/wordcount": "3.42.12",
"backbone": "1.5.0",
"clipboard": "2.0.11",
"core-js-url-browser": "3.6.4",

File diff suppressed because one or more lines are too long

View File

@ -242,10 +242,9 @@ function block_core_image_render_lightbox( $block_content, $block ) {
data-wp-on--click="actions.core.image.showLightbox"
data-wp-style--right="context.core.image.imageButtonRight"
data-wp-style--top="context.core.image.imageButtonTop"
style="background: #000"
>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true" focusable="false">
<Path stroke="#FFFFFF" d="M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z" />
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
</svg>
</button>';
@ -303,7 +302,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
}
}
$close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="15" height="15" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg>';
$close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg>';
$close_button_label = esc_attr__( 'Close' );
$lightbox_html = <<<HTML

View File

@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'dbfcc21fbb5399dd36c8');
<?php return array('dependencies' => array(), 'version' => '62ff3b968891a0e3ca3a');

View File

@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => '1617ea85b28841341ef7');
<?php return array('dependencies' => array(), 'version' => '32caaf5e7c6834efef4c');