Block Editor: Update the WordPress Packages from Gutenberg 5.3

- @wordpress/a11y@2.2.0
 - @wordpress/annotations@1.2.0
 - @wordpress/api-fetch@3.1.0
 - @wordpress/autop@2.2.0
 - @wordpress/babel-plugin-import-jsx-pragma@2.1.0
 - @wordpress/babel-preset-default@4.1.0
 - @wordpress/blob@2.3.0
 - @wordpress/block-editor@1.1.0
 - @wordpress/block-library@2.4.0
 - @wordpress/block-serialization-default-parser@3.1.0
 - @wordpress/blocks@6.2.0
 - @wordpress/components@7.2.0
 - @wordpress/compose@3.2.0
 - @wordpress/core-data@2.2.0
 - @wordpress/data@4.4.0
 - @wordpress/date@3.2.0
 - @wordpress/deprecated@2.2.0
 - @wordpress/docgen@1.1.0
 - @wordpress/dom-ready@2.2.0
 - @wordpress/dom@2.2.0
 - @wordpress/e2e-test-utils@1.1.0
 - @wordpress/e2e-tests@1.1.0
 - @wordpress/edit-post@3.3.0
 - @wordpress/edit-widgets@0.2.0
 - @wordpress/editor@9.2.0
 - @wordpress/element@2.3.0
 - @wordpress/escape-html@1.2.0
 - @wordpress/eslint-plugin@2.1.0
 - @wordpress/format-library@1.4.0
 - @wordpress/hooks@2.2.0
 - @wordpress/html-entities@2.2.0
 - @wordpress/i18n@3.3.0
 - @wordpress/keycodes@2.2.0
 - @wordpress/list-reusable-blocks@1.3.0
 - @wordpress/notices@1.3.0
 - @wordpress/nux@3.2.0
 - @wordpress/plugins@2.2.0
 - @wordpress/priority-queue@1.1.0
 - @wordpress/redux-routine@3.2.0
 - @wordpress/rich-text@3.2.0
 - @wordpress/scripts@3.1.0
 - @wordpress/shortcode@2.2.0
 - @wordpress/url@2.5.0
 - @wordpress/viewport@2.3.0
 - @wordpress/wordcount@2.2.0


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


git-svn-id: http://core.svn.wordpress.org/trunk@44791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ella Iseulde Van Dorpe 2019-03-21 12:48:00 +00:00
parent 899e7d3800
commit 2aa1b8ff48
121 changed files with 59951 additions and 44152 deletions

View File

