Editor: Update packages for 6.7 RC 3

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

Reviewed by get_dave, azaozz.
Merges [59339] to the 6.7 branch.

Props kevin940726, get_dave.
Fixes #62321.
Built from https://develop.svn.wordpress.org/branches/6.7@59342


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2024-11-04 19:46:30 +00:00
parent 92c3cda921
commit 0405629247
31 changed files with 52 additions and 55 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

@ -6,6 +6,8 @@
height:auto;
max-width:100%;
vertical-align:bottom;
}
.wp-block-image img:not([src$=".svg"]){
width:-moz-fit-content;
width:fit-content;
}

File diff suppressed because one or more lines are too long

View File

@ -6,6 +6,8 @@
height:auto;
max-width:100%;
vertical-align:bottom;
}
.wp-block-image img:not([src$=".svg"]){
width:-moz-fit-content;
width:fit-content;
}

File diff suppressed because one or more lines are too long

View File

@ -12,11 +12,4 @@
:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){
padding-right:0;
}
.wp-block-latest-posts__post-content-radio{
margin-bottom:24px;
}
.wp-block-latest-posts__post-content-radio:last-child{
margin-bottom:8px;
}

View File

@ -1 +1 @@
.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}:root :where(.wp-block-latest-posts){padding-right:2.5em}:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){padding-right:0}.wp-block-latest-posts__post-content-radio{margin-bottom:24px}.wp-block-latest-posts__post-content-radio:last-child{margin-bottom:8px}
.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}:root :where(.wp-block-latest-posts){padding-right:2.5em}:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){padding-right:0}

View File

@ -12,11 +12,4 @@
:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){
padding-left:0;
}
.wp-block-latest-posts__post-content-radio{
margin-bottom:24px;
}
.wp-block-latest-posts__post-content-radio:last-child{
margin-bottom:8px;
}

View File

@ -1 +1 @@
.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}:root :where(.wp-block-latest-posts){padding-left:2.5em}:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){padding-left:0}.wp-block-latest-posts__post-content-radio{margin-bottom:24px}.wp-block-latest-posts__post-content-radio:last-child{margin-bottom:8px}
.wp-block-latest-posts>li{overflow:hidden}.wp-block-latest-posts li a>div{display:inline}:root :where(.wp-block-latest-posts){padding-left:2.5em}:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){padding-left:0}

View File

@ -217,7 +217,7 @@ iframe[name=editor-canvas]{
font-size:13px;
margin-bottom:1.5em;
}
.block-editor-block-inspector .components-base-control:where(:not(:last-child)){
.block-editor-block-inspector .components-base-control:where(:not(:last-child)),.block-editor-block-inspector .components-radio-control:where(:not(:last-child)){
margin-bottom:16px;
}
.block-editor-block-inspector .components-focal-point-picker-control .components-base-control,.block-editor-block-inspector .components-query-controls .components-base-control,.block-editor-block-inspector .components-range-control .components-base-control{

File diff suppressed because one or more lines are too long

View File

@ -217,7 +217,7 @@ iframe[name=editor-canvas]{
font-size:13px;
margin-bottom:1.5em;
}
.block-editor-block-inspector .components-base-control:where(:not(:last-child)){
.block-editor-block-inspector .components-base-control:where(:not(:last-child)),.block-editor-block-inspector .components-radio-control:where(:not(:last-child)){
margin-bottom:16px;
}
.block-editor-block-inspector .components-focal-point-picker-control .components-base-control,.block-editor-block-inspector .components-query-controls .components-base-control,.block-editor-block-inspector .components-range-control .components-base-control{

File diff suppressed because one or more lines are too long

View File

@ -1173,13 +1173,6 @@ figure.wp-block-image:not(.wp-block){
padding-right:0;
}
.wp-block-latest-posts__post-content-radio{
margin-bottom:24px;
}
.wp-block-latest-posts__post-content-radio:last-child{
margin-bottom:8px;
}
.wp-block-media-text__media{
position:relative;
}

File diff suppressed because one or more lines are too long

View File

@ -1171,13 +1171,6 @@ figure.wp-block-image:not(.wp-block){
padding-left:0;
}
.wp-block-latest-posts__post-content-radio{
margin-bottom:24px;
}
.wp-block-latest-posts__post-content-radio:last-child{
margin-bottom:8px;
}
.wp-block-media-text__media{
position:relative;
}

File diff suppressed because one or more lines are too long

View File

@ -1151,6 +1151,8 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
height:auto;
max-width:100%;
vertical-align:bottom;
}
.wp-block-image img:not([src$=".svg"]){
width:-moz-fit-content;
width:fit-content;
}

File diff suppressed because one or more lines are too long

View File

@ -1151,6 +1151,8 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
height:auto;
max-width:100%;
vertical-align:bottom;
}
.wp-block-image img:not([src$=".svg"]){
width:-moz-fit-content;
width:fit-content;
}

File diff suppressed because one or more lines are too long

View File

@ -56673,7 +56673,7 @@ const BlockSettingsMenuControlsSlot = ({
isGroupable,
isUngroupable
} = convertToGroupButtonProps;
const showConvertToGroupButton = isGroupable || isUngroupable;
const showConvertToGroupButton = (isGroupable || isUngroupable) && !isContentOnly;
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(block_settings_menu_controls_Slot, {
fillProps: {
...fillProps,
@ -56833,6 +56833,12 @@ function BlockSettingsDropdown({
const currentClientId = block?.clientId;
const count = clientIds.length;
const firstBlockClientId = clientIds[0];
const isZoomOut = (0,external_wp_data_namespaceObject.useSelect)(select => {
const {
__unstableGetEditorMode
} = unlock(select(store));
return __unstableGetEditorMode() === 'zoom-out';
});
const {
firstParentClientId,
onlyBlock,
@ -56968,7 +56974,7 @@ function BlockSettingsDropdown({
parentBlockType: parentBlockType
}), count === 1 && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(block_html_convert_button, {
clientId: firstBlockClientId
}), !isContentOnly && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(CopyMenuItem, {
}), (!isContentOnly || isZoomOut) && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(CopyMenuItem, {
clientIds: clientIds,
onCopy: onCopy,
shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('c')
@ -57941,7 +57947,7 @@ function PrivateBlockToolbar({
})]
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockEditVisuallyButton, {
clientIds: blockClientIds
}), isDefaultEditingMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(block_settings_menu, {
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(block_settings_menu, {
clientIds: blockClientIds
})]
})

File diff suppressed because one or more lines are too long

View File

@ -28200,7 +28200,6 @@ function LatestPostsEdit({
displayPostContent: value
})
}), displayPostContent && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.RadioControl, {
className: "wp-block-latest-posts__post-content-radio",
label: (0,external_wp_i18n_namespaceObject.__)('Show'),
selected: displayPostContentRadio,
options: [{

File diff suppressed because one or more lines are too long

View File

@ -57451,6 +57451,10 @@ function FormFileUpload({
...props,
children: children
});
// @todo: Temporary fix a bug that prevents Chromium browsers from selecting ".heic" files
// from the file upload. See https://core.trac.wordpress.org/ticket/62268#comment:4.
// This can be removed once the Chromium fix is in the stable channel.
const compatAccept = !!accept?.includes('image/*') ? `${accept}, image/heic, image/heif` : accept;
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", {
className: "components-form-file-upload",
children: [ui, /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("input", {
@ -57460,7 +57464,7 @@ function FormFileUpload({
style: {
display: 'none'
},
accept: accept,
accept: compatAccept,
onChange: onChange,
onClick: onClick,
"data-testid": "form-file-upload-input"

File diff suppressed because one or more lines are too long

View File

@ -24610,6 +24610,12 @@ const ExperimentalEditorProvider = with_registry_provider(({
postTypeEntities: post.type === 'wp_template' ? getEntitiesConfig('postType') : null
};
}, [post.type]);
const isZoomOut = (0,external_wp_data_namespaceObject.useSelect)(select => {
const {
__unstableGetEditorMode
} = unlock(select(external_wp_blockEditor_namespaceObject.store));
return __unstableGetEditorMode() === 'zoom-out';
});
const shouldRenderTemplate = !!template && mode !== 'post-only';
const rootLevelPost = shouldRenderTemplate ? template : post;
const defaultBlockContext = (0,external_wp_element_namespaceObject.useMemo)(() => {
@ -24718,7 +24724,9 @@ const ExperimentalEditorProvider = with_registry_provider(({
settings: blockEditorSettings,
useSubRegistry: false,
children: [children, !settings.__unstableIsPreviewMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternsMenuItems, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(TemplatePartMenuItems, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ContentOnlySettingsMenu, {}), mode === 'template-locked' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DisableNonPageContentBlocks, {}), type === 'wp_navigation' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(NavigationBlockEditingMode, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditorKeyboardShortcuts, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(keyboard_shortcut_help_modal, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockRemovalWarnings, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(StartPageOptions, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(StartTemplateOptions, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternRenameModal, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternDuplicateModal, {})]
children: [!isZoomOut && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternsMenuItems, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(TemplatePartMenuItems, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ContentOnlySettingsMenu, {})]
}), mode === 'template-locked' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DisableNonPageContentBlocks, {}), type === 'wp_navigation' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(NavigationBlockEditingMode, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditorKeyboardShortcuts, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(keyboard_shortcut_help_modal, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockRemovalWarnings, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(StartPageOptions, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(StartTemplateOptions, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternRenameModal, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternDuplicateModal, {})]
})]
})
})
@ -28754,10 +28762,10 @@ function PostSummary({
spacing: 4,
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalVStack, {
spacing: 1,
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostStatus, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostSchedulePanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostURLPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(panel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostTemplatePanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostDiscussionPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PrivatePostLastRevision, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageAttributesPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostSyncStatus, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlogTitle, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostsPerPage, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SiteDiscussion, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_format_panel, {})]
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostStatus, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostSchedulePanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostURLPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(panel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostTemplatePanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostDiscussionPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PrivatePostLastRevision, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageAttributesPanel, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostSyncStatus, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlogTitle, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostsPerPage, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SiteDiscussion, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_format_panel, {}), fills]
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PostTrash, {
onActionPerformed: onActionPerformed
}), fills]
})]
})]
})
})

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-RC2-59332';
$wp_version = '6.7-RC2-59342';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.