Editor: Update block editor packages for WordPress 5.9.1.
The following packages were updated: - @wordpress/block-directory@3.0.27 - @wordpress/block-editor@8.0.17 - @wordpress/block-library@6.0.26 - @wordpress/components@19.2.3 - @wordpress/core-data@4.0.10 - @wordpress/customize-widgets@2.0.27 - @wordpress/e2e-tests@2.5.18 - @wordpress/edit-post@5.0.27 - @wordpress/edit-site@3.0.27 - @wordpress/edit-widgets@3.1.22 - @wordpress/editor@12.0.21 - @wordpress/format-library@3.0.23 - @wordpress/interface@4.1.18 - @wordpress/list-reusable-blocks@3.0.20 - @wordpress/nux@5.0.20 - @wordpress/reusable-blocks@3.0.23 - @wordpress/server-side-render@3.0.20 - @wordpress/widgets@2.0.23 Props Mamaduka. See #55179. Built from https://develop.svn.wordpress.org/trunk@52765 git-svn-id: http://core.svn.wordpress.org/trunk@52354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2b94ffdbc9
commit
d8b1150a4a
File diff suppressed because one or more lines are too long
|
@ -145,6 +145,66 @@
|
|||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,
|
||||
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
|
||||
opacity: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -145,6 +145,66 @@
|
|||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,
|
||||
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
|
||||
opacity: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -287,6 +287,7 @@
|
|||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > div,
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > a {
|
||||
|
@ -297,7 +298,7 @@
|
|||
.wp-block-gallery.has-nested-images figure.wp-block-image img {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-width: 100% !important;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -287,6 +287,7 @@
|
|||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > div,
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > a {
|
||||
|
@ -297,7 +298,7 @@
|
|||
.wp-block-gallery.has-nested-images figure.wp-block-image img {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-width: 100% !important;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -78,8 +78,6 @@
|
|||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-image img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > a,
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}
|
||||
.wp-block-image{margin:0 0 1em}.wp-block-image img{vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}
|
|
@ -78,8 +78,6 @@
|
|||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-image img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > a,
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}
|
||||
.wp-block-image{margin:0 0 1em}.wp-block-image img{vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image figure{margin:0}
|
|
@ -173,6 +173,11 @@ function block_core_page_list_render_nested_page_list( $open_submenus_on_click,
|
|||
}
|
||||
}
|
||||
|
||||
$front_page_id = (int) get_option( 'page_on_front' );
|
||||
if ( (int) $page['page_id'] === $front_page_id ) {
|
||||
$css_class .= ' menu-item-home';
|
||||
}
|
||||
|
||||
$title = wp_kses( $page['title'], wp_kses_allowed_html( 'post' ) );
|
||||
$aria_label = sprintf(
|
||||
/* translators: Accessibility text. %s: Parent page title. */
|
||||
|
|
|
@ -118,4 +118,8 @@
|
|||
width: auto;
|
||||
height: auto;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.wp-block-page-list .components-notice {
|
||||
margin-right: 0;
|
||||
}
|
|
@ -1 +1 @@
|
|||
.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}
|
||||
.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-page-list .components-notice{margin-right:0}
|
|
@ -118,4 +118,8 @@
|
|||
width: auto;
|
||||
height: auto;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.wp-block-page-list .components-notice {
|
||||
margin-left: 0;
|
||||
}
|
|
@ -1 +1 @@
|
|||
.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}
|
||||
.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.wp-block-page-list .open-on-click:focus-within>.wp-block-navigation__submenu-container{visibility:visible;opacity:1;width:auto;height:auto;min-width:200px}.wp-block-page-list .components-notice{margin-left:0}
|
|
@ -180,11 +180,4 @@ div[data-type="core/post-featured-image"] img {
|
|||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.block-library-post-featured-image-dimension-controls {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.block-library-post-featured-image-dimension-controls.scale-control-is-visible {
|
||||
margin-bottom: 16px;
|
||||
}
|
|
@ -1 +1 @@
|
|||
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container{border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;color:currentColor;background:transparent;min-height:200px}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:before,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border:1px dashed;opacity:.4;pointer-events:none;border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset{width:auto}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button>svg,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button>svg{color:#fff}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.4}.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder{min-height:48px;min-width:48px;height:100%;width:100%}.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}
|
||||
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container{border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;color:currentColor;background:transparent;min-height:200px}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:before,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border:1px dashed;opacity:.4;pointer-events:none;border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset{width:auto}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button>svg,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button>svg{color:#fff}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.4}.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder{min-height:48px;min-width:48px;height:100%;width:100%}.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}
|
|
@ -180,11 +180,4 @@ div[data-type="core/post-featured-image"] img {
|
|||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.block-library-post-featured-image-dimension-controls {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.block-library-post-featured-image-dimension-controls.scale-control-is-visible {
|
||||
margin-bottom: 16px;
|
||||
}
|
|
@ -1 +1 @@
|
|||
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container{border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;color:currentColor;background:transparent;min-height:200px}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:before,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px dashed;opacity:.4;pointer-events:none;border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset{width:auto}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button>svg,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button>svg{color:#fff}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.4}.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder{min-height:48px;min-width:48px;height:100%;width:100%}.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.block-library-post-featured-image-dimension-controls{margin-bottom:8px}.block-library-post-featured-image-dimension-controls.scale-control-is-visible{margin-bottom:16px}
|
||||
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container{border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{justify-content:center;align-items:center;box-shadow:none;padding:0;color:currentColor;background:transparent;min-height:200px}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{display:none}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:before,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px dashed;opacity:.4;pointer-events:none;border-radius:inherit}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset{width:auto}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{color:inherit;padding:0;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:50%;position:relative;visibility:hidden;background:transparent;transition:all .1s linear}@media (prefers-reduced-motion:reduce){.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button{transition-duration:0s;transition-delay:0s}}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button>svg,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button>svg{color:#fff}.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration,.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;stroke:currentColor;stroke-dasharray:3;opacity:.4}.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder{min-height:48px;min-width:48px;height:100%;width:100%}.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);border-style:solid;color:#fff;opacity:1;visibility:visible}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}
|
|
@ -82,6 +82,10 @@
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.wp-block-post-template.wp-block-post-template,
|
||||
.wp-block-query-loop.wp-block-post-template {
|
||||
background: none;
|
||||
}
|
||||
.wp-block-post-template.is-flex-container,
|
||||
.wp-block-query-loop.is-flex-container {
|
||||
flex-direction: row;
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}
|
||||
.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template.wp-block-post-template,.wp-block-query-loop.wp-block-post-template{background:none}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}
|
|
@ -82,6 +82,10 @@
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.wp-block-post-template.wp-block-post-template,
|
||||
.wp-block-query-loop.wp-block-post-template {
|
||||
background: none;
|
||||
}
|
||||
.wp-block-post-template.is-flex-container,
|
||||
.wp-block-query-loop.is-flex-container {
|
||||
flex-direction: row;
|
||||
|
|
|
@ -1 +1 @@
|
|||
.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}
|
||||
.wp-block-post-template,.wp-block-query-loop{margin-top:0;margin-bottom:0;max-width:100%;list-style:none;padding:0}.wp-block-post-template.wp-block-post-template,.wp-block-query-loop.wp-block-post-template{background:none}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}
|
|
@ -43,16 +43,18 @@ function render_block_core_search( $attributes ) {
|
|||
// Border color classes need to be applied to the elements that have a border color.
|
||||
$border_color_classes = get_border_color_classes_for_block_core_search( $attributes );
|
||||
|
||||
$label_inner_html = empty( $attributes['label'] ) ? __( 'Search' ) : wp_kses_post( $attributes['label'] );
|
||||
|
||||
$label_markup = sprintf(
|
||||
'<label for="%1$s" class="wp-block-search__label screen-reader-text">%2$s</label>',
|
||||
$input_id,
|
||||
empty( $attributes['label'] ) ? __( 'Search' ) : esc_html( $attributes['label'] )
|
||||
esc_attr( $input_id ),
|
||||
$label_inner_html
|
||||
);
|
||||
if ( $show_label && ! empty( $attributes['label'] ) ) {
|
||||
$label_markup = sprintf(
|
||||
'<label for="%1$s" class="wp-block-search__label">%2$s</label>',
|
||||
$input_id,
|
||||
esc_html( $attributes['label'] )
|
||||
$label_inner_html
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -77,7 +79,7 @@ function render_block_core_search( $attributes ) {
|
|||
}
|
||||
if ( ! $use_icon_button ) {
|
||||
if ( ! empty( $attributes['buttonText'] ) ) {
|
||||
$button_internal_markup = esc_html( $attributes['buttonText'] );
|
||||
$button_internal_markup = wp_kses_post( $attributes['buttonText'] );
|
||||
}
|
||||
} else {
|
||||
$button_classes .= ' has-icon';
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
function render_block_core_site_logo( $attributes ) {
|
||||
$adjust_width_height_filter = function ( $image ) use ( $attributes ) {
|
||||
if ( empty( $attributes['width'] ) || empty( $image ) ) {
|
||||
if ( empty( $attributes['width'] ) || empty( $image ) || ! $image[1] || ! $image[2] ) {
|
||||
return $image;
|
||||
}
|
||||
$height = (float) $attributes['width'] / ( (float) $image[1] / (float) $image[2] );
|
||||
|
|
|
@ -35,7 +35,6 @@ function render_block_core_site_title( $attributes ) {
|
|||
);
|
||||
if ( '_blank' === $attributes['linkTarget'] ) {
|
||||
$link_attrs[] = 'target="_blank"';
|
||||
$link_attrs[] = 'aria-label="' . esc_attr__( '(opens in a new tab)' ) . '"';
|
||||
}
|
||||
$site_title = sprintf( '<a %1$s>%2$s</a>', implode( ' ', $link_attrs ), $site_title );
|
||||
}
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"height": {
|
||||
"type": "number",
|
||||
"default": 100
|
||||
"type": "string",
|
||||
"default": "100px"
|
||||
},
|
||||
"width": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"usesContext": [ "orientation" ],
|
||||
|
|
|
@ -97,6 +97,10 @@
|
|||
.block-library-spacer__resize-container {
|
||||
clear: both;
|
||||
}
|
||||
.block-library-spacer__resize-container:not(.is-resizing) {
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-spacer__resize-container .components-resizable-box__handle::before {
|
||||
content: none;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}
|
||||
.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container:not(.is-resizing){height:100%!important;width:100%!important}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}
|
|
@ -97,6 +97,10 @@
|
|||
.block-library-spacer__resize-container {
|
||||
clear: both;
|
||||
}
|
||||
.block-library-spacer__resize-container:not(.is-resizing) {
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-spacer__resize-container .components-resizable-box__handle::before {
|
||||
content: none;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}
|
||||
.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;z-index:1;width:100%;min-height:8px;min-width:8px;height:100%}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container:not(.is-resizing){height:100%!important;width:100%!important}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}
|
|
@ -1776,6 +1776,44 @@
|
|||
.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__dropdown {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content > div {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content {
|
||||
margin-left: 156px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content.is-from-top .components-popover__content {
|
||||
margin-top: -60px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content.is-from-bottom .components-popover__content {
|
||||
margin-bottom: -60px !important;
|
||||
}
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown:last-child > div {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__item {
|
||||
padding-top: 12px !important;
|
||||
padding-bottom: 12px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__item .block-editor-panel-color-gradient-settings__color-indicator {
|
||||
background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__item.is-open {
|
||||
background: #f0f0f0;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-contrast-checker > .components-notice {
|
||||
margin: 0;
|
||||
|
@ -3542,6 +3580,10 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.dimensions-block-support-panel .single-column {
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
.typography-block-support-panel .components-font-appearance-control,
|
||||
.typography-block-support-panel .components-font-size-picker__controls,
|
||||
.typography-block-support-panel .block-editor-text-decoration-control__buttons,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1776,6 +1776,44 @@
|
|||
.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__dropdown {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content > div {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content {
|
||||
margin-right: 156px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content.is-from-top .components-popover__content {
|
||||
margin-top: -60px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown-content.is-from-bottom .components-popover__content {
|
||||
margin-bottom: -60px !important;
|
||||
}
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__dropdown:last-child > div {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
.block-editor-panel-color-gradient-settings__item {
|
||||
padding-top: 12px !important;
|
||||
padding-bottom: 12px !important;
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__item .block-editor-panel-color-gradient-settings__color-indicator {
|
||||
background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
|
||||
}
|
||||
.block-editor-panel-color-gradient-settings__item.is-open {
|
||||
background: #f0f0f0;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-contrast-checker > .components-notice {
|
||||
margin: 0;
|
||||
|
@ -3542,6 +3580,10 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.dimensions-block-support-panel .single-column {
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
.typography-block-support-panel .components-font-appearance-control,
|
||||
.typography-block-support-panel .components-font-size-picker__controls,
|
||||
.typography-block-support-panel .block-editor-text-decoration-control__buttons,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -215,4 +215,12 @@
|
|||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide baseline responsiveness for images.
|
||||
*/
|
||||
html :where(img) {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
|
@ -1 +1 @@
|
|||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(img){height:auto;max-width:100%}
|
|
@ -217,4 +217,12 @@
|
|||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide baseline responsiveness for images.
|
||||
*/
|
||||
html :where(img) {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
|
@ -1 +1 @@
|
|||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(img){height:auto;max-width:100%}
|
|
@ -1793,6 +1793,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|||
min-width: 200px;
|
||||
}
|
||||
|
||||
.wp-block-page-list .components-notice {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
|
||||
min-height: auto !important;
|
||||
}
|
||||
|
@ -2191,6 +2195,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|||
.block-library-spacer__resize-container {
|
||||
clear: both;
|
||||
}
|
||||
.block-library-spacer__resize-container:not(.is-resizing) {
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-spacer__resize-container .components-resizable-box__handle::before {
|
||||
content: none;
|
||||
}
|
||||
|
@ -2595,13 +2603,6 @@ div[data-type="core/post-featured-image"] img {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.block-library-post-featured-image-dimension-controls {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.block-library-post-featured-image-dimension-controls.scale-control-is-visible {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
:root .editor-styles-wrapper {
|
||||
/*
|
||||
* Our classes uses the same values we set for gradient value attributes,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1798,6 +1798,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|||
min-width: 200px;
|
||||
}
|
||||
|
||||
.wp-block-page-list .components-notice {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
|
||||
min-height: auto !important;
|
||||
}
|
||||
|
@ -2196,6 +2200,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|||
.block-library-spacer__resize-container {
|
||||
clear: both;
|
||||
}
|
||||
.block-library-spacer__resize-container:not(.is-resizing) {
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-spacer__resize-container .components-resizable-box__handle::before {
|
||||
content: none;
|
||||
}
|
||||
|
@ -2603,13 +2611,6 @@ div[data-type="core/post-featured-image"] img {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.block-library-post-featured-image-dimension-controls {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.block-library-post-featured-image-dimension-controls.scale-control-is-visible {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
:root .editor-styles-wrapper {
|
||||
/*
|
||||
* Our classes uses the same values we set for gradient value attributes,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -424,6 +424,66 @@
|
|||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,
|
||||
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
|
||||
opacity: 0;
|
||||
|
@ -969,6 +1029,7 @@ section.wp-block-cover-image > h2,
|
|||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > div,
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > a {
|
||||
|
@ -979,7 +1040,7 @@ section.wp-block-cover-image > h2,
|
|||
.wp-block-gallery.has-nested-images figure.wp-block-image img {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-width: 100% !important;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
||||
|
@ -1161,8 +1222,6 @@ h6.has-background {
|
|||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-image img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > a,
|
||||
|
@ -2265,6 +2324,10 @@ p.has-background {
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.wp-block-post-template.wp-block-post-template,
|
||||
.wp-block-query-loop.wp-block-post-template {
|
||||
background: none;
|
||||
}
|
||||
.wp-block-post-template.is-flex-container,
|
||||
.wp-block-query-loop.is-flex-container {
|
||||
flex-direction: row;
|
||||
|
@ -3169,4 +3232,12 @@ pre.wp-block-verse {
|
|||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide baseline responsiveness for images.
|
||||
*/
|
||||
html :where(img) {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -427,6 +427,66 @@
|
|||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,
|
||||
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
|
||||
opacity: 0;
|
||||
|
@ -973,6 +1033,7 @@ section.wp-block-cover-image > h2,
|
|||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > div,
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image > a {
|
||||
|
@ -983,7 +1044,7 @@ section.wp-block-cover-image > h2,
|
|||
.wp-block-gallery.has-nested-images figure.wp-block-image img {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-width: 100% !important;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
||||
|
@ -1165,8 +1226,6 @@ h6.has-background {
|
|||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-image img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > a,
|
||||
|
@ -2287,6 +2346,10 @@ p.has-background {
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.wp-block-post-template.wp-block-post-template,
|
||||
.wp-block-query-loop.wp-block-post-template {
|
||||
background: none;
|
||||
}
|
||||
.wp-block-post-template.is-flex-container,
|
||||
.wp-block-query-loop.is-flex-container {
|
||||
flex-direction: row;
|
||||
|
@ -3198,4 +3261,12 @@ pre.wp-block-verse {
|
|||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide baseline responsiveness for images.
|
||||
*/
|
||||
html :where(img) {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -906,6 +906,8 @@ input.components-combobox-control__input[type=text]:focus {
|
|||
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
max-height: -moz-fit-content !important;
|
||||
max-height: fit-content !important;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content .components-popover__content > div {
|
||||
padding: 0;
|
||||
|
@ -916,10 +918,15 @@ input.components-combobox-control__input[type=text]:focus {
|
|||
}
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-top .components-popover__content {
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar .components-popover__content.components-popover__content {
|
||||
margin-left: 156px;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-top .components-popover__content {
|
||||
margin-top: -60px;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-bottom .components-popover__content {
|
||||
margin-bottom: -60px;
|
||||
}
|
||||
}
|
||||
.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
|
||||
opacity: 0.4;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -906,6 +906,8 @@ input.components-combobox-control__input[type=text]:focus {
|
|||
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
max-height: -moz-fit-content !important;
|
||||
max-height: fit-content !important;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content .components-popover__content > div {
|
||||
padding: 0;
|
||||
|
@ -916,10 +918,15 @@ input.components-combobox-control__input[type=text]:focus {
|
|||
}
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-top .components-popover__content {
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar .components-popover__content.components-popover__content {
|
||||
margin-right: 156px;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-top .components-popover__content {
|
||||
margin-top: -60px;
|
||||
}
|
||||
.components-dropdown__content.components-color-palette__custom-color-dropdown-content.is-rendered-in-sidebar.is-from-bottom .components-popover__content {
|
||||
margin-bottom: -60px;
|
||||
}
|
||||
}
|
||||
.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
|
||||
opacity: 0.4;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1772,6 +1772,57 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.edit-site-keyboard-shortcut-help-modal__section {
|
||||
margin: 0 0 2rem 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__main-shortcuts .edit-site-keyboard-shortcut-help-modal__shortcut-list {
|
||||
margin-top: -25px;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__section-title {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
padding: 0.6rem 0;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut:last-child {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut:empty {
|
||||
display: none;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-term {
|
||||
font-weight: 600;
|
||||
margin: 0 1rem 0 0;
|
||||
text-align: left;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-description {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
flex-basis: auto;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
|
||||
display: block;
|
||||
background: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key {
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 8%;
|
||||
margin: 0 0.2rem 0 0.2rem;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key:last-child {
|
||||
margin: 0 0.2rem 0 0;
|
||||
}
|
||||
|
||||
html.wp-toolbar {
|
||||
background: #fff;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1772,6 +1772,57 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.edit-site-keyboard-shortcut-help-modal__section {
|
||||
margin: 0 0 2rem 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__main-shortcuts .edit-site-keyboard-shortcut-help-modal__shortcut-list {
|
||||
margin-top: -25px;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__section-title {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
padding: 0.6rem 0;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut:last-child {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut:empty {
|
||||
display: none;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-term {
|
||||
font-weight: 600;
|
||||
margin: 0 0 0 1rem;
|
||||
text-align: right;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-description {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
flex-basis: auto;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
|
||||
display: block;
|
||||
background: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-site-keyboard-shortcut-help-modal__shortcut-key-combination {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key {
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 8%;
|
||||
margin: 0 0.2rem 0 0.2rem;
|
||||
}
|
||||
.edit-site-keyboard-shortcut-help-modal__shortcut-key:last-child {
|
||||
margin: 0 0 0 0.2rem;
|
||||
}
|
||||
|
||||
html.wp-toolbar {
|
||||
background: #fff;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2527,21 +2527,21 @@ function useMultipleOriginColorsAndGradients() {
|
|||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "hc", function() { return /* reexport */ components_colors["b" /* getColorClassName */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ic", function() { return /* reexport */ components_colors["c" /* getColorObjectByAttributeValues */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "jc", function() { return /* reexport */ components_colors["d" /* getColorObjectByColorValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "gc", function() { return /* reexport */ components_colors["a" /* createCustomColorsHOC */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "vc", function() { return /* reexport */ components_colors["e" /* withColors */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "xb", function() { return /* reexport */ gradients["a" /* __experimentalGetGradientClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "oc", function() { return /* reexport */ gradients["e" /* getGradientValueBySlug */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "yb", function() { return /* reexport */ gradients["b" /* __experimentalGetGradientObjectByGradientValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "nc", function() { return /* reexport */ gradients["d" /* getGradientSlugByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Sb", function() { return /* reexport */ gradients["c" /* __experimentalUseGradient */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "kc", function() { return /* reexport */ font_sizes["b" /* getFontSize */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "lc", function() { return /* reexport */ font_sizes["c" /* getFontSizeClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "mc", function() { return /* reexport */ font_sizes["d" /* getFontSizeObjectByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ic", function() { return /* reexport */ components_colors["b" /* getColorClassName */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "jc", function() { return /* reexport */ components_colors["c" /* getColorObjectByAttributeValues */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "kc", function() { return /* reexport */ components_colors["d" /* getColorObjectByColorValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "hc", function() { return /* reexport */ components_colors["a" /* createCustomColorsHOC */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "wc", function() { return /* reexport */ components_colors["e" /* withColors */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "yb", function() { return /* reexport */ gradients["a" /* __experimentalGetGradientClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "pc", function() { return /* reexport */ gradients["e" /* getGradientValueBySlug */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "zb", function() { return /* reexport */ gradients["b" /* __experimentalGetGradientObjectByGradientValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "oc", function() { return /* reexport */ gradients["d" /* getGradientSlugByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Tb", function() { return /* reexport */ gradients["c" /* __experimentalUseGradient */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "lc", function() { return /* reexport */ font_sizes["b" /* getFontSize */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "mc", function() { return /* reexport */ font_sizes["c" /* getFontSizeClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "nc", function() { return /* reexport */ font_sizes["d" /* getFontSizeObjectByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "I", function() { return /* reexport */ font_sizes["a" /* FontSizePicker */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "wc", function() { return /* reexport */ font_sizes["e" /* withFontSizes */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "xc", function() { return /* reexport */ font_sizes["e" /* withFontSizes */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ AlignmentControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ AlignmentToolbar; });
|
||||
__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ autocomplete; });
|
||||
|
@ -2556,7 +2556,7 @@ __webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport
|
|||
__webpack_require__.d(__webpack_exports__, "m", function() { return /* reexport */ block_controls["a" /* BlockFormatControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ color_style_selector; });
|
||||
__webpack_require__.d(__webpack_exports__, "j", function() { return /* reexport */ block_edit["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "qc", function() { return /* reexport */ context["c" /* useBlockEditContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "rc", function() { return /* reexport */ context["c" /* useBlockEditContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "n", function() { return /* reexport */ block_icon["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "r", function() { return /* reexport */ dropdown; });
|
||||
__webpack_require__.d(__webpack_exports__, "pb", function() { return /* reexport */ block_variation_picker; });
|
||||
|
@ -2571,89 +2571,90 @@ __webpack_require__.d(__webpack_exports__, "B", function() { return /* reexport
|
|||
__webpack_require__.d(__webpack_exports__, "D", function() { return /* reexport */ color_palette; });
|
||||
__webpack_require__.d(__webpack_exports__, "E", function() { return /* reexport */ ColorPaletteControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "F", function() { return /* reexport */ contrast_checker["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ub", function() { return /* reexport */ duotone_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "vb", function() { return /* reexport */ font_appearance_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "wb", function() { return /* reexport */ font_family["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Eb", function() { return /* reexport */ letter_spacing_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ob", function() { return /* reexport */ text_decoration_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Pb", function() { return /* reexport */ text_transform_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "vb", function() { return /* reexport */ duotone_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "wb", function() { return /* reexport */ font_appearance_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "xb", function() { return /* reexport */ font_family["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Fb", function() { return /* reexport */ letter_spacing_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Pb", function() { return /* reexport */ text_decoration_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Qb", function() { return /* reexport */ text_transform_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "tb", function() { return /* reexport */ control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Lb", function() { return /* reexport */ panel_color_gradient_settings["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ab", function() { return /* reexport */ ImageEditor; });
|
||||
__webpack_require__.d(__webpack_exports__, "zb", function() { return /* reexport */ ImageEditingProvider; });
|
||||
__webpack_require__.d(__webpack_exports__, "Bb", function() { return /* reexport */ ImageSizeControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "ub", function() { return /* reexport */ colors_gradients_dropdown["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Mb", function() { return /* reexport */ panel_color_gradient_settings["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Bb", function() { return /* reexport */ ImageEditor; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ab", function() { return /* reexport */ ImageEditingProvider; });
|
||||
__webpack_require__.d(__webpack_exports__, "Cb", function() { return /* reexport */ ImageSizeControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "J", function() { return /* reexport */ inner_blocks["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "sc", function() { return /* reexport */ inner_blocks["b" /* useInnerBlocksProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "tc", function() { return /* reexport */ inner_blocks["b" /* useInnerBlocksProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "M", function() { return /* reexport */ inspector_controls["b" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "L", function() { return /* reexport */ inspector_controls["a" /* InspectorAdvancedControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "O", function() { return /* reexport */ justify_content_control["b" /* JustifyToolbar */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "N", function() { return /* reexport */ justify_content_control["a" /* JustifyContentControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Gb", function() { return /* reexport */ link_control; });
|
||||
__webpack_require__.d(__webpack_exports__, "Hb", function() { return /* reexport */ search_input; });
|
||||
__webpack_require__.d(__webpack_exports__, "Jb", function() { return /* reexport */ LinkControlSearchResults; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ib", function() { return /* reexport */ search_item; });
|
||||
__webpack_require__.d(__webpack_exports__, "Hb", function() { return /* reexport */ link_control; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ib", function() { return /* reexport */ search_input; });
|
||||
__webpack_require__.d(__webpack_exports__, "Kb", function() { return /* reexport */ LinkControlSearchResults; });
|
||||
__webpack_require__.d(__webpack_exports__, "Jb", function() { return /* reexport */ search_item; });
|
||||
__webpack_require__.d(__webpack_exports__, "P", function() { return /* reexport */ line_height_control["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Kb", function() { return /* reexport */ components_list_view; });
|
||||
__webpack_require__.d(__webpack_exports__, "Lb", function() { return /* reexport */ components_list_view; });
|
||||
__webpack_require__.d(__webpack_exports__, "R", function() { return /* reexport */ media_replace_flow; });
|
||||
__webpack_require__.d(__webpack_exports__, "Q", function() { return /* reexport */ media_placeholder; });
|
||||
__webpack_require__.d(__webpack_exports__, "S", function() { return /* reexport */ media_upload; });
|
||||
__webpack_require__.d(__webpack_exports__, "T", function() { return /* reexport */ media_upload_check; });
|
||||
__webpack_require__.d(__webpack_exports__, "X", function() { return /* reexport */ panel_color_settings; });
|
||||
__webpack_require__.d(__webpack_exports__, "Y", function() { return /* reexport */ plain_text; });
|
||||
__webpack_require__.d(__webpack_exports__, "Nb", function() { return /* reexport */ responsive_block_control; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ob", function() { return /* reexport */ responsive_block_control; });
|
||||
__webpack_require__.d(__webpack_exports__, "ab", function() { return /* reexport */ rich_text; });
|
||||
__webpack_require__.d(__webpack_exports__, "bb", function() { return /* reexport */ RichTextShortcut; });
|
||||
__webpack_require__.d(__webpack_exports__, "cb", function() { return /* reexport */ RichTextToolbarButton; });
|
||||
__webpack_require__.d(__webpack_exports__, "Zb", function() { return /* reexport */ __unstableRichTextInputEvent; });
|
||||
__webpack_require__.d(__webpack_exports__, "ac", function() { return /* reexport */ __unstableRichTextInputEvent; });
|
||||
__webpack_require__.d(__webpack_exports__, "eb", function() { return /* reexport */ tool_selector; });
|
||||
__webpack_require__.d(__webpack_exports__, "Qb", function() { return /* reexport */ UnitControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "Rb", function() { return /* reexport */ UnitControl; });
|
||||
__webpack_require__.d(__webpack_exports__, "gb", function() { return /* reexport */ url_input; });
|
||||
__webpack_require__.d(__webpack_exports__, "hb", function() { return /* reexport */ url_input_button; });
|
||||
__webpack_require__.d(__webpack_exports__, "ib", function() { return /* reexport */ url_popover; });
|
||||
__webpack_require__.d(__webpack_exports__, "Cb", function() { return /* reexport */ ImageURLInputUI; });
|
||||
__webpack_require__.d(__webpack_exports__, "uc", function() { return /* reexport */ with_color_context; });
|
||||
__webpack_require__.d(__webpack_exports__, "Vb", function() { return /* reexport */ block_settings_menu_first_item["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Yb", function() { return /* reexport */ inserter_menu_extension["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Mb", function() { return /* reexport */ PreviewOptions; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ub", function() { return /* reexport */ useResizeCanvas; });
|
||||
__webpack_require__.d(__webpack_exports__, "Db", function() { return /* reexport */ ImageURLInputUI; });
|
||||
__webpack_require__.d(__webpack_exports__, "vc", function() { return /* reexport */ with_color_context; });
|
||||
__webpack_require__.d(__webpack_exports__, "Wb", function() { return /* reexport */ block_settings_menu_first_item["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Zb", function() { return /* reexport */ inserter_menu_extension["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Nb", function() { return /* reexport */ PreviewOptions; });
|
||||
__webpack_require__.d(__webpack_exports__, "Vb", function() { return /* reexport */ useResizeCanvas; });
|
||||
__webpack_require__.d(__webpack_exports__, "o", function() { return /* reexport */ block_inspector; });
|
||||
__webpack_require__.d(__webpack_exports__, "p", function() { return /* reexport */ block_list["c" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "rc", function() { return /* reexport */ use_block_props["a" /* useBlockProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Db", function() { return /* reexport */ block_list_layout["b" /* LayoutStyle */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "sc", function() { return /* reexport */ use_block_props["a" /* useBlockProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Eb", function() { return /* reexport */ block_list_layout["b" /* LayoutStyle */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "q", function() { return /* reexport */ block_mover["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "s", function() { return /* reexport */ block_preview["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Rb", function() { return /* reexport */ block_preview["b" /* useBlockPreview */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Sb", function() { return /* reexport */ block_preview["b" /* useBlockPreview */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "t", function() { return /* reexport */ block_selection_clearer["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ac", function() { return /* reexport */ block_selection_clearer["b" /* useBlockSelectionClearer */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "bc", function() { return /* reexport */ block_selection_clearer["b" /* useBlockSelectionClearer */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "u", function() { return /* reexport */ block_settings_menu["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "v", function() { return /* reexport */ block_settings_menu_controls["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "w", function() { return /* reexport */ block_title["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "x", function() { return /* reexport */ block_toolbar["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "y", function() { return /* reexport */ BlockTools; });
|
||||
__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ copy_handler["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "cc", function() { return /* reexport */ copy_handler["b" /* useClipboardHandler */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "dc", function() { return /* reexport */ copy_handler["b" /* useClipboardHandler */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "H", function() { return /* reexport */ default_block_appender["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Wb", function() { return /* reexport */ editor_styles["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Xb", function() { return /* reexport */ editor_styles["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "K", function() { return /* reexport */ inserter["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Fb", function() { return /* reexport */ library; });
|
||||
__webpack_require__.d(__webpack_exports__, "Gb", function() { return /* reexport */ library; });
|
||||
__webpack_require__.d(__webpack_exports__, "k", function() { return /* reexport */ keyboard_shortcuts; });
|
||||
__webpack_require__.d(__webpack_exports__, "U", function() { return /* reexport */ MultiSelectScrollIntoView; });
|
||||
__webpack_require__.d(__webpack_exports__, "V", function() { return /* reexport */ navigable_toolbar["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "W", function() { return /* reexport */ observe_typing; });
|
||||
__webpack_require__.d(__webpack_exports__, "fc", function() { return /* reexport */ useTypingObserver; });
|
||||
__webpack_require__.d(__webpack_exports__, "dc", function() { return /* reexport */ useMouseMoveTypingReset; });
|
||||
__webpack_require__.d(__webpack_exports__, "gc", function() { return /* reexport */ useTypingObserver; });
|
||||
__webpack_require__.d(__webpack_exports__, "ec", function() { return /* reexport */ useMouseMoveTypingReset; });
|
||||
__webpack_require__.d(__webpack_exports__, "Z", function() { return /* reexport */ PreserveScrollInReorder; });
|
||||
__webpack_require__.d(__webpack_exports__, "db", function() { return /* reexport */ skip_to_selected_block; });
|
||||
__webpack_require__.d(__webpack_exports__, "fb", function() { return /* reexport */ typewriter; });
|
||||
__webpack_require__.d(__webpack_exports__, "ec", function() { return /* reexport */ useTypewriter; });
|
||||
__webpack_require__.d(__webpack_exports__, "fc", function() { return /* reexport */ useTypewriter; });
|
||||
__webpack_require__.d(__webpack_exports__, "jb", function() { return /* reexport */ warning["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "kb", function() { return /* reexport */ writing_flow["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "bc", function() { return /* reexport */ useCanvasClickRedirect; });
|
||||
__webpack_require__.d(__webpack_exports__, "pc", function() { return /* reexport */ use_block_display_information["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Xb", function() { return /* reexport */ iframe["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Tb", function() { return /* reexport */ useNoRecursiveRenders; });
|
||||
__webpack_require__.d(__webpack_exports__, "cc", function() { return /* reexport */ useCanvasClickRedirect; });
|
||||
__webpack_require__.d(__webpack_exports__, "qc", function() { return /* reexport */ use_block_display_information["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Yb", function() { return /* reexport */ iframe["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Ub", function() { return /* reexport */ useNoRecursiveRenders; });
|
||||
__webpack_require__.d(__webpack_exports__, "l", function() { return /* reexport */ provider["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "tc", function() { return /* reexport */ use_setting["a" /* default */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "uc", function() { return /* reexport */ use_setting["a" /* default */]; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js + 1 modules
|
||||
var components_colors = __webpack_require__("5gPN");
|
||||
|
@ -5416,6 +5417,9 @@ var text_decoration_control = __webpack_require__("kVRd");
|
|||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js + 3 modules
|
||||
var text_transform_control = __webpack_require__("/Hvg");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/dropdown.js
|
||||
var colors_gradients_dropdown = __webpack_require__("dchM");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js
|
||||
var panel_color_gradient_settings = __webpack_require__("yU1v");
|
||||
|
||||
|
@ -7839,20 +7843,8 @@ const LinkControlSearchCreate = _ref => {
|
|||
};
|
||||
/* harmony default export */ var search_create_button = (LinkControlSearchCreate);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
const globe = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 0 24 24"
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
|
||||
d: "M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"
|
||||
}));
|
||||
/* harmony default export */ var library_globe = (globe);
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js
|
||||
var globe = __webpack_require__("K8zD");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js
|
||||
|
||||
|
@ -7889,7 +7881,7 @@ const LinkControlSearchItem = _ref => {
|
|||
})
|
||||
}), isURL && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
|
||||
className: "block-editor-link-control__search-item-icon",
|
||||
icon: library_globe
|
||||
icon: globe["a" /* default */]
|
||||
}), Object(external_wp_element_["createElement"])("span", {
|
||||
className: "block-editor-link-control__search-item-header"
|
||||
}, Object(external_wp_element_["createElement"])("span", {
|
||||
|
@ -8434,6 +8426,8 @@ function useRemoteUrlData(url) {
|
|||
|
||||
|
||||
function LinkPreview(_ref) {
|
||||
var _value$url;
|
||||
|
||||
let {
|
||||
value,
|
||||
onEditClick,
|
||||
|
@ -8450,8 +8444,9 @@ function LinkPreview(_ref) {
|
|||
|
||||
const hasRichData = richData && Object.keys(richData).length;
|
||||
const displayURL = value && Object(external_wp_url_["filterURLForDisplay"])(Object(external_wp_url_["safeDecodeURI"])(value.url), 16) || '';
|
||||
const displayTitle = (richData === null || richData === void 0 ? void 0 : richData.title) || (value === null || value === void 0 ? void 0 : value.title) || displayURL;
|
||||
const isEmptyURL = !value.url.length;
|
||||
const displayTitle = (richData === null || richData === void 0 ? void 0 : richData.title) || (value === null || value === void 0 ? void 0 : value.title) || displayURL; // url can be undefined if the href attribute is unset
|
||||
|
||||
const isEmptyURL = !(value !== null && value !== void 0 && (_value$url = value.url) !== null && _value$url !== void 0 && _value$url.length);
|
||||
let icon;
|
||||
|
||||
if (richData !== null && richData !== void 0 && richData.icon) {
|
||||
|
@ -8466,7 +8461,7 @@ function LinkPreview(_ref) {
|
|||
});
|
||||
} else {
|
||||
icon = Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
|
||||
icon: library_globe
|
||||
icon: globe["a" /* default */]
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -13664,6 +13659,7 @@ var provider = __webpack_require__("/QNa");
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -25262,6 +25258,31 @@ function useAvailableAlignments() {
|
|||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "K8zD":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
const globe = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 0 24 24"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||
d: "M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"
|
||||
}));
|
||||
/* harmony default export */ __webpack_exports__["a"] = (globe);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "K9lf":
|
||||
|
@ -27190,7 +27211,9 @@ function AutoBlockPreview(_ref) {
|
|||
documentElement.classList.add('block-editor-block-preview__content-iframe');
|
||||
documentElement.style.position = 'absolute';
|
||||
documentElement.style.width = '100%';
|
||||
bodyElement.style.padding = __experimentalPadding + 'px';
|
||||
bodyElement.style.padding = __experimentalPadding + 'px'; // necessary for contentResizeListener to work.
|
||||
|
||||
bodyElement.style.position = 'relative';
|
||||
}, []),
|
||||
"aria-hidden": true,
|
||||
tabIndex: -1,
|
||||
|
@ -30611,6 +30634,97 @@ const arrowLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create
|
|||
/* harmony default export */ __webpack_exports__["a"] = (arrowLeft);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "dchM":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ColorGradientSettingsDropdown; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
|
||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tI+e");
|
||||
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
|
||||
/* harmony import */ var _control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("hMaJ");
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
function ColorGradientSettingsDropdown(_ref) {
|
||||
let {
|
||||
colors,
|
||||
gradients,
|
||||
disableCustomColors,
|
||||
disableCustomGradients,
|
||||
__experimentalHasMultipleOrigins,
|
||||
__experimentalIsRenderedInSidebar,
|
||||
enableAlpha,
|
||||
settings
|
||||
} = _ref;
|
||||
let dropdownPosition;
|
||||
|
||||
if (__experimentalIsRenderedInSidebar) {
|
||||
dropdownPosition = 'bottom left';
|
||||
}
|
||||
|
||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalItemGroup"], {
|
||||
isBordered: true,
|
||||
isSeparated: true,
|
||||
className: "block-editor-panel-color-gradient-settings__item-group"
|
||||
}, settings.map((setting, index) => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Dropdown"], {
|
||||
key: index,
|
||||
position: dropdownPosition,
|
||||
className: "block-editor-panel-color-gradient-settings__dropdown",
|
||||
contentClassName: "block-editor-panel-color-gradient-settings__dropdown-content",
|
||||
renderToggle: _ref2 => {
|
||||
var _setting$gradientValu;
|
||||
|
||||
let {
|
||||
isOpen,
|
||||
onToggle
|
||||
} = _ref2;
|
||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalItem"], {
|
||||
onClick: onToggle,
|
||||
className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-panel-color-gradient-settings__item', {
|
||||
'is-open': isOpen
|
||||
})
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalHStack"], {
|
||||
justify: "flex-start"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["ColorIndicator"], {
|
||||
className: "block-editor-panel-color-gradient-settings__color-indicator",
|
||||
colorValue: (_setting$gradientValu = setting.gradientValue) !== null && _setting$gradientValu !== void 0 ? _setting$gradientValu : setting.colorValue
|
||||
}), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["FlexItem"], null, setting.label)));
|
||||
},
|
||||
renderContent: () => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_control__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
||||
showTitle: false,
|
||||
colors,
|
||||
gradients,
|
||||
disableCustomColors,
|
||||
disableCustomGradients,
|
||||
__experimentalHasMultipleOrigins,
|
||||
__experimentalIsRenderedInSidebar,
|
||||
enableAlpha
|
||||
}, setting))
|
||||
})));
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "dfZa":
|
||||
|
@ -36511,6 +36625,20 @@ function useTrail(length, propsArg, deps) {
|
|||
});
|
||||
}, deps);
|
||||
|
||||
if (propsFn || arguments.length == 3) {
|
||||
ref['_getProps'] = (propsArg, ctrl, i) => {
|
||||
const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(propsArg) ? propsArg(i, ctrl) : propsArg;
|
||||
|
||||
if (props) {
|
||||
const parent = ref.current[i + (props.reverse ? 1 : -1)];
|
||||
if (parent) props.to = parent.springs;
|
||||
return props;
|
||||
}
|
||||
};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
ref['start'] = propsArg => {
|
||||
const results = [];
|
||||
Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ref.current, (ctrl, i) => {
|
||||
|
@ -36528,20 +36656,6 @@ function useTrail(length, propsArg, deps) {
|
|||
return results;
|
||||
};
|
||||
|
||||
if (propsFn || arguments.length == 3) {
|
||||
ref['_getProps'] = (propsArg, ctrl, i) => {
|
||||
const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(propsArg) ? propsArg(i, ctrl) : propsArg;
|
||||
|
||||
if (props) {
|
||||
const parent = ref.current[i + (props.reverse ? 1 : -1)];
|
||||
if (parent) props.to = parent.springs;
|
||||
return props;
|
||||
}
|
||||
};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
return result[0];
|
||||
}
|
||||
|
||||
|
@ -37173,6 +37287,7 @@ const SETTINGS_DEFAULTS = {
|
|||
__experimentalBlockPatterns: [],
|
||||
__experimentalBlockPatternCategories: [],
|
||||
__experimentalSpotlightEntityBlocks: [],
|
||||
__experimentalGenerateAnchors: false,
|
||||
__unstableGalleryWithImageBlocks: false,
|
||||
// gradients setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
|
||||
// The setting is only kept for backward compatibility purposes.
|
||||
|
@ -41083,21 +41198,21 @@ __webpack_require__.d(__webpack_exports__, "__experimentalUseColorProps", functi
|
|||
__webpack_require__.d(__webpack_exports__, "__experimentalUseCustomSides", function() { return /* reexport */ useCustomSides; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalGetSpacingClassesAndStyles", function() { return /* reexport */ getSpacingClassesAndStyles; });
|
||||
__webpack_require__.d(__webpack_exports__, "useCachedTruthy", function() { return /* reexport */ useCachedTruthy; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorClassName", function() { return /* reexport */ components["hc" /* getColorClassName */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorObjectByAttributeValues", function() { return /* reexport */ components["ic" /* getColorObjectByAttributeValues */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorObjectByColorValue", function() { return /* reexport */ components["jc" /* getColorObjectByColorValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "createCustomColorsHOC", function() { return /* reexport */ components["gc" /* createCustomColorsHOC */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withColors", function() { return /* reexport */ components["vc" /* withColors */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientClass", function() { return /* reexport */ components["xb" /* __experimentalGetGradientClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getGradientValueBySlug", function() { return /* reexport */ components["oc" /* getGradientValueBySlug */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientObjectByGradientValue", function() { return /* reexport */ components["yb" /* __experimentalGetGradientObjectByGradientValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getGradientSlugByValue", function() { return /* reexport */ components["nc" /* getGradientSlugByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseGradient", function() { return /* reexport */ components["Sb" /* __experimentalUseGradient */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return /* reexport */ components["kc" /* getFontSize */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return /* reexport */ components["lc" /* getFontSizeClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSizeObjectByValue", function() { return /* reexport */ components["mc" /* getFontSizeObjectByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorClassName", function() { return /* reexport */ components["ic" /* getColorClassName */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorObjectByAttributeValues", function() { return /* reexport */ components["jc" /* getColorObjectByAttributeValues */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getColorObjectByColorValue", function() { return /* reexport */ components["kc" /* getColorObjectByColorValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "createCustomColorsHOC", function() { return /* reexport */ components["hc" /* createCustomColorsHOC */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withColors", function() { return /* reexport */ components["wc" /* withColors */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientClass", function() { return /* reexport */ components["yb" /* __experimentalGetGradientClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getGradientValueBySlug", function() { return /* reexport */ components["pc" /* getGradientValueBySlug */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientObjectByGradientValue", function() { return /* reexport */ components["zb" /* __experimentalGetGradientObjectByGradientValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getGradientSlugByValue", function() { return /* reexport */ components["oc" /* getGradientSlugByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseGradient", function() { return /* reexport */ components["Tb" /* __experimentalUseGradient */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return /* reexport */ components["lc" /* getFontSize */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return /* reexport */ components["mc" /* getFontSizeClass */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "getFontSizeObjectByValue", function() { return /* reexport */ components["nc" /* getFontSizeObjectByValue */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return /* reexport */ components["I" /* FontSizePicker */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withFontSizes", function() { return /* reexport */ components["wc" /* withFontSizes */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withFontSizes", function() { return /* reexport */ components["xc" /* withFontSizes */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "AlignmentControl", function() { return /* reexport */ components["a" /* AlignmentControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "AlignmentToolbar", function() { return /* reexport */ components["b" /* AlignmentToolbar */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return /* reexport */ components["c" /* Autocomplete */]; });
|
||||
|
@ -41112,7 +41227,7 @@ __webpack_require__.d(__webpack_exports__, "BlockControls", function() { return
|
|||
__webpack_require__.d(__webpack_exports__, "BlockFormatControls", function() { return /* reexport */ components["m" /* BlockFormatControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockColorsStyleSelector", function() { return /* reexport */ components["g" /* BlockColorsStyleSelector */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return /* reexport */ components["j" /* BlockEdit */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockEditContext", function() { return /* reexport */ components["qc" /* useBlockEditContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockEditContext", function() { return /* reexport */ components["rc" /* useBlockEditContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return /* reexport */ components["n" /* BlockIcon */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockNavigationDropdown", function() { return /* reexport */ components["r" /* BlockNavigationDropdown */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalBlockVariationPicker", function() { return /* reexport */ components["pb" /* __experimentalBlockVariationPicker */]; });
|
||||
|
@ -41127,89 +41242,90 @@ __webpack_require__.d(__webpack_exports__, "ButtonBlockAppender", function() { r
|
|||
__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return /* reexport */ components["D" /* ColorPalette */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ColorPaletteControl", function() { return /* reexport */ components["E" /* ColorPaletteControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ContrastChecker", function() { return /* reexport */ components["F" /* ContrastChecker */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalDuotoneControl", function() { return /* reexport */ components["ub" /* __experimentalDuotoneControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalFontAppearanceControl", function() { return /* reexport */ components["vb" /* __experimentalFontAppearanceControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalFontFamilyControl", function() { return /* reexport */ components["wb" /* __experimentalFontFamilyControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLetterSpacingControl", function() { return /* reexport */ components["Eb" /* __experimentalLetterSpacingControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalTextDecorationControl", function() { return /* reexport */ components["Ob" /* __experimentalTextDecorationControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalTextTransformControl", function() { return /* reexport */ components["Pb" /* __experimentalTextTransformControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalDuotoneControl", function() { return /* reexport */ components["vb" /* __experimentalDuotoneControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalFontAppearanceControl", function() { return /* reexport */ components["wb" /* __experimentalFontAppearanceControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalFontFamilyControl", function() { return /* reexport */ components["xb" /* __experimentalFontFamilyControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLetterSpacingControl", function() { return /* reexport */ components["Fb" /* __experimentalLetterSpacingControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalTextDecorationControl", function() { return /* reexport */ components["Pb" /* __experimentalTextDecorationControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalTextTransformControl", function() { return /* reexport */ components["Qb" /* __experimentalTextTransformControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientControl", function() { return /* reexport */ components["tb" /* __experimentalColorGradientControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalPanelColorGradientSettings", function() { return /* reexport */ components["Lb" /* __experimentalPanelColorGradientSettings */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageEditor", function() { return /* reexport */ components["Ab" /* __experimentalImageEditor */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageEditingProvider", function() { return /* reexport */ components["zb" /* __experimentalImageEditingProvider */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageSizeControl", function() { return /* reexport */ components["Bb" /* __experimentalImageSizeControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientSettingsDropdown", function() { return /* reexport */ components["ub" /* __experimentalColorGradientSettingsDropdown */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalPanelColorGradientSettings", function() { return /* reexport */ components["Mb" /* __experimentalPanelColorGradientSettings */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageEditor", function() { return /* reexport */ components["Bb" /* __experimentalImageEditor */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageEditingProvider", function() { return /* reexport */ components["Ab" /* __experimentalImageEditingProvider */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageSizeControl", function() { return /* reexport */ components["Cb" /* __experimentalImageSizeControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "InnerBlocks", function() { return /* reexport */ components["J" /* InnerBlocks */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useInnerBlocksProps", function() { return /* reexport */ components["sc" /* useInnerBlocksProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useInnerBlocksProps", function() { return /* reexport */ components["tc" /* useInnerBlocksProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "InspectorControls", function() { return /* reexport */ components["M" /* InspectorControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "InspectorAdvancedControls", function() { return /* reexport */ components["L" /* InspectorAdvancedControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "JustifyToolbar", function() { return /* reexport */ components["O" /* JustifyToolbar */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "JustifyContentControl", function() { return /* reexport */ components["N" /* JustifyContentControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControl", function() { return /* reexport */ components["Gb" /* __experimentalLinkControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchInput", function() { return /* reexport */ components["Hb" /* __experimentalLinkControlSearchInput */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchResults", function() { return /* reexport */ components["Jb" /* __experimentalLinkControlSearchResults */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchItem", function() { return /* reexport */ components["Ib" /* __experimentalLinkControlSearchItem */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControl", function() { return /* reexport */ components["Hb" /* __experimentalLinkControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchInput", function() { return /* reexport */ components["Ib" /* __experimentalLinkControlSearchInput */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchResults", function() { return /* reexport */ components["Kb" /* __experimentalLinkControlSearchResults */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchItem", function() { return /* reexport */ components["Jb" /* __experimentalLinkControlSearchItem */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "LineHeightControl", function() { return /* reexport */ components["P" /* LineHeightControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalListView", function() { return /* reexport */ components["Kb" /* __experimentalListView */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalListView", function() { return /* reexport */ components["Lb" /* __experimentalListView */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "MediaReplaceFlow", function() { return /* reexport */ components["R" /* MediaReplaceFlow */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "MediaPlaceholder", function() { return /* reexport */ components["Q" /* MediaPlaceholder */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return /* reexport */ components["S" /* MediaUpload */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "MediaUploadCheck", function() { return /* reexport */ components["T" /* MediaUploadCheck */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "PanelColorSettings", function() { return /* reexport */ components["X" /* PanelColorSettings */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "PlainText", function() { return /* reexport */ components["Y" /* PlainText */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalResponsiveBlockControl", function() { return /* reexport */ components["Nb" /* __experimentalResponsiveBlockControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalResponsiveBlockControl", function() { return /* reexport */ components["Ob" /* __experimentalResponsiveBlockControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "RichText", function() { return /* reexport */ components["ab" /* RichText */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "RichTextShortcut", function() { return /* reexport */ components["bb" /* RichTextShortcut */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "RichTextToolbarButton", function() { return /* reexport */ components["cb" /* RichTextToolbarButton */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableRichTextInputEvent", function() { return /* reexport */ components["Zb" /* __unstableRichTextInputEvent */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableRichTextInputEvent", function() { return /* reexport */ components["ac" /* __unstableRichTextInputEvent */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ToolSelector", function() { return /* reexport */ components["eb" /* ToolSelector */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUnitControl", function() { return /* reexport */ components["Qb" /* __experimentalUnitControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUnitControl", function() { return /* reexport */ components["Rb" /* __experimentalUnitControl */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "URLInput", function() { return /* reexport */ components["gb" /* URLInput */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "URLInputButton", function() { return /* reexport */ components["hb" /* URLInputButton */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "URLPopover", function() { return /* reexport */ components["ib" /* URLPopover */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageURLInputUI", function() { return /* reexport */ components["Cb" /* __experimentalImageURLInputUI */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return /* reexport */ components["uc" /* withColorContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableBlockSettingsMenuFirstItem", function() { return /* reexport */ components["Vb" /* __unstableBlockSettingsMenuFirstItem */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableInserterMenuExtension", function() { return /* reexport */ components["Yb" /* __unstableInserterMenuExtension */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalPreviewOptions", function() { return /* reexport */ components["Mb" /* __experimentalPreviewOptions */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseResizeCanvas", function() { return /* reexport */ components["Ub" /* __experimentalUseResizeCanvas */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalImageURLInputUI", function() { return /* reexport */ components["Db" /* __experimentalImageURLInputUI */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return /* reexport */ components["vc" /* withColorContext */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableBlockSettingsMenuFirstItem", function() { return /* reexport */ components["Wb" /* __unstableBlockSettingsMenuFirstItem */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableInserterMenuExtension", function() { return /* reexport */ components["Zb" /* __unstableInserterMenuExtension */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalPreviewOptions", function() { return /* reexport */ components["Nb" /* __experimentalPreviewOptions */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseResizeCanvas", function() { return /* reexport */ components["Vb" /* __experimentalUseResizeCanvas */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockInspector", function() { return /* reexport */ components["o" /* BlockInspector */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockList", function() { return /* reexport */ components["p" /* BlockList */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockProps", function() { return /* reexport */ components["rc" /* useBlockProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLayoutStyle", function() { return /* reexport */ components["Db" /* __experimentalLayoutStyle */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockProps", function() { return /* reexport */ components["sc" /* useBlockProps */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLayoutStyle", function() { return /* reexport */ components["Eb" /* __experimentalLayoutStyle */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockMover", function() { return /* reexport */ components["q" /* BlockMover */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockPreview", function() { return /* reexport */ components["s" /* BlockPreview */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseBlockPreview", function() { return /* reexport */ components["Rb" /* __experimentalUseBlockPreview */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseBlockPreview", function() { return /* reexport */ components["Sb" /* __experimentalUseBlockPreview */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockSelectionClearer", function() { return /* reexport */ components["t" /* BlockSelectionClearer */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseBlockSelectionClearer", function() { return /* reexport */ components["ac" /* __unstableUseBlockSelectionClearer */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseBlockSelectionClearer", function() { return /* reexport */ components["bc" /* __unstableUseBlockSelectionClearer */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockSettingsMenu", function() { return /* reexport */ components["u" /* BlockSettingsMenu */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockSettingsMenuControls", function() { return /* reexport */ components["v" /* BlockSettingsMenuControls */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockTitle", function() { return /* reexport */ components["w" /* BlockTitle */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockToolbar", function() { return /* reexport */ components["x" /* BlockToolbar */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockTools", function() { return /* reexport */ components["y" /* BlockTools */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "CopyHandler", function() { return /* reexport */ components["G" /* CopyHandler */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseClipboardHandler", function() { return /* reexport */ components["cc" /* __unstableUseClipboardHandler */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseClipboardHandler", function() { return /* reexport */ components["dc" /* __unstableUseClipboardHandler */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "DefaultBlockAppender", function() { return /* reexport */ components["H" /* DefaultBlockAppender */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableEditorStyles", function() { return /* reexport */ components["Wb" /* __unstableEditorStyles */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableEditorStyles", function() { return /* reexport */ components["Xb" /* __unstableEditorStyles */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Inserter", function() { return /* reexport */ components["K" /* Inserter */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLibrary", function() { return /* reexport */ components["Fb" /* __experimentalLibrary */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalLibrary", function() { return /* reexport */ components["Gb" /* __experimentalLibrary */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return /* reexport */ components["k" /* BlockEditorKeyboardShortcuts */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return /* reexport */ components["U" /* MultiSelectScrollIntoView */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "NavigableToolbar", function() { return /* reexport */ components["V" /* NavigableToolbar */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "ObserveTyping", function() { return /* reexport */ components["W" /* ObserveTyping */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseTypingObserver", function() { return /* reexport */ components["fc" /* __unstableUseTypingObserver */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseMouseMoveTypingReset", function() { return /* reexport */ components["dc" /* __unstableUseMouseMoveTypingReset */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseTypingObserver", function() { return /* reexport */ components["gc" /* __unstableUseTypingObserver */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseMouseMoveTypingReset", function() { return /* reexport */ components["ec" /* __unstableUseMouseMoveTypingReset */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "PreserveScrollInReorder", function() { return /* reexport */ components["Z" /* PreserveScrollInReorder */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "SkipToSelectedBlock", function() { return /* reexport */ components["db" /* SkipToSelectedBlock */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Typewriter", function() { return /* reexport */ components["fb" /* Typewriter */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseTypewriter", function() { return /* reexport */ components["ec" /* __unstableUseTypewriter */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseTypewriter", function() { return /* reexport */ components["fc" /* __unstableUseTypewriter */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "Warning", function() { return /* reexport */ components["jb" /* Warning */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return /* reexport */ components["kb" /* WritingFlow */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseCanvasClickRedirect", function() { return /* reexport */ components["bc" /* __unstableUseCanvasClickRedirect */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockDisplayInformation", function() { return /* reexport */ components["pc" /* useBlockDisplayInformation */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableIframe", function() { return /* reexport */ components["Xb" /* __unstableIframe */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseNoRecursiveRenders", function() { return /* reexport */ components["Tb" /* __experimentalUseNoRecursiveRenders */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableUseCanvasClickRedirect", function() { return /* reexport */ components["cc" /* __unstableUseCanvasClickRedirect */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useBlockDisplayInformation", function() { return /* reexport */ components["qc" /* useBlockDisplayInformation */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__unstableIframe", function() { return /* reexport */ components["Yb" /* __unstableIframe */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "__experimentalUseNoRecursiveRenders", function() { return /* reexport */ components["Ub" /* __experimentalUseNoRecursiveRenders */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "BlockEditorProvider", function() { return /* reexport */ components["l" /* BlockEditorProvider */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useSetting", function() { return /* reexport */ components["tc" /* useSetting */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "useSetting", function() { return /* reexport */ components["uc" /* useSetting */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "transformStyles", function() { return /* reexport */ build_module_utils["c" /* transformStyles */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "validateThemeColors", function() { return /* reexport */ build_module_utils["d" /* validateThemeColors */]; });
|
||||
__webpack_require__.d(__webpack_exports__, "validateThemeGradients", function() { return /* reexport */ build_module_utils["e" /* validateThemeGradients */]; });
|
||||
|
@ -41801,8 +41917,8 @@ var block_list = __webpack_require__("VyCT");
|
|||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
|
||||
var use_setting = __webpack_require__("v5LD");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js
|
||||
var control = __webpack_require__("hMaJ");
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/dropdown.js
|
||||
var dropdown = __webpack_require__("dchM");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js
|
||||
var use_multiple_origin_colors_and_gradients = __webpack_require__("0LBR");
|
||||
|
@ -41888,13 +42004,19 @@ function BorderColorEdit(props) {
|
|||
});
|
||||
};
|
||||
|
||||
return Object(external_wp_element_["createElement"])(control["a" /* default */], Object(esm_extends["a" /* default */])({
|
||||
const settings = [{
|
||||
label: Object(external_wp_i18n_["__"])('Color'),
|
||||
colorValue: colorValue,
|
||||
onColorChange: onChangeColor,
|
||||
clearable: false,
|
||||
colorValue,
|
||||
clearable: false
|
||||
}];
|
||||
return Object(external_wp_element_["createElement"])(dropdown["a" /* default */], Object(esm_extends["a" /* default */])({
|
||||
settings: settings,
|
||||
disableCustomColors: true,
|
||||
disableCustomGradients: true,
|
||||
__experimentalHasMultipleOrigins: true,
|
||||
__experimentalIsRenderedInSidebar: true
|
||||
__experimentalIsRenderedInSidebar: true,
|
||||
enableAlpha: true
|
||||
}, colorGradientSettings));
|
||||
}
|
||||
/**
|
||||
|
@ -42735,17 +42857,17 @@ function ColorEdit(props) {
|
|||
external_wp_element_["Platform"].OS === 'web' && !gradient && !(style !== null && style !== void 0 && (_style$color6 = style.color) !== null && _style$color6 !== void 0 && _style$color6.gradient),
|
||||
clientId: props.clientId,
|
||||
settings: [...(hasTextColor ? [{
|
||||
label: Object(external_wp_i18n_["__"])('Text color'),
|
||||
label: Object(external_wp_i18n_["__"])('Text'),
|
||||
onColorChange: onChangeColor('text'),
|
||||
colorValue: Object(utils["b" /* getColorObjectByAttributeValues */])(allSolids, textColor, style === null || style === void 0 ? void 0 : (_style$color7 = style.color) === null || _style$color7 === void 0 ? void 0 : _style$color7.text).color
|
||||
}] : []), ...(hasBackgroundColor || hasGradientColor ? [{
|
||||
label: Object(external_wp_i18n_["__"])('Background color'),
|
||||
label: Object(external_wp_i18n_["__"])('Background'),
|
||||
onColorChange: hasBackgroundColor ? onChangeColor('background') : undefined,
|
||||
colorValue: Object(utils["b" /* getColorObjectByAttributeValues */])(allSolids, backgroundColor, style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.background).color,
|
||||
gradientValue,
|
||||
onGradientChange: hasGradientColor ? onChangeGradient : undefined
|
||||
}] : []), ...(hasLinkColor ? [{
|
||||
label: Object(external_wp_i18n_["__"])('Link Color'),
|
||||
label: Object(external_wp_i18n_["__"])('Link'),
|
||||
onColorChange: onChangeLinkColor,
|
||||
colorValue: getLinkColorFromAttributeValue(allSolids, style === null || style === void 0 ? void 0 : (_style$elements2 = style.elements) === null || _style$elements2 === void 0 ? void 0 : (_style$elements2$link = _style$elements2.link) === null || _style$elements2$link === void 0 ? void 0 : (_style$elements2$link2 = _style$elements2$link.color) === null || _style$elements2$link2 === void 0 ? void 0 : _style$elements2$link2.text),
|
||||
clearable: !!(style !== null && style !== void 0 && (_style$elements3 = style.elements) !== null && _style$elements3 !== void 0 && (_style$elements3$link = _style$elements3.link) !== null && _style$elements3$link !== void 0 && (_style$elements3$link2 = _style$elements3$link.color) !== null && _style$elements3$link2 !== void 0 && _style$elements3$link2.text)
|
||||
|
@ -45616,7 +45738,7 @@ function useCachedTruthy(value) {
|
|||
|
||||
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js + 119 modules
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js + 118 modules
|
||||
var components = __webpack_require__("14PQ");
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/index.js + 2 modules
|
||||
|
@ -49861,7 +49983,7 @@ function InserterListboxGroup(props, ref) {
|
|||
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
|
||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("l3Sj");
|
||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
|
||||
/* harmony import */ var _control__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("hMaJ");
|
||||
/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("dchM");
|
||||
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("bVpQ");
|
||||
/* harmony import */ var _gradients__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("Cn0l");
|
||||
/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("v5LD");
|
||||
|
@ -49968,9 +50090,8 @@ const PanelColorGradientSettingsInner = _ref3 => {
|
|||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["PanelBody"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
||||
className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-panel-color-gradient-settings', className),
|
||||
title: showTitle ? titleElement : undefined
|
||||
}, props), settings.map((setting, index) => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_control__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
||||
showTitle: showTitle,
|
||||
key: index,
|
||||
}, props), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dropdown__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
|
||||
settings: settings,
|
||||
colors,
|
||||
gradients,
|
||||
disableCustomColors,
|
||||
|
@ -49978,7 +50099,9 @@ const PanelColorGradientSettingsInner = _ref3 => {
|
|||
__experimentalHasMultipleOrigins,
|
||||
__experimentalIsRenderedInSidebar,
|
||||
enableAlpha
|
||||
}, setting))), children);
|
||||
}), !!children && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalSpacer"], {
|
||||
marginY: 4
|
||||
}), " ", children));
|
||||
};
|
||||
|
||||
const PanelColorGradientSettingsSingleSelect = props => {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10765,6 +10765,8 @@ const gallery = Object(external_wp_element_["createElement"])(external_wp_primit
|
|||
const LINK_DESTINATION_NONE = 'none';
|
||||
const LINK_DESTINATION_MEDIA = 'media';
|
||||
const LINK_DESTINATION_ATTACHMENT = 'attachment';
|
||||
const LINK_DESTINATION_MEDIA_WP_CORE = 'file';
|
||||
const LINK_DESTINATION_ATTACHMENT_WP_CORE = 'post';
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js
|
||||
/**
|
||||
|
@ -11760,10 +11762,10 @@ const MEDIA_ID_NO_FEATURED_IMAGE_SET = 0;
|
|||
*/
|
||||
|
||||
function utils_getHrefAndDestination(image, destination) {
|
||||
// Need to determine the URL that the selected destination maps to.
|
||||
// Gutenberg and WordPress use different constants so the new link
|
||||
// destination also needs to be tweaked.
|
||||
// Gutenberg and WordPress use different constants so if image_default_link_type
|
||||
// option is set we need to map from the WP Core values.
|
||||
switch (destination) {
|
||||
case LINK_DESTINATION_MEDIA_WP_CORE:
|
||||
case LINK_DESTINATION_MEDIA:
|
||||
return {
|
||||
href: (image === null || image === void 0 ? void 0 : image.source_url) || (image === null || image === void 0 ? void 0 : image.url),
|
||||
|
@ -11771,6 +11773,7 @@ function utils_getHrefAndDestination(image, destination) {
|
|||
linkDestination: constants_LINK_DESTINATION_MEDIA
|
||||
};
|
||||
|
||||
case LINK_DESTINATION_ATTACHMENT_WP_CORE:
|
||||
case LINK_DESTINATION_ATTACHMENT:
|
||||
return {
|
||||
href: image === null || image === void 0 ? void 0 : image.link,
|
||||
|
@ -13948,7 +13951,10 @@ const gallery_transforms_transforms = {
|
|||
url,
|
||||
alt,
|
||||
caption,
|
||||
imageSizeSlug
|
||||
sizeSlug: imageSizeSlug,
|
||||
linkDestination,
|
||||
href,
|
||||
linkTarget
|
||||
}
|
||||
} = _ref14;
|
||||
return Object(external_wp_blocks_["createBlock"])('core/image', {
|
||||
|
@ -13957,7 +13963,10 @@ const gallery_transforms_transforms = {
|
|||
alt,
|
||||
caption,
|
||||
sizeSlug: imageSizeSlug,
|
||||
align
|
||||
align,
|
||||
linkDestination,
|
||||
href,
|
||||
linkTarget
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -15166,12 +15175,24 @@ function HeadingEdit(_ref) {
|
|||
}),
|
||||
style
|
||||
});
|
||||
const {
|
||||
canGenerateAnchors
|
||||
} = Object(external_wp_data_["useSelect"])(select => {
|
||||
const settings = select(external_wp_blockEditor_["store"]).getSettings();
|
||||
return {
|
||||
canGenerateAnchors: !!settings.__experimentalGenerateAnchors
|
||||
};
|
||||
}, []);
|
||||
const {
|
||||
__unstableMarkNextChangeAsNotPersistent
|
||||
} = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); // Initially set anchor for headings that have content but no anchor set.
|
||||
// This is used when transforming a block to heading, or for legacy anchors.
|
||||
|
||||
Object(external_wp_element_["useEffect"])(() => {
|
||||
if (!canGenerateAnchors) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!anchor && content) {
|
||||
// This side-effect should not create an undo level.
|
||||
__unstableMarkNextChangeAsNotPersistent();
|
||||
|
@ -15184,14 +15205,14 @@ function HeadingEdit(_ref) {
|
|||
setAnchor(clientId, anchor); // Remove anchor map when block unmounts.
|
||||
|
||||
return () => setAnchor(clientId, null);
|
||||
}, [content, anchor]);
|
||||
}, [anchor, content, clientId, canGenerateAnchors]);
|
||||
|
||||
const onContentChange = value => {
|
||||
const newAttrs = {
|
||||
content: value
|
||||
};
|
||||
|
||||
if (!anchor || !value || generateAnchor(clientId, content) === anchor) {
|
||||
if (canGenerateAnchors && (!anchor || !value || generateAnchor(clientId, content) === anchor)) {
|
||||
newAttrs.anchor = generateAnchor(clientId, value);
|
||||
}
|
||||
|
||||
|
@ -25509,8 +25530,9 @@ function PageListEdit(_ref) {
|
|||
} = _ref;
|
||||
const {
|
||||
pagesByParentId,
|
||||
totalPages
|
||||
} = usePagesByParentId();
|
||||
totalPages,
|
||||
hasResolvedPages
|
||||
} = usePageData();
|
||||
const isNavigationChild = ('showSubmenuIcon' in context);
|
||||
const allowConvertToLinks = isNavigationChild && totalPages <= edit_MAX_PAGE_COUNT;
|
||||
const [isOpen, setOpen] = Object(external_wp_element_["useState"])(false);
|
||||
|
@ -25537,18 +25559,33 @@ function PageListEdit(_ref) {
|
|||
}, Object(external_wp_i18n_["__"])('Edit'))), allowConvertToLinks && isOpen && Object(external_wp_element_["createElement"])(ConvertToLinksModal, {
|
||||
onClose: closeModal,
|
||||
clientId: clientId
|
||||
}), totalPages === undefined && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))), totalPages === 0 && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Page List: No pages to show.'))), totalPages > 0 && Object(external_wp_element_["createElement"])("ul", blockProps, Object(external_wp_element_["createElement"])(edit_PageItems, {
|
||||
}), !hasResolvedPages && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))), hasResolvedPages && totalPages === null && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
|
||||
status: 'warning',
|
||||
isDismissible: false
|
||||
}, Object(external_wp_i18n_["__"])('Page List: Cannot retrieve Pages.')))), totalPages === 0 && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
|
||||
status: 'info',
|
||||
isDismissible: false
|
||||
}, Object(external_wp_i18n_["__"])('Page List: Cannot retrieve Pages.'))), totalPages > 0 && Object(external_wp_element_["createElement"])("ul", blockProps, Object(external_wp_element_["createElement"])(edit_PageItems, {
|
||||
context: context,
|
||||
pagesByParentId: pagesByParentId
|
||||
})));
|
||||
}
|
||||
|
||||
function usePagesByParentId() {
|
||||
function useFrontPageId() {
|
||||
return Object(external_wp_data_["useSelect"])(select => {
|
||||
const site = select(external_wp_coreData_["store"]).getEntityRecord('root', 'site');
|
||||
return (site === null || site === void 0 ? void 0 : site.show_on_front) === 'page' && (site === null || site === void 0 ? void 0 : site.page_on_front);
|
||||
}, []);
|
||||
}
|
||||
|
||||
function usePageData() {
|
||||
const {
|
||||
pages
|
||||
pages,
|
||||
hasResolvedPages
|
||||
} = Object(external_wp_data_["useSelect"])(select => {
|
||||
const {
|
||||
getEntityRecords
|
||||
getEntityRecords,
|
||||
hasFinishedResolution
|
||||
} = select(external_wp_coreData_["store"]);
|
||||
return {
|
||||
pages: getEntityRecords('postType', 'page', {
|
||||
|
@ -25556,10 +25593,18 @@ function usePagesByParentId() {
|
|||
order: 'asc',
|
||||
_fields: ['id', 'link', 'parent', 'title', 'menu_order'],
|
||||
per_page: -1
|
||||
})
|
||||
}),
|
||||
hasResolvedPages: hasFinishedResolution('getEntityRecords', ['postType', 'page', {
|
||||
orderby: 'menu_order',
|
||||
order: 'asc',
|
||||
_fields: ['id', 'link', 'parent', 'title', 'menu_order'],
|
||||
per_page: -1
|
||||
}])
|
||||
};
|
||||
}, []);
|
||||
return Object(external_wp_element_["useMemo"])(() => {
|
||||
var _pages$length;
|
||||
|
||||
// TODO: Once the REST API supports passing multiple values to
|
||||
// 'orderby', this can be removed.
|
||||
// https://core.trac.wordpress.org/ticket/39037
|
||||
|
@ -25579,9 +25624,10 @@ function usePagesByParentId() {
|
|||
}, new Map());
|
||||
return {
|
||||
pagesByParentId,
|
||||
totalPages: pages === null || pages === void 0 ? void 0 : pages.length
|
||||
hasResolvedPages,
|
||||
totalPages: (_pages$length = pages === null || pages === void 0 ? void 0 : pages.length) !== null && _pages$length !== void 0 ? _pages$length : null
|
||||
};
|
||||
}, [pages]);
|
||||
}, [pages, hasResolvedPages]);
|
||||
}
|
||||
|
||||
const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_ref2) {
|
||||
|
@ -25592,6 +25638,7 @@ const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_
|
|||
depth = 0
|
||||
} = _ref2;
|
||||
const pages = pagesByParentId.get(parentId);
|
||||
const frontPageId = useFrontPageId();
|
||||
|
||||
if (!(pages !== null && pages !== void 0 && pages.length)) {
|
||||
return [];
|
||||
|
@ -25608,7 +25655,8 @@ const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_
|
|||
'has-child': hasChildren,
|
||||
'wp-block-navigation-item': isNavigationChild,
|
||||
'open-on-click': context.openSubmenusOnClick,
|
||||
'open-on-hover-click': !context.openSubmenusOnClick && context.showSubmenuIcon
|
||||
'open-on-hover-click': !context.openSubmenusOnClick && context.showSubmenuIcon,
|
||||
'menu-item-home': page.id === frontPageId
|
||||
})
|
||||
}, hasChildren && context.openSubmenusOnClick ? Object(external_wp_element_["createElement"])(ItemSubmenuToggle, {
|
||||
title: (_page$title = page.title) === null || _page$title === void 0 ? void 0 : _page$title.rendered
|
||||
|
@ -27451,17 +27499,12 @@ const postFeaturedImage = Object(external_wp_element_["createElement"])(external
|
|||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/dimension-controls.js
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
const SCALE_OPTIONS = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
|
||||
value: "cover",
|
||||
label: Object(external_wp_i18n_["_x"])('Cover', 'Scale option for Image dimension control')
|
||||
|
@ -27472,6 +27515,7 @@ const SCALE_OPTIONS = Object(external_wp_element_["createElement"])(external_wp_
|
|||
value: "fill",
|
||||
label: Object(external_wp_i18n_["_x"])('Fill', 'Scale option for Image dimension control')
|
||||
}));
|
||||
const DEFAULT_SCALE = 'cover';
|
||||
const scaleHelp = {
|
||||
cover: Object(external_wp_i18n_["__"])('Image is scaled and cropped to fill the entire space without being distorted.'),
|
||||
contain: Object(external_wp_i18n_["__"])('Image is scaled to fill the space without clipping nor distorting.'),
|
||||
|
@ -27480,6 +27524,7 @@ const scaleHelp = {
|
|||
|
||||
const DimensionControls = _ref => {
|
||||
let {
|
||||
clientId,
|
||||
attributes: {
|
||||
width,
|
||||
height,
|
||||
|
@ -27508,40 +27553,66 @@ const DimensionControls = _ref => {
|
|||
|
||||
const scaleLabel = Object(external_wp_i18n_["_x"])('Scale', 'Image scaling options');
|
||||
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
|
||||
title: Object(external_wp_i18n_["__"])('Dimensions')
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
|
||||
justify: "space-between",
|
||||
className: classnames_default()('block-library-post-featured-image-dimension-controls', {
|
||||
'scale-control-is-visible': !!height
|
||||
})
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
|
||||
return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
|
||||
__experimentalGroup: "dimensions"
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
|
||||
className: "single-column",
|
||||
hasValue: () => !!height,
|
||||
label: Object(external_wp_i18n_["__"])('Height'),
|
||||
onDeselect: () => setAttributes({
|
||||
height: undefined
|
||||
}),
|
||||
resetAllFilter: () => ({
|
||||
height: undefined
|
||||
}),
|
||||
isShownByDefault: true,
|
||||
panelId: clientId
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
|
||||
label: Object(external_wp_i18n_["__"])('Height'),
|
||||
labelPosition: "top",
|
||||
value: height || '',
|
||||
onChange: nextHeight => {
|
||||
onDimensionChange('height', nextHeight);
|
||||
},
|
||||
min: 0,
|
||||
onChange: nextHeight => onDimensionChange('height', nextHeight),
|
||||
units: units
|
||||
})), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
|
||||
})), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
|
||||
className: "single-column",
|
||||
hasValue: () => !!width,
|
||||
label: Object(external_wp_i18n_["__"])('Width'),
|
||||
onDeselect: () => setAttributes({
|
||||
width: undefined
|
||||
}),
|
||||
resetAllFilter: () => ({
|
||||
width: undefined
|
||||
}),
|
||||
isShownByDefault: true,
|
||||
panelId: clientId
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
|
||||
label: Object(external_wp_i18n_["__"])('Width'),
|
||||
labelPosition: "top",
|
||||
value: width || '',
|
||||
onChange: nextWidth => {
|
||||
onDimensionChange('width', nextWidth);
|
||||
},
|
||||
min: 0,
|
||||
onChange: nextWidth => onDimensionChange('width', nextWidth),
|
||||
units: units
|
||||
}))), !!height && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
|
||||
})), !!height && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
|
||||
hasValue: () => !!scale && scale !== DEFAULT_SCALE,
|
||||
label: scaleLabel,
|
||||
onDeselect: () => setAttributes({
|
||||
scale: DEFAULT_SCALE
|
||||
}),
|
||||
resetAllFilter: () => ({
|
||||
scale: DEFAULT_SCALE
|
||||
}),
|
||||
isShownByDefault: true,
|
||||
panelId: clientId
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
|
||||
label: scaleLabel,
|
||||
value: scale,
|
||||
help: scaleHelp[scale],
|
||||
onChange: value => {
|
||||
setAttributes({
|
||||
scale: value
|
||||
});
|
||||
},
|
||||
onChange: value => setAttributes({
|
||||
scale: value
|
||||
}),
|
||||
isBlock: true
|
||||
}, SCALE_OPTIONS));
|
||||
}, SCALE_OPTIONS)));
|
||||
};
|
||||
|
||||
/* harmony default export */ var dimension_controls = (DimensionControls);
|
||||
|
@ -27582,6 +27653,7 @@ const placeholderChip = Object(external_wp_element_["createElement"])("div", {
|
|||
|
||||
function PostFeaturedImageDisplay(_ref) {
|
||||
let {
|
||||
clientId,
|
||||
attributes,
|
||||
setAttributes,
|
||||
context: {
|
||||
|
@ -27673,10 +27745,11 @@ function PostFeaturedImageDisplay(_ref) {
|
|||
});
|
||||
}
|
||||
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(dimension_controls, {
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(dimension_controls, {
|
||||
clientId: clientId,
|
||||
attributes: attributes,
|
||||
setAttributes: setAttributes
|
||||
}), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
|
||||
}), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
|
||||
title: Object(external_wp_i18n_["__"])('Link settings')
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
|
||||
label: Object(external_wp_i18n_["sprintf"])( // translators: %s: Name of the post type e.g: "post".
|
||||
|
@ -33901,7 +33974,6 @@ function LogoEdit(_ref2) {
|
|||
isSelected
|
||||
} = _ref2;
|
||||
const {
|
||||
className: styleClass,
|
||||
width,
|
||||
shouldSyncIcon
|
||||
} = attributes;
|
||||
|
@ -33954,33 +34026,9 @@ function LogoEdit(_ref2) {
|
|||
siteIconId: _siteIconId
|
||||
};
|
||||
}, []);
|
||||
const {
|
||||
getGlobalBlockCount
|
||||
} = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
|
||||
const {
|
||||
editEntityRecord
|
||||
} = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
|
||||
Object(external_wp_element_["useEffect"])(() => {
|
||||
// Cleanup function to discard unsaved changes to the icon and logo when
|
||||
// the block is removed.
|
||||
return () => {
|
||||
// Do nothing if the block is being rendered in the styles preview or the
|
||||
// block inserter.
|
||||
if (styleClass !== null && styleClass !== void 0 && styleClass.includes('block-editor-block-types-list__site-logo-example') || styleClass !== null && styleClass !== void 0 && styleClass.includes('block-editor-block-styles__block-preview-container')) {
|
||||
return;
|
||||
}
|
||||
|
||||
const logoBlockCount = getGlobalBlockCount('core/site-logo'); // Only discard unsaved changes if we are removing the last Site Logo block
|
||||
// on the page.
|
||||
|
||||
if (logoBlockCount === 0) {
|
||||
editEntityRecord('root', 'site', undefined, {
|
||||
site_logo: undefined,
|
||||
site_icon: undefined
|
||||
});
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
|
||||
const setLogo = function (newValue) {
|
||||
let shouldForceSync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
||||
|
@ -36029,68 +36077,7 @@ const social_links_deprecated_migrateWithLayout = attributes => {
|
|||
}; // Social Links block deprecations.
|
||||
|
||||
|
||||
const social_links_deprecated_deprecated = [// Implement `flex` layout.
|
||||
{
|
||||
attributes: {
|
||||
iconColor: {
|
||||
type: 'string'
|
||||
},
|
||||
customIconColor: {
|
||||
type: 'string'
|
||||
},
|
||||
iconColorValue: {
|
||||
type: 'string'
|
||||
},
|
||||
iconBackgroundColor: {
|
||||
type: 'string'
|
||||
},
|
||||
customIconBackgroundColor: {
|
||||
type: 'string'
|
||||
},
|
||||
iconBackgroundColorValue: {
|
||||
type: 'string'
|
||||
},
|
||||
openInNewTab: {
|
||||
type: 'boolean',
|
||||
default: false
|
||||
},
|
||||
size: {
|
||||
type: 'string'
|
||||
}
|
||||
},
|
||||
supports: {
|
||||
align: ['left', 'center', 'right'],
|
||||
anchor: true,
|
||||
__experimentalExposeControlsToChildren: true
|
||||
},
|
||||
isEligible: _ref => {
|
||||
let {
|
||||
layout
|
||||
} = _ref;
|
||||
return !layout;
|
||||
},
|
||||
migrate: social_links_deprecated_migrateWithLayout,
|
||||
|
||||
save(props) {
|
||||
const {
|
||||
attributes: {
|
||||
iconBackgroundColorValue,
|
||||
iconColorValue,
|
||||
itemsJustification,
|
||||
size
|
||||
}
|
||||
} = props;
|
||||
const className = classnames_default()(size, {
|
||||
'has-icon-color': iconColorValue,
|
||||
'has-icon-background-color': iconBackgroundColorValue,
|
||||
[`items-justified-${itemsJustification}`]: itemsJustification
|
||||
});
|
||||
return Object(external_wp_element_["createElement"])("ul", external_wp_blockEditor_["useBlockProps"].save({
|
||||
className
|
||||
}), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
|
||||
}
|
||||
|
||||
}, // V1. Remove CSS variable use for colors.
|
||||
const social_links_deprecated_deprecated = [// V1. Remove CSS variable use for colors.
|
||||
{
|
||||
attributes: {
|
||||
iconColor: {
|
||||
|
@ -36318,7 +36305,7 @@ function SocialLinksEdit(props) {
|
|||
iconBackgroundColorValue: colorValue
|
||||
});
|
||||
},
|
||||
label: Object(external_wp_i18n_["__"])('Icon background color')
|
||||
label: Object(external_wp_i18n_["__"])('Icon background')
|
||||
}]
|
||||
}), !logosOnly && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ContrastChecker"], {
|
||||
textColor: iconColorValue,
|
||||
|
@ -36496,9 +36483,157 @@ const resizeCornerNE = Object(external_wp_element_["createElement"])(external_wp
|
|||
}));
|
||||
/* harmony default export */ var resize_corner_n_e = (resizeCornerNE);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/deprecated.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
const spacer_deprecated_deprecated = [{
|
||||
attributes: {
|
||||
height: {
|
||||
type: 'number',
|
||||
default: 100
|
||||
},
|
||||
width: {
|
||||
type: 'number'
|
||||
}
|
||||
},
|
||||
|
||||
migrate(attributes) {
|
||||
const {
|
||||
height,
|
||||
width
|
||||
} = attributes;
|
||||
return { ...attributes,
|
||||
width: width !== undefined ? `${width}px` : undefined,
|
||||
height: height !== undefined ? `${height}px` : undefined
|
||||
};
|
||||
},
|
||||
|
||||
save(_ref) {
|
||||
let {
|
||||
attributes
|
||||
} = _ref;
|
||||
return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
|
||||
style: {
|
||||
height: attributes.height,
|
||||
width: attributes.width
|
||||
},
|
||||
'aria-hidden': true
|
||||
}));
|
||||
}
|
||||
|
||||
}];
|
||||
/* harmony default export */ var spacer_deprecated = (spacer_deprecated_deprecated);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/controls.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
function DimensionInput(_ref) {
|
||||
var _ref2;
|
||||
|
||||
let {
|
||||
label,
|
||||
onChange,
|
||||
isResizing,
|
||||
value = ''
|
||||
} = _ref;
|
||||
const [temporaryInput, setTemporaryInput] = Object(external_wp_element_["useState"])(null);
|
||||
const inputId = Object(external_wp_compose_["useInstanceId"])(external_wp_components_["__experimentalUnitControl"], 'block-spacer-height-input'); // In most contexts the spacer size cannot meaningfully be set to a
|
||||
// percentage, since this is relative to the parent container. This
|
||||
// unit is disabled from the UI.
|
||||
|
||||
const availableUnitSettings = (_ref2 = Object(external_wp_blockEditor_["useSetting"])('spacing.units') || undefined) === null || _ref2 === void 0 ? void 0 : _ref2.filter(availableUnit => availableUnit !== '%');
|
||||
const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
|
||||
availableUnits: availableUnitSettings || ['px', 'em', 'rem', 'vw', 'vh'],
|
||||
defaultValues: {
|
||||
px: '100',
|
||||
em: '10',
|
||||
rem: '10',
|
||||
vw: '10',
|
||||
vh: '25'
|
||||
}
|
||||
});
|
||||
|
||||
const handleOnChange = unprocessedValue => {
|
||||
setTemporaryInput(null);
|
||||
onChange(unprocessedValue);
|
||||
};
|
||||
|
||||
const handleOnBlur = () => {
|
||||
if (temporaryInput !== null) {
|
||||
setTemporaryInput(null);
|
||||
}
|
||||
};
|
||||
|
||||
const inputValue = temporaryInput !== null ? temporaryInput : value;
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
|
||||
label: label,
|
||||
id: inputId
|
||||
}, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
|
||||
id: inputId,
|
||||
isResetValueOnUnitChange: true,
|
||||
min: 0,
|
||||
max: MAX_SPACER_SIZE,
|
||||
onBlur: handleOnBlur,
|
||||
onChange: handleOnChange,
|
||||
style: {
|
||||
maxWidth: 80
|
||||
},
|
||||
value: inputValue,
|
||||
units: units // Force the unit to update to `px` when the Spacer is being resized.
|
||||
,
|
||||
unit: isResizing ? 'px' : undefined
|
||||
}));
|
||||
}
|
||||
|
||||
function SpacerControls(_ref3) {
|
||||
let {
|
||||
setAttributes,
|
||||
orientation,
|
||||
height,
|
||||
width,
|
||||
isResizing
|
||||
} = _ref3;
|
||||
return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
|
||||
title: Object(external_wp_i18n_["__"])('Spacer settings')
|
||||
}, orientation === 'horizontal' && Object(external_wp_element_["createElement"])(DimensionInput, {
|
||||
label: Object(external_wp_i18n_["__"])('Width'),
|
||||
value: width,
|
||||
onChange: nextWidth => setAttributes({
|
||||
width: nextWidth
|
||||
}),
|
||||
isResizing: isResizing
|
||||
}), orientation !== 'horizontal' && Object(external_wp_element_["createElement"])(DimensionInput, {
|
||||
label: Object(external_wp_i18n_["__"])('Height'),
|
||||
value: height,
|
||||
onChange: nextHeight => setAttributes({
|
||||
height: nextHeight
|
||||
}),
|
||||
isResizing: isResizing
|
||||
})));
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/edit.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
@ -36513,13 +36648,68 @@ const resizeCornerNE = Object(external_wp_element_["createElement"])(external_wp
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
const MIN_SPACER_HEIGHT = 1;
|
||||
const MAX_SPACER_HEIGHT = 500;
|
||||
const MIN_SPACER_WIDTH = 1;
|
||||
const MAX_SPACER_WIDTH = 500;
|
||||
|
||||
const SpacerEdit = _ref => {
|
||||
const MIN_SPACER_SIZE = 1;
|
||||
const MAX_SPACER_SIZE = 500;
|
||||
|
||||
const ResizableSpacer = _ref => {
|
||||
let {
|
||||
orientation,
|
||||
onResizeStart,
|
||||
onResize,
|
||||
onResizeStop,
|
||||
isSelected,
|
||||
isResizing,
|
||||
setIsResizing,
|
||||
...props
|
||||
} = _ref;
|
||||
|
||||
const getCurrentSize = elt => {
|
||||
return orientation === 'horizontal' ? elt.clientWidth : elt.clientHeight;
|
||||
};
|
||||
|
||||
const getNextVal = elt => {
|
||||
return `${getCurrentSize(elt)}px`;
|
||||
};
|
||||
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
|
||||
className: classnames_default()('block-library-spacer__resize-container', {
|
||||
'resize-horizontal': orientation === 'horizontal',
|
||||
'is-resizing': isResizing,
|
||||
'is-selected': isSelected
|
||||
}),
|
||||
onResizeStart: (_event, _direction, elt) => {
|
||||
const nextVal = getNextVal(elt);
|
||||
onResizeStart(nextVal);
|
||||
onResize(nextVal);
|
||||
},
|
||||
onResize: (_event, _direction, elt) => {
|
||||
onResize(getNextVal(elt));
|
||||
|
||||
if (!isResizing) {
|
||||
setIsResizing(true);
|
||||
}
|
||||
},
|
||||
onResizeStop: (_event, _direction, elt) => {
|
||||
const nextVal = Math.min(MAX_SPACER_SIZE, getCurrentSize(elt));
|
||||
onResizeStop(`${nextVal}px`);
|
||||
setIsResizing(false);
|
||||
},
|
||||
__experimentalShowTooltip: true,
|
||||
__experimentalTooltipProps: {
|
||||
axis: orientation === 'horizontal' ? 'x' : 'y',
|
||||
position: 'corner',
|
||||
isVisible: isResizing
|
||||
},
|
||||
showHandle: isSelected
|
||||
}, props));
|
||||
};
|
||||
|
||||
const SpacerEdit = _ref2 => {
|
||||
let {
|
||||
attributes,
|
||||
isSelected,
|
||||
|
@ -36527,58 +36717,43 @@ const SpacerEdit = _ref => {
|
|||
onResizeStart,
|
||||
onResizeStop,
|
||||
context
|
||||
} = _ref;
|
||||
} = _ref2;
|
||||
const {
|
||||
orientation
|
||||
} = context;
|
||||
const [isResizing, setIsResizing] = Object(external_wp_element_["useState"])(false);
|
||||
const {
|
||||
height,
|
||||
width
|
||||
} = attributes;
|
||||
const [isResizing, setIsResizing] = Object(external_wp_element_["useState"])(false);
|
||||
const [temporaryHeight, setTemporaryHeight] = Object(external_wp_element_["useState"])(null);
|
||||
const [temporaryWidth, setTemporaryWidth] = Object(external_wp_element_["useState"])(null);
|
||||
|
||||
const updateHeight = value => {
|
||||
setAttributes({
|
||||
height: value
|
||||
});
|
||||
};
|
||||
|
||||
const updateWidth = value => {
|
||||
setAttributes({
|
||||
width: value
|
||||
});
|
||||
};
|
||||
|
||||
const handleOnResizeStart = function () {
|
||||
onResizeStart(...arguments);
|
||||
setIsResizing(true);
|
||||
};
|
||||
|
||||
const handleOnVerticalResizeStop = (event, direction, elt, delta) => {
|
||||
const handleOnVerticalResizeStop = newHeight => {
|
||||
onResizeStop();
|
||||
const spacerHeight = Math.min(parseInt(height + delta.height, 10), MAX_SPACER_HEIGHT);
|
||||
updateHeight(spacerHeight);
|
||||
setIsResizing(false);
|
||||
setAttributes({
|
||||
height: newHeight
|
||||
});
|
||||
setTemporaryHeight(null);
|
||||
};
|
||||
|
||||
const handleOnHorizontalResizeStop = (event, direction, elt, delta) => {
|
||||
const handleOnHorizontalResizeStop = newWidth => {
|
||||
onResizeStop();
|
||||
const spacerWidth = Math.min(parseInt(width + delta.width, 10), MAX_SPACER_WIDTH);
|
||||
updateWidth(spacerWidth);
|
||||
setIsResizing(false);
|
||||
setAttributes({
|
||||
width: newWidth
|
||||
});
|
||||
setTemporaryWidth(null);
|
||||
};
|
||||
|
||||
const style = {
|
||||
height: orientation === 'horizontal' ? 24 : temporaryHeight || height || undefined,
|
||||
width: orientation === 'horizontal' ? temporaryWidth || width || undefined : undefined
|
||||
};
|
||||
|
||||
const resizableBoxWithOrientation = blockOrientation => {
|
||||
if (blockOrientation === 'horizontal') {
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
|
||||
className: classnames_default()('block-library-spacer__resize-container', 'resize-horizontal', {
|
||||
'is-selected': isSelected
|
||||
}),
|
||||
size: {
|
||||
width,
|
||||
height: 24
|
||||
},
|
||||
minWidth: MIN_SPACER_WIDTH,
|
||||
return Object(external_wp_element_["createElement"])(ResizableSpacer, {
|
||||
minWidth: MIN_SPACER_SIZE,
|
||||
enable: {
|
||||
top: false,
|
||||
right: true,
|
||||
|
@ -36589,26 +36764,17 @@ const SpacerEdit = _ref => {
|
|||
bottomLeft: false,
|
||||
topLeft: false
|
||||
},
|
||||
onResizeStart: handleOnResizeStart,
|
||||
orientation: blockOrientation,
|
||||
onResizeStart: onResizeStart,
|
||||
onResize: setTemporaryWidth,
|
||||
onResizeStop: handleOnHorizontalResizeStop,
|
||||
showHandle: isSelected,
|
||||
__experimentalShowTooltip: true,
|
||||
__experimentalTooltipProps: {
|
||||
axis: 'x',
|
||||
position: 'corner',
|
||||
isVisible: isResizing
|
||||
}
|
||||
isSelected: isSelected,
|
||||
isResizing: isResizing,
|
||||
setIsResizing: setIsResizing
|
||||
});
|
||||
}
|
||||
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
|
||||
className: classnames_default()('block-library-spacer__resize-container', {
|
||||
'is-selected': isSelected
|
||||
}),
|
||||
size: {
|
||||
height
|
||||
},
|
||||
minHeight: MIN_SPACER_HEIGHT,
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ResizableSpacer, {
|
||||
enable: {
|
||||
top: false,
|
||||
right: false,
|
||||
|
@ -36619,39 +36785,33 @@ const SpacerEdit = _ref => {
|
|||
bottomLeft: false,
|
||||
topLeft: false
|
||||
},
|
||||
onResizeStart: handleOnResizeStart,
|
||||
orientation: blockOrientation,
|
||||
onResizeStart: onResizeStart,
|
||||
onResize: setTemporaryHeight,
|
||||
onResizeStop: handleOnVerticalResizeStop,
|
||||
showHandle: isSelected,
|
||||
__experimentalShowTooltip: true,
|
||||
__experimentalTooltipProps: {
|
||||
axis: 'y',
|
||||
position: 'bottom',
|
||||
isVisible: isResizing
|
||||
}
|
||||
});
|
||||
isSelected: isSelected,
|
||||
isResizing: isResizing,
|
||||
setIsResizing: setIsResizing
|
||||
}));
|
||||
};
|
||||
|
||||
Object(external_wp_element_["useEffect"])(() => {
|
||||
if (orientation === 'horizontal' && !width) {
|
||||
updateWidth(72);
|
||||
updateHeight(0);
|
||||
setAttributes({
|
||||
height: '0px',
|
||||
width: '72px'
|
||||
});
|
||||
}
|
||||
}, []);
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], Object(external_wp_blockEditor_["useBlockProps"])(), resizableBoxWithOrientation(orientation)), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
|
||||
title: Object(external_wp_i18n_["__"])('Spacer settings')
|
||||
}, orientation === 'horizontal' && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
|
||||
label: Object(external_wp_i18n_["__"])('Width in pixels'),
|
||||
min: MIN_SPACER_WIDTH,
|
||||
max: Math.max(MAX_SPACER_WIDTH, width),
|
||||
value: width,
|
||||
onChange: updateWidth
|
||||
}), orientation !== 'horizontal' && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
|
||||
label: Object(external_wp_i18n_["__"])('Height in pixels'),
|
||||
min: MIN_SPACER_HEIGHT,
|
||||
max: Math.max(MAX_SPACER_HEIGHT, height),
|
||||
value: height,
|
||||
onChange: updateHeight
|
||||
}))));
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], Object(external_wp_blockEditor_["useBlockProps"])({
|
||||
style
|
||||
}), resizableBoxWithOrientation(orientation)), Object(external_wp_element_["createElement"])(SpacerControls, {
|
||||
setAttributes: setAttributes,
|
||||
height: temporaryHeight || height,
|
||||
width: temporaryWidth || width,
|
||||
orientation: orientation,
|
||||
isResizing: isResizing
|
||||
}));
|
||||
};
|
||||
|
||||
/* harmony default export */ var spacer_edit = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withDispatch"])(dispatch => {
|
||||
|
@ -36673,12 +36833,15 @@ const SpacerEdit = _ref => {
|
|||
|
||||
function spacer_save_save(_ref) {
|
||||
let {
|
||||
attributes
|
||||
attributes: {
|
||||
height,
|
||||
width
|
||||
}
|
||||
} = _ref;
|
||||
return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
|
||||
style: {
|
||||
height: attributes.height,
|
||||
width: attributes.width
|
||||
height,
|
||||
width
|
||||
},
|
||||
'aria-hidden': true
|
||||
}));
|
||||
|
@ -36694,6 +36857,7 @@ function spacer_save_save(_ref) {
|
|||
*/
|
||||
|
||||
|
||||
|
||||
const spacer_metadata = {
|
||||
apiVersion: 2,
|
||||
name: "core/spacer",
|
||||
|
@ -36703,11 +36867,11 @@ const spacer_metadata = {
|
|||
textdomain: "default",
|
||||
attributes: {
|
||||
height: {
|
||||
type: "number",
|
||||
"default": 100
|
||||
type: "string",
|
||||
"default": "100px"
|
||||
},
|
||||
width: {
|
||||
type: "number"
|
||||
type: "string"
|
||||
}
|
||||
},
|
||||
usesContext: ["orientation"],
|
||||
|
@ -36725,7 +36889,8 @@ const {
|
|||
const spacer_settings = {
|
||||
icon: resize_corner_n_e,
|
||||
edit: spacer_edit,
|
||||
save: spacer_save_save
|
||||
save: spacer_save_save,
|
||||
deprecated: spacer_deprecated
|
||||
};
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-table.js
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -39581,11 +39581,18 @@ function ColorPalette(_ref6) {
|
|||
enableAlpha: enableAlpha
|
||||
});
|
||||
|
||||
let dropdownPosition;
|
||||
|
||||
if (__experimentalIsRenderedInSidebar) {
|
||||
dropdownPosition = 'bottom left';
|
||||
}
|
||||
|
||||
const colordColor = Object(colord["a" /* colord */])(value);
|
||||
return Object(external_wp_element_["createElement"])(v_stack_component, {
|
||||
spacing: 3,
|
||||
className: className
|
||||
}, !disableCustomColors && Object(external_wp_element_["createElement"])(CustomColorPickerDropdown, {
|
||||
position: dropdownPosition,
|
||||
isRenderedInSidebar: __experimentalIsRenderedInSidebar,
|
||||
renderContent: renderCustomColorPicker,
|
||||
renderToggle: _ref7 => {
|
||||
|
@ -39876,8 +39883,7 @@ function GradientColorPickerDropdown(_ref2) {
|
|||
|
||||
if (isRenderedInSidebar) {
|
||||
result.anchorRef = gradientPickerDomRef.current;
|
||||
result.position = Object(external_wp_i18n_["isRTL"])() ? 'bottom right' : 'bottom left';
|
||||
result.__unstableForcePosition = true;
|
||||
result.position = 'bottom left';
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -50991,26 +50997,37 @@ function ToggleGroupControlBackdrop(_ref) {
|
|||
return;
|
||||
}
|
||||
|
||||
const {
|
||||
x: parentX
|
||||
} = containerNode.getBoundingClientRect();
|
||||
const {
|
||||
width: offsetWidth,
|
||||
x
|
||||
} = targetNode.getBoundingClientRect();
|
||||
const borderWidth = 1;
|
||||
const offsetLeft = x - parentX - borderWidth;
|
||||
setLeft(offsetLeft);
|
||||
setWidth(offsetWidth);
|
||||
let requestId;
|
||||
const computeDimensions = () => {
|
||||
const {
|
||||
width: offsetWidth,
|
||||
x
|
||||
} = targetNode.getBoundingClientRect();
|
||||
const {
|
||||
x: parentX
|
||||
} = containerNode.getBoundingClientRect();
|
||||
const borderWidth = 1;
|
||||
const offsetLeft = x - parentX - borderWidth;
|
||||
setLeft(offsetLeft);
|
||||
setWidth(offsetWidth);
|
||||
}; // Fix to make the component appear as expected inside popovers.
|
||||
// If the targetNode width is 0 it means the element was not yet rendered we should allow
|
||||
// some time for the render to happen.
|
||||
// requestAnimationFrame instead of setTimeout with a small time does not seems to work.
|
||||
|
||||
|
||||
const dimensionsRequestId = window.setTimeout(computeDimensions, 100);
|
||||
let animationRequestId;
|
||||
|
||||
if (!canAnimate) {
|
||||
requestId = window.requestAnimationFrame(() => {
|
||||
animationRequestId = window.requestAnimationFrame(() => {
|
||||
setCanAnimate(true);
|
||||
});
|
||||
}
|
||||
|
||||
return () => window.cancelAnimationFrame(requestId);
|
||||
return () => {
|
||||
window.clearTimeout(dimensionsRequestId);
|
||||
window.cancelAnimationFrame(animationRequestId);
|
||||
};
|
||||
}, [canAnimate, containerRef, containerWidth, state, isAdaptiveWidth]);
|
||||
|
||||
if (!renderBackdrop) {
|
||||
|
@ -59435,7 +59452,7 @@ function TreeGrid(_ref, ref) {
|
|||
|
||||
// Left:
|
||||
// If a row is focused, and it is expanded, collapses the current row.
|
||||
if ((activeRow === null || activeRow === void 0 ? void 0 : activeRow.ariaExpanded) === 'true') {
|
||||
if (activeRow.getAttribute('aria-expanded') === 'true') {
|
||||
onCollapseRow(activeRow);
|
||||
event.preventDefault();
|
||||
return;
|
||||
|
@ -59455,10 +59472,12 @@ function TreeGrid(_ref, ref) {
|
|||
}
|
||||
|
||||
(_getRowFocusables = getRowFocusables(parentRow)) === null || _getRowFocusables === void 0 ? void 0 : (_getRowFocusables$ = _getRowFocusables[0]) === null || _getRowFocusables$ === void 0 ? void 0 : _getRowFocusables$.focus();
|
||||
} else {
|
||||
}
|
||||
|
||||
if (keyCode === external_wp_keycodes_["RIGHT"]) {
|
||||
// Right:
|
||||
// If a row is focused, and it is collapsed, expands the current row.
|
||||
if ((activeRow === null || activeRow === void 0 ? void 0 : activeRow.ariaExpanded) === 'false') {
|
||||
if (activeRow.getAttribute('aria-expanded') === 'false') {
|
||||
onExpandRow(activeRow);
|
||||
event.preventDefault();
|
||||
return;
|
||||
|
@ -59525,7 +59544,7 @@ function TreeGrid(_ref, ref) {
|
|||
|
||||
event.preventDefault();
|
||||
}
|
||||
}, []);
|
||||
}, [onExpandRow, onCollapseRow]);
|
||||
/* Disable reason: A treegrid is implemented using a table element. */
|
||||
|
||||
/* eslint-disable jsx-a11y/no-noninteractive-element-to-interactive-role */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3003,7 +3003,18 @@ function reducer_undo() {
|
|||
// to continue as if we were creating an explicit undo level. This
|
||||
// will result in an extra undo level being appended with the flattened
|
||||
// undo values.
|
||||
// We also have to take into account if the `lastEditAction` had opted out
|
||||
// of being tracked in undo history, like the action that persists the latest
|
||||
// content right before saving. In that case we have to update the `lastEditAction`
|
||||
// to avoid returning early before applying the existing flattened undos.
|
||||
isCreateUndoLevel = true;
|
||||
|
||||
if (!lastEditAction.meta.undo) {
|
||||
lastEditAction.meta.undo = {
|
||||
edits: {}
|
||||
};
|
||||
}
|
||||
|
||||
action = lastEditAction;
|
||||
} else {
|
||||
return nextState;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1932,7 +1932,9 @@ const getEditedPostTemplate = Object(external_wp_data_["createRegistrySelector"]
|
|||
if (currentTemplate) {
|
||||
var _select$getEntityReco;
|
||||
|
||||
const templateWithSameSlug = (_select$getEntityReco = select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template')) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.find(template => template.slug === currentTemplate);
|
||||
const templateWithSameSlug = (_select$getEntityReco = select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template', {
|
||||
per_page: -1
|
||||
})) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.find(template => template.slug === currentTemplate);
|
||||
|
||||
if (!templateWithSameSlug) {
|
||||
return templateWithSameSlug;
|
||||
|
@ -8207,7 +8209,8 @@ function TemplatePanel() {
|
|||
const _supportsTemplateMode = select(external_wp_editor_["store"]).getEditorSettings().supportsTemplateMode && _isViewable;
|
||||
|
||||
const wpTemplates = getEntityRecords('postType', 'wp_template', {
|
||||
post_type: currentPostType
|
||||
post_type: currentPostType,
|
||||
per_page: -1
|
||||
});
|
||||
const newAvailableTemplates = Object(external_lodash_["fromPairs"])((wpTemplates || []).map(_ref => {
|
||||
let {
|
||||
|
|
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
|
@ -11132,7 +11132,7 @@ function useBlockEditorSettings(settings, hasTemplate) {
|
|||
return saveEntityRecord('postType', 'page', options);
|
||||
};
|
||||
|
||||
return Object(external_wp_element_["useMemo"])(() => ({ ...Object(external_lodash_["pick"])(settings, ['__experimentalBlockDirectory', '__experimentalBlockPatternCategories', '__experimentalBlockPatterns', '__experimentalFeatures', '__experimentalPreferredStyleVariations', '__experimentalSetIsInserterOpened', '__unstableGalleryWithImageBlocks', 'alignWide', 'allowedBlockTypes', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'enableCustomLineHeight', 'enableCustomSpacing', 'enableCustomUnits', 'focusMode', 'fontSizes', 'gradients', 'hasFixedToolbar', 'hasReducedUI', 'imageDefaultSize', 'imageDimensions', 'imageEditing', 'imageSizes', 'isRTL', 'keepCaretInsideBlock', 'maxWidth', 'onUpdateDefaultBlockStyles', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'supportsLayout', 'widgetTypesToHideFromLegacyWidgetBlock']),
|
||||
return Object(external_wp_element_["useMemo"])(() => ({ ...Object(external_lodash_["pick"])(settings, ['__experimentalBlockDirectory', '__experimentalBlockPatternCategories', '__experimentalBlockPatterns', '__experimentalFeatures', '__experimentalPreferredStyleVariations', '__experimentalSetIsInserterOpened', '__experimentalGenerateAnchors', '__unstableGalleryWithImageBlocks', 'alignWide', 'allowedBlockTypes', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'enableCustomLineHeight', 'enableCustomSpacing', 'enableCustomUnits', 'focusMode', 'fontSizes', 'gradients', 'hasFixedToolbar', 'hasReducedUI', 'imageDefaultSize', 'imageDimensions', 'imageEditing', 'imageSizes', 'isRTL', 'keepCaretInsideBlock', 'maxWidth', 'onUpdateDefaultBlockStyles', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'supportsLayout', 'widgetTypesToHideFromLegacyWidgetBlock']),
|
||||
mediaUpload: hasUploadPermissions ? mediaUpload : undefined,
|
||||
__experimentalReusableBlocks: reusableBlocks,
|
||||
__experimentalFetchLinkSuggestions: (search, searchOptions) => Object(external_wp_coreData_["__experimentalFetchLinkSuggestions"])(search, searchOptions, settings),
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.0-alpha-52763';
|
||||
$wp_version = '6.0-alpha-52765';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue