Block Editor: Updated WordPress Packages for 5.5 beta 4

Updated packages:

 - @wordpress/annotations@1.20.3
 - @wordpress/block-directory@1.13.3
 - @wordpress/block-editor@4.3.3
 - @wordpress/block-library@2.22.3
 - @wordpress/blocks@6.20.3
 - @wordpress/components@10.0.3
 - @wordpress/compose@3.19.3
 - @wordpress/core-data@2.20.3
 - @wordpress/data-controls@1.16.3
 - @wordpress/data@4.22.3
 - @wordpress/e2e-test-utils@4.11.1
 - @wordpress/e2e-tests@1.20.3
 - @wordpress/edit-post@3.21.3
 - @wordpress/edit-site@1.11.3
 - @wordpress/editor@9.20.3
 - @wordpress/format-library@1.22.3
 - @wordpress/interface@0.7.3
 - @wordpress/keyboard-shortcuts@1.9.3
 - @wordpress/list-reusable-blocks@1.21.3
 - @wordpress/notices@2.8.3
 - @wordpress/nux@3.20.3
 - @wordpress/plugins@2.20.3
 - @wordpress/rich-text@3.20.3
 - @wordpress/server-side-render@1.16.3
 - @wordpress/viewport@2.21.3

Fixes #50791.

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


git-svn-id: http://core.svn.wordpress.org/trunk@48406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
youknowriad 2020-07-27 20:10:36 +00:00
parent bb54ebcd0d
commit 8e433f2a57
55 changed files with 603 additions and 443 deletions

File diff suppressed because one or more lines are too long

View File

@ -55,7 +55,11 @@ function render_block_core_rss( $attributes ) {
$author = $item->get_author(); $author = $item->get_author();
if ( is_object( $author ) ) { if ( is_object( $author ) ) {
$author = $author->get_name(); $author = $author->get_name();
$author = '<span class="wp-block-rss__item-author">' . __( 'by' ) . ' ' . esc_html( strip_tags( $author ) ) . '</span>'; $author = '<span class="wp-block-rss__item-author">' . sprintf(
/* translators: %s: the author. */
__( 'by %s' ),
esc_html( strip_tags( $author ) )
) . '</span>';
} }
} }

View File

@ -1,3 +1,4 @@
@charset "UTF-8";
/** /**
* Colors * Colors
*/ */
@ -610,7 +611,7 @@
display: inline-block; display: inline-block;
margin: 0; } margin: 0; }
.block-editor-block-breadcrumb li:not(:last-child)::after { .block-editor-block-breadcrumb li:not(:last-child)::after {
content: "\2192"; } content: ""; }
.block-editor-block-breadcrumb__button.components-button { .block-editor-block-breadcrumb__button.components-button {
height: 24px; height: 24px;

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
@charset "UTF-8";
/** /**
* Colors * Colors
*/ */
@ -614,7 +615,7 @@
display: inline-block; display: inline-block;
margin: 0; } margin: 0; }
.block-editor-block-breadcrumb li:not(:last-child)::after { .block-editor-block-breadcrumb li:not(:last-child)::after {
content: "\2192"; } content: "→" /*rtl:"←"*/; }
.block-editor-block-breadcrumb__button.components-button { .block-editor-block-breadcrumb__button.components-button {
height: 24px; height: 24px;

File diff suppressed because one or more lines are too long

View File

@ -589,15 +589,15 @@ figure.wp-block-gallery {
.columns-7 .block-library-gallery-item__inline-menu, .columns-7 .block-library-gallery-item__inline-menu,
.columns-8 .block-library-gallery-item__inline-menu { .columns-8 .block-library-gallery-item__inline-menu {
padding: 2px; } } padding: 2px; } }
.block-library-gallery-item__inline-menu .components-button.has-icon { .block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) {
border: none; border: none;
box-shadow: none; } box-shadow: none; }
@media (min-width: 600px) { @media (min-width: 600px) {
.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,
.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon { .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon {
padding: 0; padding: 0;
width: inherit; width: inherit;
height: inherit; } } height: inherit; } }
.block-library-gallery-item__inline-menu.is-left { .block-library-gallery-item__inline-menu.is-left {
right: -2px; } right: -2px; }
.block-library-gallery-item__inline-menu.is-right { .block-library-gallery-item__inline-menu.is-right {

File diff suppressed because one or more lines are too long

View File

@ -594,15 +594,15 @@ figure.wp-block-gallery {
.columns-7 .block-library-gallery-item__inline-menu, .columns-7 .block-library-gallery-item__inline-menu,
.columns-8 .block-library-gallery-item__inline-menu { .columns-8 .block-library-gallery-item__inline-menu {
padding: 2px; } } padding: 2px; } }
.block-library-gallery-item__inline-menu .components-button.has-icon { .block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) {
border: none; border: none;
box-shadow: none; } box-shadow: none; }
@media (min-width: 600px) { @media (min-width: 600px) {
.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,
.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon { .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon {
padding: 0; padding: 0;
width: inherit; width: inherit;
height: inherit; } } height: inherit; } }
.block-library-gallery-item__inline-menu.is-left { .block-library-gallery-item__inline-menu.is-left {
left: -2px; } left: -2px; }
.block-library-gallery-item__inline-menu.is-right { .block-library-gallery-item__inline-menu.is-right {

File diff suppressed because one or more lines are too long

View File

@ -875,14 +875,16 @@ svg.components-checkbox-control__checked {
margin: 0 -4px; margin: 0 -4px;
padding-top: 16px; padding-top: 16px;
display: flex; display: flex;
align-items: flex-end; } align-items: flex-end;
min-width: 255px; }
.components-color-picker__inputs-wrapper fieldset { .components-color-picker__inputs-wrapper fieldset {
flex: 1; flex: 1;
border: none; border: none;
margin: 0; margin: 0;
padding: 0; } padding: 0; }
.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] { .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] {
padding: 6px 8px; } padding: 6px 3px;
margin: 0; }
.components-color-picker__inputs-field { .components-color-picker__inputs-field {
width: 100%; } width: 100%; }
@ -895,7 +897,7 @@ svg.components-checkbox-control__checked {
.components-color-picker__inputs-fields .components-base-control + .components-base-control { .components-color-picker__inputs-fields .components-base-control + .components-base-control {
margin-top: 0; } margin-top: 0; }
.components-color-picker__inputs-fields .components-base-control__field { .components-color-picker__inputs-fields .components-base-control__field {
margin: 0 4px; } margin: 0 2px; }
.components-color-picker__inputs-toggle { .components-color-picker__inputs-toggle {
height: 30px; height: 30px;
@ -3223,7 +3225,9 @@ body.is-dragging-components-draggable {
.components-popover:not(.is-without-arrow) { .components-popover:not(.is-without-arrow) {
margin-left: 2px; } margin-left: 2px; }
.components-popover:not(.is-without-arrow)::before { .components-popover:not(.is-without-arrow)::before {
border: 8px solid #1e1e1e; } border: 8px solid #ccc; }
.components-popover:not(.is-without-arrow).is-alternate::before {
border-color: #1e1e1e; }
.components-popover:not(.is-without-arrow)::after { .components-popover:not(.is-without-arrow)::after {
border: 8px solid #fff; } border: 8px solid #fff; }
.components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after { .components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after {

File diff suppressed because one or more lines are too long

View File

@ -878,14 +878,16 @@ svg.components-checkbox-control__checked {
margin: 0 -4px; margin: 0 -4px;
padding-top: 16px; padding-top: 16px;
display: flex; display: flex;
align-items: flex-end; } align-items: flex-end;
min-width: 255px; }
.components-color-picker__inputs-wrapper fieldset { .components-color-picker__inputs-wrapper fieldset {
flex: 1; flex: 1;
border: none; border: none;
margin: 0; margin: 0;
padding: 0; } padding: 0; }
.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] { .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] {
padding: 6px 8px; } padding: 6px 3px;
margin: 0; }
.components-color-picker__inputs-field { .components-color-picker__inputs-field {
width: 100%; } width: 100%; }
@ -899,7 +901,7 @@ svg.components-checkbox-control__checked {
.components-color-picker__inputs-fields .components-base-control + .components-base-control { .components-color-picker__inputs-fields .components-base-control + .components-base-control {
margin-top: 0; } margin-top: 0; }
.components-color-picker__inputs-fields .components-base-control__field { .components-color-picker__inputs-fields .components-base-control__field {
margin: 0 4px; } margin: 0 2px; }
.components-color-picker__inputs-toggle { .components-color-picker__inputs-toggle {
height: 30px; height: 30px;
@ -3236,7 +3238,9 @@ body.is-dragging-components-draggable {
.components-popover:not(.is-without-arrow) { .components-popover:not(.is-without-arrow) {
margin-left: 2px; } margin-left: 2px; }
.components-popover:not(.is-without-arrow)::before { .components-popover:not(.is-without-arrow)::before {
border: 8px solid #1e1e1e; } border: 8px solid #ccc; }
.components-popover:not(.is-without-arrow).is-alternate::before {
border-color: #1e1e1e; }
.components-popover:not(.is-without-arrow)::after { .components-popover:not(.is-without-arrow)::after {
border: 8px solid #fff; } border: 8px solid #fff; }
.components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after { .components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after {

File diff suppressed because one or more lines are too long

View File

@ -513,7 +513,10 @@
.editor-post-taxonomies__hierarchical-terms-list { .editor-post-taxonomies__hierarchical-terms-list {
max-height: 14em; max-height: 14em;
overflow: auto; overflow: auto;
padding-right: 2px; } margin-right: -5.5px;
padding-right: 5.5px;
margin-top: -5.5px;
padding-top: 5.5px; }
.editor-post-taxonomies__hierarchical-terms-choice { .editor-post-taxonomies__hierarchical-terms-choice {
margin-bottom: 8px; } margin-bottom: 8px; }

File diff suppressed because one or more lines are too long

View File

@ -513,7 +513,10 @@
.editor-post-taxonomies__hierarchical-terms-list { .editor-post-taxonomies__hierarchical-terms-list {
max-height: 14em; max-height: 14em;
overflow: auto; overflow: auto;
padding-left: 2px; } margin-left: -5.5px;
padding-left: 5.5px;
margin-top: -5.5px;
padding-top: 5.5px; }
.editor-post-taxonomies__hierarchical-terms-choice { .editor-post-taxonomies__hierarchical-terms-choice {
margin-bottom: 8px; } margin-bottom: 8px; }

File diff suppressed because one or more lines are too long

View File

@ -129,7 +129,7 @@ function _objectWithoutProperties(source, excluded) {
/***/ }), /***/ }),
/***/ 30: /***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
@ -347,10 +347,10 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
@ -937,7 +937,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 51: /***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -403,13 +403,6 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ }), /***/ }),
/***/ 30:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }());
/***/ }),
/***/ 35: /***/ 35:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -817,75 +810,62 @@ var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.
// EXTERNAL MODULE: external {"this":["wp","i18n"]} // EXTERNAL MODULE: external {"this":["wp","i18n"]}
var external_this_wp_i18n_ = __webpack_require__(1); var external_this_wp_i18n_ = __webpack_require__(1);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var external_this_wp_url_ = __webpack_require__(30); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
var external_this_wp_apiFetch_ = __webpack_require__(45);
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js
/** /**
* WordPress dependencies * WordPress dependencies
*/ */
/** /**
* Loads a JavaScript file. * Load an asset for a block.
* *
* @param {string} asset The url for this file. * This function returns a Promise that will resolve once the asset is loaded,
* or in the case of Stylesheets and Inline Javascript, will resolve immediately.
*
* @param {HTMLElement} el A HTML Element asset to inject.
* *
* @return {Promise} Promise which will resolve when the asset is loaded. * @return {Promise} Promise which will resolve when the asset is loaded.
*/ */
var controls_loadScript = function loadScript(asset) { var loadAsset = function loadAsset(el) {
if (!asset || !/\.js$/.test(Object(external_this_wp_url_["getPath"])(asset))) {
return Promise.reject(new Error('No script found.'));
}
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
var existing = document.querySelector("script[src=\"".concat(asset, "\"]")); /*
* Reconstruct the passed element, this is required as inserting the Node directly
* won't always fire the required onload events, even if the asset wasn't already loaded.
*/
var newNode = document.createElement(el.nodeName);
['id', 'rel', 'src', 'href', 'type'].forEach(function (attr) {
if (el[attr]) {
newNode[attr] = el[attr];
}
}); // Append inline <script> contents.
if (existing) { if (el.innerHTML) {
existing.parentNode.removeChild(existing); newNode.appendChild(document.createTextNode(el.innerHTML));
} }
var script = document.createElement('script'); newNode.onload = function () {
script.src = asset;
script.onload = function () {
return resolve(true); return resolve(true);
}; };
script.onerror = function () { newNode.onerror = function () {
return reject(new Error('Error loading script.')); return reject(new Error('Error loading asset.'));
}; };
document.body.appendChild(script); document.body.appendChild(newNode); // Resolve Stylesheets and Inline JavaScript immediately.
});
};
/**
* Loads a CSS file.
*
* @param {string} asset The url for this file.
*
* @return {Promise} Promise which will resolve when the asset is added.
*/
var controls_loadStyle = function loadStyle(asset) { if ('link' === newNode.nodeName.toLowerCase() || 'script' === newNode.nodeName.toLowerCase() && !newNode.src) {
if (!asset || !/\.css$/.test(Object(external_this_wp_url_["getPath"])(asset))) { resolve();
return Promise.reject(new Error('No style found.')); }
}
return new Promise(function (resolve, reject) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = asset;
link.onload = function () {
return resolve(true);
};
link.onerror = function () {
return reject(new Error('Error loading style.'));
};
document.body.appendChild(link);
}); });
}; };
/** /**
@ -903,12 +883,73 @@ function loadAssets(assets) {
}; };
} }
var controls = { var controls = {
LOAD_ASSETS: function LOAD_ASSETS(_ref) { LOAD_ASSETS: function LOAD_ASSETS() {
var assets = _ref.assets; /*
var scripts = assets.map(function (asset) { * Fetch the current URL (post-new.php, or post.php?post=1&action=edit) and compare the
return Object(external_this_wp_url_["getPath"])(asset).match(/\.js$/) !== null ? controls_loadScript(asset) : controls_loadStyle(asset); * Javascript and CSS assets loaded between the pages. This imports the required assets
* for the block into the current page while not requiring that we know them up-front.
* In the future this can be improved by reliance upon block.json and/or a script-loader
* dependancy API.
*/
return external_this_wp_apiFetch_default()({
url: document.location.href,
parse: false
}).then(function (response) {
return response.text();
}).then(function (data) {
var doc = new window.DOMParser().parseFromString(data, 'text/html');
var newAssets = Array.from(doc.querySelectorAll('link[rel="stylesheet"],script')).filter(function (asset) {
return asset.id && !document.getElementById(asset.id);
});
return new Promise( /*#__PURE__*/function () {
var _ref = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/external_this_regeneratorRuntime_default.a.mark(function _callee(resolve, reject) {
var i;
return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.t0 = external_this_regeneratorRuntime_default.a.keys(newAssets);
case 1:
if ((_context.t1 = _context.t0()).done) {
_context.next = 13;
break;
}
i = _context.t1.value;
_context.prev = 3;
_context.next = 6;
return loadAsset(newAssets[i]);
case 6:
_context.next = 11;
break;
case 8:
_context.prev = 8;
_context.t2 = _context["catch"](3);
reject(_context.t2);
case 11:
_context.next = 1;
break;
case 13:
resolve();
case 14:
case "end":
return _context.stop();
}
}
}, _callee, null, [[3, 8]]);
}));
return function (_x, _x2) {
return _ref.apply(this, arguments);
};
}());
}); });
return Promise.all(scripts);
} }
}; };
/* harmony default export */ var store_controls = (controls); /* harmony default export */ var store_controls = (controls);
@ -1010,29 +1051,20 @@ function actions_installBlockType(block) {
case 4: case 4:
_context.prev = 4; _context.prev = 4;
_context.next = 7;
if (!(!Array.isArray(assets) || !assets.length)) {
_context.next = 7;
break;
}
throw new Error(Object(external_this_wp_i18n_["__"])('Block has no assets.'));
case 7:
_context.next = 9;
return setIsInstalling(block.id, true); return setIsInstalling(block.id, true);
case 9: case 7:
// If we have a wp:plugin link, the plugin is installed but inactive. // If we have a wp:plugin link, the plugin is installed but inactive.
url = getPluginUrl(block); url = getPluginUrl(block);
links = {}; links = {};
if (!url) { if (!url) {
_context.next = 16; _context.next = 14;
break; break;
} }
_context.next = 14; _context.next = 12;
return Object(external_this_wp_dataControls_["apiFetch"])({ return Object(external_this_wp_dataControls_["apiFetch"])({
url: url, url: url,
data: { data: {
@ -1041,12 +1073,12 @@ function actions_installBlockType(block) {
method: 'PUT' method: 'PUT'
}); });
case 14: case 12:
_context.next = 20; _context.next = 18;
break; break;
case 16: case 14:
_context.next = 18; _context.next = 16;
return Object(external_this_wp_dataControls_["apiFetch"])({ return Object(external_this_wp_dataControls_["apiFetch"])({
path: 'wp/v2/plugins', path: 'wp/v2/plugins',
data: { data: {
@ -1056,44 +1088,44 @@ function actions_installBlockType(block) {
method: 'POST' method: 'POST'
}); });
case 18: case 16:
response = _context.sent; response = _context.sent;
// Add the `self` link for newly-installed blocks. // Add the `self` link for newly-installed blocks.
links = response._links; links = response._links;
case 20: case 18:
_context.next = 22; _context.next = 20;
return addInstalledBlockType(actions_objectSpread({}, block, { return addInstalledBlockType(actions_objectSpread({}, block, {
links: actions_objectSpread({}, block.links, {}, links) links: actions_objectSpread({}, block.links, {}, links)
})); }));
case 22: case 20:
_context.next = 24; _context.next = 22;
return loadAssets(assets); return loadAssets(assets);
case 24: case 22:
_context.next = 26; _context.next = 24;
return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockTypes'); return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockTypes');
case 26: case 24:
registeredBlocks = _context.sent; registeredBlocks = _context.sent;
if (!(!registeredBlocks.length || !registeredBlocks.filter(function (i) { if (!(!registeredBlocks.length || !registeredBlocks.filter(function (i) {
return i.name === block.name; return i.name === block.name;
}).length)) { }).length)) {
_context.next = 29; _context.next = 27;
break; break;
} }
throw new Error(Object(external_this_wp_i18n_["__"])('Error registering block. Try reloading the page.')); throw new Error(Object(external_this_wp_i18n_["__"])('Error registering block. Try reloading the page.'));
case 29: case 27:
success = true; success = true;
_context.next = 40; _context.next = 38;
break; break;
case 32: case 30:
_context.prev = 32; _context.prev = 30;
_context.t0 = _context["catch"](4); _context.t0 = _context["catch"](4);
message = _context.t0.message || Object(external_this_wp_i18n_["__"])('An error occurred.'); // Errors we throw are fatal message = _context.t0.message || Object(external_this_wp_i18n_["__"])('An error occurred.'); // Errors we throw are fatal
@ -1109,22 +1141,22 @@ function actions_installBlockType(block) {
message = fatalAPIErrors[_context.t0.code]; message = fatalAPIErrors[_context.t0.code];
} }
_context.next = 40; _context.next = 38;
return setErrorNotice(id, message, isFatal); return setErrorNotice(id, message, isFatal);
case 40: case 38:
_context.next = 42; _context.next = 40;
return setIsInstalling(block.id, false); return setIsInstalling(block.id, false);
case 42: case 40:
return _context.abrupt("return", success); return _context.abrupt("return", success);
case 43: case 41:
case "end": case "end":
return _context.stop(); return _context.stop();
} }
} }
}, _marked, null, [[4, 32]]); }, _marked, null, [[4, 30]]);
} }
/** /**
* Action triggered to uninstall a block plugin. * Action triggered to uninstall a block plugin.
@ -2112,6 +2144,13 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', {
/***/ }),
/***/ 45:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["apiFetch"]; }());
/***/ }), /***/ }),
/***/ 5: /***/ 5:
@ -2136,6 +2175,49 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }),
/***/ 6: /***/ 6:
/***/ (function(module, exports) { /***/ (function(module, exports) {

File diff suppressed because one or more lines are too long

View File

@ -539,6 +539,12 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/* 21 */ /* 21 */
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/* 22 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -572,12 +578,6 @@ function _inherits(subClass, superClass) {
if (superClass) _setPrototypeOf(subClass, superClass); if (superClass) _setPrototypeOf(subClass, superClass);
} }
/***/ }),
/* 22 */
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }), /***/ }),
/* 23 */ /* 23 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -664,13 +664,13 @@ function _unsupportedIterableToArray(o, minLen) {
/* 30 */ /* 30 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["dom"]; }());
/***/ }), /***/ }),
/* 31 */ /* 31 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["dom"]; }()); (function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
/* 32 */ /* 32 */
@ -1569,6 +1569,48 @@ function createComponent(_ref) {
/* 50 */ /* 50 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }),
/* 51 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findFirstEnabledItem; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findFirstEnabledItem; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return flatten; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return flatten; });
@ -2418,48 +2460,6 @@ useCompositeState.__keys = keys;
/***/ }),
/* 51 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }), /***/ }),
/* 52 */ /* 52 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
@ -7945,7 +7945,7 @@ exports.useSprings = useSprings;
/* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47); /* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
/* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(94); /* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(94);
/* harmony import */ var reakit_utils_fireKeyboardEvent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(102); /* harmony import */ var reakit_utils_fireKeyboardEvent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(102);
/* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(50); /* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(51);
@ -8303,7 +8303,7 @@ var Composite = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1_
/* harmony import */ var _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84); /* harmony import */ var _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84);
/* 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);
/* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47); /* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
/* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(50); /* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(51);
/* harmony import */ var _Id_Id_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(93); /* harmony import */ var _Id_Id_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(93);
/* harmony import */ var reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(95); /* harmony import */ var reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(95);
/* harmony import */ var _setTextFieldValue_78ab5d56_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96); /* harmony import */ var _setTextFieldValue_78ab5d56_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96);
@ -14024,7 +14024,7 @@ Object(external_this_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/c
Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/color/with-color-palette-styles', withColorPaletteStyles); Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/color/with-color-palette-styles', withColorPaletteStyles);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js
var BASE_DEFAULT_VALUE = 1.5; var BASE_DEFAULT_VALUE = 1.5;
@ -14943,7 +14943,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js
@ -16870,7 +16870,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
var more_vertical = __webpack_require__(298); var more_vertical = __webpack_require__(298);
@ -16879,7 +16879,7 @@ var more_vertical = __webpack_require__(298);
var web_cjs = __webpack_require__(113); var web_cjs = __webpack_require__(113);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(31); var external_this_wp_dom_ = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js
@ -23740,7 +23740,7 @@ function useBlockSync(_ref) {
pendingChanges.current.outgoing.push(blocks); // Inform the controlling entity that changes have been made to pendingChanges.current.outgoing.push(blocks); // Inform the controlling entity that changes have been made to
// the block-editor store they should be aware about. // the block-editor store they should be aware about.
var updateParent = isPersistent ? onChange : onInput; var updateParent = isPersistent ? onChangeRef.current : onInputRef.current;
updateParent(blocks, { updateParent(blocks, {
selectionStart: getSelectionStart(), selectionStart: getSelectionStart(),
selectionEnd: getSelectionEnd() selectionEnd: getSelectionEnd()
@ -24323,10 +24323,12 @@ function useBlockDropZone(_ref) {
return; return;
} }
var isAtSameLevel = sourceRootClientId === targetRootClientId || sourceRootClientId === '' && targetRootClientId === undefined; // If the block is kept at the same level and moved downwards, var isAtSameLevel = sourceRootClientId === targetRootClientId || sourceRootClientId === '' && targetRootClientId === undefined;
// subtract to account for blocks shifting upward to occupy its old position. var draggedBlockCount = sourceClientIds.length; // If the block is kept at the same level and moved downwards,
// subtract to take into account that the blocks being dragged
// were removed from the block list.
var insertIndex = isAtSameLevel && sourceBlockIndex < targetBlockIndex ? targetBlockIndex - 1 : targetBlockIndex; var insertIndex = isAtSameLevel && sourceBlockIndex < targetBlockIndex ? targetBlockIndex - draggedBlockCount : targetBlockIndex;
moveBlocksToPosition(sourceClientIds, sourceRootClientId, targetRootClientId, insertIndex); moveBlocksToPosition(sourceClientIds, sourceRootClientId, targetRootClientId, insertIndex);
}, [getClientIdsOfDescendants, getBlockIndex, targetBlockIndex, moveBlocksToPosition, targetRootClientId]); }, [getClientIdsOfDescendants, getBlockIndex, targetBlockIndex, moveBlocksToPosition, targetRootClientId]);
@ -24661,7 +24663,7 @@ function InserterPreviewPanel(_ref) {
/* harmony default export */ var preview_panel = (InserterPreviewPanel); /* harmony default export */ var preview_panel = (InserterPreviewPanel);
// EXTERNAL MODULE: ./node_modules/reakit/es/CompositeState-3a25dcee.js // EXTERNAL MODULE: ./node_modules/reakit/es/CompositeState-3a25dcee.js
var CompositeState_3a25dcee = __webpack_require__(50); var CompositeState_3a25dcee = __webpack_require__(51);
// EXTERNAL MODULE: ./node_modules/reakit/es/Composite/Composite.js // EXTERNAL MODULE: ./node_modules/reakit/es/Composite/Composite.js
var Composite = __webpack_require__(119); var Composite = __webpack_require__(119);
@ -25355,7 +25357,7 @@ function BlockPatternsTabs(_ref4) {
/* harmony default export */ var block_patterns_tab = (BlockPatternsTabs); /* harmony default export */ var block_patterns_tab = (BlockPatternsTabs);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/reusable-blocks-tab.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/reusable-blocks-tab.js
@ -25567,7 +25569,7 @@ function useInsertionPoint(_ref) {
if (!selectBlockOnInsert) { if (!selectBlockOnInsert) {
// translators: %d: the name of the block that has been added // translators: %d: the name of the block that has been added
var message = Object(external_this_wp_i18n_["_n"])('%d block added.', '%d blocks added', blocks.length); var message = Object(external_this_wp_i18n_["_n"])('%d block added.', '%d blocks added.', blocks.length);
Object(external_this_wp_a11y_["speak"])(message); Object(external_this_wp_a11y_["speak"])(message);
} }
@ -27262,7 +27264,7 @@ function BlockSelectionButton(_ref) {
Object(external_this_wp_element_["useEffect"])(function () { Object(external_this_wp_element_["useEffect"])(function () {
ref.current.focus(); ref.current.focus();
}); }, []);
function onKeyDown(event) { function onKeyDown(event) {
var keyCode = event.keyCode; var keyCode = event.keyCode;
@ -27653,6 +27655,7 @@ var stack_stack = Object(external_this_wp_element_["createElement"])(external_th
function block_styles_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function block_styles_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function block_styles_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_styles_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_styles_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } function block_styles_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_styles_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_styles_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
@ -27791,18 +27794,15 @@ function BlockStyles(_ref) {
return null; return null;
} }
if (!type.styles && !Object(external_this_lodash_["find"])(styles, 'isDefault')) { var renderedStyles = Object(external_this_lodash_["find"])(styles, 'isDefault') ? styles : [{
styles.unshift({ name: 'default',
name: 'default', label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), isDefault: true
isDefault: true }].concat(Object(toConsumableArray["a" /* default */])(styles));
}); var activeStyle = getActiveStyle(renderedStyles, className);
}
var activeStyle = getActiveStyle(styles, className);
return Object(external_this_wp_element_["createElement"])("div", { return Object(external_this_wp_element_["createElement"])("div", {
className: "block-editor-block-styles" className: "block-editor-block-styles"
}, styles.map(function (style) { }, renderedStyles.map(function (style) {
var styleClassName = replaceActiveStyle(className, activeStyle, style); var styleClassName = replaceActiveStyle(className, activeStyle, style);
return Object(external_this_wp_element_["createElement"])(BlockStyleItem, { return Object(external_this_wp_element_["createElement"])(BlockStyleItem, {
genericPreviewBlock: genericPreviewBlock, genericPreviewBlock: genericPreviewBlock,
@ -28272,13 +28272,13 @@ function useNotifyCopy() {
var _getBlockType = getBlockType(getBlockName(clientId)), var _getBlockType = getBlockType(getBlockName(clientId)),
title = _getBlockType.title; title = _getBlockType.title;
notice = eventType === 'copy' ? Object(external_this_wp_i18n_["sprintf"])( // Translators: Name of the block being copied, e.g. "Paragraph" notice = eventType === 'copy' ? Object(external_this_wp_i18n_["sprintf"])( // Translators: Name of the block being copied, e.g. "Paragraph".
Object(external_this_wp_i18n_["__"])('Copied "%s" to clipboard.'), title) : Object(external_this_wp_i18n_["sprintf"])( // Translators: Name of the block being cut, e.g. "Paragraph" Object(external_this_wp_i18n_["__"])('Copied "%s" to clipboard.'), title) : Object(external_this_wp_i18n_["sprintf"])( // Translators: Name of the block being cut, e.g. "Paragraph".
Object(external_this_wp_i18n_["__"])('Moved "%s" to clipboard.'), title); Object(external_this_wp_i18n_["__"])('Moved "%s" to clipboard.'), title);
} else { } else {
notice = eventType === 'copy' ? Object(external_this_wp_i18n_["sprintf"])( // Translators: Number of blocks being copied notice = eventType === 'copy' ? Object(external_this_wp_i18n_["sprintf"])( // Translators: %d: Number of blocks being copied.
Object(external_this_wp_i18n_["__"])('Copied %d blocks to clipboard.'), selectedBlockClientIds.length) : Object(external_this_wp_i18n_["sprintf"])( // Translators: Number of blocks being cut Object(external_this_wp_i18n_["_n"])('Copied %d block to clipboard.', 'Copied %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length) : Object(external_this_wp_i18n_["sprintf"])( // Translators: %d: Number of blocks being cut.
Object(external_this_wp_i18n_["__"])('Moved %d blocks to clipboard.'), selectedBlockClientIds.length); Object(external_this_wp_i18n_["_n"])('Moved %d block to clipboard.', 'Moved %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length);
} }
createSuccessNotice(notice, { createSuccessNotice(notice, {
@ -28945,8 +28945,8 @@ function BlockDraggableChip(_ref) {
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, icon ? Object(external_this_wp_element_["createElement"])(BlockIcon, { })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, icon ? Object(external_this_wp_element_["createElement"])(BlockIcon, {
icon: icon icon: icon
}) : Object(external_this_wp_i18n_["sprintf"])( }) : Object(external_this_wp_i18n_["sprintf"])(
/* translators: %d: number of blocks. */ /* translators: %d: Number of blocks. */
Object(external_this_wp_i18n_["__"])('%d blocks'), clientIds.length))))); Object(external_this_wp_i18n_["_n"])('%d block', '%d blocks', clientIds.length), clientIds.length)))));
} }
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js
@ -29946,7 +29946,6 @@ var BlockComponent = Object(external_this_wp_element_["forwardRef"])(function (_
enableAnimation = _useContext.enableAnimation, enableAnimation = _useContext.enableAnimation,
index = _useContext.index, index = _useContext.index,
className = _useContext.className, className = _useContext.className,
isLocked = _useContext.isLocked,
name = _useContext.name, name = _useContext.name,
mode = _useContext.mode, mode = _useContext.mode,
blockTitle = _useContext.blockTitle, blockTitle = _useContext.blockTitle,
@ -30126,9 +30125,9 @@ var BlockComponent = Object(external_this_wp_element_["forwardRef"])(function (_
}), }),
"data-block": clientId, "data-block": clientId,
"data-type": name, "data-type": name,
"data-title": blockTitle // Only allow shortcuts when a blocks is selected and not locked. "data-title": blockTitle // Only allow shortcuts when a blocks is selected.
, ,
onKeyDown: isSelected && !isLocked ? onKeyDown : undefined // Only allow selection to be started from a selected block. onKeyDown: isSelected ? onKeyDown : undefined // Only allow selection to be started from a selected block.
, ,
onMouseLeave: isSelected ? onMouseLeave : undefined // No need to have these listeners for hover class in edit mode. onMouseLeave: isSelected ? onMouseLeave : undefined // No need to have these listeners for hover class in edit mode.
, ,
@ -33941,7 +33940,7 @@ function LinkControl(_ref) {
return _context.abrupt("return", results); return _context.abrupt("return", results);
case 7: case 7:
return _context.abrupt("return", isURLLike(val) ? results : results.concat({ return _context.abrupt("return", isURLLike(val) || !createSuggestion ? results : results.concat({
// the `id` prop is intentionally ommitted here because it // the `id` prop is intentionally ommitted here because it
// is never exposed as part of the component's public API. // is never exposed as part of the component's public API.
// see: https://github.com/WordPress/gutenberg/pull/19775#discussion_r378931316. // see: https://github.com/WordPress/gutenberg/pull/19775#discussion_r378931316.

File diff suppressed because one or more lines are too long

View File

@ -699,6 +699,13 @@ var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElem
/***/ }), /***/ }),
/***/ 21: /***/ 21:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -734,13 +741,6 @@ function _inherits(subClass, superClass) {
/***/ }), /***/ }),
/***/ 22:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 23: /***/ 23:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -1414,13 +1414,6 @@ var chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create
/***/ }), /***/ }),
/***/ 30:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }());
/***/ }),
/***/ 300: /***/ 300:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -1519,6 +1512,13 @@ var grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
/* harmony default export */ __webpack_exports__["a"] = (grid); /* harmony default export */ __webpack_exports__["a"] = (grid);
/***/ }),
/***/ 31:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
/***/ 35: /***/ 35:
@ -2878,7 +2878,7 @@ var external_this_wp_blob_ = __webpack_require__(44);
var external_this_wp_compose_ = __webpack_require__(9); var external_this_wp_compose_ = __webpack_require__(9);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js
@ -6302,7 +6302,7 @@ var heading_deprecated_deprecated = [{
/* harmony default export */ var heading_deprecated = (heading_deprecated_deprecated); /* harmony default export */ var heading_deprecated = (heading_deprecated_deprecated);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js
@ -7855,7 +7855,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","viewport"]} // EXTERNAL MODULE: external {"this":["wp","viewport"]}
var external_this_wp_viewport_ = __webpack_require__(81); var external_this_wp_viewport_ = __webpack_require__(81);
@ -10459,9 +10459,10 @@ function ColorEdit(props) {
// The flag can't be used at the moment because of the extra wrapper around // The flag can't be used at the moment because of the extra wrapper around
// the button block markup. // the button block markup.
function getColorAndStyleProps(attributes) { function getColorAndStyleProps(attributes, colors) {
var _style$color, _style$color2, _style$color3, _style$color4, _classnames, _style$color5, _style$color6, _style$color7, _style$color8, _style$color9, _style$color10; var _style$color, _style$color2, _style$color3, _style$color4, _classnames, _style$color5, _style$color6, _style$color7, _style$color8, _style$color9, _style$color10;
var isEdit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
// I'd have prefered to avoid the "style" attribute usage here // I'd have prefered to avoid the "style" attribute usage here
var backgroundColor = attributes.backgroundColor, var backgroundColor = attributes.backgroundColor,
textColor = attributes.textColor, textColor = attributes.textColor,
@ -10477,7 +10478,21 @@ function getColorAndStyleProps(attributes) {
background: (style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.gradient) ? style.color.gradient : undefined, background: (style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.gradient) ? style.color.gradient : undefined,
backgroundColor: (style === null || style === void 0 ? void 0 : (_style$color9 = style.color) === null || _style$color9 === void 0 ? void 0 : _style$color9.background) ? style.color.background : undefined, backgroundColor: (style === null || style === void 0 ? void 0 : (_style$color9 = style.color) === null || _style$color9 === void 0 ? void 0 : _style$color9.background) ? style.color.background : undefined,
color: (style === null || style === void 0 ? void 0 : (_style$color10 = style.color) === null || _style$color10 === void 0 ? void 0 : _style$color10.text) ? style.color.text : undefined color: (style === null || style === void 0 ? void 0 : (_style$color10 = style.color) === null || _style$color10 === void 0 ? void 0 : _style$color10.text) ? style.color.text : undefined
} : {}; } : {}; // This is needed only for themes that don't load their color stylesheets in the editor
// We force an inline style to apply the color.
if (isEdit) {
if (backgroundColor) {
var backgroundColorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, backgroundColor);
styleProp.backgroundColor = backgroundColorObject.color;
}
if (textColor) {
var textColorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, textColor);
styleProp.color = textColorObject.color;
}
}
return { return {
className: !!className ? className : undefined, className: !!className ? className : undefined,
style: styleProp style: styleProp
@ -10508,6 +10523,7 @@ function button_edit_objectSpread(target) { for (var i = 1; i < arguments.length
/** /**
* Internal dependencies * Internal dependencies
*/ */
@ -10636,6 +10652,12 @@ function ButtonEdit(props) {
rel: value rel: value
}); });
}, [setAttributes]); }, [setAttributes]);
var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
return select('core/block-editor').getSettings();
}, []),
colors = _useSelect.colors;
var onToggleOpenInNewTab = Object(external_this_wp_element_["useCallback"])(function (value) { var onToggleOpenInNewTab = Object(external_this_wp_element_["useCallback"])(function (value) {
var newLinkTarget = value ? '_blank' : undefined; var newLinkTarget = value ? '_blank' : undefined;
var updatedRel = rel; var updatedRel = rel;
@ -10651,7 +10673,7 @@ function ButtonEdit(props) {
rel: updatedRel rel: updatedRel
}); });
}, [rel, setAttributes]); }, [rel, setAttributes]);
var colorProps = getColorAndStyleProps(attributes); var colorProps = getColorAndStyleProps(attributes, colors, true);
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(color_edit, props), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(color_edit, props), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Add text…'), placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Add text…'),
value: text, value: text,

File diff suppressed because one or more lines are too long

View File

@ -5480,7 +5480,7 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ }), /***/ }),
/***/ 31: /***/ 30:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["dom"]; }()); (function() { module.exports = this["wp"]["dom"]; }());
@ -6792,7 +6792,7 @@ var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_element_ = __webpack_require__(0);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(31); var external_this_wp_dom_ = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js

File diff suppressed because one or more lines are too long

View File

@ -524,6 +524,12 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/* 21 */ /* 21 */
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/* 22 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -557,12 +563,6 @@ function _inherits(subClass, superClass) {
if (superClass) _setPrototypeOf(subClass, superClass); if (superClass) _setPrototypeOf(subClass, superClass);
} }
/***/ }),
/* 22 */
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }), /***/ }),
/* 23 */ /* 23 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -646,13 +646,13 @@ function _unsupportedIterableToArray(o, minLen) {
} }
/***/ }), /***/ }),
/* 30 */, /* 30 */
/* 31 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["dom"]; }()); (function() { module.exports = this["wp"]["dom"]; }());
/***/ }), /***/ }),
/* 31 */,
/* 32 */ /* 32 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
@ -1420,6 +1420,48 @@ function createComponent(_ref) {
/* 50 */ /* 50 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }),
/* 51 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findFirstEnabledItem; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findFirstEnabledItem; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return flatten; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return flatten; });
@ -2269,48 +2311,6 @@ useCompositeState.__keys = keys;
/***/ }),
/* 51 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }), /***/ }),
/* 52 */, /* 52 */,
/* 53 */ /* 53 */
@ -5200,7 +5200,7 @@ module.exports = true ? __webpack_require__(357) : undefined;
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
@ -6420,7 +6420,7 @@ function withStyles(styleFn) {
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12); /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2);
@ -6623,10 +6623,10 @@ var classnames = __webpack_require__(11);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(31); var external_this_wp_dom_ = __webpack_require__(30);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// EXTERNAL MODULE: external {"this":["wp","deprecated"]} // EXTERNAL MODULE: external {"this":["wp","deprecated"]}
var external_this_wp_deprecated_ = __webpack_require__(37); var external_this_wp_deprecated_ = __webpack_require__(37);
@ -6904,7 +6904,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js // EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js
var with_focus_outside = __webpack_require__(111); var with_focus_outside = __webpack_require__(111);
@ -10224,7 +10224,7 @@ module.exports = Function.prototype.bind || implementation;
/* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47); /* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
/* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(94); /* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(94);
/* harmony import */ var reakit_utils_fireKeyboardEvent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(102); /* harmony import */ var reakit_utils_fireKeyboardEvent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(102);
/* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(50); /* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(51);
@ -10582,7 +10582,7 @@ var Composite = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1_
/* harmony import */ var _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84); /* harmony import */ var _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84);
/* 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);
/* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47); /* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
/* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(50); /* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(51);
/* harmony import */ var _Id_Id_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(93); /* harmony import */ var _Id_Id_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(93);
/* harmony import */ var reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(95); /* harmony import */ var reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(95);
/* harmony import */ var _setTextFieldValue_78ab5d56_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96); /* harmony import */ var _setTextFieldValue_78ab5d56_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96);
@ -10992,7 +10992,7 @@ function get_get(target, property, receiver) {
var possibleConstructorReturn = __webpack_require__(23); var possibleConstructorReturn = __webpack_require__(23);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":"lodash"} // EXTERNAL MODULE: external {"this":"lodash"}
var external_this_lodash_ = __webpack_require__(2); var external_this_lodash_ = __webpack_require__(2);
@ -11455,7 +11455,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","element"]} // EXTERNAL MODULE: external {"this":["wp","element"]}
var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_element_ = __webpack_require__(0);
@ -11865,14 +11865,14 @@ module.exports = function IsPropertyKey(argument) {
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9); /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9);
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22); /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21);
/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__); /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(31); /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(30);
/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_9__); /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_9__);
@ -11973,7 +11973,7 @@ var withConstrainedTabbing = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19); /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2);
@ -12565,7 +12565,7 @@ module.exports = _inheritsLoose;
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19); /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6); /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6);
@ -14049,7 +14049,7 @@ function Animate(_ref) {
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
@ -14376,7 +14376,7 @@ function Shortcut(_ref) {
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(62); /* harmony import */ var reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(62);
/* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50); /* harmony import */ var _CompositeState_3a25dcee_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(51);
@ -15639,7 +15639,7 @@ module.exports = isObject;
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12); /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12);
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23); /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16); /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16);
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21); /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2);
@ -18554,7 +18554,7 @@ var classnames = __webpack_require__(11);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/reakit/es/CompositeState-3a25dcee.js // EXTERNAL MODULE: ./node_modules/reakit/es/CompositeState-3a25dcee.js
var CompositeState_3a25dcee = __webpack_require__(50); var CompositeState_3a25dcee = __webpack_require__(51);
// EXTERNAL MODULE: ./node_modules/reakit/es/Composite/Composite.js // EXTERNAL MODULE: ./node_modules/reakit/es/Composite/Composite.js
var Composite = __webpack_require__(119); var Composite = __webpack_require__(119);
@ -21569,13 +21569,13 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(18);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// EXTERNAL MODULE: external {"this":["wp","richText"]} // EXTERNAL MODULE: external {"this":["wp","richText"]}
var external_this_wp_richText_ = __webpack_require__(25); var external_this_wp_richText_ = __webpack_require__(25);
@ -29728,9 +29728,10 @@ var inputs_Inputs = /*#__PURE__*/function (_Component2) {
onChange: this.handleChange onChange: this.handleChange
})); }));
} else if (this.state.view === 'rgb') { } else if (this.state.view === 'rgb') {
var legend = disableAlpha ? Object(external_this_wp_i18n_["__"])('Color value in RGB') : Object(external_this_wp_i18n_["__"])('Color value in RGBA');
return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, { return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, {
as: "legend" as: "legend"
}, Object(external_this_wp_i18n_["__"])('Color value in RGB')), Object(external_this_wp_element_["createElement"])("div", { }, legend), Object(external_this_wp_element_["createElement"])("div", {
className: "components-color-picker__inputs-fields" className: "components-color-picker__inputs-fields"
}, Object(external_this_wp_element_["createElement"])(inputs_Input, { }, Object(external_this_wp_element_["createElement"])(inputs_Input, {
source: this.state.view, source: this.state.view,
@ -29771,9 +29772,11 @@ var inputs_Inputs = /*#__PURE__*/function (_Component2) {
step: "0.01" step: "0.01"
}))); })));
} else if (this.state.view === 'hsl') { } else if (this.state.view === 'hsl') {
var _legend = disableAlpha ? Object(external_this_wp_i18n_["__"])('Color value in HSL') : Object(external_this_wp_i18n_["__"])('Color value in HSLA');
return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, { return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, {
as: "legend" as: "legend"
}, Object(external_this_wp_i18n_["__"])('Color value in HSL')), Object(external_this_wp_element_["createElement"])("div", { }, _legend), Object(external_this_wp_element_["createElement"])("div", {
className: "components-color-picker__inputs-fields" className: "components-color-picker__inputs-fields"
}, Object(external_this_wp_element_["createElement"])(inputs_Input, { }, Object(external_this_wp_element_["createElement"])(inputs_Input, {
source: this.state.view, source: this.state.view,
@ -36055,7 +36058,7 @@ function DimensionControl(props) {
/* harmony default export */ var dimension_control = (DimensionControl); /* harmony default export */ var dimension_control = (DimensionControl);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(31); var external_this_wp_dom_ = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js
@ -36851,6 +36854,7 @@ function container_isNativeReflectConstruct() { if (typeof Reflect === "undefine
var MENU_ITEM_ROLES = ['menuitem', 'menuitemradio', 'menuitemcheckbox'];
function cycleValue(value, total, offset) { function cycleValue(value, total, offset) {
var nextValue = value + offset; var nextValue = value + offset;
@ -36958,9 +36962,13 @@ var container_NavigableContainer = /*#__PURE__*/function (_Component) {
if (offset !== undefined && stopNavigationEvents) { if (offset !== undefined && stopNavigationEvents) {
// Prevents arrow key handlers bound to the document directly interfering // Prevents arrow key handlers bound to the document directly interfering
event.stopImmediatePropagation(); // When navigating a collection of items, prevent scroll containers event.stopImmediatePropagation(); // When navigating a collection of items, prevent scroll containers
// from scrolling. // from scrolling. The preventDefault also prevents Voiceover from
// 'handling' the event, as voiceover will try to use arrow keys
// for highlighting text.
if (event.target.getAttribute('role') === 'menuitem') { var targetRole = event.target.getAttribute('role');
if (MENU_ITEM_ROLES.includes(targetRole)) {
event.preventDefault(); event.preventDefault();
} }
} }
@ -37055,6 +37063,11 @@ function NavigableMenu(_ref, ref) {
return 1; return 1;
} else if (Object(external_this_lodash_["includes"])(previous, keyCode)) { } else if (Object(external_this_lodash_["includes"])(previous, keyCode)) {
return -1; return -1;
} else if (Object(external_this_lodash_["includes"])([external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["RIGHT"]], keyCode)) {
// Key press should be handled, e.g. have event propagation and
// default behavior handled by NavigableContainer but not result
// in an offset.
return 0;
} }
}; };
@ -45124,7 +45137,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js // EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
var web_cjs = __webpack_require__(113); var web_cjs = __webpack_require__(113);

File diff suppressed because one or more lines are too long

View File

@ -280,7 +280,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -2641,7 +2641,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
var external_this_wp_isShallowEqual_ = __webpack_require__(64); var external_this_wp_isShallowEqual_ = __webpack_require__(64);
@ -3214,8 +3214,7 @@ function useCopyOnClick(ref, _text) {
clipboard.current = new clipboard_default.a(ref.current, { clipboard.current = new clipboard_default.a(ref.current, {
text: function text() { text: function text() {
return typeof _text === 'function' ? _text() : _text; return typeof _text === 'function' ? _text() : _text;
}, }
container: ref.current
}); });
clipboard.current.on('success', function (_ref) { clipboard.current.on('success', function (_ref) {
var clearSelection = _ref.clearSelection, var clearSelection = _ref.clearSelection,

File diff suppressed because one or more lines are too long

View File

@ -564,7 +564,7 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ }), /***/ }),
/***/ 30: /***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
@ -2286,7 +2286,7 @@ function getKindEntities(kind) {
} }
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js
/** /**

File diff suppressed because one or more lines are too long

View File

@ -871,7 +871,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: ./node_modules/symbol-observable/es/index.js // EXTERNAL MODULE: ./node_modules/symbol-observable/es/index.js
var es = __webpack_require__(195); var es = __webpack_require__(195);
@ -3965,7 +3965,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 51: /***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -885,6 +885,13 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 21:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -920,13 +927,6 @@ function _inherits(subClass, superClass) {
/***/ }), /***/ }),
/***/ 22:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 23: /***/ 23:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -1104,7 +1104,7 @@ var moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
/***/ }), /***/ }),
/***/ 30: /***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
@ -1840,7 +1840,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post
var external_this_wp_plugins_ = __webpack_require__(76); var external_this_wp_plugins_ = __webpack_require__(76);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js
@ -1917,7 +1917,7 @@ function ManageBlocksMenuItem(_ref) {
})(ManageBlocksMenuItem)); })(ManageBlocksMenuItem));
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js
@ -3316,7 +3316,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: ./node_modules/memize/index.js // EXTERNAL MODULE: ./node_modules/memize/index.js
var memize = __webpack_require__(60); var memize = __webpack_require__(60);
@ -7895,7 +7895,22 @@ function ActionsPanel(_ref) {
var interfaceLabels = { var interfaceLabels = {
leftSidebar: Object(external_this_wp_i18n_["__"])('Block Library') leftSidebar: Object(external_this_wp_i18n_["__"])('Block library'),
/* translators: accessibility text for the editor top bar landmark region. */
header: Object(external_this_wp_i18n_["__"])('Editor top bar'),
/* translators: accessibility text for the editor content landmark region. */
body: Object(external_this_wp_i18n_["__"])('Editor content'),
/* translators: accessibility text for the editor settings landmark region. */
sidebar: Object(external_this_wp_i18n_["__"])('Editor settings'),
/* translators: accessibility text for the editor publish landmark region. */
actions: Object(external_this_wp_i18n_["__"])('Editor publish'),
/* translators: accessibility text for the editor footer landmark region. */
footer: Object(external_this_wp_i18n_["__"])('Editor footer')
}; };
function Layout() { function Layout() {

File diff suppressed because one or more lines are too long

View File

@ -1259,6 +1259,13 @@ var blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
/***/ }), /***/ }),
/***/ 21: /***/ 21:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -1294,13 +1301,6 @@ function _inherits(subClass, superClass) {
/***/ }), /***/ }),
/***/ 22:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 23: /***/ 23:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -1420,13 +1420,6 @@ var layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme
/***/ }), /***/ }),
/***/ 30:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }());
/***/ }),
/***/ 303: /***/ 303:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -1450,6 +1443,13 @@ var grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
/* harmony default export */ __webpack_exports__["a"] = (grid); /* harmony default export */ __webpack_exports__["a"] = (grid);
/***/ }),
/***/ 31:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
/***/ 32: /***/ 32:
@ -2217,7 +2217,7 @@ __webpack_require__.d(selectors_namespaceObject, "getCurrentPostType", function(
__webpack_require__.d(selectors_namespaceObject, "getCurrentPostId", function() { return selectors_getCurrentPostId; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostId", function() { return selectors_getCurrentPostId; });
__webpack_require__.d(selectors_namespaceObject, "getCurrentPostRevisionsCount", function() { return getCurrentPostRevisionsCount; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostRevisionsCount", function() { return getCurrentPostRevisionsCount; });
__webpack_require__.d(selectors_namespaceObject, "getCurrentPostLastRevisionId", function() { return getCurrentPostLastRevisionId; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostLastRevisionId", function() { return getCurrentPostLastRevisionId; });
__webpack_require__.d(selectors_namespaceObject, "getPostEdits", function() { return getPostEdits; }); __webpack_require__.d(selectors_namespaceObject, "getPostEdits", function() { return selectors_getPostEdits; });
__webpack_require__.d(selectors_namespaceObject, "getReferenceByDistinctEdits", function() { return getReferenceByDistinctEdits; }); __webpack_require__.d(selectors_namespaceObject, "getReferenceByDistinctEdits", function() { return getReferenceByDistinctEdits; });
__webpack_require__.d(selectors_namespaceObject, "getCurrentPostAttribute", function() { return selectors_getCurrentPostAttribute; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostAttribute", function() { return selectors_getCurrentPostAttribute; });
__webpack_require__.d(selectors_namespaceObject, "getEditedPostAttribute", function() { return selectors_getEditedPostAttribute; }); __webpack_require__.d(selectors_namespaceObject, "getEditedPostAttribute", function() { return selectors_getEditedPostAttribute; });
@ -2824,7 +2824,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// 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);
@ -4268,7 +4268,7 @@ var rememo = __webpack_require__(42);
var external_this_wp_date_ = __webpack_require__(79); var external_this_wp_date_ = __webpack_require__(79);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/url.js // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/url.js
/** /**
@ -4416,7 +4416,7 @@ function isEditedPostNew(state) {
*/ */
function hasChangedContent(state) { function hasChangedContent(state) {
var edits = getPostEdits(state); var edits = selectors_getPostEdits(state);
return 'blocks' in edits || // `edits` is intended to contain only values which are different from return 'blocks' in edits || // `edits` is intended to contain only values which are different from
// the saved post, so the mere presence of a property is an indicator // the saved post, so the mere presence of a property is an indicator
// that the value is different than what is known to be saved. While // that the value is different than what is known to be saved. While
@ -4569,7 +4569,7 @@ function getCurrentPostLastRevisionId(state) {
* @return {Object} Object of key value pairs comprising unsaved edits. * @return {Object} Object of key value pairs comprising unsaved edits.
*/ */
var getPostEdits = Object(external_this_wp_data_["createRegistrySelector"])(function (select) { var selectors_getPostEdits = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
return function (state) { return function (state) {
var postType = selectors_getCurrentPostType(state); var postType = selectors_getCurrentPostType(state);
var postId = selectors_getCurrentPostId(state); var postId = selectors_getCurrentPostId(state);
@ -4646,7 +4646,7 @@ function selectors_getCurrentPostAttribute(state, attributeName) {
*/ */
var getNestedEditedPostProperty = function getNestedEditedPostProperty(state, attributeName) { var getNestedEditedPostProperty = function getNestedEditedPostProperty(state, attributeName) {
var edits = getPostEdits(state); var edits = selectors_getPostEdits(state);
if (!edits.hasOwnProperty(attributeName)) { if (!edits.hasOwnProperty(attributeName)) {
return selectors_getCurrentPostAttribute(state, attributeName); return selectors_getCurrentPostAttribute(state, attributeName);
@ -4674,7 +4674,7 @@ function selectors_getEditedPostAttribute(state, attributeName) {
} // Fall back to saved post value if not edited. } // Fall back to saved post value if not edited.
var edits = getPostEdits(state); var edits = selectors_getPostEdits(state);
if (!edits.hasOwnProperty(attributeName)) { if (!edits.hasOwnProperty(attributeName)) {
return selectors_getCurrentPostAttribute(state, attributeName); return selectors_getCurrentPostAttribute(state, attributeName);
@ -6706,7 +6706,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js
@ -7070,13 +7070,27 @@ function DocumentOutlineCheck(_ref) {
function SaveShortcut() {
function SaveShortcut(_ref) {
var resetBlocksOnSave = _ref.resetBlocksOnSave;
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/editor'), var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/editor'),
resetEditorBlocks = _useDispatch.resetEditorBlocks,
savePost = _useDispatch.savePost; savePost = _useDispatch.savePost;
var isEditedPostDirty = Object(external_this_wp_data_["useSelect"])(function (select) { var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
return select('core/editor').isEditedPostDirty; var _select = select('core/editor'),
}, []); _isEditedPostDirty = _select.isEditedPostDirty,
_getPostEdits = _select.getPostEdits;
return {
isEditedPostDirty: _isEditedPostDirty,
getPostEdits: _getPostEdits
};
}, []),
isEditedPostDirty = _useSelect.isEditedPostDirty,
getPostEdits = _useSelect.getPostEdits;
Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/editor/save', function (event) { Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/editor/save', function (event) {
event.preventDefault(); // TODO: This should be handled in the `savePost` effect in event.preventDefault(); // TODO: This should be handled in the `savePost` effect in
// considering `isSaveable`. See note on `isEditedPostSaveable` // considering `isSaveable`. See note on `isEditedPostSaveable`
@ -7086,6 +7100,19 @@ function SaveShortcut() {
if (!isEditedPostDirty()) { if (!isEditedPostDirty()) {
return; return;
} // The text editor requires that editor blocks are updated for a
// save to work correctly. Usually this happens when the textarea
// for the code editors blurs, but the shortcut can be used without
// blurring the textarea.
if (resetBlocksOnSave) {
var postEdits = getPostEdits();
if (postEdits.content && typeof postEdits.content === 'string') {
var blocks = Object(external_this_wp_blocks_["parse"])(postEdits.content);
resetEditorBlocks(blocks);
}
} }
savePost(); savePost();
@ -7116,12 +7143,8 @@ function SaveShortcut() {
function VisualEditorGlobalKeyboardShortcuts() { function VisualEditorGlobalKeyboardShortcuts() {
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/editor'), var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/editor'),
redo = _useDispatch.redo, redo = _useDispatch.redo,
undo = _useDispatch.undo, undo = _useDispatch.undo;
savePost = _useDispatch.savePost;
var isEditedPostDirty = Object(external_this_wp_data_["useSelect"])(function (select) {
return select('core/editor').isEditedPostDirty;
}, []);
Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/editor/undo', function (event) { Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/editor/undo', function (event) {
undo(); undo();
event.preventDefault(); event.preventDefault();
@ -7134,21 +7157,6 @@ function VisualEditorGlobalKeyboardShortcuts() {
}, { }, {
bindGlobal: true bindGlobal: true
}); });
Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/editor/save', function (event) {
event.preventDefault(); // TODO: This should be handled in the `savePost` effect in
// considering `isSaveable`. See note on `isEditedPostSaveable`
// selector about dirtiness and meta-boxes.
//
// See: `isEditedPostSaveable`
if (!isEditedPostDirty()) {
return;
}
savePost();
}, {
bindGlobal: true
});
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEditorKeyboardShortcuts"], null), Object(external_this_wp_element_["createElement"])(save_shortcut, null)); return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEditorKeyboardShortcuts"], null), Object(external_this_wp_element_["createElement"])(save_shortcut, null));
} }
@ -7169,7 +7177,9 @@ function EditorGlobalKeyboardShortcuts() {
*/ */
function TextEditorGlobalKeyboardShortcuts() { function TextEditorGlobalKeyboardShortcuts() {
return Object(external_this_wp_element_["createElement"])(save_shortcut, null); return Object(external_this_wp_element_["createElement"])(save_shortcut, {
resetBlocksOnSave: true
});
} }
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/register-shortcuts.js // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/register-shortcuts.js
@ -7226,7 +7236,7 @@ function EditorKeyboardShortcutsRegister() {
var external_this_wp_components_ = __webpack_require__(3); var external_this_wp_components_ = __webpack_require__(3);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// EXTERNAL MODULE: external {"this":["wp","primitives"]} // EXTERNAL MODULE: external {"this":["wp","primitives"]}
var external_this_wp_primitives_ = __webpack_require__(6); var external_this_wp_primitives_ = __webpack_require__(6);
@ -14176,7 +14186,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 51: /***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -385,6 +385,13 @@ var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElem
/***/ }), /***/ }),
/***/ 21: /***/ 21:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -420,13 +427,6 @@ function _inherits(subClass, superClass) {
/***/ }), /***/ }),
/***/ 22:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }());
/***/ }),
/***/ 23: /***/ 23:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -498,7 +498,7 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ 30: /***/ 30:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["dom"]; }());
/***/ }), /***/ }),
@ -530,7 +530,7 @@ var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
/***/ 31: /***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["dom"]; }()); (function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
@ -823,13 +823,13 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","components"]} // EXTERNAL MODULE: external {"this":["wp","components"]}
var external_this_wp_components_ = __webpack_require__(3); var external_this_wp_components_ = __webpack_require__(3);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
var keyboard_return = __webpack_require__(202); var keyboard_return = __webpack_require__(202);
@ -1134,7 +1134,7 @@ var italic = {
}; };
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]}
var external_this_wp_htmlEntities_ = __webpack_require__(75); var external_this_wp_htmlEntities_ = __webpack_require__(75);
@ -1719,7 +1719,7 @@ var text_color = __webpack_require__(411);
var esm_extends = __webpack_require__(8); var esm_extends = __webpack_require__(8);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(31); var external_this_wp_dom_ = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js

File diff suppressed because one or more lines are too long

View File

@ -186,7 +186,7 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 22: /***/ 21:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }()); (function() { module.exports = this["wp"]["keycodes"]; }());
@ -698,7 +698,7 @@ var toConsumableArray = __webpack_require__(18);
var rememo = __webpack_require__(42); var rememo = __webpack_require__(42);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js // CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js

File diff suppressed because one or more lines are too long

View File

@ -173,7 +173,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -290,7 +290,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(24);
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: external {"this":"lodash"} // EXTERNAL MODULE: external {"this":"lodash"}
var external_this_lodash_ = __webpack_require__(2); var external_this_lodash_ = __webpack_require__(2);
@ -433,7 +433,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","compose"]} // EXTERNAL MODULE: external {"this":["wp","compose"]}
var external_this_wp_compose_ = __webpack_require__(9); var external_this_wp_compose_ = __webpack_require__(9);
@ -779,7 +779,7 @@ document.addEventListener('DOMContentLoaded', function () {
/***/ }), /***/ }),
/***/ 51: /***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -265,7 +265,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -459,7 +459,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":"lodash"} // EXTERNAL MODULE: external {"this":"lodash"}
var external_this_lodash_ = __webpack_require__(2); var external_this_lodash_ = __webpack_require__(2);
@ -928,7 +928,7 @@ var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.
var defineProperty = __webpack_require__(5); var defineProperty = __webpack_require__(5);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(51); var asyncToGenerator = __webpack_require__(50);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(18);
@ -1281,7 +1281,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 51: /***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -166,7 +166,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -307,7 +307,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":["wp","element"]} // EXTERNAL MODULE: external {"this":["wp","element"]}
var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_element_ = __webpack_require__(0);

File diff suppressed because one or more lines are too long

View File

@ -279,7 +279,7 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 22: /***/ 21:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }()); (function() { module.exports = this["wp"]["keycodes"]; }());
@ -3840,7 +3840,7 @@ var classnames = __webpack_require__(11);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(22); var external_this_wp_keycodes_ = __webpack_require__(21);
// EXTERNAL MODULE: external {"this":["wp","deprecated"]} // EXTERNAL MODULE: external {"this":["wp","deprecated"]}
var external_this_wp_deprecated_ = __webpack_require__(37); var external_this_wp_deprecated_ = __webpack_require__(37);

File diff suppressed because one or more lines are too long

View File

@ -201,7 +201,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 21: /***/ 22:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -263,7 +263,7 @@ function _possibleConstructorReturn(self, call) {
/***/ }), /***/ }),
/***/ 30: /***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
@ -375,7 +375,7 @@ var possibleConstructorReturn = __webpack_require__(23);
var getPrototypeOf = __webpack_require__(16); var getPrototypeOf = __webpack_require__(16);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
var inherits = __webpack_require__(21); var inherits = __webpack_require__(22);
// EXTERNAL MODULE: external {"this":"lodash"} // EXTERNAL MODULE: external {"this":"lodash"}
var external_this_lodash_ = __webpack_require__(2); var external_this_lodash_ = __webpack_require__(2);
@ -388,7 +388,7 @@ var external_this_wp_apiFetch_ = __webpack_require__(45);
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(30); var external_this_wp_url_ = __webpack_require__(31);
// EXTERNAL MODULE: external {"this":["wp","components"]} // EXTERNAL MODULE: external {"this":["wp","components"]}
var external_this_wp_components_ = __webpack_require__(3); var external_this_wp_components_ = __webpack_require__(3);

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-beta3-48643'; $wp_version = '5.5-beta3-48644';
/** /**
* 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.