Block Editor: Update WordPress Packages WordPress 5.4 Beta 3.

The following package versions were changed:
@wordpress/block-directory: 1.5.1 -> 1.5.2
@wordpress/block-editor: 3.7.1 -> 3.7.2
@wordpress/block-library: 2.14.1 -> 2.14.2
@wordpress/components: 9.2.1 -> 9.2.2
@wordpress/edit-post: 3.13.1 -> 3.13.2
@wordpress/editor: 9.12.1 -> 9.12.2
@wordpress/format-library: 1.14.1 -> 1.14.2
@wordpress/list-reusable-blocks: 1.13.1 -> 1.13.2
@wordpress/media-utils: 1.7.1 -> 1.7.2
@wordpress/nux: 3.12.1 -> 3.12.2
@wordpress/server-side-render: 1.8.1 -> 1.8.2

Fixes #49506.
Built from https://develop.svn.wordpress.org/trunk@47354


git-svn-id: http://core.svn.wordpress.org/trunk@47141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jorgefilipecosta 2020-02-25 00:18:15 +00:00
parent 3209729f5f
commit f616ffb9c1
25 changed files with 200 additions and 96 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
{
"name": "core/social-link",
"category": "widgets",
"icon": "share",
"attributes": {
"url": {
"type": "string"

View File

@ -179,6 +179,9 @@
.wp-block-column.is-vertically-aligned-bottom {
align-self: flex-end; }
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
width: 100%; }
.wp-block-cover-image,
.wp-block-cover {
position: relative;

File diff suppressed because one or more lines are too long

View File

@ -182,6 +182,9 @@
.wp-block-column.is-vertically-aligned-bottom {
align-self: flex-end; }
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
width: 100%; }
.wp-block-cover-image,
.wp-block-cover {
position: relative;

File diff suppressed because one or more lines are too long

View File

@ -374,6 +374,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
100% {
transform: translateX(0%); } }
.block-editor-editor-skeleton__sidebar > div {
height: 100%; }
.edit-post-layout .editor-post-publish-panel__header-publish-button {
justify-content: center; }
@ -614,7 +617,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
.edit-post-sidebar {
z-index: auto;
height: 100%;
overflow: visible;
overflow: auto;
-webkit-overflow-scrolling: touch; } }
@media (min-width: 782px) {
.edit-post-sidebar {
@ -976,7 +979,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
height: 100%; }
.edit-post-visual-editor .block-editor-writing-flow__click-redirect {
min-height: 50vh;
min-height: 40vh;
width: 100%; }
.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect {

File diff suppressed because one or more lines are too long

View File

@ -374,6 +374,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
100% {
transform: translateX(0%); } }
.block-editor-editor-skeleton__sidebar > div {
height: 100%; }
.edit-post-layout .editor-post-publish-panel__header-publish-button {
justify-content: center; }
@ -614,7 +617,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
.edit-post-sidebar {
z-index: auto;
height: 100%;
overflow: visible;
overflow: auto;
-webkit-overflow-scrolling: touch; } }
@media (min-width: 782px) {
.edit-post-sidebar {
@ -980,7 +983,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
height: 100%; }
.edit-post-visual-editor .block-editor-writing-flow__click-redirect {
min-height: 50vh;
min-height: 40vh;
width: 100%; }
.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect {

File diff suppressed because one or more lines are too long

View File

@ -54,6 +54,8 @@
.list-reusable-blocks__container {
display: inline-flex;
padding: 9px 0 4px;
align-items: center;
vertical-align: top; }
position: relative;
top: -3px; }
.list-reusable-blocks__container .components-button {
height: 26px; }

View File

@ -1 +1 @@
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}

View File

@ -54,6 +54,8 @@
.list-reusable-blocks__container {
display: inline-flex;
padding: 9px 0 4px;
align-items: center;
vertical-align: top; }
position: relative;
top: -3px; }
.list-reusable-blocks__container .components-button {
height: 26px; }

View File

@ -1 +1 @@
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}

View File

