Editor: update JS packages
Fixes #50841. Built from https://develop.svn.wordpress.org/trunk@48719 git-svn-id: http://core.svn.wordpress.org/trunk@48481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
efdd927b48
commit
f85fe2882a
File diff suppressed because one or more lines are too long
|
@ -501,10 +501,6 @@
|
||||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||||
min-width: 36px;
|
min-width: 36px;
|
||||||
width: 36px; }
|
width: 36px; }
|
||||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
|
||||||
cursor: grab; }
|
|
||||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
|
||||||
cursor: grabbing; }
|
|
||||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||||
min-width: 24px;
|
min-width: 24px;
|
||||||
width: 24px; }
|
width: 24px; }
|
||||||
|
@ -2338,8 +2334,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||||
|
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper {
|
.block-editor-block-toolbar__block-switcher-wrapper {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper:not([draggable="false"]) * {
|
|
||||||
cursor: grab; }
|
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
||||||
display: block; }
|
display: block; }
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -505,10 +505,6 @@
|
||||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||||
min-width: 36px;
|
min-width: 36px;
|
||||||
width: 36px; }
|
width: 36px; }
|
||||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
|
||||||
cursor: grab; }
|
|
||||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
|
||||||
cursor: grabbing; }
|
|
||||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||||
min-width: 24px;
|
min-width: 24px;
|
||||||
width: 24px; }
|
width: 24px; }
|
||||||
|
@ -2342,8 +2338,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||||
|
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper {
|
.block-editor-block-toolbar__block-switcher-wrapper {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper:not([draggable="false"]) * {
|
|
||||||
cursor: grab; }
|
|
||||||
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
||||||
display: block; }
|
display: block; }
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1203,7 +1203,7 @@ function useProps(name, options, htmlProps) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
||||||
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(54);
|
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(55);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js
|
// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js
|
||||||
|
|
||||||
|
@ -1267,7 +1267,7 @@ function useOptions(name, options, htmlProps) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
||||||
var shallowEqual = __webpack_require__(55);
|
var shallowEqual = __webpack_require__(56);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
|
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
|
||||||
/**
|
/**
|
||||||
|
@ -1436,7 +1436,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding *
|
||||||
var external_this_React_ = __webpack_require__(13);
|
var external_this_React_ = __webpack_require__(13);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
||||||
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(54);
|
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(55);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
|
||||||
var useCreateElement = __webpack_require__(78);
|
var useCreateElement = __webpack_require__(78);
|
||||||
|
@ -1473,7 +1473,7 @@ function splitProps(props, keys) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
||||||
var shallowEqual = __webpack_require__(55);
|
var shallowEqual = __webpack_require__(56);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
|
// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
|
||||||
|
|
||||||
|
@ -2484,6 +2484,12 @@ function isSelfTarget(event) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 54 */
|
/* 54 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = this["wp"]["a11y"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 55 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2600,7 +2606,7 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 55 */
|
/* 56 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2642,7 +2648,7 @@ function shallowEqual(objA, objB) {
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 56 */
|
/* 57 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2661,12 +2667,6 @@ function getActiveElement(element) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 57 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["a11y"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 58 */,
|
/* 58 */,
|
||||||
/* 59 */
|
/* 59 */
|
||||||
|
@ -4226,7 +4226,7 @@ else {}
|
||||||
/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
||||||
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
||||||
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48);
|
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48);
|
||||||
/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55);
|
/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4304,7 +4304,7 @@ function unstable_IdProvider(_ref) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasFocusWithin; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasFocusWithin; });
|
||||||
/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56);
|
/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4417,7 +4417,7 @@ function closest(element, selectors) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
|
||||||
var getActiveElement = __webpack_require__(56);
|
var getActiveElement = __webpack_require__(57);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js
|
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js
|
||||||
|
|
||||||
|
@ -4715,7 +4715,7 @@ function isPortalEvent(event) {
|
||||||
/* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
/* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
||||||
/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(69);
|
/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(69);
|
||||||
/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72);
|
/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72);
|
||||||
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(56);
|
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(57);
|
||||||
/* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(71);
|
/* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(71);
|
||||||
|
|
||||||
|
|
||||||
|
@ -4936,7 +4936,7 @@ var SystemContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["crea
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74);
|
/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74);
|
||||||
/* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
/* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7938,7 +7938,7 @@ exports.useSprings = useSprings;
|
||||||
/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80);
|
/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80);
|
||||||
/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46);
|
/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46);
|
||||||
/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(53);
|
/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(53);
|
||||||
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(56);
|
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(57);
|
||||||
/* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(73);
|
/* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(73);
|
||||||
/* harmony import */ var reakit_system_useCreateElement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(78);
|
/* harmony import */ var reakit_system_useCreateElement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(78);
|
||||||
/* harmony import */ var reakit_utils_createOnKeyDown__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(82);
|
/* harmony import */ var reakit_utils_createOnKeyDown__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(82);
|
||||||
|
@ -11832,7 +11832,7 @@ __webpack_require__.d(__webpack_exports__, "Typewriter", function() { return /*
|
||||||
__webpack_require__.d(__webpack_exports__, "Warning", function() { return /* reexport */ warning; });
|
__webpack_require__.d(__webpack_exports__, "Warning", function() { return /* reexport */ warning; });
|
||||||
__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return /* reexport */ WritingFlow; });
|
__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return /* reexport */ WritingFlow; });
|
||||||
__webpack_require__.d(__webpack_exports__, "BlockEditorProvider", function() { return /* reexport */ provider; });
|
__webpack_require__.d(__webpack_exports__, "BlockEditorProvider", function() { return /* reexport */ provider; });
|
||||||
__webpack_require__.d(__webpack_exports__, "useSimulatedMediaQuery", function() { return /* reexport */ useSimulatedMediaQuery; });
|
__webpack_require__.d(__webpack_exports__, "__experimentalUseSimulatedMediaQuery", function() { return /* reexport */ useSimulatedMediaQuery; });
|
||||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseEditorFeature", function() { return /* reexport */ useEditorFeature; });
|
__webpack_require__.d(__webpack_exports__, "__experimentalUseEditorFeature", function() { return /* reexport */ useEditorFeature; });
|
||||||
__webpack_require__.d(__webpack_exports__, "transformStyles", function() { return /* reexport */ transform_styles; });
|
__webpack_require__.d(__webpack_exports__, "transformStyles", function() { return /* reexport */ transform_styles; });
|
||||||
__webpack_require__.d(__webpack_exports__, "storeConfig", function() { return /* reexport */ storeConfig; });
|
__webpack_require__.d(__webpack_exports__, "storeConfig", function() { return /* reexport */ storeConfig; });
|
||||||
|
@ -13390,7 +13390,7 @@ var panel_color_gradient_settings_PanelColorGradientSettings = function PanelCol
|
||||||
/* harmony default export */ var panel_color_gradient_settings = (panel_color_gradient_settings_PanelColorGradientSettings);
|
/* harmony default export */ var panel_color_gradient_settings = (panel_color_gradient_settings_PanelColorGradientSettings);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
||||||
var external_this_wp_a11y_ = __webpack_require__(57);
|
var external_this_wp_a11y_ = __webpack_require__(54);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js
|
||||||
|
|
||||||
|
@ -25916,11 +25916,18 @@ function QuickInserter(_ref2) {
|
||||||
var setInsererIsOpened = Object(external_this_wp_data_["useSelect"])(function (select) {
|
var setInsererIsOpened = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||||
return select('core/block-editor').getSettings().__experimentalSetIsInserterOpened;
|
return select('core/block-editor').getSettings().__experimentalSetIsInserterOpened;
|
||||||
}, []);
|
}, []);
|
||||||
|
var previousBlockClientId = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||||
|
return select('core/block-editor').getPreviousBlockClientId(clientId);
|
||||||
|
}, [clientId]);
|
||||||
Object(external_this_wp_element_["useEffect"])(function () {
|
Object(external_this_wp_element_["useEffect"])(function () {
|
||||||
if (setInsererIsOpened) {
|
if (setInsererIsOpened) {
|
||||||
setInsererIsOpened(false);
|
setInsererIsOpened(false);
|
||||||
}
|
}
|
||||||
}, [setInsererIsOpened]); // Announce search results on change
|
}, [setInsererIsOpened]);
|
||||||
|
|
||||||
|
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
|
||||||
|
selectBlock = _useDispatch.selectBlock; // Announce search results on change
|
||||||
|
|
||||||
|
|
||||||
Object(external_this_wp_element_["useEffect"])(function () {
|
Object(external_this_wp_element_["useEffect"])(function () {
|
||||||
if (!filterValue) {
|
if (!filterValue) {
|
||||||
|
@ -25932,7 +25939,15 @@ function QuickInserter(_ref2) {
|
||||||
/* translators: %d: number of results. */
|
/* translators: %d: number of results. */
|
||||||
Object(external_this_wp_i18n_["_n"])('%d result found.', '%d results found.', count), count);
|
Object(external_this_wp_i18n_["_n"])('%d result found.', '%d results found.', count), count);
|
||||||
debouncedSpeak(resultsFoundMessage);
|
debouncedSpeak(resultsFoundMessage);
|
||||||
}, [filterValue, debouncedSpeak]); // Disable reason (no-autofocus): The inserter menu is a modal display, not one which
|
}, [filterValue, debouncedSpeak]); // When clicking Browse All select the appropriate block so as
|
||||||
|
// the insertion point can work as expected
|
||||||
|
|
||||||
|
var onBrowseAll = function onBrowseAll() {
|
||||||
|
// We have to select the previous block because the menu inserter
|
||||||
|
// inserts the new block after the selected one.
|
||||||
|
selectBlock(previousBlockClientId);
|
||||||
|
setInsererIsOpened(true);
|
||||||
|
}; // Disable reason (no-autofocus): The inserter menu is a modal display, not one which
|
||||||
// is always visible, and one which already incurs this behavior of autoFocus via
|
// is always visible, and one which already incurs this behavior of autoFocus via
|
||||||
// Popover's focusOnMount.
|
// Popover's focusOnMount.
|
||||||
// Disable reason (no-static-element-interactions): Navigational key-presses within
|
// Disable reason (no-static-element-interactions): Navigational key-presses within
|
||||||
|
@ -25940,6 +25955,7 @@ function QuickInserter(_ref2) {
|
||||||
|
|
||||||
/* eslint-disable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */
|
/* eslint-disable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */
|
||||||
|
|
||||||
|
|
||||||
return Object(external_this_wp_element_["createElement"])("div", {
|
return Object(external_this_wp_element_["createElement"])("div", {
|
||||||
className: "block-editor-inserter__quick-inserter",
|
className: "block-editor-inserter__quick-inserter",
|
||||||
onKeyPress: quick_inserter_stopKeyPropagation,
|
onKeyPress: quick_inserter_stopKeyPropagation,
|
||||||
|
@ -25957,9 +25973,7 @@ function QuickInserter(_ref2) {
|
||||||
onHover: onToggleInsertionPoint
|
onHover: onToggleInsertionPoint
|
||||||
}), setInsererIsOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
}), setInsererIsOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||||
className: "block-editor-inserter__quick-inserter-expand",
|
className: "block-editor-inserter__quick-inserter-expand",
|
||||||
onClick: function onClick() {
|
onClick: onBrowseAll,
|
||||||
return setInsererIsOpened(true);
|
|
||||||
},
|
|
||||||
"aria-label": Object(external_this_wp_i18n_["__"])('Browse all. This will open the main inserter panel in the editor toolbar.')
|
"aria-label": Object(external_this_wp_i18n_["__"])('Browse all. This will open the main inserter panel in the editor toolbar.')
|
||||||
}, Object(external_this_wp_i18n_["__"])('Browse all')));
|
}, Object(external_this_wp_i18n_["__"])('Browse all')));
|
||||||
/* eslint-enable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */
|
/* eslint-enable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */
|
||||||
|
@ -27205,11 +27219,21 @@ function InsertionPoint(_ref3) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if the user is using windows.
|
||||||
|
*
|
||||||
|
* @return {boolean} Whether the user is using Windows.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function isWindows() {
|
||||||
|
return window.navigator.platform.indexOf('Win') > -1;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Block selection button component, displaying the label of the block. If the block
|
* Block selection button component, displaying the label of the block. If the block
|
||||||
* descends from a root block, a button is displayed enabling the user to select
|
* descends from a root block, a button is displayed enabling the user to select
|
||||||
|
@ -27221,6 +27245,7 @@ function InsertionPoint(_ref3) {
|
||||||
* @return {WPComponent} The component to be rendered.
|
* @return {WPComponent} The component to be rendered.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
function BlockSelectionButton(_ref) {
|
function BlockSelectionButton(_ref) {
|
||||||
var clientId = _ref.clientId,
|
var clientId = _ref.clientId,
|
||||||
rootClientId = _ref.rootClientId,
|
rootClientId = _ref.rootClientId,
|
||||||
|
@ -27263,7 +27288,13 @@ function BlockSelectionButton(_ref) {
|
||||||
var ref = Object(external_this_wp_element_["useRef"])(); // Focus the breadcrumb in navigation mode.
|
var ref = Object(external_this_wp_element_["useRef"])(); // Focus the breadcrumb in navigation mode.
|
||||||
|
|
||||||
Object(external_this_wp_element_["useEffect"])(function () {
|
Object(external_this_wp_element_["useEffect"])(function () {
|
||||||
ref.current.focus();
|
ref.current.focus(); // NVDA on windows suffers from a bug where focus changes are not announced properly
|
||||||
|
// See WordPress/gutenberg#24121 and nvaccess/nvda#5825 for more details
|
||||||
|
// To solve it we announce the focus change manually.
|
||||||
|
|
||||||
|
if (isWindows()) {
|
||||||
|
Object(external_this_wp_a11y_["speak"])(label);
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
function onKeyDown(event) {
|
function onKeyDown(event) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1054,7 +1054,7 @@ function useProps(name, options, htmlProps) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
||||||
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(54);
|
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(55);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js
|
// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js
|
||||||
|
|
||||||
|
@ -1118,7 +1118,7 @@ function useOptions(name, options, htmlProps) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
||||||
var shallowEqual = __webpack_require__(55);
|
var shallowEqual = __webpack_require__(56);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
|
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
|
||||||
/**
|
/**
|
||||||
|
@ -1287,7 +1287,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding *
|
||||||
var external_this_React_ = __webpack_require__(13);
|
var external_this_React_ = __webpack_require__(13);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
|
||||||
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(54);
|
var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__(55);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
|
// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
|
||||||
var useCreateElement = __webpack_require__(78);
|
var useCreateElement = __webpack_require__(78);
|
||||||
|
@ -1324,7 +1324,7 @@ function splitProps(props, keys) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
|
||||||
var shallowEqual = __webpack_require__(55);
|
var shallowEqual = __webpack_require__(56);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
|
// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
|
||||||
|
|
||||||
|
@ -2330,6 +2330,12 @@ function isSelfTarget(event) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 54 */
|
/* 54 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = this["wp"]["a11y"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 55 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2446,7 +2452,7 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 55 */
|
/* 56 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2488,7 +2494,7 @@ function shallowEqual(objA, objB) {
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 56 */
|
/* 57 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -2507,12 +2513,6 @@ function getActiveElement(element) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 57 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["a11y"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 58 */
|
/* 58 */
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
@ -4130,7 +4130,7 @@ else {}
|
||||||
/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
||||||
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
||||||
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48);
|
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48);
|
||||||
/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55);
|
/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4208,7 +4208,7 @@ function unstable_IdProvider(_ref) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasFocusWithin; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasFocusWithin; });
|
||||||
/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56);
|
/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4321,7 +4321,7 @@ function closest(element, selectors) {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
|
// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
|
||||||
var getActiveElement = __webpack_require__(56);
|
var getActiveElement = __webpack_require__(57);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js
|
// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js
|
||||||
|
|
||||||
|
@ -4619,7 +4619,7 @@ function isPortalEvent(event) {
|
||||||
/* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
/* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
||||||
/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(69);
|
/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(69);
|
||||||
/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72);
|
/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72);
|
||||||
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(56);
|
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(57);
|
||||||
/* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(71);
|
/* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(71);
|
||||||
|
|
||||||
|
|
||||||
|
@ -4879,7 +4879,7 @@ var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74);
|
/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74);
|
||||||
/* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
/* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -10217,7 +10217,7 @@ module.exports = Function.prototype.bind || implementation;
|
||||||
/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80);
|
/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80);
|
||||||
/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46);
|
/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46);
|
||||||
/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(53);
|
/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(53);
|
||||||
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(56);
|
/* harmony import */ var reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(57);
|
||||||
/* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(73);
|
/* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(73);
|
||||||
/* harmony import */ var reakit_system_useCreateElement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(78);
|
/* harmony import */ var reakit_system_useCreateElement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(78);
|
||||||
/* harmony import */ var reakit_utils_createOnKeyDown__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(82);
|
/* harmony import */ var reakit_utils_createOnKeyDown__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(82);
|
||||||
|
@ -14208,7 +14208,7 @@ function createScrollLockComponent() {
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
|
||||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(57);
|
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54);
|
||||||
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);
|
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
|
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
|
||||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
|
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
|
||||||
|
@ -21587,7 +21587,7 @@ var build_module_button = __webpack_require__(34);
|
||||||
var popover = __webpack_require__(112);
|
var popover = __webpack_require__(112);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
||||||
var external_this_wp_a11y_ = __webpack_require__(57);
|
var external_this_wp_a11y_ = __webpack_require__(54);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2373,7 +2373,7 @@ var refx_default = /*#__PURE__*/__webpack_require__.n(refx);
|
||||||
var slicedToArray = __webpack_require__(14);
|
var slicedToArray = __webpack_require__(14);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
||||||
var external_this_wp_a11y_ = __webpack_require__(57);
|
var external_this_wp_a11y_ = __webpack_require__(54);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||||
var external_this_wp_apiFetch_ = __webpack_require__(45);
|
var external_this_wp_apiFetch_ = __webpack_require__(45);
|
||||||
|
@ -8810,7 +8810,7 @@ function _defineProperty(obj, key, value) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 57:
|
/***/ 54:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["a11y"]; }());
|
(function() { module.exports = this["wp"]["a11y"]; }());
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4302,7 +4302,13 @@ function component_RichText(_ref) {
|
||||||
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
|
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
|
||||||
_useState2$ = _useState2[0],
|
_useState2$ = _useState2[0],
|
||||||
activeFormats = _useState2$ === void 0 ? [] : _useState2$,
|
activeFormats = _useState2$ === void 0 ? [] : _useState2$,
|
||||||
setActiveFormats = _useState2[1];
|
setActiveFormats = _useState2[1]; // For backward compatibility, fall back to tagName if it's a string.
|
||||||
|
// tagName can now be a component for light blocks.
|
||||||
|
|
||||||
|
|
||||||
|
if (!multilineRootTag && typeof TagName === 'string') {
|
||||||
|
multilineRootTag = TagName;
|
||||||
|
}
|
||||||
|
|
||||||
function getDoc() {
|
function getDoc() {
|
||||||
return ref.current.ownerDocument;
|
return ref.current.ownerDocument;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48717';
|
$wp_version = '5.6-alpha-48719';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue