Editor: update JavaScript packages
Also update default block categories Props youknowriad, gziolo, aduth. Fixes #50420, #50278. Built from https://develop.svn.wordpress.org/trunk@48177 git-svn-id: http://core.svn.wordpress.org/trunk@47946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cf25273277
commit
c0db9a2f3d
|
@ -2179,33 +2179,33 @@ function use_block_editor_for_post_type( $post_type ) {
|
||||||
function get_block_categories( $post ) {
|
function get_block_categories( $post ) {
|
||||||
$default_categories = array(
|
$default_categories = array(
|
||||||
array(
|
array(
|
||||||
'slug' => 'common',
|
'slug' => 'text',
|
||||||
'title' => __( 'Common Blocks' ),
|
'title' => _x( 'Text', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'slug' => 'formatting',
|
'slug' => 'media',
|
||||||
'title' => __( 'Formatting' ),
|
'title' => _x( 'Media', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'slug' => 'layout',
|
'slug' => 'design',
|
||||||
'title' => __( 'Layout Elements' ),
|
'title' => _x( 'Design', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'slug' => 'widgets',
|
'slug' => 'widgets',
|
||||||
'title' => __( 'Widgets' ),
|
'title' => _x( 'Widgets', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'slug' => 'embed',
|
'slug' => 'embed',
|
||||||
'title' => __( 'Embeds' ),
|
'title' => _x( 'Embeds', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'slug' => 'reusable',
|
'slug' => 'reusable',
|
||||||
'title' => __( 'Reusable Blocks' ),
|
'title' => _x( 'Reusable Blocks', 'block category' ),
|
||||||
'icon' => null,
|
'icon' => null,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -116,26 +116,9 @@ function render_block_core_archives( $attributes ) {
|
||||||
* Register archives block.
|
* Register archives block.
|
||||||
*/
|
*/
|
||||||
function register_block_core_archives() {
|
function register_block_core_archives() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/archives',
|
__DIR__ . '/archives',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'displayAsDropdown' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'showPostCounts' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_archives',
|
'render_callback' => 'render_block_core_archives',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"name": "core/archives",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"displayAsDropdown": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"showPostCounts": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -33,14 +33,9 @@ function render_block_core_block( $attributes ) {
|
||||||
* Registers the `core/block` block.
|
* Registers the `core/block` block.
|
||||||
*/
|
*/
|
||||||
function register_block_core_block() {
|
function register_block_core_block() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/block',
|
__DIR__ . '/block',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'ref' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_block',
|
'render_callback' => 'render_block_core_block',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"name": "core/block",
|
||||||
|
"category": "reusable",
|
||||||
|
"attributes": {
|
||||||
|
"ref": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"customClassName": false,
|
||||||
|
"html": false,
|
||||||
|
"inserter": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -52,24 +52,9 @@ function render_block_core_calendar( $attributes ) {
|
||||||
* Registers the `core/calendar` block on server.
|
* Registers the `core/calendar` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_calendar() {
|
function register_block_core_calendar() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/calendar',
|
__DIR__ . '/calendar',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'month' => array(
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
'year' => array(
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_calendar',
|
'render_callback' => 'render_block_core_calendar',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"name": "core/calendar",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"month": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"year": {
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -89,30 +89,9 @@ function build_dropdown_script_block_core_categories( $dropdown_id ) {
|
||||||
* Registers the `core/categories` block on server.
|
* Registers the `core/categories` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_categories() {
|
function register_block_core_categories() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/categories',
|
__DIR__ . '/categories',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'displayAsDropdown' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'showHierarchy' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'showPostCounts' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_categories',
|
'render_callback' => 'render_block_core_categories',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"name": "core/categories",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"displayAsDropdown": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"showHierarchy": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"showPostCounts": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -152,42 +152,9 @@ function render_block_core_latest_comments( $attributes = array() ) {
|
||||||
* Registers the `core/latest-comments` block.
|
* Registers the `core/latest-comments` block.
|
||||||
*/
|
*/
|
||||||
function register_block_core_latest_comments() {
|
function register_block_core_latest_comments() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/latest-comments',
|
__DIR__ . '/latest-comments',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array(
|
|
||||||
'left',
|
|
||||||
'center',
|
|
||||||
'right',
|
|
||||||
'wide',
|
|
||||||
'full',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'commentsToShow' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 5,
|
|
||||||
'minimum' => 1,
|
|
||||||
'maximum' => 100,
|
|
||||||
),
|
|
||||||
'displayAvatar' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => true,
|
|
||||||
),
|
|
||||||
'displayDate' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => true,
|
|
||||||
),
|
|
||||||
'displayExcerpt' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_latest_comments',
|
'render_callback' => 'render_block_core_latest_comments',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"name": "core/latest-comments",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"commentsToShow": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 5,
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 100
|
||||||
|
},
|
||||||
|
"displayAvatar": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"displayDate": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"displayExcerpt": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -33,7 +33,7 @@ function block_core_latest_posts_get_excerpt_length() {
|
||||||
* @return string Returns the post content with latest posts added.
|
* @return string Returns the post content with latest posts added.
|
||||||
*/
|
*/
|
||||||
function render_block_core_latest_posts( $attributes ) {
|
function render_block_core_latest_posts( $attributes ) {
|
||||||
global $block_core_latest_posts_excerpt_length;
|
global $post, $block_core_latest_posts_excerpt_length;
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'posts_per_page' => $attributes['postsToShow'],
|
'posts_per_page' => $attributes['postsToShow'],
|
||||||
|
@ -47,7 +47,10 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
add_filter( 'excerpt_length', 'block_core_latest_posts_get_excerpt_length', 20 );
|
add_filter( 'excerpt_length', 'block_core_latest_posts_get_excerpt_length', 20 );
|
||||||
|
|
||||||
if ( isset( $attributes['categories'] ) ) {
|
if ( isset( $attributes['categories'] ) ) {
|
||||||
$args['category'] = $attributes['categories'];
|
$args['category__in'] = array_column( $attributes['categories'], 'id' );
|
||||||
|
}
|
||||||
|
if ( isset( $attributes['selectedAuthor'] ) ) {
|
||||||
|
$args['author'] = $attributes['selectedAuthor'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$recent_posts = get_posts( $args );
|
$recent_posts = get_posts( $args );
|
||||||
|
@ -55,6 +58,7 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
$list_items_markup = '';
|
$list_items_markup = '';
|
||||||
|
|
||||||
foreach ( $recent_posts as $post ) {
|
foreach ( $recent_posts as $post ) {
|
||||||
|
|
||||||
$list_items_markup .= '<li>';
|
$list_items_markup .= '<li>';
|
||||||
|
|
||||||
if ( $attributes['displayFeaturedImage'] && has_post_thumbnail( $post ) ) {
|
if ( $attributes['displayFeaturedImage'] && has_post_thumbnail( $post ) ) {
|
||||||
|
@ -94,6 +98,20 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
$title
|
$title
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) {
|
||||||
|
$author_display_name = get_the_author_meta( 'display_name', $post->post_author );
|
||||||
|
|
||||||
|
/* translators: byline. %s: current author. */
|
||||||
|
$byline = sprintf( __( 'by %s' ), $author_display_name );
|
||||||
|
|
||||||
|
if ( ! empty( $author_display_name ) ) {
|
||||||
|
$list_items_markup .= sprintf(
|
||||||
|
'<div class="wp-block-latest-posts__post-author">%1$s</div>',
|
||||||
|
esc_html( $byline )
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) {
|
if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) {
|
||||||
$list_items_markup .= sprintf(
|
$list_items_markup .= sprintf(
|
||||||
'<time datetime="%1$s" class="wp-block-latest-posts__post-date">%2$s</time>',
|
'<time datetime="%1$s" class="wp-block-latest-posts__post-date">%2$s</time>',
|
||||||
|
@ -108,21 +126,9 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
$trimmed_excerpt = get_the_excerpt( $post );
|
$trimmed_excerpt = get_the_excerpt( $post );
|
||||||
|
|
||||||
$list_items_markup .= sprintf(
|
$list_items_markup .= sprintf(
|
||||||
'<div class="wp-block-latest-posts__post-excerpt">%1$s',
|
'<div class="wp-block-latest-posts__post-excerpt">%1$s</div>',
|
||||||
$trimmed_excerpt
|
$trimmed_excerpt
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( strpos( $trimmed_excerpt, ' … ' ) !== false ) {
|
|
||||||
$list_items_markup .= sprintf(
|
|
||||||
'<a href="%1$s">%2$s</a></div>',
|
|
||||||
esc_url( get_permalink( $post ) ),
|
|
||||||
__( 'Read more' )
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
$list_items_markup .= sprintf(
|
|
||||||
'</div>'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset( $attributes['displayPostContent'] ) && $attributes['displayPostContent']
|
if ( isset( $attributes['displayPostContent'] ) && $attributes['displayPostContent']
|
||||||
|
@ -155,6 +161,10 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
$class .= ' has-dates';
|
$class .= ' has-dates';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) {
|
||||||
|
$class .= ' has-author';
|
||||||
|
}
|
||||||
|
|
||||||
if ( isset( $attributes['className'] ) ) {
|
if ( isset( $attributes['className'] ) ) {
|
||||||
$class .= ' ' . $attributes['className'];
|
$class .= ' ' . $attributes['className'];
|
||||||
}
|
}
|
||||||
|
@ -170,79 +180,42 @@ function render_block_core_latest_posts( $attributes ) {
|
||||||
* Registers the `core/latest-posts` block on server.
|
* Registers the `core/latest-posts` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_latest_posts() {
|
function register_block_core_latest_posts() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/latest-posts',
|
__DIR__ . '/latest-posts',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'categories' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'postsToShow' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 5,
|
|
||||||
),
|
|
||||||
'displayPostContent' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'displayPostContentRadio' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'excerpt',
|
|
||||||
),
|
|
||||||
'excerptLength' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 55,
|
|
||||||
),
|
|
||||||
'displayPostDate' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'postLayout' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'list',
|
|
||||||
),
|
|
||||||
'columns' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 3,
|
|
||||||
),
|
|
||||||
'order' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'desc',
|
|
||||||
),
|
|
||||||
'orderBy' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'date',
|
|
||||||
),
|
|
||||||
'displayFeaturedImage' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'featuredImageAlign' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right' ),
|
|
||||||
),
|
|
||||||
'featuredImageSizeSlug' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'thumbnail',
|
|
||||||
),
|
|
||||||
'featuredImageSizeWidth' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => null,
|
|
||||||
),
|
|
||||||
'featuredImageSizeHeight' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => null,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_latest_posts',
|
'render_callback' => 'render_block_core_latest_posts',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
add_action( 'init', 'register_block_core_latest_posts' );
|
add_action( 'init', 'register_block_core_latest_posts' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles outdated versions of the `core/latest-posts` block by converting
|
||||||
|
* attribute `categories` from a numeric string to an array with key `id`.
|
||||||
|
*
|
||||||
|
* This is done to accommodate the changes introduced in #20781 that sought to
|
||||||
|
* add support for multiple categories to the block. However, given that this
|
||||||
|
* block is dynamic, the usual provisions for block migration are insufficient,
|
||||||
|
* as they only act when a block is loaded in the editor.
|
||||||
|
*
|
||||||
|
* TODO: Remove when and if the bottom client-side deprecation for this block
|
||||||
|
* is removed.
|
||||||
|
*
|
||||||
|
* @param array $block A single parsed block object.
|
||||||
|
*
|
||||||
|
* @return array The migrated block object.
|
||||||
|
*/
|
||||||
|
function block_core_latest_posts_migrate_categories( $block ) {
|
||||||
|
if (
|
||||||
|
'core/latest-posts' === $block['blockName'] &&
|
||||||
|
! empty( $block['attrs']['categories'] ) &&
|
||||||
|
is_string( $block['attrs']['categories'] )
|
||||||
|
) {
|
||||||
|
$block['attrs']['categories'] = array(
|
||||||
|
array( 'id' => absint( $block['attrs']['categories'] ) ),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $block;
|
||||||
|
}
|
||||||
|
add_filter( 'render_block_data', 'block_core_latest_posts_migrate_categories' );
|
||||||
|
|
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
"name": "core/latest-posts",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"categories": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"selectedAuthor": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"postsToShow": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 5
|
||||||
|
},
|
||||||
|
"displayPostContent": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"displayPostContentRadio": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "excerpt"
|
||||||
|
},
|
||||||
|
"excerptLength": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 55
|
||||||
|
},
|
||||||
|
"displayAuthor": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"displayPostDate": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"postLayout": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "list"
|
||||||
|
},
|
||||||
|
"columns": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 3
|
||||||
|
},
|
||||||
|
"order": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "desc"
|
||||||
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "date"
|
||||||
|
},
|
||||||
|
"displayFeaturedImage": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"featuredImageAlign": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"featuredImageSizeSlug": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "thumbnail"
|
||||||
|
},
|
||||||
|
"featuredImageSizeWidth": {
|
||||||
|
"type": "number",
|
||||||
|
"default": null
|
||||||
|
},
|
||||||
|
"featuredImageSizeHeight": {
|
||||||
|
"type": "number",
|
||||||
|
"default": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -92,57 +92,16 @@ function render_block_core_rss( $attributes ) {
|
||||||
$class .= ' ' . $attributes['className'];
|
$class .= ' ' . $attributes['className'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return sprintf( "<ul class='%s'>%s</ul>", esc_attr( $class ), $list_items );
|
return sprintf( '<ul class="%s">%s</ul>', esc_attr( $class ), $list_items );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers the `core/rss` block on server.
|
* Registers the `core/rss` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_rss() {
|
function register_block_core_rss() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/rss',
|
__DIR__ . '/rss',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'columns' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 2,
|
|
||||||
),
|
|
||||||
'blockLayout' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'list',
|
|
||||||
),
|
|
||||||
'feedURL' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => '',
|
|
||||||
),
|
|
||||||
'itemsToShow' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 5,
|
|
||||||
),
|
|
||||||
'displayExcerpt' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'displayAuthor' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'displayDate' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
'excerptLength' => array(
|
|
||||||
'type' => 'number',
|
|
||||||
'default' => 55,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_rss',
|
'render_callback' => 'render_block_core_rss',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
{
|
||||||
|
"name": "core/rss",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"columns": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 2
|
||||||
|
},
|
||||||
|
"blockLayout": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "list"
|
||||||
|
},
|
||||||
|
"feedURL": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"itemsToShow": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 5
|
||||||
|
},
|
||||||
|
"displayExcerpt": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"displayAuthor": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"displayDate": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"excerptLength": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 55
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -67,30 +67,9 @@ function render_block_core_search( $attributes ) {
|
||||||
* Registers the `core/search` block on the server.
|
* Registers the `core/search` block on the server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_search() {
|
function register_block_core_search() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/search',
|
__DIR__ . '/search',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'label' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => __( 'Search' ),
|
|
||||||
),
|
|
||||||
'placeholder' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => '',
|
|
||||||
),
|
|
||||||
'buttonText' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => __( 'Search' ),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_search',
|
'render_callback' => 'render_block_core_search',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"name": "core/search",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"placeholder": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"buttonText": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"align": true,
|
||||||
|
"html": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -21,15 +21,10 @@ function render_block_core_shortcode( $attributes, $content ) {
|
||||||
* Registers the `core/shortcode` block on server.
|
* Registers the `core/shortcode` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_shortcode() {
|
function register_block_core_shortcode() {
|
||||||
$path = __DIR__ . '/shortcode/block.json';
|
register_block_type_from_metadata(
|
||||||
$metadata = json_decode( file_get_contents( $path ), true );
|
__DIR__ . '/shortcode',
|
||||||
register_block_type(
|
array(
|
||||||
$metadata['name'],
|
'render_callback' => 'render_block_core_shortcode',
|
||||||
array_merge(
|
|
||||||
$metadata,
|
|
||||||
array(
|
|
||||||
'render_callback' => 'render_block_core_shortcode',
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,10 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"source": "html"
|
"source": "html"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"className": false,
|
||||||
|
"customClassName": false,
|
||||||
|
"html": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,12 +13,9 @@
|
||||||
* @return string Rendered HTML of the referenced block.
|
* @return string Rendered HTML of the referenced block.
|
||||||
*/
|
*/
|
||||||
function render_block_core_social_link( $attributes ) {
|
function render_block_core_social_link( $attributes ) {
|
||||||
$service = ( isset( $attributes['service'] ) ) ? $attributes['service'] : 'Icon';
|
$service = ( isset( $attributes['service'] ) ) ? $attributes['service'] : 'Icon';
|
||||||
$url = ( isset( $attributes['url'] ) ) ? $attributes['url'] : false;
|
$url = ( isset( $attributes['url'] ) ) ? $attributes['url'] : false;
|
||||||
$label = ( isset( $attributes['label'] ) ) ?
|
$label = ( isset( $attributes['label'] ) ) ? $attributes['label'] : block_core_social_link_get_name( $service );
|
||||||
$attributes['label'] :
|
|
||||||
/* translators: %s: Social Link service name */
|
|
||||||
sprintf( __( 'Link to %s' ), block_core_social_link_get_name( $service ) );
|
|
||||||
$class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false;
|
$class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false;
|
||||||
|
|
||||||
// Don't render a link if there is no URL set.
|
// Don't render a link if there is no URL set.
|
||||||
|
@ -34,16 +31,10 @@ function render_block_core_social_link( $attributes ) {
|
||||||
* Registers the `core/social-link` blocks.
|
* Registers the `core/social-link` blocks.
|
||||||
*/
|
*/
|
||||||
function register_block_core_social_link() {
|
function register_block_core_social_link() {
|
||||||
$path = __DIR__ . '/social-link/block.json';
|
register_block_type_from_metadata(
|
||||||
$metadata = json_decode( file_get_contents( $path ), true );
|
__DIR__ . '/social-link',
|
||||||
|
array(
|
||||||
register_block_type(
|
'render_callback' => 'render_block_core_social_link',
|
||||||
$metadata['name'],
|
|
||||||
array_merge(
|
|
||||||
$metadata,
|
|
||||||
array(
|
|
||||||
'render_callback' => 'render_block_core_social_link',
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -218,7 +209,7 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
||||||
),
|
),
|
||||||
'tumblr' => array(
|
'tumblr' => array(
|
||||||
'name' => 'Tumblr',
|
'name' => 'Tumblr',
|
||||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M16.749,17.396c-0.357,0.17-1.041,0.319-1.551,0.332c-1.539,0.041-1.837-1.081-1.85-1.896V9.847h3.861V6.937h-3.847V2.039 c0,0-2.77,0-2.817,0c-0.046,0-0.127,0.041-0.138,0.144c-0.165,1.499-0.867,4.13-3.783,5.181v2.484h1.945v6.282 c0,2.151,1.587,5.206,5.775,5.135c1.413-0.024,2.982-0.616,3.329-1.126L16.749,17.396z"></path></svg>',
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z" /></path></svg>',
|
||||||
),
|
),
|
||||||
'twitch' => array(
|
'twitch' => array(
|
||||||
'name' => 'Twitch',
|
'name' => 'Twitch',
|
||||||
|
@ -250,7 +241,7 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
||||||
),
|
),
|
||||||
'share' => array(
|
'share' => array(
|
||||||
'name' => 'Share Icon',
|
'name' => 'Share Icon',
|
||||||
'icon' => '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" role="img" aria-hidden="true" focusable="false"><rect x="0" fill="none" width="20" height="20"/><g><path d="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z"/></g></svg>',
|
'icon' => '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"/></svg>',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "core/social-link",
|
"name": "core/social-link",
|
||||||
"category": "widgets",
|
"category": "widgets",
|
||||||
"icon": "share",
|
"parent": [
|
||||||
|
"core/social-links"
|
||||||
|
],
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"url": {
|
"url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -12,5 +14,10 @@
|
||||||
"label": {
|
"label": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"reusable": false,
|
||||||
|
"html": false,
|
||||||
|
"lightBlockWrapper": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,26 +51,9 @@ function render_block_core_tag_cloud( $attributes ) {
|
||||||
* Registers the `core/tag-cloud` block on server.
|
* Registers the `core/tag-cloud` block on server.
|
||||||
*/
|
*/
|
||||||
function register_block_core_tag_cloud() {
|
function register_block_core_tag_cloud() {
|
||||||
register_block_type(
|
register_block_type_from_metadata(
|
||||||
'core/tag-cloud',
|
__DIR__ . '/tag-cloud',
|
||||||
array(
|
array(
|
||||||
'attributes' => array(
|
|
||||||
'align' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
|
|
||||||
),
|
|
||||||
'className' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'taxonomy' => array(
|
|
||||||
'type' => 'string',
|
|
||||||
'default' => 'post_tag',
|
|
||||||
),
|
|
||||||
'showTagCounts' => array(
|
|
||||||
'type' => 'boolean',
|
|
||||||
'default' => false,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'render_callback' => 'render_block_core_tag_cloud',
|
'render_callback' => 'render_block_core_tag_cloud',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"name": "core/tag-cloud",
|
||||||
|
"category": "widgets",
|
||||||
|
"attributes": {
|
||||||
|
"align": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"left",
|
||||||
|
"center",
|
||||||
|
"right",
|
||||||
|
"wide",
|
||||||
|
"full"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"className": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"taxonomy": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "post_tag"
|
||||||
|
},
|
||||||
|
"showTagCounts": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supports": {
|
||||||
|
"html": false,
|
||||||
|
"align": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,55 +57,97 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
.block-directory-block-ratings {
|
||||||
|
display: flex; }
|
||||||
|
.block-directory-block-ratings > div {
|
||||||
|
line-height: 1;
|
||||||
|
display: flex; }
|
||||||
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
||||||
|
color: #606a73;
|
||||||
|
font-size: ms(-2); }
|
||||||
|
.block-directory-block-ratings svg {
|
||||||
|
fill: #ffb900; }
|
||||||
|
|
||||||
|
.block-directory-compact-list {
|
||||||
|
margin: 0;
|
||||||
|
list-style: none; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.block-directory-compact-list__item:last-child {
|
||||||
|
margin-bottom: 0; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-details {
|
||||||
|
margin-right: 8px; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-title {
|
||||||
|
font-weight: 500; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-author {
|
||||||
|
color: #555d66;
|
||||||
|
font-size: 11px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-author-info__content {
|
||||||
|
color: #606a73;
|
||||||
|
font-size: 12px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-author-info__content-author {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-size: 13px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__row {
|
.block-directory-downloadable-block-header__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1; }
|
flex-grow: 1; }
|
||||||
.block-directory-downloadable-block-header__row .block-editor-block-icon {
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-grow: 1;
|
||||||
|
padding-right: 12px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-header__title {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 13px;
|
||||||
|
color: currentColor; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-icon {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px; }
|
||||||
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
background-color: #edeff0; }
|
background-color: #edeff0; }
|
||||||
.block-directory-downloadable-block-header__row img {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title {
|
|
||||||
font-weight: 600;
|
|
||||||
margin-right: 12px; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings {
|
|
||||||
margin-right: 12px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__content {
|
.block-directory-downloadable-block-info__content {
|
||||||
|
margin: 0 0 16px;
|
||||||
font-size: 13px; }
|
font-size: 13px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__row {
|
.block-directory-downloadable-block-info__meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
align-items: center;
|
||||||
|
margin-bottom: 2px;
|
||||||
color: #606a73;
|
color: #606a73;
|
||||||
margin-top: 8px;
|
|
||||||
font-size: 12px; }
|
font-size: 12px; }
|
||||||
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column {
|
|
||||||
display: flex;
|
|
||||||
align-items: center; }
|
|
||||||
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon {
|
|
||||||
font-size: 16px;
|
|
||||||
margin-left: 4px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content {
|
.block-directory-downloadable-block-info__meta:last-child {
|
||||||
color: #606a73;
|
margin-bottom: 0; }
|
||||||
margin-bottom: 4px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content-author {
|
.block-directory-downloadable-block-info__icon {
|
||||||
margin-bottom: 4px;
|
margin-left: 4px;
|
||||||
font-size: 14px; }
|
fill: #606a73; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 0 12px;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -99,8 +156,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
border-radius: 4px;
|
border-top: 1px solid #e2e4e7;
|
||||||
border: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
transition: all 0.05s ease-in-out;
|
transition: all 0.05s ease-in-out;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -109,6 +166,12 @@
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||||
|
border-top: 0; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-list-item:last-child {
|
||||||
|
border-bottom: 0; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__panel {
|
.block-directory-downloadable-block-list-item__panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -117,55 +180,51 @@
|
||||||
.block-directory-downloadable-block-list-item__header {
|
.block-directory-downloadable-block-list-item__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px 12px 0; }
|
padding: 16px 16px 0; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__body {
|
.block-directory-downloadable-block-list-item__body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px; }
|
padding: 16px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__footer {
|
.block-directory-downloadable-block-list-item__footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px;
|
padding: 16px;
|
||||||
background-color: #f3f4f5; }
|
background-color: #f3f4f5; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__content {
|
.block-directory-downloadable-block-list-item__content {
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-notice {
|
||||||
|
margin: 0 0 16px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-notice__content {
|
||||||
|
padding-left: 12px;
|
||||||
|
margin-bottom: 8px; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-list {
|
.block-directory-downloadable-blocks-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 2px 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description {
|
.block-directory-downloadable-blocks-panel__description {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 0;
|
padding: 16px;
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 100px;
|
margin: 112px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
||||||
float: inherit; }
|
float: inherit; }
|
||||||
|
|
||||||
.block-directory-block-ratings {
|
.installed-blocks-pre-publish-panel__copy {
|
||||||
display: flex; }
|
margin-top: 0; }
|
||||||
.block-directory-block-ratings > div {
|
|
||||||
line-height: 1;
|
|
||||||
display: flex; }
|
|
||||||
.block-directory-block-ratings .dashicons {
|
|
||||||
font-size: ms(-2);
|
|
||||||
width: 1.1em; }
|
|
||||||
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
|
||||||
color: #606a73;
|
|
||||||
font-size: ms(-2); }
|
|
||||||
.block-directory-block-ratings [class*="dashicons-star-"] {
|
|
||||||
color: #ffb900; }
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,55 +57,97 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
.block-directory-block-ratings {
|
||||||
|
display: flex; }
|
||||||
|
.block-directory-block-ratings > div {
|
||||||
|
line-height: 1;
|
||||||
|
display: flex; }
|
||||||
|
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
||||||
|
color: #606a73;
|
||||||
|
font-size: ms(-2); }
|
||||||
|
.block-directory-block-ratings svg {
|
||||||
|
fill: #ffb900; }
|
||||||
|
|
||||||
|
.block-directory-compact-list {
|
||||||
|
margin: 0;
|
||||||
|
list-style: none; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.block-directory-compact-list__item:last-child {
|
||||||
|
margin-bottom: 0; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-details {
|
||||||
|
margin-left: 8px; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-title {
|
||||||
|
font-weight: 500; }
|
||||||
|
|
||||||
|
.block-directory-compact-list__item-author {
|
||||||
|
color: #555d66;
|
||||||
|
font-size: 11px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-author-info__content {
|
||||||
|
color: #606a73;
|
||||||
|
font-size: 12px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-author-info__content-author {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-size: 13px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-header__row {
|
.block-directory-downloadable-block-header__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1; }
|
flex-grow: 1; }
|
||||||
.block-directory-downloadable-block-header__row .block-editor-block-icon {
|
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-grow: 1;
|
||||||
|
padding-left: 12px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-header__title {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 13px;
|
||||||
|
color: currentColor; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-icon {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px; }
|
||||||
|
.block-directory-downloadable-block-icon .block-editor-block-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
background-color: #edeff0; }
|
background-color: #edeff0; }
|
||||||
.block-directory-downloadable-block-header__row img {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title {
|
|
||||||
font-weight: 600;
|
|
||||||
margin-left: 12px; }
|
|
||||||
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings {
|
|
||||||
margin-left: 12px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__content {
|
.block-directory-downloadable-block-info__content {
|
||||||
|
margin: 0 0 16px;
|
||||||
font-size: 13px; }
|
font-size: 13px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-info__row {
|
.block-directory-downloadable-block-info__meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
align-items: center;
|
||||||
|
margin-bottom: 2px;
|
||||||
color: #606a73;
|
color: #606a73;
|
||||||
margin-top: 8px;
|
|
||||||
font-size: 12px; }
|
font-size: 12px; }
|
||||||
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column {
|
|
||||||
display: flex;
|
|
||||||
align-items: center; }
|
|
||||||
.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon {
|
|
||||||
font-size: 16px;
|
|
||||||
margin-right: 4px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content {
|
.block-directory-downloadable-block-info__meta:last-child {
|
||||||
color: #606a73;
|
margin-bottom: 0; }
|
||||||
margin-bottom: 4px; }
|
|
||||||
|
|
||||||
.block-directory-downloadable-block-author-info__content-author {
|
.block-directory-downloadable-block-info__icon {
|
||||||
margin-bottom: 4px;
|
margin-right: 4px;
|
||||||
font-size: 14px; }
|
fill: #606a73; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 0 12px;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -99,8 +156,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
border-radius: 4px;
|
border-top: 1px solid #e2e4e7;
|
||||||
border: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
transition: all 0.05s ease-in-out;
|
transition: all 0.05s ease-in-out;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -109,6 +166,12 @@
|
||||||
.block-directory-downloadable-block-list-item {
|
.block-directory-downloadable-block-list-item {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||||
|
border-top: 0; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-list-item:last-child {
|
||||||
|
border-bottom: 0; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__panel {
|
.block-directory-downloadable-block-list-item__panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -117,55 +180,51 @@
|
||||||
.block-directory-downloadable-block-list-item__header {
|
.block-directory-downloadable-block-list-item__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px 12px 0; }
|
padding: 16px 16px 0; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__body {
|
.block-directory-downloadable-block-list-item__body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px; }
|
padding: 16px; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__footer {
|
.block-directory-downloadable-block-list-item__footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 12px;
|
padding: 16px;
|
||||||
background-color: #f3f4f5; }
|
background-color: #f3f4f5; }
|
||||||
|
|
||||||
.block-directory-downloadable-block-list-item__content {
|
.block-directory-downloadable-block-list-item__content {
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-notice {
|
||||||
|
margin: 0 0 16px; }
|
||||||
|
|
||||||
|
.block-directory-downloadable-block-notice__content {
|
||||||
|
padding-right: 12px;
|
||||||
|
margin-bottom: 8px; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-list {
|
.block-directory-downloadable-blocks-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 2px 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description {
|
.block-directory-downloadable-blocks-panel__description {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 0;
|
padding: 16px;
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
|
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
.block-directory-downloadable-blocks-panel__description.has-no-results {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 100px;
|
margin: 112px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #606a73; }
|
color: #606a73; }
|
||||||
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
|
||||||
float: inherit; }
|
float: inherit; }
|
||||||
|
|
||||||
.block-directory-block-ratings {
|
.installed-blocks-pre-publish-panel__copy {
|
||||||
display: flex; }
|
margin-top: 0; }
|
||||||
.block-directory-block-ratings > div {
|
|
||||||
line-height: 1;
|
|
||||||
display: flex; }
|
|
||||||
.block-directory-block-ratings .dashicons {
|
|
||||||
font-size: ms(-2);
|
|
||||||
width: 1.1em; }
|
|
||||||
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
|
|
||||||
color: #606a73;
|
|
||||||
font-size: ms(-2); }
|
|
||||||
.block-directory-block-ratings [class*="dashicons-star-"] {
|
|
||||||
color: #ffb900; }
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,14 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
#start-resizable-editor-section {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.wp-block-audio figcaption {
|
.wp-block-audio figcaption {
|
||||||
color: #555d66;
|
color: #555d66;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -49,7 +72,7 @@
|
||||||
|
|
||||||
.wp-block-code {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
padding: 0.8em 1em;
|
padding: 0.8em 1em;
|
||||||
border: 1px solid #e2e4e7;
|
border: 1px solid #e2e4e7;
|
||||||
|
@ -86,6 +109,9 @@
|
||||||
.wp-block-navigation ul li {
|
.wp-block-navigation ul li {
|
||||||
list-style: none; }
|
list-style: none; }
|
||||||
|
|
||||||
|
.wp-block-navigation-link.wp-block-navigation-link {
|
||||||
|
margin: 0; }
|
||||||
|
|
||||||
.wp-block-quote {
|
.wp-block-quote {
|
||||||
border-right: 4px solid #000;
|
border-right: 4px solid #000;
|
||||||
margin: 0 0 28px 0;
|
margin: 0 0 28px 0;
|
||||||
|
@ -149,3 +175,6 @@
|
||||||
color: #555d66;
|
color: #555d66;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
|
|
||||||
|
#end-resizable-editor-section {
|
||||||
|
display: none; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;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-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;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.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-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-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;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-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;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.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-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-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,14 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
#start-resizable-editor-section {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.wp-block-audio figcaption {
|
.wp-block-audio figcaption {
|
||||||
color: #555d66;
|
color: #555d66;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -49,7 +72,7 @@
|
||||||
|
|
||||||
.wp-block-code {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
padding: 0.8em 1em;
|
padding: 0.8em 1em;
|
||||||
border: 1px solid #e2e4e7;
|
border: 1px solid #e2e4e7;
|
||||||
|
@ -86,6 +109,9 @@
|
||||||
.wp-block-navigation ul li {
|
.wp-block-navigation ul li {
|
||||||
list-style: none; }
|
list-style: none; }
|
||||||
|
|
||||||
|
.wp-block-navigation-link.wp-block-navigation-link {
|
||||||
|
margin: 0; }
|
||||||
|
|
||||||
.wp-block-quote {
|
.wp-block-quote {
|
||||||
border-left: 4px solid #000;
|
border-left: 4px solid #000;
|
||||||
margin: 0 0 28px 0;
|
margin: 0 0 28px 0;
|
||||||
|
@ -149,3 +175,6 @@
|
||||||
color: #555d66;
|
color: #555d66;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
|
|
||||||
|
#end-resizable-editor-section {
|
||||||
|
display: none; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;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-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;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.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-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-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;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-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;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.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-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-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Editor Normalization Styles
|
* Editor Normalization Styles
|
||||||
*
|
*
|
||||||
|
@ -55,7 +75,12 @@ body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #191e23; }
|
color: #1e1e1e;
|
||||||
|
padding: 10px; }
|
||||||
|
|
||||||
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
|
||||||
|
margin-right: -10px;
|
||||||
|
margin-left: -10px; }
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -125,7 +150,6 @@ p {
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
padding: inherit;
|
|
||||||
padding-right: 1.3em;
|
padding-right: 1.3em;
|
||||||
margin-right: 1.3em; }
|
margin-right: 1.3em; }
|
||||||
ul ul,
|
ul ul,
|
||||||
|
@ -146,3 +170,21 @@ ol {
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ul {
|
ol ul {
|
||||||
list-style-type: circle; }
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.wp-align-wrapper {
|
||||||
|
max-width: 580px; }
|
||||||
|
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
||||||
|
max-width: none; }
|
||||||
|
.wp-align-wrapper.wp-align-wide {
|
||||||
|
max-width: 1100px; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
transition: none; }
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
background: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
font-family: monospace; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit;padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:580px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:1100px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Editor Normalization Styles
|
* Editor Normalization Styles
|
||||||
*
|
*
|
||||||
|
@ -55,7 +75,12 @@ body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #191e23; }
|
color: #1e1e1e;
|
||||||
|
padding: 10px; }
|
||||||
|
|
||||||
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
|
||||||
|
margin-left: -10px;
|
||||||
|
margin-right: -10px; }
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -125,7 +150,6 @@ p {
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
padding: inherit;
|
|
||||||
padding-left: 1.3em;
|
padding-left: 1.3em;
|
||||||
margin-left: 1.3em; }
|
margin-left: 1.3em; }
|
||||||
ul ul,
|
ul ul,
|
||||||
|
@ -146,3 +170,21 @@ ol {
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ul {
|
ol ul {
|
||||||
list-style-type: circle; }
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.wp-align-wrapper {
|
||||||
|
max-width: 580px; }
|
||||||
|
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
||||||
|
max-width: none; }
|
||||||
|
.wp-align-wrapper.wp-align-wide {
|
||||||
|
max-width: 1100px; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
transition: none; }
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
background: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
font-family: monospace; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit;padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:580px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:1100px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
|
@ -9,12 +9,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +40,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -43,8 +58,10 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
.editor-autocompleters__block .block-editor-block-icon {
|
:root {
|
||||||
margin-left: 8px; }
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
|
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
|
||||||
/* stylelint-disable */
|
/* stylelint-disable */
|
||||||
|
@ -117,13 +134,13 @@
|
||||||
margin: 0 -1px 0 0;
|
margin: 0 -1px 0 0;
|
||||||
padding: 2px 1px 2px 5px;
|
padding: 2px 1px 2px 5px;
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
text-align: right; }
|
text-align: right;
|
||||||
|
border-radius: 2px; }
|
||||||
.document-outline__button:disabled {
|
.document-outline__button:disabled {
|
||||||
cursor: default; }
|
cursor: default; }
|
||||||
.document-outline__button:focus {
|
.document-outline__button:focus {
|
||||||
background-color: #fff;
|
box-shadow: 0 0 0 1.5px #007cba;
|
||||||
color: #191e23;
|
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||||
box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;
|
|
||||||
outline: 2px solid transparent; }
|
outline: 2px solid transparent; }
|
||||||
|
|
||||||
.document-outline__level {
|
.document-outline__level {
|
||||||
|
@ -142,12 +159,9 @@
|
||||||
.components-editor-notices__dismissible {
|
.components-editor-notices__dismissible {
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 56px;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
color: #191e23; }
|
color: #191e23; }
|
||||||
@media (min-width: 600px) {
|
|
||||||
.components-editor-notices__dismissible {
|
|
||||||
top: 0; } }
|
|
||||||
|
|
||||||
.components-editor-notices__pinned {
|
.components-editor-notices__pinned {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -161,19 +175,69 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
padding: 6px 12px;
|
padding: 0 12px;
|
||||||
min-height: 60px; }
|
min-height: 60px; }
|
||||||
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
||||||
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
||||||
margin: 6px 5px 6px -5px; }
|
margin-top: 12px; }
|
||||||
|
|
||||||
.components-editor-notices__snackbar {
|
.components-editor-notices__snackbar {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.components-editor-notices__snackbar {
|
||||||
|
width: fit-content;
|
||||||
|
width: -moz-fit-content; } }
|
||||||
|
|
||||||
.editor-entities-saved-states__save-button {
|
.entities-saved-states__panel {
|
||||||
display: block;
|
box-sizing: border-box;
|
||||||
margin-right: auto;
|
background: #fff;
|
||||||
margin-left: 0; }
|
position: fixed;
|
||||||
|
z-index: 100001;
|
||||||
|
top: 46px;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
overflow: auto;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.entities-saved-states__panel *,
|
||||||
|
.entities-saved-states__panel *::before,
|
||||||
|
.entities-saved-states__panel *::after {
|
||||||
|
box-sizing: inherit; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||||
|
display: none; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity-small {
|
||||||
|
display: block; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.entities-saved-states__panel {
|
||||||
|
z-index: 99998;
|
||||||
|
top: 32px;
|
||||||
|
right: auto;
|
||||||
|
width: 280px;
|
||||||
|
border-right: 1px solid #e2e4e7; }
|
||||||
|
body.is-fullscreen-mode .entities-saved-states__panel {
|
||||||
|
top: 0; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||||
|
display: block; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity-small {
|
||||||
|
display: none; } }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header {
|
||||||
|
background: #fff;
|
||||||
|
padding-right: 8px;
|
||||||
|
padding-left: 8px;
|
||||||
|
height: 61px;
|
||||||
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
align-content: space-between; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button {
|
||||||
|
margin: auto; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon {
|
||||||
|
position: absolute;
|
||||||
|
left: 8px; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__text-prompt {
|
||||||
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
padding: 16px;
|
||||||
|
padding-bottom: 4px; }
|
||||||
|
|
||||||
.editor-error-boundary {
|
.editor-error-boundary {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
@ -268,18 +332,14 @@
|
||||||
.editor-post-last-revision__title .dashicon {
|
.editor-post-last-revision__title .dashicon {
|
||||||
margin-left: 5px; }
|
margin-left: 5px; }
|
||||||
|
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title {
|
.components-button.editor-post-last-revision__title {
|
||||||
height: auto; }
|
height: 100%; }
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active {
|
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
|
||||||
background: #f3f4f5 !important;
|
background: #f3f4f5; }
|
||||||
border: none !important;
|
.components-button.editor-post-last-revision__title:focus {
|
||||||
box-shadow: none !important; }
|
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus {
|
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||||
color: #191e23;
|
border-radius: 0; }
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
outline-offset: -2px;
|
|
||||||
outline: 1px dotted #555d66; }
|
|
||||||
|
|
||||||
.editor-post-locked-modal {
|
.editor-post-locked-modal {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -302,125 +362,6 @@
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
margin-left: 15px; }
|
margin-left: 15px; }
|
||||||
|
|
||||||
.editor-post-permalink {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
background: #fff;
|
|
||||||
padding: 8px 8px 0;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
height: 40px;
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 1px solid #b5bcc2;
|
|
||||||
background-clip: padding-box;
|
|
||||||
border-right: 0;
|
|
||||||
box-shadow: 3px 0 0 0 #555d66;
|
|
||||||
outline: 1px solid transparent;
|
|
||||||
margin-right: -15px;
|
|
||||||
margin-left: -15px; }
|
|
||||||
.is-dark-theme .editor-post-permalink {
|
|
||||||
box-shadow: 3px 0 0 0 #d7dade; }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-permalink {
|
|
||||||
padding: 4px; } }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-permalink {
|
|
||||||
margin-right: -1px;
|
|
||||||
margin-left: -1px; } }
|
|
||||||
.editor-post-permalink.editor-post-permalink > * {
|
|
||||||
margin-bottom: 8px; }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-permalink.editor-post-permalink > * {
|
|
||||||
margin-bottom: 0; } }
|
|
||||||
.editor-post-permalink button {
|
|
||||||
flex-shrink: 0; }
|
|
||||||
|
|
||||||
.editor-post-permalink__copy {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 6px; }
|
|
||||||
|
|
||||||
.editor-post-permalink__copy.is-copied {
|
|
||||||
opacity: 0.3; }
|
|
||||||
|
|
||||||
.editor-post-permalink__label {
|
|
||||||
margin: 0 5px 0 10px;
|
|
||||||
font-weight: 600; }
|
|
||||||
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
color: #7e8993;
|
|
||||||
text-decoration: underline;
|
|
||||||
margin-left: 10px;
|
|
||||||
flex-grow: 1;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-align: right; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor {
|
|
||||||
width: 100%;
|
|
||||||
min-width: 20%;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container {
|
|
||||||
flex: 0 1 100%;
|
|
||||||
display: flex;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 1px 0; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
|
|
||||||
flex: 1 1 auto; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
|
|
||||||
flex: 1 0 auto; } }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit {
|
|
||||||
flex: 1 1 100%; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink-editor__save {
|
|
||||||
margin-right: auto; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__prefix {
|
|
||||||
color: #6c7781;
|
|
||||||
min-width: 20%;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis; }
|
|
||||||
|
|
||||||
.editor-post-permalink input[type="text"].editor-post-permalink-editor__edit {
|
|
||||||
min-width: 10%;
|
|
||||||
width: 100%;
|
|
||||||
margin: 0 3px;
|
|
||||||
padding: 2px 4px; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__suffix {
|
|
||||||
color: #6c7781;
|
|
||||||
margin-left: 6px;
|
|
||||||
flex: 0 0 0%; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__prefix {
|
|
||||||
text-align: right; }
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
text-align: left; }
|
|
||||||
|
|
||||||
.editor-post-permalink__editor-container,
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
direction: ltr; }
|
|
||||||
|
|
||||||
.editor-post-permalink__link::after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
-webkit-touch-callout: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
pointer-events: none;
|
|
||||||
background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 90%);
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
left: auto;
|
|
||||||
width: 20%;
|
|
||||||
height: auto; }
|
|
||||||
.editor-post-publish-button__button.has-changes-dot::before {
|
.editor-post-publish-button__button.has-changes-dot::before {
|
||||||
background: currentcolor;
|
background: currentcolor;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -433,7 +374,7 @@
|
||||||
background: #fff; }
|
background: #fff; }
|
||||||
|
|
||||||
.editor-post-publish-panel__content {
|
.editor-post-publish-panel__content {
|
||||||
min-height: calc(100% - 140px); }
|
min-height: calc(100% - 144px); }
|
||||||
.editor-post-publish-panel__content .components-spinner {
|
.editor-post-publish-panel__content .components-spinner {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 100px auto 0; }
|
margin: 100px auto 0; }
|
||||||
|
@ -442,7 +383,7 @@
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
height: 56px;
|
height: 61px;
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -486,8 +427,6 @@
|
||||||
margin-left: -16px; }
|
margin-left: -16px; }
|
||||||
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
|
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
|
||||||
display: none; }
|
display: none; }
|
||||||
.editor-post-publish-panel__prepublish .components-datetime {
|
|
||||||
padding: 0; }
|
|
||||||
|
|
||||||
.post-publish-panel__postpublish .components-panel__body {
|
.post-publish-panel__postpublish .components-panel__body {
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
@ -533,25 +472,22 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
padding: 12px 4px;
|
padding: 12px 4px;
|
||||||
color: #555d66;
|
color: #757575;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap; }
|
white-space: nowrap; }
|
||||||
.editor-post-saved-state svg {
|
.editor-post-saved-state svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
margin-left: 4px;
|
fill: currentColor;
|
||||||
fill: currentColor; }
|
margin-left: 8px; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-saved-state {
|
.editor-post-saved-state {
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
text-indent: inherit; }
|
text-indent: inherit; }
|
||||||
.editor-post-saved-state .dashicon {
|
.editor-post-saved-state svg {
|
||||||
margin-left: 4px; } }
|
margin-left: 4px; } }
|
||||||
|
|
||||||
.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft {
|
|
||||||
margin: 0; }
|
|
||||||
|
|
||||||
.editor-post-taxonomies__hierarchical-terms-list {
|
.editor-post-taxonomies__hierarchical-terms-list {
|
||||||
max-height: 14em;
|
max-height: 14em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@ -580,80 +516,31 @@
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
.editor-post-text-editor {
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
border: 1px solid #e2e4e7 !important;
|
border: 1px solid #ccc;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 0 2em;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
resize: none;
|
resize: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: Menlo, Consolas, monaco, monospace !important;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
line-height: 150%;
|
line-height: 2.4;
|
||||||
border-radius: 0 !important;
|
border-radius: 0;
|
||||||
|
min-height: 200px;
|
||||||
|
padding: 16px;
|
||||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
font-size: 16px !important; }
|
font-size: 16px !important; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-text-editor {
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
font-size: 14px !important; } }
|
padding: 24px; } }
|
||||||
.editor-post-text-editor:hover, .editor-post-text-editor:focus {
|
@media (min-width: 600px) {
|
||||||
border: 1px solid #b5bcc2 !important;
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
box-shadow: none !important;
|
font-size: 15px !important; } }
|
||||||
outline-offset: -2px !important; }
|
.edit-post-text-editor__body textarea.editor-post-text-editor:focus {
|
||||||
|
border: 1px solid #1e1e1e;
|
||||||
.editor-post-text-editor__toolbar {
|
box-shadow: none;
|
||||||
display: flex;
|
position: relative; }
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap; }
|
|
||||||
.editor-post-text-editor__toolbar button {
|
|
||||||
height: 30px;
|
|
||||||
background: none;
|
|
||||||
padding: 0 8px;
|
|
||||||
margin: 3px 4px;
|
|
||||||
text-align: center;
|
|
||||||
cursor: pointer;
|
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
|
||||||
color: #555d66;
|
|
||||||
border: 1px solid transparent; }
|
|
||||||
.editor-post-text-editor__toolbar button:first-child {
|
|
||||||
margin-right: 0; }
|
|
||||||
.editor-post-text-editor__toolbar button:hover, .editor-post-text-editor__toolbar button:focus {
|
|
||||||
outline: none;
|
|
||||||
border: 1px solid #555d66; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__bold {
|
|
||||||
font-weight: 600; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__italic {
|
|
||||||
font-style: italic; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__link {
|
|
||||||
text-decoration: underline;
|
|
||||||
color: #0085ba; }
|
|
||||||
|
|
||||||
body.admin-color-sunrise .editor-post-text-editor__link{
|
|
||||||
color: #d1864a; }
|
|
||||||
|
|
||||||
body.admin-color-ocean .editor-post-text-editor__link{
|
|
||||||
color: #a3b9a2; }
|
|
||||||
|
|
||||||
body.admin-color-midnight .editor-post-text-editor__link{
|
|
||||||
color: #e14d43; }
|
|
||||||
|
|
||||||
body.admin-color-ectoplasm .editor-post-text-editor__link{
|
|
||||||
color: #a7b656; }
|
|
||||||
|
|
||||||
body.admin-color-coffee .editor-post-text-editor__link{
|
|
||||||
color: #c2a68c; }
|
|
||||||
|
|
||||||
body.admin-color-blue .editor-post-text-editor__link{
|
|
||||||
color: #82b4cb; }
|
|
||||||
|
|
||||||
body.admin-color-light .editor-post-text-editor__link{
|
|
||||||
color: #0085ba; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__del {
|
|
||||||
text-decoration: line-through; }
|
|
||||||
|
|
||||||
.edit-post-post-visibility__dialog,
|
.edit-post-post-visibility__dialog,
|
||||||
.editor-post-visibility__dialog-fieldset {
|
.editor-post-visibility__dialog-fieldset {
|
||||||
|
@ -665,9 +552,83 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
padding: 0; }
|
padding: 0; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 6px 8px;
|
||||||
|
box-shadow: 0 0 0 transparent;
|
||||||
|
transition: box-shadow 0.1s linear;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #757575;
|
||||||
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
|
font-size: 16px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal;
|
||||||
|
border: 2px solid #757575;
|
||||||
|
margin-left: 12px;
|
||||||
|
transition: none;
|
||||||
|
border-radius: 50%;
|
||||||
margin-top: 2px; }
|
margin-top: 2px; }
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
transition-duration: 0s; } }
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
font-size: 13px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color);
|
||||||
|
box-shadow: 0 0 0 0.5px #007cba;
|
||||||
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||||
|
outline: 2px solid transparent; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
margin: 6px 6px 0 0;
|
||||||
|
background-color: #fff; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||||
|
margin: 3px 3px 0 0; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||||
|
border-color: #757575;
|
||||||
|
box-shadow: 0 0 0 1px #757575; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked {
|
||||||
|
background: #007cba;
|
||||||
|
background: var(--wp-admin-theme-color);
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked:focus {
|
||||||
|
box-shadow: 0 0 0 1.5px #757575; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
||||||
font-weight: 600; }
|
font-weight: 600; }
|
||||||
|
@ -678,94 +639,103 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,
|
.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 6px 8px;
|
||||||
|
box-shadow: 0 0 0 transparent;
|
||||||
|
transition: box-shadow 0.1s linear;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #757575;
|
||||||
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
|
font-size: 16px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal;
|
||||||
margin-right: 28px; }
|
margin-right: 28px; }
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
transition-duration: 0s; } }
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
font-size: 13px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:focus {
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color);
|
||||||
|
box-shadow: 0 0 0 0.5px #007cba;
|
||||||
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||||
|
outline: 2px solid transparent; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
|
||||||
.editor-post-title__block {
|
.editor-post-title {
|
||||||
position: relative;
|
position: relative; }
|
||||||
padding: 5px 0;
|
.editor-post-title .editor-post-title__input {
|
||||||
font-size: 16px; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title__block {
|
|
||||||
padding: 5px 2px; } }
|
|
||||||
.editor-post-title__block .editor-post-title__input {
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
font-family: "Noto Serif", serif;
|
|
||||||
line-height: 1.4;
|
|
||||||
color: #191e23;
|
|
||||||
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
||||||
padding: 19px 14px;
|
padding: 19px 0;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
|
font-family: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
font-size: 2.44em;
|
font-size: 2.44em;
|
||||||
font-weight: 600; }
|
font-weight: bold; }
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.editor-post-title__block .editor-post-title__input {
|
.editor-post-title .editor-post-title__input {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-title__block .editor-post-title__input {
|
.editor-post-title .editor-post-title__input {
|
||||||
border-width: 1px;
|
border-width: 1px; } }
|
||||||
border-right-width: 0; } }
|
.editor-post-title .editor-post-title__input::-webkit-input-placeholder {
|
||||||
.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder {
|
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input::-moz-placeholder {
|
.editor-post-title .editor-post-title__input::-moz-placeholder {
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input:-ms-input-placeholder {
|
.editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input:focus {
|
.editor-post-title .editor-post-title__input:focus {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-right-width: 0;
|
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
.editor-post-title.is-focus-mode .editor-post-title__input {
|
||||||
border-color: rgba(66, 88, 99, 0.4);
|
|
||||||
box-shadow: inset -3px 0 0 0 #555d66; }
|
|
||||||
.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
border-color: rgba(255, 255, 255, 0.45);
|
|
||||||
box-shadow: inset -3px 0 0 0 #d7dade; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
box-shadow: 3px 0 0 0 #555d66; }
|
|
||||||
.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
box-shadow: 3px 0 0 0 #d7dade; } }
|
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input {
|
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
transition: opacity 0.1s linear; }
|
transition: opacity 0.1s linear; }
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input {
|
.editor-post-title.is-focus-mode .editor-post-title__input {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input:focus {
|
.editor-post-title.is-focus-mode .editor-post-title__input:focus {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
font-size: 13px;
|
|
||||||
color: #191e23;
|
|
||||||
height: auto;
|
|
||||||
position: relative;
|
|
||||||
right: 3px;
|
|
||||||
top: -2px;
|
|
||||||
width: calc(100% - 3px); }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
position: absolute;
|
|
||||||
top: -34px;
|
|
||||||
left: 0;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
width: auto; } }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
right: 2px;
|
|
||||||
left: 2px; } }
|
|
||||||
|
|
||||||
.editor-post-trash.components-button {
|
.editor-post-trash.components-button {
|
||||||
color: #b52727;
|
color: #b52727;
|
||||||
border-color: #b52727;
|
border-color: #b52727;
|
||||||
|
@ -780,21 +750,27 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
.components-popover.table-of-contents__popover {
|
.components-popover.table-of-contents__popover {
|
||||||
z-index: 99998; }
|
z-index: 99998; }
|
||||||
|
|
||||||
.table-of-contents__popover .components-popover__content {
|
.table-of-contents__popover .components-popover__content > div {
|
||||||
padding: 16px; }
|
padding: 16px; }
|
||||||
@media (min-width: 600px) {
|
|
||||||
.table-of-contents__popover .components-popover__content {
|
@media (min-width: 600px) {
|
||||||
max-height: calc(100vh - 120px);
|
.table-of-contents__popover .components-popover__content {
|
||||||
overflow-y: auto; } }
|
max-height: calc(100vh - 120px);
|
||||||
|
overflow-y: auto; } }
|
||||||
|
|
||||||
.table-of-contents__popover hr {
|
.table-of-contents__popover hr {
|
||||||
margin: 10px -16px 0; }
|
margin: 10px -16px 0; }
|
||||||
|
|
||||||
.table-of-contents__wrapper:focus {
|
.table-of-contents__wrapper:focus::before {
|
||||||
color: #191e23;
|
content: "";
|
||||||
outline-offset: -1px;
|
display: block;
|
||||||
outline: 1px dotted #555d66;
|
position: absolute;
|
||||||
outline-offset: 8px; }
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||||
|
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||||
|
|
||||||
.table-of-contents__counts {
|
.table-of-contents__counts {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,12 +9,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +40,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -43,8 +58,10 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
.editor-autocompleters__block .block-editor-block-icon {
|
:root {
|
||||||
margin-right: 8px; }
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
|
.editor-autocompleters__user .editor-autocompleters__no-avatar::before {
|
||||||
/* stylelint-disable */
|
/* stylelint-disable */
|
||||||
|
@ -117,13 +134,13 @@
|
||||||
margin: 0 0 0 -1px;
|
margin: 0 0 0 -1px;
|
||||||
padding: 2px 5px 2px 1px;
|
padding: 2px 5px 2px 1px;
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
text-align: left; }
|
text-align: left;
|
||||||
|
border-radius: 2px; }
|
||||||
.document-outline__button:disabled {
|
.document-outline__button:disabled {
|
||||||
cursor: default; }
|
cursor: default; }
|
||||||
.document-outline__button:focus {
|
.document-outline__button:focus {
|
||||||
background-color: #fff;
|
box-shadow: 0 0 0 1.5px #007cba;
|
||||||
color: #191e23;
|
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||||
box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;
|
|
||||||
outline: 2px solid transparent; }
|
outline: 2px solid transparent; }
|
||||||
|
|
||||||
.document-outline__level {
|
.document-outline__level {
|
||||||
|
@ -142,12 +159,9 @@
|
||||||
.components-editor-notices__dismissible {
|
.components-editor-notices__dismissible {
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 56px;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
color: #191e23; }
|
color: #191e23; }
|
||||||
@media (min-width: 600px) {
|
|
||||||
.components-editor-notices__dismissible {
|
|
||||||
top: 0; } }
|
|
||||||
|
|
||||||
.components-editor-notices__pinned {
|
.components-editor-notices__pinned {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -161,19 +175,69 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
padding: 6px 12px;
|
padding: 0 12px;
|
||||||
min-height: 60px; }
|
min-height: 60px; }
|
||||||
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
||||||
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
||||||
margin: 6px -5px 6px 5px; }
|
margin-top: 12px; }
|
||||||
|
|
||||||
.components-editor-notices__snackbar {
|
.components-editor-notices__snackbar {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.components-editor-notices__snackbar {
|
||||||
|
width: fit-content;
|
||||||
|
width: -moz-fit-content; } }
|
||||||
|
|
||||||
.editor-entities-saved-states__save-button {
|
.entities-saved-states__panel {
|
||||||
display: block;
|
box-sizing: border-box;
|
||||||
margin-left: auto;
|
background: #fff;
|
||||||
margin-right: 0; }
|
position: fixed;
|
||||||
|
z-index: 100001;
|
||||||
|
top: 46px;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
overflow: auto;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.entities-saved-states__panel *,
|
||||||
|
.entities-saved-states__panel *::before,
|
||||||
|
.entities-saved-states__panel *::after {
|
||||||
|
box-sizing: inherit; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||||
|
display: none; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity-small {
|
||||||
|
display: block; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.entities-saved-states__panel {
|
||||||
|
z-index: 99998;
|
||||||
|
top: 32px;
|
||||||
|
left: auto;
|
||||||
|
width: 280px;
|
||||||
|
border-left: 1px solid #e2e4e7; }
|
||||||
|
body.is-fullscreen-mode .entities-saved-states__panel {
|
||||||
|
top: 0; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||||
|
display: block; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__find-entity-small {
|
||||||
|
display: none; } }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header {
|
||||||
|
background: #fff;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
height: 61px;
|
||||||
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
align-content: space-between; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button {
|
||||||
|
margin: auto; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon {
|
||||||
|
position: absolute;
|
||||||
|
right: 8px; }
|
||||||
|
.entities-saved-states__panel .entities-saved-states__text-prompt {
|
||||||
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
padding: 16px;
|
||||||
|
padding-bottom: 4px; }
|
||||||
|
|
||||||
.editor-error-boundary {
|
.editor-error-boundary {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
@ -268,18 +332,14 @@
|
||||||
.editor-post-last-revision__title .dashicon {
|
.editor-post-last-revision__title .dashicon {
|
||||||
margin-right: 5px; }
|
margin-right: 5px; }
|
||||||
|
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title {
|
.components-button.editor-post-last-revision__title {
|
||||||
height: auto; }
|
height: 100%; }
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active {
|
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
|
||||||
background: #f3f4f5 !important;
|
background: #f3f4f5; }
|
||||||
border: none !important;
|
.components-button.editor-post-last-revision__title:focus {
|
||||||
box-shadow: none !important; }
|
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||||
.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus {
|
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||||
color: #191e23;
|
border-radius: 0; }
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
outline-offset: -2px;
|
|
||||||
outline: 1px dotted #555d66; }
|
|
||||||
|
|
||||||
.editor-post-locked-modal {
|
.editor-post-locked-modal {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -302,129 +362,6 @@
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
margin-right: 15px; }
|
margin-right: 15px; }
|
||||||
|
|
||||||
.editor-post-permalink {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
background: #fff;
|
|
||||||
padding: 8px 8px 0;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
height: 40px;
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 1px solid #b5bcc2;
|
|
||||||
background-clip: padding-box;
|
|
||||||
border-left: 0;
|
|
||||||
box-shadow: -3px 0 0 0 #555d66;
|
|
||||||
outline: 1px solid transparent;
|
|
||||||
margin-left: -15px;
|
|
||||||
margin-right: -15px; }
|
|
||||||
.is-dark-theme .editor-post-permalink {
|
|
||||||
box-shadow: -3px 0 0 0 #d7dade; }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-permalink {
|
|
||||||
padding: 4px; } }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-permalink {
|
|
||||||
margin-left: -1px;
|
|
||||||
margin-right: -1px; } }
|
|
||||||
.editor-post-permalink.editor-post-permalink > * {
|
|
||||||
margin-bottom: 8px; }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-permalink.editor-post-permalink > * {
|
|
||||||
margin-bottom: 0; } }
|
|
||||||
.editor-post-permalink button {
|
|
||||||
flex-shrink: 0; }
|
|
||||||
|
|
||||||
.editor-post-permalink__copy {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 6px; }
|
|
||||||
|
|
||||||
.editor-post-permalink__copy.is-copied {
|
|
||||||
opacity: 0.3; }
|
|
||||||
|
|
||||||
.editor-post-permalink__label {
|
|
||||||
margin: 0 10px 0 5px;
|
|
||||||
font-weight: 600; }
|
|
||||||
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
color: #7e8993;
|
|
||||||
text-decoration: underline;
|
|
||||||
margin-right: 10px;
|
|
||||||
flex-grow: 1;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-align: left; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor {
|
|
||||||
width: 100%;
|
|
||||||
min-width: 20%;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container {
|
|
||||||
flex: 0 1 100%;
|
|
||||||
display: flex;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 1px 0; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
|
|
||||||
flex: 1 1 auto; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix {
|
|
||||||
flex: 1 0 auto; } }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit {
|
|
||||||
flex: 1 1 100%; }
|
|
||||||
.editor-post-permalink-editor .editor-post-permalink-editor__save {
|
|
||||||
margin-left: auto; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__prefix {
|
|
||||||
color: #6c7781;
|
|
||||||
min-width: 20%;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis; }
|
|
||||||
|
|
||||||
.editor-post-permalink input[type="text"].editor-post-permalink-editor__edit {
|
|
||||||
min-width: 10%;
|
|
||||||
width: 100%;
|
|
||||||
margin: 0 3px;
|
|
||||||
padding: 2px 4px; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__suffix {
|
|
||||||
color: #6c7781;
|
|
||||||
margin-right: 6px;
|
|
||||||
flex: 0 0 0%; }
|
|
||||||
|
|
||||||
.editor-post-permalink-editor__prefix {
|
|
||||||
text-align: left; }
|
|
||||||
|
|
||||||
/* rtl:begin:ignore */
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
text-align: left; }
|
|
||||||
|
|
||||||
.editor-post-permalink__editor-container,
|
|
||||||
.editor-post-permalink__link {
|
|
||||||
direction: ltr; }
|
|
||||||
|
|
||||||
.editor-post-permalink__link::after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
-webkit-touch-callout: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
pointer-events: none;
|
|
||||||
background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 90%);
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
left: auto;
|
|
||||||
width: 20%;
|
|
||||||
height: auto; }
|
|
||||||
|
|
||||||
/* rtl:end:ignore */
|
|
||||||
.editor-post-publish-button__button.has-changes-dot::before {
|
.editor-post-publish-button__button.has-changes-dot::before {
|
||||||
background: currentcolor;
|
background: currentcolor;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -437,7 +374,7 @@
|
||||||
background: #fff; }
|
background: #fff; }
|
||||||
|
|
||||||
.editor-post-publish-panel__content {
|
.editor-post-publish-panel__content {
|
||||||
min-height: calc(100% - 140px); }
|
min-height: calc(100% - 144px); }
|
||||||
.editor-post-publish-panel__content .components-spinner {
|
.editor-post-publish-panel__content .components-spinner {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 100px auto 0; }
|
margin: 100px auto 0; }
|
||||||
|
@ -446,7 +383,7 @@
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
height: 56px;
|
height: 61px;
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -490,8 +427,6 @@
|
||||||
margin-right: -16px; }
|
margin-right: -16px; }
|
||||||
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
|
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
|
||||||
display: none; }
|
display: none; }
|
||||||
.editor-post-publish-panel__prepublish .components-datetime {
|
|
||||||
padding: 0; }
|
|
||||||
|
|
||||||
.post-publish-panel__postpublish .components-panel__body {
|
.post-publish-panel__postpublish .components-panel__body {
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
|
@ -537,25 +472,22 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
padding: 12px 4px;
|
padding: 12px 4px;
|
||||||
color: #555d66;
|
color: #757575;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap; }
|
white-space: nowrap; }
|
||||||
.editor-post-saved-state svg {
|
.editor-post-saved-state svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
margin-right: 4px;
|
fill: currentColor;
|
||||||
fill: currentColor; }
|
margin-right: 8px; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-saved-state {
|
.editor-post-saved-state {
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
text-indent: inherit; }
|
text-indent: inherit; }
|
||||||
.editor-post-saved-state .dashicon {
|
.editor-post-saved-state svg {
|
||||||
margin-right: 4px; } }
|
margin-right: 4px; } }
|
||||||
|
|
||||||
.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft {
|
|
||||||
margin: 0; }
|
|
||||||
|
|
||||||
.editor-post-taxonomies__hierarchical-terms-list {
|
.editor-post-taxonomies__hierarchical-terms-list {
|
||||||
max-height: 14em;
|
max-height: 14em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@ -584,80 +516,31 @@
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
.editor-post-text-editor {
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
border: 1px solid #e2e4e7 !important;
|
border: 1px solid #ccc;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 0 2em;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
resize: none;
|
resize: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: Menlo, Consolas, monaco, monospace !important;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
line-height: 150%;
|
line-height: 2.4;
|
||||||
border-radius: 0 !important;
|
border-radius: 0;
|
||||||
|
min-height: 200px;
|
||||||
|
padding: 16px;
|
||||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
font-size: 16px !important; }
|
font-size: 16px !important; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-text-editor {
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
font-size: 14px !important; } }
|
padding: 24px; } }
|
||||||
.editor-post-text-editor:hover, .editor-post-text-editor:focus {
|
@media (min-width: 600px) {
|
||||||
border: 1px solid #b5bcc2 !important;
|
.edit-post-text-editor__body textarea.editor-post-text-editor {
|
||||||
box-shadow: none !important;
|
font-size: 15px !important; } }
|
||||||
outline-offset: -2px !important; }
|
.edit-post-text-editor__body textarea.editor-post-text-editor:focus {
|
||||||
|
border: 1px solid #1e1e1e;
|
||||||
.editor-post-text-editor__toolbar {
|
box-shadow: none;
|
||||||
display: flex;
|
position: relative; }
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap; }
|
|
||||||
.editor-post-text-editor__toolbar button {
|
|
||||||
height: 30px;
|
|
||||||
background: none;
|
|
||||||
padding: 0 8px;
|
|
||||||
margin: 3px 4px;
|
|
||||||
text-align: center;
|
|
||||||
cursor: pointer;
|
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
|
||||||
color: #555d66;
|
|
||||||
border: 1px solid transparent; }
|
|
||||||
.editor-post-text-editor__toolbar button:first-child {
|
|
||||||
margin-left: 0; }
|
|
||||||
.editor-post-text-editor__toolbar button:hover, .editor-post-text-editor__toolbar button:focus {
|
|
||||||
outline: none;
|
|
||||||
border: 1px solid #555d66; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__bold {
|
|
||||||
font-weight: 600; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__italic {
|
|
||||||
font-style: italic; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__link {
|
|
||||||
text-decoration: underline;
|
|
||||||
color: #0085ba; }
|
|
||||||
|
|
||||||
body.admin-color-sunrise .editor-post-text-editor__link{
|
|
||||||
color: #d1864a; }
|
|
||||||
|
|
||||||
body.admin-color-ocean .editor-post-text-editor__link{
|
|
||||||
color: #a3b9a2; }
|
|
||||||
|
|
||||||
body.admin-color-midnight .editor-post-text-editor__link{
|
|
||||||
color: #e14d43; }
|
|
||||||
|
|
||||||
body.admin-color-ectoplasm .editor-post-text-editor__link{
|
|
||||||
color: #a7b656; }
|
|
||||||
|
|
||||||
body.admin-color-coffee .editor-post-text-editor__link{
|
|
||||||
color: #c2a68c; }
|
|
||||||
|
|
||||||
body.admin-color-blue .editor-post-text-editor__link{
|
|
||||||
color: #82b4cb; }
|
|
||||||
|
|
||||||
body.admin-color-light .editor-post-text-editor__link{
|
|
||||||
color: #0085ba; }
|
|
||||||
|
|
||||||
.editor-post-text-editor__del {
|
|
||||||
text-decoration: line-through; }
|
|
||||||
|
|
||||||
.edit-post-post-visibility__dialog,
|
.edit-post-post-visibility__dialog,
|
||||||
.editor-post-visibility__dialog-fieldset {
|
.editor-post-visibility__dialog-fieldset {
|
||||||
|
@ -669,9 +552,83 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
padding: 0; }
|
padding: 0; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 6px 8px;
|
||||||
|
box-shadow: 0 0 0 transparent;
|
||||||
|
transition: box-shadow 0.1s linear;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #757575;
|
||||||
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
|
font-size: 16px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal;
|
||||||
|
border: 2px solid #757575;
|
||||||
|
margin-right: 12px;
|
||||||
|
transition: none;
|
||||||
|
border-radius: 50%;
|
||||||
margin-top: 2px; }
|
margin-top: 2px; }
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
transition-duration: 0s; } }
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] {
|
||||||
|
font-size: 13px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color);
|
||||||
|
box-shadow: 0 0 0 0.5px #007cba;
|
||||||
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||||
|
outline: 2px solid transparent; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
margin: 6px 0 0 6px;
|
||||||
|
background-color: #fff; }
|
||||||
|
@media (min-width: 782px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||||
|
margin: 3px 0 0 3px; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||||
|
border-color: #757575;
|
||||||
|
box-shadow: 0 0 0 1px #757575; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked {
|
||||||
|
background: #007cba;
|
||||||
|
background: var(--wp-admin-theme-color);
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked:focus {
|
||||||
|
box-shadow: 0 0 0 1.5px #757575; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
||||||
font-weight: 600; }
|
font-weight: 600; }
|
||||||
|
@ -682,94 +639,103 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,
|
.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info {
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input {
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 6px 8px;
|
||||||
|
box-shadow: 0 0 0 transparent;
|
||||||
|
transition: box-shadow 0.1s linear;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #757575;
|
||||||
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||||
|
font-size: 16px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal;
|
||||||
margin-left: 28px; }
|
margin-left: 28px; }
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
transition-duration: 0s; } }
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"],
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] {
|
||||||
|
font-size: 13px;
|
||||||
|
/* Override core line-height. To be reviewed. */
|
||||||
|
line-height: normal; } }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:focus,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:focus {
|
||||||
|
border-color: #007cba;
|
||||||
|
border-color: var(--wp-admin-theme-color);
|
||||||
|
box-shadow: 0 0 0 0.5px #007cba;
|
||||||
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||||
|
outline: 2px solid transparent; }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder,
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||||
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder, .is-dark-theme
|
||||||
|
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
|
|
||||||
.editor-post-title__block {
|
.editor-post-title {
|
||||||
position: relative;
|
position: relative; }
|
||||||
padding: 5px 0;
|
.editor-post-title .editor-post-title__input {
|
||||||
font-size: 16px; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title__block {
|
|
||||||
padding: 5px 2px; } }
|
|
||||||
.editor-post-title__block .editor-post-title__input {
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
font-family: "Noto Serif", serif;
|
|
||||||
line-height: 1.4;
|
|
||||||
color: #191e23;
|
|
||||||
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
transition: border 0.1s ease-out, box-shadow 0.1s linear;
|
||||||
padding: 19px 14px;
|
padding: 19px 0;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
|
font-family: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
font-size: 2.44em;
|
font-size: 2.44em;
|
||||||
font-weight: 600; }
|
font-weight: bold; }
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.editor-post-title__block .editor-post-title__input {
|
.editor-post-title .editor-post-title__input {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-post-title__block .editor-post-title__input {
|
.editor-post-title .editor-post-title__input {
|
||||||
border-width: 1px;
|
border-width: 1px; } }
|
||||||
border-left-width: 0; } }
|
.editor-post-title .editor-post-title__input::-webkit-input-placeholder {
|
||||||
.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder {
|
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input::-moz-placeholder {
|
.editor-post-title .editor-post-title__input::-moz-placeholder {
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input:-ms-input-placeholder {
|
.editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
||||||
color: rgba(22, 36, 53, 0.55); }
|
color: rgba(22, 36, 53, 0.55); }
|
||||||
.editor-post-title__block .editor-post-title__input:focus {
|
.editor-post-title .editor-post-title__input:focus {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-left-width: 0;
|
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
.editor-post-title.is-focus-mode .editor-post-title__input {
|
||||||
border-color: rgba(66, 88, 99, 0.4);
|
|
||||||
box-shadow: inset 3px 0 0 0 #555d66; }
|
|
||||||
.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
border-color: rgba(255, 255, 255, 0.45);
|
|
||||||
box-shadow: inset 3px 0 0 0 #d7dade; }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
box-shadow: -3px 0 0 0 #555d66; }
|
|
||||||
.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input {
|
|
||||||
box-shadow: -3px 0 0 0 #d7dade; } }
|
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input {
|
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
transition: opacity 0.1s linear; }
|
transition: opacity 0.1s linear; }
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input {
|
.editor-post-title.is-focus-mode .editor-post-title__input {
|
||||||
transition-duration: 0s; } }
|
transition-duration: 0s; } }
|
||||||
.editor-post-title__block.is-focus-mode .editor-post-title__input:focus {
|
.editor-post-title.is-focus-mode .editor-post-title__input:focus {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
font-size: 13px;
|
|
||||||
color: #191e23;
|
|
||||||
height: auto;
|
|
||||||
position: relative;
|
|
||||||
left: 3px;
|
|
||||||
top: -2px;
|
|
||||||
width: calc(100% - 3px); }
|
|
||||||
@media (min-width: 480px) {
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
position: absolute;
|
|
||||||
top: -34px;
|
|
||||||
right: 0;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
width: auto; } }
|
|
||||||
@media (min-width: 600px) {
|
|
||||||
.editor-post-title .editor-post-permalink {
|
|
||||||
left: 2px;
|
|
||||||
right: 2px; } }
|
|
||||||
|
|
||||||
.editor-post-trash.components-button {
|
.editor-post-trash.components-button {
|
||||||
color: #b52727;
|
color: #b52727;
|
||||||
border-color: #b52727;
|
border-color: #b52727;
|
||||||
|
@ -784,21 +750,27 @@ body.admin-color-light .editor-post-text-editor__link{
|
||||||
.components-popover.table-of-contents__popover {
|
.components-popover.table-of-contents__popover {
|
||||||
z-index: 99998; }
|
z-index: 99998; }
|
||||||
|
|
||||||
.table-of-contents__popover .components-popover__content {
|
.table-of-contents__popover .components-popover__content > div {
|
||||||
padding: 16px; }
|
padding: 16px; }
|
||||||
@media (min-width: 600px) {
|
|
||||||
.table-of-contents__popover .components-popover__content {
|
@media (min-width: 600px) {
|
||||||
max-height: calc(100vh - 120px);
|
.table-of-contents__popover .components-popover__content {
|
||||||
overflow-y: auto; } }
|
max-height: calc(100vh - 120px);
|
||||||
|
overflow-y: auto; } }
|
||||||
|
|
||||||
.table-of-contents__popover hr {
|
.table-of-contents__popover hr {
|
||||||
margin: 10px -16px 0; }
|
margin: 10px -16px 0; }
|
||||||
|
|
||||||
.table-of-contents__wrapper:focus {
|
.table-of-contents__wrapper:focus::before {
|
||||||
color: #191e23;
|
content: "";
|
||||||
outline-offset: -1px;
|
display: block;
|
||||||
outline: 1px dotted #555d66;
|
position: absolute;
|
||||||
outline-offset: 8px; }
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||||
|
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||||
|
|
||||||
.table-of-contents__counts {
|
.table-of-contents__counts {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-content {
|
.block-editor-format-toolbar__image-container-content {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.block-editor-format-toolbar__image-container-content .components-button {
|
.block-editor-format-toolbar__image-container-content .components-button {
|
||||||
|
@ -88,17 +108,20 @@
|
||||||
left: auto;
|
left: auto;
|
||||||
margin: 0 5px; }
|
margin: 0 5px; }
|
||||||
|
|
||||||
.components-inline-color-popover .components-popover__content {
|
.components-inline-color-popover .components-popover__content > div {
|
||||||
padding: 20px 18px; }
|
padding: 20px 18px; }
|
||||||
.components-inline-color-popover .components-popover__content .components-color-palette {
|
|
||||||
margin-top: 0.6rem; }
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
||||||
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
margin-top: 0.6rem; }
|
||||||
display: block;
|
|
||||||
margin-bottom: 16px;
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
||||||
font-weight: 600;
|
display: block;
|
||||||
color: #191e23; }
|
margin-bottom: 16px;
|
||||||
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
font-weight: 600;
|
||||||
vertical-align: text-bottom; }
|
color: #191e23; }
|
||||||
|
|
||||||
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
||||||
|
vertical-align: text-bottom; }
|
||||||
|
|
||||||
.format-library-text-color-button {
|
.format-library-text-color-button {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
@ -107,5 +130,5 @@
|
||||||
height: 4px;
|
height: 4px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 6px;
|
bottom: 10px;
|
||||||
right: 8px; }
|
right: 8px; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:6px;right:8px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;right:8px}
|
|
@ -8,12 +8,27 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Grid System.
|
* Grid System.
|
||||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -42,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.block-editor-format-toolbar__image-container-content {
|
.block-editor-format-toolbar__image-container-content {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.block-editor-format-toolbar__image-container-content .components-button {
|
.block-editor-format-toolbar__image-container-content .components-button {
|
||||||
|
@ -88,17 +108,20 @@
|
||||||
right: auto;
|
right: auto;
|
||||||
margin: 0 5px; }
|
margin: 0 5px; }
|
||||||
|
|
||||||
.components-inline-color-popover .components-popover__content {
|
.components-inline-color-popover .components-popover__content > div {
|
||||||
padding: 20px 18px; }
|
padding: 20px 18px; }
|
||||||
.components-inline-color-popover .components-popover__content .components-color-palette {
|
|
||||||
margin-top: 0.6rem; }
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
||||||
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
margin-top: 0.6rem; }
|
||||||
display: block;
|
|
||||||
margin-bottom: 16px;
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
||||||
font-weight: 600;
|
display: block;
|
||||||
color: #191e23; }
|
margin-bottom: 16px;
|
||||||
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
font-weight: 600;
|
||||||
vertical-align: text-bottom; }
|
color: #191e23; }
|
||||||
|
|
||||||
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
||||||
|
vertical-align: text-bottom; }
|
||||||
|
|
||||||
.format-library-text-color-button {
|
.format-library-text-color-button {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
@ -107,5 +130,5 @@
|
||||||
height: 4px;
|
height: 4px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 6px;
|
bottom: 10px;
|
||||||
left: 8px; }
|
left: 8px; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:6px;left:8px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;left:8px}
|
|
@ -8,7 +8,26 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
|
@ -20,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -38,7 +57,12 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content {
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
||||||
padding: 10px; }
|
padding: 10px; }
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__label {
|
.list-reusable-blocks-import-form__label {
|
||||||
|
@ -59,3 +83,38 @@
|
||||||
top: -3px; }
|
top: -3px; }
|
||||||
.list-reusable-blocks__container .components-button {
|
.list-reusable-blocks__container .components-button {
|
||||||
height: 26px; }
|
height: 26px; }
|
||||||
|
|
||||||
|
body.admin-color-light {
|
||||||
|
--wp-admin-theme-color: #0085ba;
|
||||||
|
--wp-admin-theme-color-darker-10: #0073a1;
|
||||||
|
--wp-admin-theme-color-darker-20: #006187; }
|
||||||
|
|
||||||
|
body.admin-color-blue {
|
||||||
|
--wp-admin-theme-color: #096484;
|
||||||
|
--wp-admin-theme-color-darker-10: #07526c;
|
||||||
|
--wp-admin-theme-color-darker-20: #064054; }
|
||||||
|
|
||||||
|
body.admin-color-coffee {
|
||||||
|
--wp-admin-theme-color: #46403c;
|
||||||
|
--wp-admin-theme-color-darker-10: #383330;
|
||||||
|
--wp-admin-theme-color-darker-20: #2b2724; }
|
||||||
|
|
||||||
|
body.admin-color-ectoplasm {
|
||||||
|
--wp-admin-theme-color: #523f6d;
|
||||||
|
--wp-admin-theme-color-darker-10: #46365d;
|
||||||
|
--wp-admin-theme-color-darker-20: #3a2c4d; }
|
||||||
|
|
||||||
|
body.admin-color-midnight {
|
||||||
|
--wp-admin-theme-color: #e14d43;
|
||||||
|
--wp-admin-theme-color-darker-10: #dd382d;
|
||||||
|
--wp-admin-theme-color-darker-20: #d02c21; }
|
||||||
|
|
||||||
|
body.admin-color-ocean {
|
||||||
|
--wp-admin-theme-color: #627c83;
|
||||||
|
--wp-admin-theme-color-darker-10: #576e74;
|
||||||
|
--wp-admin-theme-color-darker-20: #4c6066; }
|
||||||
|
|
||||||
|
body.admin-color-sunrise {
|
||||||
|
--wp-admin-theme-color: #dd823b;
|
||||||
|
--wp-admin-theme-color-darker-10: #d97426;
|
||||||
|
--wp-admin-theme-color-darker-20: #c36922; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
|
@ -8,7 +8,26 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
|
@ -20,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -38,7 +57,12 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content {
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
|
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
||||||
padding: 10px; }
|
padding: 10px; }
|
||||||
|
|
||||||
.list-reusable-blocks-import-form__label {
|
.list-reusable-blocks-import-form__label {
|
||||||
|
@ -59,3 +83,38 @@
|
||||||
top: -3px; }
|
top: -3px; }
|
||||||
.list-reusable-blocks__container .components-button {
|
.list-reusable-blocks__container .components-button {
|
||||||
height: 26px; }
|
height: 26px; }
|
||||||
|
|
||||||
|
body.admin-color-light {
|
||||||
|
--wp-admin-theme-color: #0085ba;
|
||||||
|
--wp-admin-theme-color-darker-10: #0073a1;
|
||||||
|
--wp-admin-theme-color-darker-20: #006187; }
|
||||||
|
|
||||||
|
body.admin-color-blue {
|
||||||
|
--wp-admin-theme-color: #096484;
|
||||||
|
--wp-admin-theme-color-darker-10: #07526c;
|
||||||
|
--wp-admin-theme-color-darker-20: #064054; }
|
||||||
|
|
||||||
|
body.admin-color-coffee {
|
||||||
|
--wp-admin-theme-color: #46403c;
|
||||||
|
--wp-admin-theme-color-darker-10: #383330;
|
||||||
|
--wp-admin-theme-color-darker-20: #2b2724; }
|
||||||
|
|
||||||
|
body.admin-color-ectoplasm {
|
||||||
|
--wp-admin-theme-color: #523f6d;
|
||||||
|
--wp-admin-theme-color-darker-10: #46365d;
|
||||||
|
--wp-admin-theme-color-darker-20: #3a2c4d; }
|
||||||
|
|
||||||
|
body.admin-color-midnight {
|
||||||
|
--wp-admin-theme-color: #e14d43;
|
||||||
|
--wp-admin-theme-color-darker-10: #dd382d;
|
||||||
|
--wp-admin-theme-color-darker-20: #d02c21; }
|
||||||
|
|
||||||
|
body.admin-color-ocean {
|
||||||
|
--wp-admin-theme-color: #627c83;
|
||||||
|
--wp-admin-theme-color-darker-10: #576e74;
|
||||||
|
--wp-admin-theme-color-darker-20: #4c6066; }
|
||||||
|
|
||||||
|
body.admin-color-sunrise {
|
||||||
|
--wp-admin-theme-color: #dd823b;
|
||||||
|
--wp-admin-theme-color-darker-10: #d97426;
|
||||||
|
--wp-admin-theme-color-darker-20: #c36922; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
|
@ -8,7 +8,26 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
|
@ -20,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -38,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.nux-dot-tip::before, .nux-dot-tip::after {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
@ -66,8 +90,9 @@
|
||||||
transform: scale(1); } }
|
transform: scale(1); } }
|
||||||
|
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
padding: 5px 20px 5px 41px;
|
|
||||||
width: 350px; }
|
width: 350px; }
|
||||||
|
.nux-dot-tip .components-popover__content > div {
|
||||||
|
padding: 20px 18px; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 450px; } }
|
width: 450px; } }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
|
@ -8,7 +8,26 @@
|
||||||
* Colors
|
* Colors
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Often re-used variables
|
* Fonts & basic variables.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Grid System.
|
||||||
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Dimensions.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Shadows.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Editor widths.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Block UI.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Border radii.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Breakpoint mixins
|
* Breakpoint mixins
|
||||||
|
@ -20,7 +39,7 @@
|
||||||
* than the space allows.
|
* than the space allows.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Button states and focus styles
|
* Focus styles.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Applies editor left position to the selector passed as argument
|
* Applies editor left position to the selector passed as argument
|
||||||
|
@ -38,6 +57,11 @@
|
||||||
/**
|
/**
|
||||||
* Reset the WP Admin page styles for Gutenberg-like pages.
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
||||||
*/
|
*/
|
||||||
|
:root {
|
||||||
|
--wp-admin-theme-color: #007cba;
|
||||||
|
--wp-admin-theme-color-darker-10: #006ba1;
|
||||||
|
--wp-admin-theme-color-darker-20: #005a87; }
|
||||||
|
|
||||||
.nux-dot-tip::before, .nux-dot-tip::after {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
@ -66,8 +90,9 @@
|
||||||
transform: scale(1); } }
|
transform: scale(1); } }
|
||||||
|
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
padding: 5px 41px 5px 20px;
|
|
||||||
width: 350px; }
|
width: 350px; }
|
||||||
|
.nux-dot-tip .components-popover__content > div {
|
||||||
|
padding: 20px 18px; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.nux-dot-tip .components-popover__content {
|
.nux-dot-tip .components-popover__content {
|
||||||
width: 450px; } }
|
width: 450px; } }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||||
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||||
|
|
|
@ -82,71 +82,115 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 445);
|
/******/ return __webpack_require__(__webpack_require__.s = 455);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 260:
|
/***/ 1:
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = this["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 252:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["domReady"]; }());
|
(function() { module.exports = this["wp"]["domReady"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 445:
|
/***/ 455:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
||||||
var external_this_wp_domReady_ = __webpack_require__(260);
|
var external_this_wp_domReady_ = __webpack_require__(252);
|
||||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js
|
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||||
|
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Build the explanatory text to be placed before the aria live regions.
|
||||||
|
*
|
||||||
|
* This text is initially hidden from assistive technologies by using a `hidden`
|
||||||
|
* HTML attribute which is then removed once a message fills the aria-live regions.
|
||||||
|
*
|
||||||
|
* @return {HTMLParagraphElement} The explanatory text HTML element.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function addIntroText() {
|
||||||
|
var introText = document.createElement('p');
|
||||||
|
introText.id = 'a11y-speak-intro-text';
|
||||||
|
introText.className = 'a11y-speak-intro-text';
|
||||||
|
introText.textContent = Object(external_this_wp_i18n_["__"])('Notifications');
|
||||||
|
introText.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;');
|
||||||
|
introText.setAttribute('hidden', 'hidden');
|
||||||
|
var _document = document,
|
||||||
|
body = _document.body;
|
||||||
|
|
||||||
|
if (body) {
|
||||||
|
body.appendChild(introText);
|
||||||
|
}
|
||||||
|
|
||||||
|
return introText;
|
||||||
|
}
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-container.js
|
||||||
/**
|
/**
|
||||||
* Build the live regions markup.
|
* Build the live regions markup.
|
||||||
*
|
*
|
||||||
* @param {string} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'.
|
* @param {string} [ariaLive] Value for the 'aria-live' attribute; default: 'polite'.
|
||||||
*
|
*
|
||||||
* @return {HTMLDivElement} The ARIA live region HTML element.
|
* @return {HTMLDivElement} The ARIA live region HTML element.
|
||||||
*/
|
*/
|
||||||
var addContainer = function addContainer(ariaLive) {
|
function addContainer() {
|
||||||
ariaLive = ariaLive || 'polite';
|
var ariaLive = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'polite';
|
||||||
var container = document.createElement('div');
|
var container = document.createElement('div');
|
||||||
container.id = 'a11y-speak-' + ariaLive;
|
container.id = "a11y-speak-".concat(ariaLive);
|
||||||
container.className = 'a11y-speak-region';
|
container.className = 'a11y-speak-region';
|
||||||
container.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;');
|
container.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;');
|
||||||
container.setAttribute('aria-live', ariaLive);
|
container.setAttribute('aria-live', ariaLive);
|
||||||
container.setAttribute('aria-relevant', 'additions text');
|
container.setAttribute('aria-relevant', 'additions text');
|
||||||
container.setAttribute('aria-atomic', 'true');
|
container.setAttribute('aria-atomic', 'true');
|
||||||
var body = document.querySelector('body');
|
var _document = document,
|
||||||
|
body = _document.body;
|
||||||
|
|
||||||
if (body) {
|
if (body) {
|
||||||
body.appendChild(container);
|
body.appendChild(container);
|
||||||
}
|
}
|
||||||
|
|
||||||
return container;
|
return container;
|
||||||
};
|
}
|
||||||
|
|
||||||
/* harmony default export */ var build_module_addContainer = (addContainer);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/clear.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/clear.js
|
||||||
/**
|
/**
|
||||||
* Clear the a11y-speak-region elements.
|
* Clears the a11y-speak-region elements and hides the explanatory text.
|
||||||
*/
|
*/
|
||||||
var clear = function clear() {
|
function clear() {
|
||||||
var regions = document.querySelectorAll('.a11y-speak-region');
|
var regions = document.getElementsByClassName('a11y-speak-region');
|
||||||
|
var introText = document.getElementById('a11y-speak-intro-text');
|
||||||
|
|
||||||
for (var i = 0; i < regions.length; i++) {
|
for (var i = 0; i < regions.length; i++) {
|
||||||
regions[i].textContent = '';
|
regions[i].textContent = '';
|
||||||
|
} // Make sure the explanatory text is hidden from assistive technologies.
|
||||||
|
|
||||||
|
|
||||||
|
if (introText) {
|
||||||
|
introText.setAttribute('hidden', 'hidden');
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
/* harmony default export */ var build_module_clear = (clear);
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filter-message.js
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filterMessage.js
|
|
||||||
var previousMessage = '';
|
var previousMessage = '';
|
||||||
/**
|
/**
|
||||||
* Filter the message to be announced to the screenreader.
|
* Filter the message to be announced to the screenreader.
|
||||||
|
@ -156,7 +200,7 @@ var previousMessage = '';
|
||||||
* @return {string} The filtered message.
|
* @return {string} The filtered message.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var filterMessage = function filterMessage(message) {
|
function filterMessage(message) {
|
||||||
/*
|
/*
|
||||||
* Strip HTML tags (if any) from the message string. Ideally, messages should
|
* Strip HTML tags (if any) from the message string. Ideally, messages should
|
||||||
* be simple strings, carefully crafted for specific use with A11ySpeak.
|
* be simple strings, carefully crafted for specific use with A11ySpeak.
|
||||||
|
@ -165,6 +209,10 @@ var filterMessage = function filterMessage(message) {
|
||||||
* spaces natively.
|
* spaces natively.
|
||||||
*/
|
*/
|
||||||
message = message.replace(/<[^<>]+>/g, ' ');
|
message = message.replace(/<[^<>]+>/g, ' ');
|
||||||
|
/*
|
||||||
|
* Safari + VoiceOver don't announce repeated, identical strings. We use
|
||||||
|
* a `no-break space` to force them to think identical strings are different.
|
||||||
|
*/
|
||||||
|
|
||||||
if (previousMessage === message) {
|
if (previousMessage === message) {
|
||||||
message += "\xA0";
|
message += "\xA0";
|
||||||
|
@ -172,13 +220,11 @@ var filterMessage = function filterMessage(message) {
|
||||||
|
|
||||||
previousMessage = message;
|
previousMessage = message;
|
||||||
return message;
|
return message;
|
||||||
};
|
}
|
||||||
|
|
||||||
/* harmony default export */ var build_module_filterMessage = (filterMessage);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js
|
// 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__, "setup", function() { return setup; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "speak", function() { return build_module_speak; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "speak", function() { return speak; });
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
@ -190,34 +236,39 @@ var filterMessage = function filterMessage(message) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the live regions.
|
* Create the live regions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var build_module_setup = function setup() {
|
function setup() {
|
||||||
var containerPolite = document.getElementById('a11y-speak-polite');
|
var introText = document.getElementById('a11y-speak-intro-text');
|
||||||
var containerAssertive = document.getElementById('a11y-speak-assertive');
|
var containerAssertive = document.getElementById('a11y-speak-assertive');
|
||||||
|
var containerPolite = document.getElementById('a11y-speak-polite');
|
||||||
|
|
||||||
if (containerPolite === null) {
|
if (introText === null) {
|
||||||
build_module_addContainer('polite');
|
addIntroText();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (containerAssertive === null) {
|
if (containerAssertive === null) {
|
||||||
build_module_addContainer('assertive');
|
addContainer('assertive');
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
if (containerPolite === null) {
|
||||||
|
addContainer('polite');
|
||||||
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Run setup on domReady.
|
* Run setup on domReady.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
external_this_wp_domReady_default()(build_module_setup);
|
external_this_wp_domReady_default()(setup);
|
||||||
/**
|
/**
|
||||||
* Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions.
|
* Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions.
|
||||||
* This module is inspired by the `speak` function in wp-a11y.js
|
* This module is inspired by the `speak` function in `wp-a11y.js`.
|
||||||
*
|
*
|
||||||
* @param {string} message The message to be announced by Assistive Technologies.
|
* @param {string} message The message to be announced by assistive technologies.
|
||||||
* @param {string} ariaLive Optional. The politeness level for aria-live. Possible values:
|
* @param {string} [ariaLive] The politeness level for aria-live; default: 'polite'.
|
||||||
* polite or assertive. Default polite.
|
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* ```js
|
* ```js
|
||||||
|
@ -231,19 +282,32 @@ external_this_wp_domReady_default()(build_module_setup);
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var build_module_speak = function speak(message, ariaLive) {
|
function speak(message, ariaLive) {
|
||||||
// Clear previous messages to allow repeated strings being read out.
|
/*
|
||||||
build_module_clear();
|
* Clear previous messages to allow repeated strings being read out and hide
|
||||||
message = build_module_filterMessage(message);
|
* the explanatory text from assistive technologies.
|
||||||
var containerPolite = document.getElementById('a11y-speak-polite');
|
*/
|
||||||
|
clear();
|
||||||
|
message = filterMessage(message);
|
||||||
|
var introText = document.getElementById('a11y-speak-intro-text');
|
||||||
var containerAssertive = document.getElementById('a11y-speak-assertive');
|
var containerAssertive = document.getElementById('a11y-speak-assertive');
|
||||||
|
var containerPolite = document.getElementById('a11y-speak-polite');
|
||||||
|
|
||||||
if (containerAssertive && 'assertive' === ariaLive) {
|
if (containerAssertive && ariaLive === 'assertive') {
|
||||||
containerAssertive.textContent = message;
|
containerAssertive.textContent = message;
|
||||||
} else if (containerPolite) {
|
} else if (containerPolite) {
|
||||||
containerPolite.textContent = message;
|
containerPolite.textContent = message;
|
||||||
}
|
}
|
||||||
};
|
/*
|
||||||
|
* Make the explanatory text available to assistive technologies by removing
|
||||||
|
* the 'hidden' HTML attribute.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
if (introText) {
|
||||||
|
introText.removeAttribute('hidden');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
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=445)}({260:function(e,t){!function(){e.exports=this.wp.domReady}()},445:function(e,t,n){"use strict";n.r(t);var r=n(260),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");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");var n=document.querySelector("body");return n&&n.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&&i("polite"),null===t&&i("assertive")};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
|
this.wp=this.wp||{},this.wp.a11y=function(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=455)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},252:function(t,e){!function(){t.exports=this.wp.domReady}()},455:function(t,e,n){"use strict";n.r(e);var r=n(252),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.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;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var u="";function p(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),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("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),u===t&&(t+=" "),u=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}n.d(e,"setup",(function(){return p})),n.d(e,"speak",(function(){return d})),i()(p)}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 435);
|
/******/ return __webpack_require__(__webpack_require__.s = 444);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
@ -94,119 +94,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 116:
|
/***/ 14:
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
// Unique ID creation requires a high quality random # generator. In the
|
|
||||||
// browser this is a little complicated due to unknown quality of Math.random()
|
|
||||||
// and inconsistent support for the `crypto` API. We do the best we can via
|
|
||||||
// feature-detection
|
|
||||||
|
|
||||||
// getRandomValues needs to be invoked in a context where "this" is a Crypto
|
|
||||||
// implementation. Also, find the complete implementation of crypto on IE11.
|
|
||||||
var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
|
|
||||||
(typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
|
|
||||||
|
|
||||||
if (getRandomValues) {
|
|
||||||
// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
|
|
||||||
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
|
|
||||||
|
|
||||||
module.exports = function whatwgRNG() {
|
|
||||||
getRandomValues(rnds8);
|
|
||||||
return rnds8;
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
// Math.random()-based (RNG)
|
|
||||||
//
|
|
||||||
// If all else fails, use Math.random(). It's fast, but is of unspecified
|
|
||||||
// quality.
|
|
||||||
var rnds = new Array(16);
|
|
||||||
|
|
||||||
module.exports = function mathRNG() {
|
|
||||||
for (var i = 0, r; i < 16; i++) {
|
|
||||||
if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
|
|
||||||
rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
|
|
||||||
}
|
|
||||||
|
|
||||||
return rnds;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 117:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert array of 16 byte values to UUID string format of the form:
|
|
||||||
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
||||||
*/
|
|
||||||
var byteToHex = [];
|
|
||||||
for (var i = 0; i < 256; ++i) {
|
|
||||||
byteToHex[i] = (i + 0x100).toString(16).substr(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
function bytesToUuid(buf, offset) {
|
|
||||||
var i = offset || 0;
|
|
||||||
var bth = byteToHex;
|
|
||||||
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
|
|
||||||
return ([bth[buf[i++]], bth[buf[i++]],
|
|
||||||
bth[buf[i++]], bth[buf[i++]], '-',
|
|
||||||
bth[buf[i++]], bth[buf[i++]], '-',
|
|
||||||
bth[buf[i++]], bth[buf[i++]], '-',
|
|
||||||
bth[buf[i++]], bth[buf[i++]], '-',
|
|
||||||
bth[buf[i++]], bth[buf[i++]],
|
|
||||||
bth[buf[i++]], bth[buf[i++]],
|
|
||||||
bth[buf[i++]], bth[buf[i++]]]).join('');
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = bytesToUuid;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 18:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
||||||
var arrayLikeToArray = __webpack_require__(25);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
||||||
|
|
||||||
function _arrayWithoutHoles(arr) {
|
|
||||||
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
|
|
||||||
}
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
||||||
var iterableToArray = __webpack_require__(35);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
||||||
var unsupportedIterableToArray = __webpack_require__(27);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
||||||
function _nonIterableSpread() {
|
|
||||||
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
||||||
}
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function _toConsumableArray(arr) {
|
|
||||||
return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
|
|
||||||
}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 19:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||||
|
|
||||||
function _objectWithoutProperties(source, excluded) {
|
function _objectWithoutProperties(source, excluded) {
|
||||||
if (source == null) return {};
|
if (source == null) return {};
|
||||||
|
@ -229,6 +122,41 @@ function _objectWithoutProperties(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 16:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
||||||
|
var arrayLikeToArray = __webpack_require__(26);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
||||||
|
|
||||||
|
function _arrayWithoutHoles(arr) {
|
||||||
|
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
|
||||||
|
}
|
||||||
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
||||||
|
var iterableToArray = __webpack_require__(35);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||||
|
var unsupportedIterableToArray = __webpack_require__(28);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||||
|
function _nonIterableSpread() {
|
||||||
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||||
|
}
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function _toConsumableArray(arr) {
|
||||||
|
return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
|
||||||
|
}
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ 2:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
@ -236,14 +164,14 @@ function _objectWithoutProperties(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 24:
|
/***/ 25:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["richText"]; }());
|
(function() { module.exports = this["wp"]["richText"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 25:
|
/***/ 26:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -260,25 +188,25 @@ function _arrayLikeToArray(arr, len) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 27:
|
/***/ 28:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) {
|
function _unsupportedIterableToArray(o, minLen) {
|
||||||
if (!o) return;
|
if (!o) return;
|
||||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||||
if (n === "Map" || n === "Set") return Array.from(n);
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 32:
|
/***/ 31:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
(function() { module.exports = this["wp"]["hooks"]; }());
|
||||||
|
@ -303,7 +231,7 @@ function _iterableToArray(iter) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 40:
|
/***/ 41:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -585,7 +513,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 43:
|
/***/ 42:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -607,7 +535,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 435:
|
/***/ 444:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -615,7 +543,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
var selectors_namespaceObject = {};
|
var selectors_namespaceObject = {};
|
||||||
__webpack_require__.r(selectors_namespaceObject);
|
__webpack_require__.r(selectors_namespaceObject);
|
||||||
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForBlock", function() { return __experimentalGetAnnotationsForBlock; });
|
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForBlock", function() { return __experimentalGetAnnotationsForBlock; });
|
||||||
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllAnnotationsForBlock", function() { return selectors_experimentalGetAllAnnotationsForBlock; });
|
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllAnnotationsForBlock", function() { return __experimentalGetAllAnnotationsForBlock; });
|
||||||
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForRichText", function() { return __experimentalGetAnnotationsForRichText; });
|
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForRichText", function() { return __experimentalGetAnnotationsForRichText; });
|
||||||
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotations", function() { return __experimentalGetAnnotations; });
|
__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotations", function() { return __experimentalGetAnnotations; });
|
||||||
var actions_namespaceObject = {};
|
var actions_namespaceObject = {};
|
||||||
|
@ -629,7 +557,7 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsB
|
||||||
var external_this_wp_data_ = __webpack_require__(4);
|
var external_this_wp_data_ = __webpack_require__(4);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||||
var toConsumableArray = __webpack_require__(18);
|
var toConsumableArray = __webpack_require__(16);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||||
var defineProperty = __webpack_require__(5);
|
var defineProperty = __webpack_require__(5);
|
||||||
|
@ -746,10 +674,10 @@ function reducer_annotations() {
|
||||||
/* harmony default export */ var reducer = (reducer_annotations);
|
/* harmony default export */ var reducer = (reducer_annotations);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||||
var objectWithoutProperties = __webpack_require__(19);
|
var objectWithoutProperties = __webpack_require__(14);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||||
var rememo = __webpack_require__(40);
|
var rememo = __webpack_require__(41);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||||
|
|
||||||
|
@ -791,9 +719,9 @@ var __experimentalGetAnnotationsForBlock = Object(rememo["a" /* default */])(fun
|
||||||
}, function (state, blockClientId) {
|
}, function (state, blockClientId) {
|
||||||
return [Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY)];
|
return [Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY)];
|
||||||
});
|
});
|
||||||
var selectors_experimentalGetAllAnnotationsForBlock = function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
|
function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
|
||||||
return Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY);
|
return Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY);
|
||||||
};
|
}
|
||||||
/**
|
/**
|
||||||
* Returns the annotations that apply to the given RichText instance.
|
* Returns the annotations that apply to the given RichText instance.
|
||||||
*
|
*
|
||||||
|
@ -832,15 +760,81 @@ function __experimentalGetAnnotations(state) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/uuid/v4.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/rng.js
|
||||||
var v4 = __webpack_require__(83);
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
||||||
var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
|
// require the crypto API and do not support built-in fallback to lower quality random number
|
||||||
|
// generators (like Math.random()).
|
||||||
|
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
||||||
|
// find the complete implementation of crypto (msCrypto) on IE11.
|
||||||
|
var getRandomValues = typeof crypto != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != 'undefined' && typeof msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
||||||
|
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
|
||||||
|
|
||||||
|
function rng() {
|
||||||
|
if (!getRandomValues) {
|
||||||
|
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
||||||
|
}
|
||||||
|
|
||||||
|
return getRandomValues(rnds8);
|
||||||
|
}
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/bytesToUuid.js
|
||||||
|
/**
|
||||||
|
* Convert array of 16 byte values to UUID string format of the form:
|
||||||
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
||||||
|
*/
|
||||||
|
var byteToHex = [];
|
||||||
|
|
||||||
|
for (var bytesToUuid_i = 0; bytesToUuid_i < 256; ++bytesToUuid_i) {
|
||||||
|
byteToHex[bytesToUuid_i] = (bytesToUuid_i + 0x100).toString(16).substr(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
function bytesToUuid(buf, offset) {
|
||||||
|
var i = offset || 0;
|
||||||
|
var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
|
||||||
|
|
||||||
|
return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join('');
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var esm_browser_bytesToUuid = (bytesToUuid);
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/v4.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function v4(options, buf, offset) {
|
||||||
|
var i = buf && offset || 0;
|
||||||
|
|
||||||
|
if (typeof options == 'string') {
|
||||||
|
buf = options === 'binary' ? new Array(16) : null;
|
||||||
|
options = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
options = options || {};
|
||||||
|
var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
||||||
|
|
||||||
|
rnds[6] = rnds[6] & 0x0f | 0x40;
|
||||||
|
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
||||||
|
|
||||||
|
if (buf) {
|
||||||
|
for (var ii = 0; ii < 16; ++ii) {
|
||||||
|
buf[i + ii] = rnds[ii];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return buf || esm_browser_bytesToUuid(rnds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var esm_browser_v4 = (v4);
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef WPAnnotationRange
|
||||||
|
*
|
||||||
|
* @property {number} start The offset where the annotation should start.
|
||||||
|
* @property {number} end The offset where the annotation should end.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an annotation to a block.
|
* Adds an annotation to a block.
|
||||||
*
|
*
|
||||||
|
@ -851,15 +845,13 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
|
||||||
*
|
*
|
||||||
* The `range` property is only relevant if the selector is 'range'.
|
* The `range` property is only relevant if the selector is 'range'.
|
||||||
*
|
*
|
||||||
* @param {Object} annotation The annotation to add.
|
* @param {Object} annotation The annotation to add.
|
||||||
* @param {string} annotation.blockClientId The blockClientId to add the annotation to.
|
* @param {string} annotation.blockClientId The blockClientId to add the annotation to.
|
||||||
* @param {string} annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
|
* @param {string} annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
|
||||||
* @param {Object} annotation.range The range at which to apply this annotation.
|
* @param {WPAnnotationRange} annotation.range The range at which to apply this annotation.
|
||||||
* @param {number} annotation.range.start The offset where the annotation should start.
|
* @param {string} [annotation.selector="range"] The way to apply this annotation.
|
||||||
* @param {number} annotation.range.end The offset where the annotation should end.
|
* @param {string} [annotation.source="default"] The source that added the annotation.
|
||||||
* @param {string} annotation.[selector="range"] The way to apply this annotation.
|
* @param {string} [annotation.id] The ID the annotation should have. Generates a UUID by default.
|
||||||
* @param {string} annotation.[source="default"] The source that added the annotation.
|
|
||||||
* @param {string} annotation.[id] The ID the annotation should have. Generates a UUID by default.
|
|
||||||
*
|
*
|
||||||
* @return {Object} Action object.
|
* @return {Object} Action object.
|
||||||
*/
|
*/
|
||||||
|
@ -875,7 +867,7 @@ function __experimentalAddAnnotation(_ref) {
|
||||||
_ref$source = _ref.source,
|
_ref$source = _ref.source,
|
||||||
source = _ref$source === void 0 ? 'default' : _ref$source,
|
source = _ref$source === void 0 ? 'default' : _ref$source,
|
||||||
_ref$id = _ref.id,
|
_ref$id = _ref.id,
|
||||||
id = _ref$id === void 0 ? v4_default()() : _ref$id;
|
id = _ref$id === void 0 ? esm_browser_v4() : _ref$id;
|
||||||
var action = {
|
var action = {
|
||||||
type: 'ANNOTATION_ADD',
|
type: 'ANNOTATION_ADD',
|
||||||
id: id,
|
id: id,
|
||||||
|
@ -963,7 +955,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, {
|
||||||
/* harmony default export */ var build_module_store = (store);
|
/* harmony default export */ var build_module_store = (store);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
||||||
var external_this_wp_richText_ = __webpack_require__(24);
|
var external_this_wp_richText_ = __webpack_require__(25);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||||
|
@ -1159,7 +1151,7 @@ var format_name = annotation_annotation.name,
|
||||||
Object(external_this_wp_richText_["registerFormatType"])(format_name, settings);
|
Object(external_this_wp_richText_["registerFormatType"])(format_name, settings);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||||
var external_this_wp_hooks_ = __webpack_require__(32);
|
var external_this_wp_hooks_ = __webpack_require__(31);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
||||||
/**
|
/**
|
||||||
|
@ -1222,42 +1214,6 @@ function _defineProperty(obj, key, value) {
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 83:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
var rng = __webpack_require__(116);
|
|
||||||
var bytesToUuid = __webpack_require__(117);
|
|
||||||
|
|
||||||
function v4(options, buf, offset) {
|
|
||||||
var i = buf && offset || 0;
|
|
||||||
|
|
||||||
if (typeof(options) == 'string') {
|
|
||||||
buf = options === 'binary' ? new Array(16) : null;
|
|
||||||
options = null;
|
|
||||||
}
|
|
||||||
options = options || {};
|
|
||||||
|
|
||||||
var rnds = options.random || (options.rng || rng)();
|
|
||||||
|
|
||||||
// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
||||||
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
||||||
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
||||||
|
|
||||||
// Copy bytes to buffer, if provided
|
|
||||||
if (buf) {
|
|
||||||
for (var ii = 0; ii < 16; ++ii) {
|
|
||||||
buf[i + ii] = rnds[ii];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return buf || bytesToUuid(rnds);
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = v4;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 434);
|
/******/ return __webpack_require__(__webpack_require__.s = 447);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
@ -94,12 +94,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 19:
|
/***/ 14:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||||
|
|
||||||
function _objectWithoutProperties(source, excluded) {
|
function _objectWithoutProperties(source, excluded) {
|
||||||
if (source == null) return {};
|
if (source == null) return {};
|
||||||
|
@ -136,7 +136,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 43:
|
/***/ 42:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -158,7 +158,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 434:
|
/***/ 447:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -168,7 +168,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
var defineProperty = __webpack_require__(5);
|
var defineProperty = __webpack_require__(5);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||||
var objectWithoutProperties = __webpack_require__(19);
|
var objectWithoutProperties = __webpack_require__(14);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||||
|
@ -346,7 +346,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(23);
|
||||||
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
|
var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||||
var asyncToGenerator = __webpack_require__(49);
|
var asyncToGenerator = __webpack_require__(46);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||||
var external_this_wp_url_ = __webpack_require__(30);
|
var external_this_wp_url_ = __webpack_require__(30);
|
||||||
|
@ -364,6 +364,11 @@ function fetch_all_middleware_objectSpread(target) { for (var i = 1; i < argumen
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
// Apply query arguments to both URL and Path, whichever is present.
|
// Apply query arguments to both URL and Path, whichever is present.
|
||||||
|
|
||||||
var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) {
|
var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) {
|
||||||
|
@ -409,12 +414,8 @@ var requestContainsUnboundedQuery = function requestContainsUnboundedQuery(optio
|
||||||
// then recursively assemble a full response array from all available pages.
|
// then recursively assemble a full response array from all available pages.
|
||||||
|
|
||||||
|
|
||||||
var fetchAllMiddleware =
|
var fetchAllMiddleware = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/external_this_regeneratorRuntime_default.a.mark(function _callee(options, next) {
|
||||||
function () {
|
|
||||||
var _ref2 = Object(asyncToGenerator["a" /* default */])(
|
|
||||||
/*#__PURE__*/
|
|
||||||
external_this_regeneratorRuntime_default.a.mark(function _callee(options, next) {
|
|
||||||
var response, results, nextPage, mergedResults, nextResponse, nextResults;
|
var response, results, nextPage, mergedResults, nextResponse, nextResults;
|
||||||
return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) {
|
return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
@ -437,7 +438,7 @@ function () {
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
_context.next = 6;
|
_context.next = 6;
|
||||||
return next(fetch_all_middleware_objectSpread({}, fetch_all_middleware_modifyQuery(options, {
|
return build_module(fetch_all_middleware_objectSpread({}, fetch_all_middleware_modifyQuery(options, {
|
||||||
per_page: 100
|
per_page: 100
|
||||||
}), {
|
}), {
|
||||||
// Ensure headers are returned for page 1.
|
// Ensure headers are returned for page 1.
|
||||||
|
@ -480,7 +481,7 @@ function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
_context.next = 19;
|
_context.next = 19;
|
||||||
return next(fetch_all_middleware_objectSpread({}, options, {
|
return build_module(fetch_all_middleware_objectSpread({}, options, {
|
||||||
// Ensure the URL for the next page is used instead of any provided path.
|
// Ensure the URL for the next page is used instead of any provided path.
|
||||||
path: undefined,
|
path: undefined,
|
||||||
url: nextPage,
|
url: nextPage,
|
||||||
|
@ -913,7 +914,7 @@ apiFetch.mediaUploadMiddleware = media_upload;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 49:
|
/***/ 46:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 279);
|
/******/ return __webpack_require__(__webpack_require__.s = 277);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 20:
|
/***/ 15:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -123,7 +123,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||||
return _arr;
|
return _arr;
|
||||||
}
|
}
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||||
var unsupportedIterableToArray = __webpack_require__(27);
|
var unsupportedIterableToArray = __webpack_require__(28);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||||
var nonIterableRest = __webpack_require__(39);
|
var nonIterableRest = __webpack_require__(39);
|
||||||
|
@ -140,7 +140,7 @@ function _slicedToArray(arr, i) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 25:
|
/***/ 26:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -157,38 +157,20 @@ function _arrayLikeToArray(arr, len) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 27:
|
/***/ 277:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
|
||||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) {
|
|
||||||
if (!o) return;
|
|
||||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
|
||||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
||||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
||||||
if (n === "Map" || n === "Set") return Array.from(n);
|
|
||||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
|
||||||
}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 279:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The regular expression for an HTML element.
|
* The regular expression for an HTML element.
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {RegExp}
|
||||||
*/
|
*/
|
||||||
var htmlSplitRegex = function () {
|
var htmlSplitRegex = function () {
|
||||||
/* eslint-disable no-multi-spaces */
|
/* eslint-disable no-multi-spaces */
|
||||||
|
@ -224,7 +206,7 @@ var htmlSplitRegex = function () {
|
||||||
* Separate HTML elements and comments from the text.
|
* Separate HTML elements and comments from the text.
|
||||||
*
|
*
|
||||||
* @param {string} input The text which has to be formatted.
|
* @param {string} input The text which has to be formatted.
|
||||||
* @return {Array} The formatted text.
|
* @return {string[]} The formatted text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -234,9 +216,16 @@ function htmlSplit(input) {
|
||||||
var match;
|
var match;
|
||||||
|
|
||||||
while (match = workingInput.match(htmlSplitRegex)) {
|
while (match = workingInput.match(htmlSplitRegex)) {
|
||||||
parts.push(workingInput.slice(0, match.index));
|
// The `match` result, when invoked on a RegExp with the `g` flag (`/foo/g`) will not include `index`.
|
||||||
|
// If the `g` flag is omitted, `index` is included.
|
||||||
|
// `htmlSplitRegex` does not have the `g` flag so we can assert it will have an index number.
|
||||||
|
// Assert `match.index` is a number.
|
||||||
|
var index =
|
||||||
|
/** @type {number} */
|
||||||
|
match.index;
|
||||||
|
parts.push(workingInput.slice(0, index));
|
||||||
parts.push(match[0]);
|
parts.push(match[0]);
|
||||||
workingInput = workingInput.slice(match.index + match[0].length);
|
workingInput = workingInput.slice(index + match[0].length);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (workingInput.length) {
|
if (workingInput.length) {
|
||||||
|
@ -248,9 +237,9 @@ function htmlSplit(input) {
|
||||||
/**
|
/**
|
||||||
* Replace characters or phrases within HTML elements only.
|
* Replace characters or phrases within HTML elements only.
|
||||||
*
|
*
|
||||||
* @param {string} haystack The text which has to be formatted.
|
* @param {string} haystack The text which has to be formatted.
|
||||||
* @param {Object} replacePairs In the form {from: 'to', ...}.
|
* @param {Record<string,string>} replacePairs In the form {from: 'to', …}.
|
||||||
* @return {string} The formatted text.
|
* @return {string} The formatted text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -467,6 +456,8 @@ function removep(html) {
|
||||||
var blocklist = 'blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure';
|
var blocklist = 'blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure';
|
||||||
var blocklist1 = blocklist + '|div|p';
|
var blocklist1 = blocklist + '|div|p';
|
||||||
var blocklist2 = blocklist + '|pre';
|
var blocklist2 = blocklist + '|pre';
|
||||||
|
/** @type {string[]} */
|
||||||
|
|
||||||
var preserve = [];
|
var preserve = [];
|
||||||
var preserveLinebreaks = false;
|
var preserveLinebreaks = false;
|
||||||
var preserveBr = false;
|
var preserveBr = false;
|
||||||
|
@ -514,7 +505,7 @@ function removep(html) {
|
||||||
|
|
||||||
html = html.replace(/\n[\s\u00a0]+\n/g, '\n\n'); // Replace <br> tags with line breaks.
|
html = html.replace(/\n[\s\u00a0]+\n/g, '\n\n'); // Replace <br> tags with line breaks.
|
||||||
|
|
||||||
html = html.replace(/(\s*)<br ?\/?>\s*/gi, function (match, space) {
|
html = html.replace(/(\s*)<br ?\/?>\s*/gi, function (_, space) {
|
||||||
if (space && space.indexOf('\n') !== -1) {
|
if (space && space.indexOf('\n') !== -1) {
|
||||||
return '\n\n';
|
return '\n\n';
|
||||||
}
|
}
|
||||||
|
@ -569,7 +560,10 @@ function removep(html) {
|
||||||
|
|
||||||
if (preserve.length) {
|
if (preserve.length) {
|
||||||
html = html.replace(/<wp-preserve>/g, function () {
|
html = html.replace(/<wp-preserve>/g, function () {
|
||||||
return preserve.shift();
|
return (
|
||||||
|
/** @type {string} */
|
||||||
|
preserve.shift()
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -577,6 +571,24 @@ function removep(html) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 28:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||||
|
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||||
|
|
||||||
|
function _unsupportedIterableToArray(o, minLen) {
|
||||||
|
if (!o) return;
|
||||||
|
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||||
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||||
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||||||
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
|
}
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 38:
|
/***/ 38:
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 280);
|
/******/ return __webpack_require__(__webpack_require__.s = 278);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 280:
|
/***/ 278:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -103,7 +103,7 @@ var _window$URL = window.URL,
|
||||||
createObjectURL = _window$URL.createObjectURL,
|
createObjectURL = _window$URL.createObjectURL,
|
||||||
revokeObjectURL = _window$URL.revokeObjectURL;
|
revokeObjectURL = _window$URL.revokeObjectURL;
|
||||||
/**
|
/**
|
||||||
* @type {{[key: string]: File|undefined}}
|
* @type {Record<string, File|undefined>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var cache = {};
|
var cache = {};
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}({280:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=278)}({278:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 291);
|
/******/ return __webpack_require__(__webpack_require__.s = 297);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 20:
|
/***/ 15:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -123,7 +123,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||||
return _arr;
|
return _arr;
|
||||||
}
|
}
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||||
var unsupportedIterableToArray = __webpack_require__(27);
|
var unsupportedIterableToArray = __webpack_require__(28);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||||
var nonIterableRest = __webpack_require__(39);
|
var nonIterableRest = __webpack_require__(39);
|
||||||
|
@ -140,7 +140,7 @@ function _slicedToArray(arr, i) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 25:
|
/***/ 26:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -157,31 +157,31 @@ function _arrayLikeToArray(arr, len) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 27:
|
/***/ 28:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) {
|
function _unsupportedIterableToArray(o, minLen) {
|
||||||
if (!o) return;
|
if (!o) return;
|
||||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||||
if (n === "Map" || n === "Set") return Array.from(n);
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 291:
|
/***/ 297:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
|
||||||
|
|
||||||
var document;
|
var document;
|
||||||
var offset;
|
var offset;
|
||||||
|
@ -223,7 +223,7 @@ var stack;
|
||||||
* once browsers reliably support atomic grouping or possessive
|
* once browsers reliably support atomic grouping or possessive
|
||||||
* quantifiers natively we should remove this trick and simplify
|
* quantifiers natively we should remove this trick and simplify
|
||||||
*
|
*
|
||||||
* @type RegExp
|
* @type {RegExp}
|
||||||
*
|
*
|
||||||
* @since 3.8.0
|
* @since 3.8.0
|
||||||
* @since 4.6.1 added optimization to prevent backtracking on attribute parsing
|
* @since 4.6.1 added optimization to prevent backtracking on attribute parsing
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));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=291)}({20:function(t,n,r){"use strict";var e=r(38);var o=r(27),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}r.d(n,"a",(function(){return i}))},25:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},27:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(25);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},291:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(20),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!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+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));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=297)}({15:function(t,n,r){"use strict";var e=r(38);var o=r(28),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}r.d(n,"a",(function(){return i}))},26:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},28:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(26);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},297:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(15),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!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+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,18 +82,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 398);
|
/******/ return __webpack_require__(__webpack_require__.s = 408);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 18:
|
/***/ 16:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
||||||
var arrayLikeToArray = __webpack_require__(25);
|
var arrayLikeToArray = __webpack_require__(26);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ function _arrayWithoutHoles(arr) {
|
||||||
var iterableToArray = __webpack_require__(35);
|
var iterableToArray = __webpack_require__(35);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||||
var unsupportedIterableToArray = __webpack_require__(27);
|
var unsupportedIterableToArray = __webpack_require__(28);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||||
function _nonIterableSpread() {
|
function _nonIterableSpread() {
|
||||||
|
@ -122,7 +122,7 @@ function _toConsumableArray(arr) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 25:
|
/***/ 26:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -139,19 +139,19 @@ function _arrayLikeToArray(arr, len) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 27:
|
/***/ 28:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) {
|
function _unsupportedIterableToArray(o, minLen) {
|
||||||
if (!o) return;
|
if (!o) return;
|
||||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||||
if (n === "Map" || n === "Set") return Array.from(n);
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,17 +168,25 @@ function _iterableToArray(iter) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 398:
|
/***/ 4:
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = this["wp"]["data"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 408:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "apiFetch", function() { return apiFetch; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "apiFetch", function() { return apiFetch; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableSyncSelect", function() { return __unstableSyncSelect; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18);
|
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
|
||||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(42);
|
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45);
|
||||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
|
@ -252,6 +260,42 @@ function select(storeKey, selectorName) {
|
||||||
args: args
|
args: args
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Dispatches a control action for triggering a registry select.
|
||||||
|
*
|
||||||
|
* Note: This functions like the `select` control, but does not wait
|
||||||
|
* for resolvers.
|
||||||
|
*
|
||||||
|
* @param {string} storeKey The key for the store the selector belongs to.
|
||||||
|
* @param {string} selectorName The name of the selector.
|
||||||
|
* @param {Array} args Arguments for the select.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* ```js
|
||||||
|
* import { __unstableSyncSelect } from '@wordpress/data-controls';
|
||||||
|
*
|
||||||
|
* // Action generator using `__unstableSyncSelect`.
|
||||||
|
* export function* myAction() {
|
||||||
|
* const isEditorSideBarOpened = yield __unstableSyncSelect( 'core/edit-post', 'isEditorSideBarOpened' );
|
||||||
|
* // Do stuff with the result from the `__unstableSyncSelect`.
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* @return {Object} The control descriptor.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function __unstableSyncSelect(storeKey, selectorName) {
|
||||||
|
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
||||||
|
args[_key2 - 2] = arguments[_key2];
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
type: 'SYNC_SELECT',
|
||||||
|
storeKey: storeKey,
|
||||||
|
selectorName: selectorName,
|
||||||
|
args: args
|
||||||
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Dispatches a control action for triggering a registry dispatch.
|
* Dispatches a control action for triggering a registry dispatch.
|
||||||
*
|
*
|
||||||
|
@ -274,8 +318,8 @@ function select(storeKey, selectorName) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function dispatch(storeKey, actionName) {
|
function dispatch(storeKey, actionName) {
|
||||||
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
||||||
args[_key2 - 2] = arguments[_key2];
|
args[_key3 - 2] = arguments[_key3];
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -329,13 +373,23 @@ var controls = {
|
||||||
return (_registry = registry[registry.select(storeKey)[selectorName].hasResolver ? '__experimentalResolveSelect' : 'select'](storeKey))[selectorName].apply(_registry, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args));
|
return (_registry = registry[registry.select(storeKey)[selectorName].hasResolver ? '__experimentalResolveSelect' : 'select'](storeKey))[selectorName].apply(_registry, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args));
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
DISPATCH: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["createRegistryControl"])(function (registry) {
|
SYNC_SELECT: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["createRegistryControl"])(function (registry) {
|
||||||
return function (_ref3) {
|
return function (_ref3) {
|
||||||
var _registry$dispatch;
|
var _registry$select;
|
||||||
|
|
||||||
var storeKey = _ref3.storeKey,
|
var storeKey = _ref3.storeKey,
|
||||||
actionName = _ref3.actionName,
|
selectorName = _ref3.selectorName,
|
||||||
args = _ref3.args;
|
args = _ref3.args;
|
||||||
|
return (_registry$select = registry.select(storeKey))[selectorName].apply(_registry$select, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args));
|
||||||
|
};
|
||||||
|
}),
|
||||||
|
DISPATCH: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["createRegistryControl"])(function (registry) {
|
||||||
|
return function (_ref4) {
|
||||||
|
var _registry$dispatch;
|
||||||
|
|
||||||
|
var storeKey = _ref4.storeKey,
|
||||||
|
actionName = _ref4.actionName,
|
||||||
|
args = _ref4.args;
|
||||||
return (_registry$dispatch = registry.dispatch(storeKey))[actionName].apply(_registry$dispatch, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args));
|
return (_registry$dispatch = registry.dispatch(storeKey))[actionName].apply(_registry$dispatch, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args));
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -344,14 +398,7 @@ var controls = {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 4:
|
/***/ 45:
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["data"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 42:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=398)}({18:function(t,e,r){"use strict";var n=r(25);var o=r(35),u=r(27);function i(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(o.a)(t)||Object(u.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(e,"a",(function(){return i}))},25:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},27:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(25);function o(t,e){if(t){if("string"==typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},35:function(t,e,r){"use strict";function n(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},398:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return c})),r.d(e,"select",(function(){return a})),r.d(e,"dispatch",(function(){return f})),r.d(e,"controls",(function(){return s}));var n=r(18),o=r(42),u=r.n(o),i=r(4),c=function(t){return{type:"API_FETCH",request:t}};function a(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function f(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var s={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,i=e.args;return(r=t[t.select(o)[u].hasResolver?"__experimentalResolveSelect":"select"](o))[u].apply(r,Object(n.a)(i))}})),DISPATCH:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,i=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(i))}}))}},4:function(t,e){!function(){t.exports=this.wp.data}()},42:function(t,e){!function(){t.exports=this.wp.apiFetch}()}});
|
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=408)}({16:function(t,e,r){"use strict";var n=r(26);var o=r(35),u=r(28);function c(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(o.a)(t)||Object(u.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(e,"a",(function(){return c}))},26:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},28:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(26);function o(t,e){if(t){if("string"==typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},35:function(t,e,r){"use strict";function n(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},4:function(t,e){!function(){t.exports=this.wp.data}()},408:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return a})),r.d(e,"select",(function(){return i})),r.d(e,"__unstableSyncSelect",(function(){return f})),r.d(e,"dispatch",(function(){return s})),r.d(e,"controls",(function(){return l}));var n=r(16),o=r(45),u=r.n(o),c=r(4),a=function(t){return{type:"API_FETCH",request:t}};function i(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function f(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SYNC_SELECT",storeKey:t,selectorName:e,args:n}}function s(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var l={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t[t.select(o)[u].hasResolver?"__experimentalResolveSelect":"select"](o))[u].apply(r,Object(n.a)(c))}})),SYNC_SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t.select(o))[u].apply(r,Object(n.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,c=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(c))}}))}},45:function(t,e){!function(){t.exports=this.wp.apiFetch}()}});
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue