Block Editor: Update WordPress Packages.

The following package versions were changed:
@wordpress/a11y: 2.6.0 -> 2.7.0
@wordpress/annotations: 1.10.0 -> 1.11.0
@wordpress/api-fetch: 3.9.0 -> 3.10.0
@wordpress/autop: 2.5.1 -> 2.6.0
@wordpress/blob: 2.6.0 -> 2.7.0
@wordpress/block-directory: 1.3.0 -> 1.4.0
@wordpress/block-editor: 3.5.0 -> 3.6.0
@wordpress/block-library: 2.12.0 -> 2.13.0
@wordpress/block-serialization-default-parser: 3.4.1 -> 3.5.0
@wordpress/blocks: 6.10.0 -> 6.11.0
@wordpress/components: 9.0.0 -> 9.1.0
@wordpress/compose: 3.10.0 -> 3.11.0
@wordpress/core-data: 2.10.0 -> 2.11.0
@wordpress/custom-templated-path-webpack-plugin: 1.5.0 -> 1.6.0
@wordpress/data: 4.12.0 -> 4.13.0
@wordpress/data-controls: 1.6.0 -> 1.7.0
@wordpress/date: 3.7.0 -> 3.8.0
@wordpress/dependency-extraction-webpack-plugin: 2.1.0 -> 2.2.0
@wordpress/deprecated: 2.6.1 -> 2.7.0
@wordpress/dom: 2.7.0 -> 2.8.0
@wordpress/dom-ready: 2.6.0 -> 2.7.0
@wordpress/e2e-test-utils: 4.1.0 -> 4.2.0
@wordpress/edit-post: 3.11.0 -> 3.12.0
@wordpress/editor: 9.10.0 -> 9.11.0
@wordpress/element: 2.10.0 -> 2.11.0
@wordpress/escape-html: 1.6.0 -> 1.7.0
@wordpress/format-library: 1.12.0 -> 1.13.0
@wordpress/hooks: 2.6.0 -> 2.7.0
@wordpress/html-entities: 2.5.0 -> 2.6.0
@wordpress/i18n: 3.8.0 -> 3.9.0
@wordpress/is-shallow-equal: 1.7.0 -> 1.8.0
@wordpress/keyboard-shortcuts: 0.2.0 -> 1.0.0
@wordpress/keycodes: 2.8.0 -> 2.9.0
@wordpress/library-export-default-webpack-plugin: 1.5.0 -> 1.6.0
@wordpress/list-reusable-blocks: 1.11.0 -> 1.12.0
@wordpress/media-utils: 1.5.0 -> 1.6.0
@wordpress/notices: 1.11.0 -> 1.12.0
@wordpress/nux: 3.10.0 -> 3.11.0
@wordpress/plugins: 2.10.0 -> 2.11.0
@wordpress/priority-queue: 1.4.0 -> 1.5.0
@wordpress/redux-routine: 3.6.2 -> 3.7.0
@wordpress/rich-text: 3.10.0 -> 3.11.0
@wordpress/scripts: 6.2.0 -> 7.0.0
@wordpress/server-side-render: 1.6.0 -> 1.7.0
@wordpress/shortcode: 2.5.0 -> 2.6.0
@wordpress/token-list: 1.8.0 -> 1.9.0
@wordpress/url: 2.9.0 -> 2.10.0
@wordpress/viewport: 2.11.0 -> 2.12.0
@wordpress/wordcount: 2.6.2 -> 2.7.0
Added these new packages:
@wordpress/warning
@wordpress/primitives
@wordpress/icons
Re-added keyboard-shortcuts to script loader removed by mistake on revision 47198.

Props gziolo, itsjonq, youknowriad, mcsf, andraganescu.
Fixes #49358.
Built from https://develop.svn.wordpress.org/trunk@47199


git-svn-id: http://core.svn.wordpress.org/trunk@46999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jorgefilipecosta 2020-02-06 21:03:31 +00:00
parent 47ed56f38f
commit d69005e1d8
221 changed files with 33408 additions and 28561 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '7699911a0e89eb3801a710a70f44d649');
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '0a403e8e2ac287e0433e7ce32fd6470d');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '8bd8552e4206e0b9f1dff77d8601ec2a');
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '79c1ef7df889a2698e394e7a214d040e');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'ca5a49693626e544ca5470d39d672ff7');
<?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'f18a463bc576ca83029f972bd60547e7');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '37042822702bcd5be69a327536230e2d');
<?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '2eedea37f1509dbb27e317b1eba48242');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'a47eb092a9ce3fea91c6029ed5227791');
<?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '7a0859111fd934d413532666f075a2f0');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '24b134915edde8c3ce88823b8af1ba15');
<?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'e9e926b3fcf190fcee86499741c49119');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '986d601f42af6093ba4177dcd909ae7c');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c2dec9e5e661e78e856a5203c84fc111');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '3b0b44970e07eed5838bdf0244da88b7');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '1d4cfcebce9a5fb7fa9dc28155bfde90');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '06325d6ee073533861d69145225f2116');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '6c78331efbe048529f25e386808e60db');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'cf4f9ec8b12027c7cdf5d5e81ed0efa9');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '640e2bbe88a25021175f52b5232f7484');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '7b5afd68de9ff1a9d136d1b89e46c046');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '3d89aac9ae682b0f08906ed04b480118');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'd15c5706d4193724c8db8c7081e525b0');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'e6196c004e1cc7295e5f06e6a8aa69e0');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '397602aaadd6c50cd661f5bf8528f8cf');
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '27c43e4963fcef0540591e95aadb735d');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '8b4f6ad82bdcee68731b047ecf8e53ec');
<?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '6c66bad8b4c4629550e9317d875ca075');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '577968536e5e37e04329f368b1b3da68');
<?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '9c22a88a8738420134d7250b8511bba3');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'e2446d2f698484a18c6695315a26f696');
<?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '6169f138b1c74f711c3cabccff61b7da');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '4a99a4bde3aad4a4e1a7a7df59fd72fe');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9586f1151b06beb7515e31635e326404');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9f4ee6952fd20a87f7756456b3ddd65e');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd2c9f80f1b5fd69123f4e89a7a1db1c2');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '1b37ca77e6ea17048cc0d4452ab2424a');
<?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '3bb525d0e50fdab4c79ff1f0b20db941');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'e884cc6341c5bdee9cd2af3616d9e327');
<?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'b02d029492d06dfa116e526254346598');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '2c5814288e5cae2bcd495ff78127ef90');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => 'a54181c68e361f2fbb5ff0180ca115d7');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '717d7eae82ca7b0a682ac8bb9854897a');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '801ae1a8e9894fadfcd43b17fd488299');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '31bd609960e3ea0643066d77748e5f85');
<?php return array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '7b694dda01e57079b4d34f6d6b436954');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '64aa1f3413cab5fa716a02f9c85089de');
<?php return array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '6a7392235297a61cbbdea1db732a2db9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'ca9a78bf97fdc357b45d04004501f194');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '7bc373d5136b0f9a6b4420f92e7cb102');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'ce7ba24ba56c4c906cb61e971c39951e');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '75fdcf0fe25372e5aad80adffc516edb');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '0090f3d18c699350cfe4b3e376206422');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'a8bbb27b205dc5b6fedc7b86e84b04e6');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '5954bac85ea6ef2c6a29debac56ddf56');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'b8e87ce6b90cd7278d8d54fc91fbc4e8');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '3b32f82f179ddb3b25f14cd94e9bf4b5');
<?php return array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '40ac4d46678007b1f2460e61d397e8fa');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '27ee035a379b9bc32b7c769d10f572d5');
<?php return array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '2e1210ba4934490084e0ba8f3570a586');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'c4fdc2f0cfc86024019a6b4fa1d76a34');
<?php return array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'e5d3d9b11903885a49de8092b83a9e7e');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '6736c3da3a318f698c71231e3ce2d7dd');
<?php return array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'e06c49941a95bb8e1971e303afe30da8');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '98278be2169021801d157877a3cf40f9');
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '5b5931d35a801856c348079c786fe2a9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'ba3f4d1e0daeabf65f40d83c9fc44c8b');
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'ffeaf5aec7d7d7713d069f975ac05be9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ad9a96a6b69bd71325ab82b4b338a2f9');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '741b346ccf1a960327e2c43ededd0004');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'b1f08252a028cf5ad8523cfecd8b52b0');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '0cea545c40a2e3e7fda4b829e76c35a9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2326d3eda71b5c4ead4a41d401e458f1');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'c2105799e14e82da4fa6c67bc276ca2c');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '8ee1cc9640bf9b2d2e089cb0d5696446');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'fdd8dc52f4469a66b38d99adede0b3e2');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => 'e4b55a4e99da187e1667d2132e264e50');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '5fcf127ec463918f38226033f2940cd0');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '6258e84d5c114442864afd5febc8667e');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '60c0434e1308d21ce3f90d9961506786');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'baaf789fd3fdaeb0efa3e66fd8e8ff71');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'a7e975b9ddc11bcadba10c82b4ea38d9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '29cf8366bffa2927225f6540ef03104a');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '9b6e547cf9ba554638a1513c959c3570');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '041d5d9e6498bb8c1e9b82b6d57499c6');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '7f8ec3028c98a3a3c425cf5284ab4721');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '940b3c2f24c3a4d9f0ce951bc0c93efb');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'e911f3faef2908ae8d3f80c5e7117206');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '171d9fa97492a79fbefa60e940b89588');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '06e675b6a996a21880ef052620138160');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '74f7236fc76b94c146587679dc7d81ef');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9f34e1d208cd937424fe749e9a7415c5');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'ccc31141b77af5b17be16e61e54271e7');
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => '2ba13ab320099a789214be4afad30d7c');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => '28435e96cf148f78312ab3b0bb2cd7ec');
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'de7a61a130e92150042e286c48f1b2ec');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f878f51015523f34c14b7b2fa0f26e4d');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '297787db4590fe0f0f1d956288ba13f9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '1023cf48483059fb474183407795098b');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '18b63adf3d6aa7d961af2599a40d3484');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'b414d1806f8781970a893fab94670e01');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ba28c265f930e75ba913c45a0bf405b9');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e43546d8be4ddc147b1af23b1ca9b7c6');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '5f43c571e604d169041a81212ae7046f');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '3e14131969a3440d40bdf88abb743351');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '5fb3adebd9f2b65890290efcf524c530');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a945f7d27284e21d0cd45dd9b1d7439d');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'dbeb540760d5304f3e332e5f754d2b52');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f18a853a75337765552aa80ec240d2c4');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a7cc4b56ed7caa7b2b82a8c12be13685');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '606418d7c0afbecac50def38cf73cc99');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '5eb4b12719e8f70758059a1a7183bd09');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'd7f57a03d8cdd326b977be4e8e915047');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '07592c8f7df5b397f31d01850a11f49f');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'efcf4028921e050003778edab9f1acef');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '6d6c33dd9095619c6e86af2635ed5c82');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '2a46fa93abeef1b8e79bdb60606c3976');
<?php return array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '5bcd5257365c2da253c293d40823219d');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '056756997aa64f1d410a14083af55d13');
<?php return array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '4f9f2e368f512db7bf1a2e187d617dcf');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '91c37c1ed8442b1ae07a695e16ad7c88');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bc7b87fbb8ebb858fcaaab02f9674731');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '62ea29c961b22c6cdc3ead3d72b8ffaf');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '108b84c9e9d6303007010fc8371c0385');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '42a86b06794d1e4c45d3c8b4270cc0a5');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '38a0d02e34f2c2f9bee4045a9b5e2955');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '33cd0419af60555b0df45cd68b503101');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '402d0bb2a0fcedce846b5c33801926a1');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '126339474a70df50d125c01d03f984df');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => 'ff5aa9205c2e34b9dc83ad846c425a7e');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => 'f1043f7f87f401f542dac9f886ca4369');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '404c56fb81ea5c03c68314239494a412');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b1b7ba7b6ea66fcc802dfc32ee11bbc5');
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e06911bea6b727cd7d00a466eeb51586');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9657de64fd2d4805c9cce42a14ee0402');
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '746627c024df31c83c7505700e1d20fd');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '2b0fcda614c605e8942d6e1b1cfc4751');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '39feae54899530fa2dfceb42ebf450df');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '2db6284747004c1e07983d48483d30bd');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '0cd31b674a3c6ad90e346778ef4849f4');

View File

@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '069106ff5bbe47c06163bee582278596');

View File

@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '3bb4ac3a4c96b74d5e090db257f71012');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '49eda3753b8a0a4074e935ab5f15e2e9');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'dfb9dc1bfa9351731482deb665d28b05');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e12c40dc844d42c39861d244894ad1b1');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ee8537c241e276272597bc2db815bd9e');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2781625b4b4d2280b1941162c9ce9ff7');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '571f25931b42614d8005388a1de291a0');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '683728fb1cc669d05a81aeb8128246cc');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '16e3349749454079d9acf2af2bb47f52');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '6b1e3494043a8fb5148ad8899e33c3e0');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'b9a442aab25a299418f1aeda4c2e7e33');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'c53077d3cccf82c93b66e1cd615b72cd');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '2226a6f88d1a71d1e7c80cada4b0b306');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '09eb281c0551564f34affca164b3cd74');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b022c0567b56c4031b7394dd3dbecca8');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '32153e24c6d32c95f8a7cf202b603387');
<?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '343e6c70f422d061478496356c01d4be');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '495ddae657259880e87495ec44329117');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '94e2a3ddee50d1f4ed7fdad870a55413');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'db30a30efc536aa73644c270d248156c');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '998abeb1751f3631b2f57048ac15bee1');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '574e74b48a0812e6efc20cd95aaada5b');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '1e30e20c99377b8d77cd7d9be04e625d');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6ecfcab905ca95071365135cfc065559');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0940e215e42e95e2a37f72244dbd7fbe');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a7d4e2ef17087561d4288edc1997789f');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e3b426d7e2bc7120e034491fb58f6fbb');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f8bd947efc4b1e637d69e2db9f7920b8');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'bfc191267700aa6c188fb8c1ce0d245f');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '9dbbdcdc5d8911f92ff4a75e98f02c4d');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '980eae8a5d2d214e9a4bff2d446e1585');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '7b3ff62a4b98d6d13e70e3511ba0e3b2');
<?php return array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '3c7ca858983707d278ce1ba2e285c0a9');

View File

@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fd4ba96ad7fb6e29d63ba527cc7fb9dc');

View File

@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '26caf07394ad822f10d87e4e26dcc068');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '1083ae5937fec965141ec9f6f0444bb6');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '04ae6aad72d2e6dfb7cadb30a0eb48b7');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '381a53ca5c410d72dc3e109c6c3fec28');
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2117f19e8deee6fbbbeaad6900729342');

View File

@ -13,12 +13,12 @@
* @return array Colors CSS classes and inline styles.
*/
function build_css_colors( $attributes ) {
// CSS classes.
$colors = array(
'css_classes' => array(),
'inline_styles' => '',
);
// Text color.
$has_named_text_color = array_key_exists( 'textColor', $attributes );
$has_custom_text_color = array_key_exists( 'customTextColor', $attributes );
@ -33,7 +33,25 @@ function build_css_colors( $attributes ) {
$colors['css_classes'][] = sprintf( 'has-%s-color', $attributes['textColor'] );
} elseif ( $has_custom_text_color ) {
// Add the custom color inline style.
$colors['inline_styles'] = sprintf( 'color: %s;', $attributes['customTextColor'] );
$colors['inline_styles'] .= sprintf( 'color: %s;', $attributes['customTextColor'] );
}
// Background color.
$has_named_background_color = array_key_exists( 'backgroundColor', $attributes );
$has_custom_background_color = array_key_exists( 'customBackgroundColor', $attributes );
// If has background color.
if ( $has_custom_background_color || $has_named_background_color ) {
// Add has-background-color class.
$colors['css_classes'][] = 'has-background-color';
}
if ( $has_named_background_color ) {
// Add the background-color class.
$colors['css_classes'][] = sprintf( 'has-%s-background-color', $attributes['backgroundColor'] );
} elseif ( $has_custom_background_color ) {
// Add the custom background-color inline style.
$colors['inline_styles'] .= sprintf( 'background-color: %s;', $attributes['customBackgroundColor'] );
}
return $colors;
@ -67,16 +85,61 @@ function build_css_font_sizes( $attributes ) {
return $font_sizes;
}
/**
* Recursively filters out links with no labels to build a clean navigation block structure.
*
* @param array $blocks Navigation link inner blocks from the Navigation block.
* @return array Blocks that had valid labels
*/
function gutenberg_remove_empty_navigation_links_recursive( $blocks ) {
$blocks = array_filter(
$blocks,
function( $block ) {
return ! empty( $block['attrs']['label'] );
}
);
if ( ! empty( $blocks ) ) {
foreach ( $blocks as $key => $block ) {
if ( ! empty( $block['innerBlocks'] ) ) {
$blocks[ $key ]['innerBlocks'] = gutenberg_remove_empty_navigation_links_recursive( $block['innerBlocks'] );
}
}
}
return $blocks;
}
/**
* Returns the top-level submenu SVG chevron icon.
*
* @return string
*/
function render_submenu_icon() {
return '<svg width="18" height="18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" role="img" aria-hidden="true" focusable="false"><polygon points="9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "></polygon></svg>';
}
/**
* Renders the `core/navigation` block on server.
*
* @param array $attributes The block attributes.
* @param array $content The saved content.
* @param array $block The parsed block.
*
* @return string Returns the post content with the legacy widget added.
*/
function render_block_navigation( $attributes, $content, $block ) {
function render_block_navigation( $content, $block ) {
if ( 'core/navigation' !== $block['blockName'] ) {
return $content;
}
$attributes = $block['attrs'];
$block['innerBlocks'] = gutenberg_remove_empty_navigation_links_recursive( $block['innerBlocks'] );
if ( empty( $block['innerBlocks'] ) ) {
return '';
}
$colors = build_css_colors( $attributes );
$font_sizes = build_css_font_sizes( $attributes );
$classes = array_merge(
@ -96,20 +159,22 @@ function render_block_navigation( $attributes, $content, $block ) {
'<nav %1$s %2$s>%3$s</nav>',
$class_attribute,
$style_attribute,
build_navigation_html( $block, $colors, $font_sizes )
build_navigation_html( $attributes, $block, $colors, $font_sizes, true )
);
}
/**
* Walks the inner block structure and returns an HTML list for it.
*
* @param array $block The block.
* @param array $colors Contains inline styles and CSS classes to apply to navigation item.
* @param array $font_sizes Contains inline styles and CSS classes to apply to navigation item.
* @param array $attributes The Navigation block attributes.
* @param array $block The NavigationItem block.
* @param array $colors Contains inline styles and CSS classes to apply to navigation item.
* @param array $font_sizes Contains inline styles and CSS classes to apply to navigation item.
* @param bool $is_level_zero True whether is main menu (level zero). Otherwise, False.
*
* @return string Returns an HTML list from innerBlocks.
*/
function build_navigation_html( $block, $colors, $font_sizes ) {
function build_navigation_html( $attributes, $block, $colors, $font_sizes, $is_level_zero = true ) {
$html = '';
$classes = array_merge(
$colors['css_classes'],
@ -122,9 +187,14 @@ function build_navigation_html( $block, $colors, $font_sizes ) {
: '';
foreach ( (array) $block['innerBlocks'] as $key => $block ) {
$has_submenu = count( (array) $block['innerBlocks'] ) > 0;
$html .= '<li class="wp-block-navigation-link">' .
'<a' . $class_attribute . $style_attribute;
$html .= '<li class="wp-block-navigation-link' . ( $has_submenu ? ' has-submenu' : '' ) . '">' .
'<a';
if ( $is_level_zero ) {
$html .= $class_attribute . $style_attribute;
}
// Start appending HTML attributes to anchor tag.
if ( isset( $block['attrs']['url'] ) ) {
@ -140,15 +210,44 @@ function build_navigation_html( $block, $colors, $font_sizes ) {
// End appending HTML attributes to anchor tag.
// Start anchor tag content.
$html .= '>';
$html .= '>' .
// Wrap title with span to isolate it from submenu icon.
'<span class="wp-block-navigation-link__label">';
if ( isset( $block['attrs']['label'] ) ) {
$html .= esc_html( $block['attrs']['label'] );
$html .= wp_kses(
$block['attrs']['label'],
array(
'code' => array(),
'em' => array(),
'img' => array(
'scale' => array(),
'class' => array(),
'style' => array(),
'src' => array(),
'alt' => array(),
),
's' => array(),
'span' => array(
'style' => array(),
),
'strong' => array(),
)
);
}
$html .= '</span>';
// Append submenu icon to top-level item.
if ( ! empty( $attributes['showSubmenuIcon'] ) && $is_level_zero && $has_submenu ) {
$html .= '<span class="wp-block-navigation-link__submenu-icon">' . render_submenu_icon() . '</span>';
}
$html .= '</a>';
// End anchor tag content.
if ( count( (array) $block['innerBlocks'] ) > 0 ) {
$html .= build_navigation_html( $block, $colors, $font_sizes );
if ( $has_submenu ) {
$html .= build_navigation_html( $attributes, $block, $colors, $font_sizes, false );
}
$html .= '</li>';
@ -167,29 +266,38 @@ function register_block_core_navigation() {
register_block_type(
'core/navigation',
array(
'attributes' => array(
'className' => array(
'attributes' => array(
'className' => array(
'type' => 'string',
),
'textColor' => array(
'textColor' => array(
'type' => 'string',
),
'customTextColor' => array(
'customTextColor' => array(
'type' => 'string',
),
'fontSize' => array(
'backgroundColor' => array(
'type' => 'string',
),
'customFontSize' => array(
'customBackgroundColor' => array(
'type' => 'string',
),
'fontSize' => array(
'type' => 'string',
),
'customFontSize' => array(
'type' => 'number',
),
'itemsJustification' => array(
'itemsJustification' => array(
'type' => 'string',
),
'showSubmenuIcon' => array(
'type' => 'boolean',
'default' => false,
),
),
'render_callback' => 'render_block_navigation',
)
);
}
add_action( 'init', 'register_block_core_navigation' );
add_filter( 'render_block', 'render_block_navigation', 10, 2 );

View File

@ -21,16 +21,15 @@ function render_block_core_shortcode( $attributes, $content ) {
* Registers the `core/shortcode` block on server.
*/
function register_block_core_shortcode() {
$path = __DIR__ . '/shortcode/block.json';
$metadata = json_decode( file_get_contents( $path ), true );
register_block_type(
'core/shortcode',
array(
'attributes' => array(
'text' => array(
'type' => 'string',
'source' => 'html',
),
),
'render_callback' => 'render_block_core_shortcode',
$metadata['name'],
array_merge(
$metadata,
array(
'render_callback' => 'render_block_core_shortcode',
)
)
);
}

View File

@ -0,0 +1,10 @@
{
"name": "core/shortcode",
"category": "widgets",
"attributes": {
"text": {
"type": "string",
"source": "html"
}
}
}

View File

@ -66,10 +66,11 @@
display: flex;
justify-content: space-between;
color: #606a73;
margin-top: 8px; }
margin-top: 8px;
font-size: 12px; }
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column {
display: flex;
align-items: flex-start; }
align-items: center; }
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon {
font-size: 16px;
margin-left: 4px; }

View File

@ -1 +1 @@
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:flex-start}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}

View File

@ -66,10 +66,11 @@
display: flex;
justify-content: space-between;
color: #606a73;
margin-top: 8px; }
margin-top: 8px;
font-size: 12px; }
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column {
display: flex;
align-items: flex-start; }
align-items: center; }
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon {
font-size: 16px;
margin-right: 4px; }

View File

@ -1 +1 @@
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:flex-start}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}

View File

@ -38,49 +38,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
.block-editor-block-drop-zone {
border: none;
border-radius: 0; }
.block-editor-block-drop-zone .components-drop-zone__content,
.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content {
display: none; }
.block-editor-block-drop-zone.is-close-to-bottom, .block-editor-block-drop-zone.is-close-to-top {
background: none; }
.block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #0085ba; }
body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #d1864a; }
body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #a3b9a2; }
body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #e14d43; }
body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #a7b656; }
body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #c2a68c; }
body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #82b4cb; }
body.admin-color-light .block-editor-block-drop-zone.is-close-to-top {
border-top: 3px solid #0085ba; }
.block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #0085ba; }
body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #d1864a; }
body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #a3b9a2; }
body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #e14d43; }
body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #a7b656; }
body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #c2a68c; }
body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #82b4cb; }
body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom {
border-bottom: 3px solid #0085ba; }
.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document {
border-bottom: none; }
.block-editor-block-icon {
display: flex;
align-items: center;
@ -116,16 +73,16 @@
padding: 32px 16px;
text-align: center; }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging::before {
border: none; }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * {
background: #f8f9f9; }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * > * {
visibility: hidden; }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel * {
z-index: 1; }
/**
@ -133,7 +90,8 @@
*/
.block-editor-block-list__layout {
padding-right: 14px;
padding-left: 14px; }
padding-left: 14px;
position: relative; }
@media (min-width: 600px) {
.block-editor-block-list__layout {
padding-right: 58px;
@ -165,41 +123,39 @@
margin-left: 0; }
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
font-size: 13px; }
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit {
position: relative; }
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before {
z-index: 0;
content: "";
position: absolute;
border: 1px solid transparent;
border-right: none;
box-shadow: none;
pointer-events: none;
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
outline: 1px solid transparent;
left: -14px;
right: -14px;
top: -14px;
bottom: -14px; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before {
transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block::before {
z-index: 0;
content: "";
position: absolute;
border: 1px solid transparent;
border-right: none;
box-shadow: none;
pointer-events: none;
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
outline: 1px solid transparent;
left: -14px;
right: -14px;
top: -14px;
bottom: -14px; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__layout .block-editor-block-list__block::before {
transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
border-color: rgba(66, 88, 99, 0.4);
box-shadow: inset -3px 0 0 0 #555d66; }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
border-color: rgba(255, 255, 255, 0.45);
box-shadow: inset -3px 0 0 0 #d7dade; }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
box-shadow: 3px 0 0 0 #555d66; }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before {
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
box-shadow: 3px 0 0 0 #d7dade; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode > .block-editor-block-list__block-edit::before {
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
border-color: #007cba;
box-shadow: inset -3px 0 0 0 #007cba; }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode > .block-editor-block-list__block-edit::before {
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
box-shadow: 3px 0 0 0 #007cba; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
opacity: 0.5;
@ -209,52 +165,67 @@
transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused {
opacity: 1; }
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #0085ba; }
body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #d1864a; }
body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #a3b9a2; }
body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #e14d43; }
body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #a7b656; }
body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #c2a68c; }
body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #82b4cb; }
body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before {
border-top: 3px solid #0085ba; }
/**
* Cross-Block Selection
*/
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] {
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed),
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content {
box-shadow: 0 0 0 2px #007cba;
border-radius: 1px;
outline: 2px solid transparent; }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] {
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), .is-dark-theme
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content {
box-shadow: 0 0 0 2px #fff; }
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection {
background: transparent; }
.block-editor-block-list__layout.has-toolbar-captured > .block-editor-block-list__block-edit::before {
right: 0; }
/**
* Block styles and alignments
*/
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
min-height: 36px; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
pointer-events: all; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::before {
border-color: rgba(145, 151, 162, 0.25);
border-right: 1px solid rgba(145, 151, 162, 0.25); }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before {
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning::before {
border-color: rgba(255, 255, 255, 0.35); }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before {
border-color: rgba(66, 88, 99, 0.4);
border-right-color: transparent; }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before {
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before {
border-color: rgba(255, 255, 255, 0.45); }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
content: "";
position: absolute;
background-color: rgba(248, 249, 249, 0.4);
@ -263,72 +234,63 @@
left: -14px;
right: -14px; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit::after {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
background-color: transparent; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after {
bottom: 22px; }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after {
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after {
bottom: -14px; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before {
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected::before {
border-right-color: transparent;
border-style: dashed;
border-width: 1px; }
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay::after {
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks.has-overlay::after {
display: none; }
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay::after {
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay::after {
display: block; }
.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode {
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block {
cursor: default; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] {
z-index: 21;
width: 100%;
height: 0; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit {
margin-top: 0; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before {
content: none; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"]::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"]::before {
content: none; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .is-block-content {
float: left;
margin-right: 2em; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .is-block-content {
float: right;
margin-left: 2em; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] {
clear: both; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] {
margin-right: -14px;
margin-left: -14px; }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] {
margin-right: -58px;
margin-left: -58px; } }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before {
right: 0;
left: 0;
border-right-width: 0;
border-left-width: 0; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"]::before {
right: 0;
left: 0;
border-right-width: 0;
border-left-width: 0; }
.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] {
float: none; }
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone {
top: -4px;
bottom: -3px;
margin: 0 14px; }
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter {
right: auto;
left: 8px; }
@ -377,41 +339,34 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-list__insertion-point-inserter {
display: none;
position: absolute;
bottom: auto;
right: 0;
left: 0;
justify-content: center;
height: 22px;
opacity: 0;
transition: opacity 0.1s linear; }
cursor: text; }
@media (min-width: 480px) {
.block-editor-block-list__insertion-point-inserter {
display: flex; } }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle {
border-radius: 50%;
color: #007cba;
background: #fff;
height: 28px;
width: 28px;
padding: 4px; }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover {
box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__insertion-point-inserter {
transition-duration: 0s; } }
.block-editor-block-list__insertion-point-inserter:hover, .block-editor-block-list__insertion-point-inserter.is-visible {
opacity: 1; }
.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle {
opacity: 0;
pointer-events: none; }
.edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter,
.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter {
opacity: 0;
pointer-events: none; }
.edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible,
.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover,
.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible {
opacity: 1;
pointer-events: auto; }
.block-editor-block-list__block-popover-inserter {
position: absolute;
top: -9999em;
margin-bottom: 14px; }
.block-editor-block-list__block-popover-inserter.is-visible {
position: static; }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle {
border-radius: 50%;
color: #007cba;
background: #fff;
height: 28px;
width: 28px;
padding: 0;
justify-content: center; }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover {
box-shadow: none; }
.block-editor-block-list__block > .block-editor-block-list__insertion-point {
position: absolute;
@ -480,20 +435,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-list__breadcrumb .components-toolbar {
box-shadow: 3px 0 0 0 #007cba; } }
@media (min-width: 600px) {
.block-editor-block-list__block::before {
bottom: 0;
content: "";
right: -28px;
position: absolute;
left: -28px;
top: 0; }
.block-editor-block-list__block .block-editor-block-list__block::before {
right: 0;
left: 0; }
.block-editor-block-list__block[data-align="full"]::before {
content: none; } }
.block-editor-block-list__block .block-editor-warning {
z-index: 5;
position: relative;
@ -504,20 +445,32 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
margin-bottom: auto; }
.components-popover.block-editor-block-list__block-popover {
z-index: 29; }
.components-popover.block-editor-block-list__block-popover .components-popover__content {
margin-right: 0 !important;
min-width: auto;
.block-editor-block-list__insertion-point-popover {
z-index: 28; }
.block-editor-block-list__insertion-point-popover .components-popover__content {
background: none;
border: none;
box-shadow: none;
overflow-y: visible; }
.components-popover.block-editor-block-list__block-popover {
z-index: 29; }
.components-popover.block-editor-block-list__block-popover .components-popover__content {
margin: 0 !important;
min-width: auto;
background: none;
border: none;
box-shadow: none;
overflow-y: visible;
pointer-events: none; }
.components-popover.block-editor-block-list__block-popover .components-popover__content > * {
pointer-events: all; }
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb {
margin-bottom: 13px;
margin-right: -14px; }
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"] {
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"],
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align="full"] {
margin-right: 0; }
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
opacity: 0; }
@ -527,6 +480,36 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.has-background .block-editor-block-list__block .block-list-appender {
margin: 32px 14px; }
.block-list-appender.is-drop-target > div::before {
content: "";
position: absolute;
left: -14px;
right: -14px;
top: -14px;
bottom: -14px;
border: 3px solid #0085ba; }
body.admin-color-sunrise .block-list-appender.is-drop-target > div::before {
border: 3px solid #d1864a; }
body.admin-color-ocean .block-list-appender.is-drop-target > div::before {
border: 3px solid #a3b9a2; }
body.admin-color-midnight .block-list-appender.is-drop-target > div::before {
border: 3px solid #e14d43; }
body.admin-color-ectoplasm .block-list-appender.is-drop-target > div::before {
border: 3px solid #a7b656; }
body.admin-color-coffee .block-list-appender.is-drop-target > div::before {
border: 3px solid #c2a68c; }
body.admin-color-blue .block-list-appender.is-drop-target > div::before {
border: 3px solid #82b4cb; }
body.admin-color-light .block-list-appender.is-drop-target > div::before {
border: 3px solid #0085ba; }
.block-list-appender > .block-editor-inserter {
display: block; }
@ -734,6 +717,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-mover__description {
display: none; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle {
display: none; }
.block-editor-block-navigation__container {
padding: 7px; }
@ -824,49 +810,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.components-popover.block-editor-block-navigation__popover {
z-index: 99998; }
.block-editor-block-pattern-picker .components-placeholder__instructions {
margin-bottom: 0; }
.block-editor-block-pattern-picker .components-placeholder__fieldset {
flex-direction: column; }
.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset {
max-width: 90%; }
.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns {
display: flex;
justify-content: flex-start;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
margin: 16px 0;
padding: 0;
list-style: none; }
.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns > li {
list-style: none;
margin: 0 0 0 8px;
flex-shrink: 1;
max-width: 100px; }
.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern {
padding: 8px; }
.block-editor-block-pattern-picker__pattern {
width: 100%; }
.block-editor-block-pattern-picker__pattern.components-button.has-icon {
justify-content: center; }
.block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary {
background-color: #fff; }
.block-editor-block-pattern-picker__pattern.components-button {
height: auto;
padding: 0; }
.block-editor-block-pattern-picker__pattern::before {
content: "";
padding-bottom: 100%; }
.block-editor-block-pattern-picker__pattern:first-child {
margin-right: 0; }
.block-editor-block-pattern-picker__pattern:last-child {
margin-left: 0; }
.block-editor-block-preview__container {
position: relative;
width: 100%;
@ -886,8 +829,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-preview__content .block-editor-block-list__layout,
.block-editor-block-preview__content .block-editor-block-list__block {
padding: 0; }
.block-editor-block-preview__content .block-editor-block-list__block-edit [data-block] {
margin: 0; }
.block-editor-block-preview__content > div section {
height: auto; }
.block-editor-block-preview__content .block-editor-block-list__insertion-point,
@ -1116,6 +1057,49 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
display: flex;
flex-wrap: wrap; }
.block-editor-block-variation-picker .components-placeholder__instructions {
margin-bottom: 0; }
.block-editor-block-variation-picker .components-placeholder__fieldset {
flex-direction: column; }
.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
max-width: 90%; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations {
display: flex;
justify-content: flex-start;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
margin: 16px 0;
padding: 0;
list-style: none; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
list-style: none;
margin: 4px 0 4px 8px;
flex-shrink: 1;
max-width: 100px; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation {
padding: 8px; }
.block-editor-block-variation-picker__variation {
width: 100%; }
.block-editor-block-variation-picker__variation.components-button.has-icon {
justify-content: center; }
.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary {
background-color: #fff; }
.block-editor-block-variation-picker__variation.components-button {
height: auto;
padding: 0; }
.block-editor-block-variation-picker__variation::before {
content: "";
padding-bottom: 100%; }
.block-editor-block-variation-picker__variation:first-child {
margin-right: 0; }
.block-editor-block-variation-picker__variation:last-child {
margin-left: 0; }
.block-editor-button-block-appender {
display: flex;
flex-direction: column;
@ -1197,7 +1181,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon {
width: 28px;
height: 28px;
margin-left: 12px;
padding: 0; }
.block-editor-block-list__empty-block-inserter .components-button svg,
.block-editor-default-block-appender .block-editor-inserter .components-button svg {
@ -1217,10 +1200,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
display: flex;
align-items: center;
height: 100%;
right: -44px;
left: auto; } }
height: 100%; } }
.block-editor-block-list__empty-block-inserter:disabled,
.block-editor-default-block-appender .block-editor-inserter:disabled {
display: none; }
@ -1237,11 +1217,15 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) {
color: rgba(255, 255, 255, 0.75); }
.block-editor-link-control__search {
@media (min-width: 600px) {
.block-editor-default-block-appender .block-editor-inserter {
align-items: center; } }
.block-editor-link-control {
position: relative;
min-width: 360px; }
.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
width: calc(100% - 32px);
display: block;
padding: 11px 16px;
@ -1254,9 +1238,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; }
@media (min-width: 600px) {
.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
font-size: 13px; } }
.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus {
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus {
color: #191e23;
border-color: #007cba;
box-shadow: 0 0 0 1px #007cba;
@ -1290,11 +1274,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
top: auto;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); }
.block-editor-link-control__search-results-label {
padding: 15px 30px 0 30px;
display: block;
font-size: 1.1em; }
.block-editor-link-control__search-results {
margin: 0;
padding: 8px 16px 16px;
max-height: 200px;
overflow-y: scroll; }
overflow-y: auto; }
.block-editor-link-control__search-results.is-loading {
opacity: 0.2; }
@ -1376,8 +1365,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
.block-editor-link-control .block-editor-link-control__search-input .components-spinner {
display: block;
z-index: 100;
float: none; }
z-index: 100; }
.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
position: absolute;
top: 27px;
@ -1389,6 +1377,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
margin-right: auto;
flex-shrink: 0; }
.block-editor-image-size-control {
margin-bottom: 1em; }
.block-editor-image-size-control .block-editor-image-size-control__row {
display: flex;
justify-content: space-between; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width,
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
margin-bottom: 0.5em; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input,
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input {
line-height: 1.25; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width {
margin-left: 5px; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
margin-right: 5px; }
.block-editor-inner-blocks.has-overlay::after {
content: "";
position: absolute;
@ -1398,7 +1402,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
right: -14px;
z-index: 60; }
[data-align="full"] > .block-editor-block-list__block-edit > [data-block] .has-overlay::after {
[data-align="full"] .has-overlay::after {
left: 0;
right: 0; }
@ -1420,13 +1424,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
height: 432px; } }
.block-editor-inserter__toggle {
display: inline-flex;
align-items: center;
color: #555d66;
background: none;
cursor: pointer;
border: none;
outline: none;
transition: color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
.block-editor-inserter__toggle {
@ -1846,11 +1843,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
font-family: Menlo, Consolas, monaco, monospace;
font-size: inherit; }
.block-editor-rich-text__editable:focus {
outline: none; }
.block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
border-radius: 2px; }
.block-editor-rich-text__editable [data-rich-text-placeholder] {
pointer-events: none; }
@ -1858,8 +1850,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator {
content: attr(data-rich-text-placeholder);
opacity: 0.62; }
.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after {
display: none; }
.block-editor-rich-text__editable:focus {
outline: none; }
.block-editor-rich-text__editable:focus [data-rich-text-format-boundary] {
border-radius: 2px; }
.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after {
display: none; }
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
opacity: 0.8; }

Some files were not shown because too many files have changed in this diff Show More