mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 09:51:35 +01:00
Block Editor: Update the WordPress Packages from Gutenberg 5.2.
Updated Packages: - @wordpress/a11y@2.1.0 - @wordpress/annotations@1.1.0 - @wordpress/api-fetch@3.0.0 - @wordpress/autop@2.1.0 - @wordpress/babel-plugin-import-jsx-pragma@2.0.0 - @wordpress/babel-plugin-makepot@3.0.0 - @wordpress/babel-preset-default@4.0.0 - @wordpress/blob@2.2.0 - @wordpress/block-editor@1.0.0 - @wordpress/block-library@2.3.0 - @wordpress/block-serialization-default-parser@3.0.0 - @wordpress/block-serialization-spec-parser@3.0.0 - @wordpress/blocks@6.1.0 - @wordpress/browserslist-config@2.3.0 - @wordpress/components@7.1.0 - @wordpress/compose@3.1.0 - @wordpress/core-data@2.1.0 - @wordpress/custom-templated-path-webpack-plugin@1.2.0 - @wordpress/data@4.3.0 - @wordpress/date@3.1.0 - @wordpress/deprecated@2.1.0 - @wordpress/docgen@1.0.0 - @wordpress/dom-ready@2.1.0 - @wordpress/dom@2.1.0 - @wordpress/e2e-test-utils@1.0.0 - @wordpress/e2e-tests@1.0.0 - @wordpress/edit-post@3.2.0 - @wordpress/editor@9.1.0 - @wordpress/element@2.2.0 - @wordpress/escape-html@1.1.0 - @wordpress/eslint-plugin@2.0.0 - @wordpress/format-library@1.3.0 - @wordpress/hooks@2.1.0 - @wordpress/html-entities@2.1.0 - @wordpress/i18n@3.2.0 - @wordpress/is-shallow-equal@1.2.0 - @wordpress/jest-console@3.0.0 - @wordpress/jest-preset-default@4.0.0 - @wordpress/jest-puppeteer-axe@1.0.0 - @wordpress/keycodes@2.1.0 - @wordpress/library-export-default-webpack-plugin@1.1.0 - @wordpress/list-reusable-blocks@1.2.0 - @wordpress/notices@1.2.0 - @wordpress/npm-package-json-lint-config@1.2.0 - @wordpress/nux@3.1.0 - @wordpress/plugins@2.1.0 - @wordpress/postcss-themes@2.0.0 - @wordpress/priority-queue@1.0.0 - @wordpress/redux-routine@3.1.0 - @wordpress/rich-text@3.1.0 - @wordpress/scripts@3.0.0 - @wordpress/shortcode@2.1.0 - @wordpress/token-list@1.2.0 - @wordpress/url@2.4.0 - @wordpress/viewport@2.2.0 - @wordpress/wordcount@2.1.0 This also includes the update to the scripts dependencies and the new widgets php files. Props iseulde. Fixes #46429. Built from https://develop.svn.wordpress.org/trunk@44808 git-svn-id: http://core.svn.wordpress.org/trunk@44640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6969fb8001
commit
2d58d57e38
@ -48,6 +48,7 @@ $preload_paths = array(
|
||||
sprintf( '/wp/v2/types/%s?context=edit', $post_type ),
|
||||
sprintf( '/wp/v2/users/me?post_type=%s&context=edit', $post_type ),
|
||||
array( '/wp/v2/media', 'OPTIONS' ),
|
||||
array( '/wp/v2/blocks', 'OPTIONS' ),
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -117,6 +117,9 @@ function render_block_core_latest_comments( $attributes = array() ) {
|
||||
}
|
||||
|
||||
$class = 'wp-block-latest-comments';
|
||||
if ( ! empty( $attributes['className'] ) ) {
|
||||
$class .= ' ' . $attributes['className'];
|
||||
}
|
||||
if ( isset( $attributes['align'] ) ) {
|
||||
$class .= " align{$attributes['align']}";
|
||||
}
|
||||
|
@ -14,38 +14,37 @@
|
||||
*/
|
||||
function render_block_core_latest_posts( $attributes ) {
|
||||
$args = array(
|
||||
'numberposts' => $attributes['postsToShow'],
|
||||
'post_status' => 'publish',
|
||||
'order' => $attributes['order'],
|
||||
'orderby' => $attributes['orderBy'],
|
||||
'posts_per_page' => $attributes['postsToShow'],
|
||||
'post_status' => 'publish',
|
||||
'order' => $attributes['order'],
|
||||
'orderby' => $attributes['orderBy'],
|
||||
'suppress_filters' => false,
|
||||
);
|
||||
|
||||
if ( isset( $attributes['categories'] ) ) {
|
||||
$args['category'] = $attributes['categories'];
|
||||
}
|
||||
|
||||
$recent_posts = wp_get_recent_posts( $args );
|
||||
$recent_posts = get_posts( $args );
|
||||
|
||||
$list_items_markup = '';
|
||||
|
||||
foreach ( $recent_posts as $post ) {
|
||||
$post_id = $post['ID'];
|
||||
|
||||
$title = get_the_title( $post_id );
|
||||
$title = get_the_title( $post );
|
||||
if ( ! $title ) {
|
||||
$title = __( '(Untitled)' );
|
||||
}
|
||||
$list_items_markup .= sprintf(
|
||||
'<li><a href="%1$s">%2$s</a>',
|
||||
esc_url( get_permalink( $post_id ) ),
|
||||
esc_html( $title )
|
||||
esc_url( get_permalink( $post ) ),
|
||||
$title
|
||||
);
|
||||
|
||||
if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) {
|
||||
$list_items_markup .= sprintf(
|
||||
'<time datetime="%1$s" class="wp-block-latest-posts__post-date">%2$s</time>',
|
||||
esc_attr( get_the_date( 'c', $post_id ) ),
|
||||
esc_html( get_the_date( '', $post_id ) )
|
||||
esc_attr( get_the_date( 'c', $post ) ),
|
||||
esc_html( get_the_date( '', $post ) )
|
||||
);
|
||||
}
|
||||
|
||||
|
136
wp-includes/css/dist/block-library/editor-rtl.css
vendored
136
wp-includes/css/dist/block-library/editor-rtl.css
vendored
@ -44,15 +44,15 @@
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
position: relative; }
|
||||
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
|
||||
.wp-block-button [contenteditable] {
|
||||
cursor: text; }
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable {
|
||||
color: #fff; }
|
||||
.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
|
||||
.wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable {
|
||||
opacity: 0.8; }
|
||||
.editor-block-preview__content .wp-block-button {
|
||||
max-width: 100%; }
|
||||
.editor-block-preview__content .wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] {
|
||||
.editor-block-preview__content .wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] {
|
||||
height: auto; }
|
||||
.editor-block-preview__content .wp-block-button .wp-block-button__link {
|
||||
max-width: 100%;
|
||||
@ -98,8 +98,12 @@
|
||||
|
||||
.wp-block-code .editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d; }
|
||||
color: #23282d;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-code .editor-plain-text {
|
||||
font-size: 13px; } }
|
||||
.wp-block-code .editor-plain-text:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
@ -159,7 +163,7 @@
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
@media (min-width: 600px) {
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||
flex-wrap: nowrap; } }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
@ -191,18 +195,14 @@
|
||||
margin-left: 14px; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
flex-basis: 50%;
|
||||
flex-basis: calc(50% - (16px + 28px));
|
||||
flex-grow: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
|
||||
margin-left: 32px; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
|
||||
margin-right: 32px; } }
|
||||
@media (min-width: 600px) {
|
||||
margin-right: calc(32px + 14px); } }
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
|
||||
margin-right: 32px; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
|
||||
margin-left: 32px; } }
|
||||
margin-right: calc(32px + 14px); } }
|
||||
|
||||
.wp-block-columns [data-type="core/column"] {
|
||||
pointer-events: none; }
|
||||
@ -214,15 +214,8 @@
|
||||
:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * {
|
||||
pointer-events: all; }
|
||||
|
||||
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.wp-block-cover .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
position: inherit; }
|
||||
|
||||
.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected],
|
||||
.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
.wp-block-cover-image .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] {
|
||||
box-shadow: none;
|
||||
background: rgba(255, 255, 255, 0.3); }
|
||||
|
||||
@ -259,7 +252,9 @@
|
||||
clear: both; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-embed {
|
||||
min-width: 360px; } }
|
||||
min-width: 360px; }
|
||||
.wp-block-embed.components-placeholder {
|
||||
min-width: 0; } }
|
||||
.wp-block-embed.is-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -275,6 +270,14 @@
|
||||
.wp-block-embed .components-placeholder__error {
|
||||
word-break: break-word; }
|
||||
|
||||
.block-library-embed__interactive-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
opacity: 0; }
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -572,7 +575,7 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
|
||||
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar {
|
||||
top: 0; }
|
||||
|
||||
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce {
|
||||
.blocks-gallery-item .is-selected .editor-rich-text figcaption {
|
||||
padding-top: 48px; }
|
||||
|
||||
.blocks-gallery-item .components-form-file-upload,
|
||||
@ -593,10 +596,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 {
|
||||
border: 1px solid #555d66; }
|
||||
|
||||
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a {
|
||||
.blocks-gallery-item .editor-rich-text figcaption a {
|
||||
color: #fff; }
|
||||
|
||||
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
.blocks-gallery-item .editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
|
||||
color: rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
@ -678,21 +681,25 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
||||
.wp-block-heading h6 {
|
||||
font-size: 0.8em; }
|
||||
|
||||
.wp-block-heading h1.editor-rich-text__tinymce,
|
||||
.wp-block-heading h2.editor-rich-text__tinymce,
|
||||
.wp-block-heading h3.editor-rich-text__tinymce {
|
||||
.wp-block-heading h1,
|
||||
.wp-block-heading h2,
|
||||
.wp-block-heading h3 {
|
||||
line-height: 1.4; }
|
||||
|
||||
.wp-block-heading h4.editor-rich-text__tinymce {
|
||||
.wp-block-heading h4 {
|
||||
line-height: 1.5; }
|
||||
|
||||
.wp-block-html .editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px; }
|
||||
border-radius: 4px;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-html .editor-plain-text {
|
||||
font-size: 13px; } }
|
||||
.wp-block-html .editor-plain-text:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
@ -835,9 +842,8 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
|
||||
display: block; } }
|
||||
|
||||
.block-library-list .editor-rich-text__tinymce,
|
||||
.block-library-list .editor-rich-text__tinymce ul,
|
||||
.block-library-list .editor-rich-text__tinymce ol {
|
||||
.editor-styles-wrapper .block-library-list ul,
|
||||
.editor-styles-wrapper .block-library-list ol {
|
||||
padding-right: 1.3em;
|
||||
margin-right: 1.3em; }
|
||||
|
||||
@ -902,29 +908,17 @@ figure.block-library-media-text__media-container {
|
||||
left: 0;
|
||||
border-top: 3px dashed #ccd0d4; }
|
||||
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph {
|
||||
padding-left: 108px; }
|
||||
.wp-block .wp-block .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
|
||||
.wp-block .wp-block .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph {
|
||||
padding-left: 36px; }
|
||||
|
||||
.wp-block-preformatted pre {
|
||||
white-space: pre-wrap; }
|
||||
|
||||
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.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"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.editor-block-list__block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p {
|
||||
.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 {
|
||||
font-size: 20px; }
|
||||
|
||||
.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
font-size: 14px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
|
||||
.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
width: 100%;
|
||||
right: 50%;
|
||||
transform: translateX(50%); }
|
||||
|
||||
.wp-block-pullquote blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.wp-block-pullquote blockquote > .editor-rich-text p {
|
||||
font-size: 28px;
|
||||
line-height: 1.6; }
|
||||
@ -946,6 +940,30 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-quote__citation {
|
||||
font-size: 13px; }
|
||||
|
||||
.block-editor .wp-block-rss {
|
||||
padding-right: 2.5em; }
|
||||
.block-editor .wp-block-rss.is-grid {
|
||||
padding-right: 0; }
|
||||
|
||||
.wp-block-search .wp-block-search__input {
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8d96a0;
|
||||
color: rgba(14, 28, 46, 0.62);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
.wp-block-search .wp-block-search__input:focus {
|
||||
outline: none; }
|
||||
|
||||
.wp-block-search .wp-block-search__button {
|
||||
background: #f7f7f7;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text {
|
||||
padding: 6px 10px; }
|
||||
|
||||
.wp-block-shortcode {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -988,7 +1006,7 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: 0;
|
||||
border: 1px solid currentColor; }
|
||||
border: 1px solid #000; }
|
||||
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
@ -999,7 +1017,17 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-table__cell-content {
|
||||
padding: 0.5em; }
|
||||
|
||||
.wp-block-text-columns .editor-rich-text__tinymce:focus {
|
||||
.block-editor .wp-block-tag-cloud a {
|
||||
display: inline-block;
|
||||
margin-left: 5px; }
|
||||
|
||||
.block-editor .wp-block-tag-cloud span {
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
color: #8f98a1;
|
||||
text-decoration: none; }
|
||||
|
||||
.wp-block-text-columns .editor-rich-text__editable:focus {
|
||||
outline: 1px solid #e2e4e7; }
|
||||
|
||||
pre.wp-block-verse,
|
||||
|
File diff suppressed because one or more lines are too long
136
wp-includes/css/dist/block-library/editor.css
vendored
136
wp-includes/css/dist/block-library/editor.css
vendored
@ -45,15 +45,15 @@
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
position: relative; }
|
||||
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
|
||||
.wp-block-button [contenteditable] {
|
||||
cursor: text; }
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable {
|
||||
color: #fff; }
|
||||
.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
|
||||
.wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable {
|
||||
opacity: 0.8; }
|
||||
.editor-block-preview__content .wp-block-button {
|
||||
max-width: 100%; }
|
||||
.editor-block-preview__content .wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] {
|
||||
.editor-block-preview__content .wp-block-button .editor-rich-text__editable[data-is-placeholder-visible="true"] {
|
||||
height: auto; }
|
||||
.editor-block-preview__content .wp-block-button .wp-block-button__link {
|
||||
max-width: 100%;
|
||||
@ -99,8 +99,12 @@
|
||||
|
||||
.wp-block-code .editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d; }
|
||||
color: #23282d;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-code .editor-plain-text {
|
||||
font-size: 13px; } }
|
||||
.wp-block-code .editor-plain-text:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
@ -160,7 +164,7 @@
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
@media (min-width: 600px) {
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||
flex-wrap: nowrap; } }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
@ -192,18 +196,14 @@
|
||||
margin-right: 14px; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
flex-basis: 50%;
|
||||
flex-basis: calc(50% - (16px + 28px));
|
||||
flex-grow: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
|
||||
margin-right: 32px; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
|
||||
margin-left: 32px; } }
|
||||
@media (min-width: 600px) {
|
||||
margin-left: calc(32px + 14px); } }
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
|
||||
margin-left: 32px; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
|
||||
margin-right: 32px; } }
|
||||
margin-left: calc(32px + 14px); } }
|
||||
|
||||
.wp-block-columns [data-type="core/column"] {
|
||||
pointer-events: none; }
|
||||
@ -215,15 +215,8 @@
|
||||
:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * {
|
||||
pointer-events: all; }
|
||||
|
||||
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.wp-block-cover .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
position: inherit; }
|
||||
|
||||
.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected],
|
||||
.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
.wp-block-cover-image .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] {
|
||||
box-shadow: none;
|
||||
background: rgba(255, 255, 255, 0.3); }
|
||||
|
||||
@ -260,7 +253,9 @@
|
||||
clear: both; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-embed {
|
||||
min-width: 360px; } }
|
||||
min-width: 360px; }
|
||||
.wp-block-embed.components-placeholder {
|
||||
min-width: 0; } }
|
||||
.wp-block-embed.is-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -276,6 +271,14 @@
|
||||
.wp-block-embed .components-placeholder__error {
|
||||
word-break: break-word; }
|
||||
|
||||
.block-library-embed__interactive-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 0; }
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -577,7 +580,7 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
|
||||
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar {
|
||||
top: 0; }
|
||||
|
||||
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce {
|
||||
.blocks-gallery-item .is-selected .editor-rich-text figcaption {
|
||||
padding-top: 48px; }
|
||||
|
||||
.blocks-gallery-item .components-form-file-upload,
|
||||
@ -598,10 +601,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 {
|
||||
border: 1px solid #555d66; }
|
||||
|
||||
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a {
|
||||
.blocks-gallery-item .editor-rich-text figcaption a {
|
||||
color: #fff; }
|
||||
|
||||
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
.blocks-gallery-item .editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
|
||||
color: rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
@ -683,21 +686,25 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
||||
.wp-block-heading h6 {
|
||||
font-size: 0.8em; }
|
||||
|
||||
.wp-block-heading h1.editor-rich-text__tinymce,
|
||||
.wp-block-heading h2.editor-rich-text__tinymce,
|
||||
.wp-block-heading h3.editor-rich-text__tinymce {
|
||||
.wp-block-heading h1,
|
||||
.wp-block-heading h2,
|
||||
.wp-block-heading h3 {
|
||||
line-height: 1.4; }
|
||||
|
||||
.wp-block-heading h4.editor-rich-text__tinymce {
|
||||
.wp-block-heading h4 {
|
||||
line-height: 1.5; }
|
||||
|
||||
.wp-block-html .editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px; }
|
||||
border-radius: 4px;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-html .editor-plain-text {
|
||||
font-size: 13px; } }
|
||||
.wp-block-html .editor-plain-text:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
@ -840,9 +847,8 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
|
||||
display: block; } }
|
||||
|
||||
.block-library-list .editor-rich-text__tinymce,
|
||||
.block-library-list .editor-rich-text__tinymce ul,
|
||||
.block-library-list .editor-rich-text__tinymce ol {
|
||||
.editor-styles-wrapper .block-library-list ul,
|
||||
.editor-styles-wrapper .block-library-list ol {
|
||||
padding-left: 1.3em;
|
||||
margin-left: 1.3em; }
|
||||
|
||||
@ -907,29 +913,17 @@ figure.block-library-media-text__media-container {
|
||||
right: 0;
|
||||
border-top: 3px dashed #ccd0d4; }
|
||||
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph {
|
||||
padding-right: 108px; }
|
||||
.wp-block .wp-block .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
|
||||
.wp-block .wp-block .editor-rich-text__editable[data-is-placeholder-visible="true"] + .editor-rich-text__editable.wp-block-paragraph {
|
||||
padding-right: 36px; }
|
||||
|
||||
.wp-block-preformatted pre {
|
||||
white-space: pre-wrap; }
|
||||
|
||||
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.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"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.editor-block-list__block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p {
|
||||
.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 {
|
||||
font-size: 20px; }
|
||||
|
||||
.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
font-size: 14px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
|
||||
.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty="true"]::before {
|
||||
width: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%); }
|
||||
|
||||
.wp-block-pullquote blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
.wp-block-pullquote blockquote > .editor-rich-text p {
|
||||
font-size: 28px;
|
||||
line-height: 1.6; }
|
||||
@ -951,6 +945,30 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-quote__citation {
|
||||
font-size: 13px; }
|
||||
|
||||
.block-editor .wp-block-rss {
|
||||
padding-left: 2.5em; }
|
||||
.block-editor .wp-block-rss.is-grid {
|
||||
padding-left: 0; }
|
||||
|
||||
.wp-block-search .wp-block-search__input {
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8d96a0;
|
||||
color: rgba(14, 28, 46, 0.62);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
.wp-block-search .wp-block-search__input:focus {
|
||||
outline: none; }
|
||||
|
||||
.wp-block-search .wp-block-search__button {
|
||||
background: #f7f7f7;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text {
|
||||
padding: 6px 10px; }
|
||||
|
||||
.wp-block-shortcode {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -993,7 +1011,7 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: 0;
|
||||
border: 1px solid currentColor; }
|
||||
border: 1px solid #000; }
|
||||
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
@ -1004,7 +1022,17 @@ figure.block-library-media-text__media-container {
|
||||
.wp-block-table__cell-content {
|
||||
padding: 0.5em; }
|
||||
|
||||
.wp-block-text-columns .editor-rich-text__tinymce:focus {
|
||||
.block-editor .wp-block-tag-cloud a {
|
||||
display: inline-block;
|
||||
margin-right: 5px; }
|
||||
|
||||
.block-editor .wp-block-tag-cloud span {
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
color: #8f98a1;
|
||||
text-decoration: none; }
|
||||
|
||||
.wp-block-text-columns .editor-rich-text__editable:focus {
|
||||
outline: 1px solid #e2e4e7; }
|
||||
|
||||
pre.wp-block-verse,
|
||||
|
File diff suppressed because one or more lines are too long
151
wp-includes/css/dist/block-library/style-rtl.css
vendored
151
wp-includes/css/dist/block-library/style-rtl.css
vendored
@ -51,8 +51,7 @@
|
||||
top: -14px;
|
||||
margin: 0 -14px;
|
||||
padding: 8px 14px;
|
||||
position: relative;
|
||||
z-index: 7; }
|
||||
position: relative; }
|
||||
.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel {
|
||||
margin: 0 -14px;
|
||||
padding: 8px 14px; }
|
||||
@ -115,7 +114,7 @@
|
||||
text-decoration: none;
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word; }
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active {
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
||||
color: inherit; }
|
||||
|
||||
.is-style-squared .wp-block-button__link {
|
||||
@ -124,9 +123,32 @@
|
||||
.is-style-outline {
|
||||
color: #32373c; }
|
||||
.is-style-outline .wp-block-button__link {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
border: 2px solid currentcolor; }
|
||||
|
||||
.wp-block-calendar {
|
||||
text-align: center; }
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 4px;
|
||||
border: 1px solid #e2e4e7; }
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none; }
|
||||
.wp-block-calendar table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 440;
|
||||
background: #edeff0; }
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline; }
|
||||
.wp-block-calendar tfoot a {
|
||||
color: #00739c; }
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d; }
|
||||
|
||||
.wp-block-categories.alignleft {
|
||||
margin-right: 2em; }
|
||||
|
||||
@ -141,7 +163,7 @@
|
||||
flex-wrap: nowrap; } }
|
||||
|
||||
.wp-block-column {
|
||||
flex: 1;
|
||||
flex-grow: 1;
|
||||
margin-bottom: 1em;
|
||||
flex-basis: 100%;
|
||||
min-width: 0;
|
||||
@ -149,17 +171,13 @@
|
||||
overflow-wrap: break-word; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 50%;
|
||||
flex-grow: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-column:nth-child(odd) {
|
||||
margin-left: 32px; }
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-right: 32px; }
|
||||
flex-basis: calc(50% - 16px);
|
||||
flex-grow: 0; }
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-right: 32px; } }
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-column:not(:first-child) {
|
||||
margin-right: 32px; }
|
||||
.wp-block-column:not(:last-child) {
|
||||
margin-left: 32px; } }
|
||||
margin-right: 32px; } }
|
||||
|
||||
.wp-block-cover-image,
|
||||
.wp-block-cover {
|
||||
@ -449,11 +467,11 @@
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: 40px 10px 5px;
|
||||
padding: 40px 10px 9px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 60%, transparent); }
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 70%, transparent); }
|
||||
.wp-block-gallery .blocks-gallery-image figcaption img,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption img {
|
||||
display: inline; }
|
||||
@ -486,26 +504,50 @@
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 2) / 3);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 2) / 3 - 1px); } }
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 3) / 4);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 3) / 4 - 1px); } }
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 4) / 5);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 4) / 5 - 1px); } }
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 5) / 6);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 5) / 6 - 1px); } }
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 6) / 7);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 6) / 7 - 1px); } }
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 7) / 8);
|
||||
margin-left: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 7) / 8 - 1px); } }
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n) {
|
||||
margin-left: 0; }
|
||||
@ -689,19 +731,19 @@
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content" "media-text-media"; } }
|
||||
|
||||
p.is-small-text {
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
||||
p.is-regular-text {
|
||||
.is-regular-text {
|
||||
font-size: 16px; }
|
||||
|
||||
p.is-large-text {
|
||||
.is-large-text {
|
||||
font-size: 36px; }
|
||||
|
||||
p.is-larger-text {
|
||||
.is-larger-text {
|
||||
font-size: 48px; }
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
.has-drop-cap:not(:focus)::first-letter {
|
||||
float: right;
|
||||
font-size: 8.4em;
|
||||
line-height: 0.68;
|
||||
@ -710,7 +752,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
text-transform: uppercase;
|
||||
font-style: normal; }
|
||||
|
||||
p.has-drop-cap:not(:focus)::after {
|
||||
.has-drop-cap:not(:focus)::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
@ -774,6 +816,48 @@ p.has-text-color a {
|
||||
font-size: 18px;
|
||||
text-align: left; }
|
||||
|
||||
.wp-block-rss.alignleft {
|
||||
margin-right: 2em; }
|
||||
|
||||
.wp-block-rss.alignright {
|
||||
margin-left: 2em; }
|
||||
|
||||
.wp-block-rss.is-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
list-style: none; }
|
||||
.wp-block-rss.is-grid li {
|
||||
margin: 0 0 16px 16px;
|
||||
width: 100%; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-rss.columns-2 li {
|
||||
width: calc(( 100% / 2 ) - 16px); }
|
||||
.wp-block-rss.columns-3 li {
|
||||
width: calc(( 100% / 3 ) - 16px); }
|
||||
.wp-block-rss.columns-4 li {
|
||||
width: calc(( 100% / 4 ) - 16px); }
|
||||
.wp-block-rss.columns-5 li {
|
||||
width: calc(( 100% / 5 ) - 16px); }
|
||||
.wp-block-rss.columns-6 li {
|
||||
width: calc(( 100% / 6 ) - 16px); } }
|
||||
|
||||
.wp-block-rss__item-publish-date,
|
||||
.wp-block-rss__item-author {
|
||||
color: #6c7781;
|
||||
font-size: 13px; }
|
||||
|
||||
.wp-block-search {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.wp-block-search .wp-block-search__label {
|
||||
width: 100%; }
|
||||
.wp-block-search .wp-block-search__input {
|
||||
flex-grow: 1; }
|
||||
.wp-block-search .wp-block-search__button {
|
||||
margin-right: 10px; }
|
||||
|
||||
.wp-block-separator.is-style-wide {
|
||||
border-bottom-width: 1px; }
|
||||
|
||||
@ -805,12 +889,33 @@ p.wp-block-subhead {
|
||||
display: table;
|
||||
width: auto; }
|
||||
|
||||
.wp-block-table.has-subtle-light-gray-background-color {
|
||||
background-color: #f3f4f5; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-green-background-color {
|
||||
background-color: #e9fbe5; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-blue-background-color {
|
||||
background-color: #e7f5fe; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-pink-background-color {
|
||||
background-color: #fcf0ef; }
|
||||
|
||||
.wp-block-table.is-style-stripes {
|
||||
border-spacing: 0;
|
||||
border-collapse: inherit;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd) {
|
||||
background-color: #e9fbe5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd) {
|
||||
background-color: #e7f5fe; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd) {
|
||||
background-color: #fcf0ef; }
|
||||
.wp-block-table.is-style-stripes td {
|
||||
border-color: transparent; }
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
153
wp-includes/css/dist/block-library/style.css
vendored
153
wp-includes/css/dist/block-library/style.css
vendored
@ -51,8 +51,7 @@
|
||||
top: -14px;
|
||||
margin: 0 -14px;
|
||||
padding: 8px 14px;
|
||||
position: relative;
|
||||
z-index: 7; }
|
||||
position: relative; }
|
||||
.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel {
|
||||
margin: 0 -14px;
|
||||
padding: 8px 14px; }
|
||||
@ -116,7 +115,7 @@
|
||||
text-decoration: none;
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word; }
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active {
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
||||
color: inherit; }
|
||||
|
||||
.is-style-squared .wp-block-button__link {
|
||||
@ -125,9 +124,32 @@
|
||||
.is-style-outline {
|
||||
color: #32373c; }
|
||||
.is-style-outline .wp-block-button__link {
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
border: 2px solid currentcolor; }
|
||||
|
||||
.wp-block-calendar {
|
||||
text-align: center; }
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 4px;
|
||||
border: 1px solid #e2e4e7; }
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none; }
|
||||
.wp-block-calendar table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 440;
|
||||
background: #edeff0; }
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline; }
|
||||
.wp-block-calendar tfoot a {
|
||||
color: #00739c; }
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d; }
|
||||
|
||||
.wp-block-categories.alignleft {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 2em; }
|
||||
@ -144,7 +166,7 @@
|
||||
flex-wrap: nowrap; } }
|
||||
|
||||
.wp-block-column {
|
||||
flex: 1;
|
||||
flex-grow: 1;
|
||||
margin-bottom: 1em;
|
||||
flex-basis: 100%;
|
||||
min-width: 0;
|
||||
@ -152,17 +174,13 @@
|
||||
overflow-wrap: break-word; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 50%;
|
||||
flex-grow: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-column:nth-child(odd) {
|
||||
margin-right: 32px; }
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-left: 32px; }
|
||||
flex-basis: calc(50% - 16px);
|
||||
flex-grow: 0; }
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-left: 32px; } }
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-column:not(:first-child) {
|
||||
margin-left: 32px; }
|
||||
.wp-block-column:not(:last-child) {
|
||||
margin-right: 32px; } }
|
||||
margin-left: 32px; } }
|
||||
|
||||
.wp-block-cover-image,
|
||||
.wp-block-cover {
|
||||
@ -453,11 +471,11 @@
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: 40px 10px 5px;
|
||||
padding: 40px 10px 9px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 60%, transparent); }
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 70%, transparent); }
|
||||
.wp-block-gallery .blocks-gallery-image figcaption img,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption img {
|
||||
display: inline; }
|
||||
@ -490,26 +508,50 @@
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 2) / 3);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 2) / 3 - 1px); } }
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 3) / 4);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 3) / 4 - 1px); } }
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 4) / 5);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 4) / 5 - 1px); } }
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 5) / 6);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 5) / 6 - 1px); } }
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 6) / 7);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 6) / 7 - 1px); } }
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 7) / 8);
|
||||
margin-right: 16px; }
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image,
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-item {
|
||||
width: calc((100% - 16px * 7) / 8 - 1px); } }
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n) {
|
||||
margin-right: 0; }
|
||||
@ -699,19 +741,19 @@
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content" "media-text-media"; } }
|
||||
|
||||
p.is-small-text {
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
||||
p.is-regular-text {
|
||||
.is-regular-text {
|
||||
font-size: 16px; }
|
||||
|
||||
p.is-large-text {
|
||||
.is-large-text {
|
||||
font-size: 36px; }
|
||||
|
||||
p.is-larger-text {
|
||||
.is-larger-text {
|
||||
font-size: 48px; }
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
.has-drop-cap:not(:focus)::first-letter {
|
||||
float: left;
|
||||
font-size: 8.4em;
|
||||
line-height: 0.68;
|
||||
@ -720,7 +762,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
text-transform: uppercase;
|
||||
font-style: normal; }
|
||||
|
||||
p.has-drop-cap:not(:focus)::after {
|
||||
.has-drop-cap:not(:focus)::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
@ -784,6 +826,50 @@ p.has-text-color a {
|
||||
font-size: 18px;
|
||||
text-align: right; }
|
||||
|
||||
.wp-block-rss.alignleft {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 2em; }
|
||||
|
||||
.wp-block-rss.alignright {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 2em; }
|
||||
|
||||
.wp-block-rss.is-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
list-style: none; }
|
||||
.wp-block-rss.is-grid li {
|
||||
margin: 0 16px 16px 0;
|
||||
width: 100%; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-rss.columns-2 li {
|
||||
width: calc(( 100% / 2 ) - 16px); }
|
||||
.wp-block-rss.columns-3 li {
|
||||
width: calc(( 100% / 3 ) - 16px); }
|
||||
.wp-block-rss.columns-4 li {
|
||||
width: calc(( 100% / 4 ) - 16px); }
|
||||
.wp-block-rss.columns-5 li {
|
||||
width: calc(( 100% / 5 ) - 16px); }
|
||||
.wp-block-rss.columns-6 li {
|
||||
width: calc(( 100% / 6 ) - 16px); } }
|
||||
|
||||
.wp-block-rss__item-publish-date,
|
||||
.wp-block-rss__item-author {
|
||||
color: #6c7781;
|
||||
font-size: 13px; }
|
||||
|
||||
.wp-block-search {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.wp-block-search .wp-block-search__label {
|
||||
width: 100%; }
|
||||
.wp-block-search .wp-block-search__input {
|
||||
flex-grow: 1; }
|
||||
.wp-block-search .wp-block-search__button {
|
||||
margin-left: 10px; }
|
||||
|
||||
.wp-block-separator.is-style-wide {
|
||||
border-bottom-width: 1px; }
|
||||
|
||||
@ -815,12 +901,33 @@ p.wp-block-subhead {
|
||||
display: table;
|
||||
width: auto; }
|
||||
|
||||
.wp-block-table.has-subtle-light-gray-background-color {
|
||||
background-color: #f3f4f5; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-green-background-color {
|
||||
background-color: #e9fbe5; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-blue-background-color {
|
||||
background-color: #e7f5fe; }
|
||||
|
||||
.wp-block-table.has-subtle-pale-pink-background-color {
|
||||
background-color: #fcf0ef; }
|
||||
|
||||
.wp-block-table.is-style-stripes {
|
||||
border-spacing: 0;
|
||||
border-collapse: inherit;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd) {
|
||||
background-color: #e9fbe5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd) {
|
||||
background-color: #e7f5fe; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd) {
|
||||
background-color: #fcf0ef; }
|
||||
.wp-block-table.is-style-stripes td {
|
||||
border-color: transparent; }
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
27
wp-includes/css/dist/block-library/theme-rtl.css
vendored
27
wp-includes/css/dist/block-library/theme-rtl.css
vendored
@ -38,8 +38,12 @@
|
||||
|
||||
.wp-block-preformatted pre {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d; }
|
||||
color: #23282d;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-preformatted pre {
|
||||
font-size: 14px; } }
|
||||
|
||||
.wp-block-pullquote {
|
||||
border-top: 4px solid #555d66;
|
||||
@ -53,7 +57,9 @@
|
||||
font-style: normal; }
|
||||
|
||||
.wp-block-quote {
|
||||
margin: 20px 0; }
|
||||
border-right: 4px solid #000;
|
||||
margin: 20px 0;
|
||||
padding-right: 1em; }
|
||||
.wp-block-quote cite,
|
||||
.wp-block-quote footer, .wp-block-quote__citation {
|
||||
color: #6c7781;
|
||||
@ -61,10 +67,19 @@
|
||||
margin-top: 1em;
|
||||
position: relative;
|
||||
font-style: normal; }
|
||||
.wp-block-quote[style*="text-align:right"], .wp-block-quote[style*="text-align: right"] {
|
||||
border-right: none;
|
||||
border-left: 4px solid #000;
|
||||
padding-right: 0;
|
||||
padding-left: 1em; }
|
||||
.wp-block-quote[style*="text-align:center"], .wp-block-quote[style*="text-align: center"] {
|
||||
border: none;
|
||||
padding-right: 0; }
|
||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||
border: none; }
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border-right: 4px solid #000;
|
||||
padding-right: 1em; }
|
||||
.wp-block-search .wp-block-search__label {
|
||||
font-weight: bold; }
|
||||
|
||||
.wp-block-separator {
|
||||
border: none;
|
||||
|
@ -1 +1 @@
|
||||
.wp-block-code{padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-code,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{margin:20px 0}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote:not(.is-large):not(.is-style-large){border-right:4px solid #000;padding-right:1em}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:break-all}
|
||||
.wp-block-code{font-size:14px;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-code,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;color:#23282d}.wp-block-preformatted pre{font-size:16px}@media (min-width:600px){.wp-block-preformatted pre{font-size:14px}}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{border-right:4px solid #000;margin:20px 0;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote[style*="text-align:right"],.wp-block-quote[style*="text-align: right"]{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote[style*="text-align:center"],.wp-block-quote[style*="text-align: center"]{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:break-all}
|
27
wp-includes/css/dist/block-library/theme.css
vendored
27
wp-includes/css/dist/block-library/theme.css
vendored
@ -38,8 +38,12 @@
|
||||
|
||||
.wp-block-preformatted pre {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
color: #23282d; }
|
||||
color: #23282d;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-preformatted pre {
|
||||
font-size: 14px; } }
|
||||
|
||||
.wp-block-pullquote {
|
||||
border-top: 4px solid #555d66;
|
||||
@ -53,7 +57,9 @@
|
||||
font-style: normal; }
|
||||
|
||||
.wp-block-quote {
|
||||
margin: 20px 0; }
|
||||
border-left: 4px solid #000;
|
||||
margin: 20px 0;
|
||||
padding-left: 1em; }
|
||||
.wp-block-quote cite,
|
||||
.wp-block-quote footer, .wp-block-quote__citation {
|
||||
color: #6c7781;
|
||||
@ -61,10 +67,19 @@
|
||||
margin-top: 1em;
|
||||
position: relative;
|
||||
font-style: normal; }
|
||||
.wp-block-quote[style*="text-align:right"], .wp-block-quote[style*="text-align: right"] {
|
||||
border-left: none;
|
||||
border-right: 4px solid #000;
|
||||
padding-left: 0;
|
||||
padding-right: 1em; }
|
||||
.wp-block-quote[style*="text-align:center"], .wp-block-quote[style*="text-align: center"] {
|
||||
border: none;
|
||||
padding-left: 0; }
|
||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||
border: none; }
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border-left: 4px solid #000;
|
||||
padding-left: 1em; }
|
||||
.wp-block-search .wp-block-search__label {
|
||||
font-weight: bold; }
|
||||
|
||||
.wp-block-separator {
|
||||
border: none;
|
||||
|
@ -1 +1 @@
|
||||
.wp-block-code{padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-code,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{margin:20px 0}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote:not(.is-large):not(.is-style-large){border-left:4px solid #000;padding-left:1em}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:break-all}
|
||||
.wp-block-code{font-size:14px;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-code,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;color:#23282d}.wp-block-preformatted pre{font-size:16px}@media (min-width:600px){.wp-block-preformatted pre{font-size:14px}}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{border-left:4px solid #000;margin:20px 0;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote[style*="text-align:right"],.wp-block-quote[style*="text-align: right"]{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote[style*="text-align:center"],.wp-block-quote[style*="text-align: center"]{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:break-all}
|
268
wp-includes/css/dist/components/style-rtl.css
vendored
268
wp-includes/css/dist/components/style-rtl.css
vendored
@ -28,6 +28,34 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
.components-animate__appear {
|
||||
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
|
||||
transform-origin: top right; }
|
||||
.components-animate__appear.is-from-top.is-from-right {
|
||||
transform-origin: top left; }
|
||||
.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {
|
||||
transform-origin: bottom right; }
|
||||
.components-animate__appear.is-from-bottom.is-from-right {
|
||||
transform-origin: bottom left; }
|
||||
|
||||
@keyframes components-animate__appear-animation {
|
||||
from {
|
||||
transform: translateY(-2em) scaleY(0) scaleX(0); }
|
||||
to {
|
||||
transform: translateY(0%) scaleY(1) scaleX(1); } }
|
||||
|
||||
.components-animate__slide-in {
|
||||
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
||||
animation-fill-mode: forwards; }
|
||||
.components-animate__slide-in.is-from-left {
|
||||
transform: translateX(-100%); }
|
||||
|
||||
@keyframes components-animate__slide-in-animation {
|
||||
100% {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
.components-autocomplete__popover .components-popover__content {
|
||||
min-width: 200px; }
|
||||
|
||||
@ -49,18 +77,21 @@
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
padding: 6px;
|
||||
padding: 6px 8px;
|
||||
margin-right: -3px;
|
||||
margin-left: -3px;
|
||||
text-align: right; }
|
||||
.components-autocomplete__result.components-button.is-selected {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
.components-autocomplete__result.components-button:hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px #fff, 0 1px 1px rgba(25, 30, 35, 0.2); }
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
|
||||
.components-base-control {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
@ -74,8 +105,10 @@
|
||||
margin-bottom: 4px; }
|
||||
.components-base-control .components-base-control__help {
|
||||
margin-top: -8px;
|
||||
font-style: italic;
|
||||
margin-bottom: 0; }
|
||||
font-style: italic; }
|
||||
|
||||
.components-base-control + .components-base-control {
|
||||
margin-bottom: 16px; }
|
||||
|
||||
.components-button-group {
|
||||
display: inline-block; }
|
||||
@ -425,6 +458,8 @@
|
||||
color: rgb(49, 95, 116); }
|
||||
body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: rgb(0, 93, 140); }
|
||||
.components-button .screen-reader-text {
|
||||
height: auto; }
|
||||
|
||||
@keyframes components-button__busy-animation {
|
||||
0% {
|
||||
@ -443,10 +478,12 @@
|
||||
margin-right: 0.5rem; }
|
||||
|
||||
.components-color-palette {
|
||||
margin-left: -14px; }
|
||||
.components-color-palette .components-color-palette__clear {
|
||||
float: left;
|
||||
margin-left: 20px; }
|
||||
margin-left: -14px;
|
||||
width: calc(100% + 14px); }
|
||||
.components-color-palette .components-color-palette__custom-clear-wrapper {
|
||||
width: calc(100% - 14px);
|
||||
display: flex;
|
||||
justify-content: flex-end; }
|
||||
|
||||
.components-color-palette__item-wrapper {
|
||||
display: inline-block;
|
||||
@ -475,7 +512,12 @@
|
||||
transition: 100ms box-shadow ease;
|
||||
cursor: pointer; }
|
||||
.components-color-palette__item.is-active {
|
||||
box-shadow: inset 0 0 0 4px; }
|
||||
box-shadow: inset 0 0 0 4px;
|
||||
border: 1px solid #606a73; }
|
||||
.components-color-palette__item.is-active + .dashicons-saved {
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px; }
|
||||
.components-color-palette__item::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -489,13 +531,15 @@
|
||||
outline: none; }
|
||||
.components-color-palette__item:focus::after {
|
||||
content: "";
|
||||
border: 1px solid #606a73;
|
||||
position: absolute;
|
||||
border: 2px solid #606a73;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: -2px;
|
||||
border-radius: 50%; }
|
||||
border-radius: 50%;
|
||||
box-shadow: inset 0 0 0 2px #fff; }
|
||||
|
||||
.components-color-palette__clear-color .components-color-palette__item {
|
||||
color: #fff;
|
||||
@ -520,33 +564,10 @@
|
||||
border-bottom: 2px solid #d94f4f;
|
||||
transform: rotate(-45deg) translateY(-13px) translateX(1px); }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__item {
|
||||
position: relative;
|
||||
box-shadow: none; }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__custom-color-gradient {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden; }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__custom-color-gradient::before {
|
||||
content: "";
|
||||
filter: blur(6px) saturate(0.7) brightness(1.1);
|
||||
display: block;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
right: -50%;
|
||||
padding-top: 100%;
|
||||
transform: scale(1);
|
||||
background-image: linear-gradient(-330deg, transparent 50%, #ff8100 50%), linear-gradient(-300deg, transparent 50%, #ff5800 50%), linear-gradient(-270deg, transparent 50%, #c92323 50%), linear-gradient(-240deg, transparent 50%, #cc42a2 50%), linear-gradient(-210deg, transparent 50%, #9f49ac 50%), linear-gradient(-180deg, transparent 50%, #306cd3 50%), linear-gradient(-150deg, transparent 50%, #179067 50%), linear-gradient(-120deg, transparent 50%, #0eb5d6 50%), linear-gradient(-90deg, transparent 50%, #50b517 50%), linear-gradient(-60deg, transparent 50%, #ede604 50%), linear-gradient(-30deg, transparent 50%, #fc0 50%), linear-gradient(0deg, transparent 50%, #feac00 50%);
|
||||
background-clip: content-box, content-box, content-box, content-box, content-box, content-box, padding-box, padding-box, padding-box, padding-box, padding-box, padding-box; }
|
||||
.components-color-palette__custom-color {
|
||||
margin-left: 16px; }
|
||||
.components-color-palette__custom-color .components-button {
|
||||
line-height: 22px; }
|
||||
|
||||
.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
|
||||
z-index: 100001; }
|
||||
@ -721,6 +742,8 @@
|
||||
align-items: flex-end; }
|
||||
.components-color-picker__inputs-wrapper fieldset {
|
||||
flex: 1; }
|
||||
.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] {
|
||||
padding: 2px; }
|
||||
|
||||
.components-color-picker__inputs-fields {
|
||||
display: flex; }
|
||||
@ -1669,8 +1692,6 @@ svg.dashicon {
|
||||
border-radius: 0 4px 4px 0 !important; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-year input {
|
||||
border-radius: 4px 0 0 4px !important; }
|
||||
.components-datetime__time.is-24-hour .components-datetime__time-field-day {
|
||||
order: 0 !important; }
|
||||
|
||||
.components-datetime__time-legend {
|
||||
font-weight: 600;
|
||||
@ -1865,13 +1886,90 @@ body.is-dragging-components-draggable {
|
||||
margin: -0.2em 0.1em 0;
|
||||
vertical-align: middle; }
|
||||
|
||||
.components-focal-point-picker-wrapper {
|
||||
background-color: transparent;
|
||||
border: 1px solid #e2e4e7;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
padding: 14px; }
|
||||
|
||||
.components-focal-point-picker {
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
width: 100%; }
|
||||
.components-focal-point-picker img {
|
||||
height: auto;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.components-focal-point-picker__icon_container {
|
||||
background-color: transparent;
|
||||
cursor: -webkit-grab;
|
||||
cursor: grab;
|
||||
height: 30px;
|
||||
opacity: 0.8;
|
||||
position: absolute;
|
||||
will-change: transform;
|
||||
width: 30px;
|
||||
z-index: 10000; }
|
||||
.components-focal-point-picker__icon_container.is-dragging {
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: grabbing; }
|
||||
|
||||
.components-focal-point-picker__icon {
|
||||
display: block;
|
||||
height: 100%;
|
||||
right: -15px;
|
||||
position: absolute;
|
||||
top: -15px;
|
||||
width: 100%; }
|
||||
.components-focal-point-picker__icon .components-focal-point-picker__icon-outline {
|
||||
fill: #fff; }
|
||||
.components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #0085ba; }
|
||||
body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #d1864a; }
|
||||
body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #a3b9a2; }
|
||||
body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #e14d43; }
|
||||
body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #a7b656; }
|
||||
body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #c2a68c; }
|
||||
body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #82b4cb; }
|
||||
body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #0085ba; }
|
||||
|
||||
.components-focal-point-picker_position-display-container {
|
||||
margin: 1em 0;
|
||||
display: flex; }
|
||||
.components-focal-point-picker_position-display-container .components-base-control__field {
|
||||
margin: 0 0 0 1em; }
|
||||
.components-focal-point-picker_position-display-container input[type="number"].components-text-control__input {
|
||||
max-width: 4em;
|
||||
padding: 6px 4px; }
|
||||
.components-focal-point-picker_position-display-container span {
|
||||
margin: 0 0.2em 0 0; }
|
||||
|
||||
.components-font-size-picker__buttons {
|
||||
max-width: 248px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center; }
|
||||
.components-font-size-picker__buttons .components-range-control__number {
|
||||
height: 24px;
|
||||
line-height: 22px; }
|
||||
height: 30px;
|
||||
margin-right: 0; }
|
||||
.components-font-size-picker__buttons .components-range-control__number[value=""] + .components-button {
|
||||
cursor: default;
|
||||
opacity: 0.3;
|
||||
@ -1891,6 +1989,17 @@ body.is-dragging-components-draggable {
|
||||
position: absolute;
|
||||
top: calc(50% - 10px);
|
||||
right: 10px; }
|
||||
.components-font-size-picker__dropdown-content .components-button:hover {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.components-font-size-picker__dropdown-content .components-button:focus {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.components-font-size-picker__buttons .components-font-size-picker__selector {
|
||||
border: 1px solid;
|
||||
@ -1926,11 +2035,13 @@ body.is-dragging-components-draggable {
|
||||
padding-right: 6px; }
|
||||
|
||||
.components-form-toggle {
|
||||
position: relative; }
|
||||
position: relative;
|
||||
display: inline-block; }
|
||||
.components-form-toggle .components-form-toggle__on,
|
||||
.components-form-toggle .components-form-toggle__off {
|
||||
position: absolute;
|
||||
top: 6px; }
|
||||
top: 6px;
|
||||
box-sizing: border-box; }
|
||||
.components-form-toggle .components-form-toggle__off {
|
||||
color: #6c7781;
|
||||
fill: currentColor;
|
||||
@ -1940,6 +2051,7 @@ body.is-dragging-components-draggable {
|
||||
.components-form-toggle .components-form-toggle__track {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
background-color: #fff;
|
||||
border: 2px solid #6c7781;
|
||||
@ -1950,6 +2062,7 @@ body.is-dragging-components-draggable {
|
||||
.components-form-toggle .components-form-toggle__thumb {
|
||||
display: block;
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
width: 10px;
|
||||
@ -2085,7 +2198,6 @@ body.is-dragging-components-draggable {
|
||||
min-height: 24px;
|
||||
background: inherit;
|
||||
border: 0;
|
||||
font-size: 13px;
|
||||
color: #23282d;
|
||||
box-shadow: none; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input:focus,
|
||||
@ -2208,14 +2320,16 @@ body.is-dragging-components-draggable {
|
||||
left: 0;
|
||||
pointer-events: none;
|
||||
outline: 4px solid transparent;
|
||||
animation: editor-animation__region-focus 0.2s ease-out;
|
||||
animation-fill-mode: forwards; }
|
||||
box-shadow: inset 0 0 0 4px #33b3db; }
|
||||
|
||||
@keyframes editor-animation__region-focus {
|
||||
from {
|
||||
box-shadow: inset 0 0 0 0 #33b3db; }
|
||||
to {
|
||||
box-shadow: inset 0 0 0 4px #33b3db; } }
|
||||
@supports (outline-offset: 1px) {
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus::after {
|
||||
content: none; }
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus {
|
||||
outline-style: solid;
|
||||
outline-color: #33b3db;
|
||||
outline-width: 4px;
|
||||
outline-offset: -4px; } }
|
||||
|
||||
.components-icon-button {
|
||||
display: flex;
|
||||
@ -2234,8 +2348,8 @@ body.is-dragging-components-draggable {
|
||||
.components-icon-button svg {
|
||||
fill: currentColor;
|
||||
outline: none; }
|
||||
.components-icon-button svg:not:only-child {
|
||||
margin-left: 4px; }
|
||||
.components-icon-button.has-text svg {
|
||||
margin-left: 4px; }
|
||||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
@ -2250,16 +2364,17 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-menu-group {
|
||||
width: 100%;
|
||||
padding: 7px; }
|
||||
padding: 7px 0; }
|
||||
|
||||
.components-menu-group__label {
|
||||
margin-bottom: 8px;
|
||||
color: #6c7781; }
|
||||
color: #6c7781;
|
||||
padding: 0 7px; }
|
||||
|
||||
.components-menu-item__button,
|
||||
.components-menu-item__button.components-icon-button {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
padding: 8px 15px;
|
||||
text-align: right;
|
||||
color: #40464d; }
|
||||
.components-menu-item__button .dashicon,
|
||||
@ -2281,7 +2396,11 @@ body.is-dragging-components-draggable {
|
||||
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; } }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; } }
|
||||
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut,
|
||||
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut {
|
||||
opacity: 1; }
|
||||
.components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]),
|
||||
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
@ -2297,11 +2416,11 @@ body.is-dragging-components-draggable {
|
||||
.components-menu-item__info {
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
opacity: 0.82; }
|
||||
opacity: 0.84; }
|
||||
|
||||
.components-menu-item__shortcut {
|
||||
align-self: center;
|
||||
opacity: 0.5;
|
||||
opacity: 0.84;
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
padding-right: 8px;
|
||||
@ -2372,8 +2491,8 @@ body.is-dragging-components-draggable {
|
||||
position: fixed;
|
||||
width: 100%; } }
|
||||
.components-modal__header .components-modal__header-heading {
|
||||
font-size: 1em;
|
||||
font-weight: 400; }
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
.components-modal__header h1 {
|
||||
line-height: 1;
|
||||
margin: 0; }
|
||||
@ -2401,6 +2520,8 @@ body.is-dragging-components-draggable {
|
||||
padding-top: 56px; } }
|
||||
|
||||
.components-notice {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #e5f5fa;
|
||||
border-right: 4px solid #00a0d2;
|
||||
margin: 5px 15px 2px;
|
||||
@ -2419,11 +2540,14 @@ body.is-dragging-components-draggable {
|
||||
background-color: #f9e2e2; }
|
||||
|
||||
.components-notice__content {
|
||||
margin: 1em 0; }
|
||||
margin: 1em 0 1em 25px; }
|
||||
|
||||
.components-notice__action.components-button, .components-notice__action.components-button.is-link {
|
||||
margin-right: 4px; }
|
||||
|
||||
.components-notice__action.components-button.is-default {
|
||||
vertical-align: initial; }
|
||||
|
||||
.components-notice__dismiss {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -2437,7 +2561,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-notice-list {
|
||||
min-width: 300px;
|
||||
z-index: 9989; }
|
||||
z-index: 29; }
|
||||
|
||||
.components-panel {
|
||||
background: #fff;
|
||||
@ -2495,7 +2619,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-panel__body > .components-panel__body-title:hover,
|
||||
.edit-post-last-revision__panel > .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background: #f8f9f9; }
|
||||
background: #f3f4f5; }
|
||||
|
||||
.components-panel__body-toggle.components-button {
|
||||
position: relative;
|
||||
@ -2574,6 +2698,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-placeholder__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1em; }
|
||||
@ -2844,8 +2969,7 @@ body.is-dragging-components-draggable {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
font-weight: 500;
|
||||
width: 50px;
|
||||
padding: 3px 5px !important; }
|
||||
width: 54px; }
|
||||
|
||||
.components-resizable-box__handle {
|
||||
display: none;
|
||||
|
File diff suppressed because one or more lines are too long
268
wp-includes/css/dist/components/style.css
vendored
268
wp-includes/css/dist/components/style.css
vendored
@ -28,6 +28,34 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
.components-animate__appear {
|
||||
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
|
||||
transform-origin: top left; }
|
||||
.components-animate__appear.is-from-top.is-from-right {
|
||||
transform-origin: top right; }
|
||||
.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {
|
||||
transform-origin: bottom left; }
|
||||
.components-animate__appear.is-from-bottom.is-from-right {
|
||||
transform-origin: bottom right; }
|
||||
|
||||
@keyframes components-animate__appear-animation {
|
||||
from {
|
||||
transform: translateY(-2em) scaleY(0) scaleX(0); }
|
||||
to {
|
||||
transform: translateY(0%) scaleY(1) scaleX(1); } }
|
||||
|
||||
.components-animate__slide-in {
|
||||
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
|
||||
animation-fill-mode: forwards; }
|
||||
.components-animate__slide-in.is-from-left {
|
||||
transform: translateX(100%); }
|
||||
|
||||
@keyframes components-animate__slide-in-animation {
|
||||
100% {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
.components-autocomplete__popover .components-popover__content {
|
||||
min-width: 200px; }
|
||||
|
||||
@ -49,18 +77,21 @@
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
padding: 6px;
|
||||
padding: 6px 8px;
|
||||
margin-left: -3px;
|
||||
margin-right: -3px;
|
||||
text-align: left; }
|
||||
.components-autocomplete__result.components-button.is-selected {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
.components-autocomplete__result.components-button:hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px #fff, 0 1px 1px rgba(25, 30, 35, 0.2); }
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
|
||||
.components-base-control {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
@ -74,8 +105,10 @@
|
||||
margin-bottom: 4px; }
|
||||
.components-base-control .components-base-control__help {
|
||||
margin-top: -8px;
|
||||
font-style: italic;
|
||||
margin-bottom: 0; }
|
||||
font-style: italic; }
|
||||
|
||||
.components-base-control + .components-base-control {
|
||||
margin-bottom: 16px; }
|
||||
|
||||
.components-button-group {
|
||||
display: inline-block; }
|
||||
@ -425,6 +458,8 @@
|
||||
color: rgb(49, 95, 116); }
|
||||
body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: rgb(0, 93, 140); }
|
||||
.components-button .screen-reader-text {
|
||||
height: auto; }
|
||||
|
||||
@keyframes components-button__busy-animation {
|
||||
0% {
|
||||
@ -443,10 +478,12 @@
|
||||
margin-left: 0.5rem; }
|
||||
|
||||
.components-color-palette {
|
||||
margin-right: -14px; }
|
||||
.components-color-palette .components-color-palette__clear {
|
||||
float: right;
|
||||
margin-right: 20px; }
|
||||
margin-right: -14px;
|
||||
width: calc(100% + 14px); }
|
||||
.components-color-palette .components-color-palette__custom-clear-wrapper {
|
||||
width: calc(100% - 14px);
|
||||
display: flex;
|
||||
justify-content: flex-end; }
|
||||
|
||||
.components-color-palette__item-wrapper {
|
||||
display: inline-block;
|
||||
@ -475,7 +512,12 @@
|
||||
transition: 100ms box-shadow ease;
|
||||
cursor: pointer; }
|
||||
.components-color-palette__item.is-active {
|
||||
box-shadow: inset 0 0 0 4px; }
|
||||
box-shadow: inset 0 0 0 4px;
|
||||
border: 1px solid #606a73; }
|
||||
.components-color-palette__item.is-active + .dashicons-saved {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
top: 4px; }
|
||||
.components-color-palette__item::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -489,13 +531,15 @@
|
||||
outline: none; }
|
||||
.components-color-palette__item:focus::after {
|
||||
content: "";
|
||||
border: 1px solid #606a73;
|
||||
position: absolute;
|
||||
border: 2px solid #606a73;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: -2px;
|
||||
border-radius: 50%; }
|
||||
border-radius: 50%;
|
||||
box-shadow: inset 0 0 0 2px #fff; }
|
||||
|
||||
.components-color-palette__clear-color .components-color-palette__item {
|
||||
color: #fff;
|
||||
@ -520,33 +564,10 @@
|
||||
border-bottom: 2px solid #d94f4f;
|
||||
transform: rotate(45deg) translateY(-13px) translateX(-1px); }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__item {
|
||||
position: relative;
|
||||
box-shadow: none; }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__custom-color-gradient {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden; }
|
||||
|
||||
.components-color-palette__custom-color .components-color-palette__custom-color-gradient::before {
|
||||
content: "";
|
||||
filter: blur(6px) saturate(0.7) brightness(1.1);
|
||||
display: block;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
padding-top: 100%;
|
||||
transform: scale(1);
|
||||
background-image: linear-gradient(330deg, transparent 50%, #ff8100 50%), linear-gradient(300deg, transparent 50%, #ff5800 50%), linear-gradient(270deg, transparent 50%, #c92323 50%), linear-gradient(240deg, transparent 50%, #cc42a2 50%), linear-gradient(210deg, transparent 50%, #9f49ac 50%), linear-gradient(180deg, transparent 50%, #306cd3 50%), linear-gradient(150deg, transparent 50%, #179067 50%), linear-gradient(120deg, transparent 50%, #0eb5d6 50%), linear-gradient(90deg, transparent 50%, #50b517 50%), linear-gradient(60deg, transparent 50%, #ede604 50%), linear-gradient(30deg, transparent 50%, #fc0 50%), linear-gradient(0deg, transparent 50%, #feac00 50%);
|
||||
background-clip: content-box, content-box, content-box, content-box, content-box, content-box, padding-box, padding-box, padding-box, padding-box, padding-box, padding-box; }
|
||||
.components-color-palette__custom-color {
|
||||
margin-right: 16px; }
|
||||
.components-color-palette__custom-color .components-button {
|
||||
line-height: 22px; }
|
||||
|
||||
.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
|
||||
z-index: 100001; }
|
||||
@ -721,6 +742,8 @@
|
||||
align-items: flex-end; }
|
||||
.components-color-picker__inputs-wrapper fieldset {
|
||||
flex: 1; }
|
||||
.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] {
|
||||
padding: 2px; }
|
||||
|
||||
.components-color-picker__inputs-fields {
|
||||
display: flex; }
|
||||
@ -1673,8 +1696,6 @@ svg.dashicon {
|
||||
border-radius: 4px 0 0 4px !important; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-year input {
|
||||
border-radius: 0 4px 4px 0 !important; }
|
||||
.components-datetime__time.is-24-hour .components-datetime__time-field-day {
|
||||
order: 0 !important; }
|
||||
|
||||
.components-datetime__time-legend {
|
||||
font-weight: 600;
|
||||
@ -1869,13 +1890,90 @@ body.is-dragging-components-draggable {
|
||||
margin: -0.2em 0.1em 0;
|
||||
vertical-align: middle; }
|
||||
|
||||
.components-focal-point-picker-wrapper {
|
||||
background-color: transparent;
|
||||
border: 1px solid #e2e4e7;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
padding: 14px; }
|
||||
|
||||
.components-focal-point-picker {
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
width: 100%; }
|
||||
.components-focal-point-picker img {
|
||||
height: auto;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.components-focal-point-picker__icon_container {
|
||||
background-color: transparent;
|
||||
cursor: -webkit-grab;
|
||||
cursor: grab;
|
||||
height: 30px;
|
||||
opacity: 0.8;
|
||||
position: absolute;
|
||||
will-change: transform;
|
||||
width: 30px;
|
||||
z-index: 10000; }
|
||||
.components-focal-point-picker__icon_container.is-dragging {
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: grabbing; }
|
||||
|
||||
.components-focal-point-picker__icon {
|
||||
display: block;
|
||||
height: 100%;
|
||||
left: -15px;
|
||||
position: absolute;
|
||||
top: -15px;
|
||||
width: 100%; }
|
||||
.components-focal-point-picker__icon .components-focal-point-picker__icon-outline {
|
||||
fill: #fff; }
|
||||
.components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #0085ba; }
|
||||
body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #d1864a; }
|
||||
body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #a3b9a2; }
|
||||
body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #e14d43; }
|
||||
body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #a7b656; }
|
||||
body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #c2a68c; }
|
||||
body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #82b4cb; }
|
||||
body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill {
|
||||
fill: #0085ba; }
|
||||
|
||||
.components-focal-point-picker_position-display-container {
|
||||
margin: 1em 0;
|
||||
display: flex; }
|
||||
.components-focal-point-picker_position-display-container .components-base-control__field {
|
||||
margin: 0 1em 0 0; }
|
||||
.components-focal-point-picker_position-display-container input[type="number"].components-text-control__input {
|
||||
max-width: 4em;
|
||||
padding: 6px 4px; }
|
||||
.components-focal-point-picker_position-display-container span {
|
||||
margin: 0 0 0 0.2em; }
|
||||
|
||||
.components-font-size-picker__buttons {
|
||||
max-width: 248px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center; }
|
||||
.components-font-size-picker__buttons .components-range-control__number {
|
||||
height: 24px;
|
||||
line-height: 22px; }
|
||||
height: 30px;
|
||||
margin-left: 0; }
|
||||
.components-font-size-picker__buttons .components-range-control__number[value=""] + .components-button {
|
||||
cursor: default;
|
||||
opacity: 0.3;
|
||||
@ -1895,6 +1993,17 @@ body.is-dragging-components-draggable {
|
||||
position: absolute;
|
||||
top: calc(50% - 10px);
|
||||
left: 10px; }
|
||||
.components-font-size-picker__dropdown-content .components-button:hover {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.components-font-size-picker__dropdown-content .components-button:focus {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.components-font-size-picker__buttons .components-font-size-picker__selector {
|
||||
border: 1px solid;
|
||||
@ -1930,11 +2039,13 @@ body.is-dragging-components-draggable {
|
||||
padding-left: 6px; }
|
||||
|
||||
.components-form-toggle {
|
||||
position: relative; }
|
||||
position: relative;
|
||||
display: inline-block; }
|
||||
.components-form-toggle .components-form-toggle__on,
|
||||
.components-form-toggle .components-form-toggle__off {
|
||||
position: absolute;
|
||||
top: 6px; }
|
||||
top: 6px;
|
||||
box-sizing: border-box; }
|
||||
.components-form-toggle .components-form-toggle__off {
|
||||
color: #6c7781;
|
||||
fill: currentColor;
|
||||
@ -1944,6 +2055,7 @@ body.is-dragging-components-draggable {
|
||||
.components-form-toggle .components-form-toggle__track {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
background-color: #fff;
|
||||
border: 2px solid #6c7781;
|
||||
@ -1954,6 +2066,7 @@ body.is-dragging-components-draggable {
|
||||
.components-form-toggle .components-form-toggle__thumb {
|
||||
display: block;
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
width: 10px;
|
||||
@ -2089,7 +2202,6 @@ body.is-dragging-components-draggable {
|
||||
min-height: 24px;
|
||||
background: inherit;
|
||||
border: 0;
|
||||
font-size: 13px;
|
||||
color: #23282d;
|
||||
box-shadow: none; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input:focus,
|
||||
@ -2212,14 +2324,16 @@ body.is-dragging-components-draggable {
|
||||
right: 0;
|
||||
pointer-events: none;
|
||||
outline: 4px solid transparent;
|
||||
animation: editor-animation__region-focus 0.2s ease-out;
|
||||
animation-fill-mode: forwards; }
|
||||
box-shadow: inset 0 0 0 4px #33b3db; }
|
||||
|
||||
@keyframes editor-animation__region-focus {
|
||||
from {
|
||||
box-shadow: inset 0 0 0 0 #33b3db; }
|
||||
to {
|
||||
box-shadow: inset 0 0 0 4px #33b3db; } }
|
||||
@supports (outline-offset: 1px) {
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus::after {
|
||||
content: none; }
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus {
|
||||
outline-style: solid;
|
||||
outline-color: #33b3db;
|
||||
outline-width: 4px;
|
||||
outline-offset: -4px; } }
|
||||
|
||||
.components-icon-button {
|
||||
display: flex;
|
||||
@ -2238,8 +2352,8 @@ body.is-dragging-components-draggable {
|
||||
.components-icon-button svg {
|
||||
fill: currentColor;
|
||||
outline: none; }
|
||||
.components-icon-button svg:not:only-child {
|
||||
margin-right: 4px; }
|
||||
.components-icon-button.has-text svg {
|
||||
margin-right: 4px; }
|
||||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
@ -2254,16 +2368,17 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-menu-group {
|
||||
width: 100%;
|
||||
padding: 7px; }
|
||||
padding: 7px 0; }
|
||||
|
||||
.components-menu-group__label {
|
||||
margin-bottom: 8px;
|
||||
color: #6c7781; }
|
||||
color: #6c7781;
|
||||
padding: 0 7px; }
|
||||
|
||||
.components-menu-item__button,
|
||||
.components-menu-item__button.components-icon-button {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
padding: 8px 15px;
|
||||
text-align: left;
|
||||
color: #40464d; }
|
||||
.components-menu-item__button .dashicon,
|
||||
@ -2285,7 +2400,11 @@ body.is-dragging-components-draggable {
|
||||
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; } }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; } }
|
||||
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut,
|
||||
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut {
|
||||
opacity: 1; }
|
||||
.components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]),
|
||||
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
@ -2301,11 +2420,11 @@ body.is-dragging-components-draggable {
|
||||
.components-menu-item__info {
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
opacity: 0.82; }
|
||||
opacity: 0.84; }
|
||||
|
||||
.components-menu-item__shortcut {
|
||||
align-self: center;
|
||||
opacity: 0.5;
|
||||
opacity: 0.84;
|
||||
margin-right: 0;
|
||||
margin-left: auto;
|
||||
padding-left: 8px;
|
||||
@ -2376,8 +2495,8 @@ body.is-dragging-components-draggable {
|
||||
position: fixed;
|
||||
width: 100%; } }
|
||||
.components-modal__header .components-modal__header-heading {
|
||||
font-size: 1em;
|
||||
font-weight: 400; }
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
.components-modal__header h1 {
|
||||
line-height: 1;
|
||||
margin: 0; }
|
||||
@ -2405,6 +2524,8 @@ body.is-dragging-components-draggable {
|
||||
padding-top: 56px; } }
|
||||
|
||||
.components-notice {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #e5f5fa;
|
||||
border-left: 4px solid #00a0d2;
|
||||
margin: 5px 15px 2px;
|
||||
@ -2423,11 +2544,14 @@ body.is-dragging-components-draggable {
|
||||
background-color: #f9e2e2; }
|
||||
|
||||
.components-notice__content {
|
||||
margin: 1em 0; }
|
||||
margin: 1em 25px 1em 0; }
|
||||
|
||||
.components-notice__action.components-button, .components-notice__action.components-button.is-link {
|
||||
margin-left: 4px; }
|
||||
|
||||
.components-notice__action.components-button.is-default {
|
||||
vertical-align: initial; }
|
||||
|
||||
.components-notice__dismiss {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -2441,7 +2565,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-notice-list {
|
||||
min-width: 300px;
|
||||
z-index: 9989; }
|
||||
z-index: 29; }
|
||||
|
||||
.components-panel {
|
||||
background: #fff;
|
||||
@ -2499,7 +2623,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-panel__body > .components-panel__body-title:hover,
|
||||
.edit-post-last-revision__panel > .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background: #f8f9f9; }
|
||||
background: #f3f4f5; }
|
||||
|
||||
.components-panel__body-toggle.components-button {
|
||||
position: relative;
|
||||
@ -2580,6 +2704,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-placeholder__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1em; }
|
||||
@ -2854,8 +2979,7 @@ body.is-dragging-components-draggable {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
font-weight: 500;
|
||||
width: 50px;
|
||||
padding: 3px 5px !important; }
|
||||
width: 54px; }
|
||||
|
||||
.components-resizable-box__handle {
|
||||
display: none;
|
||||
|
File diff suppressed because one or more lines are too long
444
wp-includes/css/dist/edit-post/style-rtl.css
vendored
444
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@ -28,24 +28,27 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -46px;
|
||||
height: calc(100% + 46px);
|
||||
animation: edit-post__fade-in-animation 0.3s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
@media (min-width: 782px) {
|
||||
@media (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -46px;
|
||||
height: calc(100% + 46px);
|
||||
animation: edit-post__fade-in-animation 0.3s ease-out 0s;
|
||||
animation-fill-mode: forwards; } }
|
||||
@media (min-width: 782px) and (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -32px;
|
||||
height: calc(100% + 32px); } }
|
||||
body.js.is-fullscreen-mode #adminmenumain,
|
||||
body.js.is-fullscreen-mode #wpadminbar {
|
||||
display: none; }
|
||||
body.js.is-fullscreen-mode #wpcontent,
|
||||
body.js.is-fullscreen-mode #wpfooter {
|
||||
margin-right: 0; }
|
||||
body.js.is-fullscreen-mode .edit-post-header {
|
||||
transform: translateY(-100%);
|
||||
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode #adminmenumain,
|
||||
body.js.is-fullscreen-mode #wpadminbar {
|
||||
display: none; }
|
||||
body.js.is-fullscreen-mode #wpcontent,
|
||||
body.js.is-fullscreen-mode #wpfooter {
|
||||
margin-right: 0; }
|
||||
body.js.is-fullscreen-mode .edit-post-header {
|
||||
transform: translateY(-100%);
|
||||
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } }
|
||||
|
||||
@keyframes edit-post-fullscreen-mode__slide-in-animation {
|
||||
100% {
|
||||
@ -70,9 +73,7 @@ body.js.is-fullscreen-mode {
|
||||
.edit-post-header {
|
||||
position: fixed;
|
||||
padding: 8px;
|
||||
top: 46px; }
|
||||
body.is-fullscreen-mode .edit-post-header {
|
||||
top: 0; } }
|
||||
top: 46px; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-header {
|
||||
top: 32px; }
|
||||
@ -97,7 +98,7 @@ body.js.is-fullscreen-mode {
|
||||
right: 160px; } }
|
||||
|
||||
.auto-fold .edit-post-header {
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto colllapses. */ }
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
|
||||
@media (min-width: 782px) {
|
||||
.auto-fold .edit-post-header {
|
||||
right: 36px; } }
|
||||
@ -117,7 +118,7 @@ body.js.is-fullscreen-mode {
|
||||
.auto-fold .wp-responsive-open .edit-post-header {
|
||||
right: 190px; } }
|
||||
|
||||
/* In small screens with resposive menu expanded there is small white space. */
|
||||
/* In small screens with responsive menu expanded there is small white space. */
|
||||
@media (max-width: 600px) {
|
||||
.auto-fold .wp-responsive-open .edit-post-header {
|
||||
margin-right: -18px; } }
|
||||
@ -173,11 +174,15 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
margin: 0 3px 0 12px; } }
|
||||
|
||||
.edit-post-fullscreen-mode-close__toolbar {
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
margin: -9px -10px -9px 10px;
|
||||
padding: 9px 10px; }
|
||||
display: none; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-fullscreen-mode-close__toolbar {
|
||||
display: block;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
margin: -9px -10px -9px 10px;
|
||||
padding: 9px 10px; } }
|
||||
|
||||
.edit-post-header-toolbar {
|
||||
display: inline-flex;
|
||||
@ -265,19 +270,18 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,
|
||||
.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * {
|
||||
stroke: #555d66;
|
||||
fill: #555d66; }
|
||||
fill: #555d66;
|
||||
stroke-width: 0; }
|
||||
.edit-post-pinned-plugins .components-icon-button.is-toggled svg,
|
||||
.edit-post-pinned-plugins .components-icon-button.is-toggled svg * {
|
||||
stroke: #fff !important;
|
||||
fill: #fff !important; }
|
||||
fill: #fff !important;
|
||||
stroke-width: 0; }
|
||||
.edit-post-pinned-plugins .components-icon-button:hover svg,
|
||||
.edit-post-pinned-plugins .components-icon-button:hover svg * {
|
||||
stroke: #191e23 !important;
|
||||
fill: #191e23 !important; }
|
||||
|
||||
.edit-post-keyboard-shortcut-help__title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
fill: #191e23 !important;
|
||||
stroke-width: 0; }
|
||||
|
||||
.edit-post-keyboard-shortcut-help__section {
|
||||
margin: 0 0 2rem 0; }
|
||||
@ -331,69 +335,20 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
color: #191e23; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout .components-notice-list {
|
||||
position: fixed;
|
||||
top: inherit; } }
|
||||
.edit-post-layout .components-notice-list .components-notice {
|
||||
margin: 0 0 5px;
|
||||
padding: 6px 12px;
|
||||
min-height: 50px; }
|
||||
.edit-post-layout .components-notice-list .components-notice .components-notice__dismiss {
|
||||
margin: 10px 5px; }
|
||||
top: 0; } }
|
||||
.edit-post-layout .components-notice-list.is-pinned {
|
||||
position: relative;
|
||||
right: 0;
|
||||
top: 0; }
|
||||
.edit-post-layout .components-notice {
|
||||
margin: 0 0 5px;
|
||||
padding: 6px 12px;
|
||||
min-height: 50px; }
|
||||
.edit-post-layout .components-notice .components-notice__dismiss {
|
||||
margin: 10px 5px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout {
|
||||
padding-top: 56px; } }
|
||||
.edit-post-layout.has-fixed-toolbar .edit-post-layout__content {
|
||||
padding-top: 36px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout.has-fixed-toolbar {
|
||||
padding-top: 93px; }
|
||||
.edit-post-layout.has-fixed-toolbar .edit-post-layout__content {
|
||||
padding-top: 0; } }
|
||||
@media (min-width: 960px) {
|
||||
.edit-post-layout.has-fixed-toolbar {
|
||||
padding-top: 56px; } }
|
||||
|
||||
.components-notice-list {
|
||||
/* Set left position when auto-fold is not on the body element. */
|
||||
right: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.components-notice-list {
|
||||
right: 160px; } }
|
||||
|
||||
.auto-fold .components-notice-list {
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto colllapses. */ }
|
||||
@media (min-width: 782px) {
|
||||
.auto-fold .components-notice-list {
|
||||
right: 36px; } }
|
||||
@media (min-width: 960px) {
|
||||
.auto-fold .components-notice-list {
|
||||
right: 160px; } }
|
||||
|
||||
/* Sidebar manually collapsed. */
|
||||
.folded .components-notice-list {
|
||||
right: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.folded .components-notice-list {
|
||||
right: 36px; } }
|
||||
|
||||
/* Mobile menu opened. */
|
||||
@media (max-width: 782px) {
|
||||
.auto-fold .wp-responsive-open .components-notice-list {
|
||||
right: 190px; } }
|
||||
|
||||
/* In small screens with resposive menu expanded there is small white space. */
|
||||
@media (max-width: 600px) {
|
||||
.auto-fold .wp-responsive-open .components-notice-list {
|
||||
margin-right: -18px; } }
|
||||
|
||||
body.is-fullscreen-mode .components-notice-list {
|
||||
right: 0 !important; }
|
||||
|
||||
.components-notice-list {
|
||||
left: 0; }
|
||||
|
||||
.edit-post-layout.is-sidebar-opened .components-notice-list {
|
||||
left: 280px; }
|
||||
|
||||
.edit-post-layout__metaboxes:not(:empty) {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
@ -409,7 +364,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
padding-bottom: 50vh;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-layout__content {
|
||||
@ -431,11 +385,19 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
margin-right: 36px; }
|
||||
body.is-fullscreen-mode .edit-post-layout__content {
|
||||
margin-right: 0 !important;
|
||||
position: relative;
|
||||
top: inherit; } }
|
||||
top: 56px; } }
|
||||
@media (min-width: 782px) {
|
||||
.has-fixed-toolbar .edit-post-layout__content {
|
||||
top: 124px; } }
|
||||
@media (min-width: 1080px) {
|
||||
.has-fixed-toolbar .edit-post-layout__content {
|
||||
top: 88px; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
padding-bottom: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
overflow-y: auto; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
overscroll-behavior-y: none; } }
|
||||
@ -455,8 +417,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: auto; }
|
||||
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
|
||||
top: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-layout .editor-post-publish-panel {
|
||||
top: 32px;
|
||||
@ -464,11 +424,13 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
width: 280px;
|
||||
border-right: 1px solid #e2e4e7;
|
||||
transform: translateX(-100%);
|
||||
animation: edit-post-layout__slide-in-animation 0.1s forwards; }
|
||||
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; }
|
||||
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 {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
@keyframes edit-post-layout__slide-in-animation {
|
||||
@keyframes edit-post-post-publish-panel__slide-in-animation {
|
||||
100% {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
@ -481,27 +443,51 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
flex: 0 1 52px; }
|
||||
|
||||
.edit-post-toggle-publish-panel {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
top: -9999em;
|
||||
bottom: auto;
|
||||
right: auto;
|
||||
left: 0;
|
||||
z-index: 100000;
|
||||
padding: 10px 0 10px 10px;
|
||||
width: 280px;
|
||||
height: 0;
|
||||
overflow: hidden; }
|
||||
.edit-post-toggle-publish-panel:focus-within {
|
||||
height: auto;
|
||||
padding: 20px 0 0 0; }
|
||||
background-color: #fff; }
|
||||
.edit-post-toggle-publish-panel:focus {
|
||||
top: auto;
|
||||
bottom: 0; }
|
||||
.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
float: left;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin: 0 auto 0 0;
|
||||
padding: 15px 23px 14px;
|
||||
line-height: normal;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
background: #f1f1f1; }
|
||||
background: #f1f1f1;
|
||||
color: #11a0d2; }
|
||||
body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c8b03c; }
|
||||
body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #a89d8a; }
|
||||
body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #77a6b9; }
|
||||
body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c77430; }
|
||||
body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #9fa47b; }
|
||||
body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #d9ab59; }
|
||||
body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c75726; }
|
||||
.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus {
|
||||
position: fixed;
|
||||
top: auto;
|
||||
left: 10px;
|
||||
bottom: 10px;
|
||||
right: auto; }
|
||||
|
||||
.edit-post-meta-boxes-area {
|
||||
position: relative;
|
||||
@ -586,9 +572,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
z-index: 90;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
body.is-fullscreen-mode .edit-post-sidebar {
|
||||
top: 56px; } }
|
||||
-webkit-overflow-scrolling: touch; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-sidebar {
|
||||
top: 88px; }
|
||||
@ -602,17 +586,17 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
height: auto;
|
||||
max-height: calc(100vh - 96px);
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px; }
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: calc(100vh - 50px); }
|
||||
@media (min-width: 600px) {
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: none; } }
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: -2; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-sidebar > .components-panel {
|
||||
overflow: inherit;
|
||||
height: auto;
|
||||
max-height: none; } }
|
||||
@media (min-width: 782px) {
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: calc(100vh - 50px); } }
|
||||
.edit-post-sidebar > .components-panel .components-panel__header {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
@ -694,35 +678,44 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
.edit-post-sidebar__panel-tab {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
height: 50px;
|
||||
padding: 3px 15px;
|
||||
margin-right: 0;
|
||||
font-weight: 400;
|
||||
outline-offset: -1px; }
|
||||
outline-offset: -1px;
|
||||
transition: box-shadow 0.1s linear; }
|
||||
.edit-post-sidebar__panel-tab.is-active {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 3px solid #0085ba;
|
||||
font-weight: 600; }
|
||||
box-shadow: inset 0 -3px #007cba;
|
||||
font-weight: 600;
|
||||
position: relative; }
|
||||
body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #d1864a; }
|
||||
box-shadow: inset 0 -3px #837425; }
|
||||
body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a3b9a2; }
|
||||
box-shadow: inset 0 -3px #5e7d5e; }
|
||||
body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #e14d43; }
|
||||
box-shadow: inset 0 -3px #497b8d; }
|
||||
body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a7b656; }
|
||||
box-shadow: inset 0 -3px #523f6d; }
|
||||
body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #c2a68c; }
|
||||
box-shadow: inset 0 -3px #59524c; }
|
||||
body.admin-color-blue .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #82b4cb; }
|
||||
box-shadow: inset 0 -3px #417e9B; }
|
||||
body.admin-color-light .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #0085ba; }
|
||||
box-shadow: inset 0 -3px #007cba; }
|
||||
.edit-post-sidebar__panel-tab.is-active::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 1px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-bottom: 3px solid transparent; }
|
||||
.edit-post-sidebar__panel-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
box-shadow: none; }
|
||||
outline-offset: -1px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.components-panel__body.is-opened.edit-post-last-revision__panel {
|
||||
padding: 0; }
|
||||
@ -804,7 +797,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
border-top: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
z-index: -1;
|
||||
top: 0; }
|
||||
.components-panel__header.edit-post-sidebar__panel-tabs ul {
|
||||
display: flex; }
|
||||
@ -814,14 +807,14 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
.edit-post-sidebar__panel-tab {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
height: 48px;
|
||||
padding: 3px 15px;
|
||||
margin-right: 0;
|
||||
font-weight: 400;
|
||||
color: #191e23;
|
||||
outline-offset: -1px; }
|
||||
outline-offset: -1px;
|
||||
transition: box-shadow 0.1s linear; }
|
||||
.edit-post-sidebar__panel-tab::after {
|
||||
content: attr(data-label);
|
||||
display: block;
|
||||
@ -831,36 +824,44 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
speak: none;
|
||||
visibility: hidden; }
|
||||
.edit-post-sidebar__panel-tab.is-active {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 3px solid #0085ba;
|
||||
font-weight: 600; }
|
||||
box-shadow: inset 0 -3px #007cba;
|
||||
font-weight: 600;
|
||||
position: relative; }
|
||||
body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #d1864a; }
|
||||
box-shadow: inset 0 -3px #837425; }
|
||||
body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a3b9a2; }
|
||||
box-shadow: inset 0 -3px #5e7d5e; }
|
||||
body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #e14d43; }
|
||||
box-shadow: inset 0 -3px #497b8d; }
|
||||
body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a7b656; }
|
||||
box-shadow: inset 0 -3px #523f6d; }
|
||||
body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #c2a68c; }
|
||||
box-shadow: inset 0 -3px #59524c; }
|
||||
body.admin-color-blue .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #82b4cb; }
|
||||
box-shadow: inset 0 -3px #417e9B; }
|
||||
body.admin-color-light .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #0085ba; }
|
||||
box-shadow: inset 0 -3px #007cba; }
|
||||
.edit-post-sidebar__panel-tab.is-active::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 1px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-bottom: 3px solid transparent; }
|
||||
.edit-post-sidebar__panel-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
box-shadow: none; }
|
||||
outline-offset: -1px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body {
|
||||
border: none;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
margin: 0 -16px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control {
|
||||
margin: 0 0 1.5em 0; }
|
||||
margin-bottom: 24px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child {
|
||||
margin-bottom: 0.5em; }
|
||||
margin-bottom: 8px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle {
|
||||
color: #191e23; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body:first-child {
|
||||
@ -897,9 +898,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
padding-top: 40px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-text-editor__body {
|
||||
padding-top: 86px; }
|
||||
body.is-fullscreen-mode .edit-post-text-editor__body {
|
||||
padding-top: 40px; } }
|
||||
padding-top: 86px; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-text-editor__body {
|
||||
padding-top: 40px; }
|
||||
@ -908,6 +907,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
|
||||
.edit-post-text-editor {
|
||||
width: 100%;
|
||||
max-width: calc(100% - 32px);
|
||||
margin-right: 16px;
|
||||
margin-left: 16px;
|
||||
padding-top: 44px; }
|
||||
@ -1018,10 +1018,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
min-height: 28px;
|
||||
line-height: 1.8; }
|
||||
|
||||
.edit-post-options-modal__title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
|
||||
.edit-post-options-modal__section {
|
||||
margin: 0 0 2rem 0; }
|
||||
|
||||
@ -1105,9 +1101,7 @@ body.block-editor-page {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
min-height: calc(100vh - 46px); }
|
||||
body.is-fullscreen-mode .block-editor__container {
|
||||
min-height: 100vh; } }
|
||||
min-height: calc(100vh - 46px); } }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor__container {
|
||||
@ -1240,12 +1234,129 @@ body.block-editor-page {
|
||||
.components-modal__content select,
|
||||
.components-modal__content textarea {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 6px 8px;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8d96a0; }
|
||||
border: 1px solid #8d96a0;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-post-permalink .input-control,
|
||||
.editor-post-permalink input[type="text"],
|
||||
.editor-post-permalink input[type="search"],
|
||||
.editor-post-permalink input[type="radio"],
|
||||
.editor-post-permalink input[type="tel"],
|
||||
.editor-post-permalink input[type="time"],
|
||||
.editor-post-permalink input[type="url"],
|
||||
.editor-post-permalink input[type="week"],
|
||||
.editor-post-permalink input[type="password"],
|
||||
.editor-post-permalink input[type="checkbox"],
|
||||
.editor-post-permalink input[type="color"],
|
||||
.editor-post-permalink input[type="date"],
|
||||
.editor-post-permalink input[type="datetime"],
|
||||
.editor-post-permalink input[type="datetime-local"],
|
||||
.editor-post-permalink input[type="email"],
|
||||
.editor-post-permalink input[type="month"],
|
||||
.editor-post-permalink input[type="number"],
|
||||
.editor-post-permalink select,
|
||||
.editor-post-permalink textarea,
|
||||
.edit-post-sidebar .input-control,
|
||||
.edit-post-sidebar input[type="text"],
|
||||
.edit-post-sidebar input[type="search"],
|
||||
.edit-post-sidebar input[type="radio"],
|
||||
.edit-post-sidebar input[type="tel"],
|
||||
.edit-post-sidebar input[type="time"],
|
||||
.edit-post-sidebar input[type="url"],
|
||||
.edit-post-sidebar input[type="week"],
|
||||
.edit-post-sidebar input[type="password"],
|
||||
.edit-post-sidebar input[type="checkbox"],
|
||||
.edit-post-sidebar input[type="color"],
|
||||
.edit-post-sidebar input[type="date"],
|
||||
.edit-post-sidebar input[type="datetime"],
|
||||
.edit-post-sidebar input[type="datetime-local"],
|
||||
.edit-post-sidebar input[type="email"],
|
||||
.edit-post-sidebar input[type="month"],
|
||||
.edit-post-sidebar input[type="number"],
|
||||
.edit-post-sidebar select,
|
||||
.edit-post-sidebar textarea,
|
||||
.editor-post-publish-panel .input-control,
|
||||
.editor-post-publish-panel input[type="text"],
|
||||
.editor-post-publish-panel input[type="search"],
|
||||
.editor-post-publish-panel input[type="radio"],
|
||||
.editor-post-publish-panel input[type="tel"],
|
||||
.editor-post-publish-panel input[type="time"],
|
||||
.editor-post-publish-panel input[type="url"],
|
||||
.editor-post-publish-panel input[type="week"],
|
||||
.editor-post-publish-panel input[type="password"],
|
||||
.editor-post-publish-panel input[type="checkbox"],
|
||||
.editor-post-publish-panel input[type="color"],
|
||||
.editor-post-publish-panel input[type="date"],
|
||||
.editor-post-publish-panel input[type="datetime"],
|
||||
.editor-post-publish-panel input[type="datetime-local"],
|
||||
.editor-post-publish-panel input[type="email"],
|
||||
.editor-post-publish-panel input[type="month"],
|
||||
.editor-post-publish-panel input[type="number"],
|
||||
.editor-post-publish-panel select,
|
||||
.editor-post-publish-panel textarea,
|
||||
.editor-block-list__block .input-control,
|
||||
.editor-block-list__block input[type="text"],
|
||||
.editor-block-list__block input[type="search"],
|
||||
.editor-block-list__block input[type="radio"],
|
||||
.editor-block-list__block input[type="tel"],
|
||||
.editor-block-list__block input[type="time"],
|
||||
.editor-block-list__block input[type="url"],
|
||||
.editor-block-list__block input[type="week"],
|
||||
.editor-block-list__block input[type="password"],
|
||||
.editor-block-list__block input[type="checkbox"],
|
||||
.editor-block-list__block input[type="color"],
|
||||
.editor-block-list__block input[type="date"],
|
||||
.editor-block-list__block input[type="datetime"],
|
||||
.editor-block-list__block input[type="datetime-local"],
|
||||
.editor-block-list__block input[type="email"],
|
||||
.editor-block-list__block input[type="month"],
|
||||
.editor-block-list__block input[type="number"],
|
||||
.editor-block-list__block select,
|
||||
.editor-block-list__block textarea,
|
||||
.components-popover .input-control,
|
||||
.components-popover input[type="text"],
|
||||
.components-popover input[type="search"],
|
||||
.components-popover input[type="radio"],
|
||||
.components-popover input[type="tel"],
|
||||
.components-popover input[type="time"],
|
||||
.components-popover input[type="url"],
|
||||
.components-popover input[type="week"],
|
||||
.components-popover input[type="password"],
|
||||
.components-popover input[type="checkbox"],
|
||||
.components-popover input[type="color"],
|
||||
.components-popover input[type="date"],
|
||||
.components-popover input[type="datetime"],
|
||||
.components-popover input[type="datetime-local"],
|
||||
.components-popover input[type="email"],
|
||||
.components-popover input[type="month"],
|
||||
.components-popover input[type="number"],
|
||||
.components-popover select,
|
||||
.components-popover textarea,
|
||||
.components-modal__content .input-control,
|
||||
.components-modal__content input[type="text"],
|
||||
.components-modal__content input[type="search"],
|
||||
.components-modal__content input[type="radio"],
|
||||
.components-modal__content input[type="tel"],
|
||||
.components-modal__content input[type="time"],
|
||||
.components-modal__content input[type="url"],
|
||||
.components-modal__content input[type="week"],
|
||||
.components-modal__content input[type="password"],
|
||||
.components-modal__content input[type="checkbox"],
|
||||
.components-modal__content input[type="color"],
|
||||
.components-modal__content input[type="date"],
|
||||
.components-modal__content input[type="datetime"],
|
||||
.components-modal__content input[type="datetime-local"],
|
||||
.components-modal__content input[type="email"],
|
||||
.components-modal__content input[type="month"],
|
||||
.components-modal__content input[type="number"],
|
||||
.components-modal__content select,
|
||||
.components-modal__content textarea {
|
||||
font-size: 13px; } }
|
||||
.editor-post-permalink .input-control:focus,
|
||||
.editor-post-permalink input[type="text"]:focus,
|
||||
.editor-post-permalink input[type="search"]:focus,
|
||||
@ -1366,6 +1477,15 @@ body.block-editor-page {
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
.editor-post-permalink input[type="number"],
|
||||
.edit-post-sidebar input[type="number"],
|
||||
.editor-post-publish-panel input[type="number"],
|
||||
.editor-block-list__block input[type="number"],
|
||||
.components-popover input[type="number"],
|
||||
.components-modal__content input[type="number"] {
|
||||
padding-right: 4px;
|
||||
padding-left: 4px; }
|
||||
|
||||
.editor-post-permalink select,
|
||||
.edit-post-sidebar select,
|
||||
.editor-post-publish-panel select,
|
||||
|
File diff suppressed because one or more lines are too long
444
wp-includes/css/dist/edit-post/style.css
vendored
444
wp-includes/css/dist/edit-post/style.css
vendored
@ -28,24 +28,27 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -46px;
|
||||
height: calc(100% + 46px);
|
||||
animation: edit-post__fade-in-animation 0.3s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
@media (min-width: 782px) {
|
||||
@media (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -46px;
|
||||
height: calc(100% + 46px);
|
||||
animation: edit-post__fade-in-animation 0.3s ease-out 0s;
|
||||
animation-fill-mode: forwards; } }
|
||||
@media (min-width: 782px) and (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode {
|
||||
margin-top: -32px;
|
||||
height: calc(100% + 32px); } }
|
||||
body.js.is-fullscreen-mode #adminmenumain,
|
||||
body.js.is-fullscreen-mode #wpadminbar {
|
||||
display: none; }
|
||||
body.js.is-fullscreen-mode #wpcontent,
|
||||
body.js.is-fullscreen-mode #wpfooter {
|
||||
margin-left: 0; }
|
||||
body.js.is-fullscreen-mode .edit-post-header {
|
||||
transform: translateY(-100%);
|
||||
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
body.js.is-fullscreen-mode #adminmenumain,
|
||||
body.js.is-fullscreen-mode #wpadminbar {
|
||||
display: none; }
|
||||
body.js.is-fullscreen-mode #wpcontent,
|
||||
body.js.is-fullscreen-mode #wpfooter {
|
||||
margin-left: 0; }
|
||||
body.js.is-fullscreen-mode .edit-post-header {
|
||||
transform: translateY(-100%);
|
||||
animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } }
|
||||
|
||||
@keyframes edit-post-fullscreen-mode__slide-in-animation {
|
||||
100% {
|
||||
@ -70,9 +73,7 @@ body.js.is-fullscreen-mode {
|
||||
.edit-post-header {
|
||||
position: fixed;
|
||||
padding: 8px;
|
||||
top: 46px; }
|
||||
body.is-fullscreen-mode .edit-post-header {
|
||||
top: 0; } }
|
||||
top: 46px; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-header {
|
||||
top: 32px; }
|
||||
@ -97,7 +98,7 @@ body.js.is-fullscreen-mode {
|
||||
left: 160px; } }
|
||||
|
||||
.auto-fold .edit-post-header {
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto colllapses. */ }
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
|
||||
@media (min-width: 782px) {
|
||||
.auto-fold .edit-post-header {
|
||||
left: 36px; } }
|
||||
@ -117,7 +118,7 @@ body.js.is-fullscreen-mode {
|
||||
.auto-fold .wp-responsive-open .edit-post-header {
|
||||
left: 190px; } }
|
||||
|
||||
/* In small screens with resposive menu expanded there is small white space. */
|
||||
/* In small screens with responsive menu expanded there is small white space. */
|
||||
@media (max-width: 600px) {
|
||||
.auto-fold .wp-responsive-open .edit-post-header {
|
||||
margin-left: -18px; } }
|
||||
@ -173,11 +174,15 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
margin: 0 12px 0 3px; } }
|
||||
|
||||
.edit-post-fullscreen-mode-close__toolbar {
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
margin: -9px 10px -9px -10px;
|
||||
padding: 9px 10px; }
|
||||
display: none; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-fullscreen-mode-close__toolbar {
|
||||
display: block;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
margin: -9px 10px -9px -10px;
|
||||
padding: 9px 10px; } }
|
||||
|
||||
.edit-post-header-toolbar {
|
||||
display: inline-flex;
|
||||
@ -265,19 +270,18 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,
|
||||
.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * {
|
||||
stroke: #555d66;
|
||||
fill: #555d66; }
|
||||
fill: #555d66;
|
||||
stroke-width: 0; }
|
||||
.edit-post-pinned-plugins .components-icon-button.is-toggled svg,
|
||||
.edit-post-pinned-plugins .components-icon-button.is-toggled svg * {
|
||||
stroke: #fff !important;
|
||||
fill: #fff !important; }
|
||||
fill: #fff !important;
|
||||
stroke-width: 0; }
|
||||
.edit-post-pinned-plugins .components-icon-button:hover svg,
|
||||
.edit-post-pinned-plugins .components-icon-button:hover svg * {
|
||||
stroke: #191e23 !important;
|
||||
fill: #191e23 !important; }
|
||||
|
||||
.edit-post-keyboard-shortcut-help__title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
fill: #191e23 !important;
|
||||
stroke-width: 0; }
|
||||
|
||||
.edit-post-keyboard-shortcut-help__section {
|
||||
margin: 0 0 2rem 0; }
|
||||
@ -331,69 +335,20 @@ body.is-fullscreen-mode .edit-post-header {
|
||||
color: #191e23; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout .components-notice-list {
|
||||
position: fixed;
|
||||
top: inherit; } }
|
||||
.edit-post-layout .components-notice-list .components-notice {
|
||||
margin: 0 0 5px;
|
||||
padding: 6px 12px;
|
||||
min-height: 50px; }
|
||||
.edit-post-layout .components-notice-list .components-notice .components-notice__dismiss {
|
||||
margin: 10px 5px; }
|
||||
top: 0; } }
|
||||
.edit-post-layout .components-notice-list.is-pinned {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0; }
|
||||
.edit-post-layout .components-notice {
|
||||
margin: 0 0 5px;
|
||||
padding: 6px 12px;
|
||||
min-height: 50px; }
|
||||
.edit-post-layout .components-notice .components-notice__dismiss {
|
||||
margin: 10px 5px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout {
|
||||
padding-top: 56px; } }
|
||||
.edit-post-layout.has-fixed-toolbar .edit-post-layout__content {
|
||||
padding-top: 36px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout.has-fixed-toolbar {
|
||||
padding-top: 93px; }
|
||||
.edit-post-layout.has-fixed-toolbar .edit-post-layout__content {
|
||||
padding-top: 0; } }
|
||||
@media (min-width: 960px) {
|
||||
.edit-post-layout.has-fixed-toolbar {
|
||||
padding-top: 56px; } }
|
||||
|
||||
.components-notice-list {
|
||||
/* Set left position when auto-fold is not on the body element. */
|
||||
left: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.components-notice-list {
|
||||
left: 160px; } }
|
||||
|
||||
.auto-fold .components-notice-list {
|
||||
/* Auto fold is when on smaller breakpoints, nav menu auto colllapses. */ }
|
||||
@media (min-width: 782px) {
|
||||
.auto-fold .components-notice-list {
|
||||
left: 36px; } }
|
||||
@media (min-width: 960px) {
|
||||
.auto-fold .components-notice-list {
|
||||
left: 160px; } }
|
||||
|
||||
/* Sidebar manually collapsed. */
|
||||
.folded .components-notice-list {
|
||||
left: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.folded .components-notice-list {
|
||||
left: 36px; } }
|
||||
|
||||
/* Mobile menu opened. */
|
||||
@media (max-width: 782px) {
|
||||
.auto-fold .wp-responsive-open .components-notice-list {
|
||||
left: 190px; } }
|
||||
|
||||
/* In small screens with resposive menu expanded there is small white space. */
|
||||
@media (max-width: 600px) {
|
||||
.auto-fold .wp-responsive-open .components-notice-list {
|
||||
margin-left: -18px; } }
|
||||
|
||||
body.is-fullscreen-mode .components-notice-list {
|
||||
left: 0 !important; }
|
||||
|
||||
.components-notice-list {
|
||||
right: 0; }
|
||||
|
||||
.edit-post-layout.is-sidebar-opened .components-notice-list {
|
||||
right: 280px; }
|
||||
|
||||
.edit-post-layout__metaboxes:not(:empty) {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
@ -409,7 +364,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
padding-bottom: 50vh;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-layout__content {
|
||||
@ -431,11 +385,19 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
margin-left: 36px; }
|
||||
body.is-fullscreen-mode .edit-post-layout__content {
|
||||
margin-left: 0 !important;
|
||||
position: relative;
|
||||
top: inherit; } }
|
||||
top: 56px; } }
|
||||
@media (min-width: 782px) {
|
||||
.has-fixed-toolbar .edit-post-layout__content {
|
||||
top: 124px; } }
|
||||
@media (min-width: 1080px) {
|
||||
.has-fixed-toolbar .edit-post-layout__content {
|
||||
top: 88px; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
padding-bottom: 0; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
overflow-y: auto; } }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-layout__content {
|
||||
overscroll-behavior-y: none; } }
|
||||
@ -455,8 +417,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
right: 0;
|
||||
left: 0;
|
||||
overflow: auto; }
|
||||
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
|
||||
top: 0; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-layout .editor-post-publish-panel {
|
||||
top: 32px;
|
||||
@ -464,11 +424,13 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
width: 280px;
|
||||
border-left: 1px solid #e2e4e7;
|
||||
transform: translateX(100%);
|
||||
animation: edit-post-layout__slide-in-animation 0.1s forwards; }
|
||||
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; }
|
||||
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 {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
@keyframes edit-post-layout__slide-in-animation {
|
||||
@keyframes edit-post-post-publish-panel__slide-in-animation {
|
||||
100% {
|
||||
transform: translateX(0%); } }
|
||||
|
||||
@ -481,27 +443,51 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
flex: 0 1 52px; }
|
||||
|
||||
.edit-post-toggle-publish-panel {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
top: -9999em;
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
right: 0;
|
||||
z-index: 100000;
|
||||
padding: 10px 10px 10px 0;
|
||||
width: 280px;
|
||||
height: 0;
|
||||
overflow: hidden; }
|
||||
.edit-post-toggle-publish-panel:focus-within {
|
||||
height: auto;
|
||||
padding: 20px 0 0 0; }
|
||||
background-color: #fff; }
|
||||
.edit-post-toggle-publish-panel:focus {
|
||||
top: auto;
|
||||
bottom: 0; }
|
||||
.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
float: right;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 0 auto;
|
||||
padding: 15px 23px 14px;
|
||||
line-height: normal;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
background: #f1f1f1; }
|
||||
background: #f1f1f1;
|
||||
color: #11a0d2; }
|
||||
body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c8b03c; }
|
||||
body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #a89d8a; }
|
||||
body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #77a6b9; }
|
||||
body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c77430; }
|
||||
body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #9fa47b; }
|
||||
body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #d9ab59; }
|
||||
body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button {
|
||||
color: #c75726; }
|
||||
.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus {
|
||||
position: fixed;
|
||||
top: auto;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
left: auto; }
|
||||
|
||||
.edit-post-meta-boxes-area {
|
||||
position: relative;
|
||||
@ -586,9 +572,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
z-index: 90;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
body.is-fullscreen-mode .edit-post-sidebar {
|
||||
top: 56px; } }
|
||||
-webkit-overflow-scrolling: touch; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-sidebar {
|
||||
top: 88px; }
|
||||
@ -602,17 +586,17 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
height: auto;
|
||||
max-height: calc(100vh - 96px);
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px; }
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: calc(100vh - 50px); }
|
||||
@media (min-width: 600px) {
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: none; } }
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: -2; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-sidebar > .components-panel {
|
||||
overflow: inherit;
|
||||
height: auto;
|
||||
max-height: none; } }
|
||||
@media (min-width: 782px) {
|
||||
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
|
||||
max-height: calc(100vh - 50px); } }
|
||||
.edit-post-sidebar > .components-panel .components-panel__header {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
@ -694,35 +678,44 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
.edit-post-sidebar__panel-tab {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
height: 50px;
|
||||
padding: 3px 15px;
|
||||
margin-left: 0;
|
||||
font-weight: 400;
|
||||
outline-offset: -1px; }
|
||||
outline-offset: -1px;
|
||||
transition: box-shadow 0.1s linear; }
|
||||
.edit-post-sidebar__panel-tab.is-active {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 3px solid #0085ba;
|
||||
font-weight: 600; }
|
||||
box-shadow: inset 0 -3px #007cba;
|
||||
font-weight: 600;
|
||||
position: relative; }
|
||||
body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #d1864a; }
|
||||
box-shadow: inset 0 -3px #837425; }
|
||||
body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a3b9a2; }
|
||||
box-shadow: inset 0 -3px #5e7d5e; }
|
||||
body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #e14d43; }
|
||||
box-shadow: inset 0 -3px #497b8d; }
|
||||
body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a7b656; }
|
||||
box-shadow: inset 0 -3px #523f6d; }
|
||||
body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #c2a68c; }
|
||||
box-shadow: inset 0 -3px #59524c; }
|
||||
body.admin-color-blue .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #82b4cb; }
|
||||
box-shadow: inset 0 -3px #417e9B; }
|
||||
body.admin-color-light .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #0085ba; }
|
||||
box-shadow: inset 0 -3px #007cba; }
|
||||
.edit-post-sidebar__panel-tab.is-active::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 1px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
border-bottom: 3px solid transparent; }
|
||||
.edit-post-sidebar__panel-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
box-shadow: none; }
|
||||
outline-offset: -1px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.components-panel__body.is-opened.edit-post-last-revision__panel {
|
||||
padding: 0; }
|
||||
@ -804,7 +797,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
border-top: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
z-index: -1;
|
||||
top: 0; }
|
||||
.components-panel__header.edit-post-sidebar__panel-tabs ul {
|
||||
display: flex; }
|
||||
@ -814,14 +807,14 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
.edit-post-sidebar__panel-tab {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
height: 48px;
|
||||
padding: 3px 15px;
|
||||
margin-left: 0;
|
||||
font-weight: 400;
|
||||
color: #191e23;
|
||||
outline-offset: -1px; }
|
||||
outline-offset: -1px;
|
||||
transition: box-shadow 0.1s linear; }
|
||||
.edit-post-sidebar__panel-tab::after {
|
||||
content: attr(data-label);
|
||||
display: block;
|
||||
@ -831,36 +824,44 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
speak: none;
|
||||
visibility: hidden; }
|
||||
.edit-post-sidebar__panel-tab.is-active {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 3px solid #0085ba;
|
||||
font-weight: 600; }
|
||||
box-shadow: inset 0 -3px #007cba;
|
||||
font-weight: 600;
|
||||
position: relative; }
|
||||
body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #d1864a; }
|
||||
box-shadow: inset 0 -3px #837425; }
|
||||
body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a3b9a2; }
|
||||
box-shadow: inset 0 -3px #5e7d5e; }
|
||||
body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #e14d43; }
|
||||
box-shadow: inset 0 -3px #497b8d; }
|
||||
body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #a7b656; }
|
||||
box-shadow: inset 0 -3px #523f6d; }
|
||||
body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #c2a68c; }
|
||||
box-shadow: inset 0 -3px #59524c; }
|
||||
body.admin-color-blue .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #82b4cb; }
|
||||
box-shadow: inset 0 -3px #417e9B; }
|
||||
body.admin-color-light .edit-post-sidebar__panel-tab.is-active {
|
||||
border-bottom: 3px solid #0085ba; }
|
||||
box-shadow: inset 0 -3px #007cba; }
|
||||
.edit-post-sidebar__panel-tab.is-active::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 1px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
border-bottom: 3px solid transparent; }
|
||||
.edit-post-sidebar__panel-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
box-shadow: none; }
|
||||
outline-offset: -1px;
|
||||
outline: 1px dotted #555d66; }
|
||||
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body {
|
||||
border: none;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
margin: 0 -16px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control {
|
||||
margin: 0 0 1.5em 0; }
|
||||
margin-bottom: 24px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child {
|
||||
margin-bottom: 0.5em; }
|
||||
margin-bottom: 8px; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle {
|
||||
color: #191e23; }
|
||||
.edit-post-settings-sidebar__panel-block .components-panel__body:first-child {
|
||||
@ -897,9 +898,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
padding-top: 40px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-text-editor__body {
|
||||
padding-top: 86px; }
|
||||
body.is-fullscreen-mode .edit-post-text-editor__body {
|
||||
padding-top: 40px; } }
|
||||
padding-top: 86px; } }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-text-editor__body {
|
||||
padding-top: 40px; }
|
||||
@ -908,6 +907,7 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
|
||||
.edit-post-text-editor {
|
||||
width: 100%;
|
||||
max-width: calc(100% - 32px);
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
padding-top: 44px; }
|
||||
@ -1018,10 +1018,6 @@ body.is-fullscreen-mode .components-notice-list {
|
||||
min-height: 28px;
|
||||
line-height: 1.8; }
|
||||
|
||||
.edit-post-options-modal__title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600; }
|
||||
|
||||
.edit-post-options-modal__section {
|
||||
margin: 0 0 2rem 0; }
|
||||
|
||||
@ -1105,9 +1101,7 @@ body.block-editor-page {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
min-height: calc(100vh - 46px); }
|
||||
body.is-fullscreen-mode .block-editor__container {
|
||||
min-height: 100vh; } }
|
||||
min-height: calc(100vh - 46px); } }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor__container {
|
||||
@ -1240,12 +1234,129 @@ body.block-editor-page {
|
||||
.components-modal__content select,
|
||||
.components-modal__content textarea {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 6px 8px;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8d96a0; }
|
||||
border: 1px solid #8d96a0;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-post-permalink .input-control,
|
||||
.editor-post-permalink input[type="text"],
|
||||
.editor-post-permalink input[type="search"],
|
||||
.editor-post-permalink input[type="radio"],
|
||||
.editor-post-permalink input[type="tel"],
|
||||
.editor-post-permalink input[type="time"],
|
||||
.editor-post-permalink input[type="url"],
|
||||
.editor-post-permalink input[type="week"],
|
||||
.editor-post-permalink input[type="password"],
|
||||
.editor-post-permalink input[type="checkbox"],
|
||||
.editor-post-permalink input[type="color"],
|
||||
.editor-post-permalink input[type="date"],
|
||||
.editor-post-permalink input[type="datetime"],
|
||||
.editor-post-permalink input[type="datetime-local"],
|
||||
.editor-post-permalink input[type="email"],
|
||||
.editor-post-permalink input[type="month"],
|
||||
.editor-post-permalink input[type="number"],
|
||||
.editor-post-permalink select,
|
||||
.editor-post-permalink textarea,
|
||||
.edit-post-sidebar .input-control,
|
||||
.edit-post-sidebar input[type="text"],
|
||||
.edit-post-sidebar input[type="search"],
|
||||
.edit-post-sidebar input[type="radio"],
|
||||
.edit-post-sidebar input[type="tel"],
|
||||
.edit-post-sidebar input[type="time"],
|
||||
.edit-post-sidebar input[type="url"],
|
||||
.edit-post-sidebar input[type="week"],
|
||||
.edit-post-sidebar input[type="password"],
|
||||
.edit-post-sidebar input[type="checkbox"],
|
||||
.edit-post-sidebar input[type="color"],
|
||||
.edit-post-sidebar input[type="date"],
|
||||
.edit-post-sidebar input[type="datetime"],
|
||||
.edit-post-sidebar input[type="datetime-local"],
|
||||
.edit-post-sidebar input[type="email"],
|
||||
.edit-post-sidebar input[type="month"],
|
||||
.edit-post-sidebar input[type="number"],
|
||||
.edit-post-sidebar select,
|
||||
.edit-post-sidebar textarea,
|
||||
.editor-post-publish-panel .input-control,
|
||||
.editor-post-publish-panel input[type="text"],
|
||||
.editor-post-publish-panel input[type="search"],
|
||||
.editor-post-publish-panel input[type="radio"],
|
||||
.editor-post-publish-panel input[type="tel"],
|
||||
.editor-post-publish-panel input[type="time"],
|
||||
.editor-post-publish-panel input[type="url"],
|
||||
.editor-post-publish-panel input[type="week"],
|
||||
.editor-post-publish-panel input[type="password"],
|
||||
.editor-post-publish-panel input[type="checkbox"],
|
||||
.editor-post-publish-panel input[type="color"],
|
||||
.editor-post-publish-panel input[type="date"],
|
||||
.editor-post-publish-panel input[type="datetime"],
|
||||
.editor-post-publish-panel input[type="datetime-local"],
|
||||
.editor-post-publish-panel input[type="email"],
|
||||
.editor-post-publish-panel input[type="month"],
|
||||
.editor-post-publish-panel input[type="number"],
|
||||
.editor-post-publish-panel select,
|
||||
.editor-post-publish-panel textarea,
|
||||
.editor-block-list__block .input-control,
|
||||
.editor-block-list__block input[type="text"],
|
||||
.editor-block-list__block input[type="search"],
|
||||
.editor-block-list__block input[type="radio"],
|
||||
.editor-block-list__block input[type="tel"],
|
||||
.editor-block-list__block input[type="time"],
|
||||
.editor-block-list__block input[type="url"],
|
||||
.editor-block-list__block input[type="week"],
|
||||
.editor-block-list__block input[type="password"],
|
||||
.editor-block-list__block input[type="checkbox"],
|
||||
.editor-block-list__block input[type="color"],
|
||||
.editor-block-list__block input[type="date"],
|
||||
.editor-block-list__block input[type="datetime"],
|
||||
.editor-block-list__block input[type="datetime-local"],
|
||||
.editor-block-list__block input[type="email"],
|
||||
.editor-block-list__block input[type="month"],
|
||||
.editor-block-list__block input[type="number"],
|
||||
.editor-block-list__block select,
|
||||
.editor-block-list__block textarea,
|
||||
.components-popover .input-control,
|
||||
.components-popover input[type="text"],
|
||||
.components-popover input[type="search"],
|
||||
.components-popover input[type="radio"],
|
||||
.components-popover input[type="tel"],
|
||||
.components-popover input[type="time"],
|
||||
.components-popover input[type="url"],
|
||||
.components-popover input[type="week"],
|
||||
.components-popover input[type="password"],
|
||||
.components-popover input[type="checkbox"],
|
||||
.components-popover input[type="color"],
|
||||
.components-popover input[type="date"],
|
||||
.components-popover input[type="datetime"],
|
||||
.components-popover input[type="datetime-local"],
|
||||
.components-popover input[type="email"],
|
||||
.components-popover input[type="month"],
|
||||
.components-popover input[type="number"],
|
||||
.components-popover select,
|
||||
.components-popover textarea,
|
||||
.components-modal__content .input-control,
|
||||
.components-modal__content input[type="text"],
|
||||
.components-modal__content input[type="search"],
|
||||
.components-modal__content input[type="radio"],
|
||||
.components-modal__content input[type="tel"],
|
||||
.components-modal__content input[type="time"],
|
||||
.components-modal__content input[type="url"],
|
||||
.components-modal__content input[type="week"],
|
||||
.components-modal__content input[type="password"],
|
||||
.components-modal__content input[type="checkbox"],
|
||||
.components-modal__content input[type="color"],
|
||||
.components-modal__content input[type="date"],
|
||||
.components-modal__content input[type="datetime"],
|
||||
.components-modal__content input[type="datetime-local"],
|
||||
.components-modal__content input[type="email"],
|
||||
.components-modal__content input[type="month"],
|
||||
.components-modal__content input[type="number"],
|
||||
.components-modal__content select,
|
||||
.components-modal__content textarea {
|
||||
font-size: 13px; } }
|
||||
.editor-post-permalink .input-control:focus,
|
||||
.editor-post-permalink input[type="text"]:focus,
|
||||
.editor-post-permalink input[type="search"]:focus,
|
||||
@ -1366,6 +1477,15 @@ body.block-editor-page {
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
.editor-post-permalink input[type="number"],
|
||||
.edit-post-sidebar input[type="number"],
|
||||
.editor-post-publish-panel input[type="number"],
|
||||
.editor-block-list__block input[type="number"],
|
||||
.components-popover input[type="number"],
|
||||
.components-modal__content input[type="number"] {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px; }
|
||||
|
||||
.editor-post-permalink select,
|
||||
.edit-post-sidebar select,
|
||||
.editor-post-publish-panel select,
|
||||
|
2
wp-includes/css/dist/edit-post/style.min.css
vendored
2
wp-includes/css/dist/edit-post/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -35,13 +35,16 @@ body {
|
||||
color: #191e23; }
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
line-height: 1.8; }
|
||||
font-size: inherit;
|
||||
line-height: inherit; }
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
ul li,
|
||||
ol li {
|
||||
margin-bottom: initial; }
|
||||
|
||||
ul {
|
||||
list-style-type: disc; }
|
||||
@ -52,6 +55,3 @@ ol {
|
||||
ul ul,
|
||||
ol ul {
|
||||
list-style-type: circle; }
|
||||
|
||||
.mce-content-body {
|
||||
line-height: 1.8; }
|
||||
|
@ -1 +1 @@
|
||||
body{font-family:"Noto Serif",serif;color:#191e23}body,p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
|
||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}p{font-size:inherit;line-height:inherit}ol,ul{margin:0;padding:0}ol li,ul li{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}
|
10
wp-includes/css/dist/editor/editor-styles.css
vendored
10
wp-includes/css/dist/editor/editor-styles.css
vendored
@ -35,13 +35,16 @@ body {
|
||||
color: #191e23; }
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
line-height: 1.8; }
|
||||
font-size: inherit;
|
||||
line-height: inherit; }
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
ul li,
|
||||
ol li {
|
||||
margin-bottom: initial; }
|
||||
|
||||
ul {
|
||||
list-style-type: disc; }
|
||||
@ -52,6 +55,3 @@ ol {
|
||||
ul ul,
|
||||
ol ul {
|
||||
list-style-type: circle; }
|
||||
|
||||
.mce-content-body {
|
||||
line-height: 1.8; }
|
||||
|
@ -1 +1 @@
|
||||
body{font-family:"Noto Serif",serif;color:#191e23}body,p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
|
||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}p{font-size:inherit;line-height:inherit}ol,ul{margin:0;padding:0}ol li,ul li{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}
|
264
wp-includes/css/dist/editor/style-rtl.css
vendored
264
wp-includes/css/dist/editor/style-rtl.css
vendored
@ -319,12 +319,13 @@
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,
|
||||
.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter {
|
||||
opacity: 0; }
|
||||
opacity: 0;
|
||||
animation: none; }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,
|
||||
.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter {
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s; }
|
||||
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block.is-reusable > .editor-block-list__block-edit::before {
|
||||
outline: 1px dashed rgba(145, 151, 162, 0.25); }
|
||||
@ -332,7 +333,7 @@
|
||||
outline-color: rgba(255, 255, 255, 0.3); }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"], .editor-block-list__layout .editor-block-list__block[data-align="right"] {
|
||||
z-index: 20;
|
||||
z-index: 81;
|
||||
width: 100%;
|
||||
height: 0; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-list__block-edit {
|
||||
@ -341,10 +342,6 @@
|
||||
content: none; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
|
||||
margin-bottom: 1px; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-mover,
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-mobile-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-mover,
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-list__block-mobile-toolbar {
|
||||
display: none; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
|
||||
width: auto;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
@ -455,27 +452,51 @@
|
||||
/**
|
||||
* Left and right side UI; Unified toolbar on Mobile
|
||||
*/
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
position: absolute;
|
||||
width: 30px;
|
||||
height: 100%;
|
||||
max-height: 112px; }
|
||||
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
top: -15px; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block.is-multi-selected .editor-block-mover, .editor-block-list__block.is-selected .editor-block-mover, .editor-block-list__block.is-hovered .editor-block-mover {
|
||||
z-index: 80; } }
|
||||
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
padding-left: 2px;
|
||||
right: -30px;
|
||||
right: -45px;
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: block; } }
|
||||
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover {
|
||||
right: -30px; }
|
||||
|
||||
.editor-block-list__block[data-align="left"].is-selected > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-selected > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block[data-align="left"].is-selected > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-selected > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
width: 45px;
|
||||
height: auto;
|
||||
padding-bottom: 14px;
|
||||
margin-top: 0; } }
|
||||
|
||||
.editor-block-list__block[data-align="left"].is-hovered > .editor-block-list__block-edit > .editor-block-mover,
|
||||
.editor-block-list__block[data-align="left"].is-dragging > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-hovered > .editor-block-list__block-edit > .editor-block-mover,
|
||||
.editor-block-list__block[data-align="right"].is-dragging > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: none; }
|
||||
|
||||
/**
|
||||
* Mobile unified toolbar.
|
||||
*/
|
||||
@ -636,8 +657,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
* Block Toolbar when contextual.
|
||||
*/
|
||||
.editor-block-list__block .editor-block-contextual-toolbar {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 21;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
@ -881,6 +900,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
padding: 2px 5px; }
|
||||
.is-dark-theme .editor-block-mover__control {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .wp-block .wp-block .editor-block-mover__control {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
.editor-block-mover__control[aria-disabled="true"] {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
@ -900,6 +921,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-block-mover__control-drag-handle, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
.is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active {
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: grabbing; }
|
||||
@ -908,16 +931,46 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
display: none; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7; }
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:nth-child(-n+2),
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:nth-child(-n+2),
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:nth-child(-n+2) {
|
||||
margin-bottom: -1px; }
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:hover, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:active, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:hover, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:active, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:focus,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:hover,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:active,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:focus,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:hover,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:active,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:focus {
|
||||
z-index: 1; } }
|
||||
|
||||
@ -976,7 +1029,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
@ -1019,13 +1073,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-right: 2px; }
|
||||
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__content {
|
||||
padding: 7px; }
|
||||
padding: 7px 0; }
|
||||
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__separator {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-right: -7px;
|
||||
margin-left: -7px;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child {
|
||||
display: none; }
|
||||
@ -1038,7 +1092,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
padding: 8px;
|
||||
background: none;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
@ -1050,7 +1103,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
@ -1085,7 +1139,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
.editor-block-styles__item:hover {
|
||||
background: #f8f9f9;
|
||||
background: #f3f4f5;
|
||||
color: #191e23; }
|
||||
|
||||
.editor-block-styles__item-preview {
|
||||
@ -1128,6 +1182,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-left: auto;
|
||||
margin-right: auto; }
|
||||
|
||||
.components-button.editor-block-switcher__no-switcher-icon:disabled {
|
||||
background: #f3f4f5;
|
||||
border-radius: 0;
|
||||
opacity: 0.84; }
|
||||
.components-button.editor-block-switcher__no-switcher-icon:disabled .editor-block-icon.has-colors {
|
||||
color: #555d66 !important; }
|
||||
|
||||
.components-icon-button.editor-block-switcher__toggle {
|
||||
width: auto; }
|
||||
.components-icon-button.editor-block-switcher__toggle:active, .components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.editor-block-switcher__toggle:not([aria-disabled="true"]):focus {
|
||||
@ -1255,17 +1316,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.editor-default-block-appender .editor-inserter-with-shortcuts {
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.2s; }
|
||||
.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover) {
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover) {
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded="true"]) {
|
||||
opacity: 0; }
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s; }
|
||||
.editor-default-block-appender:hover .editor-inserter-with-shortcuts {
|
||||
opacity: 1; }
|
||||
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
.editor-default-block-appender:hover .editor-inserter__toggle {
|
||||
opacity: 1; }
|
||||
.editor-default-block-appender .components-drop-zone__content-icon {
|
||||
@ -1310,7 +1366,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
display: none; }
|
||||
.editor-block-list__empty-block-inserter .editor-inserter__toggle,
|
||||
.editor-default-block-appender .editor-inserter .editor-inserter__toggle {
|
||||
transition: opacity 0.2s;
|
||||
border-radius: 50%;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
@ -1362,8 +1417,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin: 0 -1px 0 0;
|
||||
padding: 2px 1px 2px 5px;
|
||||
color: #23282d;
|
||||
text-align: right; }
|
||||
.document-outline__button:disabled {
|
||||
cursor: default; }
|
||||
.document-outline__button:focus {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
@ -1381,6 +1440,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.is-invalid .document-outline__level {
|
||||
background: #f0b849; }
|
||||
|
||||
.document-outline__item-content {
|
||||
padding: 1px 0; }
|
||||
|
||||
.editor-error-boundary {
|
||||
max-width: 610px;
|
||||
margin: auto;
|
||||
@ -1389,6 +1451,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-top: 60px;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); }
|
||||
|
||||
.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.editor-inner-blocks.has-overlay::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -1412,9 +1477,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
padding-top: 8px;
|
||||
color: rgba(102, 120, 134, 0.35); }
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-inserter-with-shortcuts__block {
|
||||
color: rgba(255, 255, 255, 0.4); }
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
|
||||
.editor-inserter {
|
||||
display: inline-block;
|
||||
@ -1524,6 +1589,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
align-items: center; }
|
||||
.editor-inserter__parent-block-header h2 {
|
||||
font-size: 13px; }
|
||||
.editor-inserter__parent-block-header .editor-block-icon {
|
||||
margin-left: 8px; }
|
||||
|
||||
.editor-block-types-list__list-item {
|
||||
display: block;
|
||||
@ -1553,7 +1620,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-types-list__item:not(:disabled):hover::before {
|
||||
content: "";
|
||||
display: block;
|
||||
background: #f8f9f9;
|
||||
background: #f3f4f5;
|
||||
color: #191e23;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
@ -2054,8 +2121,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
resize: none;
|
||||
overflow: hidden;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
line-height: 150%; }
|
||||
line-height: 150%;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-post-text-editor {
|
||||
font-size: 14px; } }
|
||||
.editor-post-text-editor:hover, .editor-post-text-editor:focus {
|
||||
border: 1px solid #e2e4e7;
|
||||
box-shadow: none;
|
||||
@ -2234,68 +2305,51 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
.editor-rich-text {
|
||||
position: relative; }
|
||||
|
||||
.editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
line-height: 1.8;
|
||||
white-space: pre-wrap; }
|
||||
.editor-rich-text__tinymce > p:empty {
|
||||
min-height: 28.8px; }
|
||||
.editor-rich-text__tinymce > p:first-child {
|
||||
.editor-rich-text__editable > p:first-child {
|
||||
margin-top: 0; }
|
||||
.editor-rich-text__tinymce:focus {
|
||||
outline: none; }
|
||||
.editor-rich-text__tinymce a {
|
||||
.editor-rich-text__editable a {
|
||||
color: #007fac; }
|
||||
.editor-rich-text__tinymce code {
|
||||
.editor-rich-text__editable code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #23282d;
|
||||
background: #f3f4f5;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: inherit; }
|
||||
.is-multi-selected .editor-rich-text__tinymce code {
|
||||
.is-multi-selected .editor-rich-text__editable code {
|
||||
background: #67cffd; }
|
||||
.editor-rich-text__tinymce:focus a[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus b[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus i[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus strong[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus em[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus del[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus ins[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus sup[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus sub[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e8eaeb;
|
||||
background: #e8eaeb;
|
||||
color: #191e23; }
|
||||
.editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
color: #006589; }
|
||||
.editor-rich-text__tinymce:focus code[data-mce-selected] {
|
||||
background: #e8eaeb;
|
||||
box-shadow: 0 0 0 1px #e8eaeb; }
|
||||
.editor-rich-text__tinymce img[data-mce-selected] {
|
||||
.editor-rich-text__editable:focus {
|
||||
outline: none; }
|
||||
.editor-rich-text__tinymce img::selection {
|
||||
background: none !important; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] {
|
||||
.editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e8eaeb;
|
||||
background: #e8eaeb;
|
||||
color: #191e23; }
|
||||
.editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
color: #006589; }
|
||||
.editor-rich-text__editable:focus code[data-rich-text-format-boundary] {
|
||||
background: #e8eaeb;
|
||||
box-shadow: 0 0 0 1px #e8eaeb; }
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
height: 100%; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] > p {
|
||||
margin-top: 0; }
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable + .editor-rich-text__editable {
|
||||
pointer-events: none; }
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce p {
|
||||
.editor-rich-text__editable + .editor-rich-text__editable,
|
||||
.editor-rich-text__editable + .editor-rich-text__editable p {
|
||||
opacity: 0.62; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + figcaption.editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] + figcaption.editor-rich-text__editable {
|
||||
opacity: 0.8; }
|
||||
|
||||
.editor-rich-text__inline-toolbar {
|
||||
@ -2400,12 +2454,19 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin-right: 0;
|
||||
margin-left: 0; }
|
||||
margin-left: 0;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block .editor-url-input input[type="text"],
|
||||
.components-popover .editor-url-input input[type="text"],
|
||||
.editor-url-input input[type="text"] {
|
||||
width: 300px; } }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block .editor-url-input input[type="text"],
|
||||
.components-popover .editor-url-input input[type="text"],
|
||||
.editor-url-input input[type="text"] {
|
||||
font-size: 13px; } }
|
||||
.editor-block-list__block .editor-url-input input[type="text"]::-ms-clear,
|
||||
.components-popover .editor-url-input input[type="text"]::-ms-clear,
|
||||
.editor-url-input input[type="text"]::-ms-clear {
|
||||
@ -2504,17 +2565,38 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
.editor-url-popover__row > :not(.editor-url-popover__settings-toggle) {
|
||||
flex-grow: 1; }
|
||||
|
||||
.editor-url-popover .components-icon-button {
|
||||
padding: 3px; }
|
||||
.editor-url-popover .components-icon-button > svg {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
height: 30px;
|
||||
width: 30px; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
box-shadow: none; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg {
|
||||
color: #555d66;
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):focus {
|
||||
box-shadow: none; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):focus > svg {
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
.editor-url-popover__settings-toggle {
|
||||
flex-shrink: 0;
|
||||
width: 36px;
|
||||
height: 36px; }
|
||||
.editor-url-popover__settings-toggle .dashicon {
|
||||
transform: rotate(-90deg); }
|
||||
border-radius: 0;
|
||||
border-right: 1px solid #e2e4e7;
|
||||
margin-right: 1px; }
|
||||
.editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
|
||||
transform: rotate(-180deg); }
|
||||
|
||||
.editor-url-popover__settings {
|
||||
padding: 7px 8px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
padding-top: 8px; }
|
||||
padding: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
.editor-url-popover__settings .components-base-control:last-child .components-base-control__field {
|
||||
margin-bottom: 0; }
|
||||
|
||||
.editor-warning {
|
||||
display: flex;
|
||||
|
File diff suppressed because one or more lines are too long
264
wp-includes/css/dist/editor/style.css
vendored
264
wp-includes/css/dist/editor/style.css
vendored
@ -319,12 +319,13 @@
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,
|
||||
.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter {
|
||||
opacity: 0; }
|
||||
opacity: 0;
|
||||
animation: none; }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,
|
||||
.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter {
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s; }
|
||||
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block.is-reusable > .editor-block-list__block-edit::before {
|
||||
outline: 1px dashed rgba(145, 151, 162, 0.25); }
|
||||
@ -332,7 +333,7 @@
|
||||
outline-color: rgba(255, 255, 255, 0.3); }
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"], .editor-block-list__layout .editor-block-list__block[data-align="right"] {
|
||||
z-index: 20;
|
||||
z-index: 81;
|
||||
width: 100%;
|
||||
height: 0; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-list__block-edit {
|
||||
@ -341,10 +342,6 @@
|
||||
content: none; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
|
||||
margin-bottom: 1px; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-mover,
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-mobile-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-mover,
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-list__block-mobile-toolbar {
|
||||
display: none; }
|
||||
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar, .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
|
||||
width: auto;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
@ -463,27 +460,51 @@
|
||||
/**
|
||||
* Left and right side UI; Unified toolbar on Mobile
|
||||
*/
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
position: absolute;
|
||||
width: 30px;
|
||||
height: 100%;
|
||||
max-height: 112px; }
|
||||
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
top: -15px; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block.is-multi-selected .editor-block-mover, .editor-block-list__block.is-selected .editor-block-mover, .editor-block-list__block.is-hovered .editor-block-mover {
|
||||
z-index: 80; } }
|
||||
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
padding-right: 2px;
|
||||
left: -30px;
|
||||
left: -45px;
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block > .editor-block-mover {
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover,
|
||||
.editor-block-list__block > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: block; } }
|
||||
|
||||
.editor-block-list__block.is-multi-selected > .editor-block-mover {
|
||||
left: -30px; }
|
||||
|
||||
.editor-block-list__block[data-align="left"].is-selected > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-selected > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block[data-align="left"].is-selected > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-selected > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
width: 45px;
|
||||
height: auto;
|
||||
padding-bottom: 14px;
|
||||
margin-top: 0; } }
|
||||
|
||||
.editor-block-list__block[data-align="left"].is-hovered > .editor-block-list__block-edit > .editor-block-mover,
|
||||
.editor-block-list__block[data-align="left"].is-dragging > .editor-block-list__block-edit > .editor-block-mover, .editor-block-list__block[data-align="right"].is-hovered > .editor-block-list__block-edit > .editor-block-mover,
|
||||
.editor-block-list__block[data-align="right"].is-dragging > .editor-block-list__block-edit > .editor-block-mover {
|
||||
display: none; }
|
||||
|
||||
/**
|
||||
* Mobile unified toolbar.
|
||||
*/
|
||||
@ -644,8 +665,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
* Block Toolbar when contextual.
|
||||
*/
|
||||
.editor-block-list__block .editor-block-contextual-toolbar {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 21;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
@ -893,6 +912,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
padding: 2px 5px; }
|
||||
.is-dark-theme .editor-block-mover__control {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .wp-block .wp-block .editor-block-mover__control {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
.editor-block-mover__control[aria-disabled="true"] {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
@ -912,6 +933,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-block-mover__control-drag-handle, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
.is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .wp-block .wp-block .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active {
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: grabbing; }
|
||||
@ -920,16 +943,46 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
display: none; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default),
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7; }
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2),
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:nth-child(-n+2),
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:nth-child(-n+2),
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:nth-child(-n+2) {
|
||||
margin-bottom: -1px; }
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:hover, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:active, .editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .editor-block-list__layout [data-align="right"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
|
||||
.editor-block-list__layout [data-align="left"] .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active,
|
||||
.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:hover, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:active, .editor-block-list__layout [data-align="right"]
|
||||
.editor-block-mover__control:focus,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:hover,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:active,
|
||||
.editor-block-list__layout [data-align="left"]
|
||||
.editor-block-mover__control:focus,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:hover,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:active,
|
||||
.editor-block-list__layout .editor-block-list__layout
|
||||
.editor-block-mover__control:focus {
|
||||
z-index: 1; } }
|
||||
|
||||
@ -988,7 +1041,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
@ -1031,13 +1085,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-left: 2px; }
|
||||
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__content {
|
||||
padding: 7px; }
|
||||
padding: 7px 0; }
|
||||
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__separator {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-left: -7px;
|
||||
margin-right: -7px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child {
|
||||
display: none; }
|
||||
@ -1050,7 +1104,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
padding: 8px;
|
||||
background: none;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
@ -1062,7 +1115,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
@ -1097,7 +1151,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
.editor-block-styles__item:hover {
|
||||
background: #f8f9f9;
|
||||
background: #f3f4f5;
|
||||
color: #191e23; }
|
||||
|
||||
.editor-block-styles__item-preview {
|
||||
@ -1140,6 +1194,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-right: auto;
|
||||
margin-left: auto; }
|
||||
|
||||
.components-button.editor-block-switcher__no-switcher-icon:disabled {
|
||||
background: #f3f4f5;
|
||||
border-radius: 0;
|
||||
opacity: 0.84; }
|
||||
.components-button.editor-block-switcher__no-switcher-icon:disabled .editor-block-icon.has-colors {
|
||||
color: #555d66 !important; }
|
||||
|
||||
.components-icon-button.editor-block-switcher__toggle {
|
||||
width: auto; }
|
||||
.components-icon-button.editor-block-switcher__toggle:active, .components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.editor-block-switcher__toggle:not([aria-disabled="true"]):focus {
|
||||
@ -1267,17 +1328,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.editor-default-block-appender .editor-inserter-with-shortcuts {
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.2s; }
|
||||
.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover) {
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover) {
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded="true"]) {
|
||||
opacity: 0; }
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s; }
|
||||
.editor-default-block-appender:hover .editor-inserter-with-shortcuts {
|
||||
opacity: 1; }
|
||||
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
|
||||
animation-fill-mode: forwards; }
|
||||
.editor-default-block-appender:hover .editor-inserter__toggle {
|
||||
opacity: 1; }
|
||||
.editor-default-block-appender .components-drop-zone__content-icon {
|
||||
@ -1322,7 +1378,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
display: none; }
|
||||
.editor-block-list__empty-block-inserter .editor-inserter__toggle,
|
||||
.editor-default-block-appender .editor-inserter .editor-inserter__toggle {
|
||||
transition: opacity 0.2s;
|
||||
border-radius: 50%;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
@ -1374,8 +1429,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin: 0 0 0 -1px;
|
||||
padding: 2px 5px 2px 1px;
|
||||
color: #23282d;
|
||||
text-align: left; }
|
||||
.document-outline__button:disabled {
|
||||
cursor: default; }
|
||||
.document-outline__button:focus {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
@ -1393,6 +1452,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.is-invalid .document-outline__level {
|
||||
background: #f0b849; }
|
||||
|
||||
.document-outline__item-content {
|
||||
padding: 1px 0; }
|
||||
|
||||
.editor-error-boundary {
|
||||
max-width: 610px;
|
||||
margin: auto;
|
||||
@ -1401,6 +1463,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
margin-top: 60px;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); }
|
||||
|
||||
.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.editor-inner-blocks.has-overlay::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -1424,9 +1489,9 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
padding-top: 8px;
|
||||
color: rgba(102, 120, 134, 0.35); }
|
||||
color: rgba(10, 24, 41, 0.7); }
|
||||
.is-dark-theme .editor-inserter-with-shortcuts__block {
|
||||
color: rgba(255, 255, 255, 0.4); }
|
||||
color: rgba(255, 255, 255, 0.75); }
|
||||
|
||||
.editor-inserter {
|
||||
display: inline-block;
|
||||
@ -1536,6 +1601,8 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
align-items: center; }
|
||||
.editor-inserter__parent-block-header h2 {
|
||||
font-size: 13px; }
|
||||
.editor-inserter__parent-block-header .editor-block-icon {
|
||||
margin-right: 8px; }
|
||||
|
||||
.editor-block-types-list__list-item {
|
||||
display: block;
|
||||
@ -1565,7 +1632,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
.editor-block-types-list__item:not(:disabled):hover::before {
|
||||
content: "";
|
||||
display: block;
|
||||
background: #f8f9f9;
|
||||
background: #f3f4f5;
|
||||
color: #191e23;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
@ -2066,8 +2133,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
||||
resize: none;
|
||||
overflow: hidden;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
line-height: 150%; }
|
||||
line-height: 150%;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-post-text-editor {
|
||||
font-size: 14px; } }
|
||||
.editor-post-text-editor:hover, .editor-post-text-editor:focus {
|
||||
border: 1px solid #e2e4e7;
|
||||
box-shadow: none;
|
||||
@ -2246,68 +2317,51 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
.editor-rich-text {
|
||||
position: relative; }
|
||||
|
||||
.editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
line-height: 1.8;
|
||||
white-space: pre-wrap; }
|
||||
.editor-rich-text__tinymce > p:empty {
|
||||
min-height: 28.8px; }
|
||||
.editor-rich-text__tinymce > p:first-child {
|
||||
.editor-rich-text__editable > p:first-child {
|
||||
margin-top: 0; }
|
||||
.editor-rich-text__tinymce:focus {
|
||||
outline: none; }
|
||||
.editor-rich-text__tinymce a {
|
||||
.editor-rich-text__editable a {
|
||||
color: #007fac; }
|
||||
.editor-rich-text__tinymce code {
|
||||
.editor-rich-text__editable code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #23282d;
|
||||
background: #f3f4f5;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: inherit; }
|
||||
.is-multi-selected .editor-rich-text__tinymce code {
|
||||
.is-multi-selected .editor-rich-text__editable code {
|
||||
background: #67cffd; }
|
||||
.editor-rich-text__tinymce:focus a[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus b[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus i[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus strong[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus em[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus del[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus ins[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus sup[data-mce-selected],
|
||||
.editor-rich-text__tinymce:focus sub[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e8eaeb;
|
||||
background: #e8eaeb;
|
||||
color: #191e23; }
|
||||
.editor-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
color: #006589; }
|
||||
.editor-rich-text__tinymce:focus code[data-mce-selected] {
|
||||
background: #e8eaeb;
|
||||
box-shadow: 0 0 0 1px #e8eaeb; }
|
||||
.editor-rich-text__tinymce img[data-mce-selected] {
|
||||
.editor-rich-text__editable:focus {
|
||||
outline: none; }
|
||||
.editor-rich-text__tinymce img::selection {
|
||||
background: none !important; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] {
|
||||
.editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e8eaeb;
|
||||
background: #e8eaeb;
|
||||
color: #191e23; }
|
||||
.editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
color: #006589; }
|
||||
.editor-rich-text__editable:focus code[data-rich-text-format-boundary] {
|
||||
background: #e8eaeb;
|
||||
box-shadow: 0 0 0 1px #e8eaeb; }
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
height: 100%; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] > p {
|
||||
margin-top: 0; }
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable + .editor-rich-text__editable {
|
||||
pointer-events: none; }
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce p {
|
||||
.editor-rich-text__editable + .editor-rich-text__editable,
|
||||
.editor-rich-text__editable + .editor-rich-text__editable p {
|
||||
opacity: 0.62; }
|
||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + figcaption.editor-rich-text__tinymce {
|
||||
.editor-rich-text__editable[data-is-placeholder-visible="true"] + figcaption.editor-rich-text__editable {
|
||||
opacity: 0.8; }
|
||||
|
||||
.editor-rich-text__inline-toolbar {
|
||||
@ -2412,12 +2466,19 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0; }
|
||||
margin-right: 0;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
font-size: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block .editor-url-input input[type="text"],
|
||||
.components-popover .editor-url-input input[type="text"],
|
||||
.editor-url-input input[type="text"] {
|
||||
width: 300px; } }
|
||||
@media (min-width: 600px) {
|
||||
.editor-block-list__block .editor-url-input input[type="text"],
|
||||
.components-popover .editor-url-input input[type="text"],
|
||||
.editor-url-input input[type="text"] {
|
||||
font-size: 13px; } }
|
||||
.editor-block-list__block .editor-url-input input[type="text"]::-ms-clear,
|
||||
.components-popover .editor-url-input input[type="text"]::-ms-clear,
|
||||
.editor-url-input input[type="text"]::-ms-clear {
|
||||
@ -2516,17 +2577,38 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||
.editor-url-popover__row > :not(.editor-url-popover__settings-toggle) {
|
||||
flex-grow: 1; }
|
||||
|
||||
.editor-url-popover .components-icon-button {
|
||||
padding: 3px; }
|
||||
.editor-url-popover .components-icon-button > svg {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
height: 30px;
|
||||
width: 30px; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
box-shadow: none; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg {
|
||||
color: #555d66;
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):focus {
|
||||
box-shadow: none; }
|
||||
.editor-url-popover .components-icon-button:not(:disabled):focus > svg {
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
.editor-url-popover__settings-toggle {
|
||||
flex-shrink: 0;
|
||||
width: 36px;
|
||||
height: 36px; }
|
||||
.editor-url-popover__settings-toggle .dashicon {
|
||||
transform: rotate(90deg); }
|
||||
border-radius: 0;
|
||||
border-left: 1px solid #e2e4e7;
|
||||
margin-left: 1px; }
|
||||
.editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
|
||||
transform: rotate(180deg); }
|
||||
|
||||
.editor-url-popover__settings {
|
||||
padding: 7px 8px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
padding-top: 8px; }
|
||||
padding: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
.editor-url-popover__settings .components-base-control:last-child .components-base-control__field {
|
||||
margin-bottom: 0; }
|
||||
|
||||
.editor-warning {
|
||||
display: flex;
|
||||
|
4
wp-includes/css/dist/editor/style.min.css
vendored
4
wp-includes/css/dist/editor/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -28,6 +28,22 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
.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; }
|
||||
|
||||
|
@ -1 +1 @@
|
||||
.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}
|
||||
.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}
|
16
wp-includes/css/dist/format-library/style.css
vendored
16
wp-includes/css/dist/format-library/style.css
vendored
@ -28,6 +28,22 @@
|
||||
/**
|
||||
* Styles that are reused verbatim in a few places
|
||||
*/
|
||||
.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; }
|
||||
|
||||
|
@ -1 +1 @@
|
||||
.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}
|
||||
.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}
|
21
wp-includes/js/dist/a11y.js
vendored
21
wp-includes/js/dist/a11y.js
vendored
@ -82,24 +82,28 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 325);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 326);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 182:
|
||||
/***/ 183:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["domReady"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 325:
|
||||
/***/ 326:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
||||
var external_this_wp_domReady_ = __webpack_require__(183);
|
||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js
|
||||
/**
|
||||
* Build the live regions markup.
|
||||
@ -137,10 +141,6 @@ var clear = function clear() {
|
||||
|
||||
/* harmony default export */ var build_module_clear = (clear);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
||||
var external_this_wp_domReady_ = __webpack_require__(182);
|
||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filterMessage.js
|
||||
var previousMessage = '';
|
||||
/**
|
||||
@ -174,6 +174,13 @@ var filterMessage = function filterMessage(message) {
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setup", function() { return build_module_setup; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "speak", function() { return build_module_speak; });
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
2
wp-includes/js/dist/a11y.min.js
vendored
2
wp-includes/js/dist/a11y.min.js
vendored
@ -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=325)}({182:function(e,t){!function(){e.exports=this.wp.domReady}()},325:function(e,t,n){"use strict";n.r(t);var r=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},o=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},i=n(182),a=n.n(i),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=r("polite")),null===t&&(t=r("assertive"))};a()(p);var c=function(e,t){o(),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=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)}}});
|
88
wp-includes/js/dist/annotations.js
vendored
88
wp-includes/js/dist/annotations.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 316);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 317);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -116,7 +116,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -214,7 +214,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -496,7 +496,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 316:
|
||||
/***/ 317:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -521,7 +521,7 @@ var external_this_wp_data_ = __webpack_require__(5);
|
||||
var defineProperty = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
|
||||
var objectSpread = __webpack_require__(8);
|
||||
@ -594,7 +594,7 @@ function reducer_annotations() {
|
||||
}
|
||||
|
||||
var previousAnnotationsForBlock = Object(external_lodash_["get"])(state, blockClientId, []);
|
||||
return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, blockClientId, Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock).concat([newAnnotation])));
|
||||
return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation])));
|
||||
|
||||
case 'ANNOTATION_REMOVE':
|
||||
return Object(external_lodash_["mapValues"])(state, function (annotationsForBlock) {
|
||||
@ -638,7 +638,7 @@ function reducer_annotations() {
|
||||
var objectWithoutProperties = __webpack_require__(21);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(31);
|
||||
var rememo = __webpack_require__(28);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||
|
||||
@ -718,7 +718,7 @@ function __experimentalGetAnnotations(state) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/v4.js
|
||||
var v4 = __webpack_require__(57);
|
||||
var v4 = __webpack_require__(59);
|
||||
var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
@ -826,7 +826,7 @@ function __experimentalRemoveAnnotationsBySource(source) {
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/index.js
|
||||
/**
|
||||
* WordPress Dependencies
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -852,7 +852,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, {
|
||||
var external_this_wp_richText_ = __webpack_require__(20);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||
var memize = __webpack_require__(41);
|
||||
var memize = __webpack_require__(38);
|
||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
@ -1126,7 +1126,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ 38:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = function memize( fn, options ) {
|
||||
@ -1251,11 +1251,11 @@ module.exports = function memize( fn, options ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 57:
|
||||
/***/ 59:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var rng = __webpack_require__(77);
|
||||
var bytesToUuid = __webpack_require__(78);
|
||||
var rng = __webpack_require__(79);
|
||||
var bytesToUuid = __webpack_require__(80);
|
||||
|
||||
function v4(options, buf, offset) {
|
||||
var i = buf && offset || 0;
|
||||
@ -1287,7 +1287,7 @@ module.exports = v4;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 77:
|
||||
/***/ 79:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// Unique ID creation requires a high quality random # generator. In the
|
||||
@ -1328,7 +1328,35 @@ if (getRandomValues) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 78:
|
||||
/***/ 8:
|
||||
/***/ (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) {
|
||||
|
||||
/**
|
||||
@ -1357,34 +1385,6 @@ function bytesToUuid(buf, offset) {
|
||||
module.exports = bytesToUuid;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (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;
|
||||
}
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
2
wp-includes/js/dist/annotations.min.js
vendored
2
wp-includes/js/dist/annotations.min.js
vendored
File diff suppressed because one or more lines are too long
244
wp-includes/js/dist/api-fetch.js
vendored
244
wp-includes/js/dist/api-fetch.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 315);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 318);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -160,21 +160,14 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 23:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24:
|
||||
/***/ 22:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 315:
|
||||
/***/ 318:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -189,60 +182,33 @@ var objectWithoutProperties = __webpack_require__(21);
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||
var external_this_wp_hooks_ = __webpack_require__(23);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
|
||||
var nonce_createNonceMiddleware = function createNonceMiddleware(nonce) {
|
||||
var usedNonce = nonce;
|
||||
/**
|
||||
* This is not ideal but it's fine for now.
|
||||
*
|
||||
* Configure heartbeat to refresh the wp-api nonce, keeping the editor
|
||||
* authorization intact.
|
||||
*/
|
||||
|
||||
Object(external_this_wp_hooks_["addAction"])('heartbeat.tick', 'core/api-fetch/create-nonce-middleware', function (response) {
|
||||
if (response['rest-nonce']) {
|
||||
usedNonce = response['rest-nonce'];
|
||||
}
|
||||
});
|
||||
return function (options, next) {
|
||||
var headers = options.headers || {}; // If an 'X-WP-Nonce' header (or any case-insensitive variation
|
||||
function createNonceMiddleware(nonce) {
|
||||
function middleware(options, next) {
|
||||
var _options$headers = options.headers,
|
||||
headers = _options$headers === void 0 ? {} : _options$headers; // If an 'X-WP-Nonce' header (or any case-insensitive variation
|
||||
// thereof) was specified, no need to add a nonce header.
|
||||
|
||||
var addNonceHeader = true;
|
||||
|
||||
for (var headerName in headers) {
|
||||
if (headers.hasOwnProperty(headerName)) {
|
||||
if (headerName.toLowerCase() === 'x-wp-nonce') {
|
||||
addNonceHeader = false;
|
||||
break;
|
||||
}
|
||||
if (headerName.toLowerCase() === 'x-wp-nonce') {
|
||||
return next(options);
|
||||
}
|
||||
}
|
||||
|
||||
if (addNonceHeader) {
|
||||
// Do not mutate the original headers object, if any.
|
||||
headers = Object(objectSpread["a" /* default */])({}, headers, {
|
||||
'X-WP-Nonce': usedNonce
|
||||
});
|
||||
}
|
||||
|
||||
return next(Object(objectSpread["a" /* default */])({}, options, {
|
||||
headers: headers
|
||||
headers: Object(objectSpread["a" /* default */])({}, headers, {
|
||||
'X-WP-Nonce': middleware.nonce
|
||||
})
|
||||
}));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
/* harmony default export */ var middlewares_nonce = (nonce_createNonceMiddleware);
|
||||
middleware.nonce = nonce;
|
||||
return middleware;
|
||||
}
|
||||
|
||||
/* harmony default export */ var middlewares_nonce = (createNonceMiddleware);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js
|
||||
|
||||
@ -360,10 +326,10 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa
|
||||
/* harmony default export */ var preloading = (createPreloadingMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(38);
|
||||
var asyncToGenerator = __webpack_require__(41);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
var external_this_wp_url_ = __webpack_require__(24);
|
||||
var external_this_wp_url_ = __webpack_require__(22);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
||||
|
||||
@ -645,96 +611,114 @@ var DEFAULT_HEADERS = {
|
||||
var DEFAULT_OPTIONS = {
|
||||
credentials: 'include'
|
||||
};
|
||||
var middlewares = [];
|
||||
var middlewares = [user_locale, namespace_endpoint, http_v1, fetch_all_middleware];
|
||||
|
||||
function registerMiddleware(middleware) {
|
||||
middlewares.push(middleware);
|
||||
middlewares.unshift(middleware);
|
||||
}
|
||||
|
||||
var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions) {
|
||||
var url = nextOptions.url,
|
||||
path = nextOptions.path,
|
||||
data = nextOptions.data,
|
||||
_nextOptions$parse = nextOptions.parse,
|
||||
parse = _nextOptions$parse === void 0 ? true : _nextOptions$parse,
|
||||
remainingOptions = Object(objectWithoutProperties["a" /* default */])(nextOptions, ["url", "path", "data", "parse"]);
|
||||
|
||||
var body = nextOptions.body,
|
||||
headers = nextOptions.headers; // Merge explicitly-provided headers with default values.
|
||||
|
||||
headers = Object(objectSpread["a" /* default */])({}, DEFAULT_HEADERS, headers); // The `data` property is a shorthand for sending a JSON body.
|
||||
|
||||
if (data) {
|
||||
body = JSON.stringify(data);
|
||||
headers['Content-Type'] = 'application/json';
|
||||
}
|
||||
|
||||
var responsePromise = window.fetch(url || path, Object(objectSpread["a" /* default */])({}, DEFAULT_OPTIONS, remainingOptions, {
|
||||
body: body,
|
||||
headers: headers
|
||||
}));
|
||||
|
||||
var checkStatus = function checkStatus(response) {
|
||||
if (response.status >= 200 && response.status < 300) {
|
||||
return response;
|
||||
}
|
||||
|
||||
throw response;
|
||||
};
|
||||
|
||||
var parseResponse = function parseResponse(response) {
|
||||
if (parse) {
|
||||
if (response.status === 204) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return response.json ? response.json() : Promise.reject(response);
|
||||
}
|
||||
|
||||
return response;
|
||||
};
|
||||
|
||||
return responsePromise.then(checkStatus).then(parseResponse).catch(function (response) {
|
||||
if (!parse) {
|
||||
throw response;
|
||||
}
|
||||
|
||||
var invalidJsonError = {
|
||||
code: 'invalid_json',
|
||||
message: Object(external_this_wp_i18n_["__"])('The response is not a valid JSON response.')
|
||||
};
|
||||
|
||||
if (!response || !response.json) {
|
||||
throw invalidJsonError;
|
||||
}
|
||||
|
||||
return response.json().catch(function () {
|
||||
throw invalidJsonError;
|
||||
}).then(function (error) {
|
||||
var unknownError = {
|
||||
code: 'unknown_error',
|
||||
message: Object(external_this_wp_i18n_["__"])('An unknown error occurred.')
|
||||
};
|
||||
throw error || unknownError;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
var fetchHandler = build_module_defaultFetchHandler;
|
||||
/**
|
||||
* Defines a custom fetch handler for making the requests that will override
|
||||
* the default one using window.fetch
|
||||
*
|
||||
* @param {Function} newFetchHandler The new fetch handler
|
||||
*/
|
||||
|
||||
function setFetchHandler(newFetchHandler) {
|
||||
fetchHandler = newFetchHandler;
|
||||
}
|
||||
|
||||
function apiFetch(options) {
|
||||
var raw = function raw(nextOptions) {
|
||||
var url = nextOptions.url,
|
||||
path = nextOptions.path,
|
||||
data = nextOptions.data,
|
||||
_nextOptions$parse = nextOptions.parse,
|
||||
parse = _nextOptions$parse === void 0 ? true : _nextOptions$parse,
|
||||
remainingOptions = Object(objectWithoutProperties["a" /* default */])(nextOptions, ["url", "path", "data", "parse"]);
|
||||
var steps = [].concat(middlewares, [fetchHandler]);
|
||||
|
||||
var body = nextOptions.body,
|
||||
headers = nextOptions.headers; // Merge explicitly-provided headers with default values.
|
||||
var createRunStep = function createRunStep(index) {
|
||||
return function (workingOptions) {
|
||||
var step = steps[index];
|
||||
|
||||
headers = Object(objectSpread["a" /* default */])({}, DEFAULT_HEADERS, headers); // The `data` property is a shorthand for sending a JSON body.
|
||||
|
||||
if (data) {
|
||||
body = JSON.stringify(data);
|
||||
headers['Content-Type'] = 'application/json';
|
||||
}
|
||||
|
||||
var responsePromise = window.fetch(url || path, Object(objectSpread["a" /* default */])({}, DEFAULT_OPTIONS, remainingOptions, {
|
||||
body: body,
|
||||
headers: headers
|
||||
}));
|
||||
|
||||
var checkStatus = function checkStatus(response) {
|
||||
if (response.status >= 200 && response.status < 300) {
|
||||
return response;
|
||||
if (index === steps.length - 1) {
|
||||
return step(workingOptions);
|
||||
}
|
||||
|
||||
throw response;
|
||||
};
|
||||
|
||||
var parseResponse = function parseResponse(response) {
|
||||
if (parse) {
|
||||
if (response.status === 204) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return response.json ? response.json() : Promise.reject(response);
|
||||
}
|
||||
|
||||
return response;
|
||||
};
|
||||
|
||||
return responsePromise.then(checkStatus).then(parseResponse).catch(function (response) {
|
||||
if (!parse) {
|
||||
throw response;
|
||||
}
|
||||
|
||||
var invalidJsonError = {
|
||||
code: 'invalid_json',
|
||||
message: Object(external_this_wp_i18n_["__"])('The response is not a valid JSON response.')
|
||||
};
|
||||
|
||||
if (!response || !response.json) {
|
||||
throw invalidJsonError;
|
||||
}
|
||||
|
||||
return response.json().catch(function () {
|
||||
throw invalidJsonError;
|
||||
}).then(function (error) {
|
||||
var unknownError = {
|
||||
code: 'unknown_error',
|
||||
message: Object(external_this_wp_i18n_["__"])('An unknown error occurred.')
|
||||
};
|
||||
throw error || unknownError;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
var steps = [raw, fetch_all_middleware, http_v1, namespace_endpoint, user_locale].concat(middlewares).reverse();
|
||||
|
||||
var runMiddleware = function runMiddleware(index) {
|
||||
return function (nextOptions) {
|
||||
var nextMiddleware = steps[index];
|
||||
var next = runMiddleware(index + 1);
|
||||
return nextMiddleware(nextOptions, next);
|
||||
var next = createRunStep(index + 1);
|
||||
return step(workingOptions, next);
|
||||
};
|
||||
};
|
||||
|
||||
return runMiddleware(0)(options);
|
||||
return createRunStep(0)(options);
|
||||
}
|
||||
|
||||
apiFetch.use = registerMiddleware;
|
||||
apiFetch.setFetchHandler = setFetchHandler;
|
||||
apiFetch.createNonceMiddleware = middlewares_nonce;
|
||||
apiFetch.createPreloadingMiddleware = preloading;
|
||||
apiFetch.createRootURLMiddleware = root_url;
|
||||
@ -744,7 +728,7 @@ apiFetch.fetchAllMiddleware = fetch_all_middleware;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/api-fetch.min.js
vendored
2
wp-includes/js/dist/api-fetch.min.js
vendored
File diff suppressed because one or more lines are too long
26
wp-includes/js/dist/autop.js
vendored
26
wp-includes/js/dist/autop.js
vendored
@ -197,7 +197,7 @@ function replaceInHtmlTags(haystack, replacePairs) {
|
||||
*
|
||||
* A group of regex replaces used to identify text formatted with newlines and
|
||||
* replace double line-breaks with HTML paragraph tags. The remaining line-
|
||||
* breaks after conversion become <<br />> tags, unless br is set to 'false'.
|
||||
* breaks after conversion become `<br />` tags, unless br is set to 'false'.
|
||||
*
|
||||
* @param {string} text The text which has to be formatted.
|
||||
* @param {boolean} br Optional. If set, will convert all remaining line-
|
||||
@ -247,7 +247,7 @@ function autop(text) {
|
||||
text = text.replace(/<br\s*\/?>\s*<br\s*\/?>/g, '\n\n');
|
||||
var allBlocks = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)'; // Add a double line break above block-level opening tags.
|
||||
|
||||
text = text.replace(new RegExp('(<' + allBlocks + '[\s\/>])', 'g'), '\n\n$1'); // Add a double line break below block-level closing tags.
|
||||
text = text.replace(new RegExp('(<' + allBlocks + '[\\s\/>])', 'g'), '\n\n$1'); // Add a double line break below block-level closing tags.
|
||||
|
||||
text = text.replace(new RegExp('(<\/' + allBlocks + '>)', 'g'), '$1\n\n'); // Standardize newline characters to "\n".
|
||||
|
||||
@ -305,16 +305,16 @@ function autop(text) {
|
||||
|
||||
text = text.replace(/<p>([^<]+)<\/(div|address|form)>/g, '<p>$1</p></$2>'); // If an opening or closing block element tag is wrapped in a <p>, unwrap it.
|
||||
|
||||
text = text.replace(new RegExp('<p>\s*(<\/?' + allBlocks + '[^>]*>)\s*<\/p>', 'g'), '$1'); // In some cases <li> may get wrapped in <p>, fix them.
|
||||
text = text.replace(new RegExp('<p>\\s*(<\/?' + allBlocks + '[^>]*>)\\s*<\/p>', 'g'), '$1'); // In some cases <li> may get wrapped in <p>, fix them.
|
||||
|
||||
text = text.replace(/<p>(<li.+?)<\/p>/g, '$1'); // If a <blockquote> is wrapped with a <p>, move it inside the <blockquote>.
|
||||
|
||||
text = text.replace(/<p><blockquote([^>]*)>/gi, '<blockquote$1><p>');
|
||||
text = text.replace(/<\/blockquote><\/p>/g, '</p></blockquote>'); // If an opening or closing block element tag is preceded by an opening <p> tag, remove it.
|
||||
|
||||
text = text.replace(new RegExp('<p>\s*(<\/?' + allBlocks + '[^>]*>)', 'g'), '$1'); // If an opening or closing block element tag is followed by a closing <p> tag, remove it.
|
||||
text = text.replace(new RegExp('<p>\\s*(<\/?' + allBlocks + '[^>]*>)', 'g'), '$1'); // If an opening or closing block element tag is followed by a closing <p> tag, remove it.
|
||||
|
||||
text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\s*<\/p>', 'g'), '$1'); // Optionally insert line breaks.
|
||||
text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\\s*<\/p>', 'g'), '$1'); // Optionally insert line breaks.
|
||||
|
||||
if (br) {
|
||||
// Replace newlines that shouldn't be touched with a placeholder.
|
||||
@ -332,7 +332,7 @@ function autop(text) {
|
||||
} // If a <br /> tag is after an opening or closing block tag, remove it.
|
||||
|
||||
|
||||
text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\s*<br \/>', 'g'), '$1'); // If a <br /> tag is before a subset of opening or closing block tags, remove it.
|
||||
text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\\s*<br \/>', 'g'), '$1'); // If a <br /> tag is before a subset of opening or closing block tags, remove it.
|
||||
|
||||
text = text.replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g, '$1');
|
||||
text = text.replace(/\n<\/p>$/g, '</p>'); // Replace placeholder <pre> tags with their original content.
|
||||
@ -352,10 +352,10 @@ function autop(text) {
|
||||
return text;
|
||||
}
|
||||
/**
|
||||
* Replaces <p> tags with two line breaks. "Opposite" of autop().
|
||||
* Replaces `<p>` tags with two line breaks. "Opposite" of autop().
|
||||
*
|
||||
* Replaces <p> tags with two line breaks except where the <p> has attributes.
|
||||
* Unifies whitespace. Indents <li>, <dt> and <dd> for better readability.
|
||||
* Replaces `<p>` tags with two line breaks except where the `<p>` has attributes.
|
||||
* Unifies whitespace. Indents `<li>`, `<dt>` and `<dd>` for better readability.
|
||||
*
|
||||
* @param {string} html The content from the editor.
|
||||
* @return {string} The content with stripped paragraph tags.
|
||||
@ -483,7 +483,7 @@ function removep(html) {
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(35);
|
||||
var arrayWithHoles = __webpack_require__(34);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
@ -512,7 +512,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(36);
|
||||
var nonIterableRest = __webpack_require__(35);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
@ -525,7 +525,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 34:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -536,7 +536,7 @@ function _arrayWithHoles(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/autop.min.js
vendored
2
wp-includes/js/dist/autop.min.js
vendored
File diff suppressed because one or more lines are too long
4537
wp-includes/js/dist/block-editor.js
vendored
Normal file
4537
wp-includes/js/dist/block-editor.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
wp-includes/js/dist/block-editor.min.js
vendored
Normal file
1
wp-includes/js/dist/block-editor.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1886
wp-includes/js/dist/block-library.js
vendored
1886
wp-includes/js/dist/block-library.js
vendored
File diff suppressed because it is too large
Load Diff
6
wp-includes/js/dist/block-library.min.js
vendored
6
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
@ -405,7 +405,7 @@ function addBlockFromStack(endOffset) {
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(35);
|
||||
var arrayWithHoles = __webpack_require__(34);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
@ -434,7 +434,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(36);
|
||||
var nonIterableRest = __webpack_require__(35);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
@ -447,7 +447,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 34:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -458,7 +458,7 @@ function _arrayWithHoles(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -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(35);var u=r(36);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})},35:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})},36: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=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})}});
|
1603
wp-includes/js/dist/blocks.js
vendored
1603
wp-includes/js/dist/blocks.js
vendored
File diff suppressed because it is too large
Load Diff
4
wp-includes/js/dist/blocks.min.js
vendored
4
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
2285
wp-includes/js/dist/components.js
vendored
2285
wp-includes/js/dist/components.js
vendored
File diff suppressed because it is too large
Load Diff
6
wp-includes/js/dist/components.min.js
vendored
6
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
24
wp-includes/js/dist/compose.js
vendored
24
wp-includes/js/dist/compose.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 314);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 316);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,12 +107,12 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
||||
|
||||
|
||||
@ -126,7 +126,7 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -140,7 +140,7 @@ function _getPrototypeOf(o) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -174,7 +174,7 @@ function _inherits(subClass, superClass) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 18:
|
||||
/***/ 19:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -206,7 +206,7 @@ function _extends() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -244,7 +244,7 @@ function _assertThisInitialized(self) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 314:
|
||||
/***/ 316:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -322,13 +322,13 @@ var classCallCheck = __webpack_require__(10);
|
||||
var createClass = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
var possibleConstructorReturn = __webpack_require__(12);
|
||||
var possibleConstructorReturn = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(14);
|
||||
var inherits = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
@ -419,7 +419,7 @@ var pure = create_higher_order_component(function (Wrapped) {
|
||||
/* harmony default export */ var build_module_pure = (pure);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||
var esm_extends = __webpack_require__(18);
|
||||
var esm_extends = __webpack_require__(19);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(3);
|
||||
|
2
wp-includes/js/dist/compose.min.js
vendored
2
wp-includes/js/dist/compose.min.js
vendored
File diff suppressed because one or more lines are too long
292
wp-includes/js/dist/core-data.js
vendored
292
wp-includes/js/dist/core-data.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 310);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 311);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 120:
|
||||
/***/ 121:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = function(originalModule) {
|
||||
@ -140,7 +140,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -180,7 +180,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24:
|
||||
/***/ 22:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["url"]; }());
|
||||
@ -193,7 +193,7 @@ function _toConsumableArray(arr) {
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(35);
|
||||
var arrayWithHoles = __webpack_require__(34);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
@ -222,7 +222,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(36);
|
||||
var nonIterableRest = __webpack_require__(35);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
@ -235,14 +235,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -524,7 +517,14 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 310:
|
||||
/***/ 31:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 311:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -538,6 +538,7 @@ __webpack_require__.d(build_module_actions_namespaceObject, "receiveThemeSupport
|
||||
__webpack_require__.d(build_module_actions_namespaceObject, "receiveEmbedPreview", function() { return receiveEmbedPreview; });
|
||||
__webpack_require__.d(build_module_actions_namespaceObject, "saveEntityRecord", function() { return saveEntityRecord; });
|
||||
__webpack_require__.d(build_module_actions_namespaceObject, "receiveUploadPermissions", function() { return receiveUploadPermissions; });
|
||||
__webpack_require__.d(build_module_actions_namespaceObject, "receiveUserPermission", function() { return receiveUserPermission; });
|
||||
var build_module_selectors_namespaceObject = {};
|
||||
__webpack_require__.r(build_module_selectors_namespaceObject);
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "isRequestingEmbedPreview", function() { return isRequestingEmbedPreview; });
|
||||
@ -550,7 +551,8 @@ __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecords"
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "getThemeSupports", function() { return getThemeSupports; });
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "getEmbedPreview", function() { return getEmbedPreview; });
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "isPreviewEmbedFallback", function() { return isPreviewEmbedFallback; });
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "hasUploadPermissions", function() { return selectors_hasUploadPermissions; });
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "hasUploadPermissions", function() { return hasUploadPermissions; });
|
||||
__webpack_require__.d(build_module_selectors_namespaceObject, "canUser", function() { return canUser; });
|
||||
var resolvers_namespaceObject = {};
|
||||
__webpack_require__.r(resolvers_namespaceObject);
|
||||
__webpack_require__.d(resolvers_namespaceObject, "getAuthors", function() { return resolvers_getAuthors; });
|
||||
@ -559,6 +561,7 @@ __webpack_require__.d(resolvers_namespaceObject, "getEntityRecords", function()
|
||||
__webpack_require__.d(resolvers_namespaceObject, "getThemeSupports", function() { return resolvers_getThemeSupports; });
|
||||
__webpack_require__.d(resolvers_namespaceObject, "getEmbedPreview", function() { return resolvers_getEmbedPreview; });
|
||||
__webpack_require__.d(resolvers_namespaceObject, "hasUploadPermissions", function() { return resolvers_hasUploadPermissions; });
|
||||
__webpack_require__.d(resolvers_namespaceObject, "canUser", function() { return resolvers_canUser; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
|
||||
var objectSpread = __webpack_require__(8);
|
||||
@ -570,7 +573,7 @@ var external_this_wp_data_ = __webpack_require__(5);
|
||||
var slicedToArray = __webpack_require__(25);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(15);
|
||||
@ -743,14 +746,14 @@ function receiveQueriedItems(items) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(31);
|
||||
var rememo = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(66);
|
||||
var equivalent_key_map = __webpack_require__(68);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
var external_this_wp_url_ = __webpack_require__(24);
|
||||
var external_this_wp_url_ = __webpack_require__(22);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js
|
||||
|
||||
@ -918,10 +921,10 @@ var getQueriedItems = Object(rememo["a" /* default */])(function (state) {
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/redux/es/redux.js
|
||||
var redux = __webpack_require__(62);
|
||||
var redux = __webpack_require__(65);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(30);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(31);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/controls.js
|
||||
@ -969,13 +972,15 @@ var controls = {
|
||||
var request = _ref.request;
|
||||
return external_this_wp_apiFetch_default()(request);
|
||||
},
|
||||
SELECT: function SELECT(_ref2) {
|
||||
var _selectData;
|
||||
SELECT: Object(external_this_wp_data_["createRegistryControl"])(function (registry) {
|
||||
return function (_ref2) {
|
||||
var _registry$select;
|
||||
|
||||
var selectorName = _ref2.selectorName,
|
||||
args = _ref2.args;
|
||||
return (_selectData = Object(external_this_wp_data_["select"])('core'))[selectorName].apply(_selectData, Object(toConsumableArray["a" /* default */])(args));
|
||||
}
|
||||
var selectorName = _ref2.selectorName,
|
||||
args = _ref2.args;
|
||||
return (_registry$select = registry.select('core'))[selectorName].apply(_registry$select, Object(toConsumableArray["a" /* default */])(args));
|
||||
};
|
||||
})
|
||||
};
|
||||
/* harmony default export */ var build_module_controls = (controls);
|
||||
|
||||
@ -1154,8 +1159,26 @@ function saveEntityRecord(kind, name, record) {
|
||||
|
||||
function receiveUploadPermissions(hasUploadPermissions) {
|
||||
return {
|
||||
type: 'RECEIVE_UPLOAD_PERMISSIONS',
|
||||
hasUploadPermissions: hasUploadPermissions
|
||||
type: 'RECEIVE_USER_PERMISSION',
|
||||
key: 'create/media',
|
||||
isAllowed: hasUploadPermissions
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Returns an action object used in signalling that the current user has
|
||||
* permission to perform an action on a REST resource.
|
||||
*
|
||||
* @param {string} key A key that represents the action and REST resource.
|
||||
* @param {boolean} isAllowed Whether or not the user can perform the action.
|
||||
*
|
||||
* @return {Object} Action object.
|
||||
*/
|
||||
|
||||
function receiveUserPermission(key, isAllowed) {
|
||||
return {
|
||||
type: 'RECEIVE_USER_PERMISSION',
|
||||
key: key,
|
||||
isAllowed: isAllowed
|
||||
};
|
||||
}
|
||||
|
||||
@ -1624,7 +1647,7 @@ function entitiesConfig() {
|
||||
|
||||
switch (action.type) {
|
||||
case 'ADD_ENTITIES':
|
||||
return Object(toConsumableArray["a" /* default */])(state).concat(Object(toConsumableArray["a" /* default */])(action.entities));
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(state), Object(toConsumableArray["a" /* default */])(action.entities));
|
||||
}
|
||||
|
||||
return state;
|
||||
@ -1695,21 +1718,22 @@ function embedPreviews() {
|
||||
return state;
|
||||
}
|
||||
/**
|
||||
* Reducer managing Upload permissions.
|
||||
* State which tracks whether the user can perform an action on a REST
|
||||
* resource.
|
||||
*
|
||||
* @param {Object} state Current state.
|
||||
* @param {Object} action Dispatched action.
|
||||
* @param {Object} state Current state.
|
||||
* @param {Object} action Dispatched action.
|
||||
*
|
||||
* @return {Object} Updated state.
|
||||
*/
|
||||
|
||||
function hasUploadPermissions() {
|
||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
||||
function userPermissions() {
|
||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||
|
||||
switch (action.type) {
|
||||
case 'RECEIVE_UPLOAD_PERMISSIONS':
|
||||
return action.hasUploadPermissions;
|
||||
case 'RECEIVE_USER_PERMISSION':
|
||||
return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.key, action.isAllowed));
|
||||
}
|
||||
|
||||
return state;
|
||||
@ -1721,9 +1745,13 @@ function hasUploadPermissions() {
|
||||
themeSupports: themeSupports,
|
||||
entities: reducer_entities,
|
||||
embedPreviews: embedPreviews,
|
||||
hasUploadPermissions: hasUploadPermissions
|
||||
userPermissions: userPermissions
|
||||
}));
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","deprecated"]}
|
||||
var external_this_wp_deprecated_ = __webpack_require__(49);
|
||||
var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/name.js
|
||||
/**
|
||||
* The reducer key used by core data in store registration.
|
||||
@ -1744,29 +1772,13 @@ var REDUCER_KEY = 'core';
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns true if resolution is in progress for the core selector of the given
|
||||
* name and arguments.
|
||||
*
|
||||
* @param {string} selectorName Core data selector name.
|
||||
* @param {...*} args Arguments passed to selector.
|
||||
*
|
||||
* @return {boolean} Whether resolution is in progress.
|
||||
*/
|
||||
|
||||
function isResolving(selectorName) {
|
||||
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
||||
args[_key - 1] = arguments[_key];
|
||||
}
|
||||
|
||||
return Object(external_this_wp_data_["select"])('core/data').isResolving(REDUCER_KEY, selectorName, args);
|
||||
}
|
||||
/**
|
||||
* Returns true if a request is in progress for embed preview data, or false
|
||||
* otherwise.
|
||||
@ -1777,10 +1789,11 @@ function isResolving(selectorName) {
|
||||
* @return {boolean} Whether a request is in progress for an embed preview.
|
||||
*/
|
||||
|
||||
|
||||
function isRequestingEmbedPreview(state, url) {
|
||||
return isResolving('getEmbedPreview', url);
|
||||
}
|
||||
var isRequestingEmbedPreview = Object(external_this_wp_data_["createRegistrySelector"])(function (select) {
|
||||
return function (state, url) {
|
||||
return select('core/data').isResolving(REDUCER_KEY, 'getEmbedPreview', [url]);
|
||||
};
|
||||
});
|
||||
/**
|
||||
* Returns all available authors.
|
||||
*
|
||||
@ -1920,15 +1933,49 @@ function isPreviewEmbedFallback(state, url) {
|
||||
return preview.html === oEmbedLinkCheck;
|
||||
}
|
||||
/**
|
||||
* Return Upload Permissions.
|
||||
* Returns whether the current user can upload media.
|
||||
*
|
||||
* @param {Object} state State tree.
|
||||
* Calling this may trigger an OPTIONS request to the REST API via the
|
||||
* `canUser()` resolver.
|
||||
*
|
||||
* @return {boolean} Upload Permissions.
|
||||
* https://developer.wordpress.org/rest-api/reference/
|
||||
*
|
||||
* @deprecated since 5.0. Callers should use the more generic `canUser()` selector instead of
|
||||
* `hasUploadPermissions()`, e.g. `canUser( 'create', 'media' )`.
|
||||
*
|
||||
* @param {Object} state Data state.
|
||||
*
|
||||
* @return {boolean} Whether or not the user can upload media. Defaults to `true` if the OPTIONS
|
||||
* request is being made.
|
||||
*/
|
||||
|
||||
function selectors_hasUploadPermissions(state) {
|
||||
return state.hasUploadPermissions;
|
||||
function hasUploadPermissions(state) {
|
||||
external_this_wp_deprecated_default()("select( 'core' ).hasUploadPermissions()", {
|
||||
alternative: "select( 'core' ).canUser( 'create', 'media' )"
|
||||
});
|
||||
return Object(external_lodash_["defaultTo"])(canUser(state, 'create', 'media'), true);
|
||||
}
|
||||
/**
|
||||
* Returns whether the current user can perform the given action on the given
|
||||
* REST resource.
|
||||
*
|
||||
* Calling this may trigger an OPTIONS request to the REST API via the
|
||||
* `canUser()` resolver.
|
||||
*
|
||||
* https://developer.wordpress.org/rest-api/reference/
|
||||
*
|
||||
* @param {Object} state Data state.
|
||||
* @param {string} action Action to check. One of: 'create', 'read', 'update', 'delete'.
|
||||
* @param {string} resource REST resource to check, e.g. 'media' or 'posts'.
|
||||
* @param {string=} id Optional ID of the rest resource to check.
|
||||
*
|
||||
* @return {boolean|undefined} Whether or not the user can perform the action,
|
||||
* or `undefined` if the OPTIONS request is still being made.
|
||||
*/
|
||||
|
||||
function canUser(state, action, resource, id) {
|
||||
var key = Object(external_lodash_["compact"])([action, resource, id]).join('/');
|
||||
return Object(external_lodash_["get"])(state, ['userPermissions', key]);
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/resolvers.js
|
||||
@ -1951,7 +1998,10 @@ regeneratorRuntime.mark(resolvers_getThemeSupports),
|
||||
regeneratorRuntime.mark(resolvers_getEmbedPreview),
|
||||
_marked6 =
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(resolvers_hasUploadPermissions);
|
||||
regeneratorRuntime.mark(resolvers_hasUploadPermissions),
|
||||
_marked7 =
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(resolvers_canUser);
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
@ -1962,6 +2012,7 @@ regeneratorRuntime.mark(resolvers_hasUploadPermissions);
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -2179,24 +2230,84 @@ function resolvers_getEmbedPreview(url) {
|
||||
}
|
||||
/**
|
||||
* Requests Upload Permissions from the REST API.
|
||||
*
|
||||
* @deprecated since 5.0. Callers should use the more generic `canUser()` selector instead of
|
||||
* `hasUploadPermissions()`, e.g. `canUser( 'create', 'media' )`.
|
||||
*/
|
||||
|
||||
function resolvers_hasUploadPermissions() {
|
||||
var response, allowHeader;
|
||||
return regeneratorRuntime.wrap(function hasUploadPermissions$(_context6) {
|
||||
while (1) {
|
||||
switch (_context6.prev = _context6.next) {
|
||||
case 0:
|
||||
_context6.next = 2;
|
||||
external_this_wp_deprecated_default()("select( 'core' ).hasUploadPermissions()", {
|
||||
alternative: "select( 'core' ).canUser( 'create', 'media' )"
|
||||
});
|
||||
return _context6.delegateYield(resolvers_canUser('create', 'media'), "t0", 2);
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
}
|
||||
}
|
||||
}, _marked6, this);
|
||||
}
|
||||
/**
|
||||
* Checks whether the current user can perform the given action on the given
|
||||
* REST resource.
|
||||
*
|
||||
* @param {string} action Action to check. One of: 'create', 'read', 'update',
|
||||
* 'delete'.
|
||||
* @param {string} resource REST resource to check, e.g. 'media' or 'posts'.
|
||||
* @param {?string} id ID of the rest resource to check.
|
||||
*/
|
||||
|
||||
function resolvers_canUser(action, resource, id) {
|
||||
var methods, method, path, response, allowHeader, key, isAllowed;
|
||||
return regeneratorRuntime.wrap(function canUser$(_context7) {
|
||||
while (1) {
|
||||
switch (_context7.prev = _context7.next) {
|
||||
case 0:
|
||||
methods = {
|
||||
create: 'POST',
|
||||
read: 'GET',
|
||||
update: 'PUT',
|
||||
delete: 'DELETE'
|
||||
};
|
||||
method = methods[action];
|
||||
|
||||
if (method) {
|
||||
_context7.next = 4;
|
||||
break;
|
||||
}
|
||||
|
||||
throw new Error("'".concat(action, "' is not a valid action."));
|
||||
|
||||
case 4:
|
||||
path = id ? "/wp/v2/".concat(resource, "/").concat(id) : "/wp/v2/".concat(resource);
|
||||
_context7.prev = 5;
|
||||
_context7.next = 8;
|
||||
return apiFetch({
|
||||
path: '/wp/v2/media',
|
||||
method: 'OPTIONS',
|
||||
path: path,
|
||||
// Ideally this would always be an OPTIONS request, but unfortunately there's
|
||||
// a bug in the REST API which causes the Allow header to not be sent on
|
||||
// OPTIONS requests to /posts/:id routes.
|
||||
// https://core.trac.wordpress.org/ticket/45753
|
||||
method: id ? 'GET' : 'OPTIONS',
|
||||
parse: false
|
||||
});
|
||||
|
||||
case 2:
|
||||
response = _context6.sent;
|
||||
case 8:
|
||||
response = _context7.sent;
|
||||
_context7.next = 14;
|
||||
break;
|
||||
|
||||
case 11:
|
||||
_context7.prev = 11;
|
||||
_context7.t0 = _context7["catch"](5);
|
||||
return _context7.abrupt("return");
|
||||
|
||||
case 14:
|
||||
if (Object(external_lodash_["hasIn"])(response, ['headers', 'get'])) {
|
||||
// If the request is fetched using the fetch api, the header can be
|
||||
// retrieved using the 'get' method.
|
||||
@ -2207,15 +2318,17 @@ function resolvers_hasUploadPermissions() {
|
||||
allowHeader = Object(external_lodash_["get"])(response, ['headers', 'Allow'], '');
|
||||
}
|
||||
|
||||
_context6.next = 6;
|
||||
return receiveUploadPermissions(Object(external_lodash_["includes"])(allowHeader, 'POST'));
|
||||
key = Object(external_lodash_["compact"])([action, resource, id]).join('/');
|
||||
isAllowed = Object(external_lodash_["includes"])(allowHeader, method);
|
||||
_context7.next = 19;
|
||||
return receiveUserPermission(key, isAllowed);
|
||||
|
||||
case 6:
|
||||
case 19:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
return _context7.stop();
|
||||
}
|
||||
}
|
||||
}, _marked6, this);
|
||||
}, _marked7, this, [[5, 11]]);
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js
|
||||
@ -2320,7 +2433,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 34:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2331,7 +2444,7 @@ function _arrayWithHoles(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2342,6 +2455,13 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 49:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -2376,7 +2496,7 @@ module.exports = g;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62:
|
||||
/***/ 65:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2386,7 +2506,7 @@ module.exports = g;
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return applyMiddleware; });
|
||||
/* unused harmony export compose */
|
||||
/* unused harmony export __DO_NOT_USE__ActionTypes */
|
||||
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67);
|
||||
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
|
||||
|
||||
|
||||
/**
|
||||
@ -3013,7 +3133,7 @@ if (false) {}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 66:
|
||||
/***/ 68:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -3328,11 +3448,11 @@ module.exports = EquivalentKeyMap;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 67:
|
||||
/***/ 69:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85);
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(88);
|
||||
/* global window */
|
||||
|
||||
|
||||
@ -3351,7 +3471,7 @@ if (typeof self !== 'undefined') {
|
||||
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (result);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51), __webpack_require__(120)(module)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51), __webpack_require__(121)(module)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -3383,7 +3503,7 @@ function _objectSpread(target) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 85:
|
||||
/***/ 88:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/core-data.min.js
vendored
2
wp-includes/js/dist/core-data.min.js
vendored
File diff suppressed because one or more lines are too long
412
wp-includes/js/dist/data.js
vendored
412
wp-includes/js/dist/data.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["data"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 309);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 310);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,12 +107,12 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
||||
|
||||
|
||||
@ -126,7 +126,21 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 120:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
|
||||
function _getPrototypeOf(o) {
|
||||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
};
|
||||
return _getPrototypeOf(o);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 121:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = function(originalModule) {
|
||||
@ -160,20 +174,6 @@ module.exports = function(originalModule) {
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
|
||||
function _getPrototypeOf(o) {
|
||||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
};
|
||||
return _getPrototypeOf(o);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
||||
@ -227,7 +227,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 173:
|
||||
/***/ 174:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function combineReducers( reducers ) {
|
||||
@ -289,38 +289,6 @@ module.exports = combineReducers;
|
||||
/***/ 18:
|
||||
/***/ (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);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 188:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["reduxRoutine"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
||||
@ -351,6 +319,45 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 189:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["reduxRoutine"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 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);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 190:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -364,7 +371,7 @@ function _toConsumableArray(arr) {
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(35);
|
||||
var arrayWithHoles = __webpack_require__(34);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
@ -393,7 +400,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(36);
|
||||
var nonIterableRest = __webpack_require__(35);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
@ -406,7 +413,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -444,7 +451,7 @@ function _assertThisInitialized(self) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 309:
|
||||
/***/ 310:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -467,7 +474,7 @@ __webpack_require__.d(plugins_namespaceObject, "controls", function() { return c
|
||||
__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
|
||||
var turbo_combine_reducers = __webpack_require__(173);
|
||||
var turbo_combine_reducers = __webpack_require__(174);
|
||||
var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
@ -480,13 +487,13 @@ var objectSpread = __webpack_require__(8);
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(38);
|
||||
var asyncToGenerator = __webpack_require__(41);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/redux/es/redux.js
|
||||
var redux = __webpack_require__(62);
|
||||
var redux = __webpack_require__(65);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
||||
var is_promise = __webpack_require__(86);
|
||||
var is_promise = __webpack_require__(89);
|
||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||
@ -519,7 +526,7 @@ var promise_middleware_promiseMiddleware = function promiseMiddleware() {
|
||||
/* harmony default export */ var promise_middleware = (promise_middleware_promiseMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
|
||||
|
||||
@ -594,14 +601,14 @@ var resolvers_cache_middleware_createResolversCacheMiddleware = function createR
|
||||
*
|
||||
* @param {string} key Identifying string used for namespace and redex dev tools.
|
||||
* @param {Object} options Contains reducer, actions, selectors, and resolvers.
|
||||
* @param {Object} registry Temporary registry reference, required for namespace updates.
|
||||
* @param {Object} registry Registry reference.
|
||||
*
|
||||
* @return {Object} Store Object.
|
||||
*/
|
||||
|
||||
function createNamespace(key, options, registry) {
|
||||
var reducer = options.reducer;
|
||||
var store = createReduxStore(reducer, key, registry);
|
||||
var store = createReduxStore(key, options, registry);
|
||||
var selectors, actions, resolvers;
|
||||
|
||||
if (options.actions) {
|
||||
@ -609,7 +616,7 @@ function createNamespace(key, options, registry) {
|
||||
}
|
||||
|
||||
if (options.selectors) {
|
||||
selectors = mapSelectors(options.selectors, store);
|
||||
selectors = mapSelectors(options.selectors, store, registry);
|
||||
}
|
||||
|
||||
if (options.resolvers) {
|
||||
@ -658,14 +665,15 @@ function createNamespace(key, options, registry) {
|
||||
/**
|
||||
* Creates a redux store for a namespace.
|
||||
*
|
||||
* @param {Function} reducer Root reducer for redux store.
|
||||
* @param {string} key Part of the state shape to register the
|
||||
* selectors for.
|
||||
* @param {Object} registry Registry reference, for resolver enhancer support.
|
||||
* @return {Object} Newly created redux store.
|
||||
* @param {string} key Part of the state shape to register the
|
||||
* selectors for.
|
||||
* @param {Object} options Registered store options.
|
||||
* @param {Object} registry Registry reference, for resolver enhancer support.
|
||||
*
|
||||
* @return {Object} Newly created redux store.
|
||||
*/
|
||||
|
||||
function createReduxStore(reducer, key, registry) {
|
||||
function createReduxStore(key, options, registry) {
|
||||
var enhancers = [Object(redux["a" /* applyMiddleware */])(resolvers_cache_middleware(registry, key), promise_middleware)];
|
||||
|
||||
if (typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__) {
|
||||
@ -675,7 +683,9 @@ function createReduxStore(reducer, key, registry) {
|
||||
}));
|
||||
}
|
||||
|
||||
return Object(redux["c" /* createStore */])(reducer, Object(external_lodash_["flowRight"])(enhancers));
|
||||
var reducer = options.reducer,
|
||||
initialState = options.initialState;
|
||||
return Object(redux["c" /* createStore */])(reducer, initialState, Object(external_lodash_["flowRight"])(enhancers));
|
||||
}
|
||||
/**
|
||||
* Maps selectors to a redux store.
|
||||
@ -684,12 +694,15 @@ function createReduxStore(reducer, key, registry) {
|
||||
* public facing API. Selectors will get passed the
|
||||
* state as first argument.
|
||||
* @param {Object} store The redux store to which the selectors should be mapped.
|
||||
* @param {Object} registry Registry reference.
|
||||
*
|
||||
* @return {Object} Selectors mapped to the redux store provided.
|
||||
*/
|
||||
|
||||
|
||||
function mapSelectors(selectors, store) {
|
||||
var createStateSelector = function createStateSelector(selector) {
|
||||
function mapSelectors(selectors, store, registry) {
|
||||
var createStateSelector = function createStateSelector(registeredSelector) {
|
||||
var selector = registeredSelector.isRegistrySelector ? registeredSelector(registry.select) : registeredSelector;
|
||||
return function runSelector() {
|
||||
// This function is an optimized implementation of:
|
||||
//
|
||||
@ -936,7 +949,7 @@ function _fulfillWithRegistry() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(66);
|
||||
var equivalent_key_map = __webpack_require__(68);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
@ -1378,11 +1391,14 @@ function createRegistry() {
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/default-registry.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
/* harmony default export */ var default_registry = (createRegistry());
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","reduxRoutine"]}
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(188);
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(189);
|
||||
var external_this_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_reduxRoutine_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/controls/index.js
|
||||
@ -1390,6 +1406,7 @@ var external_this_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(e
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1401,7 +1418,10 @@ var external_this_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(e
|
||||
var store = registry.registerStore(reducerKey, options);
|
||||
|
||||
if (options.controls) {
|
||||
var middleware = external_this_wp_reduxRoutine_default()(options.controls);
|
||||
var normalizedControls = Object(external_lodash_["mapValues"])(options.controls, function (control) {
|
||||
return control.isRegistryControl ? control(registry) : control;
|
||||
});
|
||||
var middleware = external_this_wp_reduxRoutine_default()(normalizedControls);
|
||||
var enhancer = Object(redux["a" /* applyMiddleware */])(middleware);
|
||||
|
||||
var createStore = function createStore() {
|
||||
@ -1473,6 +1493,7 @@ try {
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Persistence plugin options.
|
||||
*
|
||||
@ -1499,21 +1520,24 @@ var DEFAULT_STORAGE = storage_default;
|
||||
|
||||
var DEFAULT_STORAGE_KEY = 'WP_DATA';
|
||||
/**
|
||||
* Higher-order reducer to provides an initial value when state is undefined.
|
||||
* Higher-order reducer which invokes the original reducer only if state is
|
||||
* inequal from that of the action's `nextState` property, otherwise returning
|
||||
* the original state reference.
|
||||
*
|
||||
* @param {Function} reducer Original reducer.
|
||||
* @param {*} initialState Value to use as initial state.
|
||||
* @param {Function} reducer Original reducer.
|
||||
*
|
||||
* @return {Function} Enhanced reducer.
|
||||
*/
|
||||
|
||||
function withInitialState(reducer, initialState) {
|
||||
return function () {
|
||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
|
||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||
var withLazySameState = function withLazySameState(reducer) {
|
||||
return function (state, action) {
|
||||
if (action.nextState === state) {
|
||||
return state;
|
||||
}
|
||||
|
||||
return reducer(state, action);
|
||||
};
|
||||
}
|
||||
};
|
||||
/**
|
||||
* Creates a persistence interface, exposing getter and setter methods (`get`
|
||||
* and `set` respectively).
|
||||
@ -1583,7 +1607,7 @@ function createPersistenceInterface(options) {
|
||||
* @return {WPDataPlugin} Data plugin.
|
||||
*/
|
||||
|
||||
/* harmony default export */ var plugins_persistence = (function (registry, pluginOptions) {
|
||||
var persistence_persistencePlugin = function persistencePlugin(registry, pluginOptions) {
|
||||
var persistence = createPersistenceInterface(pluginOptions);
|
||||
/**
|
||||
* Creates an enhanced store dispatch function, triggering the state of the
|
||||
@ -1597,15 +1621,35 @@ function createPersistenceInterface(options) {
|
||||
*/
|
||||
|
||||
function createPersistOnChange(getState, reducerKey, keys) {
|
||||
var lastState = getState();
|
||||
var getPersistedState;
|
||||
|
||||
if (Array.isArray(keys)) {
|
||||
// Given keys, the persisted state should by produced as an object
|
||||
// of the subset of keys. This implementation uses combineReducers
|
||||
// to leverage its behavior of returning the same object when none
|
||||
// of the property values changes. This allows a strict reference
|
||||
// equality to bypass a persistence set on an unchanging state.
|
||||
var reducers = keys.reduce(function (result, key) {
|
||||
return Object.assign(result, Object(defineProperty["a" /* default */])({}, key, function (state, action) {
|
||||
return action.nextState[key];
|
||||
}));
|
||||
}, {});
|
||||
getPersistedState = withLazySameState(turbo_combine_reducers_default()(reducers));
|
||||
} else {
|
||||
getPersistedState = function getPersistedState(state, action) {
|
||||
return action.nextState;
|
||||
};
|
||||
}
|
||||
|
||||
var lastState = getPersistedState(undefined, {
|
||||
nextState: getState()
|
||||
});
|
||||
return function (result) {
|
||||
var state = getState();
|
||||
var state = getPersistedState(lastState, {
|
||||
nextState: getState()
|
||||
});
|
||||
|
||||
if (state !== lastState) {
|
||||
if (Array.isArray(keys)) {
|
||||
state = Object(external_lodash_["pick"])(state, keys);
|
||||
}
|
||||
|
||||
persistence.set(reducerKey, state);
|
||||
lastState = state;
|
||||
}
|
||||
@ -1618,25 +1662,72 @@ function createPersistenceInterface(options) {
|
||||
registerStore: function registerStore(reducerKey, options) {
|
||||
if (!options.persist) {
|
||||
return registry.registerStore(reducerKey, options);
|
||||
} // Load from persistence to use as initial state.
|
||||
|
||||
|
||||
var persistedState = persistence.get()[reducerKey];
|
||||
|
||||
if (persistedState !== undefined) {
|
||||
var initialState = options.reducer(undefined, {
|
||||
type: '@@WP/PERSISTENCE_RESTORE'
|
||||
});
|
||||
|
||||
if (Object(external_lodash_["isPlainObject"])(initialState) && Object(external_lodash_["isPlainObject"])(persistedState)) {
|
||||
// If state is an object, ensure that:
|
||||
// - Other keys are left intact when persisting only a
|
||||
// subset of keys.
|
||||
// - New keys in what would otherwise be used as initial
|
||||
// state are deeply merged as base for persisted value.
|
||||
initialState = Object(external_lodash_["merge"])({}, initialState, persistedState);
|
||||
} else {
|
||||
// If there is a mismatch in object-likeness of default
|
||||
// initial or persisted state, defer to persisted value.
|
||||
initialState = persistedState;
|
||||
}
|
||||
|
||||
options = Object(objectSpread["a" /* default */])({}, options, {
|
||||
initialState: initialState
|
||||
});
|
||||
}
|
||||
|
||||
var initialState = persistence.get()[reducerKey];
|
||||
options = Object(objectSpread["a" /* default */])({}, options, {
|
||||
reducer: withInitialState(options.reducer, initialState)
|
||||
});
|
||||
var store = registry.registerStore(reducerKey, options);
|
||||
store.dispatch = Object(external_lodash_["flow"])([store.dispatch, createPersistOnChange(store.getState, reducerKey, options.persist)]);
|
||||
return store;
|
||||
}
|
||||
};
|
||||
});
|
||||
};
|
||||
/**
|
||||
* Deprecated: Remove this function once WordPress 5.3 is released.
|
||||
*/
|
||||
|
||||
|
||||
persistence_persistencePlugin.__unstableMigrate = function (pluginOptions) {
|
||||
var persistence = createPersistenceInterface(pluginOptions); // Preferences migration to introduce the block editor module
|
||||
|
||||
var persistedState = persistence.get();
|
||||
var coreEditorState = persistedState['core/editor'];
|
||||
|
||||
if (coreEditorState && coreEditorState.preferences && coreEditorState.preferences.insertUsage) {
|
||||
var blockEditorState = {
|
||||
preferences: {
|
||||
insertUsage: coreEditorState.preferences.insertUsage
|
||||
}
|
||||
};
|
||||
persistence.set('core/editor', Object(objectSpread["a" /* default */])({}, coreEditorState, {
|
||||
preferences: Object(external_lodash_["omit"])(coreEditorState.preferences, ['insertUsage'])
|
||||
}));
|
||||
persistence.set('core/block-editor', blockEditorState);
|
||||
}
|
||||
};
|
||||
|
||||
/* harmony default export */ var plugins_persistence = (persistence_persistencePlugin);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/index.js
|
||||
|
||||
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||
var esm_extends = __webpack_require__(18);
|
||||
var esm_extends = __webpack_require__(19);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__(10);
|
||||
@ -1645,13 +1736,13 @@ var classCallCheck = __webpack_require__(10);
|
||||
var createClass = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
var possibleConstructorReturn = __webpack_require__(12);
|
||||
var possibleConstructorReturn = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(14);
|
||||
var inherits = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(3);
|
||||
@ -1661,11 +1752,13 @@ var external_this_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","compose"]}
|
||||
var external_this_wp_compose_ = __webpack_require__(7);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","priorityQueue"]}
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(190);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
@ -1684,6 +1777,19 @@ var _createContext = Object(external_this_wp_element_["createContext"])(default_
|
||||
var RegistryConsumer = Consumer;
|
||||
/* harmony default export */ var registry_provider = (Provider);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
var async_mode_provider_createContext = Object(external_this_wp_element_["createContext"])(false),
|
||||
async_mode_provider_Consumer = async_mode_provider_createContext.Consumer,
|
||||
async_mode_provider_Provider = async_mode_provider_createContext.Provider;
|
||||
|
||||
var AsyncModeConsumer = async_mode_provider_Consumer;
|
||||
/* harmony default export */ var async_mode_provider = (async_mode_provider_Provider);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-select/index.js
|
||||
|
||||
|
||||
@ -1700,11 +1806,14 @@ var RegistryConsumer = Consumer;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
var renderQueue = Object(external_this_wp_priorityQueue_["createQueue"])();
|
||||
/**
|
||||
* Higher-order component used to inject state-derived props using registered
|
||||
* selectors.
|
||||
@ -1774,31 +1883,37 @@ var with_select_withSelect = function withSelect(mapSelectToProps) {
|
||||
value: function componentWillUnmount() {
|
||||
this.canRunSelection = false;
|
||||
this.unsubscribe();
|
||||
renderQueue.flush(this);
|
||||
}
|
||||
}, {
|
||||
key: "shouldComponentUpdate",
|
||||
value: function shouldComponentUpdate(nextProps, nextState) {
|
||||
// Cycle subscription if registry changes.
|
||||
var hasRegistryChanged = nextProps.registry !== this.props.registry;
|
||||
var hasSyncRenderingChanged = nextProps.isAsync !== this.props.isAsync;
|
||||
|
||||
if (hasRegistryChanged) {
|
||||
this.unsubscribe();
|
||||
this.subscribe(nextProps.registry);
|
||||
}
|
||||
|
||||
if (hasSyncRenderingChanged) {
|
||||
renderQueue.flush(this);
|
||||
} // Treat a registry change as equivalent to `ownProps`, to reflect
|
||||
// `mergeProps` to rendered component if and only if updated.
|
||||
|
||||
|
||||
var hasPropsChanged = hasRegistryChanged || !external_this_wp_isShallowEqual_default()(this.props.ownProps, nextProps.ownProps); // Only render if props have changed or merge props have been updated
|
||||
var hasPropsChanged = hasRegistryChanged || !Object(external_this_wp_isShallowEqual_["isShallowEqualObjects"])(this.props.ownProps, nextProps.ownProps); // Only render if props have changed or merge props have been updated
|
||||
// from the store subscriber.
|
||||
|
||||
if (this.state === nextState && !hasPropsChanged) {
|
||||
if (this.state === nextState && !hasPropsChanged && !hasSyncRenderingChanged) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (hasPropsChanged) {
|
||||
if (hasPropsChanged || hasSyncRenderingChanged) {
|
||||
var nextMergeProps = getNextMergeProps(nextProps);
|
||||
|
||||
if (!external_this_wp_isShallowEqual_default()(this.mergeProps, nextMergeProps)) {
|
||||
if (!Object(external_this_wp_isShallowEqual_["isShallowEqualObjects"])(this.mergeProps, nextMergeProps)) {
|
||||
// If merge props change as a result of the incoming props,
|
||||
// they should be reflected as such in the upcoming render.
|
||||
// While side effects are discouraged in lifecycle methods,
|
||||
@ -1824,7 +1939,7 @@ var with_select_withSelect = function withSelect(mapSelectToProps) {
|
||||
|
||||
var nextMergeProps = getNextMergeProps(this.props);
|
||||
|
||||
if (external_this_wp_isShallowEqual_default()(this.mergeProps, nextMergeProps)) {
|
||||
if (Object(external_this_wp_isShallowEqual_["isShallowEqualObjects"])(this.mergeProps, nextMergeProps)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1841,7 +1956,15 @@ var with_select_withSelect = function withSelect(mapSelectToProps) {
|
||||
}, {
|
||||
key: "subscribe",
|
||||
value: function subscribe(registry) {
|
||||
this.unsubscribe = registry.subscribe(this.onStoreChange);
|
||||
var _this2 = this;
|
||||
|
||||
this.unsubscribe = registry.subscribe(function () {
|
||||
if (_this2.props.isAsync) {
|
||||
renderQueue.add(_this2, _this2.onStoreChange);
|
||||
} else {
|
||||
_this2.onStoreChange();
|
||||
}
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
@ -1854,10 +1977,13 @@ var with_select_withSelect = function withSelect(mapSelectToProps) {
|
||||
}(external_this_wp_element_["Component"]);
|
||||
|
||||
return function (ownProps) {
|
||||
return Object(external_this_wp_element_["createElement"])(RegistryConsumer, null, function (registry) {
|
||||
return Object(external_this_wp_element_["createElement"])(ComponentWithSelect, {
|
||||
ownProps: ownProps,
|
||||
registry: registry
|
||||
return Object(external_this_wp_element_["createElement"])(AsyncModeConsumer, null, function (isAsync) {
|
||||
return Object(external_this_wp_element_["createElement"])(RegistryConsumer, null, function (registry) {
|
||||
return Object(external_this_wp_element_["createElement"])(ComponentWithSelect, {
|
||||
ownProps: ownProps,
|
||||
registry: registry,
|
||||
isAsync: isAsync
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
@ -1986,6 +2112,31 @@ var with_dispatch_withDispatch = function withDispatch(mapDispatchToProps) {
|
||||
|
||||
/* harmony default export */ var with_dispatch = (with_dispatch_withDispatch);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
|
||||
/**
|
||||
* Mark a selector as a registry selector.
|
||||
*
|
||||
* @param {function} registrySelector Function receiving a registry object and returning a state selector.
|
||||
*
|
||||
* @return {function} marked registry selector.
|
||||
*/
|
||||
function createRegistrySelector(registrySelector) {
|
||||
registrySelector.isRegistrySelector = true;
|
||||
return registrySelector;
|
||||
}
|
||||
/**
|
||||
* Mark a control as a registry control.
|
||||
*
|
||||
* @param {function} registryControl Function receiving a registry object and returning a control.
|
||||
*
|
||||
* @return {function} marked registry control.
|
||||
*/
|
||||
|
||||
function createRegistryControl(registryControl) {
|
||||
registryControl.isRegistryControl = true;
|
||||
return registryControl;
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/index.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return build_module_select; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return build_module_dispatch; });
|
||||
@ -1997,8 +2148,11 @@ var with_dispatch_withDispatch = function withDispatch(mapDispatchToProps) {
|
||||
/* concated harmony reexport withDispatch */__webpack_require__.d(__webpack_exports__, "withDispatch", function() { return with_dispatch; });
|
||||
/* concated harmony reexport RegistryProvider */__webpack_require__.d(__webpack_exports__, "RegistryProvider", function() { return registry_provider; });
|
||||
/* concated harmony reexport RegistryConsumer */__webpack_require__.d(__webpack_exports__, "RegistryConsumer", function() { return RegistryConsumer; });
|
||||
/* concated harmony reexport __experimentalAsyncModeProvider */__webpack_require__.d(__webpack_exports__, "__experimentalAsyncModeProvider", function() { return async_mode_provider; });
|
||||
/* concated harmony reexport createRegistry */__webpack_require__.d(__webpack_exports__, "createRegistry", function() { return createRegistry; });
|
||||
/* concated harmony reexport plugins */__webpack_require__.d(__webpack_exports__, "plugins", function() { return plugins_namespaceObject; });
|
||||
/* concated harmony reexport createRegistrySelector */__webpack_require__.d(__webpack_exports__, "createRegistrySelector", function() { return createRegistrySelector; });
|
||||
/* concated harmony reexport createRegistryControl */__webpack_require__.d(__webpack_exports__, "createRegistryControl", function() { return createRegistryControl; });
|
||||
/* concated harmony reexport combineReducers */__webpack_require__.d(__webpack_exports__, "combineReducers", function() { return turbo_combine_reducers_default.a; });
|
||||
/**
|
||||
* External dependencies
|
||||
@ -2015,6 +2169,8 @@ var with_dispatch_withDispatch = function withDispatch(mapDispatchToProps) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The combineReducers helper function turns an object whose values are different
|
||||
* reducing functions into a single reducing function you can pass to registerReducer.
|
||||
@ -2048,7 +2204,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 34:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2059,7 +2215,7 @@ function _arrayWithHoles(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2070,7 +2226,14 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
/***/ 40:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2113,13 +2276,6 @@ function _asyncToGenerator(fn) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 51:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -2147,7 +2303,7 @@ module.exports = g;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62:
|
||||
/***/ 65:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2157,7 +2313,7 @@ module.exports = g;
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return applyMiddleware; });
|
||||
/* unused harmony export compose */
|
||||
/* unused harmony export __DO_NOT_USE__ActionTypes */
|
||||
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67);
|
||||
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
|
||||
|
||||
|
||||
/**
|
||||
@ -2784,7 +2940,7 @@ if (false) {}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 66:
|
||||
/***/ 68:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -3099,11 +3255,11 @@ module.exports = EquivalentKeyMap;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 67:
|
||||
/***/ 69:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85);
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(88);
|
||||
/* global window */
|
||||
|
||||
|
||||
@ -3122,7 +3278,7 @@ if (typeof self !== 'undefined') {
|
||||
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (result);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51), __webpack_require__(120)(module)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(51), __webpack_require__(121)(module)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -3161,7 +3317,7 @@ function _objectSpread(target) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 85:
|
||||
/***/ 88:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -3187,7 +3343,7 @@ function symbolObservablePonyfill(root) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 86:
|
||||
/***/ 89:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = isPromise;
|
||||
|
2
wp-includes/js/dist/data.min.js
vendored
2
wp-includes/js/dist/data.min.js
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/date.js
vendored
6
wp-includes/js/dist/date.js
vendored
@ -87,7 +87,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["date"] =
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 174:
|
||||
/***/ 175:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js
|
||||
@ -723,7 +723,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDate", function() { return getDate; });
|
||||
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27);
|
||||
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(174);
|
||||
/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(175);
|
||||
/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(265);
|
||||
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__);
|
||||
@ -1468,7 +1468,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
||||
/***/ 266:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var moment = module.exports = __webpack_require__(174);
|
||||
var moment = module.exports = __webpack_require__(175);
|
||||
moment.tz.load(__webpack_require__(267));
|
||||
|
||||
|
||||
|
6
wp-includes/js/dist/date.min.js
vendored
6
wp-includes/js/dist/date.min.js
vendored
File diff suppressed because one or more lines are too long
24
wp-includes/js/dist/dom.js
vendored
24
wp-includes/js/dist/dom.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 324);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 325);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 19:
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -127,7 +127,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 324:
|
||||
/***/ 325:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -141,7 +141,7 @@ __webpack_require__.d(tabbable_namespaceObject, "isTabbableIndex", function() {
|
||||
__webpack_require__.d(tabbable_namespaceObject, "find", function() { return tabbable_find; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js
|
||||
|
||||
@ -445,20 +445,24 @@ function isHorizontalEdge(container, isReverse) {
|
||||
if (offset !== extentOffset) {
|
||||
return false;
|
||||
} // If confirmed to be at extent, traverse up through DOM, verifying that
|
||||
// the node is at first or last child for reverse or forward respectively.
|
||||
// Continue until container is reached.
|
||||
// the node is at first or last child for reverse or forward respectively
|
||||
// (ignoring empty text nodes). Continue until container is reached.
|
||||
|
||||
|
||||
var order = isReverse ? 'first' : 'last';
|
||||
var order = isReverse ? 'previous' : 'next';
|
||||
|
||||
while (node !== container) {
|
||||
var parentNode = node.parentNode;
|
||||
var next = node["".concat(order, "Sibling")]; // Skip over empty text nodes.
|
||||
|
||||
if (parentNode["".concat(order, "Child")] !== node) {
|
||||
while (next && next.nodeType === TEXT_NODE && next.data === '') {
|
||||
next = next["".concat(order, "Sibling")];
|
||||
}
|
||||
|
||||
if (next) {
|
||||
return false;
|
||||
}
|
||||
|
||||
node = parentNode;
|
||||
node = node.parentNode;
|
||||
} // If reached, range is assumed to be at edge.
|
||||
|
||||
|
||||
|
2
wp-includes/js/dist/dom.min.js
vendored
2
wp-includes/js/dist/dom.min.js
vendored
File diff suppressed because one or more lines are too long
1369
wp-includes/js/dist/edit-post.js
vendored
1369
wp-includes/js/dist/edit-post.js
vendored
File diff suppressed because it is too large
Load Diff
4
wp-includes/js/dist/edit-post.min.js
vendored
4
wp-includes/js/dist/edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
8476
wp-includes/js/dist/editor.js
vendored
8476
wp-includes/js/dist/editor.js
vendored
File diff suppressed because it is too large
Load Diff
8
wp-includes/js/dist/editor.min.js
vendored
8
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
14
wp-includes/js/dist/element.js
vendored
14
wp-includes/js/dist/element.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["element"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 319);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 320);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -167,7 +167,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -190,7 +190,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 319:
|
||||
/***/ 320:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -413,17 +413,17 @@ var utils_isEmptyElement = function isEmptyElement(element) {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
var esm_typeof = __webpack_require__(28);
|
||||
var esm_typeof = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","escapeHtml"]}
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(61);
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(63);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -970,7 +970,7 @@ function renderStyle(style) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 61:
|
||||
/***/ 63:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["escapeHtml"]; }());
|
||||
|
2
wp-includes/js/dist/element.min.js
vendored
2
wp-includes/js/dist/element.min.js
vendored
File diff suppressed because one or more lines are too long
440
wp-includes/js/dist/format-library.js
vendored
440
wp-includes/js/dist/format-library.js
vendored
@ -114,12 +114,12 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
||||
|
||||
|
||||
@ -133,7 +133,7 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -147,7 +147,7 @@ function _getPrototypeOf(o) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -181,14 +181,29 @@ function _inherits(subClass, superClass) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
(function() { module.exports = this["wp"]["keycodes"]; }());
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
|
||||
function _defineProperty(obj, key, value) {
|
||||
if (key in obj) {
|
||||
Object.defineProperty(obj, key, {
|
||||
value: value,
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true
|
||||
});
|
||||
} else {
|
||||
obj[key] = value;
|
||||
}
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||
@ -244,6 +259,13 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||
}());
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["keycodes"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
@ -307,18 +329,11 @@ function _objectWithoutProperties(source, excluded) {
|
||||
/***/ 22:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["dom"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -365,15 +380,15 @@ __webpack_require__.r(__webpack_exports__);
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
|
||||
var objectWithoutProperties = __webpack_require__(21);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
||||
var external_this_wp_richText_ = __webpack_require__(20);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","element"]}
|
||||
var external_this_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
||||
var external_this_wp_richText_ = __webpack_require__(20);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","editor"]}
|
||||
var external_this_wp_editor_ = __webpack_require__(6);
|
||||
|
||||
@ -416,6 +431,9 @@ var bold = {
|
||||
isActive: isActive,
|
||||
shortcutType: "primary",
|
||||
shortcutCharacter: "b"
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], {
|
||||
inputType: "formatBold",
|
||||
onInput: onToggle
|
||||
}));
|
||||
}
|
||||
};
|
||||
@ -453,6 +471,9 @@ var code = {
|
||||
}
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
|
||||
var objectSpread = __webpack_require__(8);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__(10);
|
||||
|
||||
@ -460,13 +481,13 @@ var classCallCheck = __webpack_require__(10);
|
||||
var createClass = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
var possibleConstructorReturn = __webpack_require__(12);
|
||||
var possibleConstructorReturn = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(14);
|
||||
var inherits = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(3);
|
||||
@ -474,6 +495,9 @@ var assertThisInitialized = __webpack_require__(3);
|
||||
// EXTERNAL MODULE: external {"this":["wp","components"]}
|
||||
var external_this_wp_components_ = __webpack_require__(4);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","keycodes"]}
|
||||
var external_this_wp_keycodes_ = __webpack_require__(17);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
|
||||
|
||||
|
||||
@ -483,6 +507,7 @@ var external_this_wp_components_ = __webpack_require__(4);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -491,8 +516,14 @@ var external_this_wp_components_ = __webpack_require__(4);
|
||||
|
||||
|
||||
|
||||
|
||||
var ALLOWED_MEDIA_TYPES = ['image'];
|
||||
var image_name = 'core/image';
|
||||
|
||||
var stopKeyPropagation = function stopKeyPropagation(event) {
|
||||
return event.stopPropagation();
|
||||
};
|
||||
|
||||
var image_image = {
|
||||
name: image_name,
|
||||
title: Object(external_this_wp_i18n_["__"])('Image'),
|
||||
@ -517,6 +548,8 @@ var image_image = {
|
||||
Object(classCallCheck["a" /* default */])(this, ImageEdit);
|
||||
|
||||
_this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ImageEdit).apply(this, arguments));
|
||||
_this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
|
||||
_this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
|
||||
_this.openModal = _this.openModal.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
|
||||
_this.closeModal = _this.closeModal.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
|
||||
_this.state = {
|
||||
@ -526,6 +559,21 @@ var image_image = {
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(ImageEdit, [{
|
||||
key: "onChange",
|
||||
value: function onChange(width) {
|
||||
this.setState({
|
||||
width: width
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "onKeyDown",
|
||||
value: function onKeyDown(event) {
|
||||
if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) {
|
||||
// Stop the key event from propagating up to ObserveTyping.startTypingInTextField.
|
||||
event.stopPropagation();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "openModal",
|
||||
value: function openModal() {
|
||||
this.setState({
|
||||
@ -546,7 +594,13 @@ var image_image = {
|
||||
|
||||
var _this$props = this.props,
|
||||
value = _this$props.value,
|
||||
onChange = _this$props.onChange;
|
||||
onChange = _this$props.onChange,
|
||||
isActive = _this$props.isActive,
|
||||
activeAttributes = _this$props.activeAttributes;
|
||||
var style = activeAttributes.style; // Rerender PositionedAtSelection when the selection changes or when
|
||||
// the width changes.
|
||||
|
||||
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"], {
|
||||
name: image_name,
|
||||
icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
|
||||
@ -583,7 +637,62 @@ var image_image = {
|
||||
open();
|
||||
return null;
|
||||
}
|
||||
}));
|
||||
}), isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PositionedAtSelection"], {
|
||||
key: key
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], {
|
||||
position: "bottom center",
|
||||
focusOnMount: false
|
||||
}, Object(external_this_wp_element_["createElement"])("form", {
|
||||
className: "editor-format-toolbar__image-container-content",
|
||||
onKeyPress: stopKeyPropagation,
|
||||
onKeyDown: this.onKeyDown,
|
||||
onSubmit: function onSubmit(event) {
|
||||
var newFormats = value.formats.slice(0);
|
||||
newFormats[value.start] = [{
|
||||
type: image_name,
|
||||
object: true,
|
||||
attributes: Object(objectSpread["a" /* default */])({}, activeAttributes, {
|
||||
style: "width: ".concat(_this2.state.width, "px;")
|
||||
})
|
||||
}];
|
||||
onChange(Object(objectSpread["a" /* default */])({}, value, {
|
||||
formats: newFormats
|
||||
}));
|
||||
event.preventDefault();
|
||||
}
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
|
||||
className: "editor-format-toolbar__image-container-value",
|
||||
type: "number",
|
||||
label: Object(external_this_wp_i18n_["__"])('Width'),
|
||||
value: this.state.width,
|
||||
min: 1,
|
||||
onChange: this.onChange
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
|
||||
icon: "editor-break",
|
||||
label: Object(external_this_wp_i18n_["__"])('Apply'),
|
||||
type: "submit"
|
||||
})))));
|
||||
}
|
||||
}], [{
|
||||
key: "getDerivedStateFromProps",
|
||||
value: function getDerivedStateFromProps(props, state) {
|
||||
var style = props.activeAttributes.style;
|
||||
|
||||
if (style === state.previousStyle) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!style) {
|
||||
return {
|
||||
width: undefined,
|
||||
previousStyle: style
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
width: style.replace(/\D/g, ''),
|
||||
previousStyle: style
|
||||
};
|
||||
}
|
||||
}]);
|
||||
|
||||
@ -630,113 +739,20 @@ var italic = {
|
||||
isActive: isActive,
|
||||
shortcutType: "primary",
|
||||
shortcutCharacter: "i"
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], {
|
||||
inputType: "formatItalic",
|
||||
onInput: onToggle
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
var external_this_wp_url_ = __webpack_require__(24);
|
||||
var external_this_wp_url_ = __webpack_require__(22);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
||||
var classnames = __webpack_require__(17);
|
||||
var classnames = __webpack_require__(16);
|
||||
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","keycodes"]}
|
||||
var external_this_wp_keycodes_ = __webpack_require__(16);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","dom"]}
|
||||
var external_this_wp_dom_ = __webpack_require__(22);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/positioned-at-selection.js
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Returns a style object for applying as `position: absolute` for an element
|
||||
* relative to the bottom-center of the current selection. Includes `top` and
|
||||
* `left` style properties.
|
||||
*
|
||||
* @return {Object} Style object.
|
||||
*/
|
||||
|
||||
function getCurrentCaretPositionStyle() {
|
||||
var selection = window.getSelection(); // Unlikely, but in the case there is no selection, return empty styles so
|
||||
// as to avoid a thrown error by `Selection#getRangeAt` on invalid index.
|
||||
|
||||
if (selection.rangeCount === 0) {
|
||||
return {};
|
||||
} // Get position relative viewport.
|
||||
|
||||
|
||||
var rect = Object(external_this_wp_dom_["getRectangleFromRange"])(selection.getRangeAt(0));
|
||||
var top = rect.top + rect.height;
|
||||
var left = rect.left + rect.width / 2; // Offset by positioned parent, if one exists.
|
||||
|
||||
var offsetParent = Object(external_this_wp_dom_["getOffsetParent"])(selection.anchorNode);
|
||||
|
||||
if (offsetParent) {
|
||||
var parentRect = offsetParent.getBoundingClientRect();
|
||||
top -= parentRect.top;
|
||||
left -= parentRect.left;
|
||||
}
|
||||
|
||||
return {
|
||||
top: top,
|
||||
left: left
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Component which renders itself positioned under the current caret selection.
|
||||
* The position is calculated at the time of the component being mounted, so it
|
||||
* should only be mounted after the desired selection has been made.
|
||||
*
|
||||
* @type {WPComponent}
|
||||
*/
|
||||
|
||||
|
||||
var positioned_at_selection_PositionedAtSelection =
|
||||
/*#__PURE__*/
|
||||
function (_Component) {
|
||||
Object(inherits["a" /* default */])(PositionedAtSelection, _Component);
|
||||
|
||||
function PositionedAtSelection() {
|
||||
var _this;
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, PositionedAtSelection);
|
||||
|
||||
_this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PositionedAtSelection).apply(this, arguments));
|
||||
_this.state = {
|
||||
style: getCurrentCaretPositionStyle()
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(PositionedAtSelection, [{
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var children = this.props.children;
|
||||
var style = this.state.style;
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "editor-format-toolbar__selection-position",
|
||||
style: style
|
||||
}, children);
|
||||
}
|
||||
}]);
|
||||
|
||||
return PositionedAtSelection;
|
||||
}(external_this_wp_element_["Component"]);
|
||||
|
||||
/* harmony default export */ var positioned_at_selection = (positioned_at_selection_PositionedAtSelection);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
@ -750,6 +766,7 @@ var external_lodash_ = __webpack_require__(2);
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Check for issues with the provided href.
|
||||
*
|
||||
@ -815,6 +832,37 @@ function isValidHref(href) {
|
||||
|
||||
return true;
|
||||
}
|
||||
/**
|
||||
* Generates the format object that will be applied to the link text.
|
||||
*
|
||||
* @param {string} url The href of the link.
|
||||
* @param {boolean} opensInNewWindow Whether this link will open in a new window.
|
||||
* @param {Object} text The text that is being hyperlinked.
|
||||
*
|
||||
* @return {Object} The final format object.
|
||||
*/
|
||||
|
||||
function createLinkFormat(_ref) {
|
||||
var url = _ref.url,
|
||||
opensInNewWindow = _ref.opensInNewWindow,
|
||||
text = _ref.text;
|
||||
var format = {
|
||||
type: 'core/link',
|
||||
attributes: {
|
||||
url: url
|
||||
}
|
||||
};
|
||||
|
||||
if (opensInNewWindow) {
|
||||
// translators: accessibility label for external links, where the argument is the link text
|
||||
var label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s (opens in a new tab)'), text);
|
||||
format.attributes.target = '_blank';
|
||||
format.attributes.rel = 'noreferrer noopener';
|
||||
format.attributes['aria-label'] = label;
|
||||
}
|
||||
|
||||
return format;
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js
|
||||
|
||||
@ -846,59 +894,26 @@ function isValidHref(href) {
|
||||
|
||||
|
||||
|
||||
|
||||
var stopKeyPropagation = function stopKeyPropagation(event) {
|
||||
var inline_stopKeyPropagation = function stopKeyPropagation(event) {
|
||||
return event.stopPropagation();
|
||||
};
|
||||
/**
|
||||
* Generates the format object that will be applied to the link text.
|
||||
*
|
||||
* @param {string} url The href of the link.
|
||||
* @param {boolean} opensInNewWindow Whether this link will open in a new window.
|
||||
* @param {Object} text The text that is being hyperlinked.
|
||||
*
|
||||
* @return {Object} The final format object.
|
||||
*/
|
||||
|
||||
|
||||
function createLinkFormat(_ref) {
|
||||
var url = _ref.url,
|
||||
opensInNewWindow = _ref.opensInNewWindow,
|
||||
text = _ref.text;
|
||||
var format = {
|
||||
type: 'core/link',
|
||||
attributes: {
|
||||
url: url
|
||||
}
|
||||
};
|
||||
|
||||
if (opensInNewWindow) {
|
||||
// translators: accessibility label for external links, where the argument is the link text
|
||||
var label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s (opens in a new tab)'), text);
|
||||
format.attributes.target = '_blank';
|
||||
format.attributes.rel = 'noreferrer noopener';
|
||||
format.attributes['aria-label'] = label;
|
||||
}
|
||||
|
||||
return format;
|
||||
}
|
||||
|
||||
function isShowingInput(props, state) {
|
||||
return props.addingLink || state.editLink;
|
||||
}
|
||||
|
||||
var inline_LinkEditor = function LinkEditor(_ref2) {
|
||||
var value = _ref2.value,
|
||||
onChangeInputValue = _ref2.onChangeInputValue,
|
||||
onKeyDown = _ref2.onKeyDown,
|
||||
submitLink = _ref2.submitLink,
|
||||
autocompleteRef = _ref2.autocompleteRef;
|
||||
var inline_LinkEditor = function LinkEditor(_ref) {
|
||||
var value = _ref.value,
|
||||
onChangeInputValue = _ref.onChangeInputValue,
|
||||
onKeyDown = _ref.onKeyDown,
|
||||
submitLink = _ref.submitLink,
|
||||
autocompleteRef = _ref.autocompleteRef;
|
||||
return (// Disable reason: KeyPress must be suppressed so the block doesn't hide the toolbar
|
||||
|
||||
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
||||
Object(external_this_wp_element_["createElement"])("form", {
|
||||
className: "editor-format-toolbar__link-container-content",
|
||||
onKeyPress: stopKeyPropagation,
|
||||
onKeyPress: inline_stopKeyPropagation,
|
||||
onKeyDown: onKeyDown,
|
||||
onSubmit: submitLink
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["URLInput"], {
|
||||
@ -915,8 +930,8 @@ var inline_LinkEditor = function LinkEditor(_ref2) {
|
||||
);
|
||||
};
|
||||
|
||||
var inline_LinkViewerUrl = function LinkViewerUrl(_ref3) {
|
||||
var url = _ref3.url;
|
||||
var inline_LinkViewerUrl = function LinkViewerUrl(_ref2) {
|
||||
var url = _ref2.url;
|
||||
var prependedURL = Object(external_this_wp_url_["prependHTTP"])(url);
|
||||
var linkClassName = classnames_default()('editor-format-toolbar__link-container-value', {
|
||||
'has-invalid-link': !isValidHref(prependedURL)
|
||||
@ -934,15 +949,15 @@ var inline_LinkViewerUrl = function LinkViewerUrl(_ref3) {
|
||||
}, Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(url)));
|
||||
};
|
||||
|
||||
var inline_LinkViewer = function LinkViewer(_ref4) {
|
||||
var url = _ref4.url,
|
||||
editLink = _ref4.editLink;
|
||||
var inline_LinkViewer = function LinkViewer(_ref3) {
|
||||
var url = _ref3.url,
|
||||
editLink = _ref3.editLink;
|
||||
return (// Disable reason: KeyPress must be suppressed so the block doesn't hide the toolbar
|
||||
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "editor-format-toolbar__link-container-content",
|
||||
onKeyPress: stopKeyPropagation
|
||||
onKeyPress: inline_stopKeyPropagation
|
||||
}, Object(external_this_wp_element_["createElement"])(inline_LinkViewerUrl, {
|
||||
url: url
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
|
||||
@ -1068,7 +1083,7 @@ function (_Component) {
|
||||
key: "onClickOutside",
|
||||
value: function onClickOutside(event) {
|
||||
// The autocomplete suggestions list renders in a separate popover (in a portal),
|
||||
// so onClickOutside fails to detect that a click on a suggestion occured in the
|
||||
// so onClickOutside fails to detect that a click on a suggestion occurred in the
|
||||
// LinkContainer. Detect clicks on autocomplete suggestions using a ref here, and
|
||||
// return to avoid the popover being closed.
|
||||
var autocompleteElement = this.autocompleteRef.current;
|
||||
@ -1106,7 +1121,7 @@ function (_Component) {
|
||||
inputValue = _this$state2.inputValue,
|
||||
opensInNewWindow = _this$state2.opensInNewWindow;
|
||||
var showInput = isShowingInput(this.props, this.state);
|
||||
return Object(external_this_wp_element_["createElement"])(positioned_at_selection, {
|
||||
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PositionedAtSelection"], {
|
||||
key: "".concat(value.start).concat(value.end)
|
||||
/* Used to force rerender on selection change */
|
||||
|
||||
@ -1352,9 +1367,50 @@ var strikethrough = {
|
||||
}
|
||||
};
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var underline_name = 'core/underline';
|
||||
var underline = {
|
||||
name: underline_name,
|
||||
title: Object(external_this_wp_i18n_["__"])('Underline'),
|
||||
tagName: 'span',
|
||||
className: null,
|
||||
attributes: {
|
||||
style: 'style'
|
||||
},
|
||||
edit: function edit(_ref) {
|
||||
var value = _ref.value,
|
||||
onChange = _ref.onChange;
|
||||
|
||||
var onToggle = function onToggle() {
|
||||
onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
|
||||
type: underline_name,
|
||||
attributes: {
|
||||
style: 'text-decoration: 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"], {
|
||||
type: "primary",
|
||||
character: "u",
|
||||
onUse: onToggle
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnstableRichTextInputEvent"], {
|
||||
inputType: "formatUnderline",
|
||||
onInput: onToggle
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1364,12 +1420,22 @@ var strikethrough = {
|
||||
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ var default_formats = ([bold, code, image_image, italic, link_link, strikethrough, underline]);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
[bold, code, image_image, italic, link_link, strikethrough].forEach(function (_ref) {
|
||||
|
||||
default_formats.forEach(function (_ref) {
|
||||
var name = _ref.name,
|
||||
settings = Object(objectWithoutProperties["a" /* default */])(_ref, ["name"]);
|
||||
|
||||
@ -1393,6 +1459,34 @@ var strikethrough = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (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;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 9:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
4
wp-includes/js/dist/format-library.min.js
vendored
4
wp-includes/js/dist/format-library.min.js
vendored
File diff suppressed because one or more lines are too long
19
wp-includes/js/dist/hooks.js
vendored
19
wp-includes/js/dist/hooks.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 312);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 315);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 312:
|
||||
/***/ 315:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -155,6 +155,9 @@ function validateHookName(hookName) {
|
||||
/* harmony default export */ var build_module_validateHookName = (validateHookName);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createAddHook.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@ -250,6 +253,9 @@ function createAddHook(hooks) {
|
||||
/* harmony default export */ var build_module_createAddHook = (createAddHook);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRemoveHook.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@ -486,6 +492,9 @@ function createDoingHook(hooks) {
|
||||
/* harmony default export */ var build_module_createDoingHook = (createDoingHook);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDidHook.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Returns a function which, when invoked, will return the number of times a
|
||||
@ -516,6 +525,9 @@ function createDidHook(hooks) {
|
||||
/* harmony default export */ var build_module_createDidHook = (createDidHook);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHooks.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@ -578,6 +590,9 @@ function createHooks() {
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "actions", function() { return build_module_actions; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filters", function() { return build_module_filters; });
|
||||
/* concated harmony reexport createHooks */__webpack_require__.d(__webpack_exports__, "createHooks", function() { return build_module_createHooks; });
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
var _createHooks = build_module_createHooks(),
|
||||
|
2
wp-includes/js/dist/hooks.min.js
vendored
2
wp-includes/js/dist/hooks.min.js
vendored
@ -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=312)}({312: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=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}});
|
27
wp-includes/js/dist/i18n.js
vendored
27
wp-includes/js/dist/i18n.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 320);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 321);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 125:
|
||||
/***/ 126:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||
@ -348,7 +348,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 320:
|
||||
/***/ 321:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -564,19 +564,22 @@ var OPERATORS = {
|
||||
*/
|
||||
function evaluate_evaluate( postfix, variables ) {
|
||||
var stack = [],
|
||||
i, getOperatorResult, term, value;
|
||||
i, j, args, getOperatorResult, term, value;
|
||||
|
||||
for ( i = 0; i < postfix.length; i++ ) {
|
||||
term = postfix[ i ];
|
||||
|
||||
getOperatorResult = OPERATORS[ term ];
|
||||
if ( getOperatorResult ) {
|
||||
// Pop from stack by number of function arguments.
|
||||
j = getOperatorResult.length;
|
||||
args = Array( j );
|
||||
while ( j-- ) {
|
||||
args[ j ] = stack.pop();
|
||||
}
|
||||
|
||||
try {
|
||||
// Pop from stack by number of function arguments.
|
||||
value = getOperatorResult.apply(
|
||||
null,
|
||||
stack.splice( -1 * getOperatorResult.length )
|
||||
);
|
||||
value = getOperatorResult.apply( null, args );
|
||||
} catch ( earlyReturn ) {
|
||||
return earlyReturn;
|
||||
}
|
||||
@ -786,11 +789,11 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n )
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||
var memize = __webpack_require__(41);
|
||||
var memize = __webpack_require__(38);
|
||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/i18n/node_modules/sprintf-js/src/sprintf.js
|
||||
var sprintf = __webpack_require__(125);
|
||||
var sprintf = __webpack_require__(126);
|
||||
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js
|
||||
@ -977,7 +980,7 @@ function build_module_sprintf(format) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ 38:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = function memize( fn, options ) {
|
||||
|
2
wp-includes/js/dist/i18n.min.js
vendored
2
wp-includes/js/dist/i18n.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/is-shallow-equal.js
vendored
2
wp-includes/js/dist/is-shallow-equal.js
vendored
@ -123,6 +123,8 @@ function isShallowEqual( a, b ) {
|
||||
}
|
||||
|
||||
module.exports = isShallowEqual;
|
||||
module.exports.isShallowEqualObjects = isShallowEqualObjects;
|
||||
module.exports.isShallowEqualArrays = isShallowEqualArrays;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
@ -1 +1 @@
|
||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=277)}({277:function(t,r,e){"use strict";var n=e(278),u=e(279),o=Array.isArray;t.exports=function(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(o(t)&&o(r))return u(t,r)}return t===r}},278:function(t,r,e){"use strict";var n=Object.keys;t.exports=function(t,r){var e,u,o,i;if(t===r)return!0;if(e=n(t),u=n(r),e.length!==u.length)return!1;for(o=0;o<e.length;){if(t[i=e[o]]!==r[i])return!1;o++}return!0}},279:function(t,r,e){"use strict";t.exports=function(t,r){var e;if(t===r)return!0;if(t.length!==r.length)return!1;for(e=0;e<t.length;e++)if(t[e]!==r[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=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}}});
|
21
wp-includes/js/dist/keycodes.js
vendored
21
wp-includes/js/dist/keycodes.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 326);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 328);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -116,7 +116,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -156,7 +156,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 326:
|
||||
/***/ 328:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -166,7 +166,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
var defineProperty = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
@ -256,8 +256,7 @@ var DOWN = 40;
|
||||
var DELETE = 46;
|
||||
var F10 = 121;
|
||||
var ALT = 'alt';
|
||||
var CTRL = 'ctrl'; // Understood in both Mousetrap and TinyMCE.
|
||||
|
||||
var CTRL = 'ctrl';
|
||||
var COMMAND = 'meta';
|
||||
var SHIFT = 'shift';
|
||||
var modifiers = {
|
||||
@ -304,7 +303,7 @@ var rawShortcut = Object(external_lodash_["mapValues"])(modifiers, function (mod
|
||||
return function (character) {
|
||||
var _isApple = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : isAppleOS;
|
||||
|
||||
return Object(toConsumableArray["a" /* default */])(modifier(_isApple)).concat([character.toLowerCase()]).join('+');
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(modifier(_isApple)), [character.toLowerCase()]).join('+');
|
||||
};
|
||||
});
|
||||
/**
|
||||
@ -327,13 +326,13 @@ var displayShortcutList = Object(external_lodash_["mapValues"])(modifiers, funct
|
||||
var replacementKey = Object(external_lodash_["get"])(replacementKeyMap, key, key); // If on the Mac, adhere to platform convention and don't show plus between keys.
|
||||
|
||||
if (isApple) {
|
||||
return Object(toConsumableArray["a" /* default */])(accumulator).concat([replacementKey]);
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(accumulator), [replacementKey]);
|
||||
}
|
||||
|
||||
return Object(toConsumableArray["a" /* default */])(accumulator).concat([replacementKey, '+']);
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(accumulator), [replacementKey, '+']);
|
||||
}, []);
|
||||
var capitalizedCharacter = Object(external_lodash_["capitalize"])(character);
|
||||
return Object(toConsumableArray["a" /* default */])(modifierKeys).concat([capitalizedCharacter]);
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(modifierKeys), [capitalizedCharacter]);
|
||||
};
|
||||
});
|
||||
/**
|
||||
@ -364,7 +363,7 @@ var shortcutAriaLabel = Object(external_lodash_["mapValues"])(modifiers, functio
|
||||
var isApple = _isApple();
|
||||
|
||||
var replacementKeyMap = (_replacementKeyMap2 = {}, Object(defineProperty["a" /* default */])(_replacementKeyMap2, SHIFT, 'Shift'), Object(defineProperty["a" /* default */])(_replacementKeyMap2, COMMAND, isApple ? 'Command' : 'Control'), Object(defineProperty["a" /* default */])(_replacementKeyMap2, CTRL, 'Control'), Object(defineProperty["a" /* default */])(_replacementKeyMap2, ALT, isApple ? 'Option' : 'Alt'), Object(defineProperty["a" /* default */])(_replacementKeyMap2, ',', Object(external_this_wp_i18n_["__"])('Comma')), Object(defineProperty["a" /* default */])(_replacementKeyMap2, '.', Object(external_this_wp_i18n_["__"])('Period')), Object(defineProperty["a" /* default */])(_replacementKeyMap2, '`', Object(external_this_wp_i18n_["__"])('Backtick')), _replacementKeyMap2);
|
||||
return Object(toConsumableArray["a" /* default */])(modifier(_isApple)).concat([character]).map(function (key) {
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(modifier(_isApple)), [character]).map(function (key) {
|
||||
return Object(external_lodash_["capitalize"])(Object(external_lodash_["get"])(replacementKeyMap, key, key));
|
||||
}).join(isApple ? ' ' : ' + ');
|
||||
};
|
||||
|
2
wp-includes/js/dist/keycodes.min.js
vendored
2
wp-includes/js/dist/keycodes.min.js
vendored
@ -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=326)}({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})},19: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}()},326:function(t,n,r){"use strict";r.r(n);var e=r(15),u=r(19),c=r(2),o=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(c.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(c.mapValues)(A,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return Object(u.a)(t(r)).concat([n.toLowerCase()]).join("+")}}),C=Object(c.mapValues)(A,function(t){return function(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=o(),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(o).reduce(function(t,n){var r=Object(c.get)(f,n,n);return a?Object(u.a)(t).concat([r]):Object(u.a)(t).concat([r,"+"])},[]),d=Object(c.capitalize)(n);return Object(u.a)(l).concat([d])}}),P=Object(c.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(c.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(o.__)("Comma")),Object(e.a)(r,".",Object(o.__)("Period")),Object(e.a)(r,"`",Object(o.__)("Backtick")),r);return Object(u.a)(t(a)).concat([n]).map(function(t){return Object(c.capitalize)(Object(c.get)(l,t,t))}).join(f?" ":" + ")}}),_=Object(c.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(c.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=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})}});
|
42
wp-includes/js/dist/list-reusable-blocks.js
vendored
42
wp-includes/js/dist/list-reusable-blocks.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 318);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 323);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -114,12 +114,12 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
||||
|
||||
|
||||
@ -133,7 +133,7 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -147,7 +147,7 @@ function _getPrototypeOf(o) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -188,7 +188,7 @@ function _inherits(subClass, superClass) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -226,14 +226,14 @@ function _assertThisInitialized(self) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ 31:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 318:
|
||||
/***/ 323:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -246,13 +246,13 @@ var external_this_wp_element_ = __webpack_require__(0);
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(38);
|
||||
var asyncToGenerator = __webpack_require__(41);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(30);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(31);
|
||||
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
|
||||
@ -381,13 +381,13 @@ var classCallCheck = __webpack_require__(10);
|
||||
var createClass = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
var possibleConstructorReturn = __webpack_require__(12);
|
||||
var possibleConstructorReturn = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(14);
|
||||
var inherits = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(3);
|
||||
@ -734,7 +734,14 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
/***/ 4:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -777,13 +784,6 @@ function _asyncToGenerator(fn) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 4:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
24
wp-includes/js/dist/notices.js
vendored
24
wp-includes/js/dist/notices.js
vendored
@ -87,7 +87,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["notices"] =
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 122:
|
||||
/***/ 123:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
@ -100,7 +100,7 @@ module.exports = _interopRequireDefault;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 175:
|
||||
/***/ 176:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _defineProperty(obj, key, value) {
|
||||
@ -122,7 +122,7 @@ module.exports = _defineProperty;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 176:
|
||||
/***/ 177:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -180,7 +180,7 @@ __webpack_require__(281);
|
||||
|
||||
var _interopRequireWildcard = __webpack_require__(282);
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(122);
|
||||
var _interopRequireDefault = __webpack_require__(123);
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
@ -254,7 +254,7 @@ module.exports = _interopRequireWildcard;
|
||||
"use strict";
|
||||
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(122);
|
||||
var _interopRequireDefault = __webpack_require__(123);
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
@ -291,9 +291,9 @@ var notices = (0, _onSubKey.default)('context')(function () {
|
||||
switch (action.type) {
|
||||
case 'CREATE_NOTICE':
|
||||
// Avoid duplicates on ID.
|
||||
return (0, _toConsumableArray2.default)((0, _lodash.reject)(state, {
|
||||
return [].concat((0, _toConsumableArray2.default)((0, _lodash.reject)(state, {
|
||||
id: action.notice.id
|
||||
})).concat([action.notice]);
|
||||
})), [action.notice]);
|
||||
|
||||
case 'REMOVE_NOTICE':
|
||||
return (0, _lodash.reject)(state, {
|
||||
@ -371,14 +371,14 @@ module.exports = _nonIterableSpread;
|
||||
"use strict";
|
||||
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(122);
|
||||
var _interopRequireDefault = __webpack_require__(123);
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = exports.onSubKey = void 0;
|
||||
|
||||
var _defineProperty2 = _interopRequireDefault(__webpack_require__(175));
|
||||
var _defineProperty2 = _interopRequireDefault(__webpack_require__(176));
|
||||
|
||||
var _objectSpread3 = _interopRequireDefault(__webpack_require__(289));
|
||||
|
||||
@ -426,7 +426,7 @@ exports.default = _default;
|
||||
/***/ 289:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var defineProperty = __webpack_require__(175);
|
||||
var defineProperty = __webpack_require__(176);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
@ -469,7 +469,7 @@ exports.removeNotice = removeNotice;
|
||||
|
||||
var _lodash = __webpack_require__(2);
|
||||
|
||||
var _constants = __webpack_require__(176);
|
||||
var _constants = __webpack_require__(177);
|
||||
|
||||
var _marked =
|
||||
/*#__PURE__*/
|
||||
@ -659,7 +659,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.getNotices = getNotices;
|
||||
|
||||
var _constants = __webpack_require__(176);
|
||||
var _constants = __webpack_require__(177);
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
2
wp-includes/js/dist/notices.min.js
vendored
2
wp-includes/js/dist/notices.min.js
vendored
File diff suppressed because one or more lines are too long
22
wp-includes/js/dist/nux.js
vendored
22
wp-includes/js/dist/nux.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 321);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 322);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -123,7 +123,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -169,7 +169,7 @@ function _toConsumableArray(arr) {
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(35);
|
||||
var arrayWithHoles = __webpack_require__(34);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
@ -198,7 +198,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(36);
|
||||
var nonIterableRest = __webpack_require__(35);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
@ -211,7 +211,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -493,7 +493,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 321:
|
||||
/***/ 322:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -520,7 +520,7 @@ var defineProperty = __webpack_require__(15);
|
||||
var objectSpread = __webpack_require__(8);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(19);
|
||||
var toConsumableArray = __webpack_require__(18);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
|
||||
|
||||
@ -547,7 +547,7 @@ function guides() {
|
||||
|
||||
switch (action.type) {
|
||||
case 'TRIGGER_GUIDE':
|
||||
return Object(toConsumableArray["a" /* default */])(state).concat([action.tipIds]);
|
||||
return [].concat(Object(toConsumableArray["a" /* default */])(state), [action.tipIds]);
|
||||
}
|
||||
|
||||
return state;
|
||||
@ -666,7 +666,7 @@ function enableTips() {
|
||||
var slicedToArray = __webpack_require__(25);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(31);
|
||||
var rememo = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
@ -919,7 +919,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 34:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -930,7 +930,7 @@ function _arrayWithHoles(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/nux.min.js
vendored
2
wp-includes/js/dist/nux.min.js
vendored
File diff suppressed because one or more lines are too long
26
wp-includes/js/dist/plugins.js
vendored
26
wp-includes/js/dist/plugins.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 322);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 324);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,12 +107,12 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
||||
|
||||
|
||||
@ -126,7 +126,7 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -140,7 +140,7 @@ function _getPrototypeOf(o) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -196,7 +196,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 18:
|
||||
/***/ 19:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -235,7 +235,7 @@ function _extends() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -273,7 +273,7 @@ function _assertThisInitialized(self) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 322:
|
||||
/***/ 324:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -286,13 +286,13 @@ var classCallCheck = __webpack_require__(10);
|
||||
var createClass = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
var possibleConstructorReturn = __webpack_require__(12);
|
||||
var possibleConstructorReturn = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(14);
|
||||
var inherits = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(3);
|
||||
@ -307,7 +307,7 @@ var external_lodash_ = __webpack_require__(2);
|
||||
var external_this_wp_hooks_ = __webpack_require__(23);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||
var esm_extends = __webpack_require__(18);
|
||||
var esm_extends = __webpack_require__(19);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","compose"]}
|
||||
var external_this_wp_compose_ = __webpack_require__(7);
|
||||
@ -355,7 +355,7 @@ var plugin_context_withPluginContext = function withPluginContext(mapContextToPr
|
||||
var objectSpread = __webpack_require__(8);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
var esm_typeof = __webpack_require__(28);
|
||||
var esm_typeof = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
|
||||
|
||||
|
2
wp-includes/js/dist/plugins.min.js
vendored
2
wp-includes/js/dist/plugins.min.js
vendored
File diff suppressed because one or more lines are too long
150
wp-includes/js/dist/priority-queue.js
vendored
Normal file
150
wp-includes/js/dist/priority-queue.js
vendored
Normal file
@ -0,0 +1,150 @@
|
||||
this["wp"] = this["wp"] || {}; this["wp"]["priorityQueue"] =
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 293);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 293:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createQueue", function() { return createQueue; });
|
||||
var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame;
|
||||
var createQueue = function createQueue() {
|
||||
var waitingList = [];
|
||||
var elementsMap = new WeakMap();
|
||||
var isRunning = false;
|
||||
|
||||
var runWaitingList = function runWaitingList(deadline) {
|
||||
do {
|
||||
if (waitingList.length === 0) {
|
||||
isRunning = false;
|
||||
return;
|
||||
}
|
||||
|
||||
var nextElement = waitingList.shift();
|
||||
elementsMap.get(nextElement)();
|
||||
elementsMap.delete(nextElement);
|
||||
} while (deadline && deadline.timeRemaining && deadline.timeRemaining() > 0);
|
||||
|
||||
requestIdleCallback(runWaitingList);
|
||||
};
|
||||
|
||||
var add = function add(element, item) {
|
||||
if (!elementsMap.has(element)) {
|
||||
waitingList.push(element);
|
||||
}
|
||||
|
||||
elementsMap.set(element, item);
|
||||
|
||||
if (!isRunning) {
|
||||
isRunning = true;
|
||||
requestIdleCallback(runWaitingList);
|
||||
}
|
||||
};
|
||||
|
||||
var flush = function flush(element) {
|
||||
if (!elementsMap.has(element)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
elementsMap.delete(element);
|
||||
var index = waitingList.indexOf(element);
|
||||
waitingList.splice(index, 1);
|
||||
return true;
|
||||
};
|
||||
|
||||
return {
|
||||
add: add,
|
||||
flush: flush
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
1
wp-includes/js/dist/priority-queue.min.js
vendored
Normal file
1
wp-includes/js/dist/priority-queue.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
this.wp=this.wp||{},this.wp.priorityQueue=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=293)}({293:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",function(){return u});var r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,u=function(){var e=[],t=new WeakMap,n=!1,u=function u(i){do{if(0===e.length)return void(n=!1);var o=e.shift();t.get(o)(),t.delete(o)}while(i&&i.timeRemaining&&i.timeRemaining()>0);r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}});
|
105
wp-includes/js/dist/redux-routine.js
vendored
105
wp-includes/js/dist/redux-routine.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["reduxRoutine"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 323);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 327);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 177:
|
||||
/***/ 178:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -98,7 +98,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined;
|
||||
|
||||
var _keys = __webpack_require__(178);
|
||||
var _keys = __webpack_require__(179);
|
||||
|
||||
var _keys2 = _interopRequireDefault(_keys);
|
||||
|
||||
@ -228,7 +228,7 @@ var createChannel = exports.createChannel = function createChannel(callback) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 178:
|
||||
/***/ 179:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -263,7 +263,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.wrapControls = exports.asyncControls = exports.create = undefined;
|
||||
|
||||
var _helpers = __webpack_require__(177);
|
||||
var _helpers = __webpack_require__(178);
|
||||
|
||||
Object.keys(_helpers).forEach(function (key) {
|
||||
if (key === "default") return;
|
||||
@ -275,15 +275,15 @@ Object.keys(_helpers).forEach(function (key) {
|
||||
});
|
||||
});
|
||||
|
||||
var _create = __webpack_require__(293);
|
||||
var _create = __webpack_require__(294);
|
||||
|
||||
var _create2 = _interopRequireDefault(_create);
|
||||
|
||||
var _async = __webpack_require__(295);
|
||||
var _async = __webpack_require__(296);
|
||||
|
||||
var _async2 = _interopRequireDefault(_async);
|
||||
|
||||
var _wrap = __webpack_require__(297);
|
||||
var _wrap = __webpack_require__(298);
|
||||
|
||||
var _wrap2 = _interopRequireDefault(_wrap);
|
||||
|
||||
@ -302,30 +302,7 @@ exports.wrapControls = _wrap2.default;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
||||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
||||
|
||||
function _typeof(obj) {
|
||||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
||||
_typeof = function _typeof(obj) {
|
||||
return _typeof2(obj);
|
||||
};
|
||||
} else {
|
||||
_typeof = function _typeof(obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
||||
};
|
||||
}
|
||||
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 293:
|
||||
/***/ 294:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -335,11 +312,11 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
|
||||
var _builtin = __webpack_require__(294);
|
||||
var _builtin = __webpack_require__(295);
|
||||
|
||||
var _builtin2 = _interopRequireDefault(_builtin);
|
||||
|
||||
var _is = __webpack_require__(95);
|
||||
var _is = __webpack_require__(97);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
@ -411,7 +388,7 @@ exports.default = create;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 294:
|
||||
/***/ 295:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -422,7 +399,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined;
|
||||
|
||||
var _is = __webpack_require__(95);
|
||||
var _is = __webpack_require__(97);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
@ -512,7 +489,7 @@ exports.default = [error, iterator, array, object, any];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 295:
|
||||
/***/ 296:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -523,13 +500,13 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.race = exports.join = exports.fork = exports.promise = undefined;
|
||||
|
||||
var _is = __webpack_require__(95);
|
||||
var _is = __webpack_require__(97);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
var _helpers = __webpack_require__(177);
|
||||
var _helpers = __webpack_require__(178);
|
||||
|
||||
var _dispatcher = __webpack_require__(296);
|
||||
var _dispatcher = __webpack_require__(297);
|
||||
|
||||
var _dispatcher2 = _interopRequireDefault(_dispatcher);
|
||||
|
||||
@ -634,7 +611,7 @@ exports.default = [promise, fork, join, race, subscribe];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 296:
|
||||
/***/ 297:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -667,7 +644,7 @@ exports.default = createDispatcher;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 297:
|
||||
/***/ 298:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -678,7 +655,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.cps = exports.call = undefined;
|
||||
|
||||
var _is = __webpack_require__(95);
|
||||
var _is = __webpack_require__(97);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
@ -710,7 +687,7 @@ exports.default = [call, cps];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 323:
|
||||
/***/ 327:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -730,9 +707,6 @@ function isGenerator(object) {
|
||||
return !!object && object[Symbol.toStringTag] === 'Generator';
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
var esm_typeof = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rungen/dist/index.js
|
||||
var dist = __webpack_require__(194);
|
||||
|
||||
@ -740,28 +714,12 @@ var dist = __webpack_require__(194);
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
||||
var is_promise = __webpack_require__(86);
|
||||
var is_promise = __webpack_require__(89);
|
||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/cast-error.js
|
||||
/**
|
||||
* Casts value as an error if it's not one.
|
||||
*
|
||||
* @param {*} error The value to cast.
|
||||
*
|
||||
* @return {Error} The cast error.
|
||||
*/
|
||||
function castError(error) {
|
||||
if (!(error instanceof Error)) {
|
||||
error = new Error(error);
|
||||
}
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-action.js
|
||||
/**
|
||||
* External imports
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -790,8 +748,6 @@ function isActionOfType(object, expectedType) {
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/runtime.js
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -803,7 +759,6 @@ function isActionOfType(object, expectedType) {
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create a co-routine runtime.
|
||||
*
|
||||
@ -826,11 +781,9 @@ function createRuntime() {
|
||||
|
||||
if (is_promise_default()(routine)) {
|
||||
// Async control routine awaits resolution.
|
||||
routine.then(yieldNext, function (error) {
|
||||
return yieldError(castError(error));
|
||||
});
|
||||
routine.then(yieldNext, yieldError);
|
||||
} else {
|
||||
next(routine);
|
||||
yieldNext(routine);
|
||||
}
|
||||
|
||||
return true;
|
||||
@ -852,7 +805,7 @@ function createRuntime() {
|
||||
return function (action) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
return rungenRuntime(action, function (result) {
|
||||
if (Object(esm_typeof["a" /* default */])(result) === 'object' && Object(external_lodash_["isString"])(result.type)) {
|
||||
if (isAction(result)) {
|
||||
dispatch(result);
|
||||
}
|
||||
|
||||
@ -901,7 +854,7 @@ function createMiddleware() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 86:
|
||||
/***/ 89:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = isPromise;
|
||||
@ -913,7 +866,7 @@ function isPromise(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 95:
|
||||
/***/ 97:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -925,7 +878,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
|
||||
|
||||
var _keys = __webpack_require__(178);
|
||||
var _keys = __webpack_require__(179);
|
||||
|
||||
var _keys2 = _interopRequireDefault(_keys);
|
||||
|
||||
|
2
wp-includes/js/dist/redux-routine.min.js
vendored
2
wp-includes/js/dist/redux-routine.min.js
vendored
File diff suppressed because one or more lines are too long
1050
wp-includes/js/dist/rich-text.js
vendored
1050
wp-includes/js/dist/rich-text.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/rich-text.min.js
vendored
2
wp-includes/js/dist/rich-text.min.js
vendored
File diff suppressed because one or more lines are too long
10
wp-includes/js/dist/shortcode.js
vendored
10
wp-includes/js/dist/shortcode.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["shortcode"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 298);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 299);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["shortcode"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 298:
|
||||
/***/ 299:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -107,10 +107,10 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromMatch", function() { return fromMatch; });
|
||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
||||
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38);
|
||||
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/**
|
||||
* Internal dependencies
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
|
||||
@ -464,7 +464,7 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ 38:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = function memize( fn, options ) {
|
||||
|
2
wp-includes/js/dist/shortcode.min.js
vendored
2
wp-includes/js/dist/shortcode.min.js
vendored
@ -1 +1 @@
|
||||
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=298)}({2:function(t,e){!function(){t.exports=this.lodash}()},298:function(t,e,n){"use strict";n.r(e),n.d(e,"next",function(){return u}),n.d(e,"replace",function(){return o}),n.d(e,"string",function(){return c}),n.d(e,"regexp",function(){return s}),n.d(e,"attrs",function(){return a}),n.d(e,"fromMatch",function(){return f});var r=n(2),i=n(41);function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){var r=arguments;return e.replace(s(t),function(t,e,i,u,o,c,s,a){if("["===e&&"]"===a)return t;var l=n(f(r));return l?e+l+a:t})}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()(function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}});function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)(function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,function(t,n){e.set(n,t)}))},{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,function(e,n){t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},41:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o<s;o++)if(c.args[o]!==arguments[o]){c=c.next;continue t}return c!==r&&(c===i&&(i=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(e=new Array(s),o=0;o<s;o++)e[o]=arguments[o];return c={args:e,val:t.apply(null,e)},r?(r.prev=c,c.next=r):i=c,u===n?(i=i.prev).next=null:u++,r=c,c.val}return e&&e.maxSize&&(n=e.maxSize),o.clear=function(){r=null,i=null,u=0},o}}});
|
||||
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=299)}({2:function(t,e){!function(){t.exports=this.lodash}()},299:function(t,e,n){"use strict";n.r(e),n.d(e,"next",function(){return u}),n.d(e,"replace",function(){return o}),n.d(e,"string",function(){return c}),n.d(e,"regexp",function(){return s}),n.d(e,"attrs",function(){return a}),n.d(e,"fromMatch",function(){return f});var r=n(2),i=n(38);function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){var r=arguments;return e.replace(s(t),function(t,e,i,u,o,c,s,a){if("["===e&&"]"===a)return t;var l=n(f(r));return l?e+l+a:t})}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()(function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}});function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)(function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,function(t,n){e.set(n,t)}))},{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,function(e,n){t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},38:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o<s;o++)if(c.args[o]!==arguments[o]){c=c.next;continue t}return c!==r&&(c===i&&(i=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(e=new Array(s),o=0;o<s;o++)e[o]=arguments[o];return c={args:e,val:t.apply(null,e)},r?(r.prev=c,c.next=r):i=c,u===n?(i=i.prev).next=null:u++,r=c,c.val}return e&&e.maxSize&&(n=e.maxSize),o.clear=function(){r=null,i=null,u=0},o}}});
|
4
wp-includes/js/dist/token-list.js
vendored
4
wp-includes/js/dist/token-list.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["tokenList"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 299);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 300);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,7 +107,7 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 299:
|
||||
/***/ 300:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/token-list.min.js
vendored
2
wp-includes/js/dist/token-list.min.js
vendored
@ -1 +1 @@
|
||||
this.wp=this.wp||{},this.wp.tokenList=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=299)}({10:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},2:function(e,t){!function(){e.exports=this.lodash}()},299:function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return o});var r=n(10),u=n(9),i=n(2),o=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,e),this.value=n,["entries","forEach","keys","values"].forEach(function(e){t[e]=function(){var t;return(t=this._valueAsArray)[e].apply(t,arguments)}.bind(t)})}return Object(u.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}},e,this)})},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(i.uniq)(Object(i.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}()},9:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){return u})}}).default;
|
||||
this.wp=this.wp||{},this.wp.tokenList=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=300)}({10:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},2:function(e,t){!function(){e.exports=this.lodash}()},300:function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return o});var r=n(10),u=n(9),i=n(2),o=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,e),this.value=n,["entries","forEach","keys","values"].forEach(function(e){t[e]=function(){var t;return(t=this._valueAsArray)[e].apply(t,arguments)}.bind(t)})}return Object(u.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}},e,this)})},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(i.uniq)(Object(i.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}()},9:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){return u})}}).default;
|
53
wp-includes/js/dist/url.js
vendored
53
wp-includes/js/dist/url.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["url"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 300);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 301);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 179:
|
||||
/***/ 180:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -323,7 +323,7 @@ module.exports = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 180:
|
||||
/***/ 181:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -349,7 +349,7 @@ module.exports = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 300:
|
||||
/***/ 301:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -372,7 +372,8 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "prependHTTP", function() { return prependHTTP; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "safeDecodeURI", function() { return safeDecodeURI; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterURLForDisplay", function() { return filterURLForDisplay; });
|
||||
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(76);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "safeDecodeURIComponent", function() { return safeDecodeURIComponent; });
|
||||
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78);
|
||||
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/**
|
||||
* External dependencies
|
||||
@ -557,6 +558,12 @@ function isValidFragment(fragment) {
|
||||
function addQueryArgs() {
|
||||
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
||||
var args = arguments.length > 1 ? arguments[1] : undefined;
|
||||
|
||||
// If no arguments are to be appended, return original URL.
|
||||
if (!args || !Object.keys(args).length) {
|
||||
return url;
|
||||
}
|
||||
|
||||
var baseUrl = url; // Determine whether URL already had query arguments.
|
||||
|
||||
var queryStringIndex = url.indexOf('?');
|
||||
@ -590,7 +597,7 @@ function getQueryArg(url, arg) {
|
||||
* @param {string} url URL
|
||||
* @param {string} arg Query arg name
|
||||
*
|
||||
* @return {boolean} Whether or not the URL contains the query aeg.
|
||||
* @return {boolean} Whether or not the URL contains the query arg.
|
||||
*/
|
||||
|
||||
function hasQueryArg(url, arg) {
|
||||
@ -668,18 +675,34 @@ function filterURLForDisplay(url) {
|
||||
|
||||
return filteredURL;
|
||||
}
|
||||
/**
|
||||
* Safely decodes a URI component with `decodeURIComponent`. Returns the URI component unmodified if
|
||||
* `decodeURIComponent` throws an error.
|
||||
*
|
||||
* @param {string} uriComponent URI component to decode.
|
||||
*
|
||||
* @return {string} Decoded URI component if possible.
|
||||
*/
|
||||
|
||||
function safeDecodeURIComponent(uriComponent) {
|
||||
try {
|
||||
return decodeURIComponent(uriComponent);
|
||||
} catch (uriComponentError) {
|
||||
return uriComponent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 301:
|
||||
/***/ 302:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var utils = __webpack_require__(179);
|
||||
var formats = __webpack_require__(180);
|
||||
var utils = __webpack_require__(180);
|
||||
var formats = __webpack_require__(181);
|
||||
|
||||
var arrayPrefixGenerators = {
|
||||
brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
|
||||
@ -922,13 +945,13 @@ module.exports = function (object, opts) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 302:
|
||||
/***/ 303:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var utils = __webpack_require__(179);
|
||||
var utils = __webpack_require__(180);
|
||||
|
||||
var has = Object.prototype.hasOwnProperty;
|
||||
|
||||
@ -1156,15 +1179,15 @@ module.exports = function (str, opts) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 76:
|
||||
/***/ 78:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var stringify = __webpack_require__(301);
|
||||
var parse = __webpack_require__(302);
|
||||
var formats = __webpack_require__(180);
|
||||
var stringify = __webpack_require__(302);
|
||||
var parse = __webpack_require__(303);
|
||||
var formats = __webpack_require__(181);
|
||||
|
||||
module.exports = {
|
||||
formats: formats,
|
||||
|
2
wp-includes/js/dist/url.min.js
vendored
2
wp-includes/js/dist/url.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/viewport.js
vendored
4
wp-includes/js/dist/viewport.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["viewport"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 317);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 319);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["viewport"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 317:
|
||||
/***/ 319:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user