Skip to content

Commit

Permalink
Editor: Update packages for 6.6.1.
Browse files Browse the repository at this point in the history
Bugfixes included:

* [WordPress/gutenberg#63637 Elements: Avoid specificity bump for top-level element-only selectors].
* [WordPress/gutenberg#63406 Navigation block: Allow themes to override block library text-decoration rule].
* [WordPress/gutenberg#63436 Fix invalid css for nested fullwidth layouts with zero padding applied].
* [WordPress/gutenberg#63397 Prevent empty void at the bottom of editor when block directory results are present].
* [WordPress/gutenberg#63291 Pattern overrides: Ensure "Reset" button always shows as last item and with border].
* [WordPress/gutenberg#63562 Global Styles: Disable "Reset styles" button when there are no changes].
* [WordPress/gutenberg#63093 Fix: Removed shuffle button when only 1 pattern is present].
* [WordPress/gutenberg#62675 fix: wp icon focus issue].
* [WordPress/gutenberg#63565 useBlockElement: return null until ref callback has time to clean up the old element].

Props ellatrix.
Fixes #61692.
See #61660, #61630, #61656.
Built from https://develop.svn.wordpress.org/trunk@58757


git-svn-id: https://core.svn.wordpress.org/trunk@58159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
hellofromtonya committed Jul 18, 2024
1 parent 9ec3886 commit 6fba513
Show file tree
Hide file tree
Showing 23 changed files with 99 additions and 53 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.

5 changes: 1 addition & 4 deletions wp-includes/blocks/navigation/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{
text-decoration:line-through;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a{
text-decoration:none;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{
.wp-block-navigation :where(a),.wp-block-navigation :where(a:active),.wp-block-navigation :where(a:focus){
text-decoration:none;
}
.wp-block-navigation .wp-block-navigation__submenu-icon{
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/blocks/navigation/style-rtl.min.css

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions wp-includes/blocks/navigation/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{
text-decoration:line-through;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a{
text-decoration:none;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{
.wp-block-navigation :where(a),.wp-block-navigation :where(a:active),.wp-block-navigation :where(a:focus){
text-decoration:none;
}
.wp-block-navigation .wp-block-navigation__submenu-icon{
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/blocks/navigation/style.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wp-includes/css/dist/block-directory/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
grid-template-columns:auto 1fr;
height:auto;
padding:12px;
position:relative;
text-align:right;
width:100%;
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-directory/style-rtl.min.css

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/css/dist/block-directory/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
grid-template-columns:auto 1fr;
height:auto;
padding:12px;
position:relative;
text-align:left;
width:100%;
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-directory/style.min.css

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

5 changes: 1 addition & 4 deletions wp-includes/css/dist/block-library/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1659,10 +1659,7 @@ ol,ul{
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{
text-decoration:line-through;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a{
text-decoration:none;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{
.wp-block-navigation :where(a),.wp-block-navigation :where(a:active),.wp-block-navigation :where(a:focus){
text-decoration:none;
}
.wp-block-navigation .wp-block-navigation__submenu-icon{
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: 1 addition & 4 deletions wp-includes/css/dist/block-library/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1659,10 +1659,7 @@ ol,ul{
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{
text-decoration:line-through;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a{
text-decoration:none;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a:active,.wp-block-navigation:where(:not([class*=has-text-decoration])) a:focus{
.wp-block-navigation :where(a),.wp-block-navigation :where(a:active),.wp-block-navigation :where(a:focus){
text-decoration:none;
}
.wp-block-navigation .wp-block-navigation__submenu-icon{
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style.min.css

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions wp-includes/css/dist/edit-site/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2029,8 +2029,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
.edit-site-layout__view-mode-toggle.components-button:active,.edit-site-layout__view-mode-toggle.components-button:hover{
color:#fff;
}
.edit-site-layout__view-mode-toggle.components-button:focus{
box-shadow:none;
.edit-site-layout__view-mode-toggle.components-button:focus,.edit-site-layout__view-mode-toggle.components-button:focus-visible{
box-shadow:0 0 0 3px #1e1e1e, 0 0 0 6px var(--wp-admin-theme-color);
outline:4px solid #0000;
outline-offset:4px;
}
.edit-site-layout__view-mode-toggle.components-button:before{
border-radius:4px;
Expand All @@ -2050,9 +2052,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
transition-duration:0s;
}
}
.edit-site-layout__view-mode-toggle.components-button:focus:before{
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #ffffff1a, inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon{
align-items:center;
display:flex;
Expand Down Expand Up @@ -2105,6 +2104,20 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
position:fixed;
}

.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus,.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus-visible{
box-shadow:none;
outline:none;
outline-offset:0;
}
.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus .edit-site-site-icon svg,.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus-visible .edit-site-site-icon svg{
border-radius:2px;
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #3858e9);
height:40px;
outline:3px solid #0000;
padding:2px;
width:40px;
}

.edit-site-save-hub{
border-top:1px solid #2f2f2f;
color:#949494;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-site/style-rtl.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 6fba513

Please sign in to comment.