@ -154,6 +154,10 @@ register_block_type(
'core/latest-comments', 'core/latest-comments',
array( array(
'attributes' => array( 'attributes' => array(
'align' => array(
'type' => 'string',
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
),
'className' => array( 'className' => array(
'type' => 'string', 'type' => 'string',
), ),
@ -175,10 +179,6 @@ register_block_type(
'type' => 'boolean', 'type' => 'boolean',
'default' => true, 'default' => true,
), ),
'align' => array(
'type' => 'string',
'enum' => array( 'center', 'left', 'right', 'wide', 'full', '' ),
),
), ),
'render_callback' => 'render_block_core_latest_comments', 'render_callback' => 'render_block_core_latest_comments',
) )

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -28,16 +28,19 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.block-editor ul.wp-block-archives { .block-editor ul.wp-block-archives {
padding-right: 2.5em; } padding-right: 2.5em; }
.wp-block-audio { .wp-block-audio {
margin: 0; } margin: 0; }
.editor-block-list__block[data-type="core/button"][data-align="center"] { .block-editor-block-list__block[data-type="core/button"][data-align="center"] {
text-align: center; } text-align: center; }
.editor-block-list__block[data-type="core/button"][data-align="right"] { .block-editor-block-list__block[data-type="core/button"][data-align="right"] {
text-align: right; } text-align: right; }
.wp-block-button { .wp-block-button {
@ -46,15 +49,15 @@
position: relative; } position: relative; }
.wp-block-button [contenteditable] { .wp-block-button [contenteditable] {
cursor: text; } cursor: text; }
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable { .wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
color: #fff; } color: #fff; }
.wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable { .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
opacity: 0.8; } opacity: 0.8; }
.editor-block-preview__content .wp-block-button { .block-editor-block-preview__content .wp-block-button {
max-width: 100%; } max-width: 100%; }
.editor-block-preview__content .wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] { .block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
height: auto; } height: auto; }
.editor-block-preview__content .wp-block-button .wp-block-button__link { .block-editor-block-preview__content .wp-block-button .wp-block-button__link {
max-width: 100%; max-width: 100%;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -69,20 +72,20 @@
font-size: 13px; font-size: 13px;
line-height: 1.4; line-height: 1.4;
width: 374px; } width: 374px; }
.block-library-button__inline-link .editor-url-input { .block-library-button__inline-link .block-editor-url-input {
width: auto; } width: auto; }
.block-library-button__inline-link .editor-url-input__suggestions { .block-library-button__inline-link .block-editor-url-input__suggestions {
width: 302px; width: 302px;
z-index: 6; } z-index: 6; }
.block-library-button__inline-link > .dashicon { .block-library-button__inline-link > .dashicon {
width: 36px; } width: 36px; }
.block-library-button__inline-link .dashicon { .block-library-button__inline-link .dashicon {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]:-ms-input-placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]:-ms-input-placeholder {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::-ms-input-placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]::-ms-input-placeholder {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]::placeholder {
color: #8f98a1; } color: #8f98a1; }
[data-align="center"] .block-library-button__inline-link { [data-align="center"] .block-library-button__inline-link {
margin-right: auto; margin-right: auto;
@ -96,15 +99,15 @@
.block-editor .wp-block-categories ul ul { .block-editor .wp-block-categories ul ul {
margin-top: 6px; } margin-top: 6px; }
.wp-block-code .editor-plain-text { .wp-block-code .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
color: #23282d; color: #23282d;
/* Fonts smaller than 16px causes mobile safari to zoom. */ /* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; } font-size: 16px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-code .editor-plain-text { .wp-block-code .block-editor-plain-text {
font-size: 13px; } } font-size: 13px; } }
.wp-block-code .editor-plain-text:focus { .wp-block-code .block-editor-plain-text:focus {
box-shadow: none; } box-shadow: none; }
.components-tab-button { .components-tab-button {
@ -144,29 +147,29 @@
background-color: #555d66; background-color: #555d66;
color: #fff; } color: #fff; }
.wp-block-columns .editor-block-list__layout { .wp-block-columns .block-editor-block-list__layout {
margin-right: 0; margin-right: 0;
margin-left: 0; } margin-left: 0; }
.wp-block-columns .editor-block-list__layout .editor-block-list__block { .wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block {
max-width: none; } max-width: none; }
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks { .block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-right: 14px; padding-right: 14px;
padding-left: 14px; } padding-left: 14px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks { .block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-right: 60px; padding-right: 60px;
padding-left: 60px; } } padding-left: 60px; } }
.wp-block-columns { .wp-block-columns {
display: block; } display: block; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
display: flex; display: flex;
flex-wrap: wrap; } flex-wrap: wrap; }
@media (min-width: 782px) { @media (min-width: 782px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
flex-wrap: nowrap; } } flex-wrap: nowrap; } }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; flex: 1;
@ -178,44 +181,44 @@
word-break: break-word; word-break: break-word;
overflow-wrap: break-word; overflow-wrap: break-word;
flex-basis: 100%; } flex-basis: 100%; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .editor-inner-blocks { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div > .block-editor-inner-blocks {
margin-top: -28px; margin-top: -28px;
margin-bottom: -28px; } margin-bottom: -28px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit {
margin-top: 0; margin-top: 0;
margin-bottom: 0; } margin-bottom: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit::before {
right: 0; right: 0;
left: 0; } left: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
margin-right: -1px; } margin-right: -1px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
margin-right: 14px; margin-right: 14px;
margin-left: 14px; } } margin-left: 14px; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
flex-basis: calc(50% - (16px + 28px)); flex-basis: calc(50% - (16px + 28px));
flex-grow: 0; } } flex-grow: 0; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
margin-right: calc(32px + 14px); } } margin-right: calc(32px + 14px); } }
@media (min-width: 782px) { @media (min-width: 782px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
margin-right: calc(32px + 14px); } } margin-right: calc(32px + 14px); } }
.wp-block-columns [data-type="core/column"] { .wp-block-columns [data-type="core/column"] {
pointer-events: none; } pointer-events: none; }
.wp-block-columns [data-type="core/column"].is-hovered > .editor-block-list__block-edit::before { .wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before {
content: none; } content: none; }
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb { .wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb {
display: none; } display: none; }
:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * { :not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * {
pointer-events: all; } pointer-events: all; }
.wp-block-cover-image .editor-rich-text__editable:focus a[data-rich-text-format-boundary], .wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],
.wp-block-cover .editor-rich-text__editable:focus a[data-rich-text-format-boundary] { .wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: none; box-shadow: none;
background: rgba(255, 255, 255, 0.3); } background: rgba(255, 255, 255, 0.3); }
@ -223,13 +226,28 @@
.wp-block-cover.components-placeholder h2 { .wp-block-cover.components-placeholder h2 {
color: inherit; } color: inherit; }
.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar, .wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar { .wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,
justify-content: flex-start; } .wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar {
display: inline-block; }
.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar, .wp-block-cover-image .block-editor-block-list__layout,
.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar { .wp-block-cover .block-editor-block-list__layout {
justify-content: flex-end; } width: 100%; }
.wp-block-cover-image .block-editor-block-list__block,
.wp-block-cover .block-editor-block-list__block {
color: #f8f9f9; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
text-align: right; }
.wp-block-cover-image .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout,
.wp-block-cover .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout {
margin-right: 0;
margin-left: 0; }
.wp-block-cover-image.components-placeholder, .wp-block-cover-image.components-placeholder,
.wp-block-cover.components-placeholder { .wp-block-cover.components-placeholder {
@ -299,12 +317,9 @@
margin-right: 1em; } margin-right: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce { .wp-block-freeform.block-library-rich-text__tinymce {
overflow: hidden; /* Remove blue highlighting of selected images in WebKit */
/** /* Image captions */
* The following gallery styles were replicated /* WP Views */ }
* from the styles applied in the tinymce skin,
* /wp-includes/js/tinymce/skins/wordpress/wp-content.css.
*/ }
.wp-block-freeform.block-library-rich-text__tinymce p, .wp-block-freeform.block-library-rich-text__tinymce p,
.wp-block-freeform.block-library-rich-text__tinymce li { .wp-block-freeform.block-library-rich-text__tinymce li {
line-height: 1.8; } line-height: 1.8; }
@ -369,16 +384,76 @@
margin-left: auto; } margin-left: auto; }
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag { .wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
width: 96%; width: 96%;
height: 0; height: 20px;
display: block; display: block;
margin: 15px auto; margin: 15px auto;
outline: 0; outline: 0;
cursor: default; cursor: default;
border: 2px dashed #bababa; } background-image: url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);
.wp-block-freeform.block-library-rich-text__tinymce .wpview-type-gallery::after { background-size: 1900px 20px;
content: ""; background-repeat: no-repeat;
display: table; background-position: center; }
clear: both; } .wp-block-freeform.block-library-rich-text__tinymce img::selection {
background-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
-ms-user-select: element; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
margin: 0;
/* dl browser reset */
max-width: 100%; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
display: block; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
-webkit-user-drag: none; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
padding-top: 0.5em;
margin: 0;
/* browser dd reset */ }
.wp-block-freeform.block-library-rich-text__tinymce .wpview {
width: 99.99%;
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */
position: relative;
clear: both;
margin-bottom: 16px;
border: 1px solid transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
display: block;
max-width: 100%;
background: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
display: none; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
border: 1px dashed #e8eaeb;
padding: 10px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
border: 1px solid #e8eaeb;
padding: 1em 0;
margin: 0;
word-wrap: break-word; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
margin: 0;
text-align: center; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
border-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
display: block;
margin: 0 auto;
width: 32px;
height: 32px;
font-size: 32px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
content: "";
display: table;
clear: both; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus { .wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
outline: none; } outline: none; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery a { .wp-block-freeform.block-library-rich-text__tinymce .gallery a {
@ -424,28 +499,40 @@
border: none; border: none;
padding: 0; } padding: 0; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button, div[data-type="core/freeform"] .block-editor-block-list__block-edit::before {
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button, transition: border-color 0.1s linear, box-shadow 0.1s linear;
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i, border: 1px solid #e2e4e7;
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i { outline: 1px solid transparent; }
color: #23282d; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i { div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit::before {
font-style: normal; } border-color: #b5bcc2;
border-right-color: transparent; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp > div { div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb {
padding: 1px 3px; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before {
outline: 1px solid #e2e4e7; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb {
display: none; } display: none; }
div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
margin-top: 0; margin-top: 0;
padding-top: 0; } padding-top: 0; }
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
content: "";
display: table;
clear: both; }
.mce-toolbar-grp .mce-btn.mce-active button,
.mce-toolbar-grp .mce-btn.mce-active:hover button,
.mce-toolbar-grp .mce-btn.mce-active i,
.mce-toolbar-grp .mce-btn.mce-active:hover i {
color: #23282d; }
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
margin-left: 0;
margin-right: 8px; }
.mce-toolbar-grp .mce-btn i {
font-style: normal; }
.block-library-classic__toolbar { .block-library-classic__toolbar {
width: auto; width: auto;
margin: 0 -14px; margin: 0 -14px;
@ -454,71 +541,75 @@ div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
z-index: 10; z-index: 10;
top: 14px; top: 14px;
transform: translateY(-14px); transform: translateY(-14px);
border: 1px solid #e2e4e7;
border-bottom: none;
padding: 0 14px; } padding: 0 14px; }
.is-selected .block-library-classic__toolbar {
border-color: #b5bcc2;
border-right-color: transparent; }
@media (min-width: 600px) { @media (min-width: 600px) {
.block-library-classic__toolbar { .block-library-classic__toolbar {
padding: 0; } } padding: 0; } }
.block-library-classic__toolbar:empty {
.block-library-classic__toolbar:empty { height: 37px;
height: 37px; background: #f5f5f5;
background: #f5f5f5; border-bottom: 1px solid #e2e4e7; }
border-bottom: 1px solid #e2e4e7; } .block-library-classic__toolbar:empty::before {
.block-library-classic__toolbar:empty::before { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px;
font-size: 13px; content: attr(data-placeholder);
content: attr(data-placeholder); color: #555d66;
color: #555d66; line-height: 37px;
line-height: 37px; padding: 14px; }
padding: 14px; } .block-library-classic__toolbar .mce-tinymce-inline,
.block-library-classic__toolbar .mce-tinymce-inline > div,
.block-library-classic__toolbar .mce-tinymce-inline, .block-library-classic__toolbar div.mce-toolbar-grp,
.block-library-classic__toolbar .mce-tinymce-inline > div, .block-library-classic__toolbar div.mce-toolbar-grp > div,
.block-library-classic__toolbar div.mce-toolbar-grp, .block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar div.mce-toolbar-grp > div, .block-library-classic__toolbar .mce-menubar > div {
.block-library-classic__toolbar .mce-menubar, height: auto !important;
.block-library-classic__toolbar .mce-menubar > div { width: 100% !important; }
height: auto !important; .block-library-classic__toolbar .mce-container-body.mce-abs-layout {
width: 100% !important; } overflow: visible; }
.block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar .mce-container-body.mce-abs-layout { .block-library-classic__toolbar div.mce-toolbar-grp {
overflow: visible; } position: static; }
.block-library-classic__toolbar .mce-toolbar-grp > div {
.block-library-classic__toolbar .mce-menubar, padding: 1px 3px; }
.block-library-classic__toolbar div.mce-toolbar-grp { .block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
position: static; } display: none; }
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) { display: block; }
display: none; }
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
display: block; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon {
display: none; } display: none; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar {
float: left; float: left;
margin-left: 23px; margin-left: 25px;
transform: translateY(-13px); transform: translateY(-13px);
top: 14px; } top: 14px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
border: none; border: none;
box-shadow: none;
margin-top: 3px; } } margin-top: 3px; } }
@media (min-width: 600px) and (min-width: 782px) { @media (min-width: 600px) and (min-width: 782px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
margin-top: 0; } } margin-top: 0; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar::before {
content: ""; content: "";
display: block; display: block;
border-right: 1px solid #e2e4e7; border-right: 1px solid #e2e4e7;
margin-top: 4px; margin-top: 4px;
margin-bottom: 4px; } margin-bottom: 4px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover {
background-color: transparent; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar {
background: transparent; background: transparent;
border: none; } border: none; }
.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item { .block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item {
padding-left: 36px; } } padding-left: 36px; } }
ul.wp-block-gallery li { ul.wp-block-gallery li {
@ -555,27 +646,27 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .is-transient img { .blocks-gallery-item .is-transient img {
opacity: 0.3; } opacity: 0.3; }
.blocks-gallery-item .editor-rich-text { .blocks-gallery-item .block-editor-rich-text {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
max-height: 100%; max-height: 100%;
overflow-y: auto; } overflow-y: auto; }
.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) { .blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) {
position: relative; position: relative;
overflow: hidden; } overflow: hidden; }
@supports ((position: -webkit-sticky) or (position: sticky)) { @supports ((position: -webkit-sticky) or (position: sticky)) {
.blocks-gallery-item .is-selected .editor-rich-text { .blocks-gallery-item .is-selected .block-editor-rich-text {
left: 0; left: 0;
right: 0; right: 0;
margin-top: -4px; } } margin-top: -4px; } }
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar { .blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar {
top: 0; } top: 0; }
.blocks-gallery-item .is-selected .editor-rich-text figcaption { .blocks-gallery-item .is-selected .block-editor-rich-text figcaption {
padding-top: 48px; } padding-top: 48px; }
.blocks-gallery-item .components-form-file-upload, .blocks-gallery-item .components-form-file-upload,
@ -596,10 +687,10 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover, .blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus { .blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover, .blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus {
border: 1px solid #555d66; } border: 1px solid #555d66; }
.blocks-gallery-item .editor-rich-text figcaption a { .blocks-gallery-item .block-editor-rich-text figcaption a {
color: #fff; } color: #fff; }
.blocks-gallery-item .editor-rich-text figcaption:focus a[data-rich-text-format-boundary] { .blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
color: rgba(0, 0, 0, 0.2); } color: rgba(0, 0, 0, 0.2); }
.block-library-gallery-item__inline-menu { .block-library-gallery-item__inline-menu {
@ -689,7 +780,7 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.wp-block-heading h4 { .wp-block-heading h4 {
line-height: 1.5; } line-height: 1.5; }
.wp-block-html .editor-plain-text { .wp-block-html .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
color: #23282d; color: #23282d;
padding: 0.8em 1em; padding: 0.8em 1em;
@ -698,9 +789,9 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
/* Fonts smaller than 16px causes mobile safari to zoom. */ /* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; } font-size: 16px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-html .editor-plain-text { .wp-block-html .block-editor-plain-text {
font-size: 13px; } } font-size: 13px; } }
.wp-block-html .editor-plain-text:focus { .wp-block-html .block-editor-plain-text:focus {
box-shadow: none; } box-shadow: none; }
.wp-block-image { .wp-block-image {
@ -726,11 +817,11 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
display: block; display: block;
z-index: 1; } z-index: 1; }
.editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image { .block-editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image {
margin-right: auto; margin-right: auto;
margin-left: auto; } margin-left: auto; }
.editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div { .block-editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div {
margin-right: auto; margin-right: auto;
margin-left: auto; } margin-left: auto; }
@ -750,24 +841,24 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height { .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height {
margin-right: 5px; } margin-right: 5px; }
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal { .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
position: absolute; position: absolute;
right: 0; right: 0;
left: 0; left: 0;
margin: -1px 0; } margin: -1px 0; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal { .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
margin: -1px; } } margin: -1px; } }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit figure, [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit figure, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit figure { [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure {
margin: 0; margin: 0;
display: table; } display: table; }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit .editor-rich-text, [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit .editor-rich-text, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit .editor-rich-text { [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit .block-editor-rich-text {
display: table-caption; display: table-caption;
caption-side: bottom; } caption-side: bottom; }
@ -775,10 +866,10 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
[data-type="core/image"][data-align="full"] figure img { [data-type="core/image"][data-align="full"] figure img {
width: 100%; } width: 100%; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized { [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
margin: 0; margin: 0;
display: table; } display: table; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text { [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text {
display: table-caption; display: table-caption;
caption-side: bottom; } caption-side: bottom; }
@ -799,6 +890,28 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.block-editor .wp-block-latest-posts.is-grid { .block-editor .wp-block-latest-posts.is-grid {
padding-right: 0; } padding-right: 0; }
.wp-block-latest-posts li a > div {
display: inline; }
.wp-block-legacy-widget__edit-container,
.wp-block-legacy-widget__preview {
padding-right: 2.5em;
padding-left: 2.5em; }
.wp-block-legacy-widget__edit-container .widget-inside {
border: none;
display: block; }
.wp-block-legacy-widget__update-button {
margin-right: auto;
display: block; }
.wp-block-legacy-widget__edit-container .widget-inside {
box-shadow: none; }
.wp-block-legacy-widget__preview {
overflow: auto; }
.wp-block-media-text { .wp-block-media-text {
grid-template-areas: "media-text-media media-text-content" "resizer resizer"; } grid-template-areas: "media-text-media media-text-content" "resizer resizer"; }
@ -813,13 +926,13 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
align-self: center; align-self: center;
width: 100% !important; } width: 100% !important; }
.wp-block-media-text .editor-inner-blocks { .wp-block-media-text .block-editor-inner-blocks {
word-break: break-word; word-break: break-word;
grid-area: media-text-content; grid-area: media-text-content;
text-align: initial; text-align: initial;
padding: 0 8% 0 8%; } padding: 0 8% 0 8%; }
.wp-block-media-text > .editor-inner-blocks > .editor-block-list__layout > .editor-block-list__block { .wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
max-width: unset; } max-width: unset; }
figure.block-library-media-text__media-container { figure.block-library-media-text__media-container {
@ -847,7 +960,7 @@ figure.block-library-media-text__media-container {
padding-right: 1.3em; padding-right: 1.3em;
margin-right: 1.3em; } margin-right: 1.3em; }
.editor-block-list__block[data-type="core/more"] { .block-editor-block-list__block[data-type="core/more"] {
max-width: 100%; max-width: 100%;
text-align: center; } text-align: center; }
@ -881,7 +994,7 @@ figure.block-library-media-text__media-container {
left: 0; left: 0;
border-top: 3px dashed #ccd0d4; } border-top: 3px dashed #ccd0d4; }
.editor-visual-editor__block[data-type="core/nextpage"] { .block-editor-block-list__block[data-type="core/nextpage"] {
max-width: 100%; } max-width: 100%; }
.wp-block-nextpage { .wp-block-nextpage {
@ -908,25 +1021,25 @@ figure.block-library-media-text__media-container {
left: 0; left: 0;
border-top: 3px dashed #ccd0d4; } border-top: 3px dashed #ccd0d4; }
.editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph { .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-left: 108px; } padding-left: 108px; }
.wp-block .wp-block .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph { .wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-left: 36px; } padding-left: 36px; }
.wp-block-preformatted pre { .wp-block-preformatted pre {
white-space: pre-wrap; } white-space: pre-wrap; }
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p, .editor-block-list__block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p { .block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-editor-rich-text p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-editor-rich-text p {
font-size: 20px; } font-size: 20px; }
.wp-block-pullquote blockquote > .editor-rich-text p { .wp-block-pullquote blockquote > .block-editor-rich-text p {
font-size: 28px; font-size: 28px;
line-height: 1.6; } line-height: 1.6; }
.wp-block-pullquote.is-style-solid-color { .wp-block-pullquote.is-style-solid-color {
margin-right: 0; margin-right: 0;
margin-left: 0; } margin-left: 0; }
.wp-block-pullquote.is-style-solid-color blockquote > .editor-rich-text p { .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p {
font-size: 32px; } font-size: 32px; }
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
text-transform: none; text-transform: none;
@ -978,7 +1091,7 @@ figure.block-library-media-text__media-container {
white-space: nowrap; white-space: nowrap;
font-weight: 600; font-weight: 600;
flex-shrink: 0; } flex-shrink: 0; }
.wp-block-shortcode .editor-plain-text { .wp-block-shortcode .block-editor-plain-text {
flex-grow: 1; } flex-grow: 1; }
.wp-block-shortcode .dashicon { .wp-block-shortcode .dashicon {
margin-left: 8px; } margin-left: 8px; }
@ -991,12 +1104,12 @@ figure.block-library-media-text__media-container {
font-size: 1.1em; font-size: 1.1em;
font-style: italic; } font-style: italic; }
.editor-block-list__block[data-type="core/table"][data-align="left"] table, .editor-block-list__block[data-type="core/table"][data-align="right"] table, .editor-block-list__block[data-type="core/table"][data-align="center"] table { .block-editor-block-list__block[data-type="core/table"][data-align="left"] table, .block-editor-block-list__block[data-type="core/table"][data-align="right"] table, .block-editor-block-list__block[data-type="core/table"][data-align="center"] table {
width: auto; } width: auto; }
.editor-block-list__block[data-type="core/table"][data-align="center"] { .block-editor-block-list__block[data-type="core/table"][data-align="center"] {
text-align: initial; } text-align: initial; }
.editor-block-list__block[data-type="core/table"][data-align="center"] table { .block-editor-block-list__block[data-type="core/table"][data-align="center"] table {
margin: 0 auto; } margin: 0 auto; }
.wp-block-table table { .wp-block-table table {
@ -1027,7 +1140,7 @@ figure.block-library-media-text__media-container {
color: #8f98a1; color: #8f98a1;
text-decoration: none; } text-decoration: none; }
.wp-block-text-columns .editor-rich-text__editable:focus { .wp-block-text-columns .block-editor-rich-text__editable:focus {
outline: 1px solid #e2e4e7; } outline: 1px solid #e2e4e7; }
pre.wp-block-verse, pre.wp-block-verse,
@ -1039,7 +1152,7 @@ pre.wp-block-verse,
padding: 1em; padding: 1em;
overflow: auto; } overflow: auto; }
.editor-block-list__block[data-align="center"] { .block-editor-block-list__block[data-align="center"] {
text-align: center; } text-align: center; }
.editor-video-poster-control .components-button { .editor-video-poster-control .components-button {

File diff suppressed because one or more lines are too long

View File

@ -28,16 +28,19 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.block-editor ul.wp-block-archives { .block-editor ul.wp-block-archives {
padding-left: 2.5em; } padding-left: 2.5em; }
.wp-block-audio { .wp-block-audio {
margin: 0; } margin: 0; }
.editor-block-list__block[data-type="core/button"][data-align="center"] { .block-editor-block-list__block[data-type="core/button"][data-align="center"] {
text-align: center; } text-align: center; }
.editor-block-list__block[data-type="core/button"][data-align="right"] { .block-editor-block-list__block[data-type="core/button"][data-align="right"] {
/*!rtl:ignore*/ /*!rtl:ignore*/
text-align: right; } text-align: right; }
@ -47,15 +50,15 @@
position: relative; } position: relative; }
.wp-block-button [contenteditable] { .wp-block-button [contenteditable] {
cursor: text; } cursor: text; }
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable { .wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
color: #fff; } color: #fff; }
.wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable { .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
opacity: 0.8; } opacity: 0.8; }
.editor-block-preview__content .wp-block-button { .block-editor-block-preview__content .wp-block-button {
max-width: 100%; } max-width: 100%; }
.editor-block-preview__content .wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] { .block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
height: auto; } height: auto; }
.editor-block-preview__content .wp-block-button .wp-block-button__link { .block-editor-block-preview__content .wp-block-button .wp-block-button__link {
max-width: 100%; max-width: 100%;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -70,20 +73,20 @@
font-size: 13px; font-size: 13px;
line-height: 1.4; line-height: 1.4;
width: 374px; } width: 374px; }
.block-library-button__inline-link .editor-url-input { .block-library-button__inline-link .block-editor-url-input {
width: auto; } width: auto; }
.block-library-button__inline-link .editor-url-input__suggestions { .block-library-button__inline-link .block-editor-url-input__suggestions {
width: 302px; width: 302px;
z-index: 6; } z-index: 6; }
.block-library-button__inline-link > .dashicon { .block-library-button__inline-link > .dashicon {
width: 36px; } width: 36px; }
.block-library-button__inline-link .dashicon { .block-library-button__inline-link .dashicon {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]:-ms-input-placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]:-ms-input-placeholder {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::-ms-input-placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]::-ms-input-placeholder {
color: #8f98a1; } color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::placeholder { .block-library-button__inline-link .block-editor-url-input input[type="text"]::placeholder {
color: #8f98a1; } color: #8f98a1; }
[data-align="center"] .block-library-button__inline-link { [data-align="center"] .block-library-button__inline-link {
margin-left: auto; margin-left: auto;
@ -97,15 +100,15 @@
.block-editor .wp-block-categories ul ul { .block-editor .wp-block-categories ul ul {
margin-top: 6px; } margin-top: 6px; }
.wp-block-code .editor-plain-text { .wp-block-code .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
color: #23282d; color: #23282d;
/* Fonts smaller than 16px causes mobile safari to zoom. */ /* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; } font-size: 16px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-code .editor-plain-text { .wp-block-code .block-editor-plain-text {
font-size: 13px; } } font-size: 13px; } }
.wp-block-code .editor-plain-text:focus { .wp-block-code .block-editor-plain-text:focus {
box-shadow: none; } box-shadow: none; }
.components-tab-button { .components-tab-button {
@ -145,29 +148,29 @@
background-color: #555d66; background-color: #555d66;
color: #fff; } color: #fff; }
.wp-block-columns .editor-block-list__layout { .wp-block-columns .block-editor-block-list__layout {
margin-left: 0; margin-left: 0;
margin-right: 0; } margin-right: 0; }
.wp-block-columns .editor-block-list__layout .editor-block-list__block { .wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block {
max-width: none; } max-width: none; }
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks { .block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-left: 14px; padding-left: 14px;
padding-right: 14px; } padding-right: 14px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks { .block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-left: 60px; padding-left: 60px;
padding-right: 60px; } } padding-right: 60px; } }
.wp-block-columns { .wp-block-columns {
display: block; } display: block; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
display: flex; display: flex;
flex-wrap: wrap; } flex-wrap: wrap; }
@media (min-width: 782px) { @media (min-width: 782px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
flex-wrap: nowrap; } } flex-wrap: nowrap; } }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; flex: 1;
@ -179,44 +182,44 @@
word-break: break-word; word-break: break-word;
overflow-wrap: break-word; overflow-wrap: break-word;
flex-basis: 100%; } flex-basis: 100%; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .editor-inner-blocks { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div > .block-editor-inner-blocks {
margin-top: -28px; margin-top: -28px;
margin-bottom: -28px; } margin-bottom: -28px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit {
margin-top: 0; margin-top: 0;
margin-bottom: 0; } margin-bottom: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit::before {
left: 0; left: 0;
right: 0; } right: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
margin-left: -1px; } margin-left: -1px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
margin-left: 14px; margin-left: 14px;
margin-right: 14px; } } margin-right: 14px; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
flex-basis: calc(50% - (16px + 28px)); flex-basis: calc(50% - (16px + 28px));
flex-grow: 0; } } flex-grow: 0; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
margin-left: calc(32px + 14px); } } margin-left: calc(32px + 14px); } }
@media (min-width: 782px) { @media (min-width: 782px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
margin-left: calc(32px + 14px); } } margin-left: calc(32px + 14px); } }
.wp-block-columns [data-type="core/column"] { .wp-block-columns [data-type="core/column"] {
pointer-events: none; } pointer-events: none; }
.wp-block-columns [data-type="core/column"].is-hovered > .editor-block-list__block-edit::before { .wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before {
content: none; } content: none; }
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb { .wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb {
display: none; } display: none; }
:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * { :not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * {
pointer-events: all; } pointer-events: all; }
.wp-block-cover-image .editor-rich-text__editable:focus a[data-rich-text-format-boundary], .wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],
.wp-block-cover .editor-rich-text__editable:focus a[data-rich-text-format-boundary] { .wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: none; box-shadow: none;
background: rgba(255, 255, 255, 0.3); } background: rgba(255, 255, 255, 0.3); }
@ -224,13 +227,28 @@
.wp-block-cover.components-placeholder h2 { .wp-block-cover.components-placeholder h2 {
color: inherit; } color: inherit; }
.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar, .wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar { .wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,
justify-content: flex-start; } .wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar {
display: inline-block; }
.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar, .wp-block-cover-image .block-editor-block-list__layout,
.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar { .wp-block-cover .block-editor-block-list__layout {
justify-content: flex-end; } width: 100%; }
.wp-block-cover-image .block-editor-block-list__block,
.wp-block-cover .block-editor-block-list__block {
color: #f8f9f9; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
text-align: left; }
.wp-block-cover-image .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout,
.wp-block-cover .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout {
margin-left: 0;
margin-right: 0; }
.wp-block-cover-image.components-placeholder, .wp-block-cover-image.components-placeholder,
.wp-block-cover.components-placeholder { .wp-block-cover.components-placeholder {
@ -300,12 +318,9 @@
margin-left: 1em; } margin-left: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce { .wp-block-freeform.block-library-rich-text__tinymce {
overflow: hidden; /* Remove blue highlighting of selected images in WebKit */
/** /* Image captions */
* The following gallery styles were replicated /* WP Views */ }
* from the styles applied in the tinymce skin,
* /wp-includes/js/tinymce/skins/wordpress/wp-content.css.
*/ }
.wp-block-freeform.block-library-rich-text__tinymce p, .wp-block-freeform.block-library-rich-text__tinymce p,
.wp-block-freeform.block-library-rich-text__tinymce li { .wp-block-freeform.block-library-rich-text__tinymce li {
line-height: 1.8; } line-height: 1.8; }
@ -374,16 +389,76 @@
margin-right: auto; } margin-right: auto; }
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag { .wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
width: 96%; width: 96%;
height: 0; height: 20px;
display: block; display: block;
margin: 15px auto; margin: 15px auto;
outline: 0; outline: 0;
cursor: default; cursor: default;
border: 2px dashed #bababa; } background-image: url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);
.wp-block-freeform.block-library-rich-text__tinymce .wpview-type-gallery::after { background-size: 1900px 20px;
content: ""; background-repeat: no-repeat;
display: table; background-position: center; }
clear: both; } .wp-block-freeform.block-library-rich-text__tinymce img::selection {
background-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
-ms-user-select: element; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
margin: 0;
/* dl browser reset */
max-width: 100%; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
display: block; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
-webkit-user-drag: none; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
padding-top: 0.5em;
margin: 0;
/* browser dd reset */ }
.wp-block-freeform.block-library-rich-text__tinymce .wpview {
width: 99.99%;
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */
position: relative;
clear: both;
margin-bottom: 16px;
border: 1px solid transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
display: block;
max-width: 100%;
background: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
display: none; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
border: 1px dashed #e8eaeb;
padding: 10px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
border: 1px solid #e8eaeb;
padding: 1em 0;
margin: 0;
word-wrap: break-word; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
margin: 0;
text-align: center; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
border-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
display: block;
margin: 0 auto;
width: 32px;
height: 32px;
font-size: 32px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
content: "";
display: table;
clear: both; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus { .wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
outline: none; } outline: none; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery a { .wp-block-freeform.block-library-rich-text__tinymce .gallery a {
@ -429,28 +504,40 @@
border: none; border: none;
padding: 0; } padding: 0; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button, div[data-type="core/freeform"] .block-editor-block-list__block-edit::before {
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button, transition: border-color 0.1s linear, box-shadow 0.1s linear;
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i, border: 1px solid #e2e4e7;
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i { outline: 1px solid transparent; }
color: #23282d; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i { div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit::before {
font-style: normal; } border-color: #b5bcc2;
border-left-color: transparent; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp > div { div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb {
padding: 1px 3px; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before {
outline: 1px solid #e2e4e7; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb {
display: none; } display: none; }
div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
margin-top: 0; margin-top: 0;
padding-top: 0; } padding-top: 0; }
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
content: "";
display: table;
clear: both; }
.mce-toolbar-grp .mce-btn.mce-active button,
.mce-toolbar-grp .mce-btn.mce-active:hover button,
.mce-toolbar-grp .mce-btn.mce-active i,
.mce-toolbar-grp .mce-btn.mce-active:hover i {
color: #23282d; }
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
margin-right: 0;
margin-left: 8px; }
.mce-toolbar-grp .mce-btn i {
font-style: normal; }
.block-library-classic__toolbar { .block-library-classic__toolbar {
width: auto; width: auto;
margin: 0 -14px; margin: 0 -14px;
@ -459,71 +546,75 @@ div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
z-index: 10; z-index: 10;
top: 14px; top: 14px;
transform: translateY(-14px); transform: translateY(-14px);
border: 1px solid #e2e4e7;
border-bottom: none;
padding: 0 14px; } padding: 0 14px; }
.is-selected .block-library-classic__toolbar {
border-color: #b5bcc2;
border-left-color: transparent; }
@media (min-width: 600px) { @media (min-width: 600px) {
.block-library-classic__toolbar { .block-library-classic__toolbar {
padding: 0; } } padding: 0; } }
.block-library-classic__toolbar:empty {
.block-library-classic__toolbar:empty { height: 37px;
height: 37px; background: #f5f5f5;
background: #f5f5f5; border-bottom: 1px solid #e2e4e7; }
border-bottom: 1px solid #e2e4e7; } .block-library-classic__toolbar:empty::before {
.block-library-classic__toolbar:empty::before { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px;
font-size: 13px; content: attr(data-placeholder);
content: attr(data-placeholder); color: #555d66;
color: #555d66; line-height: 37px;
line-height: 37px; padding: 14px; }
padding: 14px; } .block-library-classic__toolbar .mce-tinymce-inline,
.block-library-classic__toolbar .mce-tinymce-inline > div,
.block-library-classic__toolbar .mce-tinymce-inline, .block-library-classic__toolbar div.mce-toolbar-grp,
.block-library-classic__toolbar .mce-tinymce-inline > div, .block-library-classic__toolbar div.mce-toolbar-grp > div,
.block-library-classic__toolbar div.mce-toolbar-grp, .block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar div.mce-toolbar-grp > div, .block-library-classic__toolbar .mce-menubar > div {
.block-library-classic__toolbar .mce-menubar, height: auto !important;
.block-library-classic__toolbar .mce-menubar > div { width: 100% !important; }
height: auto !important; .block-library-classic__toolbar .mce-container-body.mce-abs-layout {
width: 100% !important; } overflow: visible; }
.block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar .mce-container-body.mce-abs-layout { .block-library-classic__toolbar div.mce-toolbar-grp {
overflow: visible; } position: static; }
.block-library-classic__toolbar .mce-toolbar-grp > div {
.block-library-classic__toolbar .mce-menubar, padding: 1px 3px; }
.block-library-classic__toolbar div.mce-toolbar-grp { .block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
position: static; } display: none; }
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) { display: block; }
display: none; }
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
display: block; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon {
display: none; } display: none; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar {
float: right; float: right;
margin-right: 23px; margin-right: 25px;
transform: translateY(-13px); transform: translateY(-13px);
top: 14px; } top: 14px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
border: none; border: none;
box-shadow: none;
margin-top: 3px; } } margin-top: 3px; } }
@media (min-width: 600px) and (min-width: 782px) { @media (min-width: 600px) and (min-width: 782px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
margin-top: 0; } } margin-top: 0; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar::before {
content: ""; content: "";
display: block; display: block;
border-left: 1px solid #e2e4e7; border-left: 1px solid #e2e4e7;
margin-top: 4px; margin-top: 4px;
margin-bottom: 4px; } margin-bottom: 4px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar { .block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover {
background-color: transparent; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar {
background: transparent; background: transparent;
border: none; } border: none; }
.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item { .block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item {
padding-right: 36px; } } padding-right: 36px; } }
ul.wp-block-gallery li { ul.wp-block-gallery li {
@ -560,27 +651,27 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .is-transient img { .blocks-gallery-item .is-transient img {
opacity: 0.3; } opacity: 0.3; }
.blocks-gallery-item .editor-rich-text { .blocks-gallery-item .block-editor-rich-text {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
max-height: 100%; max-height: 100%;
overflow-y: auto; } overflow-y: auto; }
.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) { .blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) {
position: relative; position: relative;
overflow: hidden; } overflow: hidden; }
@supports ((position: -webkit-sticky) or (position: sticky)) { @supports ((position: -webkit-sticky) or (position: sticky)) {
.blocks-gallery-item .is-selected .editor-rich-text { .blocks-gallery-item .is-selected .block-editor-rich-text {
right: 0; right: 0;
left: 0; left: 0;
margin-top: -4px; } } margin-top: -4px; } }
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar { .blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar {
top: 0; } top: 0; }
.blocks-gallery-item .is-selected .editor-rich-text figcaption { .blocks-gallery-item .is-selected .block-editor-rich-text figcaption {
padding-top: 48px; } padding-top: 48px; }
.blocks-gallery-item .components-form-file-upload, .blocks-gallery-item .components-form-file-upload,
@ -601,10 +692,10 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover, .blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus { .blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover, .blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus {
border: 1px solid #555d66; } border: 1px solid #555d66; }
.blocks-gallery-item .editor-rich-text figcaption a { .blocks-gallery-item .block-editor-rich-text figcaption a {
color: #fff; } color: #fff; }
.blocks-gallery-item .editor-rich-text figcaption:focus a[data-rich-text-format-boundary] { .blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
color: rgba(0, 0, 0, 0.2); } color: rgba(0, 0, 0, 0.2); }
.block-library-gallery-item__inline-menu { .block-library-gallery-item__inline-menu {
@ -694,7 +785,7 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.wp-block-heading h4 { .wp-block-heading h4 {
line-height: 1.5; } line-height: 1.5; }
.wp-block-html .editor-plain-text { .wp-block-html .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
color: #23282d; color: #23282d;
padding: 0.8em 1em; padding: 0.8em 1em;
@ -703,9 +794,9 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
/* Fonts smaller than 16px causes mobile safari to zoom. */ /* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; } font-size: 16px; }
@media (min-width: 600px) { @media (min-width: 600px) {
.wp-block-html .editor-plain-text { .wp-block-html .block-editor-plain-text {
font-size: 13px; } } font-size: 13px; } }
.wp-block-html .editor-plain-text:focus { .wp-block-html .block-editor-plain-text:focus {
box-shadow: none; } box-shadow: none; }
.wp-block-image { .wp-block-image {
@ -731,11 +822,11 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
display: block; display: block;
z-index: 1; } z-index: 1; }
.editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image { .block-editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image {
margin-left: auto; margin-left: auto;
margin-right: auto; } margin-right: auto; }
.editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div { .block-editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div {
margin-left: auto; margin-left: auto;
margin-right: auto; } margin-right: auto; }
@ -755,24 +846,24 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height { .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height {
margin-left: 5px; } margin-left: 5px; }
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal { .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
margin: -1px 0; } margin: -1px 0; }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal { .block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
margin: -1px; } } margin: -1px; } }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit figure, [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit figure, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit figure { [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure {
margin: 0; margin: 0;
display: table; } display: table; }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit .editor-rich-text, [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit .editor-rich-text, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit .editor-rich-text { [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit .block-editor-rich-text {
display: table-caption; display: table-caption;
caption-side: bottom; } caption-side: bottom; }
@ -780,10 +871,10 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
[data-type="core/image"][data-align="full"] figure img { [data-type="core/image"][data-align="full"] figure img {
width: 100%; } width: 100%; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized { [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
margin: 0; margin: 0;
display: table; } display: table; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text { [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text {
display: table-caption; display: table-caption;
caption-side: bottom; } caption-side: bottom; }
@ -804,6 +895,28 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.block-editor .wp-block-latest-posts.is-grid { .block-editor .wp-block-latest-posts.is-grid {
padding-left: 0; } padding-left: 0; }
.wp-block-latest-posts li a > div {
display: inline; }
.wp-block-legacy-widget__edit-container,
.wp-block-legacy-widget__preview {
padding-left: 2.5em;
padding-right: 2.5em; }
.wp-block-legacy-widget__edit-container .widget-inside {
border: none;
display: block; }
.wp-block-legacy-widget__update-button {
margin-left: auto;
display: block; }
.wp-block-legacy-widget__edit-container .widget-inside {
box-shadow: none; }
.wp-block-legacy-widget__preview {
overflow: auto; }
.wp-block-media-text { .wp-block-media-text {
grid-template-areas: "media-text-media media-text-content" "resizer resizer"; } grid-template-areas: "media-text-media media-text-content" "resizer resizer"; }
@ -818,13 +931,13 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
align-self: center; align-self: center;
width: 100% !important; } width: 100% !important; }
.wp-block-media-text .editor-inner-blocks { .wp-block-media-text .block-editor-inner-blocks {
word-break: break-word; word-break: break-word;
grid-area: media-text-content; grid-area: media-text-content;
text-align: initial; text-align: initial;
padding: 0 8% 0 8%; } padding: 0 8% 0 8%; }
.wp-block-media-text > .editor-inner-blocks > .editor-block-list__layout > .editor-block-list__block { .wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
max-width: unset; } max-width: unset; }
figure.block-library-media-text__media-container { figure.block-library-media-text__media-container {
@ -852,7 +965,7 @@ figure.block-library-media-text__media-container {
padding-left: 1.3em; padding-left: 1.3em;
margin-left: 1.3em; } margin-left: 1.3em; }
.editor-block-list__block[data-type="core/more"] { .block-editor-block-list__block[data-type="core/more"] {
max-width: 100%; max-width: 100%;
text-align: center; } text-align: center; }
@ -886,7 +999,7 @@ figure.block-library-media-text__media-container {
right: 0; right: 0;
border-top: 3px dashed #ccd0d4; } border-top: 3px dashed #ccd0d4; }
.editor-visual-editor__block[data-type="core/nextpage"] { .block-editor-block-list__block[data-type="core/nextpage"] {
max-width: 100%; } max-width: 100%; }
.wp-block-nextpage { .wp-block-nextpage {
@ -913,25 +1026,25 @@ figure.block-library-media-text__media-container {
right: 0; right: 0;
border-top: 3px dashed #ccd0d4; } border-top: 3px dashed #ccd0d4; }
.editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph { .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-right: 108px; } padding-right: 108px; }
.wp-block .wp-block .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph { .wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-right: 36px; } padding-right: 36px; }
.wp-block-preformatted pre { .wp-block-preformatted pre {
white-space: pre-wrap; } white-space: pre-wrap; }
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p, .editor-block-list__block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p { .block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-editor-rich-text p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-editor-rich-text p {
font-size: 20px; } font-size: 20px; }
.wp-block-pullquote blockquote > .editor-rich-text p { .wp-block-pullquote blockquote > .block-editor-rich-text p {
font-size: 28px; font-size: 28px;
line-height: 1.6; } line-height: 1.6; }
.wp-block-pullquote.is-style-solid-color { .wp-block-pullquote.is-style-solid-color {
margin-left: 0; margin-left: 0;
margin-right: 0; } margin-right: 0; }
.wp-block-pullquote.is-style-solid-color blockquote > .editor-rich-text p { .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p {
font-size: 32px; } font-size: 32px; }
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
text-transform: none; text-transform: none;
@ -983,7 +1096,7 @@ figure.block-library-media-text__media-container {
white-space: nowrap; white-space: nowrap;
font-weight: 600; font-weight: 600;
flex-shrink: 0; } flex-shrink: 0; }
.wp-block-shortcode .editor-plain-text { .wp-block-shortcode .block-editor-plain-text {
flex-grow: 1; } flex-grow: 1; }
.wp-block-shortcode .dashicon { .wp-block-shortcode .dashicon {
margin-right: 8px; } margin-right: 8px; }
@ -996,12 +1109,12 @@ figure.block-library-media-text__media-container {
font-size: 1.1em; font-size: 1.1em;
font-style: italic; } font-style: italic; }
.editor-block-list__block[data-type="core/table"][data-align="left"] table, .editor-block-list__block[data-type="core/table"][data-align="right"] table, .editor-block-list__block[data-type="core/table"][data-align="center"] table { .block-editor-block-list__block[data-type="core/table"][data-align="left"] table, .block-editor-block-list__block[data-type="core/table"][data-align="right"] table, .block-editor-block-list__block[data-type="core/table"][data-align="center"] table {
width: auto; } width: auto; }
.editor-block-list__block[data-type="core/table"][data-align="center"] { .block-editor-block-list__block[data-type="core/table"][data-align="center"] {
text-align: initial; } text-align: initial; }
.editor-block-list__block[data-type="core/table"][data-align="center"] table { .block-editor-block-list__block[data-type="core/table"][data-align="center"] table {
margin: 0 auto; } margin: 0 auto; }
.wp-block-table table { .wp-block-table table {
@ -1032,7 +1145,7 @@ figure.block-library-media-text__media-container {
color: #8f98a1; color: #8f98a1;
text-decoration: none; } text-decoration: none; }
.wp-block-text-columns .editor-rich-text__editable:focus { .wp-block-text-columns .block-editor-rich-text__editable:focus {
outline: 1px solid #e2e4e7; } outline: 1px solid #e2e4e7; }
pre.wp-block-verse, pre.wp-block-verse,
@ -1044,7 +1157,7 @@ pre.wp-block-verse,
padding: 1em; padding: 1em;
overflow: auto; } overflow: auto; }
.editor-block-list__block[data-align="center"] { .block-editor-block-list__block[data-align="center"] {
text-align: center; } text-align: center; }
.editor-video-poster-control .components-button { .editor-video-poster-control .components-button {

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.wp-block-audio figcaption { .wp-block-audio figcaption {
margin-top: 0.5em; margin-top: 0.5em;
margin-bottom: 1em; margin-bottom: 1em;
@ -39,7 +42,7 @@
width: 100%; width: 100%;
min-width: 300px; } min-width: 300px; }
.editor-block-list__layout .reusable-block-edit-panel { .block-editor-block-list__layout .reusable-block-edit-panel {
align-items: center; align-items: center;
background: #f8f9f9; background: #f8f9f9;
color: #555d66; color: #555d66;
@ -51,38 +54,46 @@
top: -14px; top: -14px;
margin: 0 -14px; margin: 0 -14px;
padding: 8px 14px; padding: 8px 14px;
position: relative; } position: relative;
.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel { border: 1px dashed rgba(145, 151, 162, 0.25);
border-bottom: none; }
.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel {
margin: 0 -14px; margin: 0 -14px;
padding: 8px 14px; } padding: 8px 14px; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner {
margin: 0 5px; } margin: 0 5px; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info {
margin-left: auto; } margin-left: auto; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label {
margin-left: 8px; margin-left: 8px;
white-space: nowrap; white-space: nowrap;
font-weight: 600; } font-weight: 600; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title {
flex: 1 1 100%; flex: 1 1 100%;
font-size: 14px; font-size: 14px;
height: 30px; height: 30px;
margin: 4px 0 8px; } margin: 4px 0 8px; }
.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button {
flex-shrink: 0; } flex-shrink: 0; }
@media (min-width: 960px) { @media (min-width: 960px) {
.editor-block-list__layout .reusable-block-edit-panel { .block-editor-block-list__layout .reusable-block-edit-panel {
flex-wrap: nowrap; } flex-wrap: nowrap; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title {
margin: 0; } margin: 0; }
.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button {
margin: 0 5px 0 0; } } margin: 0 5px 0 0; } }
.editor-block-list__layout .reusable-block-indicator { .editor-block-list__layout .is-selected .reusable-block-edit-panel {
border-color: rgba(66, 88, 99, 0.4);
border-right-color: transparent; }
.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel {
border-color: rgba(255, 255, 255, 0.45);
border-right-color: transparent; }
.block-editor-block-list__layout .reusable-block-indicator {
background: #fff; background: #fff;
border-right: 1px dashed #e2e4e7; border: 1px dashed #e2e4e7;
color: #555d66; color: #555d66;
border-bottom: 1px dashed #e2e4e7;
top: -14px; top: -14px;
height: 30px; height: 30px;
padding: 4px; padding: 4px;
@ -321,6 +332,28 @@
.wp-block-cover.alignleft, .wp-block-cover.alignleft,
.wp-block-cover.alignright { .wp-block-cover.alignright {
display: flex; } display: flex; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
width: calc(100% - 70px);
z-index: 1;
color: #f8f9f9; }
.wp-block-cover-image p,
.wp-block-cover-image h1,
.wp-block-cover-image h2,
.wp-block-cover-image h3,
.wp-block-cover-image h4,
.wp-block-cover-image h5,
.wp-block-cover-image h6,
.wp-block-cover-image .wp-block-subhead,
.wp-block-cover p,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4,
.wp-block-cover h5,
.wp-block-cover h6,
.wp-block-cover .wp-block-subhead {
color: inherit; }
.wp-block-cover__video-background { .wp-block-cover__video-background {
position: absolute; position: absolute;
@ -333,8 +366,8 @@
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; } object-fit: cover; }
.editor-block-list__block[data-type="core/embed"][data-align="left"] .editor-block-list__block-edit, .block-editor-block-list__block[data-type="core/embed"][data-align="left"] .block-editor-block-list__block-edit,
.editor-block-list__block[data-type="core/embed"][data-align="right"] .editor-block-list__block-edit, .block-editor-block-list__block[data-type="core/embed"][data-align="right"] .block-editor-block-list__block-edit,
.wp-block-embed.alignleft, .wp-block-embed.alignleft,
.wp-block-embed.alignright { .wp-block-embed.alignright {
max-width: 360px; max-width: 360px;

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.wp-block-audio figcaption { .wp-block-audio figcaption {
margin-top: 0.5em; margin-top: 0.5em;
margin-bottom: 1em; margin-bottom: 1em;
@ -39,7 +42,7 @@
width: 100%; width: 100%;
min-width: 300px; } min-width: 300px; }
.editor-block-list__layout .reusable-block-edit-panel { .block-editor-block-list__layout .reusable-block-edit-panel {
align-items: center; align-items: center;
background: #f8f9f9; background: #f8f9f9;
color: #555d66; color: #555d66;
@ -51,38 +54,46 @@
top: -14px; top: -14px;
margin: 0 -14px; margin: 0 -14px;
padding: 8px 14px; padding: 8px 14px;
position: relative; } position: relative;
.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel { border: 1px dashed rgba(145, 151, 162, 0.25);
border-bottom: none; }
.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel {
margin: 0 -14px; margin: 0 -14px;
padding: 8px 14px; } padding: 8px 14px; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner {
margin: 0 5px; } margin: 0 5px; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info {
margin-right: auto; } margin-right: auto; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label {
margin-right: 8px; margin-right: 8px;
white-space: nowrap; white-space: nowrap;
font-weight: 600; } font-weight: 600; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title {
flex: 1 1 100%; flex: 1 1 100%;
font-size: 14px; font-size: 14px;
height: 30px; height: 30px;
margin: 4px 0 8px; } margin: 4px 0 8px; }
.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button {
flex-shrink: 0; } flex-shrink: 0; }
@media (min-width: 960px) { @media (min-width: 960px) {
.editor-block-list__layout .reusable-block-edit-panel { .block-editor-block-list__layout .reusable-block-edit-panel {
flex-wrap: nowrap; } flex-wrap: nowrap; }
.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title { .block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title {
margin: 0; } margin: 0; }
.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button {
margin: 0 0 0 5px; } } margin: 0 0 0 5px; } }
.editor-block-list__layout .reusable-block-indicator { .editor-block-list__layout .is-selected .reusable-block-edit-panel {
border-color: rgba(66, 88, 99, 0.4);
border-left-color: transparent; }
.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel {
border-color: rgba(255, 255, 255, 0.45);
border-left-color: transparent; }
.block-editor-block-list__layout .reusable-block-indicator {
background: #fff; background: #fff;
border-left: 1px dashed #e2e4e7; border: 1px dashed #e2e4e7;
color: #555d66; color: #555d66;
border-bottom: 1px dashed #e2e4e7;
top: -14px; top: -14px;
height: 30px; height: 30px;
padding: 4px; padding: 4px;
@ -324,6 +335,28 @@
.wp-block-cover.alignleft, .wp-block-cover.alignleft,
.wp-block-cover.alignright { .wp-block-cover.alignright {
display: flex; } display: flex; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
width: calc(100% - 70px);
z-index: 1;
color: #f8f9f9; }
.wp-block-cover-image p,
.wp-block-cover-image h1,
.wp-block-cover-image h2,
.wp-block-cover-image h3,
.wp-block-cover-image h4,
.wp-block-cover-image h5,
.wp-block-cover-image h6,
.wp-block-cover-image .wp-block-subhead,
.wp-block-cover p,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4,
.wp-block-cover h5,
.wp-block-cover h6,
.wp-block-cover .wp-block-subhead {
color: inherit; }
.wp-block-cover__video-background { .wp-block-cover__video-background {
position: absolute; position: absolute;
@ -336,8 +369,8 @@
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; } object-fit: cover; }
.editor-block-list__block[data-type="core/embed"][data-align="left"] .editor-block-list__block-edit, .block-editor-block-list__block[data-type="core/embed"][data-align="left"] .block-editor-block-list__block-edit,
.editor-block-list__block[data-type="core/embed"][data-align="right"] .editor-block-list__block-edit, .block-editor-block-list__block[data-type="core/embed"][data-align="right"] .block-editor-block-list__block-edit,
.wp-block-embed.alignleft, .wp-block-embed.alignleft,
.wp-block-embed.alignright { .wp-block-embed.alignright {
max-width: 360px; max-width: 360px;

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.wp-block-code { .wp-block-code {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px; font-size: 14px;

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.wp-block-code { .wp-block-code {
font-family: Menlo, Consolas, monaco, monospace; font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px; font-size: 14px;

View File

@ -28,9 +28,15 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.components-animate__appear { .components-animate__appear {
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s; animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-animate__appear {
animation-duration: 1ms !important; } }
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left { .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
transform-origin: top right; } transform-origin: top right; }
.components-animate__appear.is-from-top.is-from-right { .components-animate__appear.is-from-top.is-from-right {
@ -49,6 +55,9 @@
.components-animate__slide-in { .components-animate__slide-in {
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1); animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-animate__slide-in {
animation-duration: 1ms !important; } }
.components-animate__slide-in.is-from-left { .components-animate__slide-in.is-from-left {
transform: translateX(-100%); } transform: translateX(-100%); }
@ -2439,6 +2448,9 @@ body.is-dragging-components-draggable {
z-index: 100000; z-index: 100000;
animation: edit-post__fade-in-animation 0.2s ease-out 0s; animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-modal__screen-overlay {
animation-duration: 1ms !important; } }
.components-modal__frame { .components-modal__frame {
position: absolute; position: absolute;
@ -2464,6 +2476,9 @@ body.is-dragging-components-draggable {
transform: translate(50%, -50%); transform: translate(50%, -50%);
animation: components-modal__appear-animation 0.1s ease-out; animation: components-modal__appear-animation 0.1s ease-out;
animation-fill-mode: forwards; } } animation-fill-mode: forwards; } }
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
.components-modal__frame {
animation-duration: 1ms !important; } }
@keyframes components-modal__appear-animation { @keyframes components-modal__appear-animation {
from { from {
@ -2703,7 +2718,8 @@ body.is-dragging-components-draggable {
font-weight: 600; font-weight: 600;
margin-bottom: 1em; } margin-bottom: 1em; }
.components-placeholder__label .dashicon, .components-placeholder__label .dashicon,
.components-placeholder__label .editor-block-icon { .components-placeholder__label .block-editor-block-icon {
fill: currentColor;
margin-left: 1ch; } margin-left: 1ch; }
.components-placeholder__fieldset, .components-placeholder__fieldset,
@ -3072,7 +3088,7 @@ body.lockscroll {
position: absolute; position: absolute;
background-color: #fff; background-color: #fff;
top: 3px; top: 3px;
right: 3px; left: 3px;
width: 4px; width: 4px;
height: 4px; height: 4px;
border-radius: 100%; border-radius: 100%;
@ -3201,12 +3217,12 @@ div.components-toolbar > div + div {
background: #191e23; background: #191e23;
border-width: 0; border-width: 0;
color: #fff; color: #fff;
white-space: nowrap; } white-space: nowrap;
text-align: center; }
.components-tooltip:not(.is-mobile) .components-popover__content { .components-tooltip:not(.is-mobile) .components-popover__content {
min-width: 0; } min-width: 0; }
.components-tooltip__shortcut { .components-tooltip__shortcut {
display: block; display: block;
text-align: center;
color: #7e8993; } color: #7e8993; }

File diff suppressed because one or more lines are too long

View File

@ -28,9 +28,15 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.components-animate__appear { .components-animate__appear {
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s; animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-animate__appear {
animation-duration: 1ms !important; } }
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left { .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
transform-origin: top left; } transform-origin: top left; }
.components-animate__appear.is-from-top.is-from-right { .components-animate__appear.is-from-top.is-from-right {
@ -49,6 +55,9 @@
.components-animate__slide-in { .components-animate__slide-in {
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1); animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-animate__slide-in {
animation-duration: 1ms !important; } }
.components-animate__slide-in.is-from-left { .components-animate__slide-in.is-from-left {
transform: translateX(100%); } transform: translateX(100%); }
@ -2443,6 +2452,9 @@ body.is-dragging-components-draggable {
z-index: 100000; z-index: 100000;
animation: edit-post__fade-in-animation 0.2s ease-out 0s; animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; } animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.components-modal__screen-overlay {
animation-duration: 1ms !important; } }
.components-modal__frame { .components-modal__frame {
position: absolute; position: absolute;
@ -2468,6 +2480,9 @@ body.is-dragging-components-draggable {
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
animation: components-modal__appear-animation 0.1s ease-out; animation: components-modal__appear-animation 0.1s ease-out;
animation-fill-mode: forwards; } } animation-fill-mode: forwards; } }
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
.components-modal__frame {
animation-duration: 1ms !important; } }
@keyframes components-modal__appear-animation { @keyframes components-modal__appear-animation {
from { from {
@ -2709,7 +2724,8 @@ body.is-dragging-components-draggable {
font-weight: 600; font-weight: 600;
margin-bottom: 1em; } margin-bottom: 1em; }
.components-placeholder__label .dashicon, .components-placeholder__label .dashicon,
.components-placeholder__label .editor-block-icon { .components-placeholder__label .block-editor-block-icon {
fill: currentColor;
margin-right: 1ch; } margin-right: 1ch; }
.components-placeholder__fieldset, .components-placeholder__fieldset,
@ -3082,6 +3098,7 @@ body.lockscroll {
border-radius: 100%; border-radius: 100%;
position: relative; } position: relative; }
.components-spinner::before { .components-spinner::before {
/* rtl:begin:ignore */
content: ""; content: "";
position: absolute; position: absolute;
background-color: #fff; background-color: #fff;
@ -3091,7 +3108,8 @@ body.lockscroll {
height: 4px; height: 4px;
border-radius: 100%; border-radius: 100%;
transform-origin: 6px 6px; transform-origin: 6px 6px;
animation: components-spinner__animation 1s infinite linear; } animation: components-spinner__animation 1s infinite linear;
/* rtl:end:ignore */ }
@keyframes components-spinner__animation { @keyframes components-spinner__animation {
from { from {
@ -3215,12 +3233,12 @@ div.components-toolbar > div + div {
background: #191e23; background: #191e23;
border-width: 0; border-width: 0;
color: #fff; color: #fff;
white-space: nowrap; } white-space: nowrap;
text-align: center; }
.components-tooltip:not(.is-mobile) .components-popover__content { .components-tooltip:not(.is-mobile) .components-popover__content {
min-width: 0; } min-width: 0; }
.components-tooltip__shortcut { .components-tooltip__shortcut {
display: block; display: block;
text-align: center;
color: #7e8993; } color: #7e8993; }

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
@media (min-width: 782px) { @media (min-width: 782px) {
body.js.is-fullscreen-mode { body.js.is-fullscreen-mode {
margin-top: -46px; margin-top: -46px;
@ -45,10 +48,18 @@
display: none; } display: none; }
body.js.is-fullscreen-mode #wpcontent, body.js.is-fullscreen-mode #wpcontent,
body.js.is-fullscreen-mode #wpfooter { body.js.is-fullscreen-mode #wpfooter {
margin-right: 0; } margin-right: 0; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
body.js.is-fullscreen-mode {
animation-duration: 1ms !important; } }
@media (min-width: 782px) {
body.js.is-fullscreen-mode .edit-post-header { body.js.is-fullscreen-mode .edit-post-header {
transform: translateY(-100%); transform: translateY(-100%);
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } } animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
body.js.is-fullscreen-mode .edit-post-header {
animation-duration: 1ms !important; } }
@keyframes edit-post-fullscreen-mode__slide-in-animation { @keyframes edit-post-fullscreen-mode__slide-in-animation {
100% { 100% {
@ -192,11 +203,11 @@ body.is-fullscreen-mode .edit-post-header {
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-header-toolbar > .components-button { .edit-post-header-toolbar > .components-button {
display: inline-flex; } } display: inline-flex; } }
.edit-post-header-toolbar .editor-block-navigation, .edit-post-header-toolbar .block-editor-block-navigation,
.edit-post-header-toolbar .table-of-contents { .edit-post-header-toolbar .table-of-contents {
display: none; } display: none; }
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-header-toolbar .editor-block-navigation, .edit-post-header-toolbar .block-editor-block-navigation,
.edit-post-header-toolbar .table-of-contents { .edit-post-header-toolbar .table-of-contents {
display: flex; } } display: flex; } }
@ -208,7 +219,7 @@ body.is-fullscreen-mode .edit-post-header {
background: #fff; background: #fff;
min-height: 37px; min-height: 37px;
border-bottom: 1px solid #e2e4e7; } border-bottom: 1px solid #e2e4e7; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .components-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
border-top: none; border-top: none;
border-bottom: none; } border-bottom: none; }
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
@ -228,9 +239,9 @@ body.is-fullscreen-mode .edit-post-header {
min-height: auto; } min-height: auto; }
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
left: auto; } left: auto; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar {
margin: -9px 0; } margin: -9px 0; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .components-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
padding: 10px 4px 9px; } } padding: 10px 4px 9px; } }
.edit-post-more-menu { .edit-post-more-menu {
@ -424,7 +435,11 @@ body.is-fullscreen-mode .edit-post-header {
width: 280px; width: 280px;
border-right: 1px solid #e2e4e7; border-right: 1px solid #e2e4e7;
transform: translateX(-100%); transform: translateX(-100%);
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-layout .editor-post-publish-panel {
animation-duration: 1ms !important; } }
@media (min-width: 782px) {
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel { body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
top: 0; } top: 0; }
.is-focusing-regions .edit-post-layout .editor-post-publish-panel { .is-focusing-regions .edit-post-layout .editor-post-publish-panel {
@ -489,6 +504,92 @@ body.is-fullscreen-mode .edit-post-header {
bottom: 10px; bottom: 10px;
right: auto; } right: auto; }
@media (min-width: 600px) {
.edit-post-manage-blocks-modal {
height: calc(100% - 56px - 56px); } }
.edit-post-manage-blocks-modal .components-modal__content {
padding-bottom: 0;
display: flex;
flex-direction: column; }
.edit-post-manage-blocks-modal .components-modal__header {
flex-shrink: 0;
margin-bottom: 0; }
.edit-post-manage-blocks-modal__content {
display: flex;
flex-direction: column;
flex: 0 1 100%;
min-height: 0; }
.edit-post-manage-blocks-modal__no-results {
font-style: italic;
padding: 24px 0;
text-align: center; }
.edit-post-manage-blocks-modal__search {
margin: 16px 0; }
.edit-post-manage-blocks-modal__search .components-base-control__field {
margin-bottom: 0; }
.edit-post-manage-blocks-modal__search .components-base-control__label {
margin-top: -4px; }
.edit-post-manage-blocks-modal__search input[type="search"].components-text-control__input {
padding: 12px;
border-radius: 4px; }
.edit-post-manage-blocks-modal__category {
margin: 0 0 2rem 0; }
.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
background-color: #fff; }
.edit-post-manage-blocks-modal__category-title .components-base-control__field {
margin-bottom: 0; }
.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label {
font-size: 0.9rem;
font-weight: 600; }
.edit-post-manage-blocks-modal__show-all {
margin-left: 8px; }
.edit-post-manage-blocks-modal__checklist {
margin-top: 0; }
.edit-post-manage-blocks-modal__checklist-item {
margin-bottom: 0;
padding-right: 16px;
border-top: 1px solid #e2e4e7; }
.edit-post-manage-blocks-modal__checklist-item:last-child {
border-bottom: 1px solid #e2e4e7; }
.edit-post-manage-blocks-modal__checklist-item .components-base-control__field {
align-items: center;
display: flex;
margin: 0; }
.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type="checkbox"] {
margin: 0 8px; }
.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label {
display: flex;
align-items: center;
justify-content: space-between;
flex-grow: 1;
padding: 0.6rem 10px 0.6rem 0; }
.edit-post-manage-blocks-modal__checklist-item .editor-block-icon {
margin-left: 10px;
fill: #555d66; }
.edit-post-manage-blocks-modal__results {
height: 100%;
overflow: auto;
margin-right: -16px;
margin-left: -16px;
padding-right: 16px;
padding-left: 16px;
border-top: 1px solid #e2e4e7; }
.edit-post-meta-boxes-area { .edit-post-meta-boxes-area {
position: relative; position: relative;
/** /**
@ -628,7 +729,7 @@ body.is-fullscreen-mode .edit-post-header {
margin-bottom: 0; } margin-bottom: 0; }
.edit-post-sidebar p + div.components-toolbar { .edit-post-sidebar p + div.components-toolbar {
margin-top: -1em; } margin-top: -1em; }
.edit-post-sidebar .editor-skip-to-selected-block:focus { .edit-post-sidebar .block-editor-skip-to-selected-block:focus {
top: auto; top: auto;
left: 10px; left: 10px;
bottom: 10px; bottom: 10px;
@ -957,33 +1058,29 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-visual-editor .components-button { .edit-post-visual-editor .components-button {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.edit-post-visual-editor .editor-writing-flow__click-redirect { .edit-post-visual-editor .block-editor-writing-flow__click-redirect {
height: 50px; height: 50px;
width: 100%; width: 100%;
margin: -4px auto -50px; } margin: -4px auto -50px; }
.edit-post-visual-editor .editor-block-list__block { .edit-post-visual-editor .block-editor-block-list__block {
margin-right: auto; margin-right: auto;
margin-left: auto; } margin-left: auto; }
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit { .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit {
margin-right: -28px; margin-right: -28px;
margin-left: -28px; } margin-left: -28px; }
.edit-post-visual-editor .editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
width: calc(100% + 30px);
height: 0; height: 0;
text-align: center;
float: right; }
.edit-post-visual-editor .editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar .editor-block-toolbar,
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar .editor-block-toolbar {
max-width: 610px;
width: 100%;
position: relative; }
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
width: 100%; width: 100%;
margin-right: 0; margin-right: 0;
margin-left: 0; } } margin-left: 0;
text-align: center;
float: right; }
.edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
max-width: 610px;
width: 100%;
position: relative; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-post-title { .editor-post-title {
@ -1002,19 +1099,19 @@ body.is-fullscreen-mode .edit-post-header {
margin-right: -2px; margin-right: -2px;
margin-left: -2px; } } margin-left: -2px; } }
.edit-post-visual-editor .editor-block-list__layout > .editor-block-list__block[data-align="left"]:first-child, .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child,
.edit-post-visual-editor .editor-block-list__layout > .editor-block-list__block[data-align="right"]:first-child { .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child {
margin-top: 34px; } margin-top: 34px; }
.edit-post-visual-editor .editor-default-block-appender { .edit-post-visual-editor .block-editor-default-block-appender {
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
position: relative; } position: relative; }
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover { .edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
outline: 1px solid transparent; } outline: 1px solid transparent; }
.edit-post-visual-editor .editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p, .edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
.edit-post-visual-editor .editor-default-block-appender__content { .edit-post-visual-editor .block-editor-default-block-appender__content {
min-height: 28px; min-height: 28px;
line-height: 1.8; } line-height: 1.8; }
@ -1033,6 +1130,8 @@ body.is-fullscreen-mode .edit-post-header {
align-items: center; align-items: center;
display: flex; display: flex;
margin: 0; } margin: 0; }
.edit-post-options-modal__option.components-base-control + .edit-post-options-modal__option.components-base-control {
margin-bottom: 0; }
.edit-post-options-modal__option .components-checkbox-control__label { .edit-post-options-modal__option .components-checkbox-control__label {
flex-grow: 1; flex-grow: 1;
padding: 0.6rem 10px 0.6rem 0; } padding: 0.6rem 10px 0.6rem 0; }
@ -1176,25 +1275,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-post-publish-panel textarea, .editor-post-publish-panel textarea,
.editor-block-list__block .input-control, .block-editor-block-list__block .input-control,
.editor-block-list__block input[type="text"], .block-editor-block-list__block input[type="text"],
.editor-block-list__block input[type="search"], .block-editor-block-list__block input[type="search"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.editor-block-list__block input[type="tel"], .block-editor-block-list__block input[type="tel"],
.editor-block-list__block input[type="time"], .block-editor-block-list__block input[type="time"],
.editor-block-list__block input[type="url"], .block-editor-block-list__block input[type="url"],
.editor-block-list__block input[type="week"], .block-editor-block-list__block input[type="week"],
.editor-block-list__block input[type="password"], .block-editor-block-list__block input[type="password"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="color"], .block-editor-block-list__block input[type="color"],
.editor-block-list__block input[type="date"], .block-editor-block-list__block input[type="date"],
.editor-block-list__block input[type="datetime"], .block-editor-block-list__block input[type="datetime"],
.editor-block-list__block input[type="datetime-local"], .block-editor-block-list__block input[type="datetime-local"],
.editor-block-list__block input[type="email"], .block-editor-block-list__block input[type="email"],
.editor-block-list__block input[type="month"], .block-editor-block-list__block input[type="month"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.editor-block-list__block select, .block-editor-block-list__block select,
.editor-block-list__block textarea, .block-editor-block-list__block textarea,
.components-popover .input-control, .components-popover .input-control,
.components-popover input[type="text"], .components-popover input[type="text"],
.components-popover input[type="search"], .components-popover input[type="search"],
@ -1299,25 +1398,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-post-publish-panel textarea, .editor-post-publish-panel textarea,
.editor-block-list__block .input-control, .block-editor-block-list__block .input-control,
.editor-block-list__block input[type="text"], .block-editor-block-list__block input[type="text"],
.editor-block-list__block input[type="search"], .block-editor-block-list__block input[type="search"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.editor-block-list__block input[type="tel"], .block-editor-block-list__block input[type="tel"],
.editor-block-list__block input[type="time"], .block-editor-block-list__block input[type="time"],
.editor-block-list__block input[type="url"], .block-editor-block-list__block input[type="url"],
.editor-block-list__block input[type="week"], .block-editor-block-list__block input[type="week"],
.editor-block-list__block input[type="password"], .block-editor-block-list__block input[type="password"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="color"], .block-editor-block-list__block input[type="color"],
.editor-block-list__block input[type="date"], .block-editor-block-list__block input[type="date"],
.editor-block-list__block input[type="datetime"], .block-editor-block-list__block input[type="datetime"],
.editor-block-list__block input[type="datetime-local"], .block-editor-block-list__block input[type="datetime-local"],
.editor-block-list__block input[type="email"], .block-editor-block-list__block input[type="email"],
.editor-block-list__block input[type="month"], .block-editor-block-list__block input[type="month"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.editor-block-list__block select, .block-editor-block-list__block select,
.editor-block-list__block textarea, .block-editor-block-list__block textarea,
.components-popover .input-control, .components-popover .input-control,
.components-popover input[type="text"], .components-popover input[type="text"],
.components-popover input[type="search"], .components-popover input[type="search"],
@ -1414,25 +1513,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"]:focus, .editor-post-publish-panel input[type="number"]:focus,
.editor-post-publish-panel select:focus, .editor-post-publish-panel select:focus,
.editor-post-publish-panel textarea:focus, .editor-post-publish-panel textarea:focus,
.editor-block-list__block .input-control:focus, .block-editor-block-list__block .input-control:focus,
.editor-block-list__block input[type="text"]:focus, .block-editor-block-list__block input[type="text"]:focus,
.editor-block-list__block input[type="search"]:focus, .block-editor-block-list__block input[type="search"]:focus,
.editor-block-list__block input[type="radio"]:focus, .block-editor-block-list__block input[type="radio"]:focus,
.editor-block-list__block input[type="tel"]:focus, .block-editor-block-list__block input[type="tel"]:focus,
.editor-block-list__block input[type="time"]:focus, .block-editor-block-list__block input[type="time"]:focus,
.editor-block-list__block input[type="url"]:focus, .block-editor-block-list__block input[type="url"]:focus,
.editor-block-list__block input[type="week"]:focus, .block-editor-block-list__block input[type="week"]:focus,
.editor-block-list__block input[type="password"]:focus, .block-editor-block-list__block input[type="password"]:focus,
.editor-block-list__block input[type="checkbox"]:focus, .block-editor-block-list__block input[type="checkbox"]:focus,
.editor-block-list__block input[type="color"]:focus, .block-editor-block-list__block input[type="color"]:focus,
.editor-block-list__block input[type="date"]:focus, .block-editor-block-list__block input[type="date"]:focus,
.editor-block-list__block input[type="datetime"]:focus, .block-editor-block-list__block input[type="datetime"]:focus,
.editor-block-list__block input[type="datetime-local"]:focus, .block-editor-block-list__block input[type="datetime-local"]:focus,
.editor-block-list__block input[type="email"]:focus, .block-editor-block-list__block input[type="email"]:focus,
.editor-block-list__block input[type="month"]:focus, .block-editor-block-list__block input[type="month"]:focus,
.editor-block-list__block input[type="number"]:focus, .block-editor-block-list__block input[type="number"]:focus,
.editor-block-list__block select:focus, .block-editor-block-list__block select:focus,
.editor-block-list__block textarea:focus, .block-editor-block-list__block textarea:focus,
.components-popover .input-control:focus, .components-popover .input-control:focus,
.components-popover input[type="text"]:focus, .components-popover input[type="text"]:focus,
.components-popover input[type="search"]:focus, .components-popover input[type="search"]:focus,
@ -1480,7 +1579,7 @@ body.block-editor-page {
.editor-post-permalink input[type="number"], .editor-post-permalink input[type="number"],
.edit-post-sidebar input[type="number"], .edit-post-sidebar input[type="number"],
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.components-popover input[type="number"], .components-popover input[type="number"],
.components-modal__content input[type="number"] { .components-modal__content input[type="number"] {
padding-right: 4px; padding-right: 4px;
@ -1489,14 +1588,14 @@ body.block-editor-page {
.editor-post-permalink select, .editor-post-permalink select,
.edit-post-sidebar select, .edit-post-sidebar select,
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-block-list__block select, .block-editor-block-list__block select,
.components-popover select, .components-popover select,
.components-modal__content select { .components-modal__content select {
padding: 2px; } padding: 2px; }
.editor-post-permalink select:focus, .editor-post-permalink select:focus,
.edit-post-sidebar select:focus, .edit-post-sidebar select:focus,
.editor-post-publish-panel select:focus, .editor-post-publish-panel select:focus,
.editor-block-list__block select:focus, .block-editor-block-list__block select:focus,
.components-popover select:focus, .components-popover select:focus,
.components-modal__content select:focus { .components-modal__content select:focus {
border-color: #008dbe; border-color: #008dbe;
@ -1509,8 +1608,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"], .edit-post-sidebar input[type="radio"],
.editor-post-publish-panel input[type="checkbox"], .editor-post-publish-panel input[type="checkbox"],
.editor-post-publish-panel input[type="radio"], .editor-post-publish-panel input[type="radio"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.components-popover input[type="checkbox"], .components-popover input[type="checkbox"],
.components-popover input[type="radio"], .components-popover input[type="radio"],
.components-modal__content input[type="checkbox"], .components-modal__content input[type="checkbox"],
@ -1524,8 +1623,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:focus, .edit-post-sidebar input[type="radio"]:focus,
.editor-post-publish-panel input[type="checkbox"]:focus, .editor-post-publish-panel input[type="checkbox"]:focus,
.editor-post-publish-panel input[type="radio"]:focus, .editor-post-publish-panel input[type="radio"]:focus,
.editor-block-list__block input[type="checkbox"]:focus, .block-editor-block-list__block input[type="checkbox"]:focus,
.editor-block-list__block input[type="radio"]:focus, .block-editor-block-list__block input[type="radio"]:focus,
.components-popover input[type="checkbox"]:focus, .components-popover input[type="checkbox"]:focus,
.components-popover input[type="radio"]:focus, .components-popover input[type="radio"]:focus,
.components-modal__content input[type="checkbox"]:focus, .components-modal__content input[type="checkbox"]:focus,
@ -1538,33 +1637,33 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:checked, .edit-post-sidebar input[type="radio"]:checked,
.editor-post-publish-panel input[type="checkbox"]:checked, .editor-post-publish-panel input[type="checkbox"]:checked,
.editor-post-publish-panel input[type="radio"]:checked, .editor-post-publish-panel input[type="radio"]:checked,
.editor-block-list__block input[type="checkbox"]:checked, .block-editor-block-list__block input[type="checkbox"]:checked,
.editor-block-list__block input[type="radio"]:checked, .block-editor-block-list__block input[type="radio"]:checked,
.components-popover input[type="checkbox"]:checked, .components-popover input[type="checkbox"]:checked,
.components-popover input[type="radio"]:checked, .components-popover input[type="radio"]:checked,
.components-modal__content input[type="checkbox"]:checked, .components-modal__content input[type="checkbox"]:checked,
.components-modal__content input[type="radio"]:checked { .components-modal__content input[type="radio"]:checked {
background: #11a0d2; background: #11a0d2;
border-color: #11a0d2; } border-color: #11a0d2; }
body.admin-color-sunrise .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-permalink input[type="radio"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="radio"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-sunrise .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-sunrise .editor-block-list__block input[type="radio"]:checked, body.admin-color-sunrise .components-popover input[type="checkbox"]:checked, body.admin-color-sunrise .components-popover input[type="radio"]:checked, body.admin-color-sunrise .components-modal__content input[type="checkbox"]:checked, body.admin-color-sunrise .components-modal__content input[type="radio"]:checked { body.admin-color-sunrise .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-permalink input[type="radio"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="radio"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-sunrise .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-sunrise .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-sunrise .components-popover input[type="checkbox"]:checked, body.admin-color-sunrise .components-popover input[type="radio"]:checked, body.admin-color-sunrise .components-modal__content input[type="checkbox"]:checked, body.admin-color-sunrise .components-modal__content input[type="radio"]:checked {
background: #c8b03c; background: #c8b03c;
border-color: #c8b03c; } border-color: #c8b03c; }
body.admin-color-ocean .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-permalink input[type="radio"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ocean .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ocean .editor-block-list__block input[type="radio"]:checked, body.admin-color-ocean .components-popover input[type="checkbox"]:checked, body.admin-color-ocean .components-popover input[type="radio"]:checked, body.admin-color-ocean .components-modal__content input[type="checkbox"]:checked, body.admin-color-ocean .components-modal__content input[type="radio"]:checked { body.admin-color-ocean .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-permalink input[type="radio"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ocean .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ocean .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-ocean .components-popover input[type="checkbox"]:checked, body.admin-color-ocean .components-popover input[type="radio"]:checked, body.admin-color-ocean .components-modal__content input[type="checkbox"]:checked, body.admin-color-ocean .components-modal__content input[type="radio"]:checked {
background: #a3b9a2; background: #a3b9a2;
border-color: #a3b9a2; } border-color: #a3b9a2; }
body.admin-color-midnight .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-permalink input[type="radio"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="radio"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-midnight .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-midnight .editor-block-list__block input[type="radio"]:checked, body.admin-color-midnight .components-popover input[type="checkbox"]:checked, body.admin-color-midnight .components-popover input[type="radio"]:checked, body.admin-color-midnight .components-modal__content input[type="checkbox"]:checked, body.admin-color-midnight .components-modal__content input[type="radio"]:checked { body.admin-color-midnight .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-permalink input[type="radio"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="radio"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-midnight .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-midnight .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-midnight .components-popover input[type="checkbox"]:checked, body.admin-color-midnight .components-popover input[type="radio"]:checked, body.admin-color-midnight .components-modal__content input[type="checkbox"]:checked, body.admin-color-midnight .components-modal__content input[type="radio"]:checked {
background: #77a6b9; background: #77a6b9;
border-color: #77a6b9; } border-color: #77a6b9; }
body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-permalink input[type="radio"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ectoplasm .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-block-list__block input[type="radio"]:checked, body.admin-color-ectoplasm .components-popover input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-popover input[type="radio"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="radio"]:checked { body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-permalink input[type="radio"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ectoplasm .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ectoplasm .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-ectoplasm .components-popover input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-popover input[type="radio"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="radio"]:checked {
background: #a7b656; background: #a7b656;
border-color: #a7b656; } border-color: #a7b656; }
body.admin-color-coffee .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-permalink input[type="radio"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="radio"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-coffee .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-coffee .editor-block-list__block input[type="radio"]:checked, body.admin-color-coffee .components-popover input[type="checkbox"]:checked, body.admin-color-coffee .components-popover input[type="radio"]:checked, body.admin-color-coffee .components-modal__content input[type="checkbox"]:checked, body.admin-color-coffee .components-modal__content input[type="radio"]:checked { body.admin-color-coffee .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-permalink input[type="radio"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="radio"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-coffee .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-coffee .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-coffee .components-popover input[type="checkbox"]:checked, body.admin-color-coffee .components-popover input[type="radio"]:checked, body.admin-color-coffee .components-modal__content input[type="checkbox"]:checked, body.admin-color-coffee .components-modal__content input[type="radio"]:checked {
background: #c2a68c; background: #c2a68c;
border-color: #c2a68c; } border-color: #c2a68c; }
body.admin-color-blue .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-blue .editor-post-permalink input[type="radio"]:checked, body.admin-color-blue .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-blue .edit-post-sidebar input[type="radio"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-blue .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-blue .editor-block-list__block input[type="radio"]:checked, body.admin-color-blue .components-popover input[type="checkbox"]:checked, body.admin-color-blue .components-popover input[type="radio"]:checked, body.admin-color-blue .components-modal__content input[type="checkbox"]:checked, body.admin-color-blue .components-modal__content input[type="radio"]:checked { body.admin-color-blue .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-blue .editor-post-permalink input[type="radio"]:checked, body.admin-color-blue .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-blue .edit-post-sidebar input[type="radio"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-blue .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-blue .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-blue .components-popover input[type="checkbox"]:checked, body.admin-color-blue .components-popover input[type="radio"]:checked, body.admin-color-blue .components-modal__content input[type="checkbox"]:checked, body.admin-color-blue .components-modal__content input[type="radio"]:checked {
background: #82b4cb; background: #82b4cb;
border-color: #82b4cb; } border-color: #82b4cb; }
body.admin-color-light .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-light .editor-post-permalink input[type="radio"]:checked, body.admin-color-light .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-light .edit-post-sidebar input[type="radio"]:checked, body.admin-color-light .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-light .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-light .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-light .editor-block-list__block input[type="radio"]:checked, body.admin-color-light .components-popover input[type="checkbox"]:checked, body.admin-color-light .components-popover input[type="radio"]:checked, body.admin-color-light .components-modal__content input[type="checkbox"]:checked, body.admin-color-light .components-modal__content input[type="radio"]:checked { body.admin-color-light .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-light .editor-post-permalink input[type="radio"]:checked, body.admin-color-light .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-light .edit-post-sidebar input[type="radio"]:checked, body.admin-color-light .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-light .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-light .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-light .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-light .components-popover input[type="checkbox"]:checked, body.admin-color-light .components-popover input[type="radio"]:checked, body.admin-color-light .components-modal__content input[type="checkbox"]:checked, body.admin-color-light .components-modal__content input[type="radio"]:checked {
background: #11a0d2; background: #11a0d2;
border-color: #11a0d2; } border-color: #11a0d2; }
.editor-post-permalink input[type="checkbox"]:checked:focus, .editor-post-permalink input[type="checkbox"]:checked:focus,
@ -1573,8 +1672,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:checked:focus, .edit-post-sidebar input[type="radio"]:checked:focus,
.editor-post-publish-panel input[type="checkbox"]:checked:focus, .editor-post-publish-panel input[type="checkbox"]:checked:focus,
.editor-post-publish-panel input[type="radio"]:checked:focus, .editor-post-publish-panel input[type="radio"]:checked:focus,
.editor-block-list__block input[type="checkbox"]:checked:focus, .block-editor-block-list__block input[type="checkbox"]:checked:focus,
.editor-block-list__block input[type="radio"]:checked:focus, .block-editor-block-list__block input[type="radio"]:checked:focus,
.components-popover input[type="checkbox"]:checked:focus, .components-popover input[type="checkbox"]:checked:focus,
.components-popover input[type="radio"]:checked:focus, .components-popover input[type="radio"]:checked:focus,
.components-modal__content input[type="checkbox"]:checked:focus, .components-modal__content input[type="checkbox"]:checked:focus,
@ -1584,30 +1683,110 @@ body.block-editor-page {
.editor-post-permalink input[type="checkbox"], .editor-post-permalink input[type="checkbox"],
.edit-post-sidebar input[type="checkbox"], .edit-post-sidebar input[type="checkbox"],
.editor-post-publish-panel input[type="checkbox"], .editor-post-publish-panel input[type="checkbox"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.components-popover input[type="checkbox"], .components-popover input[type="checkbox"],
.components-modal__content input[type="checkbox"] { .components-modal__content input[type="checkbox"] {
border-radius: 2px; } border-radius: 2px; }
.editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"]:checked::before, .edit-post-sidebar input[type="checkbox"]:checked::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"]:checked::before, .editor-post-publish-panel input[type="checkbox"]:checked::before,
.editor-block-list__block input[type="checkbox"]:checked::before, .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"]:checked::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"]:checked::before, .components-popover input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"]:checked::before { .components-popover input[type="checkbox"][aria-checked="mixed"]::before,
margin: -4px -5px 0 0; .components-modal__content input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
margin: -3px -5px;
color: #fff; } color: #fff; }
@media (min-width: 782px) {
.editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"]:checked::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"]:checked::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"]:checked::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"]:checked::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
margin: -4px -5px 0 0; } }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"],
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"],
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"],
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"],
.components-popover input[type="checkbox"][aria-checked="mixed"],
.components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #11a0d2;
border-color: #11a0d2; }
body.admin-color-sunrise .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #c8b03c;
border-color: #c8b03c; }
body.admin-color-ocean .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #a3b9a2;
border-color: #a3b9a2; }
body.admin-color-midnight .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #77a6b9;
border-color: #77a6b9; }
body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #a7b656;
border-color: #a7b656; }
body.admin-color-coffee .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #c2a68c;
border-color: #c2a68c; }
body.admin-color-blue .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #82b4cb;
border-color: #82b4cb; }
body.admin-color-light .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #11a0d2;
border-color: #11a0d2; }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
content: "\f460";
float: right;
display: inline-block;
vertical-align: middle;
width: 16px;
/* stylelint-disable */
font: normal 30px/1 dashicons;
/* stylelint-enable */
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
@media (min-width: 782px) {
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
float: none;
font-size: 21px; } }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]:focus,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]:focus,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]:focus,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]:focus,
.components-popover input[type="checkbox"][aria-checked="mixed"]:focus,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]:focus {
box-shadow: 0 0 0 2px #555d66; }
.editor-post-permalink input[type="radio"], .editor-post-permalink input[type="radio"],
.edit-post-sidebar input[type="radio"], .edit-post-sidebar input[type="radio"],
.editor-post-publish-panel input[type="radio"], .editor-post-publish-panel input[type="radio"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.components-popover input[type="radio"], .components-popover input[type="radio"],
.components-modal__content input[type="radio"] { .components-modal__content input[type="radio"] {
border-radius: 50%; } border-radius: 50%; }
.editor-post-permalink input[type="radio"]:checked::before, .editor-post-permalink input[type="radio"]:checked::before,
.edit-post-sidebar input[type="radio"]:checked::before, .edit-post-sidebar input[type="radio"]:checked::before,
.editor-post-publish-panel input[type="radio"]:checked::before, .editor-post-publish-panel input[type="radio"]:checked::before,
.editor-block-list__block input[type="radio"]:checked::before, .block-editor-block-list__block input[type="radio"]:checked::before,
.components-popover input[type="radio"]:checked::before, .components-popover input[type="radio"]:checked::before,
.components-modal__content input[type="radio"]:checked::before { .components-modal__content input[type="radio"]:checked::before {
margin: 3px 3px 0 0; margin: 3px 3px 0 0;
@ -1615,40 +1794,40 @@ body.block-editor-page {
.editor-post-title input::-webkit-input-placeholder, .editor-post-title input::-webkit-input-placeholder,
.editor-post-title textarea::-webkit-input-placeholder, .editor-post-title textarea::-webkit-input-placeholder,
.editor-block-list__block input::-webkit-input-placeholder, .block-editor-block-list__block input::-webkit-input-placeholder,
.editor-block-list__block textarea::-webkit-input-placeholder { .block-editor-block-list__block textarea::-webkit-input-placeholder {
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.editor-post-title input::-moz-placeholder, .editor-post-title input::-moz-placeholder,
.editor-post-title textarea::-moz-placeholder, .editor-post-title textarea::-moz-placeholder,
.editor-block-list__block input::-moz-placeholder, .block-editor-block-list__block input::-moz-placeholder,
.editor-block-list__block textarea::-moz-placeholder { .block-editor-block-list__block textarea::-moz-placeholder {
opacity: 1; opacity: 1;
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.editor-post-title input:-ms-input-placeholder, .editor-post-title input:-ms-input-placeholder,
.editor-post-title textarea:-ms-input-placeholder, .editor-post-title textarea:-ms-input-placeholder,
.editor-block-list__block input:-ms-input-placeholder, .block-editor-block-list__block input:-ms-input-placeholder,
.editor-block-list__block textarea:-ms-input-placeholder { .block-editor-block-list__block textarea:-ms-input-placeholder {
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.is-dark-theme .editor-post-title input::-webkit-input-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input::-webkit-input-placeholder, .is-dark-theme
.editor-post-title textarea::-webkit-input-placeholder, .is-dark-theme .editor-post-title textarea::-webkit-input-placeholder, .is-dark-theme
.editor-block-list__block input::-webkit-input-placeholder, .is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder, .is-dark-theme
.editor-block-list__block textarea::-webkit-input-placeholder { .block-editor-block-list__block textarea::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .editor-post-title input::-moz-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input::-moz-placeholder, .is-dark-theme
.editor-post-title textarea::-moz-placeholder, .is-dark-theme .editor-post-title textarea::-moz-placeholder, .is-dark-theme
.editor-block-list__block input::-moz-placeholder, .is-dark-theme .block-editor-block-list__block input::-moz-placeholder, .is-dark-theme
.editor-block-list__block textarea::-moz-placeholder { .block-editor-block-list__block textarea::-moz-placeholder {
opacity: 1; opacity: 1;
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .editor-post-title input:-ms-input-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input:-ms-input-placeholder, .is-dark-theme
.editor-post-title textarea:-ms-input-placeholder, .is-dark-theme .editor-post-title textarea:-ms-input-placeholder, .is-dark-theme
.editor-block-list__block input:-ms-input-placeholder, .is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder, .is-dark-theme
.editor-block-list__block textarea:-ms-input-placeholder { .block-editor-block-list__block textarea:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.wp-block { .wp-block {

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
@media (min-width: 782px) { @media (min-width: 782px) {
body.js.is-fullscreen-mode { body.js.is-fullscreen-mode {
margin-top: -46px; margin-top: -46px;
@ -45,10 +48,18 @@
display: none; } display: none; }
body.js.is-fullscreen-mode #wpcontent, body.js.is-fullscreen-mode #wpcontent,
body.js.is-fullscreen-mode #wpfooter { body.js.is-fullscreen-mode #wpfooter {
margin-left: 0; } margin-left: 0; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
body.js.is-fullscreen-mode {
animation-duration: 1ms !important; } }
@media (min-width: 782px) {
body.js.is-fullscreen-mode .edit-post-header { body.js.is-fullscreen-mode .edit-post-header {
transform: translateY(-100%); transform: translateY(-100%);
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } } animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
body.js.is-fullscreen-mode .edit-post-header {
animation-duration: 1ms !important; } }
@keyframes edit-post-fullscreen-mode__slide-in-animation { @keyframes edit-post-fullscreen-mode__slide-in-animation {
100% { 100% {
@ -192,11 +203,11 @@ body.is-fullscreen-mode .edit-post-header {
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-header-toolbar > .components-button { .edit-post-header-toolbar > .components-button {
display: inline-flex; } } display: inline-flex; } }
.edit-post-header-toolbar .editor-block-navigation, .edit-post-header-toolbar .block-editor-block-navigation,
.edit-post-header-toolbar .table-of-contents { .edit-post-header-toolbar .table-of-contents {
display: none; } display: none; }
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-header-toolbar .editor-block-navigation, .edit-post-header-toolbar .block-editor-block-navigation,
.edit-post-header-toolbar .table-of-contents { .edit-post-header-toolbar .table-of-contents {
display: flex; } } display: flex; } }
@ -208,7 +219,7 @@ body.is-fullscreen-mode .edit-post-header {
background: #fff; background: #fff;
min-height: 37px; min-height: 37px;
border-bottom: 1px solid #e2e4e7; } border-bottom: 1px solid #e2e4e7; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .components-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
border-top: none; border-top: none;
border-bottom: none; } border-bottom: none; }
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
@ -228,9 +239,9 @@ body.is-fullscreen-mode .edit-post-header {
min-height: auto; } min-height: auto; }
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
right: auto; } right: auto; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar {
margin: -9px 0; } margin: -9px 0; }
.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .components-toolbar { .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
padding: 10px 4px 9px; } } padding: 10px 4px 9px; } }
.edit-post-more-menu { .edit-post-more-menu {
@ -424,7 +435,11 @@ body.is-fullscreen-mode .edit-post-header {
width: 280px; width: 280px;
border-left: 1px solid #e2e4e7; border-left: 1px solid #e2e4e7;
transform: translateX(100%); transform: translateX(100%);
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } }
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-layout .editor-post-publish-panel {
animation-duration: 1ms !important; } }
@media (min-width: 782px) {
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel { body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
top: 0; } top: 0; }
.is-focusing-regions .edit-post-layout .editor-post-publish-panel { .is-focusing-regions .edit-post-layout .editor-post-publish-panel {
@ -489,6 +504,92 @@ body.is-fullscreen-mode .edit-post-header {
bottom: 10px; bottom: 10px;
left: auto; } left: auto; }
@media (min-width: 600px) {
.edit-post-manage-blocks-modal {
height: calc(100% - 56px - 56px); } }
.edit-post-manage-blocks-modal .components-modal__content {
padding-bottom: 0;
display: flex;
flex-direction: column; }
.edit-post-manage-blocks-modal .components-modal__header {
flex-shrink: 0;
margin-bottom: 0; }
.edit-post-manage-blocks-modal__content {
display: flex;
flex-direction: column;
flex: 0 1 100%;
min-height: 0; }
.edit-post-manage-blocks-modal__no-results {
font-style: italic;
padding: 24px 0;
text-align: center; }
.edit-post-manage-blocks-modal__search {
margin: 16px 0; }
.edit-post-manage-blocks-modal__search .components-base-control__field {
margin-bottom: 0; }
.edit-post-manage-blocks-modal__search .components-base-control__label {
margin-top: -4px; }
.edit-post-manage-blocks-modal__search input[type="search"].components-text-control__input {
padding: 12px;
border-radius: 4px; }
.edit-post-manage-blocks-modal__category {
margin: 0 0 2rem 0; }
.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
background-color: #fff; }
.edit-post-manage-blocks-modal__category-title .components-base-control__field {
margin-bottom: 0; }
.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label {
font-size: 0.9rem;
font-weight: 600; }
.edit-post-manage-blocks-modal__show-all {
margin-right: 8px; }
.edit-post-manage-blocks-modal__checklist {
margin-top: 0; }
.edit-post-manage-blocks-modal__checklist-item {
margin-bottom: 0;
padding-left: 16px;
border-top: 1px solid #e2e4e7; }
.edit-post-manage-blocks-modal__checklist-item:last-child {
border-bottom: 1px solid #e2e4e7; }
.edit-post-manage-blocks-modal__checklist-item .components-base-control__field {
align-items: center;
display: flex;
margin: 0; }
.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type="checkbox"] {
margin: 0 8px; }
.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label {
display: flex;
align-items: center;
justify-content: space-between;
flex-grow: 1;
padding: 0.6rem 0 0.6rem 10px; }
.edit-post-manage-blocks-modal__checklist-item .editor-block-icon {
margin-right: 10px;
fill: #555d66; }
.edit-post-manage-blocks-modal__results {
height: 100%;
overflow: auto;
margin-left: -16px;
margin-right: -16px;
padding-left: 16px;
padding-right: 16px;
border-top: 1px solid #e2e4e7; }
.edit-post-meta-boxes-area { .edit-post-meta-boxes-area {
position: relative; position: relative;
/** /**
@ -628,7 +729,7 @@ body.is-fullscreen-mode .edit-post-header {
margin-bottom: 0; } margin-bottom: 0; }
.edit-post-sidebar p + div.components-toolbar { .edit-post-sidebar p + div.components-toolbar {
margin-top: -1em; } margin-top: -1em; }
.edit-post-sidebar .editor-skip-to-selected-block:focus { .edit-post-sidebar .block-editor-skip-to-selected-block:focus {
top: auto; top: auto;
right: 10px; right: 10px;
bottom: 10px; bottom: 10px;
@ -957,33 +1058,29 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-visual-editor .components-button { .edit-post-visual-editor .components-button {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.edit-post-visual-editor .editor-writing-flow__click-redirect { .edit-post-visual-editor .block-editor-writing-flow__click-redirect {
height: 50px; height: 50px;
width: 100%; width: 100%;
margin: -4px auto -50px; } margin: -4px auto -50px; }
.edit-post-visual-editor .editor-block-list__block { .edit-post-visual-editor .block-editor-block-list__block {
margin-left: auto; margin-left: auto;
margin-right: auto; } margin-right: auto; }
@media (min-width: 600px) { @media (min-width: 600px) {
.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit { .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit {
margin-left: -28px; margin-left: -28px;
margin-right: -28px; } margin-right: -28px; }
.edit-post-visual-editor .editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
width: calc(100% + 30px);
height: 0; height: 0;
text-align: center;
float: left; }
.edit-post-visual-editor .editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar .editor-block-toolbar,
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar .editor-block-toolbar {
max-width: 610px;
width: 100%;
position: relative; }
.edit-post-visual-editor .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
width: 100%; width: 100%;
margin-left: 0; margin-left: 0;
margin-right: 0; } } margin-right: 0;
text-align: center;
float: left; }
.edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
max-width: 610px;
width: 100%;
position: relative; } }
@media (min-width: 600px) { @media (min-width: 600px) {
.editor-post-title { .editor-post-title {
@ -1002,19 +1099,19 @@ body.is-fullscreen-mode .edit-post-header {
margin-left: -2px; margin-left: -2px;
margin-right: -2px; } } margin-right: -2px; } }
.edit-post-visual-editor .editor-block-list__layout > .editor-block-list__block[data-align="left"]:first-child, .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child,
.edit-post-visual-editor .editor-block-list__layout > .editor-block-list__block[data-align="right"]:first-child { .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child {
margin-top: 34px; } margin-top: 34px; }
.edit-post-visual-editor .editor-default-block-appender { .edit-post-visual-editor .block-editor-default-block-appender {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
position: relative; } position: relative; }
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover { .edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
outline: 1px solid transparent; } outline: 1px solid transparent; }
.edit-post-visual-editor .editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p, .edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
.edit-post-visual-editor .editor-default-block-appender__content { .edit-post-visual-editor .block-editor-default-block-appender__content {
min-height: 28px; min-height: 28px;
line-height: 1.8; } line-height: 1.8; }
@ -1033,6 +1130,8 @@ body.is-fullscreen-mode .edit-post-header {
align-items: center; align-items: center;
display: flex; display: flex;
margin: 0; } margin: 0; }
.edit-post-options-modal__option.components-base-control + .edit-post-options-modal__option.components-base-control {
margin-bottom: 0; }
.edit-post-options-modal__option .components-checkbox-control__label { .edit-post-options-modal__option .components-checkbox-control__label {
flex-grow: 1; flex-grow: 1;
padding: 0.6rem 0 0.6rem 10px; } padding: 0.6rem 0 0.6rem 10px; }
@ -1176,25 +1275,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-post-publish-panel textarea, .editor-post-publish-panel textarea,
.editor-block-list__block .input-control, .block-editor-block-list__block .input-control,
.editor-block-list__block input[type="text"], .block-editor-block-list__block input[type="text"],
.editor-block-list__block input[type="search"], .block-editor-block-list__block input[type="search"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.editor-block-list__block input[type="tel"], .block-editor-block-list__block input[type="tel"],
.editor-block-list__block input[type="time"], .block-editor-block-list__block input[type="time"],
.editor-block-list__block input[type="url"], .block-editor-block-list__block input[type="url"],
.editor-block-list__block input[type="week"], .block-editor-block-list__block input[type="week"],
.editor-block-list__block input[type="password"], .block-editor-block-list__block input[type="password"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="color"], .block-editor-block-list__block input[type="color"],
.editor-block-list__block input[type="date"], .block-editor-block-list__block input[type="date"],
.editor-block-list__block input[type="datetime"], .block-editor-block-list__block input[type="datetime"],
.editor-block-list__block input[type="datetime-local"], .block-editor-block-list__block input[type="datetime-local"],
.editor-block-list__block input[type="email"], .block-editor-block-list__block input[type="email"],
.editor-block-list__block input[type="month"], .block-editor-block-list__block input[type="month"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.editor-block-list__block select, .block-editor-block-list__block select,
.editor-block-list__block textarea, .block-editor-block-list__block textarea,
.components-popover .input-control, .components-popover .input-control,
.components-popover input[type="text"], .components-popover input[type="text"],
.components-popover input[type="search"], .components-popover input[type="search"],
@ -1299,25 +1398,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-post-publish-panel textarea, .editor-post-publish-panel textarea,
.editor-block-list__block .input-control, .block-editor-block-list__block .input-control,
.editor-block-list__block input[type="text"], .block-editor-block-list__block input[type="text"],
.editor-block-list__block input[type="search"], .block-editor-block-list__block input[type="search"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.editor-block-list__block input[type="tel"], .block-editor-block-list__block input[type="tel"],
.editor-block-list__block input[type="time"], .block-editor-block-list__block input[type="time"],
.editor-block-list__block input[type="url"], .block-editor-block-list__block input[type="url"],
.editor-block-list__block input[type="week"], .block-editor-block-list__block input[type="week"],
.editor-block-list__block input[type="password"], .block-editor-block-list__block input[type="password"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="color"], .block-editor-block-list__block input[type="color"],
.editor-block-list__block input[type="date"], .block-editor-block-list__block input[type="date"],
.editor-block-list__block input[type="datetime"], .block-editor-block-list__block input[type="datetime"],
.editor-block-list__block input[type="datetime-local"], .block-editor-block-list__block input[type="datetime-local"],
.editor-block-list__block input[type="email"], .block-editor-block-list__block input[type="email"],
.editor-block-list__block input[type="month"], .block-editor-block-list__block input[type="month"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.editor-block-list__block select, .block-editor-block-list__block select,
.editor-block-list__block textarea, .block-editor-block-list__block textarea,
.components-popover .input-control, .components-popover .input-control,
.components-popover input[type="text"], .components-popover input[type="text"],
.components-popover input[type="search"], .components-popover input[type="search"],
@ -1414,25 +1513,25 @@ body.block-editor-page {
.editor-post-publish-panel input[type="number"]:focus, .editor-post-publish-panel input[type="number"]:focus,
.editor-post-publish-panel select:focus, .editor-post-publish-panel select:focus,
.editor-post-publish-panel textarea:focus, .editor-post-publish-panel textarea:focus,
.editor-block-list__block .input-control:focus, .block-editor-block-list__block .input-control:focus,
.editor-block-list__block input[type="text"]:focus, .block-editor-block-list__block input[type="text"]:focus,
.editor-block-list__block input[type="search"]:focus, .block-editor-block-list__block input[type="search"]:focus,
.editor-block-list__block input[type="radio"]:focus, .block-editor-block-list__block input[type="radio"]:focus,
.editor-block-list__block input[type="tel"]:focus, .block-editor-block-list__block input[type="tel"]:focus,
.editor-block-list__block input[type="time"]:focus, .block-editor-block-list__block input[type="time"]:focus,
.editor-block-list__block input[type="url"]:focus, .block-editor-block-list__block input[type="url"]:focus,
.editor-block-list__block input[type="week"]:focus, .block-editor-block-list__block input[type="week"]:focus,
.editor-block-list__block input[type="password"]:focus, .block-editor-block-list__block input[type="password"]:focus,
.editor-block-list__block input[type="checkbox"]:focus, .block-editor-block-list__block input[type="checkbox"]:focus,
.editor-block-list__block input[type="color"]:focus, .block-editor-block-list__block input[type="color"]:focus,
.editor-block-list__block input[type="date"]:focus, .block-editor-block-list__block input[type="date"]:focus,
.editor-block-list__block input[type="datetime"]:focus, .block-editor-block-list__block input[type="datetime"]:focus,
.editor-block-list__block input[type="datetime-local"]:focus, .block-editor-block-list__block input[type="datetime-local"]:focus,
.editor-block-list__block input[type="email"]:focus, .block-editor-block-list__block input[type="email"]:focus,
.editor-block-list__block input[type="month"]:focus, .block-editor-block-list__block input[type="month"]:focus,
.editor-block-list__block input[type="number"]:focus, .block-editor-block-list__block input[type="number"]:focus,
.editor-block-list__block select:focus, .block-editor-block-list__block select:focus,
.editor-block-list__block textarea:focus, .block-editor-block-list__block textarea:focus,
.components-popover .input-control:focus, .components-popover .input-control:focus,
.components-popover input[type="text"]:focus, .components-popover input[type="text"]:focus,
.components-popover input[type="search"]:focus, .components-popover input[type="search"]:focus,
@ -1480,7 +1579,7 @@ body.block-editor-page {
.editor-post-permalink input[type="number"], .editor-post-permalink input[type="number"],
.edit-post-sidebar input[type="number"], .edit-post-sidebar input[type="number"],
.editor-post-publish-panel input[type="number"], .editor-post-publish-panel input[type="number"],
.editor-block-list__block input[type="number"], .block-editor-block-list__block input[type="number"],
.components-popover input[type="number"], .components-popover input[type="number"],
.components-modal__content input[type="number"] { .components-modal__content input[type="number"] {
padding-left: 4px; padding-left: 4px;
@ -1489,14 +1588,14 @@ body.block-editor-page {
.editor-post-permalink select, .editor-post-permalink select,
.edit-post-sidebar select, .edit-post-sidebar select,
.editor-post-publish-panel select, .editor-post-publish-panel select,
.editor-block-list__block select, .block-editor-block-list__block select,
.components-popover select, .components-popover select,
.components-modal__content select { .components-modal__content select {
padding: 2px; } padding: 2px; }
.editor-post-permalink select:focus, .editor-post-permalink select:focus,
.edit-post-sidebar select:focus, .edit-post-sidebar select:focus,
.editor-post-publish-panel select:focus, .editor-post-publish-panel select:focus,
.editor-block-list__block select:focus, .block-editor-block-list__block select:focus,
.components-popover select:focus, .components-popover select:focus,
.components-modal__content select:focus { .components-modal__content select:focus {
border-color: #008dbe; border-color: #008dbe;
@ -1509,8 +1608,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"], .edit-post-sidebar input[type="radio"],
.editor-post-publish-panel input[type="checkbox"], .editor-post-publish-panel input[type="checkbox"],
.editor-post-publish-panel input[type="radio"], .editor-post-publish-panel input[type="radio"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.components-popover input[type="checkbox"], .components-popover input[type="checkbox"],
.components-popover input[type="radio"], .components-popover input[type="radio"],
.components-modal__content input[type="checkbox"], .components-modal__content input[type="checkbox"],
@ -1524,8 +1623,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:focus, .edit-post-sidebar input[type="radio"]:focus,
.editor-post-publish-panel input[type="checkbox"]:focus, .editor-post-publish-panel input[type="checkbox"]:focus,
.editor-post-publish-panel input[type="radio"]:focus, .editor-post-publish-panel input[type="radio"]:focus,
.editor-block-list__block input[type="checkbox"]:focus, .block-editor-block-list__block input[type="checkbox"]:focus,
.editor-block-list__block input[type="radio"]:focus, .block-editor-block-list__block input[type="radio"]:focus,
.components-popover input[type="checkbox"]:focus, .components-popover input[type="checkbox"]:focus,
.components-popover input[type="radio"]:focus, .components-popover input[type="radio"]:focus,
.components-modal__content input[type="checkbox"]:focus, .components-modal__content input[type="checkbox"]:focus,
@ -1538,33 +1637,33 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:checked, .edit-post-sidebar input[type="radio"]:checked,
.editor-post-publish-panel input[type="checkbox"]:checked, .editor-post-publish-panel input[type="checkbox"]:checked,
.editor-post-publish-panel input[type="radio"]:checked, .editor-post-publish-panel input[type="radio"]:checked,
.editor-block-list__block input[type="checkbox"]:checked, .block-editor-block-list__block input[type="checkbox"]:checked,
.editor-block-list__block input[type="radio"]:checked, .block-editor-block-list__block input[type="radio"]:checked,
.components-popover input[type="checkbox"]:checked, .components-popover input[type="checkbox"]:checked,
.components-popover input[type="radio"]:checked, .components-popover input[type="radio"]:checked,
.components-modal__content input[type="checkbox"]:checked, .components-modal__content input[type="checkbox"]:checked,
.components-modal__content input[type="radio"]:checked { .components-modal__content input[type="radio"]:checked {
background: #11a0d2; background: #11a0d2;
border-color: #11a0d2; } border-color: #11a0d2; }
body.admin-color-sunrise .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-permalink input[type="radio"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="radio"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-sunrise .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-sunrise .editor-block-list__block input[type="radio"]:checked, body.admin-color-sunrise .components-popover input[type="checkbox"]:checked, body.admin-color-sunrise .components-popover input[type="radio"]:checked, body.admin-color-sunrise .components-modal__content input[type="checkbox"]:checked, body.admin-color-sunrise .components-modal__content input[type="radio"]:checked { body.admin-color-sunrise .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-permalink input[type="radio"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-sunrise .edit-post-sidebar input[type="radio"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-sunrise .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-sunrise .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-sunrise .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-sunrise .components-popover input[type="checkbox"]:checked, body.admin-color-sunrise .components-popover input[type="radio"]:checked, body.admin-color-sunrise .components-modal__content input[type="checkbox"]:checked, body.admin-color-sunrise .components-modal__content input[type="radio"]:checked {
background: #c8b03c; background: #c8b03c;
border-color: #c8b03c; } border-color: #c8b03c; }
body.admin-color-ocean .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-permalink input[type="radio"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ocean .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ocean .editor-block-list__block input[type="radio"]:checked, body.admin-color-ocean .components-popover input[type="checkbox"]:checked, body.admin-color-ocean .components-popover input[type="radio"]:checked, body.admin-color-ocean .components-modal__content input[type="checkbox"]:checked, body.admin-color-ocean .components-modal__content input[type="radio"]:checked { body.admin-color-ocean .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-permalink input[type="radio"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ocean .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ocean .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ocean .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ocean .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-ocean .components-popover input[type="checkbox"]:checked, body.admin-color-ocean .components-popover input[type="radio"]:checked, body.admin-color-ocean .components-modal__content input[type="checkbox"]:checked, body.admin-color-ocean .components-modal__content input[type="radio"]:checked {
background: #a3b9a2; background: #a3b9a2;
border-color: #a3b9a2; } border-color: #a3b9a2; }
body.admin-color-midnight .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-permalink input[type="radio"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="radio"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-midnight .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-midnight .editor-block-list__block input[type="radio"]:checked, body.admin-color-midnight .components-popover input[type="checkbox"]:checked, body.admin-color-midnight .components-popover input[type="radio"]:checked, body.admin-color-midnight .components-modal__content input[type="checkbox"]:checked, body.admin-color-midnight .components-modal__content input[type="radio"]:checked { body.admin-color-midnight .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-permalink input[type="radio"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-midnight .edit-post-sidebar input[type="radio"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-midnight .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-midnight .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-midnight .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-midnight .components-popover input[type="checkbox"]:checked, body.admin-color-midnight .components-popover input[type="radio"]:checked, body.admin-color-midnight .components-modal__content input[type="checkbox"]:checked, body.admin-color-midnight .components-modal__content input[type="radio"]:checked {
background: #77a6b9; background: #77a6b9;
border-color: #77a6b9; } border-color: #77a6b9; }
body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-permalink input[type="radio"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ectoplasm .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-block-list__block input[type="radio"]:checked, body.admin-color-ectoplasm .components-popover input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-popover input[type="radio"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="radio"]:checked { body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-permalink input[type="radio"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-ectoplasm .edit-post-sidebar input[type="radio"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-ectoplasm .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-ectoplasm .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-ectoplasm .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-ectoplasm .components-popover input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-popover input[type="radio"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="checkbox"]:checked, body.admin-color-ectoplasm .components-modal__content input[type="radio"]:checked {
background: #a7b656; background: #a7b656;
border-color: #a7b656; } border-color: #a7b656; }
body.admin-color-coffee .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-permalink input[type="radio"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="radio"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-coffee .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-coffee .editor-block-list__block input[type="radio"]:checked, body.admin-color-coffee .components-popover input[type="checkbox"]:checked, body.admin-color-coffee .components-popover input[type="radio"]:checked, body.admin-color-coffee .components-modal__content input[type="checkbox"]:checked, body.admin-color-coffee .components-modal__content input[type="radio"]:checked { body.admin-color-coffee .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-permalink input[type="radio"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-coffee .edit-post-sidebar input[type="radio"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-coffee .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-coffee .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-coffee .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-coffee .components-popover input[type="checkbox"]:checked, body.admin-color-coffee .components-popover input[type="radio"]:checked, body.admin-color-coffee .components-modal__content input[type="checkbox"]:checked, body.admin-color-coffee .components-modal__content input[type="radio"]:checked {
background: #c2a68c; background: #c2a68c;
border-color: #c2a68c; } border-color: #c2a68c; }
body.admin-color-blue .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-blue .editor-post-permalink input[type="radio"]:checked, body.admin-color-blue .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-blue .edit-post-sidebar input[type="radio"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-blue .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-blue .editor-block-list__block input[type="radio"]:checked, body.admin-color-blue .components-popover input[type="checkbox"]:checked, body.admin-color-blue .components-popover input[type="radio"]:checked, body.admin-color-blue .components-modal__content input[type="checkbox"]:checked, body.admin-color-blue .components-modal__content input[type="radio"]:checked { body.admin-color-blue .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-blue .editor-post-permalink input[type="radio"]:checked, body.admin-color-blue .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-blue .edit-post-sidebar input[type="radio"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-blue .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-blue .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-blue .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-blue .components-popover input[type="checkbox"]:checked, body.admin-color-blue .components-popover input[type="radio"]:checked, body.admin-color-blue .components-modal__content input[type="checkbox"]:checked, body.admin-color-blue .components-modal__content input[type="radio"]:checked {
background: #82b4cb; background: #82b4cb;
border-color: #82b4cb; } border-color: #82b4cb; }
body.admin-color-light .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-light .editor-post-permalink input[type="radio"]:checked, body.admin-color-light .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-light .edit-post-sidebar input[type="radio"]:checked, body.admin-color-light .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-light .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-light .editor-block-list__block input[type="checkbox"]:checked, body.admin-color-light .editor-block-list__block input[type="radio"]:checked, body.admin-color-light .components-popover input[type="checkbox"]:checked, body.admin-color-light .components-popover input[type="radio"]:checked, body.admin-color-light .components-modal__content input[type="checkbox"]:checked, body.admin-color-light .components-modal__content input[type="radio"]:checked { body.admin-color-light .editor-post-permalink input[type="checkbox"]:checked, body.admin-color-light .editor-post-permalink input[type="radio"]:checked, body.admin-color-light .edit-post-sidebar input[type="checkbox"]:checked, body.admin-color-light .edit-post-sidebar input[type="radio"]:checked, body.admin-color-light .editor-post-publish-panel input[type="checkbox"]:checked, body.admin-color-light .editor-post-publish-panel input[type="radio"]:checked, body.admin-color-light .block-editor-block-list__block input[type="checkbox"]:checked, body.admin-color-light .block-editor-block-list__block input[type="radio"]:checked, body.admin-color-light .components-popover input[type="checkbox"]:checked, body.admin-color-light .components-popover input[type="radio"]:checked, body.admin-color-light .components-modal__content input[type="checkbox"]:checked, body.admin-color-light .components-modal__content input[type="radio"]:checked {
background: #11a0d2; background: #11a0d2;
border-color: #11a0d2; } border-color: #11a0d2; }
.editor-post-permalink input[type="checkbox"]:checked:focus, .editor-post-permalink input[type="checkbox"]:checked:focus,
@ -1573,8 +1672,8 @@ body.block-editor-page {
.edit-post-sidebar input[type="radio"]:checked:focus, .edit-post-sidebar input[type="radio"]:checked:focus,
.editor-post-publish-panel input[type="checkbox"]:checked:focus, .editor-post-publish-panel input[type="checkbox"]:checked:focus,
.editor-post-publish-panel input[type="radio"]:checked:focus, .editor-post-publish-panel input[type="radio"]:checked:focus,
.editor-block-list__block input[type="checkbox"]:checked:focus, .block-editor-block-list__block input[type="checkbox"]:checked:focus,
.editor-block-list__block input[type="radio"]:checked:focus, .block-editor-block-list__block input[type="radio"]:checked:focus,
.components-popover input[type="checkbox"]:checked:focus, .components-popover input[type="checkbox"]:checked:focus,
.components-popover input[type="radio"]:checked:focus, .components-popover input[type="radio"]:checked:focus,
.components-modal__content input[type="checkbox"]:checked:focus, .components-modal__content input[type="checkbox"]:checked:focus,
@ -1584,30 +1683,110 @@ body.block-editor-page {
.editor-post-permalink input[type="checkbox"], .editor-post-permalink input[type="checkbox"],
.edit-post-sidebar input[type="checkbox"], .edit-post-sidebar input[type="checkbox"],
.editor-post-publish-panel input[type="checkbox"], .editor-post-publish-panel input[type="checkbox"],
.editor-block-list__block input[type="checkbox"], .block-editor-block-list__block input[type="checkbox"],
.components-popover input[type="checkbox"], .components-popover input[type="checkbox"],
.components-modal__content input[type="checkbox"] { .components-modal__content input[type="checkbox"] {
border-radius: 2px; } border-radius: 2px; }
.editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"]:checked::before, .edit-post-sidebar input[type="checkbox"]:checked::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"]:checked::before, .editor-post-publish-panel input[type="checkbox"]:checked::before,
.editor-block-list__block input[type="checkbox"]:checked::before, .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"]:checked::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"]:checked::before, .components-popover input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"]:checked::before { .components-popover input[type="checkbox"][aria-checked="mixed"]::before,
margin: -4px 0 0 -5px; .components-modal__content input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
margin: -3px -5px;
color: #fff; } color: #fff; }
@media (min-width: 782px) {
.editor-post-permalink input[type="checkbox"]:checked::before, .editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"]:checked::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"]:checked::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"]:checked::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"]:checked::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"]:checked::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
margin: -4px 0 0 -5px; } }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"],
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"],
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"],
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"],
.components-popover input[type="checkbox"][aria-checked="mixed"],
.components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #11a0d2;
border-color: #11a0d2; }
body.admin-color-sunrise .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-sunrise .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #c8b03c;
border-color: #c8b03c; }
body.admin-color-ocean .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-ocean .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #a3b9a2;
border-color: #a3b9a2; }
body.admin-color-midnight .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-midnight .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #77a6b9;
border-color: #77a6b9; }
body.admin-color-ectoplasm .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-ectoplasm .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #a7b656;
border-color: #a7b656; }
body.admin-color-coffee .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-coffee .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #c2a68c;
border-color: #c2a68c; }
body.admin-color-blue .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-blue .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #82b4cb;
border-color: #82b4cb; }
body.admin-color-light .editor-post-permalink input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .edit-post-sidebar input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .components-popover input[type="checkbox"][aria-checked="mixed"], body.admin-color-light .components-modal__content input[type="checkbox"][aria-checked="mixed"] {
background: #11a0d2;
border-color: #11a0d2; }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
content: "\f460";
float: left;
display: inline-block;
vertical-align: middle;
width: 16px;
/* stylelint-disable */
font: normal 30px/1 dashicons;
/* stylelint-enable */
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
@media (min-width: 782px) {
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]::before,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]::before,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]::before,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]::before,
.components-popover input[type="checkbox"][aria-checked="mixed"]::before,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]::before {
float: none;
font-size: 21px; } }
.editor-post-permalink input[type="checkbox"][aria-checked="mixed"]:focus,
.edit-post-sidebar input[type="checkbox"][aria-checked="mixed"]:focus,
.editor-post-publish-panel input[type="checkbox"][aria-checked="mixed"]:focus,
.block-editor-block-list__block input[type="checkbox"][aria-checked="mixed"]:focus,
.components-popover input[type="checkbox"][aria-checked="mixed"]:focus,
.components-modal__content input[type="checkbox"][aria-checked="mixed"]:focus {
box-shadow: 0 0 0 2px #555d66; }
.editor-post-permalink input[type="radio"], .editor-post-permalink input[type="radio"],
.edit-post-sidebar input[type="radio"], .edit-post-sidebar input[type="radio"],
.editor-post-publish-panel input[type="radio"], .editor-post-publish-panel input[type="radio"],
.editor-block-list__block input[type="radio"], .block-editor-block-list__block input[type="radio"],
.components-popover input[type="radio"], .components-popover input[type="radio"],
.components-modal__content input[type="radio"] { .components-modal__content input[type="radio"] {
border-radius: 50%; } border-radius: 50%; }
.editor-post-permalink input[type="radio"]:checked::before, .editor-post-permalink input[type="radio"]:checked::before,
.edit-post-sidebar input[type="radio"]:checked::before, .edit-post-sidebar input[type="radio"]:checked::before,
.editor-post-publish-panel input[type="radio"]:checked::before, .editor-post-publish-panel input[type="radio"]:checked::before,
.editor-block-list__block input[type="radio"]:checked::before, .block-editor-block-list__block input[type="radio"]:checked::before,
.components-popover input[type="radio"]:checked::before, .components-popover input[type="radio"]:checked::before,
.components-modal__content input[type="radio"]:checked::before { .components-modal__content input[type="radio"]:checked::before {
margin: 3px 0 0 3px; margin: 3px 0 0 3px;
@ -1615,40 +1794,40 @@ body.block-editor-page {
.editor-post-title input::-webkit-input-placeholder, .editor-post-title input::-webkit-input-placeholder,
.editor-post-title textarea::-webkit-input-placeholder, .editor-post-title textarea::-webkit-input-placeholder,
.editor-block-list__block input::-webkit-input-placeholder, .block-editor-block-list__block input::-webkit-input-placeholder,
.editor-block-list__block textarea::-webkit-input-placeholder { .block-editor-block-list__block textarea::-webkit-input-placeholder {
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.editor-post-title input::-moz-placeholder, .editor-post-title input::-moz-placeholder,
.editor-post-title textarea::-moz-placeholder, .editor-post-title textarea::-moz-placeholder,
.editor-block-list__block input::-moz-placeholder, .block-editor-block-list__block input::-moz-placeholder,
.editor-block-list__block textarea::-moz-placeholder { .block-editor-block-list__block textarea::-moz-placeholder {
opacity: 1; opacity: 1;
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.editor-post-title input:-ms-input-placeholder, .editor-post-title input:-ms-input-placeholder,
.editor-post-title textarea:-ms-input-placeholder, .editor-post-title textarea:-ms-input-placeholder,
.editor-block-list__block input:-ms-input-placeholder, .block-editor-block-list__block input:-ms-input-placeholder,
.editor-block-list__block textarea:-ms-input-placeholder { .block-editor-block-list__block textarea:-ms-input-placeholder {
color: rgba(14, 28, 46, 0.62); } color: rgba(14, 28, 46, 0.62); }
.is-dark-theme .editor-post-title input::-webkit-input-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input::-webkit-input-placeholder, .is-dark-theme
.editor-post-title textarea::-webkit-input-placeholder, .is-dark-theme .editor-post-title textarea::-webkit-input-placeholder, .is-dark-theme
.editor-block-list__block input::-webkit-input-placeholder, .is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder, .is-dark-theme
.editor-block-list__block textarea::-webkit-input-placeholder { .block-editor-block-list__block textarea::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .editor-post-title input::-moz-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input::-moz-placeholder, .is-dark-theme
.editor-post-title textarea::-moz-placeholder, .is-dark-theme .editor-post-title textarea::-moz-placeholder, .is-dark-theme
.editor-block-list__block input::-moz-placeholder, .is-dark-theme .block-editor-block-list__block input::-moz-placeholder, .is-dark-theme
.editor-block-list__block textarea::-moz-placeholder { .block-editor-block-list__block textarea::-moz-placeholder {
opacity: 1; opacity: 1;
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .editor-post-title input:-ms-input-placeholder, .is-dark-theme .is-dark-theme .editor-post-title input:-ms-input-placeholder, .is-dark-theme
.editor-post-title textarea:-ms-input-placeholder, .is-dark-theme .editor-post-title textarea:-ms-input-placeholder, .is-dark-theme
.editor-block-list__block input:-ms-input-placeholder, .is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder, .is-dark-theme
.editor-block-list__block textarea:-ms-input-placeholder { .block-editor-block-list__block textarea:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65); } color: rgba(255, 255, 255, 0.65); }
.wp-block { .wp-block {

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
body { body {
font-family: "Noto Serif", serif; font-family: "Noto Serif", serif;
font-size: 16px; font-size: 16px;

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
body { body {
font-family: "Noto Serif", serif; font-family: "Noto Serif", serif;
font-size: 16px; font-size: 16px;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -28,26 +28,29 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
.editor-format-toolbar__image-container-content { /**
* Allows users to opt-out of animations via OS-level preferences.
*/
.block-editor-format-toolbar__image-container-content {
display: flex; } display: flex; }
.editor-format-toolbar__image-container-content .components-icon-button { .block-editor-format-toolbar__image-container-content .components-icon-button {
height: 52px; height: 52px;
align-self: flex-end; } align-self: flex-end; }
.editor-format-toolbar__image-container-value { .block-editor-format-toolbar__image-container-value {
margin: 7px; margin: 7px;
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
white-space: nowrap; white-space: nowrap;
min-width: 150px; min-width: 150px;
max-width: 500px; } max-width: 500px; }
.editor-format-toolbar__image-container-value.components-base-control .components-base-control__field { .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
margin-bottom: 0; } margin-bottom: 0; }
.editor-format-toolbar__link-container-content { .block-editor-format-toolbar__link-container-content {
display: flex; } display: flex; }
.editor-format-toolbar__link-container-value { .block-editor-format-toolbar__link-container-value {
margin: 7px; margin: 7px;
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
@ -56,5 +59,5 @@
white-space: nowrap; white-space: nowrap;
min-width: 150px; min-width: 150px;
max-width: 500px; } max-width: 500px; }
.editor-format-toolbar__link-container-value.has-invalid-link { .block-editor-format-toolbar__link-container-value.has-invalid-link {
color: #d94f4f; } color: #d94f4f; }

View File

@ -1 +1 @@
.editor-format-toolbar__image-container-content{display:flex}.editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.editor-format-toolbar__link-container-content{display:flex}.editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} .block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}

View File

@ -28,26 +28,29 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
.editor-format-toolbar__image-container-content { /**
* Allows users to opt-out of animations via OS-level preferences.
*/
.block-editor-format-toolbar__image-container-content {
display: flex; } display: flex; }
.editor-format-toolbar__image-container-content .components-icon-button { .block-editor-format-toolbar__image-container-content .components-icon-button {
height: 52px; height: 52px;
align-self: flex-end; } align-self: flex-end; }
.editor-format-toolbar__image-container-value { .block-editor-format-toolbar__image-container-value {
margin: 7px; margin: 7px;
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
white-space: nowrap; white-space: nowrap;
min-width: 150px; min-width: 150px;
max-width: 500px; } max-width: 500px; }
.editor-format-toolbar__image-container-value.components-base-control .components-base-control__field { .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
margin-bottom: 0; } margin-bottom: 0; }
.editor-format-toolbar__link-container-content { .block-editor-format-toolbar__link-container-content {
display: flex; } display: flex; }
.editor-format-toolbar__link-container-value { .block-editor-format-toolbar__link-container-value {
margin: 7px; margin: 7px;
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
@ -56,5 +59,5 @@
white-space: nowrap; white-space: nowrap;
min-width: 150px; min-width: 150px;
max-width: 500px; } max-width: 500px; }
.editor-format-toolbar__link-container-value.has-invalid-link { .block-editor-format-toolbar__link-container-value.has-invalid-link {
color: #d94f4f; } color: #d94f4f; }

View File

@ -1 +1 @@
.editor-format-toolbar__image-container-content{display:flex}.editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.editor-format-toolbar__link-container-content{display:flex}.editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} .block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.list-reusable-blocks-import-dropdown__content .components-popover__content { .list-reusable-blocks-import-dropdown__content .components-popover__content {
padding: 10px; } padding: 10px; }

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.list-reusable-blocks-import-dropdown__content .components-popover__content { .list-reusable-blocks-import-dropdown__content .components-popover__content {
padding: 10px; } padding: 10px; }

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.nux-dot-tip::before, .nux-dot-tip::after { .nux-dot-tip::before, .nux-dot-tip::after {
border-radius: 100%; border-radius: 100%;
content: " "; content: " ";

View File

@ -28,6 +28,9 @@
/** /**
* Styles that are reused verbatim in a few places * Styles that are reused verbatim in a few places
*/ */
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.nux-dot-tip::before, .nux-dot-tip::after { .nux-dot-tip::before, .nux-dot-tip::after {
border-radius: 100%; border-radius: 100%;
content: " "; content: " ";

View File

@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 326); /******/ return __webpack_require__(__webpack_require__.s = 380);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 183: /***/ 204:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["domReady"]; }()); (function() { module.exports = this["wp"]["domReady"]; }());
/***/ }), /***/ }),
/***/ 326: /***/ 380:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: external {"this":["wp","domReady"]} // EXTERNAL MODULE: external {"this":["wp","domReady"]}
var external_this_wp_domReady_ = __webpack_require__(183); var external_this_wp_domReady_ = __webpack_require__(204);
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_); var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js // CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js
@ -207,11 +207,23 @@ var build_module_setup = function setup() {
external_this_wp_domReady_default()(build_module_setup); external_this_wp_domReady_default()(build_module_setup);
/** /**
* Update the ARIA live notification area text node. * Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions.
* This module is inspired by the `speak` function in wp-a11y.js
* *
* @param {string} message The message to be announced by Assistive Technologies. * @param {string} message The message to be announced by Assistive Technologies.
* @param {string} ariaLive Optional. The politeness level for aria-live. Possible values: * @param {string} ariaLive Optional. The politeness level for aria-live. Possible values:
* polite or assertive. Default polite. * polite or assertive. Default polite.
*
* @example
* ```js
* import { speak } from '@wordpress/a11y';
*
* // For polite messages that shouldn't interrupt what screen readers are currently announcing.
* speak( 'The message you want to send to the ARIA live region' );
*
* // For assertive messages that should interrupt what screen readers are currently announcing.
* speak( 'The message you want to send to the ARIA live region', 'assertive' );
* ```
*/ */
var build_module_speak = function speak(message, ariaLive) { var build_module_speak = function speak(message, ariaLive) {

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=326)}({183:function(e,t){!function(){e.exports=this.wp.domReady}()},326:function(e,t,n){"use strict";n.r(t);var r=n(183),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",function(){return p}),n.d(t,"speak",function(){return c});var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=380)}({204:function(e,t){!function(){e.exports=this.wp.domReady}()},380:function(e,t,n){"use strict";n.r(t);var r=n(204),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",function(){return p}),n.d(t,"speak",function(){return c});var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 317); /******/ return __webpack_require__(__webpack_require__.s = 370);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -116,7 +116,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 18: /***/ 17:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -132,7 +132,7 @@ function _arrayWithoutHoles(arr) {
} }
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() { function _nonIterableSpread() {
@ -207,14 +207,14 @@ function _objectWithoutProperties(source, excluded) {
/***/ }), /***/ }),
/***/ 23: /***/ 24:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["hooks"]; }()); (function() { module.exports = this["wp"]["hooks"]; }());
/***/ }), /***/ }),
/***/ 28: /***/ 30:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -496,7 +496,18 @@ function isShallowEqual( a, b, fromIndex ) {
/***/ }), /***/ }),
/***/ 317: /***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 370:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -521,10 +532,10 @@ var external_this_wp_data_ = __webpack_require__(5);
var defineProperty = __webpack_require__(15); var defineProperty = __webpack_require__(15);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(17);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
@ -638,7 +649,7 @@ function reducer_annotations() {
var objectWithoutProperties = __webpack_require__(21); var objectWithoutProperties = __webpack_require__(21);
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
var rememo = __webpack_require__(28); var rememo = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
@ -718,7 +729,7 @@ function __experimentalGetAnnotations(state) {
} }
// EXTERNAL MODULE: ./node_modules/uuid/v4.js // EXTERNAL MODULE: ./node_modules/uuid/v4.js
var v4 = __webpack_require__(59); var v4 = __webpack_require__(65);
var v4_default = /*#__PURE__*/__webpack_require__.n(v4); var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
@ -852,7 +863,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, {
var external_this_wp_richText_ = __webpack_require__(20); var external_this_wp_richText_ = __webpack_require__(20);
// EXTERNAL MODULE: ./node_modules/memize/index.js // EXTERNAL MODULE: ./node_modules/memize/index.js
var memize = __webpack_require__(38); var memize = __webpack_require__(41);
var memize_default = /*#__PURE__*/__webpack_require__.n(memize); var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
// EXTERNAL MODULE: external {"this":["wp","i18n"]} // EXTERNAL MODULE: external {"this":["wp","i18n"]}
@ -1073,7 +1084,7 @@ var format_name = annotation_annotation.name,
Object(external_this_wp_richText_["registerFormatType"])(format_name, settings); Object(external_this_wp_richText_["registerFormatType"])(format_name, settings);
// EXTERNAL MODULE: external {"this":["wp","hooks"]} // EXTERNAL MODULE: external {"this":["wp","hooks"]}
var external_this_wp_hooks_ = __webpack_require__(23); var external_this_wp_hooks_ = __webpack_require__(24);
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
/** /**
@ -1115,18 +1126,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/anno
/***/ }), /***/ }),
/***/ 33: /***/ 41:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 38:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = function memize( fn, options ) { module.exports = function memize( fn, options ) {
@ -1251,11 +1251,11 @@ module.exports = function memize( fn, options ) {
/***/ }), /***/ }),
/***/ 59: /***/ 65:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var rng = __webpack_require__(79); var rng = __webpack_require__(87);
var bytesToUuid = __webpack_require__(80); var bytesToUuid = __webpack_require__(88);
function v4(options, buf, offset) { function v4(options, buf, offset) {
var i = buf && offset || 0; var i = buf && offset || 0;
@ -1287,7 +1287,35 @@ module.exports = v4;
/***/ }), /***/ }),
/***/ 79: /***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
});
}
return target;
}
/***/ }),
/***/ 87:
/***/ (function(module, exports) { /***/ (function(module, exports) {
// Unique ID creation requires a high quality random # generator. In the // Unique ID creation requires a high quality random # generator. In the
@ -1328,35 +1356,7 @@ if (getRandomValues) {
/***/ }), /***/ }),
/***/ 8: /***/ 88:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
});
}
return target;
}
/***/ }),
/***/ 80:
/***/ (function(module, exports) { /***/ (function(module, exports) {
/** /**

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 318); /******/ return __webpack_require__(__webpack_require__.s = 369);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -160,21 +160,29 @@ function _objectWithoutProperties(source, excluded) {
/***/ }), /***/ }),
/***/ 22: /***/ 23:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
/***/ 318: /***/ 26:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(54);
/***/ }),
/***/ 369:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
var objectWithoutProperties = __webpack_require__(21); var objectWithoutProperties = __webpack_require__(21);
@ -325,17 +333,22 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa
/* harmony default export */ var preloading = (createPreloadingMiddleware); /* harmony default export */ var preloading = (createPreloadingMiddleware);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
var regenerator = __webpack_require__(26);
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41); var asyncToGenerator = __webpack_require__(44);
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(22); var external_this_wp_url_ = __webpack_require__(23);
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
/** /**
* WordPress dependencies * WordPress dependencies
*/ */
@ -389,9 +402,9 @@ var fetchAllMiddleware =
function () { function () {
var _ref2 = Object(asyncToGenerator["a" /* default */])( var _ref2 = Object(asyncToGenerator["a" /* default */])(
/*#__PURE__*/ /*#__PURE__*/
regeneratorRuntime.mark(function _callee(options, next) { regenerator_default.a.mark(function _callee(options, next) {
var response, results, nextPage, mergedResults, nextResponse, nextResults; var response, results, nextPage, mergedResults, nextResponse, nextResults;
return regeneratorRuntime.wrap(function _callee$(_context) { return regenerator_default.a.wrap(function _callee$(_context) {
while (1) { while (1) {
switch (_context.prev = _context.next) { switch (_context.prev = _context.next) {
case 0: case 0:
@ -728,7 +741,7 @@ apiFetch.fetchAllMiddleware = fetch_all_middleware;
/***/ }), /***/ }),
/***/ 41: /***/ 44:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -771,7 +784,779 @@ function _asyncToGenerator(fn) {
/***/ }), /***/ }),
/***/ 8: /***/ 54:
/***/ (function(module, exports, __webpack_require__) {
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// This method of obtaining a reference to the global object needs to be
// kept identical to the way it is obtained in runtime.js
var g = (function() {
return this || (typeof self === "object" && self);
})() || Function("return this")();
// Use `getOwnPropertyNames` because not all browsers support calling
// `hasOwnProperty` on the global `self` object in a worker. See #183.
var hadRuntime = g.regeneratorRuntime &&
Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
// Save the old regeneratorRuntime in case it needs to be restored later.
var oldRuntime = hadRuntime && g.regeneratorRuntime;
// Force reevalutation of runtime.js.
g.regeneratorRuntime = undefined;
module.exports = __webpack_require__(55);
if (hadRuntime) {
// Restore the original runtime.
g.regeneratorRuntime = oldRuntime;
} else {
// Remove the global property added by runtime.js.
try {
delete g.regeneratorRuntime;
} catch(e) {
g.regeneratorRuntime = undefined;
}
}
/***/ }),
/***/ 55:
/***/ (function(module, exports) {
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
!(function(global) {
"use strict";
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var undefined; // More compressible than void 0.
var $Symbol = typeof Symbol === "function" ? Symbol : {};
var iteratorSymbol = $Symbol.iterator || "@@iterator";
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
var inModule = typeof module === "object";
var runtime = global.regeneratorRuntime;
if (runtime) {
if (inModule) {
// If regeneratorRuntime is defined globally and we're in a module,
// make the exports object identical to regeneratorRuntime.
module.exports = runtime;
}
// Don't bother evaluating the rest of this file if the runtime was
// already defined globally.
return;
}
// Define the runtime globally (as expected by generated code) as either
// module.exports (if we're in a module) or a new, empty object.
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
function wrap(innerFn, outerFn, self, tryLocsList) {
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
var generator = Object.create(protoGenerator.prototype);
var context = new Context(tryLocsList || []);
// The ._invoke method unifies the implementations of the .next,
// .throw, and .return methods.
generator._invoke = makeInvokeMethod(innerFn, self, context);
return generator;
}
runtime.wrap = wrap;
// Try/catch helper to minimize deoptimizations. Returns a completion
// record like context.tryEntries[i].completion. This interface could
// have been (and was previously) designed to take a closure to be
// invoked without arguments, but in all the cases we care about we
// already have an existing method we want to call, so there's no need
// to create a new function object. We can even get away with assuming
// the method takes exactly one argument, since that happens to be true
// in every case, so we don't have to touch the arguments object. The
// only additional allocation required is the completion record, which
// has a stable shape and so hopefully should be cheap to allocate.
function tryCatch(fn, obj, arg) {
try {
return { type: "normal", arg: fn.call(obj, arg) };
} catch (err) {
return { type: "throw", arg: err };
}
}
var GenStateSuspendedStart = "suspendedStart";
var GenStateSuspendedYield = "suspendedYield";
var GenStateExecuting = "executing";
var GenStateCompleted = "completed";
// Returning this object from the innerFn has the same effect as
// breaking out of the dispatch switch statement.
var ContinueSentinel = {};
// Dummy constructor functions that we use as the .constructor and
// .constructor.prototype properties for functions that return Generator
// objects. For full spec compliance, you may wish to configure your
// minifier not to mangle the names of these two functions.
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
// This is a polyfill for %IteratorPrototype% for environments that
// don't natively support it.
var IteratorPrototype = {};
IteratorPrototype[iteratorSymbol] = function () {
return this;
};
var getProto = Object.getPrototypeOf;
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
if (NativeIteratorPrototype &&
NativeIteratorPrototype !== Op &&
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
// This environment has a native %IteratorPrototype%; use it instead
// of the polyfill.
IteratorPrototype = NativeIteratorPrototype;
}
var Gp = GeneratorFunctionPrototype.prototype =
Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] =
GeneratorFunction.displayName = "GeneratorFunction";
// Helper for defining the .next, .throw, and .return methods of the
// Iterator interface in terms of a single ._invoke method.
function defineIteratorMethods(prototype) {
["next", "throw", "return"].forEach(function(method) {
prototype[method] = function(arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function(genFun) {
var ctor = typeof genFun === "function" && genFun.constructor;
return ctor
? ctor === GeneratorFunction ||
// For the native GeneratorFunction constructor, the best we can
// do is to check its .name property.
(ctor.displayName || ctor.name) === "GeneratorFunction"
: false;
};
runtime.mark = function(genFun) {
if (Object.setPrototypeOf) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
genFun.__proto__ = GeneratorFunctionPrototype;
if (!(toStringTagSymbol in genFun)) {
genFun[toStringTagSymbol] = "GeneratorFunction";
}
}
genFun.prototype = Object.create(Gp);
return genFun;
};
// Within the body of any async function, `await x` is transformed to
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
// `hasOwn.call(value, "__await")` to determine if the yielded value is
// meant to be awaited.
runtime.awrap = function(arg) {
return { __await: arg };
};
function AsyncIterator(generator) {
function invoke(method, arg, resolve, reject) {
var record = tryCatch(generator[method], generator, arg);
if (record.type === "throw") {
reject(record.arg);
} else {
var result = record.arg;
var value = result.value;
if (value &&
typeof value === "object" &&
hasOwn.call(value, "__await")) {
return Promise.resolve(value.__await).then(function(value) {
invoke("next", value, resolve, reject);
}, function(err) {
invoke("throw", err, resolve, reject);
});
}
return Promise.resolve(value).then(function(unwrapped) {
// When a yielded Promise is resolved, its final value becomes
// the .value of the Promise<{value,done}> result for the
// current iteration.
result.value = unwrapped;
resolve(result);
}, function(error) {
// If a rejected Promise was yielded, throw the rejection back
// into the async generator function so it can be handled there.
return invoke("throw", error, resolve, reject);
});
}
}
var previousPromise;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function(resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
return previousPromise =
// If enqueue has been called before, then we want to wait until
// all previous Promises have been resolved before calling invoke,
// so that results are always delivered in the correct order. If
// enqueue has not been called before, then it is important to
// call invoke immediately, without waiting on a callback to fire,
// so that the async generator function has the opportunity to do
// any necessary setup in a predictable way. This predictability
// is why the Promise constructor synchronously invokes its
// executor callback, and why async functions synchronously
// execute code before the first await. Since we implement simple
// async functions in terms of async generators, it is especially
// important to get this right, even though it requires care.
previousPromise ? previousPromise.then(
callInvokeWithMethodAndArg,
// Avoid propagating failures to Promises returned by later
// invocations of the iterator.
callInvokeWithMethodAndArg
) : callInvokeWithMethodAndArg();
}
// Define the unified helper method that is used to implement .next,
// .throw, and .return (see defineIteratorMethods).
this._invoke = enqueue;
}
defineIteratorMethods(AsyncIterator.prototype);
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
return this;
};
runtime.AsyncIterator = AsyncIterator;
// Note that simple async functions are implemented on top of
// AsyncIterator objects; they just return a Promise for the value of
// the final result produced by the iterator.
runtime.async = function(innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(
wrap(innerFn, outerFn, self, tryLocsList)
);
return runtime.isGeneratorFunction(outerFn)
? iter // If outerFn is a generator, return the full iterator.
: iter.next().then(function(result) {
return result.done ? result.value : iter.next();
});
};
function makeInvokeMethod(innerFn, self, context) {
var state = GenStateSuspendedStart;
return function invoke(method, arg) {
if (state === GenStateExecuting) {
throw new Error("Generator is already running");
}
if (state === GenStateCompleted) {
if (method === "throw") {
throw arg;
}
// Be forgiving, per 25.3.3.3.3 of the spec:
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
return doneResult();
}
context.method = method;
context.arg = arg;
while (true) {
var delegate = context.delegate;
if (delegate) {
var delegateResult = maybeInvokeDelegate(delegate, context);
if (delegateResult) {
if (delegateResult === ContinueSentinel) continue;
return delegateResult;
}
}
if (context.method === "next") {
// Setting context._sent for legacy support of Babel's
// function.sent implementation.
context.sent = context._sent = context.arg;
} else if (context.method === "throw") {
if (state === GenStateSuspendedStart) {
state = GenStateCompleted;
throw context.arg;
}
context.dispatchException(context.arg);
} else if (context.method === "return") {
context.abrupt("return", context.arg);
}
state = GenStateExecuting;
var record = tryCatch(innerFn, self, context);
if (record.type === "normal") {
// If an exception is thrown from innerFn, we leave state ===
// GenStateExecuting and loop back for another invocation.
state = context.done
? GenStateCompleted
: GenStateSuspendedYield;
if (record.arg === ContinueSentinel) {
continue;
}
return {
value: record.arg,
done: context.done
};
} else if (record.type === "throw") {
state = GenStateCompleted;
// Dispatch the exception by looping back around to the
// context.dispatchException(context.arg) call above.
context.method = "throw";
context.arg = record.arg;
}
}
};
}
// Call delegate.iterator[context.method](context.arg) and handle the
// result, either by returning a { value, done } result from the
// delegate iterator, or by modifying context.method and context.arg,
// setting context.delegate to null, and returning the ContinueSentinel.
function maybeInvokeDelegate(delegate, context) {
var method = delegate.iterator[context.method];
if (method === undefined) {
// A .throw or .return when the delegate iterator has no .throw
// method always terminates the yield* loop.
context.delegate = null;
if (context.method === "throw") {
if (delegate.iterator.return) {
// If the delegate iterator has a return method, give it a
// chance to clean up.
context.method = "return";
context.arg = undefined;
maybeInvokeDelegate(delegate, context);
if (context.method === "throw") {
// If maybeInvokeDelegate(context) changed context.method from
// "return" to "throw", let that override the TypeError below.
return ContinueSentinel;
}
}
context.method = "throw";
context.arg = new TypeError(
"The iterator does not provide a 'throw' method");
}
return ContinueSentinel;
}
var record = tryCatch(method, delegate.iterator, context.arg);
if (record.type === "throw") {
context.method = "throw";
context.arg = record.arg;
context.delegate = null;
return ContinueSentinel;
}
var info = record.arg;
if (! info) {
context.method = "throw";
context.arg = new TypeError("iterator result is not an object");
context.delegate = null;
return ContinueSentinel;
}
if (info.done) {
// Assign the result of the finished delegate to the temporary
// variable specified by delegate.resultName (see delegateYield).
context[delegate.resultName] = info.value;
// Resume execution at the desired location (see delegateYield).
context.next = delegate.nextLoc;
// If context.method was "throw" but the delegate handled the
// exception, let the outer generator proceed normally. If
// context.method was "next", forget context.arg since it has been
// "consumed" by the delegate iterator. If context.method was
// "return", allow the original .return call to continue in the
// outer generator.
if (context.method !== "return") {
context.method = "next";
context.arg = undefined;
}
} else {
// Re-yield the result returned by the delegate method.
return info;
}
// The delegate iterator is finished, so forget it and continue with
// the outer generator.
context.delegate = null;
return ContinueSentinel;
}
// Define Generator.prototype.{next,throw,return} in terms of the
// unified ._invoke helper method.
defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator";
// A Generator should always return itself as the iterator object when the
// @@iterator function is called on it. Some browsers' implementations of the
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
// See https://github.com/facebook/regenerator/issues/274 for more details.
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function() {
return "[object Generator]";
};
function pushTryEntry(locs) {
var entry = { tryLoc: locs[0] };
if (1 in locs) {
entry.catchLoc = locs[1];
}
if (2 in locs) {
entry.finallyLoc = locs[2];
entry.afterLoc = locs[3];
}
this.tryEntries.push(entry);
}
function resetTryEntry(entry) {
var record = entry.completion || {};
record.type = "normal";
delete record.arg;
entry.completion = record;
}
function Context(tryLocsList) {
// The root entry object (effectively a try statement without a catch
// or a finally block) gives us a place to store values thrown from
// locations where there is no enclosing try statement.
this.tryEntries = [{ tryLoc: "root" }];
tryLocsList.forEach(pushTryEntry, this);
this.reset(true);
}
runtime.keys = function(object) {
var keys = [];
for (var key in object) {
keys.push(key);
}
keys.reverse();
// Rather than returning an object with a next method, we keep
// things simple and return the next function itself.
return function next() {
while (keys.length) {
var key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
// To avoid creating an additional object, we just hang the .value
// and .done properties off the next function object itself. This
// also ensures that the minifier will not anonymize the function.
next.done = true;
return next;
};
};
function values(iterable) {
if (iterable) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) {
return iteratorMethod.call(iterable);
}
if (typeof iterable.next === "function") {
return iterable;
}
if (!isNaN(iterable.length)) {
var i = -1, next = function next() {
while (++i < iterable.length) {
if (hasOwn.call(iterable, i)) {
next.value = iterable[i];
next.done = false;
return next;
}
}
next.value = undefined;
next.done = true;
return next;
};
return next.next = next;
}
}
// Return an iterator with no values.
return { next: doneResult };
}
runtime.values = values;
function doneResult() {
return { value: undefined, done: true };
}
Context.prototype = {
constructor: Context,
reset: function(skipTempReset) {
this.prev = 0;
this.next = 0;
// Resetting context._sent for legacy support of Babel's
// function.sent implementation.
this.sent = this._sent = undefined;
this.done = false;
this.delegate = null;
this.method = "next";
this.arg = undefined;
this.tryEntries.forEach(resetTryEntry);
if (!skipTempReset) {
for (var name in this) {
// Not sure about the optimal order of these conditions:
if (name.charAt(0) === "t" &&
hasOwn.call(this, name) &&
!isNaN(+name.slice(1))) {
this[name] = undefined;
}
}
}
},
stop: function() {
this.done = true;
var rootEntry = this.tryEntries[0];
var rootRecord = rootEntry.completion;
if (rootRecord.type === "throw") {
throw rootRecord.arg;
}
return this.rval;
},
dispatchException: function(exception) {
if (this.done) {
throw exception;
}
var context = this;
function handle(loc, caught) {
record.type = "throw";
record.arg = exception;
context.next = loc;
if (caught) {
// If the dispatched exception was caught by a catch block,
// then let that catch block handle the exception normally.
context.method = "next";
context.arg = undefined;
}
return !! caught;
}
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
var record = entry.completion;
if (entry.tryLoc === "root") {
// Exception thrown outside of any try block that could handle
// it, so set the completion value of the entire function to
// throw the exception.
return handle("end");
}
if (entry.tryLoc <= this.prev) {
var hasCatch = hasOwn.call(entry, "catchLoc");
var hasFinally = hasOwn.call(entry, "finallyLoc");
if (hasCatch && hasFinally) {
if (this.prev < entry.catchLoc) {
return handle(entry.catchLoc, true);
} else if (this.prev < entry.finallyLoc) {
return handle(entry.finallyLoc);
}
} else if (hasCatch) {
if (this.prev < entry.catchLoc) {
return handle(entry.catchLoc, true);
}
} else if (hasFinally) {
if (this.prev < entry.finallyLoc) {
return handle(entry.finallyLoc);
}
} else {
throw new Error("try statement without catch or finally");
}
}
}
},
abrupt: function(type, arg) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc <= this.prev &&
hasOwn.call(entry, "finallyLoc") &&
this.prev < entry.finallyLoc) {
var finallyEntry = entry;
break;
}
}
if (finallyEntry &&
(type === "break" ||
type === "continue") &&
finallyEntry.tryLoc <= arg &&
arg <= finallyEntry.finallyLoc) {
// Ignore the finally entry if control is not jumping to a
// location outside the try/catch block.
finallyEntry = null;
}
var record = finallyEntry ? finallyEntry.completion : {};
record.type = type;
record.arg = arg;
if (finallyEntry) {
this.method = "next";
this.next = finallyEntry.finallyLoc;
return ContinueSentinel;
}
return this.complete(record);
},
complete: function(record, afterLoc) {
if (record.type === "throw") {
throw record.arg;
}
if (record.type === "break" ||
record.type === "continue") {
this.next = record.arg;
} else if (record.type === "return") {
this.rval = this.arg = record.arg;
this.method = "return";
this.next = "end";
} else if (record.type === "normal" && afterLoc) {
this.next = afterLoc;
}
return ContinueSentinel;
},
finish: function(finallyLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.finallyLoc === finallyLoc) {
this.complete(entry.completion, entry.afterLoc);
resetTryEntry(entry);
return ContinueSentinel;
}
}
},
"catch": function(tryLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc === tryLoc) {
var record = entry.completion;
if (record.type === "throw") {
var thrown = record.arg;
resetTryEntry(entry);
}
return thrown;
}
}
// The context.catch method must only be called with a location
// argument that corresponds to a known catch block.
throw new Error("illegal catch attempt");
},
delegateYield: function(iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
nextLoc: nextLoc
};
if (this.method === "next") {
// Deliberately forget the last sent value so that we don't
// accidentally pass it on to the delegate.
this.arg = undefined;
}
return ContinueSentinel;
}
};
})(
// In sloppy mode, unbound `this` refers to the global object, fallback to
// Function constructor if we're in global strict mode. That is sadly a form
// of indirect eval which violates Content Security Policy.
(function() {
return this || (typeof self === "object" && self);
})() || Function("return this")()
);
/***/ }),
/***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,19 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 195); /******/ return __webpack_require__(__webpack_require__.s = 254);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 195: /***/ 254:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
/** /**
@ -202,6 +202,13 @@ function replaceInHtmlTags(haystack, replacePairs) {
* @param {string} text The text which has to be formatted. * @param {string} text The text which has to be formatted.
* @param {boolean} br Optional. If set, will convert all remaining line- * @param {boolean} br Optional. If set, will convert all remaining line-
* breaks after paragraphing. Default true. * breaks after paragraphing. Default true.
*
* @example
*```js
* import { autop } from '@wordpress/autop';
* autop( 'my text' ); // "<p>my text</p>"
* ```
*
* @return {string} Text which has been converted into paragraph tags. * @return {string} Text which has been converted into paragraph tags.
*/ */
@ -358,6 +365,13 @@ function autop(text) {
* Unifies whitespace. Indents `<li>`, `<dt>` and `<dd>` for better readability. * Unifies whitespace. Indents `<li>`, `<dt>` and `<dd>` for better readability.
* *
* @param {string} html The content from the editor. * @param {string} html The content from the editor.
*
* @example
* ```js
* import { removep } from '@wordpress/autop';
* removep( '<p>my text</p>' ); // "my text"
* ```
*
* @return {string} The content with stripped paragraph tags. * @return {string} The content with stripped paragraph tags.
*/ */
@ -477,13 +491,13 @@ function removep(html) {
/***/ }), /***/ }),
/***/ 25: /***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(34); var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) { function _iterableToArrayLimit(arr, i) {
@ -512,7 +526,7 @@ function _iterableToArrayLimit(arr, i) {
return _arr; return _arr;
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(35); var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
@ -525,7 +539,7 @@ function _slicedToArray(arr, i) {
/***/ }), /***/ }),
/***/ 34: /***/ 37:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -536,7 +550,7 @@ function _arrayWithHoles(arr) {
/***/ }), /***/ }),
/***/ 35: /***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 196); /******/ return __webpack_require__(__webpack_require__.s = 255);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 196: /***/ 255:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=196)}({196:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",function(){return f}),n.d(t,"getBlobByURL",function(){return c}),n.d(t,"revokeBlobURL",function(){return l}),n.d(t,"isBlobURL",function(){return d});var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}}); this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=255)}({255:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",function(){return f}),n.d(t,"getBlobByURL",function(){return c}),n.d(t,"revokeBlobURL",function(){return l}),n.d(t,"isBlobURL",function(){return d});var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -82,18 +82,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 197); /******/ return __webpack_require__(__webpack_require__.s = 258);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 197: /***/ 258:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25); /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
var document; var document;
var offset; var offset;
@ -166,6 +166,84 @@ function Frame(block, tokenStart, tokenLength, prevOffset, leadingHtmlStart) {
leadingHtmlStart: leadingHtmlStart leadingHtmlStart: leadingHtmlStart
}; };
} }
/**
* Parser function, that converts input HTML into a block based structure.
*
* @param {string} doc The HTML document to parse.
*
* @example
* Input post:
* ```html
* <!-- wp:columns {"columns":3} -->
* <div class="wp-block-columns has-3-columns"><!-- wp:column -->
* <div class="wp-block-column"><!-- wp:paragraph -->
* <p>Left</p>
* <!-- /wp:paragraph --></div>
* <!-- /wp:column -->
*
* <!-- wp:column -->
* <div class="wp-block-column"><!-- wp:paragraph -->
* <p><strong>Middle</strong></p>
* <!-- /wp:paragraph --></div>
* <!-- /wp:column -->
*
* <!-- wp:column -->
* <div class="wp-block-column"></div>
* <!-- /wp:column --></div>
* <!-- /wp:columns -->
* ```
*
* Parsing code:
* ```js
* import { parse } from '@wordpress/block-serialization-default-parser';
*
* parse( post ) === [
* {
* blockName: "core/columns",
* attrs: {
* columns: 3
* },
* innerBlocks: [
* {
* blockName: "core/column",
* attrs: null,
* innerBlocks: [
* {
* blockName: "core/paragraph",
* attrs: null,
* innerBlocks: [],
* innerHTML: "\n<p>Left</p>\n"
* }
* ],
* innerHTML: '\n<div class="wp-block-column"></div>\n'
* },
* {
* blockName: "core/column",
* attrs: null,
* innerBlocks: [
* {
* blockName: "core/paragraph",
* attrs: null,
* innerBlocks: [],
* innerHTML: "\n<p><strong>Middle</strong></p>\n"
* }
* ],
* innerHTML: '\n<div class="wp-block-column"></div>\n'
* },
* {
* blockName: "core/column",
* attrs: null,
* innerBlocks: [],
* innerHTML: '\n<div class="wp-block-column"></div>\n'
* }
* ],
* innerHTML: '\n<div class="wp-block-columns has-3-columns">\n\n\n\n</div>\n'
* }
* ];
* ```
* @return {Array} A block-based representation of the input HTML.
*/
var parse = function parse(doc) { var parse = function parse(doc) {
document = doc; document = doc;
@ -399,13 +477,13 @@ function addBlockFromStack(endOffset) {
/***/ }), /***/ }),
/***/ 25: /***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(34); var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) { function _iterableToArrayLimit(arr, i) {
@ -434,7 +512,7 @@ function _iterableToArrayLimit(arr, i) {
return _arr; return _arr;
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(35); var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
@ -447,7 +525,7 @@ function _slicedToArray(arr, i) {
/***/ }), /***/ }),
/***/ 34: /***/ 37:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -458,7 +536,7 @@ function _arrayWithHoles(arr) {
/***/ }), /***/ }),
/***/ 35: /***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=197)}({197:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return a});var e,u,o,i,l=r(25),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},25:function(n,t,r){"use strict";var e=r(34);var u=r(35);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},34:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})},35:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})}}); this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=258)}({258:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return a});var e,u,o,i,l=r(28),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},28:function(n,t,r){"use strict";var e=r(37);var u=r(38);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},37:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})},38:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 309); /******/ return __webpack_require__(__webpack_require__.s = 362);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -114,7 +114,7 @@ function _classCallCheck(instance, Constructor) {
/***/ }), /***/ }),
/***/ 124: /***/ 134:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["shortcode"]; }()); (function() { module.exports = this["wp"]["shortcode"]; }());
@ -143,7 +143,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 18: /***/ 17:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -159,7 +159,7 @@ function _arrayWithoutHoles(arr) {
} }
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() { function _nonIterableSpread() {
@ -176,14 +176,46 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 184: /***/ 19:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
/***/ }),
/***/ 2:
/***/ (function(module, exports) {
(function() { module.exports = this["lodash"]; }());
/***/ }),
/***/ 205:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }()); (function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }());
/***/ }), /***/ }),
/***/ 185: /***/ 206:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.0 - 10-11-2018 */ var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.0 - 10-11-2018 */
@ -5327,59 +5359,27 @@ if (true) {
/***/ }), /***/ }),
/***/ 19: /***/ 24:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
/***/ }),
/***/ 2:
/***/ (function(module, exports) {
(function() { module.exports = this["lodash"]; }());
/***/ }),
/***/ 23:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["hooks"]; }()); (function() { module.exports = this["wp"]["hooks"]; }());
/***/ }), /***/ }),
/***/ 24: /***/ 25:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["dom"]; }()); (function() { module.exports = this["wp"]["dom"]; }());
/***/ }), /***/ }),
/***/ 25: /***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(34); var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) { function _iterableToArrayLimit(arr, i) {
@ -5408,7 +5408,7 @@ function _iterableToArrayLimit(arr, i) {
return _arr; return _arr;
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(35); var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
@ -5421,7 +5421,7 @@ function _slicedToArray(arr, i) {
/***/ }), /***/ }),
/***/ 28: /***/ 30:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -5703,7 +5703,25 @@ function isShallowEqual( a, b, fromIndex ) {
/***/ }), /***/ }),
/***/ 309: /***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 35:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["blob"]; }());
/***/ }),
/***/ 362:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -5720,6 +5738,7 @@ __webpack_require__.d(selectors_namespaceObject, "getUnregisteredFallbackBlockNa
__webpack_require__.d(selectors_namespaceObject, "getChildBlockNames", function() { return selectors_getChildBlockNames; }); __webpack_require__.d(selectors_namespaceObject, "getChildBlockNames", function() { return selectors_getChildBlockNames; });
__webpack_require__.d(selectors_namespaceObject, "getBlockSupport", function() { return selectors_getBlockSupport; }); __webpack_require__.d(selectors_namespaceObject, "getBlockSupport", function() { return selectors_getBlockSupport; });
__webpack_require__.d(selectors_namespaceObject, "hasBlockSupport", function() { return hasBlockSupport; }); __webpack_require__.d(selectors_namespaceObject, "hasBlockSupport", function() { return hasBlockSupport; });
__webpack_require__.d(selectors_namespaceObject, "isMatchingSearchTerm", function() { return isMatchingSearchTerm; });
__webpack_require__.d(selectors_namespaceObject, "hasChildBlocks", function() { return selectors_hasChildBlocks; }); __webpack_require__.d(selectors_namespaceObject, "hasChildBlocks", function() { return selectors_hasChildBlocks; });
__webpack_require__.d(selectors_namespaceObject, "hasChildBlocksWithInserterSupport", function() { return selectors_hasChildBlocksWithInserterSupport; }); __webpack_require__.d(selectors_namespaceObject, "hasChildBlocksWithInserterSupport", function() { return selectors_hasChildBlocksWithInserterSupport; });
var actions_namespaceObject = {}; var actions_namespaceObject = {};
@ -5741,10 +5760,10 @@ var external_this_wp_data_ = __webpack_require__(5);
var defineProperty = __webpack_require__(15); var defineProperty = __webpack_require__(15);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(17);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
@ -5929,7 +5948,7 @@ function reducer_categories() {
})); }));
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
var rememo = __webpack_require__(28); var rememo = __webpack_require__(30);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
/** /**
@ -5937,6 +5956,19 @@ var rememo = __webpack_require__(28);
*/ */
/**
* Given a block name or block type object, returns the corresponding
* normalized block type object.
*
* @param {Object} state Blocks state.
* @param {(string|Object)} nameOrType Block name or type object
*
* @return {Object} Block type object.
*/
var getNormalizedBlockType = function getNormalizedBlockType(state, nameOrType) {
return 'string' === typeof nameOrType ? getBlockType(state, nameOrType) : nameOrType;
};
/** /**
* Returns all the available block types. * Returns all the available block types.
* *
@ -5945,6 +5977,7 @@ var rememo = __webpack_require__(28);
* @return {Array} Block Types. * @return {Array} Block Types.
*/ */
var getBlockTypes = Object(rememo["a" /* default */])(function (state) { var getBlockTypes = Object(rememo["a" /* default */])(function (state) {
return Object.values(state.blockTypes); return Object.values(state.blockTypes);
}, function (state) { }, function (state) {
@ -6050,7 +6083,7 @@ var selectors_getChildBlockNames = Object(rememo["a" /* default */])(function (s
*/ */
var selectors_getBlockSupport = function getBlockSupport(state, nameOrType, feature, defaultSupports) { var selectors_getBlockSupport = function getBlockSupport(state, nameOrType, feature, defaultSupports) {
var blockType = 'string' === typeof nameOrType ? getBlockType(state, nameOrType) : nameOrType; var blockType = getNormalizedBlockType(state, nameOrType);
return Object(external_lodash_["get"])(blockType, ['supports', feature], defaultSupports); return Object(external_lodash_["get"])(blockType, ['supports', feature], defaultSupports);
}; };
/** /**
@ -6068,6 +6101,36 @@ var selectors_getBlockSupport = function getBlockSupport(state, nameOrType, feat
function hasBlockSupport(state, nameOrType, feature, defaultSupports) { function hasBlockSupport(state, nameOrType, feature, defaultSupports) {
return !!selectors_getBlockSupport(state, nameOrType, feature, defaultSupports); return !!selectors_getBlockSupport(state, nameOrType, feature, defaultSupports);
} }
/**
* Returns true if the block type by the given name or object value matches a
* search term, or false otherwise.
*
* @param {Object} state Blocks state.
* @param {(string|Object)} nameOrType Block name or type object.
* @param {string} searchTerm Search term by which to filter.
*
* @return {Object[]} Wheter block type matches search term.
*/
function isMatchingSearchTerm(state, nameOrType, searchTerm) {
var blockType = getNormalizedBlockType(state, nameOrType);
var getNormalizedSearchTerm = Object(external_lodash_["flow"])([// Disregard diacritics.
// Input: "média"
external_lodash_["deburr"], // Lowercase.
// Input: "MEDIA"
function (term) {
return term.toLowerCase();
}, // Strip leading and trailing whitespace.
// Input: " media "
function (term) {
return term.trim();
}]);
var normalizedSearchTerm = getNormalizedSearchTerm(searchTerm);
var isSearchMatch = Object(external_lodash_["flow"])([getNormalizedSearchTerm, function (normalizedCandidate) {
return Object(external_lodash_["includes"])(normalizedCandidate, normalizedSearchTerm);
}]);
return isSearchMatch(blockType.title) || Object(external_lodash_["some"])(blockType.keywords, isSearchMatch) || isSearchMatch(blockType.category);
}
/** /**
* Returns a boolean indicating if a block has child blocks or not. * Returns a boolean indicating if a block has child blocks or not.
* *
@ -6255,11 +6318,11 @@ Object(external_this_wp_data_["registerStore"])('core/blocks', {
}); });
// EXTERNAL MODULE: ./node_modules/uuid/v4.js // EXTERNAL MODULE: ./node_modules/uuid/v4.js
var v4 = __webpack_require__(59); var v4 = __webpack_require__(65);
var v4_default = /*#__PURE__*/__webpack_require__.n(v4); var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
// EXTERNAL MODULE: external {"this":["wp","hooks"]} // EXTERNAL MODULE: external {"this":["wp","hooks"]}
var external_this_wp_hooks_ = __webpack_require__(23); var external_this_wp_hooks_ = __webpack_require__(24);
// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
var tinycolor = __webpack_require__(45); var tinycolor = __webpack_require__(45);
@ -7110,7 +7173,7 @@ function switchToBlockType(blocks, name) {
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(25); var slicedToArray = __webpack_require__(28);
// CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js // CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js
/** /**
@ -7292,19 +7355,19 @@ function query(selector, matchers) {
}; };
} }
// EXTERNAL MODULE: external {"this":["wp","autop"]} // EXTERNAL MODULE: external {"this":["wp","autop"]}
var external_this_wp_autop_ = __webpack_require__(60); var external_this_wp_autop_ = __webpack_require__(66);
// EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]} // EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]}
var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(184); var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(205);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(34); var arrayWithHoles = __webpack_require__(37);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(35); var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
@ -7912,17 +7975,17 @@ var tokenizer_Tokenizer = /** @class */ (function () {
/* harmony default export */ var tokenizer = (tokenizer_Tokenizer); /* harmony default export */ var tokenizer = (tokenizer_Tokenizer);
// EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]}
var external_this_wp_htmlEntities_ = __webpack_require__(53); var external_this_wp_htmlEntities_ = __webpack_require__(57);
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
var external_this_wp_isShallowEqual_ = __webpack_require__(40); var external_this_wp_isShallowEqual_ = __webpack_require__(42);
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19); var esm_extends = __webpack_require__(19);
// EXTERNAL MODULE: external {"this":["wp","compose"]} // EXTERNAL MODULE: external {"this":["wp","compose"]}
var external_this_wp_compose_ = __webpack_require__(7); var external_this_wp_compose_ = __webpack_require__(6);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/block-content-provider/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/block-content-provider/index.js
@ -8837,28 +8900,28 @@ function isEquivalentHTML(actual, expected) {
* *
* Logs to console in development environments when invalid. * Logs to console in development environments when invalid.
* *
* @param {string|Object} blockTypeOrName Block type. * @param {string|Object} blockTypeOrName Block type.
* @param {Object} attributes Parsed block attributes. * @param {Object} attributes Parsed block attributes.
* @param {string} innerHTML Original block content. * @param {string} originalBlockContent Original block content.
* *
* @return {boolean} Whether block is valid. * @return {boolean} Whether block is valid.
*/ */
function isValidBlockContent(blockTypeOrName, attributes, innerHTML) { function isValidBlockContent(blockTypeOrName, attributes, originalBlockContent) {
var blockType = normalizeBlockType(blockTypeOrName); var blockType = normalizeBlockType(blockTypeOrName);
var saveContent; var generatedBlockContent;
try { try {
saveContent = getSaveContent(blockType, attributes); generatedBlockContent = getSaveContent(blockType, attributes);
} catch (error) { } catch (error) {
log.error('Block validation failed because an error occurred while generating block content:\n\n%s', error.toString()); log.error('Block validation failed because an error occurred while generating block content:\n\n%s', error.toString());
return false; return false;
} }
var isValid = isEquivalentHTML(innerHTML, saveContent); var isValid = isEquivalentHTML(originalBlockContent, generatedBlockContent);
if (!isValid) { if (!isValid) {
log.error('Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s', blockType.name, blockType, saveContent, innerHTML); log.error('Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s', blockType.name, blockType, generatedBlockContent, originalBlockContent);
} }
return isValid; return isValid;
@ -9673,7 +9736,7 @@ var parseWithGrammar = createParse(external_this_wp_blockSerializationDefaultPar
/* harmony default export */ var parser = (parseWithGrammar); /* harmony default export */ var parser = (parseWithGrammar);
// EXTERNAL MODULE: external {"this":["wp","dom"]} // EXTERNAL MODULE: external {"this":["wp","dom"]}
var external_this_wp_dom_ = __webpack_require__(24); var external_this_wp_dom_ = __webpack_require__(25);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content.js
/** /**
@ -9683,6 +9746,7 @@ var external_this_wp_dom_ = __webpack_require__(24);
var phrasing_content_phrasingContentSchema = { var phrasing_content_phrasingContentSchema = {
strong: {}, strong: {},
em: {}, em: {},
s: {},
del: {}, del: {},
ins: {}, ins: {},
a: { a: {
@ -9700,7 +9764,7 @@ var phrasing_content_phrasingContentSchema = {
// Possible: strong > em > strong. // Possible: strong > em > strong.
// Impossible: strong > strong. // Impossible: strong > strong.
['strong', 'em', 'del', 'ins', 'a', 'code', 'abbr', 'sub', 'sup'].forEach(function (tag) { ['strong', 'em', 's', 'del', 'ins', 'a', 'code', 'abbr', 'sub', 'sup'].forEach(function (tag) {
phrasing_content_phrasingContentSchema[tag].children = Object(external_lodash_["omit"])(phrasing_content_phrasingContentSchema, tag); phrasing_content_phrasingContentSchema[tag].children = Object(external_lodash_["omit"])(phrasing_content_phrasingContentSchema, tag);
}); });
/** /**
@ -10367,7 +10431,7 @@ function canHaveAnchor(node, schema) {
}); });
// EXTERNAL MODULE: external {"this":["wp","shortcode"]} // EXTERNAL MODULE: external {"this":["wp","shortcode"]}
var external_this_wp_shortcode_ = __webpack_require__(124); var external_this_wp_shortcode_ = __webpack_require__(134);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
@ -10516,7 +10580,7 @@ function isDoubleBR(node) {
} }
if (textDecorationLine === 'line-through') { if (textDecorationLine === 'line-through') {
Object(external_this_wp_dom_["wrap"])(doc.createElement('del'), node); Object(external_this_wp_dom_["wrap"])(doc.createElement('s'), node);
} }
if (verticalAlign === 'super') { if (verticalAlign === 'super') {
@ -10630,7 +10694,7 @@ function ms_list_converter_isList(node) {
}); });
// EXTERNAL MODULE: external {"this":["wp","blob"]} // EXTERNAL MODULE: external {"this":["wp","blob"]}
var external_this_wp_blob_ = __webpack_require__(32); var external_this_wp_blob_ = __webpack_require__(35);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js
@ -10700,7 +10764,7 @@ var image_corrector_window = window,
}); });
// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js // EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
var showdown = __webpack_require__(185); var showdown = __webpack_require__(206);
var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown); var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
@ -11355,25 +11419,7 @@ function synchronizeBlocksWithTemplate() {
/***/ }), /***/ }),
/***/ 32: /***/ 37:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["blob"]; }());
/***/ }),
/***/ 33:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -11384,7 +11430,7 @@ function _arrayWithHoles(arr) {
/***/ }), /***/ }),
/***/ 35: /***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -11395,7 +11441,7 @@ function _nonIterableRest() {
/***/ }), /***/ }),
/***/ 40: /***/ 42:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["isShallowEqual"]; }()); (function() { module.exports = this["wp"]["isShallowEqual"]; }());
@ -12610,18 +12656,25 @@ else {}
/***/ }), /***/ }),
/***/ 53: /***/ 57:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["htmlEntities"]; }()); (function() { module.exports = this["wp"]["htmlEntities"]; }());
/***/ }), /***/ }),
/***/ 59: /***/ 6:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["compose"]; }());
/***/ }),
/***/ 65:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var rng = __webpack_require__(79); var rng = __webpack_require__(87);
var bytesToUuid = __webpack_require__(80); var bytesToUuid = __webpack_require__(88);
function v4(options, buf, offset) { function v4(options, buf, offset) {
var i = buf && offset || 0; var i = buf && offset || 0;
@ -12653,7 +12706,7 @@ module.exports = v4;
/***/ }), /***/ }),
/***/ 60: /***/ 66:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["autop"]; }()); (function() { module.exports = this["wp"]["autop"]; }());
@ -12661,13 +12714,34 @@ module.exports = v4;
/***/ }), /***/ }),
/***/ 7: /***/ 7:
/***/ (function(module, exports) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
(function() { module.exports = this["wp"]["compose"]; }()); "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
});
}
return target;
}
/***/ }), /***/ }),
/***/ 79: /***/ 87:
/***/ (function(module, exports) { /***/ (function(module, exports) {
// Unique ID creation requires a high quality random # generator. In the // Unique ID creation requires a high quality random # generator. In the
@ -12708,35 +12782,7 @@ if (getRandomValues) {
/***/ }), /***/ }),
/***/ 8: /***/ 88:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
});
}
return target;
}
/***/ }),
/***/ 80:
/***/ (function(module, exports) { /***/ (function(module, exports) {
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 316); /******/ return __webpack_require__(__webpack_require__.s = 368);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -112,7 +112,7 @@ function _classCallCheck(instance, Constructor) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3); /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
@ -206,7 +206,22 @@ function _extends() {
/***/ }), /***/ }),
/***/ 29: /***/ 3:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -229,22 +244,7 @@ function _typeof(obj) {
/***/ }), /***/ }),
/***/ 3: /***/ 368:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 316:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -331,7 +331,7 @@ var getPrototypeOf = __webpack_require__(12);
var inherits = __webpack_require__(13); var inherits = __webpack_require__(13);
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
var external_this_wp_isShallowEqual_ = __webpack_require__(40); var external_this_wp_isShallowEqual_ = __webpack_require__(42);
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/pure/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/pure/index.js
@ -861,7 +861,7 @@ function withState() {
/***/ }), /***/ }),
/***/ 40: /***/ 42:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["isShallowEqual"]; }()); (function() { module.exports = this["wp"]["isShallowEqual"]; }());

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 268); /******/ return __webpack_require__(__webpack_require__.s = 339);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 23: /***/ 24:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["hooks"]; }()); (function() { module.exports = this["wp"]["hooks"]; }());
/***/ }), /***/ }),
/***/ 268: /***/ 339:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23); /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
/** /**
* WordPress dependencies * WordPress dependencies
@ -125,6 +125,20 @@ var logged = Object.create(null);
* @param {?string} options.plugin Plugin name if it's a plugin feature * @param {?string} options.plugin Plugin name if it's a plugin feature
* @param {?string} options.link Link to documentation * @param {?string} options.link Link to documentation
* @param {?string} options.hint Additional message to help transition away from the deprecated feature. * @param {?string} options.hint Additional message to help transition away from the deprecated feature.
*
* @example
* ```js
* import deprecated from '@wordpress/deprecated';
*
* deprecated( 'Eating meat', {
* version: 'the future',
* alternative: 'vegetables',
* plugin: 'the earth',
* hint: 'You may find it beneficial to transition gradually.',
* } );
*
* // Logs: 'Eating meat is deprecated and will be removed from the earth in the future. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'
* ```
*/ */
function deprecated(feature) { function deprecated(feature) {

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=268)}({23:function(e,t){!function(){e.exports=this.wp.hooks}()},268:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",function(){return o}),n.d(t,"default",function(){return c});var r=n(23),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,u=t.plugin,i=t.link,a=t.hint,l=u?" from ".concat(u):"",f=n?"".concat(l," in ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",p=i?" See: ".concat(i):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated and will be removed").concat(f,".").concat(d).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=339)}({24:function(e,t){!function(){e.exports=this.wp.hooks}()},339:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",function(){return o}),n.d(t,"default",function(){return c});var r=n(24),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,u=t.plugin,i=t.link,a=t.hint,l=u?" from ".concat(u):"",f=n?"".concat(l," in ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",p=i?" See: ".concat(i):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated and will be removed").concat(f,".").concat(d).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 269); /******/ return __webpack_require__(__webpack_require__.s = 340);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 269: /***/ 340:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -97,6 +97,15 @@ __webpack_require__.r(__webpack_exports__);
* *
* @param {Function} callback A function to execute after the DOM is ready. * @param {Function} callback A function to execute after the DOM is ready.
* *
* @example
* ```js
* import domReady from '@wordpress/dom-ready';
*
* domReady( function() {
* //do something after DOM loads.
* } );
* ```
*
* @return {void} * @return {void}
*/ */
var domReady = function domReady(callback) { var domReady = function domReady(callback) {

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=269)}({269:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).default; this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=340)}({340:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).default;

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 325); /******/ return __webpack_require__(__webpack_require__.s = 379);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 18: /***/ 17:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -103,7 +103,7 @@ function _arrayWithoutHoles(arr) {
} }
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() { function _nonIterableSpread() {
@ -127,7 +127,18 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 325: /***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 379:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -141,7 +152,7 @@ __webpack_require__.d(tabbable_namespaceObject, "isTabbableIndex", function() {
__webpack_require__.d(tabbable_namespaceObject, "find", function() { return tabbable_find; }); __webpack_require__.d(tabbable_namespaceObject, "find", function() { return tabbable_find; });
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(17);
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js // CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js
@ -224,11 +235,19 @@ function find(context) {
}); });
} }
// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2);
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js // CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
/**
* External dependencies
*/
/** /**
* Internal dependencies * Internal dependencies
*/ */
/** /**
* Returns the tab index of the given element. In contrast with the tabIndex * Returns the tab index of the given element. In contrast with the tabIndex
* property, this normalizes the default (0) to avoid browser inconsistencies, * property, this normalizes the default (0) to avoid browser inconsistencies,
@ -258,6 +277,47 @@ function getTabIndex(element) {
function isTabbableIndex(element) { function isTabbableIndex(element) {
return getTabIndex(element) !== -1; return getTabIndex(element) !== -1;
} }
/**
* Returns a stateful reducer function which constructs a filtered array of
* tabbable elements, where at most one radio input is selected for a given
* name, giving priority to checked input, falling back to the first
* encountered.
*
* @return {Function} Radio group collapse reducer.
*/
function createStatefulCollapseRadioGroup() {
var CHOSEN_RADIO_BY_NAME = {};
return function collapseRadioGroup(result, element) {
var nodeName = element.nodeName,
type = element.type,
checked = element.checked,
name = element.name; // For all non-radio tabbables, construct to array by concatenating.
if (nodeName !== 'INPUT' || type !== 'radio' || !name) {
return result.concat(element);
}
var hasChosen = CHOSEN_RADIO_BY_NAME.hasOwnProperty(name); // Omit by skipping concatenation if the radio element is not chosen.
var isChosen = checked || !hasChosen;
if (!isChosen) {
return result;
} // At this point, if there had been a chosen element, the current
// element is checked and should take priority. Retroactively remove
// the element which had previously been considered the chosen one.
if (hasChosen) {
var hadChosenElement = CHOSEN_RADIO_BY_NAME[name];
result = Object(external_lodash_["without"])(result, hadChosenElement);
}
CHOSEN_RADIO_BY_NAME[name] = element;
return result.concat(element);
};
}
/** /**
* An array map callback, returning an object with the element value and its * An array map callback, returning an object with the element value and its
* array index location as properties. This is used to emulate a proper stable * array index location as properties. This is used to emulate a proper stable
@ -270,6 +330,7 @@ function isTabbableIndex(element) {
* @return {Object} Mapped object with element, index. * @return {Object} Mapped object with element, index.
*/ */
function mapElementToObjectTabbable(element, index) { function mapElementToObjectTabbable(element, index) {
return { return {
element: element, element: element,
@ -313,12 +374,9 @@ function compareObjectTabbables(a, b) {
} }
function tabbable_find(context) { function tabbable_find(context) {
return find(context).filter(isTabbableIndex).map(mapElementToObjectTabbable).sort(compareObjectTabbables).map(mapObjectTabbableToElement); return find(context).filter(isTabbableIndex).map(mapElementToObjectTabbable).sort(compareObjectTabbables).map(mapObjectTabbableToElement).reduce(createStatefulCollapseRadioGroup(), []);
} }
// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2);
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom.js // CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom.js
/** /**
* External dependencies * External dependencies
@ -486,7 +544,13 @@ function isVerticalEdge(container, isReverse) {
return true; return true;
} }
var selection = window.getSelection(); var selection = window.getSelection(); // Only consider the selection at the edge if the direction is towards the
// edge.
if (!selection.isCollapsed && isSelectionForward(selection) === isReverse) {
return false;
}
var range = selection.rangeCount ? selection.getRangeAt(0) : null; var range = selection.rangeCount ? selection.getRangeAt(0) : null;
if (!range) { if (!range) {
@ -499,8 +563,15 @@ function isVerticalEdge(container, isReverse) {
return false; return false;
} }
var buffer = rangeRect.height / 2; var editableRect = container.getBoundingClientRect(); // Calculate a buffer that is half the line height. In some browsers, the
var editableRect = container.getBoundingClientRect(); // Too low. // selection rectangle may not fill the entire height of the line, so we add
// half the line height to the selection rectangle to ensure that it is well
// over its line boundary.
var _window$getComputedSt = window.getComputedStyle(container),
lineHeight = _window$getComputedSt.lineHeight;
var buffer = parseInt(lineHeight, 10) / 2; // Too low.
if (isReverse && rangeRect.top - buffer > editableRect.top) { if (isReverse && rangeRect.top - buffer > editableRect.top) {
return false; return false;
@ -838,8 +909,8 @@ function getScrollContainer(node) {
if (node.scrollHeight > node.clientHeight) { if (node.scrollHeight > node.clientHeight) {
// ...except when overflow is defined to be hidden or visible // ...except when overflow is defined to be hidden or visible
var _window$getComputedSt = window.getComputedStyle(node), var _window$getComputedSt2 = window.getComputedStyle(node),
overflowY = _window$getComputedSt.overflowY; overflowY = _window$getComputedSt2.overflowY;
if (/(auto|scroll)/.test(overflowY)) { if (/(auto|scroll)/.test(overflowY)) {
return node; return node;
@ -990,6 +1061,11 @@ function wrap(newNode, referenceNode) {
*/ */
/**
* Object grouping `focusable` and `tabbable` utils
* under the keys with the same name.
*/
var build_module_focus = { var build_module_focus = {
focusable: focusable_namespaceObject, focusable: focusable_namespaceObject,
tabbable: tabbable_namespaceObject tabbable: tabbable_namespaceObject
@ -997,17 +1073,6 @@ var build_module_focus = {
/***/ }),
/***/ 33:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }) /***/ })
/******/ }); /******/ });

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["element"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 320); /******/ return __webpack_require__(__webpack_require__.s = 374);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -160,14 +160,14 @@ function _objectWithoutProperties(source, excluded) {
/***/ }), /***/ }),
/***/ 26: /***/ 27:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["React"]; }()); (function() { module.exports = this["React"]; }());
/***/ }), /***/ }),
/***/ 29: /***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -190,20 +190,20 @@ function _typeof(obj) {
/***/ }), /***/ }),
/***/ 320: /***/ 374:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
var objectWithoutProperties = __webpack_require__(21); var objectWithoutProperties = __webpack_require__(21);
// EXTERNAL MODULE: external "React" // EXTERNAL MODULE: external "React"
var external_React_ = __webpack_require__(26); var external_React_ = __webpack_require__(27);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
@ -217,6 +217,10 @@ var external_lodash_ = __webpack_require__(2);
*/ */
/**
* Object that provides utilities for dealing with React children.
*/
/** /**
* Creates a copy of an element with extended props. * Creates a copy of an element with extended props.
@ -292,6 +296,60 @@ var external_lodash_ = __webpack_require__(2);
*/ */
/**
* Component that activates additional checks and warnings for its descendants.
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usecallback
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useeffect
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usememo
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#useref
*/
/**
* @see https://reactjs.org/docs/hooks-reference.html#usestate
*/
/** /**
* Concatenate two or more React children objects. * Concatenate two or more React children objects.
@ -347,7 +405,7 @@ function switchChildrenNodeName(children, nodeName) {
} }
// EXTERNAL MODULE: external "ReactDOM" // EXTERNAL MODULE: external "ReactDOM"
var external_ReactDOM_ = __webpack_require__(48); var external_ReactDOM_ = __webpack_require__(52);
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
/** /**
@ -413,10 +471,10 @@ var utils_isEmptyElement = function isEmptyElement(element) {
}; };
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(29); var esm_typeof = __webpack_require__(32);
// EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]}
var external_this_wp_escapeHtml_ = __webpack_require__(63); var external_this_wp_escapeHtml_ = __webpack_require__(69);
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
@ -945,6 +1003,16 @@ function renderStyle(style) {
/* concated harmony reexport Fragment */__webpack_require__.d(__webpack_exports__, "Fragment", function() { return external_React_["Fragment"]; }); /* concated harmony reexport Fragment */__webpack_require__.d(__webpack_exports__, "Fragment", function() { return external_React_["Fragment"]; });
/* concated harmony reexport isValidElement */__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return external_React_["isValidElement"]; }); /* concated harmony reexport isValidElement */__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return external_React_["isValidElement"]; });
/* concated harmony reexport StrictMode */__webpack_require__.d(__webpack_exports__, "StrictMode", function() { return external_React_["StrictMode"]; }); /* concated harmony reexport StrictMode */__webpack_require__.d(__webpack_exports__, "StrictMode", function() { return external_React_["StrictMode"]; });
/* concated harmony reexport useCallback */__webpack_require__.d(__webpack_exports__, "useCallback", function() { return external_React_["useCallback"]; });
/* concated harmony reexport useContext */__webpack_require__.d(__webpack_exports__, "useContext", function() { return external_React_["useContext"]; });
/* concated harmony reexport useDebugValue */__webpack_require__.d(__webpack_exports__, "useDebugValue", function() { return external_React_["useDebugValue"]; });
/* concated harmony reexport useEffect */__webpack_require__.d(__webpack_exports__, "useEffect", function() { return external_React_["useEffect"]; });
/* concated harmony reexport useImperativeHandle */__webpack_require__.d(__webpack_exports__, "useImperativeHandle", function() { return external_React_["useImperativeHandle"]; });
/* concated harmony reexport useLayoutEffect */__webpack_require__.d(__webpack_exports__, "useLayoutEffect", function() { return external_React_["useLayoutEffect"]; });
/* concated harmony reexport useMemo */__webpack_require__.d(__webpack_exports__, "useMemo", function() { return external_React_["useMemo"]; });
/* concated harmony reexport useReducer */__webpack_require__.d(__webpack_exports__, "useReducer", function() { return external_React_["useReducer"]; });
/* concated harmony reexport useRef */__webpack_require__.d(__webpack_exports__, "useRef", function() { return external_React_["useRef"]; });
/* concated harmony reexport useState */__webpack_require__.d(__webpack_exports__, "useState", function() { return external_React_["useState"]; });
/* concated harmony reexport concatChildren */__webpack_require__.d(__webpack_exports__, "concatChildren", function() { return concatChildren; }); /* concated harmony reexport concatChildren */__webpack_require__.d(__webpack_exports__, "concatChildren", function() { return concatChildren; });
/* concated harmony reexport switchChildrenNodeName */__webpack_require__.d(__webpack_exports__, "switchChildrenNodeName", function() { return switchChildrenNodeName; }); /* concated harmony reexport switchChildrenNodeName */__webpack_require__.d(__webpack_exports__, "switchChildrenNodeName", function() { return switchChildrenNodeName; });
/* concated harmony reexport createPortal */__webpack_require__.d(__webpack_exports__, "createPortal", function() { return external_ReactDOM_["createPortal"]; }); /* concated harmony reexport createPortal */__webpack_require__.d(__webpack_exports__, "createPortal", function() { return external_ReactDOM_["createPortal"]; });
@ -963,21 +1031,21 @@ function renderStyle(style) {
/***/ }), /***/ }),
/***/ 48: /***/ 52:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["ReactDOM"]; }()); (function() { module.exports = this["ReactDOM"]; }());
/***/ }), /***/ }),
/***/ 63: /***/ 69:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["escapeHtml"]; }()); (function() { module.exports = this["wp"]["escapeHtml"]; }());
/***/ }), /***/ }),
/***/ 8: /***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,22 +82,45 @@ this["wp"] = this["wp"] || {}; this["wp"]["escapeHtml"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 275); /******/ return __webpack_require__(__webpack_require__.s = 381);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 275: /***/ 381:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/escape-greater.js
/**
* Returns a string with greater-than sign replaced.
*
* Note that if a resolution for Trac#45387 comes to fruition, it is no longer
* necessary for `__unstableEscapeGreaterThan` to exist.
*
* See: https://core.trac.wordpress.org/ticket/45387
*
* @param {string} value Original string.
*
* @return {string} Escaped string.
*/
function __unstableEscapeGreaterThan(value) {
return value.replace(/>/g, '&gt;');
}
// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/index.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeAmpersand", function() { return escapeAmpersand; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeAmpersand", function() { return escapeAmpersand; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeQuotationMark", function() { return escapeQuotationMark; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeQuotationMark", function() { return escapeQuotationMark; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeLessThan", function() { return escapeLessThan; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeLessThan", function() { return escapeLessThan; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeAttribute", function() { return escapeAttribute; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeAttribute", function() { return escapeAttribute; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeHTML", function() { return escapeHTML; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "escapeHTML", function() { return escapeHTML; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isValidAttributeName", function() { return isValidAttributeName; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isValidAttributeName", function() { return isValidAttributeName; });
/**
* Internal dependencies
*/
/** /**
* Regular expression matching invalid attribute names. * Regular expression matching invalid attribute names.
* *
@ -109,6 +132,7 @@ __webpack_require__.r(__webpack_exports__);
* *
* @type {RegExp} * @type {RegExp}
*/ */
var REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/; var REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
/** /**
* Returns a string with ampersands escaped. Note that this is an imperfect * Returns a string with ampersands escaped. Note that this is an imperfect
@ -158,13 +182,21 @@ function escapeLessThan(value) {
* "[...] the text cannot contain an ambiguous ampersand [...] must not contain * "[...] the text cannot contain an ambiguous ampersand [...] must not contain
* any literal U+0022 QUOTATION MARK characters (")" * any literal U+0022 QUOTATION MARK characters (")"
* *
* Note we also escape the greater than symbol, as this is used by wptexturize to
* split HTML strings. This is a WordPress specific fix
*
* Note that if a resolution for Trac#45387 comes to fruition, it is no longer
* necessary for `__unstableEscapeGreaterThan` to be used.
*
* See: https://core.trac.wordpress.org/ticket/45387
*
* @param {string} value Attribute value. * @param {string} value Attribute value.
* *
* @return {string} Escaped attribute value. * @return {string} Escaped attribute value.
*/ */
function escapeAttribute(value) { function escapeAttribute(value) {
return escapeQuotationMark(escapeAmpersand(value)); return __unstableEscapeGreaterThan(escapeQuotationMark(escapeAmpersand(value)));
} }
/** /**
* Returns an escaped HTML element value. * Returns an escaped HTML element value.

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=275)}({275:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",function(){return u}),n.d(t,"escapeQuotationMark",function(){return o}),n.d(t,"escapeLessThan",function(){return i}),n.d(t,"escapeAttribute",function(){return c}),n.d(t,"escapeHTML",function(){return f}),n.d(t,"isValidAttributeName",function(){return a});var r=/[\u007F-\u009F "'>\/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function o(e){return e.replace(/"/g,"&quot;")}function i(e){return e.replace(/</g,"&lt;")}function c(e){return o(u(e))}function f(e){return i(u(e))}function a(e){return!r.test(e)}}}); this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=381)}({381:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",function(){return u}),n.d(t,"escapeQuotationMark",function(){return o}),n.d(t,"escapeLessThan",function(){return i}),n.d(t,"escapeAttribute",function(){return c}),n.d(t,"escapeHTML",function(){return f}),n.d(t,"isValidAttributeName",function(){return a});var r=/[\u007F-\u009F "'>\/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function o(e){return e.replace(/"/g,"&quot;")}function i(e){return e.replace(/</g,"&lt;")}function c(e){return function(e){return e.replace(/>/g,"&gt;")}(o(u(e)))}function f(e){return i(u(e))}function a(e){return!r.test(e)}}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 313); /******/ return __webpack_require__(__webpack_require__.s = 367);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -119,7 +119,7 @@ function _classCallCheck(instance, Constructor) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3); /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
@ -261,7 +261,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
/***/ }), /***/ }),
/***/ 17: /***/ 18:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["keycodes"]; }()); (function() { module.exports = this["wp"]["keycodes"]; }());
@ -326,14 +326,29 @@ function _objectWithoutProperties(source, excluded) {
/***/ }), /***/ }),
/***/ 22: /***/ 23:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["url"]; }()); (function() { module.exports = this["wp"]["url"]; }());
/***/ }), /***/ }),
/***/ 29: /***/ 3:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -356,22 +371,7 @@ function _typeof(obj) {
/***/ }), /***/ }),
/***/ 3: /***/ 367:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 313:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -389,8 +389,8 @@ var external_this_wp_element_ = __webpack_require__(0);
// EXTERNAL MODULE: external {"this":["wp","i18n"]} // EXTERNAL MODULE: external {"this":["wp","i18n"]}
var external_this_wp_i18n_ = __webpack_require__(1); var external_this_wp_i18n_ = __webpack_require__(1);
// EXTERNAL MODULE: external {"this":["wp","editor"]} // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
var external_this_wp_editor_ = __webpack_require__(6); var external_this_wp_blockEditor_ = __webpack_require__(8);
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
@ -419,11 +419,11 @@ var bold = {
})); }));
}; };
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "primary", type: "primary",
character: "b", character: "b",
onUse: onToggle onUse: onToggle
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextToolbarButton"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: "bold", name: "bold",
icon: "editor-bold", icon: "editor-bold",
title: Object(external_this_wp_i18n_["__"])('Bold'), title: Object(external_this_wp_i18n_["__"])('Bold'),
@ -431,7 +431,7 @@ var bold = {
isActive: isActive, isActive: isActive,
shortcutType: "primary", shortcutType: "primary",
shortcutCharacter: "b" shortcutCharacter: "b"
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["UnstableRichTextInputEvent"], {
inputType: "formatBold", inputType: "formatBold",
onInput: onToggle onInput: onToggle
})); }));
@ -447,6 +447,7 @@ var bold = {
var code_name = 'core/code'; var code_name = 'core/code';
var code = { var code = {
name: code_name, name: code_name,
@ -455,7 +456,8 @@ var code = {
className: null, className: null,
edit: function edit(_ref) { edit: function edit(_ref) {
var value = _ref.value, var value = _ref.value,
onChange = _ref.onChange; onChange = _ref.onChange,
isActive = _ref.isActive;
var onToggle = function onToggle() { var onToggle = function onToggle() {
return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
@ -463,16 +465,23 @@ var code = {
})); }));
}; };
return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "access", type: "access",
character: "x", character: "x",
onUse: onToggle onUse: onToggle
}); }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
icon: "editor-code",
title: Object(external_this_wp_i18n_["__"])('Code'),
onClick: onToggle,
isActive: isActive,
shortcutType: "access",
shortcutCharacter: "x"
}));
} }
}; };
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
var classCallCheck = __webpack_require__(10); var classCallCheck = __webpack_require__(10);
@ -496,7 +505,7 @@ var assertThisInitialized = __webpack_require__(3);
var external_this_wp_components_ = __webpack_require__(4); var external_this_wp_components_ = __webpack_require__(4);
// EXTERNAL MODULE: external {"this":["wp","keycodes"]} // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
var external_this_wp_keycodes_ = __webpack_require__(17); var external_this_wp_keycodes_ = __webpack_require__(18);
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
@ -595,14 +604,13 @@ var image_image = {
var _this$props = this.props, var _this$props = this.props,
value = _this$props.value, value = _this$props.value,
onChange = _this$props.onChange, onChange = _this$props.onChange,
isActive = _this$props.isActive, isObjectActive = _this$props.isObjectActive,
activeAttributes = _this$props.activeAttributes; activeObjectAttributes = _this$props.activeObjectAttributes;
var style = activeAttributes.style; // Rerender PositionedAtSelection when the selection changes or when var style = activeObjectAttributes.style; // Rerender PositionedAtSelection when the selection changes or when
// the width changes. // the width changes.
var key = value.start + style; var key = value.start + style;
return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextInserterItem"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: image_name,
icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
xmlns: "http://www.w3.org/2000/svg", xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24" viewBox: "0 0 24 24"
@ -610,8 +618,9 @@ var image_image = {
d: "M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z" d: "M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"
})), })),
title: Object(external_this_wp_i18n_["__"])('Inline Image'), title: Object(external_this_wp_i18n_["__"])('Inline Image'),
onClick: this.openModal onClick: this.openModal,
}), this.state.modal && Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["MediaUpload"], { isActive: isObjectActive
}), this.state.modal && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
allowedTypes: ALLOWED_MEDIA_TYPES, allowedTypes: ALLOWED_MEDIA_TYPES,
onSelect: function onSelect(_ref) { onSelect: function onSelect(_ref) {
var id = _ref.id, var id = _ref.id,
@ -637,31 +646,30 @@ var image_image = {
open(); open();
return null; return null;
} }
}), isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PositionedAtSelection"], { }), isObjectActive && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PositionedAtSelection"], {
key: key key: key
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], {
position: "bottom center", position: "bottom center",
focusOnMount: false focusOnMount: false
}, Object(external_this_wp_element_["createElement"])("form", { }, Object(external_this_wp_element_["createElement"])("form", {
className: "editor-format-toolbar__image-container-content", className: "editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",
onKeyPress: stopKeyPropagation, onKeyPress: stopKeyPropagation,
onKeyDown: this.onKeyDown, onKeyDown: this.onKeyDown,
onSubmit: function onSubmit(event) { onSubmit: function onSubmit(event) {
var newFormats = value.formats.slice(0); var newReplacements = value.replacements.slice();
newFormats[value.start] = [{ newReplacements[value.start] = {
type: image_name, type: image_name,
object: true, attributes: Object(objectSpread["a" /* default */])({}, activeObjectAttributes, {
attributes: Object(objectSpread["a" /* default */])({}, activeAttributes, {
style: "width: ".concat(_this2.state.width, "px;") style: "width: ".concat(_this2.state.width, "px;")
}) })
}]; };
onChange(Object(objectSpread["a" /* default */])({}, value, { onChange(Object(objectSpread["a" /* default */])({}, value, {
formats: newFormats replacements: newReplacements
})); }));
event.preventDefault(); event.preventDefault();
} }
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
className: "editor-format-toolbar__image-container-value", className: "editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",
type: "number", type: "number",
label: Object(external_this_wp_i18n_["__"])('Width'), label: Object(external_this_wp_i18n_["__"])('Width'),
value: this.state.width, value: this.state.width,
@ -676,7 +684,7 @@ var image_image = {
}], [{ }], [{
key: "getDerivedStateFromProps", key: "getDerivedStateFromProps",
value: function getDerivedStateFromProps(props, state) { value: function getDerivedStateFromProps(props, state) {
var style = props.activeAttributes.style; var style = props.activeObjectAttributes.style;
if (style === state.previousStyle) { if (style === state.previousStyle) {
return null; return null;
@ -727,11 +735,11 @@ var italic = {
})); }));
}; };
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "primary", type: "primary",
character: "i", character: "i",
onUse: onToggle onUse: onToggle
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextToolbarButton"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: "italic", name: "italic",
icon: "editor-italic", icon: "editor-italic",
title: Object(external_this_wp_i18n_["__"])('Italic'), title: Object(external_this_wp_i18n_["__"])('Italic'),
@ -739,7 +747,7 @@ var italic = {
isActive: isActive, isActive: isActive,
shortcutType: "primary", shortcutType: "primary",
shortcutCharacter: "i" shortcutCharacter: "i"
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["UnstableRichTextInputEvent"], {
inputType: "formatItalic", inputType: "formatItalic",
onInput: onToggle onInput: onToggle
})); }));
@ -747,7 +755,7 @@ var italic = {
}; };
// EXTERNAL MODULE: external {"this":["wp","url"]} // EXTERNAL MODULE: external {"this":["wp","url"]}
var external_this_wp_url_ = __webpack_require__(22); var external_this_wp_url_ = __webpack_require__(23);
// EXTERNAL MODULE: ./node_modules/classnames/index.js // EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(16); var classnames = __webpack_require__(16);
@ -912,11 +920,11 @@ var inline_LinkEditor = function LinkEditor(_ref) {
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
Object(external_this_wp_element_["createElement"])("form", { Object(external_this_wp_element_["createElement"])("form", {
className: "editor-format-toolbar__link-container-content", className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",
onKeyPress: inline_stopKeyPropagation, onKeyPress: inline_stopKeyPropagation,
onKeyDown: onKeyDown, onKeyDown: onKeyDown,
onSubmit: submitLink onSubmit: submitLink
}, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["URLInput"], { }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], {
value: value, value: value,
onChange: onChangeInputValue, onChange: onChangeInputValue,
autocompleteRef: autocompleteRef autocompleteRef: autocompleteRef
@ -933,7 +941,7 @@ var inline_LinkEditor = function LinkEditor(_ref) {
var inline_LinkViewerUrl = function LinkViewerUrl(_ref2) { var inline_LinkViewerUrl = function LinkViewerUrl(_ref2) {
var url = _ref2.url; var url = _ref2.url;
var prependedURL = Object(external_this_wp_url_["prependHTTP"])(url); var prependedURL = Object(external_this_wp_url_["prependHTTP"])(url);
var linkClassName = classnames_default()('editor-format-toolbar__link-container-value', { var linkClassName = classnames_default()('editor-format-toolbar__link-container-value block-editor-format-toolbar__link-container-value', {
'has-invalid-link': !isValidHref(prependedURL) 'has-invalid-link': !isValidHref(prependedURL)
}); });
@ -956,7 +964,7 @@ var inline_LinkViewer = function LinkViewer(_ref3) {
/* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable jsx-a11y/no-static-element-interactions */
Object(external_this_wp_element_["createElement"])("div", { Object(external_this_wp_element_["createElement"])("div", {
className: "editor-format-toolbar__link-container-content", className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",
onKeyPress: inline_stopKeyPropagation onKeyPress: inline_stopKeyPropagation
}, Object(external_this_wp_element_["createElement"])(inline_LinkViewerUrl, { }, Object(external_this_wp_element_["createElement"])(inline_LinkViewerUrl, {
url: url url: url
@ -1125,7 +1133,7 @@ function (_Component) {
key: "".concat(value.start).concat(value.end) key: "".concat(value.start).concat(value.end)
/* Used to force rerender on selection change */ /* Used to force rerender on selection change */
}, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["URLPopover"], { }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], {
onClickOutside: this.onClickOutside, onClickOutside: this.onClickOutside,
onClose: this.resetState, onClose: this.resetState,
focusOnMount: showInput ? 'firstElement' : false, focusOnMount: showInput ? 'firstElement' : false,
@ -1277,23 +1285,23 @@ var link_link = {
activeAttributes = _this$props3.activeAttributes, activeAttributes = _this$props3.activeAttributes,
value = _this$props3.value, value = _this$props3.value,
onChange = _this$props3.onChange; onChange = _this$props3.onChange;
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "access", type: "access",
character: "a", character: "a",
onUse: this.addLink onUse: this.addLink
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "access", type: "access",
character: "s", character: "s",
onUse: this.onRemoveFormat onUse: this.onRemoveFormat
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "primary", type: "primary",
character: "k", character: "k",
onUse: this.addLink onUse: this.addLink
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "primaryShift", type: "primaryShift",
character: "k", character: "k",
onUse: this.onRemoveFormat onUse: this.onRemoveFormat
}), isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextToolbarButton"], { }), isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: "link", name: "link",
icon: "editor-unlink", icon: "editor-unlink",
title: Object(external_this_wp_i18n_["__"])('Unlink'), title: Object(external_this_wp_i18n_["__"])('Unlink'),
@ -1301,7 +1309,7 @@ var link_link = {
isActive: isActive, isActive: isActive,
shortcutType: "primaryShift", shortcutType: "primaryShift",
shortcutCharacter: "k" shortcutCharacter: "k"
}), !isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextToolbarButton"], { }), !isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: "link", name: "link",
icon: "admin-links", icon: "admin-links",
title: Object(external_this_wp_i18n_["__"])('Link'), title: Object(external_this_wp_i18n_["__"])('Link'),
@ -1338,7 +1346,7 @@ var strikethrough_name = 'core/strikethrough';
var strikethrough = { var strikethrough = {
name: strikethrough_name, name: strikethrough_name,
title: Object(external_this_wp_i18n_["__"])('Strikethrough'), title: Object(external_this_wp_i18n_["__"])('Strikethrough'),
tagName: 'del', tagName: 's',
className: null, className: null,
edit: function edit(_ref) { edit: function edit(_ref) {
var isActive = _ref.isActive, var isActive = _ref.isActive,
@ -1351,12 +1359,11 @@ var strikethrough = {
})); }));
}; };
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "access", type: "access",
character: "d", character: "d",
onUse: onToggle onUse: onToggle
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextToolbarButton"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
name: "strikethrough",
icon: "editor-strikethrough", icon: "editor-strikethrough",
title: Object(external_this_wp_i18n_["__"])('Strikethrough'), title: Object(external_this_wp_i18n_["__"])('Strikethrough'),
onClick: onToggle, onClick: onToggle,
@ -1399,11 +1406,11 @@ var underline = {
})); }));
}; };
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["RichTextShortcut"], { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
type: "primary", type: "primary",
character: "u", character: "u",
onUse: onToggle onUse: onToggle
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["UnstableRichTextInputEvent"], {
inputType: "formatUnderline", inputType: "formatUnderline",
onInput: onToggle onInput: onToggle
})); }));
@ -1452,14 +1459,7 @@ default_formats.forEach(function (_ref) {
/***/ }), /***/ }),
/***/ 6: /***/ 7:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["editor"]; }());
/***/ }),
/***/ 8:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -1487,6 +1487,13 @@ function _objectSpread(target) {
/***/ }), /***/ }),
/***/ 8:
/***/ (function(module, exports) {
(function() { module.exports = this["wp"]["blockEditor"]; }());
/***/ }),
/***/ 9: /***/ 9:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 315); /******/ return __webpack_require__(__webpack_require__.s = 366);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 315: /***/ 366:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.hooks=function(n){var r={};function e(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=r,e.d=function(n,r,t){e.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,r){if(1&r&&(n=e(n)),8&r)return n;if(4&r&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&r&&"string"!=typeof n)for(var o in n)e.d(t,o,function(r){return n[r]}.bind(null,o));return t},e.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(r,"a",r),r},e.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},e.p="",e(e.s=315)}({315:function(n,r,e){"use strict";e.r(r);var t=function(n){return"string"!=typeof n||""===n?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(n)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(n){return"string"!=typeof n||""===n?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(n)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(n)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(n){return function(r,e,i){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var l,a=n[r].handlers;for(l=a.length;l>0&&!(u>=a[l-1].priority);l--);l===a.length?a[l]=c:a.splice(l,0,c),(n.__current||[]).forEach(function(n){n.name===r&&n.currentIndex>=l&&n.currentIndex++})}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,l=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach(function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--}))},a=c.length-1;a>=0;a--)l(a);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r){return r in n}};var l=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;for(var t=n[e].handlers,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];if(!t||!t.length)return r?i[0]:void 0;var c={name:e,currentIndex:0};for(n.__current.push(c);c.currentIndex<t.length;){var l=t[c.currentIndex].callback.apply(null,i);r&&(i[0]=l),c.currentIndex++}return n.__current.pop(),r?i[0]:void 0}};var a=function(n){return function(){return n.__current&&n.__current.length?n.__current[n.__current.length-1].name:null}};var d=function(n){return function(r){return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}};var s=function(n){return function(r){if(o(r))return n[r]&&n[r].runs?n[r].runs:0}};var f=function(){var n=Object.create(null),r=Object.create(null);return n.__current=[],r.__current=[],{addAction:i(n),addFilter:i(r),removeAction:u(n),removeFilter:u(r),hasAction:c(n),hasFilter:c(r),removeAllActions:u(n,!0),removeAllFilters:u(r,!0),doAction:l(n),applyFilters:l(r,!0),currentAction:a(n),currentFilter:a(r),doingAction:d(n),doingFilter:d(r),didAction:s(n),didFilter:s(r),actions:n,filters:r}};e.d(r,"addAction",function(){return p}),e.d(r,"addFilter",function(){return v}),e.d(r,"removeAction",function(){return m}),e.d(r,"removeFilter",function(){return _}),e.d(r,"hasAction",function(){return A}),e.d(r,"hasFilter",function(){return y}),e.d(r,"removeAllActions",function(){return b}),e.d(r,"removeAllFilters",function(){return g}),e.d(r,"doAction",function(){return F}),e.d(r,"applyFilters",function(){return k}),e.d(r,"currentAction",function(){return x}),e.d(r,"currentFilter",function(){return j}),e.d(r,"doingAction",function(){return I}),e.d(r,"doingFilter",function(){return O}),e.d(r,"didAction",function(){return T}),e.d(r,"didFilter",function(){return w}),e.d(r,"actions",function(){return P}),e.d(r,"filters",function(){return S}),e.d(r,"createHooks",function(){return f});var h=f(),p=h.addAction,v=h.addFilter,m=h.removeAction,_=h.removeFilter,A=h.hasAction,y=h.hasFilter,b=h.removeAllActions,g=h.removeAllFilters,F=h.doAction,k=h.applyFilters,x=h.currentAction,j=h.currentFilter,I=h.doingAction,O=h.doingFilter,T=h.didAction,w=h.didFilter,P=h.actions,S=h.filters}}); this.wp=this.wp||{},this.wp.hooks=function(n){var r={};function e(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=r,e.d=function(n,r,t){e.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,r){if(1&r&&(n=e(n)),8&r)return n;if(4&r&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&r&&"string"!=typeof n)for(var o in n)e.d(t,o,function(r){return n[r]}.bind(null,o));return t},e.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(r,"a",r),r},e.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},e.p="",e(e.s=366)}({366:function(n,r,e){"use strict";e.r(r);var t=function(n){return"string"!=typeof n||""===n?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(n)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(n){return"string"!=typeof n||""===n?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(n)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(n)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(n){return function(r,e,i){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var l,a=n[r].handlers;for(l=a.length;l>0&&!(u>=a[l-1].priority);l--);l===a.length?a[l]=c:a.splice(l,0,c),(n.__current||[]).forEach(function(n){n.name===r&&n.currentIndex>=l&&n.currentIndex++})}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,l=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach(function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--}))},a=c.length-1;a>=0;a--)l(a);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r){return r in n}};var l=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;for(var t=n[e].handlers,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];if(!t||!t.length)return r?i[0]:void 0;var c={name:e,currentIndex:0};for(n.__current.push(c);c.currentIndex<t.length;){var l=t[c.currentIndex].callback.apply(null,i);r&&(i[0]=l),c.currentIndex++}return n.__current.pop(),r?i[0]:void 0}};var a=function(n){return function(){return n.__current&&n.__current.length?n.__current[n.__current.length-1].name:null}};var d=function(n){return function(r){return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}};var s=function(n){return function(r){if(o(r))return n[r]&&n[r].runs?n[r].runs:0}};var f=function(){var n=Object.create(null),r=Object.create(null);return n.__current=[],r.__current=[],{addAction:i(n),addFilter:i(r),removeAction:u(n),removeFilter:u(r),hasAction:c(n),hasFilter:c(r),removeAllActions:u(n,!0),removeAllFilters:u(r,!0),doAction:l(n),applyFilters:l(r,!0),currentAction:a(n),currentFilter:a(r),doingAction:d(n),doingFilter:d(r),didAction:s(n),didFilter:s(r),actions:n,filters:r}};e.d(r,"addAction",function(){return p}),e.d(r,"addFilter",function(){return v}),e.d(r,"removeAction",function(){return m}),e.d(r,"removeFilter",function(){return _}),e.d(r,"hasAction",function(){return A}),e.d(r,"hasFilter",function(){return y}),e.d(r,"removeAllActions",function(){return b}),e.d(r,"removeAllFilters",function(){return g}),e.d(r,"doAction",function(){return F}),e.d(r,"applyFilters",function(){return k}),e.d(r,"currentAction",function(){return x}),e.d(r,"currentFilter",function(){return j}),e.d(r,"doingAction",function(){return I}),e.d(r,"doingFilter",function(){return O}),e.d(r,"didAction",function(){return T}),e.d(r,"didFilter",function(){return w}),e.d(r,"actions",function(){return P}),e.d(r,"filters",function(){return S}),e.d(r,"createHooks",function(){return f});var h=f(),p=h.addAction,v=h.addFilter,m=h.removeAction,_=h.removeFilter,A=h.hasAction,y=h.hasFilter,b=h.removeAllActions,g=h.removeAllFilters,F=h.doAction,k=h.applyFilters,x=h.currentAction,j=h.currentFilter,I=h.doingAction,O=h.doingFilter,T=h.didAction,w=h.didFilter,P=h.actions,S=h.filters}});

