Editor: Update packages for 6.6.1.
Bugfixes included: * [https://github.com/WordPress/gutenberg/pull/63637 Elements: Avoid specificity bump for top-level element-only selectors]. * [https://github.com/WordPress/gutenberg/pull/63406 Navigation block: Allow themes to override block library text-decoration rule]. * [https://github.com/WordPress/gutenberg/pull/63436 Fix invalid css for nested fullwidth layouts with zero padding applied]. * [https://github.com/WordPress/gutenberg/pull/63397 Prevent empty void at the bottom of editor when block directory results are present]. * [https://github.com/WordPress/gutenberg/pull/63291 Pattern overrides: Ensure "Reset" button always shows as last item and with border]. * [https://github.com/WordPress/gutenberg/pull/63562 Global Styles: Disable "Reset styles" button when there are no changes]. * [https://github.com/WordPress/gutenberg/pull/63093 Fix: Removed shuffle button when only 1 pattern is present]. * [https://github.com/WordPress/gutenberg/pull/62675 fix: wp icon focus issue]. * [https://github.com/WordPress/gutenberg/pull/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: http://core.svn.wordpress.org/trunk@58159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bbfa972fe0
commit
5f637ea437
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -68,6 +68,7 @@
|
|||
grid-template-columns:auto 1fr;
|
||||
height:auto;
|
||||
padding:12px;
|
||||
position:relative;
|
||||
text-align:right;
|
||||
width:100%;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px;--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color)}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-right:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{list-style:none;margin:0}.block-directory-compact-list__item{align-items:center;display:flex;flex-direction:row;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{border:1px solid #ddd;height:54px;min-width:54px;vertical-align:middle;width:54px}.block-directory-downloadable-block-list-item{display:grid;grid-template-columns:auto 1fr;height:auto;padding:12px;text-align:right;width:100%}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid #0000}.block-directory-downloadable-block-list-item.is-busy{background:#0000}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{align-self:flex-start;margin-left:16px;position:relative}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{align-items:center;background:#ffffffbf;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;font-weight:400;margin-top:4px}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{color:#cc1818;margin:8px 0 0}.block-directory-downloadable-block-notice__content{margin-bottom:8px;padding-left:12px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{color:#757575;font-style:normal;margin:112px 0;padding:0;text-align:center}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{color:#757575;margin:48px 0;padding:0 64px;text-align:center}.block-directory-downloadable-blocks-panel__title{font-size:14px;margin:0 0 4px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px;--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color)}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-right:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{list-style:none;margin:0}.block-directory-compact-list__item{align-items:center;display:flex;flex-direction:row;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{border:1px solid #ddd;height:54px;min-width:54px;vertical-align:middle;width:54px}.block-directory-downloadable-block-list-item{display:grid;grid-template-columns:auto 1fr;height:auto;padding:12px;position:relative;text-align:right;width:100%}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid #0000}.block-directory-downloadable-block-list-item.is-busy{background:#0000}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{align-self:flex-start;margin-left:16px;position:relative}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{align-items:center;background:#ffffffbf;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;font-weight:400;margin-top:4px}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{color:#cc1818;margin:8px 0 0}.block-directory-downloadable-block-notice__content{margin-bottom:8px;padding-left:12px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{color:#757575;font-style:normal;margin:112px 0;padding:0;text-align:center}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{color:#757575;margin:48px 0;padding:0 64px;text-align:center}.block-directory-downloadable-blocks-panel__title{font-size:14px;margin:0 0 4px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
|
@ -68,6 +68,7 @@
|
|||
grid-template-columns:auto 1fr;
|
||||
height:auto;
|
||||
padding:12px;
|
||||
position:relative;
|
||||
text-align:left;
|
||||
width:100%;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px;--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color)}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-left:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{list-style:none;margin:0}.block-directory-compact-list__item{align-items:center;display:flex;flex-direction:row;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{border:1px solid #ddd;height:54px;min-width:54px;vertical-align:middle;width:54px}.block-directory-downloadable-block-list-item{display:grid;grid-template-columns:auto 1fr;height:auto;padding:12px;text-align:left;width:100%}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid #0000}.block-directory-downloadable-block-list-item.is-busy{background:#0000}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{align-self:flex-start;margin-right:16px;position:relative}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{align-items:center;background:#ffffffbf;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;font-weight:400;margin-top:4px}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{color:#cc1818;margin:8px 0 0}.block-directory-downloadable-block-notice__content{margin-bottom:8px;padding-right:12px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{color:#757575;font-style:normal;margin:112px 0;padding:0;text-align:center}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{color:#757575;margin:48px 0;padding:0 64px;text-align:center}.block-directory-downloadable-blocks-panel__title{font-size:14px;margin:0 0 4px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px;--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color)}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-left:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{list-style:none;margin:0}.block-directory-compact-list__item{align-items:center;display:flex;flex-direction:row;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{border:1px solid #ddd;height:54px;min-width:54px;vertical-align:middle;width:54px}.block-directory-downloadable-block-list-item{display:grid;grid-template-columns:auto 1fr;height:auto;padding:12px;position:relative;text-align:left;width:100%}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid #0000}.block-directory-downloadable-block-list-item.is-busy{background:#0000}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{align-self:flex-start;margin-right:16px;position:relative}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{align-items:center;background:#ffffffbf;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;font-weight:400;margin-top:4px}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{color:#cc1818;margin:8px 0 0}.block-directory-downloadable-block-notice__content{margin-bottom:8px;padding-right:12px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{color:#757575;font-style:normal;margin:112px 0;padding:0;text-align:center}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{color:#757575;margin:48px 0;padding:0 64px;text-align:center}.block-directory-downloadable-blocks-panel__title{font-size:14px;margin:0 0 4px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
|
@ -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{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -2105,6 +2104,20 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
|
|||
right:0;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17018,9 +17018,13 @@ const EMPTY_CONFIG = {
|
|||
const VALID_SETTINGS = ['appearanceTools', 'useRootPaddingAwareAlignments', 'background.backgroundImage', 'background.backgroundRepeat', 'background.backgroundSize', 'background.backgroundPosition', 'border.color', 'border.radius', 'border.style', 'border.width', 'shadow.presets', 'shadow.defaultPresets', 'color.background', 'color.button', 'color.caption', 'color.custom', 'color.customDuotone', 'color.customGradient', 'color.defaultDuotone', 'color.defaultGradients', 'color.defaultPalette', 'color.duotone', 'color.gradients', 'color.heading', 'color.link', 'color.palette', 'color.text', 'custom', 'dimensions.aspectRatio', 'dimensions.minHeight', 'layout.contentSize', 'layout.definitions', 'layout.wideSize', 'lightbox.enabled', 'lightbox.allowEditing', 'position.fixed', 'position.sticky', 'spacing.customSpacingSize', 'spacing.defaultSpacingSizes', 'spacing.spacingSizes', 'spacing.spacingScale', 'spacing.blockGap', 'spacing.margin', 'spacing.padding', 'spacing.units', 'typography.fluid', 'typography.customFontSize', 'typography.defaultFontSizes', 'typography.dropCap', 'typography.fontFamilies', 'typography.fontSizes', 'typography.fontStyle', 'typography.fontWeight', 'typography.letterSpacing', 'typography.lineHeight', 'typography.textAlign', 'typography.textColumns', 'typography.textDecoration', 'typography.textTransform', 'typography.writingMode'];
|
||||
const useGlobalStylesReset = () => {
|
||||
const {
|
||||
user: config,
|
||||
user,
|
||||
setUserConfig
|
||||
} = (0,external_wp_element_namespaceObject.useContext)(GlobalStylesContext);
|
||||
const config = {
|
||||
settings: user.settings,
|
||||
styles: user.styles
|
||||
};
|
||||
const canReset = !!config && !es6_default()(config, EMPTY_CONFIG);
|
||||
return [canReset, (0,external_wp_element_namespaceObject.useCallback)(() => setUserConfig(EMPTY_CONFIG), [setUserConfig])];
|
||||
};
|
||||
|
@ -19717,15 +19721,19 @@ const external_wp_styleEngine_namespaceObject = window["wp"]["styleEngine"];
|
|||
const paddingValues = (0,external_wp_styleEngine_namespaceObject.getCSSRules)(style);
|
||||
paddingValues.forEach(rule => {
|
||||
if (rule.key === 'paddingRight') {
|
||||
// Add unit if 0, to avoid calc(0 * -1) which is invalid.
|
||||
const paddingRightValue = rule.value === '0' ? '0px' : rule.value;
|
||||
output += `
|
||||
${appendSelectors(selector, '> .alignfull')} {
|
||||
margin-right: calc(${rule.value} * -1);
|
||||
margin-right: calc(${paddingRightValue} * -1);
|
||||
}
|
||||
`;
|
||||
} else if (rule.key === 'paddingLeft') {
|
||||
// Add unit if 0, to avoid calc(0 * -1) which is invalid.
|
||||
const paddingLeftValue = rule.value === '0' ? '0px' : rule.value;
|
||||
output += `
|
||||
${appendSelectors(selector, '> .alignfull')} {
|
||||
margin-left: calc(${rule.value} * -1);
|
||||
margin-left: calc(${paddingLeftValue} * -1);
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
@ -19872,11 +19880,18 @@ function useBlockRef(clientId) {
|
|||
* @return {Element|null} The block's wrapper element.
|
||||
*/
|
||||
function useBlockElement(clientId) {
|
||||
var _useObservableValue;
|
||||
const {
|
||||
refsMap
|
||||
} = (0,external_wp_element_namespaceObject.useContext)(BlockRefs);
|
||||
return (_useObservableValue = (0,external_wp_compose_namespaceObject.useObservableValue)(refsMap, clientId)) !== null && _useObservableValue !== void 0 ? _useObservableValue : null;
|
||||
const [blockElement, setBlockElement] = (0,external_wp_element_namespaceObject.useState)(null);
|
||||
// Delay setting the resulting `blockElement` until an effect. If the block element
|
||||
// changes (i.e., the block is unmounted and re-mounted), this allows enough time
|
||||
// for the ref callbacks to clean up the old element and set the new one.
|
||||
(0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
|
||||
setBlockElement(refsMap.get(clientId));
|
||||
return refsMap.subscribe(clientId, () => setBlockElement(refsMap.get(clientId)));
|
||||
}, [refsMap, clientId]);
|
||||
return blockElement;
|
||||
}
|
||||
|
||||
|
||||
|
@ -33721,6 +33736,12 @@ function position_useBlockProps({
|
|||
|
||||
|
||||
|
||||
// Elements that rely on class names in their selectors.
|
||||
const ELEMENT_CLASS_NAMES = {
|
||||
button: 'wp-element-button',
|
||||
caption: 'wp-element-caption'
|
||||
};
|
||||
|
||||
// List of block support features that can have their related styles
|
||||
// generated under their own feature level selector rather than the block's.
|
||||
const BLOCK_SUPPORT_FEATURE_LEVEL_SELECTORS = {
|
||||
|
@ -34149,7 +34170,10 @@ const getNodesWithStyles = (tree, blockSelectors) => {
|
|||
if (tree.styles?.elements?.[name]) {
|
||||
nodes.push({
|
||||
styles: tree.styles?.elements?.[name],
|
||||
selector
|
||||
selector,
|
||||
// Top level elements that don't use a class name should not receive the
|
||||
// `:root :where()` wrapper to maintain backwards compatibility.
|
||||
skipSelectorWrapper: !ELEMENT_CLASS_NAMES[name]
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -34363,7 +34387,8 @@ const toStyles = (tree, blockSelectors, hasBlockGapSupport, hasFallbackGapSuppor
|
|||
fallbackGapValue,
|
||||
hasLayoutSupport,
|
||||
featureSelectors,
|
||||
styleVariationSelectors
|
||||
styleVariationSelectors,
|
||||
skipSelectorWrapper
|
||||
}) => {
|
||||
// Process styles for block support features with custom feature level
|
||||
// CSS selectors set.
|
||||
|
@ -34404,7 +34429,8 @@ const toStyles = (tree, blockSelectors, hasBlockGapSupport, hasFallbackGapSuppor
|
|||
// Process the remaining block styles (they use either normal block class or __experimentalSelector).
|
||||
const styleDeclarations = getStylesDeclarations(styles, selector, useRootPaddingAlign, tree, disableRootPadding);
|
||||
if (styleDeclarations?.length) {
|
||||
ruleset += `:root :where(${selector}){${styleDeclarations.join(';')};}`;
|
||||
const generalSelector = skipSelectorWrapper ? selector : `:root :where(${selector})`;
|
||||
ruleset += `${generalSelector}{${styleDeclarations.join(';')};}`;
|
||||
}
|
||||
if (styles?.css) {
|
||||
ruleset += processCSSNesting(styles.css, `:root :where(${selector})`);
|
||||
|
@ -34454,7 +34480,12 @@ const toStyles = (tree, blockSelectors, hasBlockGapSupport, hasFallbackGapSuppor
|
|||
// Split and append pseudo selector to create
|
||||
// the proper rules to target the elements.
|
||||
const _selector = selector.split(',').map(sel => sel + pseudoKey).join(',');
|
||||
const pseudoRule = `${_selector}{${pseudoDeclarations.join(';')};}`;
|
||||
|
||||
// As pseudo classes such as :hover, :focus etc. have class-level
|
||||
// specificity, they must use the `:root :where()` wrapper. This.
|
||||
// caps the specificity at `0-1-0` to allow proper nesting of variations
|
||||
// and block type element styles.
|
||||
const pseudoRule = `:root :where(${_selector}){${pseudoDeclarations.join(';')};}`;
|
||||
ruleset += pseudoRule;
|
||||
});
|
||||
}
|
||||
|
@ -54750,7 +54781,7 @@ function Shuffle({
|
|||
);
|
||||
});
|
||||
}, [categories, patterns]);
|
||||
if (sameCategoryPatternsWithSingleWrapper.length === 0) {
|
||||
if (sameCategoryPatternsWithSingleWrapper.length < 2) {
|
||||
return null;
|
||||
}
|
||||
function getNextPattern() {
|
||||
|
@ -67869,12 +67900,12 @@ function ReusableBlocksRenameHint() {
|
|||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/elements/index.js
|
||||
const ELEMENT_CLASS_NAMES = {
|
||||
const elements_ELEMENT_CLASS_NAMES = {
|
||||
button: 'wp-element-button',
|
||||
caption: 'wp-element-caption'
|
||||
};
|
||||
const __experimentalGetElementClassName = element => {
|
||||
return ELEMENT_CLASS_NAMES[element] ? ELEMENT_CLASS_NAMES[element] : '';
|
||||
return elements_ELEMENT_CLASS_NAMES[element] ? elements_ELEMENT_CLASS_NAMES[element] : '';
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/get-px-from-css-unit.js
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1541,8 +1541,7 @@ function ResetOverridesControl(props) {
|
|||
[CONTENT]: newOverrides
|
||||
});
|
||||
}
|
||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockControls, {
|
||||
group: "other",
|
||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.__unstableBlockToolbarLastItem, {
|
||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.ToolbarGroup, {
|
||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.ToolbarButton, {
|
||||
onClick: onClick,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.7-alpha-58756';
|
||||
$wp_version = '6.7-alpha-58757';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue