mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
Editor: Update packages for 6.7 RC 2
Syncs @wordpress/* packages to the wp-6.7 npm tag. Reviewed by jorbin. Merges [59318] to 6.7 branch. Props kevin940726, aaronrobertshaw. See #62309. Built from https://develop.svn.wordpress.org/branches/6.7@59321 git-svn-id: http://core.svn.wordpress.org/branches/6.7@58707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1200804e11
commit
b3c1dfabd4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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
1
wp-includes/css/dist/block-editor/style.css
vendored
1
wp-includes/css/dist/block-editor/style.css
vendored
@ -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
12
wp-includes/css/dist/edit-site/style-rtl.css
vendored
12
wp-includes/css/dist/edit-site/style-rtl.css
vendored
@ -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
12
wp-includes/css/dist/edit-site/style.css
vendored
12
wp-includes/css/dist/edit-site/style.css
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
2
wp-includes/css/dist/edit-site/style.min.css
vendored
2
wp-includes/css/dist/edit-site/style.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/core-data.js
vendored
2
wp-includes/js/dist/core-data.js
vendored
@ -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`
|
||||
});
|
||||
|
16
wp-includes/js/dist/editor.js
vendored
16
wp-includes/js/dist/editor.js
vendored
@ -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 {
|
||||
|
2
wp-includes/js/dist/editor.min.js
vendored
2
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user