Skip to content

Commit

Permalink
Editor: update npm packages for 6.7.1.
Browse files Browse the repository at this point in the history
Syncs Editor packages for WordPress 6.7.2 RC1. Includes the following PRs:

- PostTitle: exit early when post type doesn't support titles WordPress/gutenberg#67086
- Patterns: receive intermediate responses while unbound request is resolving WordPress/gutenberg#66713 WordPress/gutenberg#67244
- Fix: Show Meta Boxes at the bottom of the screen regardless of the current rendering mode WordPress/gutenberg#66508
- [6.7] Zoom in/out to correct location WordPress/gutenberg#66618
- Composite: Restore Hover and Typeahead functionality - Backport to 6.7.2 WordPress/gutenberg#67258
- Interactivity API: fix property modification backport to 6.7.2 WordPress/gutenberg#67259
- Fix unexpected unlock control in block toolbar in non-default editing mode WordPress/gutenberg#67121
- [WP 6.7] Fix meta boxes saving when they’re not present WordPress/gutenberg#67503
- iAPI: Fix the logic path that merges plain objects - Backport to 6.7.2 WordPress/gutenberg#68713
- e2e:fix WP Editor Meta Boxes test WordPress/gutenberg#68886
- Keep meta boxes unsplit from content in device preview https://github.com/WordPress/gutenberg/pull/68902s
- useFocusReturn: Get active element within the iframe when restoring focus WordPress/gutenberg#68060 WordPress/gutenberg#68200

Reviewed-by audrasjb.

Props 0mirka00, ajlende, cbravobernal, czapla, danielpost, darerodz, dpcalhoun, ellatrix, fabiankaegy, get_dave, gziolo, im3dabasia1, jameskoster, jeryj, jonsurrell, jorbin, jsnajdr, mamaduka, mayanktripathi32, mcsf, mt8biz, ndiego, parthvataliya, presstoke, santosguillamot, sathyapulse, tropicalista, tyxla, wildworks, youknowriad.
Fixes #62889.


Built from https://develop.svn.wordpress.org/branches/6.7@59762


git-svn-id: http://core.svn.wordpress.org/branches/6.7@59104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
aaronjorbin committed Feb 4, 2025
1 parent 1a47005 commit 7c8ee53
Show file tree
Hide file tree
Showing 61 changed files with 973 additions and 407 deletions.
2 changes: 1 addition & 1 deletion wp-includes/assets/script-loader-packages.min.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/assets/script-loader-packages.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/assets/script-modules-packages.min.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('interactivity/index.min.js' => array('dependencies' => array(), 'version' => '06b8f695ef48ab2d9277', 'type' => 'module'), 'interactivity/debug.min.js' => array('dependencies' => array(), 'version' => 'c77e5317ad566e76e750', 'type' => 'module'), 'interactivity-router/index.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => 'f01b88335afcef3dfc5d', 'type' => 'module'), 'a11y/index.min.js' => array('dependencies' => array(), 'version' => 'b7d06936b8bc23cff2ad', 'type' => 'module'), 'block-library/file/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'fdc2f6842e015af83140', 'type' => 'module'), 'block-library/image/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acfec7b3c0be4a859b31', 'type' => 'module'), 'block-library/navigation/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '8ff192874fc8910a284c', 'type' => 'module'), 'block-library/query/view.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => 'f4c91c89fa5271f3dad9', 'type' => 'module'), 'block-library/search/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '2a73400a693958f604de', 'type' => 'module'));
<?php return array('interactivity/index.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '907ea3b2f317a78b7b9b', 'type' => 'module'), 'interactivity/debug.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2da4e5c227d424f206e8', 'type' => 'module'), 'interactivity-router/index.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => 'f01b88335afcef3dfc5d', 'type' => 'module'), 'a11y/index.min.js' => array('dependencies' => array(), 'version' => 'b7d06936b8bc23cff2ad', 'type' => 'module'), 'block-library/file/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'fdc2f6842e015af83140', 'type' => 'module'), 'block-library/image/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acfec7b3c0be4a859b31', 'type' => 'module'), 'block-library/navigation/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '8ff192874fc8910a284c', 'type' => 'module'), 'block-library/query/view.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => 'f4c91c89fa5271f3dad9', 'type' => 'module'), 'block-library/search/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '2a73400a693958f604de', 'type' => 'module'));
2 changes: 1 addition & 1 deletion wp-includes/assets/script-modules-packages.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('interactivity/index.js' => array('dependencies' => array(), 'version' => 'd509fc21b652345db0b3', 'type' => 'module'), 'interactivity/debug.js' => array('dependencies' => array(), 'version' => 'd1c1c7faff86314c361a', 'type' => 'module'), 'interactivity-router/index.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => '4b36f376cc3aab08acca', 'type' => 'module'), 'a11y/index.js' => array('dependencies' => array(), 'version' => 'b3a7f46c0ef4f3484886', 'type' => 'module'), 'block-library/file/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'b0cd471b6fde34702d88', 'type' => 'module'), 'block-library/image/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'e1ce544dd878f3a09f70', 'type' => 'module'), 'block-library/navigation/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '9510985aedc1f8e088f3', 'type' => 'module'), 'block-library/query/view.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => '8e6f28f734f3c306b648', 'type' => 'module'), 'block-library/search/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acdb7febda1392ad28de', 'type' => 'module'));
<?php return array('interactivity/index.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6434abc611f955a997fe', 'type' => 'module'), 'interactivity/debug.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd1aa3776a8a1b1588997', 'type' => 'module'), 'interactivity-router/index.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => '4b36f376cc3aab08acca', 'type' => 'module'), 'a11y/index.js' => array('dependencies' => array(), 'version' => 'b3a7f46c0ef4f3484886', 'type' => 'module'), 'block-library/file/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'b0cd471b6fde34702d88', 'type' => 'module'), 'block-library/image/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'e1ce544dd878f3a09f70', 'type' => 'module'), 'block-library/navigation/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '9510985aedc1f8e088f3', 'type' => 'module'), 'block-library/query/view.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => '8e6f28f734f3c306b648', 'type' => 'module'), 'block-library/search/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acdb7febda1392ad28de', 'type' => 'module'));
2 changes: 1 addition & 1 deletion wp-includes/blocks/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ function block_core_navigation_add_directives_to_submenu( $tags, $block_attribut
) ) {
// Add directives to the parent `<li>`.
$tags->set_attribute( 'data-wp-interactive', 'core/navigation' );
$tags->set_attribute( 'data-wp-context', '{ "submenuOpenedBy": { "click": false, "hover": false, "focus": false }, "type": "submenu" }' );
$tags->set_attribute( 'data-wp-context', '{ "submenuOpenedBy": { "click": false, "hover": false, "focus": false }, "type": "submenu", "modal": null }' );
$tags->set_attribute( 'data-wp-watch', 'callbacks.initMenu' );
$tags->set_attribute( 'data-wp-on--focusout', 'actions.handleMenuFocusout' );
$tags->set_attribute( 'data-wp-on--keydown', 'actions.handleMenuKeydown' );
Expand Down
11 changes: 9 additions & 2 deletions wp-includes/css/dist/block-editor/content-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@

.block-editor-iframe__html{
transform-origin:top center;
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,scale 0s,padding 0s;
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,scale 0s,padding 0s,translate 0s;
}
@media (prefers-reduced-motion:reduce){
.block-editor-iframe__html{
Expand All @@ -644,7 +644,14 @@
}
}
.block-editor-iframe__html.zoom-out-animation{
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s;
bottom:0;
left:0;
overflow-y:scroll;
position:fixed;
right:0;
top:calc(var(--wp-block-editor-iframe-zoom-out-scroll-top, 0)*-1);
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,top 0s,bottom 0s,left 0s,right 0s;
translate:0 calc(var(--wp-block-editor-iframe-zoom-out-scroll-top, 0) - var(--wp-block-editor-iframe-zoom-out-scroll-top-next, 0));
}
@media (prefers-reduced-motion:reduce){
.block-editor-iframe__html.zoom-out-animation{
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/content-rtl.min.css

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions wp-includes/css/dist/block-editor/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@

.block-editor-iframe__html{
transform-origin:top center;
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,scale 0s,padding 0s;
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,scale 0s,padding 0s,translate 0s;
}
@media (prefers-reduced-motion:reduce){
.block-editor-iframe__html{
Expand All @@ -644,7 +644,14 @@
}
}
.block-editor-iframe__html.zoom-out-animation{
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s;
bottom:0;
left:0;
overflow-y:scroll;
position:fixed;
right:0;
top:calc(var(--wp-block-editor-iframe-zoom-out-scroll-top, 0)*-1);
transition:all .4s cubic-bezier(.46, .03, .52, .96),transform 0s,top 0s,bottom 0s,right 0s,left 0s;
translate:0 calc(var(--wp-block-editor-iframe-zoom-out-scroll-top, 0) - var(--wp-block-editor-iframe-zoom-out-scroll-top-next, 0));
}
@media (prefers-reduced-motion:reduce){
.block-editor-iframe__html.zoom-out-animation{
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/content.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions wp-includes/css/dist/block-editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1867,8 +1867,7 @@ iframe[name=editor-canvas]{

.block-editor-block-types-list__item-title{
font-size:12px;
-webkit-hyphens:auto;
hyphens:auto;
hyphens:auto;
padding:4px 2px 8px;
}

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style-rtl.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions wp-includes/css/dist/block-editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1867,8 +1867,7 @@ iframe[name=editor-canvas]{

.block-editor-block-types-list__item-title{
font-size:12px;
-webkit-hyphens:auto;
hyphens:auto;
hyphens:auto;
padding:4px 2px 8px;
}

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style.min.css

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions wp-includes/css/dist/edit-post/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,11 @@
clear:both;
}

.has-metaboxes .editor-visual-editor{
flex:1;
.has-metaboxes .interface-interface-skeleton__content:has(.edit-post-meta-boxes-main) .editor-visual-editor{
flex-basis:0%;
flex-shrink:1;
}

.has-metaboxes .editor-visual-editor.is-iframed{
isolation:isolate;
}
Expand Down
Loading

0 comments on commit 7c8ee53

Please sign in to comment.