@ -19172,7 +19172,7 @@ function (_Component) {
_this$props$onChangeI = _this$props.onChangeImage,
onChangeImage = _this$props$onChangeI === void 0 ? external_this_lodash_["noop"] : _this$props$onChangeI;
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
label: Object(external_this_wp_i18n_["__"])('Image Size'),
label: Object(external_this_wp_i18n_["__"])('Image size'),
value: slug,
options: imageSizeOptions,
onChange: onChangeImage
@ -19180,7 +19180,7 @@ function (_Component) {
className: "block-editor-image-size-control"
}, Object(external_this_wp_element_["createElement"])("p", {
className: "block-editor-image-size-control__row"
}, Object(external_this_wp_i18n_["__"])('Image Dimensions')), Object(external_this_wp_element_["createElement"])("div", {
}, Object(external_this_wp_i18n_["__"])('Image dimensions')), Object(external_this_wp_element_["createElement"])("div", {
className: "block-editor-image-size-control__row"
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
type: "number",
@ -26220,8 +26220,8 @@ var withInspectorControl = Object(external_this_wp_compose_["createHigherOrderCo
if (hasAnchor && props.isSelected) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BlockEdit, props), Object(external_this_wp_element_["createElement"])(inspector_advanced_controls, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
className: "html-anchor-control",
label: Object(external_this_wp_i18n_["__"])('HTML Anchor'),
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, youll be able to link directly to this section of your page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
label: Object(external_this_wp_i18n_["__"])('HTML anchor'),
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, youll be able to link directly to this section of your page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
href: 'https://wordpress.org/support/article/page-jumps/'
}, Object(external_this_wp_i18n_["__"])('Learn more about anchors'))),
value: props.attributes.anchor || '',
@ -26318,7 +26318,7 @@ var custom_class_name_withInspectorControl = Object(external_this_wp_compose_["c
if (hasCustomClassName && props.isSelected) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BlockEdit, props), Object(external_this_wp_element_["createElement"])(inspector_advanced_controls, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
label: Object(external_this_wp_i18n_["__"])('Additional CSS Class(es)'),
label: Object(external_this_wp_i18n_["__"])('Additional CSS class(es)'),
value: props.attributes.className || '',
onChange: function onChange(nextValue) {
props.setAttributes({

File diff suppressed because one or more lines are too long

View File

@ -3322,7 +3322,7 @@ function ParagraphBlock(_ref2) {
value: fontSize.size,
onChange: setFontSize
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Drop Cap'),
label: Object(external_this_wp_i18n_["__"])('Drop cap'),
checked: !!dropCap,
onChange: function onChange() {
return setAttributes({
@ -5226,7 +5226,7 @@ function (_Component) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Image settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'),
label: Object(external_this_wp_i18n_["__"])('Alt text (alternative text)'),
value: alt,
onChange: _this3.updateAlt,
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
@ -5245,7 +5245,7 @@ function (_Component) {
imageWidth: imageWidth,
imageHeight: imageHeight
}))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
label: Object(external_this_wp_i18n_["__"])('Title Attribute'),
label: Object(external_this_wp_i18n_["__"])('Title attribute'),
value: title || '',
onChange: _this3.onSetTitle,
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
@ -6028,7 +6028,8 @@ function (_Component) {
}),
controls: Object(external_this_lodash_["range"])(minLevel, maxLevel).map(function (index) {
return _this.createLevelControl(index, selectedLevel, onChange);
})
}),
label: Object(external_this_wp_i18n_["__"])('Change heading level')
});
}
}]);
@ -8218,19 +8219,19 @@ function (_Component) {
max: Math.min(MAX_COLUMNS, images.length),
required: true
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], Object(esm_extends["a" /* default */])({
label: Object(external_this_wp_i18n_["__"])('Crop Images')
label: Object(external_this_wp_i18n_["__"])('Crop images')
}, MOBILE_CONTROL_PROPS, {
checked: !!imageCrop,
onChange: this.toggleImageCrop,
help: this.getImageCropHelp
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], Object(esm_extends["a" /* default */])({
label: Object(external_this_wp_i18n_["__"])('Link To')
label: Object(external_this_wp_i18n_["__"])('Link to')
}, mobileLinkToProps, {
value: linkTo,
onChange: this.setLinkTo,
options: linkOptions
})), shouldShowSizeOptions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], Object(esm_extends["a" /* default */])({
label: Object(external_this_wp_i18n_["__"])('Images Size')
label: Object(external_this_wp_i18n_["__"])('Images size')
}, MOBILE_CONTROL_PROPS_SEPARATOR_NONE, {
value: sizeSlug,
options: imageSizeOptions,
@ -8661,7 +8662,7 @@ function ArchivesEdit(_ref) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Archives settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'),
label: Object(external_this_wp_i18n_["__"])('Display as dropdown'),
checked: displayAsDropdown,
onChange: function onChange() {
return setAttributes({
@ -8669,7 +8670,7 @@ function ArchivesEdit(_ref) {
});
}
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Show Post Counts'),
label: Object(external_this_wp_i18n_["__"])('Show post counts'),
checked: showPostCounts,
onChange: function onChange() {
return setAttributes({
@ -9560,7 +9561,7 @@ function BorderPanel(_ref) {
title: Object(external_this_wp_i18n_["__"])('Border settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
value: borderRadius,
label: Object(external_this_wp_i18n_["__"])('Border Radius'),
label: Object(external_this_wp_i18n_["__"])('Border radius'),
min: MIN_BORDER_RADIUS_VALUE,
max: MAX_BORDER_RADIUS_VALUE,
initialPosition: INITIAL_BORDER_RADIUS_POSITION,
@ -9699,7 +9700,7 @@ function ButtonEdit(_ref5) {
settings: [{
colorValue: textColor.color,
onColorChange: setTextColor,
label: Object(external_this_wp_i18n_["__"])('Text Color')
label: Object(external_this_wp_i18n_["__"])('Text color')
}, {
colorValue: backgroundColor.color,
onColorChange: setBackgroundColor,
@ -10331,15 +10332,15 @@ function (_Component) {
var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Categories settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'),
label: Object(external_this_wp_i18n_["__"])('Display as dropdown'),
checked: displayAsDropdown,
onChange: this.toggleDisplayAsDropdown
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Show Hierarchy'),
label: Object(external_this_wp_i18n_["__"])('Show hierarchy'),
checked: showHierarchy,
onChange: this.toggleShowHierarchy
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Show Post Counts'),
label: Object(external_this_wp_i18n_["__"])('Show post counts'),
checked: showPostCounts,
onChange: this.toggleShowPostCounts
})));
@ -12167,11 +12168,11 @@ function CoverEdit(_ref3) {
})), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Media settings')
}, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Fixed Background'),
label: Object(external_this_wp_i18n_["__"])('Fixed background'),
checked: hasParallax,
onChange: toggleParallax
}), IMAGE_BACKGROUND_TYPE === backgroundType && !hasParallax && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], {
label: Object(external_this_wp_i18n_["__"])('Focal Point Picker'),
label: Object(external_this_wp_i18n_["__"])('Focal point picker'),
url: url,
value: focalPoint,
onChange: function onChange(newFocalPoint) {
@ -12218,7 +12219,7 @@ function CoverEdit(_ref3) {
label: Object(external_this_wp_i18n_["__"])('Color')
}]
}, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
label: Object(external_this_wp_i18n_["__"])('Background Opacity'),
label: Object(external_this_wp_i18n_["__"])('Background opacity'),
value: dimRatio,
onChange: function onChange(newDimRation) {
return setAttributes({
@ -13467,7 +13468,7 @@ function FileBlockInspector(_ref) {
if (attachmentPage) {
linkDestinationOptions = [{
value: href,
label: Object(external_this_wp_i18n_["__"])('Media File')
label: Object(external_this_wp_i18n_["__"])('Media file')
}, {
value: attachmentPage,
label: Object(external_this_wp_i18n_["__"])('Attachment page')
@ -13477,7 +13478,7 @@ function FileBlockInspector(_ref) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Text link settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
label: Object(external_this_wp_i18n_["__"])('Link To'),
label: Object(external_this_wp_i18n_["__"])('Link to'),
value: textLinkHref,
options: linkDestinationOptions,
onChange: changeLinkDestinationOption
@ -14871,7 +14872,7 @@ function (_Component) {
var colorSettings = [{
value: backgroundColor.color,
onChange: setBackgroundColor,
label: Object(external_this_wp_i18n_["__"])('Background Color')
label: Object(external_this_wp_i18n_["__"])('Background color')
}];
var toolbarControls = [{
icon: 'align-pull-left',
@ -14924,7 +14925,7 @@ function (_Component) {
});
}
}), imageFill && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], {
label: Object(external_this_wp_i18n_["__"])('Focal Point Picker'),
label: Object(external_this_wp_i18n_["__"])('Focal point picker'),
url: mediaUrl,
value: focalPoint,
onChange: function onChange(value) {
@ -14933,7 +14934,7 @@ function (_Component) {
});
}
}), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'),
label: Object(external_this_wp_i18n_["__"])('Alt text (alternative text)'),
value: mediaAlt,
onChange: onMediaAltChange,
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
@ -15381,19 +15382,19 @@ function (_Component) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Latest comments settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display Avatar'),
label: Object(external_this_wp_i18n_["__"])('Display avatar'),
checked: displayAvatar,
onChange: this.toggleDisplayAvatar
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display Date'),
label: Object(external_this_wp_i18n_["__"])('Display date'),
checked: displayDate,
onChange: this.toggleDisplayDate
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display Excerpt'),
label: Object(external_this_wp_i18n_["__"])('Display excerpt'),
checked: displayExcerpt,
onChange: this.toggleDisplayExcerpt
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
label: Object(external_this_wp_i18n_["__"])('Number of Comments'),
label: Object(external_this_wp_i18n_["__"])('Number of comments'),
value: commentsToShow,
onChange: this.setCommentsToShow,
min: MIN_COMMENTS,
@ -15601,7 +15602,7 @@ function (_Component) {
var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Post content settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Post Content'),
label: Object(external_this_wp_i18n_["__"])('Post content'),
checked: displayPostContent,
onChange: function onChange(value) {
return setAttributes({
@ -15615,7 +15616,7 @@ function (_Component) {
label: Object(external_this_wp_i18n_["__"])('Excerpt'),
value: 'excerpt'
}, {
label: Object(external_this_wp_i18n_["__"])('Full Post'),
label: Object(external_this_wp_i18n_["__"])('Full post'),
value: 'full_post'
}],
onChange: function onChange(value) {
@ -15644,7 +15645,7 @@ function (_Component) {
});
}
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Featured Image Settings')
title: Object(external_this_wp_i18n_["__"])('Featured image settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Display featured image'),
checked: displayFeaturedImage,
@ -15680,7 +15681,7 @@ function (_Component) {
featuredImageSizeHeight: undefined
});
}
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Image Alignment')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Image alignment')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
value: featuredImageAlign,
onChange: function onChange(value) {
return setAttributes({
@ -15772,7 +15773,7 @@ function (_Component) {
'has-dates': displayPostDate
}, "columns-".concat(columns), postLayout === 'grid'))
}, displayPosts.map(function (post, i) {
var titleTrimmed = post.title.rendered.trim();
var titleTrimmed = Object(external_this_lodash_["invoke"])(post, ['title', 'rendered', 'trim']);
var excerpt = post.excerpt.rendered;
var excerptElement = document.createElement('div');
excerptElement.innerHTML = excerpt;
@ -15934,7 +15935,7 @@ var ordered_list_settings_OrderedListSettings = function OrderedListSettings(_re
return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
title: Object(external_this_wp_i18n_["__"])('Ordered list settings')
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
label: Object(external_this_wp_i18n_["__"])('Start Value'),
label: Object(external_this_wp_i18n_["__"])('Start value'),
type: "number",
onChange: function onChange(value) {
var int = parseInt(value, 10);
@ -15947,7 +15948,7 @@ var ordered_list_settings_OrderedListSettings = function OrderedListSettings(_re
value: Number.isInteger(start) ? start.toString(10) : '',
step: "1"
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Reverse List Numbering'),
label: Object(external_this_wp_i18n_["__"])('Reverse list numbering'),
checked: reversed || false,
onChange: function onChange(value) {
setAttributes({
@ -17462,11 +17463,11 @@ function (_Component) {
colorSettings: [{
value: mainColor.color,
onChange: this.pullQuoteMainColorSetter,
label: Object(external_this_wp_i18n_["__"])('Main Color')
label: Object(external_this_wp_i18n_["__"])('Main color')
}, {
value: textColor.color,
onChange: this.pullQuoteTextColorSetter,
label: Object(external_this_wp_i18n_["__"])('Text Color')
label: Object(external_this_wp_i18n_["__"])('Text color')
}]
}, isSolidColorStyle && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({
textColor: textColor.color,
@ -17613,7 +17614,7 @@ var pullquote_settings = {
isDefault: true
}, {
name: SOLID_COLOR_STYLE_NAME,
label: Object(external_this_wp_i18n_["__"])('Solid Color')
label: Object(external_this_wp_i18n_["__"])('Solid color')
}],
supports: {
align: ['left', 'right', 'wide', 'full']
@ -20426,7 +20427,7 @@ function (_Component) {
colorSettings: [{
value: backgroundColor.color,
onChange: setBackgroundColor,
label: Object(external_this_wp_i18n_["__"])('Background Color'),
label: Object(external_this_wp_i18n_["__"])('Background color'),
disableCustomColors: true,
colors: BACKGROUND_COLORS
}]
@ -21251,7 +21252,7 @@ var edit_common_settings_VideoSettings = function VideoSettings(_ref) {
onChange: toggleAttribute('muted'),
checked: muted
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
label: Object(external_this_wp_i18n_["__"])('Playback Controls'),
label: Object(external_this_wp_i18n_["__"])('Playback controls'),
onChange: toggleAttribute('controls'),
checked: controls
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
@ -21495,8 +21496,8 @@ function (_Component) {
attributes: attributes
}), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], {
className: "editor-video-poster-control"
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Poster Image')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
title: Object(external_this_wp_i18n_["__"])('Select Poster Image'),
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Poster image')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
title: Object(external_this_wp_i18n_["__"])('Select poster image'),
onSelect: this.onSelectPoster,
allowedTypes: VIDEO_POSTER_ALLOWED_MEDIA_TYPES,
render: function render(_ref3) {
@ -22342,7 +22343,7 @@ var social_links_name = social_links_metadata.name;
var social_links_settings = {
title: Object(external_this_wp_i18n_["__"])('Social Icons'),
description: Object(external_this_wp_i18n_["__"])('Create a block of links to your social media or external sites.'),
description: Object(external_this_wp_i18n_["__"])('Display icons linking to your social media profiles or websites.'),
keywords: [Object(external_this_wp_i18n_["_x"])('links', 'block keywords')],
supports: {
align: ['left', 'center', 'right']
@ -23462,7 +23463,7 @@ var edit_SocialLinkEdit = function SocialLinkEdit(_ref) {
title: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s label'), socialLinkName),
initialOpen: false
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
label: Object(external_this_wp_i18n_["__"])('Link Label'),
label: Object(external_this_wp_i18n_["__"])('Link label'),
help: Object(external_this_wp_i18n_["__"])('Briefly describe the link to help screen reader users.'),
value: label,
onChange: function onChange(value) {
@ -23494,7 +23495,7 @@ var edit_SocialLinkEdit = function SocialLinkEdit(_ref) {
url: nextURL
});
},
placeholder: Object(external_this_wp_i18n_["__"])('Enter Address'),
placeholder: Object(external_this_wp_i18n_["__"])('Enter address'),
disableSuggestions: true
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
icon: keyboard_return["a" /* default */],
@ -23518,6 +23519,7 @@ var edit_SocialLinkEdit = function SocialLinkEdit(_ref) {
var social_link_metadata = {
name: "core/social-link",
category: "widgets",
icon: "share",
attributes: {
url: {
type: "string"

File diff suppressed because one or more lines are too long

View File

@ -28526,7 +28526,7 @@ function ColorPalette(_ref) {
buttonProps: {
'aria-label': Object(external_this_wp_i18n_["__"])('Custom color picker')
},
linkText: Object(external_this_wp_i18n_["__"])('Custom Color')
linkText: Object(external_this_wp_i18n_["__"])('Custom color')
}), !!clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, {
onClick: clearColor
}, Object(external_this_wp_i18n_["__"])('Clear')))
@ -34561,7 +34561,7 @@ function (_Component) {
}))))), Object(external_this_wp_element_["createElement"])("div", {
className: "components-focal-point-picker_position-display-container"
}, Object(external_this_wp_element_["createElement"])(base_control, {
label: Object(external_this_wp_i18n_["__"])('Horizontal Pos.'),
label: Object(external_this_wp_i18n_["__"])('Horizontal pos.'),
id: horizontalPositionId
}, Object(external_this_wp_element_["createElement"])("input", {
className: "components-text-control__input",
@ -34572,7 +34572,7 @@ function (_Component) {
type: "number",
value: this.fractionToPercentage(percentages.x)
}), Object(external_this_wp_element_["createElement"])("span", null, "%")), Object(external_this_wp_element_["createElement"])(base_control, {
label: Object(external_this_wp_i18n_["__"])('Vertical Pos.'),
label: Object(external_this_wp_i18n_["__"])('Vertical pos.'),
id: verticalPositionId
}, Object(external_this_wp_element_["createElement"])("input", {
className: "components-text-control__input",
@ -34916,11 +34916,11 @@ function FontSizePicker(_ref) {
className: "components-font-size-picker"
}, Object(external_this_wp_element_["createElement"])("legend", {
className: "screen-reader-text"
}, Object(external_this_wp_i18n_["__"])('Font Size')), Object(external_this_wp_element_["createElement"])("div", {
}, Object(external_this_wp_i18n_["__"])('Font size')), Object(external_this_wp_element_["createElement"])("div", {
className: "components-font-size-picker__controls"
}, fontSizes.length > 0 && Object(external_this_wp_element_["createElement"])(CustomSelectControl, {
className: 'components-font-size-picker__select',
label: Object(external_this_wp_i18n_["__"])('Preset Size'),
label: Object(external_this_wp_i18n_["__"])('Preset size'),
options: options,
value: options.find(function (option) {
return option.key === currentSelectValue;
@ -38879,10 +38879,10 @@ function QueryControls(_ref) {
label: Object(external_this_wp_i18n_["__"])('Order by'),
value: "".concat(orderBy, "/").concat(order),
options: [{
label: Object(external_this_wp_i18n_["__"])('Newest to Oldest'),
label: Object(external_this_wp_i18n_["__"])('Newest to oldest'),
value: 'date/desc'
}, {
label: Object(external_this_wp_i18n_["__"])('Oldest to Newest'),
label: Object(external_this_wp_i18n_["__"])('Oldest to newest'),
value: 'date/asc'
}, {
/* translators: label for ordering posts by title in ascending order */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -481,7 +481,7 @@ var getFeaturedImageMediaFrame = function getFeaturedImageMediaFrame() {
/**
* Prepares the Gallery toolbars and frames.
*
* @return {wp.media.view.MediaFrame.Select} The default media workflow.
* @return {wp.media.view.MediaFrame.Post} The default media workflow.
*/
@ -493,7 +493,7 @@ var media_upload_getGalleryDetailsMediaFrame = function getGalleryDetailsMediaFr
* @class GalleryDetailsMediaFrame
* @class
*/
return wp.media.view.MediaFrame.Select.extend({
return wp.media.view.MediaFrame.Post.extend({
/**
* Set up gallery toolbar.
*

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-beta2-47353';
$wp_version = '5.4-beta2-47354';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.