Editor: Update packages for 6.7 RC 2

Syncs `@wordpress/*` packages to the `wp-6.7` npm tag.

Props kevin940726, aaronrobertshaw.
See #62309.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
kevin940726 2024-10-29 07:33:25 +00:00
parent c53b87650b
commit ccd2ab7f3f
14 changed files with 35 additions and 25 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1742,7 +1742,6 @@ iframe[name=editor-canvas]{
.block-editor-iframe__container{
height:100%;
overflow-x:hidden;
width:100%;
}

File diff suppressed because one or more lines are too long

View File

@ -1742,7 +1742,6 @@ iframe[name=editor-canvas]{
.block-editor-iframe__container{
height:100%;
overflow-x:hidden;
width:100%;
}

File diff suppressed because one or more lines are too long

View File

@ -2311,7 +2311,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
overflow-y:auto;
}
@keyframes _11fcf_slide-from-right{
@keyframes _e8hgp_slide-from-right{
0%{
opacity:0;
transform:translateX(-50px);
@ -2321,7 +2321,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
transform:none;
}
}
@keyframes _11fcf_slide-from-left{
@keyframes _e8hgp_slide-from-left{
0%{
opacity:0;
transform:translateX(50px);
@ -2377,10 +2377,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
}
}
.edit-site-sidebar__screen-wrapper.slide-from-left{
animation-name:_11fcf_slide-from-left;
animation-name:_e8hgp_slide-from-left;
}
.edit-site-sidebar__screen-wrapper.slide-from-right{
animation-name:_11fcf_slide-from-right;
animation-name:_e8hgp_slide-from-right;
}
.edit-site-sidebar-button{
@ -2735,10 +2735,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu-cell{
padding-left:0;
}
.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button{
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button{
color:#949494;
}
.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button:focus,.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button:hover,.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button[aria-current]{
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:focus,.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:hover,.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button[aria-current]{
color:#fff;
}

File diff suppressed because one or more lines are too long

View File

@ -2311,7 +2311,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
overflow-y:auto;
}
@keyframes _11fcf_slide-from-right{
@keyframes _e8hgp_slide-from-right{
0%{
opacity:0;
transform:translateX(50px);
@ -2321,7 +2321,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
transform:none;
}
}
@keyframes _11fcf_slide-from-left{
@keyframes _e8hgp_slide-from-left{
0%{
opacity:0;
transform:translateX(-50px);
@ -2377,10 +2377,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
}
}
.edit-site-sidebar__screen-wrapper.slide-from-left{
animation-name:_11fcf_slide-from-left;
animation-name:_e8hgp_slide-from-left;
}
.edit-site-sidebar__screen-wrapper.slide-from-right{
animation-name:_11fcf_slide-from-right;
animation-name:_e8hgp_slide-from-right;
}
.edit-site-sidebar-button{
@ -2735,10 +2735,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle){
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu-cell{
padding-right:0;
}
.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button{
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button{
color:#949494;
}
.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button:focus,.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button:hover,.edit-site-sidebar-navigation-screen-navigation-menus__content .components-button[aria-current]{
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:focus,.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:hover,.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button[aria-current]{
color:#fff;
}

File diff suppressed because one or more lines are too long

View File

@ -6419,6 +6419,7 @@ const resolvers_experimentalGetCurrentThemeBaseGlobalStyles = () => async ({
dispatch
}) => {
const currentTheme = await resolveSelect.getCurrentTheme();
// Please adjust the preloaded requests if this changes!
const themeGlobalStyles = await external_wp_apiFetch_default()({
path: `/wp/v2/global-styles/themes/${currentTheme.stylesheet}?context=view`
});
@ -6429,6 +6430,7 @@ const resolvers_experimentalGetCurrentThemeGlobalStylesVariations = () => async
dispatch
}) => {
const currentTheme = await resolveSelect.getCurrentTheme();
// Please adjust the preloaded requests if this changes!
const variations = await external_wp_apiFetch_default()({
path: `/wp/v2/global-styles/themes/${currentTheme.stylesheet}/variations?context=view`
});

View File

@ -22356,12 +22356,22 @@ function useGlobalStylesUserConfig() {
} = select(external_wp_coreData_namespaceObject.store);
const _globalStylesId = select(external_wp_coreData_namespaceObject.store).__experimentalGetCurrentGlobalStylesId();
let record;
const userCanEditGlobalStyles = canUser('update', {
// We want the global styles ID request to finish before triggering
// the OPTIONS request for user capabilities, otherwise it will
// fetch `/wp/v2/global-styles` instead of
// `/wp/v2/global-styles/{id}`!
// Please adjust the preloaded requests if this changes!
const userCanEditGlobalStyles = _globalStylesId ? canUser('update', {
kind: 'root',
name: 'globalStyles',
id: _globalStylesId
});
if (_globalStylesId) {
}) : null;
if (_globalStylesId &&
// We want the OPTIONS request for user capabilities to finish
// before getting the records, otherwise we'll fetch both!
typeof userCanEditGlobalStyles === 'boolean') {
// Please adjust the preloaded requests if this changes!
if (userCanEditGlobalStyles) {
record = getEditedEntityRecord('root', 'globalStyles', _globalStylesId);
} else {

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59317';
$wp_version = '6.8-alpha-59318';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.