View File

@ -82,18 +82,32 @@ this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 276); /******/ return __webpack_require__(__webpack_require__.s = 342);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 276: /***/ 342:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; });
var _decodeTextArea; var _decodeTextArea;
/**
* Decodes the HTML entities from a given string.
*
* @param {string} html String that contain HTML entities.
*
* @example
* ```js
* const result = decodeEntities( '&aacute;' );
* console.log( result ); // result will be "á"
* ```
*
* @return {string} The decoded string.
*/
function decodeEntities(html) { function decodeEntities(html) {
// not a string, or no entities to decode // not a string, or no entities to decode

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=276)}({276:function(e,t,n){"use strict";var r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;var t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",function(){return o})}}); this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=342)}({342:function(e,t,n){"use strict";var r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;var t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",function(){return o})}});

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 321); /******/ return __webpack_require__(__webpack_require__.s = 376);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 126: /***/ 137:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
@ -348,14 +348,14 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 321: /***/ 376:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// CONCATENATED MODULE: ./node_modules/@tannin/postfix/index.js // CONCATENATED MODULE: ./node_modules/@tannin/postfix/index.js
var PRECEDENCE, OPENERS, TERMINATORS, PATTERN; var PRECEDENCE, OPENERS, TERMINATORS, PATTERN;
@ -726,17 +726,28 @@ function Tannin( data, options ) {
*/ */
Tannin.prototype.getPluralForm = function( domain, n ) { Tannin.prototype.getPluralForm = function( domain, n ) {
var getPluralForm = this.pluralForms[ domain ], var getPluralForm = this.pluralForms[ domain ],
config, plural; config, plural, pf;
if ( ! getPluralForm ) { if ( ! getPluralForm ) {
config = this.data[ domain ][ '' ]; config = this.data[ domain ][ '' ];
plural = getPluralExpression(
pf = (
config[ 'Plural-Forms' ] || config[ 'Plural-Forms' ] ||
config[ 'plural-forms' ] || config[ 'plural-forms' ] ||
config.plural_forms config.plural_forms
); );
getPluralForm = this.pluralForms[ domain ] = pluralForms( plural ); if ( typeof pf !== 'function' ) {
plural = getPluralExpression(
config[ 'Plural-Forms' ] ||
config[ 'plural-forms' ] ||
config.plural_forms
);
pf = pluralForms( plural );
}
getPluralForm = this.pluralForms[ domain ] = pf;
} }
return getPluralForm( n ); return getPluralForm( n );
@ -789,11 +800,11 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n )
}; };
// EXTERNAL MODULE: ./node_modules/memize/index.js // EXTERNAL MODULE: ./node_modules/memize/index.js
var memize = __webpack_require__(38); var memize = __webpack_require__(41);
var memize_default = /*#__PURE__*/__webpack_require__.n(memize); var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
// EXTERNAL MODULE: ./node_modules/@wordpress/i18n/node_modules/sprintf-js/src/sprintf.js // EXTERNAL MODULE: ./node_modules/@wordpress/i18n/node_modules/sprintf-js/src/sprintf.js
var sprintf = __webpack_require__(126); var sprintf = __webpack_require__(137);
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf); var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js
@ -957,7 +968,7 @@ function _nx(single, plural, number, context, domain) {
* original format string is returned. * original format string is returned.
* *
* @param {string} format The format of the string to generate. * @param {string} format The format of the string to generate.
* @param {string[]} ...args Arguments to apply to the format. * @param {...string} args Arguments to apply to the format.
* *
* @see http://www.diveintojavascript.com/projects/javascript-sprintf * @see http://www.diveintojavascript.com/projects/javascript-sprintf
* *
@ -980,7 +991,7 @@ function build_module_sprintf(format) {
/***/ }), /***/ }),
/***/ 38: /***/ 41:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = function memize( fn, options ) { module.exports = function memize( fn, options ) {
@ -1098,7 +1109,7 @@ module.exports = function memize( fn, options ) {
/***/ }), /***/ }),
/***/ 8: /***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 277); /******/ return __webpack_require__(__webpack_require__.s = 343);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 277: /***/ 343:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
@ -96,8 +96,8 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
/** /**
* Internal dependencies; * Internal dependencies;
*/ */
var isShallowEqualObjects = __webpack_require__( 278 ); var isShallowEqualObjects = __webpack_require__( 344 );
var isShallowEqualArrays = __webpack_require__( 279 ); var isShallowEqualArrays = __webpack_require__( 345 );
var isArray = Array.isArray; var isArray = Array.isArray;
@ -129,7 +129,7 @@ module.exports.isShallowEqualArrays = isShallowEqualArrays;
/***/ }), /***/ }),
/***/ 278: /***/ 344:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
@ -178,7 +178,7 @@ module.exports = isShallowEqualObjects;
/***/ }), /***/ }),
/***/ 279: /***/ 345:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=r,e.c=t,e.d=function(r,t,n){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:n})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var u in r)e.d(n,u,function(t){return r[t]}.bind(null,u));return n},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=277)}({277:function(r,t,e){"use strict";var n=e(278),u=e(279),o=Array.isArray;r.exports=function(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(o(r)&&o(t))return u(r,t)}return r===t},r.exports.isShallowEqualObjects=n,r.exports.isShallowEqualArrays=u},278:function(r,t,e){"use strict";var n=Object.keys;r.exports=function(r,t){var e,u,o,i;if(r===t)return!0;if(e=n(r),u=n(t),e.length!==u.length)return!1;for(o=0;o<e.length;){if(r[i=e[o]]!==t[i])return!1;o++}return!0}},279:function(r,t,e){"use strict";r.exports=function(r,t){var e;if(r===t)return!0;if(r.length!==t.length)return!1;for(e=0;e<r.length;e++)if(r[e]!==t[e])return!1;return!0}}}); this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=r,e.c=t,e.d=function(r,t,n){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:n})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var u in r)e.d(n,u,function(t){return r[t]}.bind(null,u));return n},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=343)}({343:function(r,t,e){"use strict";var n=e(344),u=e(345),o=Array.isArray;r.exports=function(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(o(r)&&o(t))return u(r,t)}return r===t},r.exports.isShallowEqualObjects=n,r.exports.isShallowEqualArrays=u},344:function(r,t,e){"use strict";var n=Object.keys;r.exports=function(r,t){var e,u,o,i;if(r===t)return!0;if(e=n(r),u=n(t),e.length!==u.length)return!1;for(o=0;o<e.length;){if(r[i=e[o]]!==t[i])return!1;o++}return!0}},345:function(r,t,e){"use strict";r.exports=function(r,t){var e;if(r===t)return!0;if(r.length!==t.length)return!1;for(e=0;e<r.length;e++)if(r[e]!==t[e])return!1;return!0}}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 328); /******/ return __webpack_require__(__webpack_require__.s = 382);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -116,7 +116,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 18: /***/ 17:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -132,7 +132,7 @@ function _arrayWithoutHoles(arr) {
} }
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() { function _nonIterableSpread() {
@ -156,7 +156,18 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 328: /***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 382:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -166,7 +177,7 @@ __webpack_require__.r(__webpack_exports__);
var defineProperty = __webpack_require__(15); var defineProperty = __webpack_require__(15);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(17);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
@ -244,21 +255,97 @@ function isAppleOS() {
*/ */
/**
* Keycode for BACKSPACE key.
*/
var BACKSPACE = 8; var BACKSPACE = 8;
/**
* Keycode for TAB key.
*/
var TAB = 9; var TAB = 9;
/**
* Keycode for ENTER key.
*/
var ENTER = 13; var ENTER = 13;
/**
* Keycode for ESCAPE key.
*/
var ESCAPE = 27; var ESCAPE = 27;
/**
* Keycode for SPACE key.
*/
var SPACE = 32; var SPACE = 32;
/**
* Keycode for LEFT key.
*/
var LEFT = 37; var LEFT = 37;
/**
* Keycode for UP key.
*/
var UP = 38; var UP = 38;
/**
* Keycode for RIGHT key.
*/
var RIGHT = 39; var RIGHT = 39;
/**
* Keycode for DOWN key.
*/
var DOWN = 40; var DOWN = 40;
/**
* Keycode for DELETE key.
*/
var DELETE = 46; var DELETE = 46;
/**
* Keycode for F10 key.
*/
var F10 = 121; var F10 = 121;
/**
* Keycode for ALT key.
*/
var ALT = 'alt'; var ALT = 'alt';
/**
* Keycode for CTRL key.
*/
var CTRL = 'ctrl'; var CTRL = 'ctrl';
/**
* Keycode for COMMAND/META key.
*/
var COMMAND = 'meta'; var COMMAND = 'meta';
/**
* Keycode for SHIFT key.
*/
var SHIFT = 'shift'; var SHIFT = 'shift';
/**
* Object that contains functions that return the available modifier
* depending on platform.
*
* - `primary`: takes a isApple function as a parameter.
* - `primaryShift`: takes a isApple function as a parameter.
* - `primaryAlt`: takes a isApple function as a parameter.
* - `secondary`: takes a isApple function as a parameter.
* - `access`: takes a isApple function as a parameter.
* - `ctrl`
* - `alt`
* - `ctrlShift`
* - `shift`
* - `shiftAlt`
*/
var modifiers = { var modifiers = {
primary: function primary(_isApple) { primary: function primary(_isApple) {
return _isApple() ? [COMMAND] : [CTRL]; return _isApple() ? [COMMAND] : [CTRL];
@ -398,17 +485,6 @@ var isKeyboardEvent = Object(external_lodash_["mapValues"])(modifiers, function
}); });
/***/ }),
/***/ 33:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }) /***/ })
/******/ }); /******/ });

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=328)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",function(){return e})},18:function(t,n,r){"use strict";var e=r(33);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",function(){return u})},2:function(t,n){!function(){t.exports=this.lodash}()},328:function(t,n,r){"use strict";r.r(n);var e=r(15),u=r(18),o=r(2),c=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",function(){return a}),r.d(n,"TAB",function(){return f}),r.d(n,"ENTER",function(){return l}),r.d(n,"ESCAPE",function(){return d}),r.d(n,"SPACE",function(){return b}),r.d(n,"LEFT",function(){return s}),r.d(n,"UP",function(){return j}),r.d(n,"RIGHT",function(){return O}),r.d(n,"DOWN",function(){return p}),r.d(n,"DELETE",function(){return y}),r.d(n,"F10",function(){return v}),r.d(n,"ALT",function(){return h}),r.d(n,"CTRL",function(){return m}),r.d(n,"COMMAND",function(){return g}),r.d(n,"SHIFT",function(){return S}),r.d(n,"modifiers",function(){return A}),r.d(n,"rawShortcut",function(){return w}),r.d(n,"displayShortcutList",function(){return C}),r.d(n,"displayShortcut",function(){return P}),r.d(n,"shortcutAriaLabel",function(){return E}),r.d(n,"isKeyboardEvent",function(){return _});var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}}),C=Object(o.mapValues)(A,function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce(function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])},[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}}),P=Object(o.mapValues)(C,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}}),E=Object(o.mapValues)(A,function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map(function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))}).join(f?" ":" + ")}}),_=Object(o.mapValues)(A,function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every(function(t){return n["".concat(t,"Key")]})&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}})},33:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",function(){return e})}}); this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=382)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",function(){return e})},17:function(t,n,r){"use strict";var e=r(34);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",function(){return u})},2:function(t,n){!function(){t.exports=this.lodash}()},34:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",function(){return e})},382:function(t,n,r){"use strict";r.r(n);var e=r(15),u=r(17),o=r(2),c=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",function(){return a}),r.d(n,"TAB",function(){return f}),r.d(n,"ENTER",function(){return l}),r.d(n,"ESCAPE",function(){return d}),r.d(n,"SPACE",function(){return b}),r.d(n,"LEFT",function(){return s}),r.d(n,"UP",function(){return j}),r.d(n,"RIGHT",function(){return O}),r.d(n,"DOWN",function(){return p}),r.d(n,"DELETE",function(){return y}),r.d(n,"F10",function(){return v}),r.d(n,"ALT",function(){return h}),r.d(n,"CTRL",function(){return m}),r.d(n,"COMMAND",function(){return g}),r.d(n,"SHIFT",function(){return S}),r.d(n,"modifiers",function(){return A}),r.d(n,"rawShortcut",function(){return w}),r.d(n,"displayShortcutList",function(){return C}),r.d(n,"displayShortcut",function(){return P}),r.d(n,"shortcutAriaLabel",function(){return E}),r.d(n,"isKeyboardEvent",function(){return _});var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}}),C=Object(o.mapValues)(A,function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce(function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])},[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}}),P=Object(o.mapValues)(C,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}}),E=Object(o.mapValues)(A,function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map(function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))}).join(f?" ":" + ")}}),_=Object(o.mapValues)(A,function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every(function(t){return n["".concat(t,"Key")]})&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}})}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 323); /******/ return __webpack_require__(__webpack_require__.s = 373);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -119,7 +119,7 @@ function _classCallCheck(instance, Constructor) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3); /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
@ -188,7 +188,30 @@ function _inherits(subClass, superClass) {
/***/ }), /***/ }),
/***/ 29: /***/ 26:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(54);
/***/ }),
/***/ 3:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -211,29 +234,14 @@ function _typeof(obj) {
/***/ }), /***/ }),
/***/ 3: /***/ 33:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 31:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["apiFetch"]; }()); (function() { module.exports = this["wp"]["apiFetch"]; }());
/***/ }), /***/ }),
/***/ 323: /***/ 373:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -245,14 +253,18 @@ var external_this_wp_element_ = __webpack_require__(0);
// EXTERNAL MODULE: external {"this":["wp","i18n"]} // EXTERNAL MODULE: external {"this":["wp","i18n"]}
var external_this_wp_i18n_ = __webpack_require__(1); var external_this_wp_i18n_ = __webpack_require__(1);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
var regenerator = __webpack_require__(26);
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41); var asyncToGenerator = __webpack_require__(44);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]} // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
var external_this_wp_apiFetch_ = __webpack_require__(31); var external_this_wp_apiFetch_ = __webpack_require__(33);
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js // CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
@ -302,6 +314,7 @@ function readTextFile(file) {
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/export.js // CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/export.js
/** /**
* External dependencies * External dependencies
*/ */
@ -329,9 +342,9 @@ function exportReusableBlock(_x) {
function _exportReusableBlock() { function _exportReusableBlock() {
_exportReusableBlock = Object(asyncToGenerator["a" /* default */])( _exportReusableBlock = Object(asyncToGenerator["a" /* default */])(
/*#__PURE__*/ /*#__PURE__*/
regeneratorRuntime.mark(function _callee(id) { regenerator_default.a.mark(function _callee(id) {
var postType, post, title, content, fileContent, fileName; var postType, post, title, content, fileContent, fileName;
return regeneratorRuntime.wrap(function _callee$(_context) { return regenerator_default.a.wrap(function _callee$(_context) {
while (1) { while (1) {
switch (_context.prev = _context.next) { switch (_context.prev = _context.next) {
case 0: case 0:
@ -393,11 +406,12 @@ var inherits = __webpack_require__(13);
var assertThisInitialized = __webpack_require__(3); var assertThisInitialized = __webpack_require__(3);
// EXTERNAL MODULE: external {"this":["wp","compose"]} // EXTERNAL MODULE: external {"this":["wp","compose"]}
var external_this_wp_compose_ = __webpack_require__(7); var external_this_wp_compose_ = __webpack_require__(6);
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js // CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js
/** /**
* External dependencies * External dependencies
*/ */
@ -426,9 +440,9 @@ function importReusableBlock(_x) {
function _importReusableBlock() { function _importReusableBlock() {
_importReusableBlock = Object(asyncToGenerator["a" /* default */])( _importReusableBlock = Object(asyncToGenerator["a" /* default */])(
/*#__PURE__*/ /*#__PURE__*/
regeneratorRuntime.mark(function _callee(file) { regenerator_default.a.mark(function _callee(file) {
var fileContent, parsedContent, postType, reusableBlock; var fileContent, parsedContent, postType, reusableBlock;
return regeneratorRuntime.wrap(function _callee$(_context) { return regenerator_default.a.wrap(function _callee$(_context) {
while (1) { while (1) {
switch (_context.prev = _context.next) { switch (_context.prev = _context.next) {
case 0: case 0:
@ -741,7 +755,7 @@ document.addEventListener('DOMContentLoaded', function () {
/***/ }), /***/ }),
/***/ 41: /***/ 44:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -784,7 +798,779 @@ function _asyncToGenerator(fn) {
/***/ }), /***/ }),
/***/ 7: /***/ 54:
/***/ (function(module, exports, __webpack_require__) {
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// This method of obtaining a reference to the global object needs to be
// kept identical to the way it is obtained in runtime.js
var g = (function() {
return this || (typeof self === "object" && self);
})() || Function("return this")();
// Use `getOwnPropertyNames` because not all browsers support calling
// `hasOwnProperty` on the global `self` object in a worker. See #183.
var hadRuntime = g.regeneratorRuntime &&
Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
// Save the old regeneratorRuntime in case it needs to be restored later.
var oldRuntime = hadRuntime && g.regeneratorRuntime;
// Force reevalutation of runtime.js.
g.regeneratorRuntime = undefined;
module.exports = __webpack_require__(55);
if (hadRuntime) {
// Restore the original runtime.
g.regeneratorRuntime = oldRuntime;
} else {
// Remove the global property added by runtime.js.
try {
delete g.regeneratorRuntime;
} catch(e) {
g.regeneratorRuntime = undefined;
}
}
/***/ }),
/***/ 55:
/***/ (function(module, exports) {
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
!(function(global) {
"use strict";
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var undefined; // More compressible than void 0.
var $Symbol = typeof Symbol === "function" ? Symbol : {};
var iteratorSymbol = $Symbol.iterator || "@@iterator";
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
var inModule = typeof module === "object";
var runtime = global.regeneratorRuntime;
if (runtime) {
if (inModule) {
// If regeneratorRuntime is defined globally and we're in a module,
// make the exports object identical to regeneratorRuntime.
module.exports = runtime;
}
// Don't bother evaluating the rest of this file if the runtime was
// already defined globally.
return;
}
// Define the runtime globally (as expected by generated code) as either
// module.exports (if we're in a module) or a new, empty object.
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
function wrap(innerFn, outerFn, self, tryLocsList) {
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
var generator = Object.create(protoGenerator.prototype);
var context = new Context(tryLocsList || []);
// The ._invoke method unifies the implementations of the .next,
// .throw, and .return methods.
generator._invoke = makeInvokeMethod(innerFn, self, context);
return generator;
}
runtime.wrap = wrap;
// Try/catch helper to minimize deoptimizations. Returns a completion
// record like context.tryEntries[i].completion. This interface could
// have been (and was previously) designed to take a closure to be
// invoked without arguments, but in all the cases we care about we
// already have an existing method we want to call, so there's no need
// to create a new function object. We can even get away with assuming
// the method takes exactly one argument, since that happens to be true
// in every case, so we don't have to touch the arguments object. The
// only additional allocation required is the completion record, which
// has a stable shape and so hopefully should be cheap to allocate.
function tryCatch(fn, obj, arg) {
try {
return { type: "normal", arg: fn.call(obj, arg) };
} catch (err) {
return { type: "throw", arg: err };
}
}
var GenStateSuspendedStart = "suspendedStart";
var GenStateSuspendedYield = "suspendedYield";
var GenStateExecuting = "executing";
var GenStateCompleted = "completed";
// Returning this object from the innerFn has the same effect as
// breaking out of the dispatch switch statement.
var ContinueSentinel = {};
// Dummy constructor functions that we use as the .constructor and
// .constructor.prototype properties for functions that return Generator
// objects. For full spec compliance, you may wish to configure your
// minifier not to mangle the names of these two functions.
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
// This is a polyfill for %IteratorPrototype% for environments that
// don't natively support it.
var IteratorPrototype = {};
IteratorPrototype[iteratorSymbol] = function () {
return this;
};
var getProto = Object.getPrototypeOf;
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
if (NativeIteratorPrototype &&
NativeIteratorPrototype !== Op &&
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
// This environment has a native %IteratorPrototype%; use it instead
// of the polyfill.
IteratorPrototype = NativeIteratorPrototype;
}
var Gp = GeneratorFunctionPrototype.prototype =
Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] =
GeneratorFunction.displayName = "GeneratorFunction";
// Helper for defining the .next, .throw, and .return methods of the
// Iterator interface in terms of a single ._invoke method.
function defineIteratorMethods(prototype) {
["next", "throw", "return"].forEach(function(method) {
prototype[method] = function(arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function(genFun) {
var ctor = typeof genFun === "function" && genFun.constructor;
return ctor
? ctor === GeneratorFunction ||
// For the native GeneratorFunction constructor, the best we can
// do is to check its .name property.
(ctor.displayName || ctor.name) === "GeneratorFunction"
: false;
};
runtime.mark = function(genFun) {
if (Object.setPrototypeOf) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
genFun.__proto__ = GeneratorFunctionPrototype;
if (!(toStringTagSymbol in genFun)) {
genFun[toStringTagSymbol] = "GeneratorFunction";
}
}
genFun.prototype = Object.create(Gp);
return genFun;
};
// Within the body of any async function, `await x` is transformed to
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
// `hasOwn.call(value, "__await")` to determine if the yielded value is
// meant to be awaited.
runtime.awrap = function(arg) {
return { __await: arg };
};
function AsyncIterator(generator) {
function invoke(method, arg, resolve, reject) {
var record = tryCatch(generator[method], generator, arg);
if (record.type === "throw") {
reject(record.arg);
} else {
var result = record.arg;
var value = result.value;
if (value &&
typeof value === "object" &&
hasOwn.call(value, "__await")) {
return Promise.resolve(value.__await).then(function(value) {
invoke("next", value, resolve, reject);
}, function(err) {
invoke("throw", err, resolve, reject);
});
}
return Promise.resolve(value).then(function(unwrapped) {
// When a yielded Promise is resolved, its final value becomes
// the .value of the Promise<{value,done}> result for the
// current iteration.
result.value = unwrapped;
resolve(result);
}, function(error) {
// If a rejected Promise was yielded, throw the rejection back
// into the async generator function so it can be handled there.
return invoke("throw", error, resolve, reject);
});
}
}
var previousPromise;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function(resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
return previousPromise =
// If enqueue has been called before, then we want to wait until
// all previous Promises have been resolved before calling invoke,
// so that results are always delivered in the correct order. If
// enqueue has not been called before, then it is important to
// call invoke immediately, without waiting on a callback to fire,
// so that the async generator function has the opportunity to do
// any necessary setup in a predictable way. This predictability
// is why the Promise constructor synchronously invokes its
// executor callback, and why async functions synchronously
// execute code before the first await. Since we implement simple
// async functions in terms of async generators, it is especially
// important to get this right, even though it requires care.
previousPromise ? previousPromise.then(
callInvokeWithMethodAndArg,
// Avoid propagating failures to Promises returned by later
// invocations of the iterator.
callInvokeWithMethodAndArg
) : callInvokeWithMethodAndArg();
}
// Define the unified helper method that is used to implement .next,
// .throw, and .return (see defineIteratorMethods).
this._invoke = enqueue;
}
defineIteratorMethods(AsyncIterator.prototype);
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
return this;
};
runtime.AsyncIterator = AsyncIterator;
// Note that simple async functions are implemented on top of
// AsyncIterator objects; they just return a Promise for the value of
// the final result produced by the iterator.
runtime.async = function(innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(
wrap(innerFn, outerFn, self, tryLocsList)
);
return runtime.isGeneratorFunction(outerFn)
? iter // If outerFn is a generator, return the full iterator.
: iter.next().then(function(result) {
return result.done ? result.value : iter.next();
});
};
function makeInvokeMethod(innerFn, self, context) {
var state = GenStateSuspendedStart;
return function invoke(method, arg) {
if (state === GenStateExecuting) {
throw new Error("Generator is already running");
}
if (state === GenStateCompleted) {
if (method === "throw") {
throw arg;
}
// Be forgiving, per 25.3.3.3.3 of the spec:
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
return doneResult();
}
context.method = method;
context.arg = arg;
while (true) {
var delegate = context.delegate;
if (delegate) {
var delegateResult = maybeInvokeDelegate(delegate, context);
if (delegateResult) {
if (delegateResult === ContinueSentinel) continue;
return delegateResult;
}
}
if (context.method === "next") {
// Setting context._sent for legacy support of Babel's
// function.sent implementation.
context.sent = context._sent = context.arg;
} else if (context.method === "throw") {
if (state === GenStateSuspendedStart) {
state = GenStateCompleted;
throw context.arg;
}
context.dispatchException(context.arg);
} else if (context.method === "return") {
context.abrupt("return", context.arg);
}
state = GenStateExecuting;
var record = tryCatch(innerFn, self, context);
if (record.type === "normal") {
// If an exception is thrown from innerFn, we leave state ===
// GenStateExecuting and loop back for another invocation.
state = context.done
? GenStateCompleted
: GenStateSuspendedYield;
if (record.arg === ContinueSentinel) {
continue;
}
return {
value: record.arg,
done: context.done
};
} else if (record.type === "throw") {
state = GenStateCompleted;
// Dispatch the exception by looping back around to the
// context.dispatchException(context.arg) call above.
context.method = "throw";
context.arg = record.arg;
}
}
};
}
// Call delegate.iterator[context.method](context.arg) and handle the
// result, either by returning a { value, done } result from the
// delegate iterator, or by modifying context.method and context.arg,
// setting context.delegate to null, and returning the ContinueSentinel.
function maybeInvokeDelegate(delegate, context) {
var method = delegate.iterator[context.method];
if (method === undefined) {
// A .throw or .return when the delegate iterator has no .throw
// method always terminates the yield* loop.
context.delegate = null;
if (context.method === "throw") {
if (delegate.iterator.return) {
// If the delegate iterator has a return method, give it a
// chance to clean up.
context.method = "return";
context.arg = undefined;
maybeInvokeDelegate(delegate, context);
if (context.method === "throw") {
// If maybeInvokeDelegate(context) changed context.method from
// "return" to "throw", let that override the TypeError below.
return ContinueSentinel;
}
}
context.method = "throw";
context.arg = new TypeError(
"The iterator does not provide a 'throw' method");
}
return ContinueSentinel;
}
var record = tryCatch(method, delegate.iterator, context.arg);
if (record.type === "throw") {
context.method = "throw";
context.arg = record.arg;
context.delegate = null;
return ContinueSentinel;
}
var info = record.arg;
if (! info) {
context.method = "throw";
context.arg = new TypeError("iterator result is not an object");
context.delegate = null;
return ContinueSentinel;
}
if (info.done) {
// Assign the result of the finished delegate to the temporary
// variable specified by delegate.resultName (see delegateYield).
context[delegate.resultName] = info.value;
// Resume execution at the desired location (see delegateYield).
context.next = delegate.nextLoc;
// If context.method was "throw" but the delegate handled the
// exception, let the outer generator proceed normally. If
// context.method was "next", forget context.arg since it has been
// "consumed" by the delegate iterator. If context.method was
// "return", allow the original .return call to continue in the
// outer generator.
if (context.method !== "return") {
context.method = "next";
context.arg = undefined;
}
} else {
// Re-yield the result returned by the delegate method.
return info;
}
// The delegate iterator is finished, so forget it and continue with
// the outer generator.
context.delegate = null;
return ContinueSentinel;
}
// Define Generator.prototype.{next,throw,return} in terms of the
// unified ._invoke helper method.
defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator";
// A Generator should always return itself as the iterator object when the
// @@iterator function is called on it. Some browsers' implementations of the
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
// See https://github.com/facebook/regenerator/issues/274 for more details.
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function() {
return "[object Generator]";
};
function pushTryEntry(locs) {
var entry = { tryLoc: locs[0] };
if (1 in locs) {
entry.catchLoc = locs[1];
}
if (2 in locs) {
entry.finallyLoc = locs[2];
entry.afterLoc = locs[3];
}
this.tryEntries.push(entry);
}
function resetTryEntry(entry) {
var record = entry.completion || {};
record.type = "normal";
delete record.arg;
entry.completion = record;
}
function Context(tryLocsList) {
// The root entry object (effectively a try statement without a catch
// or a finally block) gives us a place to store values thrown from
// locations where there is no enclosing try statement.
this.tryEntries = [{ tryLoc: "root" }];
tryLocsList.forEach(pushTryEntry, this);
this.reset(true);
}
runtime.keys = function(object) {
var keys = [];
for (var key in object) {
keys.push(key);
}
keys.reverse();
// Rather than returning an object with a next method, we keep
// things simple and return the next function itself.
return function next() {
while (keys.length) {
var key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
// To avoid creating an additional object, we just hang the .value
// and .done properties off the next function object itself. This
// also ensures that the minifier will not anonymize the function.
next.done = true;
return next;
};
};
function values(iterable) {
if (iterable) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) {
return iteratorMethod.call(iterable);
}
if (typeof iterable.next === "function") {
return iterable;
}
if (!isNaN(iterable.length)) {
var i = -1, next = function next() {
while (++i < iterable.length) {
if (hasOwn.call(iterable, i)) {
next.value = iterable[i];
next.done = false;
return next;
}
}
next.value = undefined;
next.done = true;
return next;
};
return next.next = next;
}
}
// Return an iterator with no values.
return { next: doneResult };
}
runtime.values = values;
function doneResult() {
return { value: undefined, done: true };
}
Context.prototype = {
constructor: Context,
reset: function(skipTempReset) {
this.prev = 0;
this.next = 0;
// Resetting context._sent for legacy support of Babel's
// function.sent implementation.
this.sent = this._sent = undefined;
this.done = false;
this.delegate = null;
this.method = "next";
this.arg = undefined;
this.tryEntries.forEach(resetTryEntry);
if (!skipTempReset) {
for (var name in this) {
// Not sure about the optimal order of these conditions:
if (name.charAt(0) === "t" &&
hasOwn.call(this, name) &&
!isNaN(+name.slice(1))) {
this[name] = undefined;
}
}
}
},
stop: function() {
this.done = true;
var rootEntry = this.tryEntries[0];
var rootRecord = rootEntry.completion;
if (rootRecord.type === "throw") {
throw rootRecord.arg;
}
return this.rval;
},
dispatchException: function(exception) {
if (this.done) {
throw exception;
}
var context = this;
function handle(loc, caught) {
record.type = "throw";
record.arg = exception;
context.next = loc;
if (caught) {
// If the dispatched exception was caught by a catch block,
// then let that catch block handle the exception normally.
context.method = "next";
context.arg = undefined;
}
return !! caught;
}
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
var record = entry.completion;
if (entry.tryLoc === "root") {
// Exception thrown outside of any try block that could handle
// it, so set the completion value of the entire function to
// throw the exception.
return handle("end");
}
if (entry.tryLoc <= this.prev) {
var hasCatch = hasOwn.call(entry, "catchLoc");
var hasFinally = hasOwn.call(entry, "finallyLoc");
if (hasCatch && hasFinally) {
if (this.prev < entry.catchLoc) {
return handle(entry.catchLoc, true);
} else if (this.prev < entry.finallyLoc) {
return handle(entry.finallyLoc);
}
} else if (hasCatch) {
if (this.prev < entry.catchLoc) {
return handle(entry.catchLoc, true);
}
} else if (hasFinally) {
if (this.prev < entry.finallyLoc) {
return handle(entry.finallyLoc);
}
} else {
throw new Error("try statement without catch or finally");
}
}
}
},
abrupt: function(type, arg) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc <= this.prev &&
hasOwn.call(entry, "finallyLoc") &&
this.prev < entry.finallyLoc) {
var finallyEntry = entry;
break;
}
}
if (finallyEntry &&
(type === "break" ||
type === "continue") &&
finallyEntry.tryLoc <= arg &&
arg <= finallyEntry.finallyLoc) {
// Ignore the finally entry if control is not jumping to a
// location outside the try/catch block.
finallyEntry = null;
}
var record = finallyEntry ? finallyEntry.completion : {};
record.type = type;
record.arg = arg;
if (finallyEntry) {
this.method = "next";
this.next = finallyEntry.finallyLoc;
return ContinueSentinel;
}
return this.complete(record);
},
complete: function(record, afterLoc) {
if (record.type === "throw") {
throw record.arg;
}
if (record.type === "break" ||
record.type === "continue") {
this.next = record.arg;
} else if (record.type === "return") {
this.rval = this.arg = record.arg;
this.method = "return";
this.next = "end";
} else if (record.type === "normal" && afterLoc) {
this.next = afterLoc;
}
return ContinueSentinel;
},
finish: function(finallyLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.finallyLoc === finallyLoc) {
this.complete(entry.completion, entry.afterLoc);
resetTryEntry(entry);
return ContinueSentinel;
}
}
},
"catch": function(tryLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc === tryLoc) {
var record = entry.completion;
if (record.type === "throw") {
var thrown = record.arg;
resetTryEntry(entry);
}
return thrown;
}
}
// The context.catch method must only be called with a location
// argument that corresponds to a known catch block.
throw new Error("illegal catch attempt");
},
delegateYield: function(iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
nextLoc: nextLoc
};
if (this.method === "next") {
// Deliberately forget the last sent value so that we don't
// accidentally pass it on to the delegate.
this.arg = undefined;
}
return ContinueSentinel;
}
};
})(
// In sloppy mode, unbound `this` refers to the global object, fallback to
// Function constructor if we're in global strict mode. That is sadly a form
// of indirect eval which violates Content Security Policy.
(function() {
return this || (typeof self === "object" && self);
})() || Function("return this")()
);
/***/ }),
/***/ 6:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["compose"]; }()); (function() { module.exports = this["wp"]["compose"]; }());

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 322); /******/ return __webpack_require__(__webpack_require__.s = 375);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -123,7 +123,7 @@ function _defineProperty(obj, key, value) {
/***/ }), /***/ }),
/***/ 18: /***/ 17:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -139,7 +139,7 @@ function _arrayWithoutHoles(arr) {
} }
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(33); var iterableToArray = __webpack_require__(34);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() { function _nonIterableSpread() {
@ -163,13 +163,13 @@ function _toConsumableArray(arr) {
/***/ }), /***/ }),
/***/ 25: /***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(34); var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) { function _iterableToArrayLimit(arr, i) {
@ -198,7 +198,7 @@ function _iterableToArrayLimit(arr, i) {
return _arr; return _arr;
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(35); var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
@ -211,7 +211,7 @@ function _slicedToArray(arr, i) {
/***/ }), /***/ }),
/***/ 28: /***/ 30:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -493,7 +493,29 @@ function isShallowEqual( a, b, fromIndex ) {
/***/ }), /***/ }),
/***/ 322: /***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 37:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
/***/ }),
/***/ 375:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -517,10 +539,10 @@ var external_this_wp_data_ = __webpack_require__(5);
var defineProperty = __webpack_require__(15); var defineProperty = __webpack_require__(15);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(18); var toConsumableArray = __webpack_require__(17);
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js // CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
@ -663,10 +685,10 @@ function enableTips() {
} }
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(25); var slicedToArray = __webpack_require__(28);
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
var rememo = __webpack_require__(28); var rememo = __webpack_require__(30);
// EXTERNAL MODULE: external "lodash" // EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
@ -806,7 +828,7 @@ var store = Object(external_this_wp_data_["registerStore"])('core/nux', {
var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_element_ = __webpack_require__(0);
// EXTERNAL MODULE: external {"this":["wp","compose"]} // EXTERNAL MODULE: external {"this":["wp","compose"]}
var external_this_wp_compose_ = __webpack_require__(7); var external_this_wp_compose_ = __webpack_require__(6);
// EXTERNAL MODULE: external {"this":["wp","components"]} // EXTERNAL MODULE: external {"this":["wp","components"]}
var external_this_wp_components_ = __webpack_require__(4); var external_this_wp_components_ = __webpack_require__(4);
@ -908,29 +930,7 @@ function DotTip(_ref) {
/***/ }), /***/ }),
/***/ 33: /***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
/***/ }),
/***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
/***/ }),
/***/ 35:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -955,14 +955,14 @@ function _nonIterableRest() {
/***/ }), /***/ }),
/***/ 7: /***/ 6:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["compose"]; }()); (function() { module.exports = this["wp"]["compose"]; }());
/***/ }), /***/ }),
/***/ 8: /***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 324); /******/ return __webpack_require__(__webpack_require__.s = 377);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
@ -112,7 +112,7 @@ function _classCallCheck(instance, Constructor) {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3); /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
@ -228,14 +228,29 @@ function _extends() {
/***/ }), /***/ }),
/***/ 23: /***/ 24:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["hooks"]; }()); (function() { module.exports = this["wp"]["hooks"]; }());
/***/ }), /***/ }),
/***/ 29: /***/ 3:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -258,22 +273,7 @@ function _typeof(obj) {
/***/ }), /***/ }),
/***/ 3: /***/ 377:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
/***/ }),
/***/ 324:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -304,13 +304,13 @@ var external_this_wp_element_ = __webpack_require__(0);
var external_lodash_ = __webpack_require__(2); var external_lodash_ = __webpack_require__(2);
// EXTERNAL MODULE: external {"this":["wp","hooks"]} // EXTERNAL MODULE: external {"this":["wp","hooks"]}
var external_this_wp_hooks_ = __webpack_require__(23); var external_this_wp_hooks_ = __webpack_require__(24);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19); var esm_extends = __webpack_require__(19);
// EXTERNAL MODULE: external {"this":["wp","compose"]} // EXTERNAL MODULE: external {"this":["wp","compose"]}
var external_this_wp_compose_ = __webpack_require__(7); var external_this_wp_compose_ = __webpack_require__(6);
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
@ -352,10 +352,10 @@ var plugin_context_withPluginContext = function withPluginContext(mapContextToPr
}; };
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
var objectSpread = __webpack_require__(8); var objectSpread = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(29); var esm_typeof = __webpack_require__(32);
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js // CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
@ -382,10 +382,76 @@ var plugins = {};
/** /**
* Registers a plugin to the editor. * Registers a plugin to the editor.
* *
* @param {string} name The name of the plugin. * @param {string} name A string identifying the plugin. Must be unique across all registered plugins.
* @param {Object} settings The settings for this plugin. * @param {Object} settings The settings for this plugin.
* @param {Function} settings.render The function that renders the plugin. * @param {string|WPElement|Function} settings.icon An icon to be shown in the UI. It can be a slug of the Dashicon,
* @param {string|WPElement|Function} settings.icon An icon to be shown in the UI. * or an element (or function returning an element) if you choose to render your own SVG.
* @param {Function} settings.render A component containing the UI elements to be rendered.
*
* @example <caption>ES5</caption>
* ```js
* // Using ES5 syntax
* var el = wp.element.createElement;
* var Fragment = wp.element.Fragment;
* var PluginSidebar = wp.editPost.PluginSidebar;
* var PluginSidebarMoreMenuItem = wp.editPost.PluginSidebarMoreMenuItem;
* var registerPlugin = wp.plugins.registerPlugin;
*
* function Component() {
* return el(
* Fragment,
* {},
* el(
* PluginSidebarMoreMenuItem,
* {
* target: 'sidebar-name',
* },
* 'My Sidebar'
* ),
* el(
* PluginSidebar,
* {
* name: 'sidebar-name',
* title: 'My Sidebar',
* },
* 'Content of the sidebar'
* )
* );
* }
* registerPlugin( 'plugin-name', {
* icon: 'smiley',
* render: Component,
* } );
* ```
*
* @example <caption>ESNext</caption>
* ```js
* // Using ESNext syntax
* const { Fragment } = wp.element;
* const { PluginSidebar, PluginSidebarMoreMenuItem } = wp.editPost;
* const { registerPlugin } = wp.plugins;
*
* const Component = () => (
* <Fragment>
* <PluginSidebarMoreMenuItem
* target="sidebar-name"
* >
* My Sidebar
* </PluginSidebarMoreMenuItem>
* <PluginSidebar
* name="sidebar-name"
* title="My Sidebar"
* >
* Content of the sidebar
* </PluginSidebar>
* </Fragment>
* );
*
* registerPlugin( 'plugin-name', {
* icon: 'smiley',
* render: Component,
* } );
* ```
* *
* @return {Object} The final plugin settings object. * @return {Object} The final plugin settings object.
*/ */
@ -429,6 +495,22 @@ function registerPlugin(name, settings) {
* *
* @param {string} name Plugin name. * @param {string} name Plugin name.
* *
* @example <caption>ES5</caption>
* ```js
* // Using ES5 syntax
* var unregisterPlugin = wp.plugins.unregisterPlugin;
*
* unregisterPlugin( 'plugin-name' );
* ```
*
* @example <caption>ESNext</caption>
* ```js
* // Using ESNext syntax
* const { unregisterPlugin } = wp.plugins;
*
* unregisterPlugin( 'plugin-name' );
* ```
*
* @return {?WPPlugin} The previous plugin settings object, if it has been * @return {?WPPlugin} The previous plugin settings object, if it has been
* successfully unregistered; otherwise `undefined`. * successfully unregistered; otherwise `undefined`.
*/ */
@ -493,6 +575,35 @@ function getPlugins() {
/** /**
* A component that renders all plugin fills in a hidden div. * A component that renders all plugin fills in a hidden div.
* *
* @example <caption>ES5</caption>
* ```js
* // Using ES5 syntax
* var el = wp.element.createElement;
* var PluginArea = wp.plugins.PluginArea;
*
* function Layout() {
* return el(
* 'div',
* {},
* 'Content of the page',
* PluginArea
* );
* }
* ```
*
* @example <caption>ESNext</caption>
* ```js
* // Using ESNext syntax
* const { PluginArea } = wp.plugins;
*
* const Layout = () => (
* <div>
* Content of the page
* <PluginArea />
* </div>
* );
* ```
*
* @return {WPElement} Plugin area. * @return {WPElement} Plugin area.
*/ */
@ -587,14 +698,14 @@ function (_Component) {
/***/ }), /***/ }),
/***/ 7: /***/ 6:
/***/ (function(module, exports) { /***/ (function(module, exports) {
(function() { module.exports = this["wp"]["compose"]; }()); (function() { module.exports = this["wp"]["compose"]; }());
/***/ }), /***/ }),
/***/ 8: /***/ 7:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,18 +82,41 @@ this["wp"] = this["wp"] || {}; this["wp"]["priorityQueue"] =
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 293); /******/ return __webpack_require__(__webpack_require__.s = 346);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 293: /***/ 346:
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createQueue", function() { return createQueue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createQueue", function() { return createQueue; });
var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame; var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame;
/**
* Creates a context-aware queue that only executes
* the last task of a given context.
*
* @example
*```js
* import { createQueue } from '@wordpress/priority-queue';
*
* const queue = createQueue();
*
* // Context objects.
* const ctx1 = {};
* const ctx2 = {};
*
* // For a given context in the queue, only the last callback is executed.
* queue.add( ctx1, () => console.log( 'This will be printed first' ) );
* queue.add( ctx2, () => console.log( 'This won\'t be printed' ) );
* queue.add( ctx2, () => console.log( 'This will be printed second' ) );
*```
*
* @return {Object} Queue object with `add` and `flush` methods.
*/
var createQueue = function createQueue() { var createQueue = function createQueue() {
var waitingList = []; var waitingList = [];
var elementsMap = new WeakMap(); var elementsMap = new WeakMap();

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