Skip to content

Commit

Permalink
Update editor related npm packages for 6.4 RC3.
Browse files Browse the repository at this point in the history
The npm packages needed update for 6.4 RC3.

Patch: WordPress/wordpress-develop#5587.
This PR includes the following changes:

- Regression: [WordPress/gutenberg#55553 Patterns: fix bug with authors and contributors not seeing user pattern categories].
- Bugfix: [WordPress/gutenberg#55539 Query Loop:Disallow "enhanced pagination" with core blocks that may contain third-party blocks].
- Regression: [WordPress/gutenberg#55667 File: Fix embedded PDF files in Safari].
- Regression: [WordPress/gutenberg#55669 Ensure Term Description block is registered in core]

Props DAreRodz, luisherranz, poena, afercia, danieldudzic, hellofromtonya, siobhyb, mikachan, get_dave, scruffian, wildworks, glendaviesnz, ramonopoly, aaronrobertshaw.

See #59411.

Built from https://develop.svn.wordpress.org/trunk@57034


git-svn-id: https://core.svn.wordpress.org/trunk@56545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
karmatosed committed Oct 31, 2023
1 parent 9b5b139 commit 4419e55
Show file tree
Hide file tree
Showing 31 changed files with 258 additions and 187 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.

3 changes: 2 additions & 1 deletion wp-includes/blocks/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ static function ( $matches ) {
$processor->next_tag();
$processor->set_attribute( 'data-wp-interactive', '' );
$processor->next_tag( 'object' );
$processor->set_attribute( 'data-wp-style--display', 'selectors.core.file.hasPdfPreview' );
$processor->set_attribute( 'data-wp-bind--hidden', '!selectors.core.file.hasPdfPreview' );
$processor->set_attribute( 'hidden', true );
return $processor->get_updated_html();
}

Expand Down
5 changes: 0 additions & 5 deletions wp-includes/blocks/file/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
margin-bottom:1em;
}

@media (max-width:768px){
.wp-block-file__embed{
display:none;
}
}
:where(.wp-block-file__button){
border-radius:2em;
display:inline-block;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/blocks/file/style-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions wp-includes/blocks/file/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
margin-bottom:1em;
}

@media (max-width:768px){
.wp-block-file__embed{
display:none;
}
}
:where(.wp-block-file__button){
border-radius:2em;
display:inline-block;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/blocks/file/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wp-includes/blocks/file/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fb3967e9bafc6e7ca2eb');
<?php return array('dependencies' => array(), 'version' => '3fd0154de23a0ecc28af');
2 changes: 1 addition & 1 deletion wp-includes/blocks/file/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const createActiveXObject = type => {
selectors: {
core: {
file: {
hasPdfPreview: browserSupportsPdfs() ? 'inherit' : 'none'
hasPdfPreview: browserSupportsPdfs
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/blocks/file/view.min.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'cf908645ea0e9c064392');
<?php return array('dependencies' => array(), 'version' => '8a0237493a27c0d781aa');
2 changes: 1 addition & 1 deletion wp-includes/blocks/file/view.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions wp-includes/blocks/require-dynamic-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@
require_once ABSPATH . WPINC . '/blocks/social-link.php';
require_once ABSPATH . WPINC . '/blocks/tag-cloud.php';
require_once ABSPATH . WPINC . '/blocks/template-part.php';
require_once ABSPATH . WPINC . '/blocks/term-description.php';
9 changes: 9 additions & 0 deletions wp-includes/blocks/term-description/style-rtl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:where(.wp-block-term-description){
margin-bottom:var(--wp--style--block-gap);
margin-top:var(--wp--style--block-gap);
}

.wp-block-term-description p{
margin-bottom:0;
margin-top:0;
}
1 change: 1 addition & 0 deletions wp-includes/blocks/term-description/style-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions wp-includes/blocks/term-description/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:where(.wp-block-term-description){
margin-bottom:var(--wp--style--block-gap);
margin-top:var(--wp--style--block-gap);
}

.wp-block-term-description p{
margin-bottom:0;
margin-top:0;
}
1 change: 1 addition & 0 deletions wp-includes/blocks/term-description/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions wp-includes/css/dist/block-editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@
z-index:1;
}

.block-editor-block-rename-modal{
z-index:1000001;
}

.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{
padding:0;
}
Expand Down Expand Up @@ -3111,10 +3115,6 @@
.typography-block-support-panel .single-column{
grid-column:span 1;
}

.block-editor-block-rename-modal{
z-index:1000001;
}
.block-editor-block-toolbar{
display:flex;
flex-grow:1;
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.

8 changes: 4 additions & 4 deletions wp-includes/css/dist/block-editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@
z-index:1;
}

.block-editor-block-rename-modal{
z-index:1000001;
}

.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{
padding:0;
}
Expand Down Expand Up @@ -3111,10 +3115,6 @@
.typography-block-support-panel .single-column{
grid-column:span 1;
}

.block-editor-block-rename-modal{
z-index:1000001;
}
.block-editor-block-toolbar{
display:flex;
flex-grow:1;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style.min.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions wp-includes/css/dist/block-library/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -816,11 +816,6 @@
margin-bottom:1em;
}

@media (max-width:768px){
.wp-block-file__embed{
display:none;
}
}
:where(.wp-block-file__button){
border-radius:2em;
display:inline-block;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style-rtl.min.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions wp-includes/css/dist/block-library/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -816,11 +816,6 @@
margin-bottom:1em;
}

@media (max-width:768px){
.wp-block-file__embed{
display:none;
}
}
:where(.wp-block-file__button){
border-radius:2em;
display:inline-block;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 4419e55

Please sign in to comment.