mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Editor: Update packages for 6.6 RC 2.
Fixes #61548. Fixes https://github.com/WordPress/wordpress-develop/pull/6953. See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches. Props ellatrix, youknowriad. Built from https://develop.svn.wordpress.org/trunk@58617 git-svn-id: http://core.svn.wordpress.org/trunk@58050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc86b48d56
commit
3c53d98912
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -12,9 +12,13 @@
|
|||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"type": "object"
|
"type": "object",
|
||||||
|
"default": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"providesContext": {
|
||||||
|
"pattern/overrides": "content"
|
||||||
|
},
|
||||||
"supports": {
|
"supports": {
|
||||||
"customClassName": false,
|
"customClassName": false,
|
||||||
"html": false,
|
"html": false,
|
||||||
|
@ -207,9 +207,15 @@
|
|||||||
'type' => 'number'
|
'type' => 'number'
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'type' => 'object'
|
'type' => 'object',
|
||||||
|
'default' => array(
|
||||||
|
|
||||||
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
'providesContext' => array(
|
||||||
|
'pattern/overrides' => 'content'
|
||||||
|
),
|
||||||
'supports' => array(
|
'supports' => array(
|
||||||
'customClassName' => false,
|
'customClassName' => false,
|
||||||
'html' => false,
|
'html' => false,
|
||||||
|
@ -72,319 +72,326 @@
|
|||||||
fill:currentColor;
|
fill:currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link{
|
||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
color:#444;
|
color:#444;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-amazon{
|
||||||
background-color:#f90;
|
background-color:#f90;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bandcamp{
|
||||||
background-color:#1ea0c3;
|
background-color:#1ea0c3;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-behance{
|
||||||
background-color:#0757fe;
|
background-color:#0757fe;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bluesky{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bluesky{
|
||||||
background-color:#0a7aff;
|
background-color:#0a7aff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-codepen{
|
||||||
background-color:#1e1f26;
|
background-color:#1e1f26;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-deviantart{
|
||||||
background-color:#02e49b;
|
background-color:#02e49b;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dribbble{
|
||||||
background-color:#e94c89;
|
background-color:#e94c89;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dropbox{
|
||||||
background-color:#4280ff;
|
background-color:#4280ff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-etsy{
|
||||||
background-color:#f45800;
|
background-color:#f45800;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook{
|
||||||
background-color:#1778f2;
|
background-color:#1778f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-fivehundredpx{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-flickr{
|
||||||
background-color:#0461dd;
|
background-color:#0461dd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-foursquare{
|
||||||
background-color:#e65678;
|
background-color:#e65678;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-github{
|
||||||
background-color:#24292d;
|
background-color:#24292d;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-goodreads{
|
||||||
background-color:#eceadd;
|
background-color:#eceadd;
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-google{
|
||||||
background-color:#ea4434;
|
background-color:#ea4434;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-gravatar{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-gravatar{
|
||||||
background-color:#1d4fc4;
|
background-color:#1d4fc4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram{
|
||||||
background-color:#f00075;
|
background-color:#f00075;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-lastfm{
|
||||||
background-color:#e21b24;
|
background-color:#e21b24;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin{
|
||||||
background-color:#0d66c2;
|
background-color:#0d66c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-mastodon{
|
||||||
background-color:#3288d4;
|
background-color:#3288d4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-medium{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-meetup{
|
||||||
background-color:#f6405f;
|
background-color:#f6405f;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-patreon{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pinterest{
|
||||||
background-color:#e60122;
|
background-color:#e60122;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pocket{
|
||||||
background-color:#ef4155;
|
background-color:#ef4155;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-reddit{
|
||||||
background-color:#ff4500;
|
background-color:#ff4500;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-skype{
|
||||||
background-color:#0478d7;
|
background-color:#0478d7;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-snapchat{
|
||||||
background-color:#fefc00;
|
background-color:#fefc00;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-soundcloud{
|
||||||
background-color:#ff5600;
|
background-color:#ff5600;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-spotify{
|
||||||
background-color:#1bd760;
|
background-color:#1bd760;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-telegram{
|
||||||
background-color:#2aabee;
|
background-color:#2aabee;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-threads,.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-threads{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok{
|
||||||
|
background-color:#000;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tumblr{
|
||||||
background-color:#011835;
|
background-color:#011835;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitch{
|
||||||
background-color:#6440a4;
|
background-color:#6440a4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitter{
|
||||||
background-color:#1da1f2;
|
background-color:#1da1f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vimeo{
|
||||||
background-color:#1eb7ea;
|
background-color:#1eb7ea;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vk{
|
||||||
background-color:#4680c2;
|
background-color:#4680c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-wordpress{
|
||||||
background-color:#3499cd;
|
background-color:#3499cd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-whatsapp{
|
||||||
background-color:#25d366;
|
background-color:#25d366;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-yelp{
|
||||||
background-color:#d32422;
|
background-color:#d32422;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-youtube{
|
||||||
background-color:red;
|
background-color:red;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link{
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link svg{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link svg{
|
||||||
height:1.25em;
|
height:1.25em;
|
||||||
width:1.25em;
|
width:1.25em;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-amazon{
|
||||||
color:#f90;
|
color:#f90;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bandcamp{
|
||||||
color:#1ea0c3;
|
color:#1ea0c3;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-behance{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-behance{
|
||||||
color:#0757fe;
|
color:#0757fe;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bluesky{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bluesky{
|
||||||
color:#0a7aff;
|
color:#0a7aff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-codepen{
|
||||||
color:#1e1f26;
|
color:#1e1f26;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-deviantart{
|
||||||
color:#02e49b;
|
color:#02e49b;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dribbble{
|
||||||
color:#e94c89;
|
color:#e94c89;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dropbox{
|
||||||
color:#4280ff;
|
color:#4280ff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-etsy{
|
||||||
color:#f45800;
|
color:#f45800;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-facebook{
|
||||||
color:#1778f2;
|
color:#1778f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-fivehundredpx{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-flickr{
|
||||||
color:#0461dd;
|
color:#0461dd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-foursquare{
|
||||||
color:#e65678;
|
color:#e65678;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-github{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-github{
|
||||||
color:#24292d;
|
color:#24292d;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-goodreads{
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-google{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-google{
|
||||||
color:#ea4434;
|
color:#ea4434;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-gravatar{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-gravatar{
|
||||||
color:#1d4fc4;
|
color:#1d4fc4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-instagram{
|
||||||
color:#f00075;
|
color:#f00075;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-lastfm{
|
||||||
color:#e21b24;
|
color:#e21b24;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-linkedin{
|
||||||
color:#0d66c2;
|
color:#0d66c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-mastodon{
|
||||||
color:#3288d4;
|
color:#3288d4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-medium{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-medium{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-meetup{
|
||||||
color:#f6405f;
|
color:#f6405f;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-patreon{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pinterest{
|
||||||
color:#e60122;
|
color:#e60122;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pocket{
|
||||||
color:#ef4155;
|
color:#ef4155;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-reddit{
|
||||||
color:#ff4500;
|
color:#ff4500;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-skype{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-skype{
|
||||||
color:#0478d7;
|
color:#0478d7;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-snapchat{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-soundcloud{
|
||||||
color:#ff5600;
|
color:#ff5600;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-spotify{
|
||||||
color:#1bd760;
|
color:#1bd760;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-telegram{
|
||||||
color:#2aabee;
|
color:#2aabee;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-threads,.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-threads{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tiktok{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tumblr{
|
||||||
color:#011835;
|
color:#011835;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitch{
|
||||||
color:#6440a4;
|
color:#6440a4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitter{
|
||||||
color:#1da1f2;
|
color:#1da1f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vimeo{
|
||||||
color:#1eb7ea;
|
color:#1eb7ea;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vk{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vk{
|
||||||
color:#4680c2;
|
color:#4680c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-whatsapp{
|
||||||
color:#25d366;
|
color:#25d366;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-wordpress{
|
||||||
color:#3499cd;
|
color:#3499cd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-x{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-yelp{
|
||||||
color:#d32422;
|
color:#d32422;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-youtube{
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -72,319 +72,326 @@
|
|||||||
fill:currentColor;
|
fill:currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link{
|
||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
color:#444;
|
color:#444;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-amazon{
|
||||||
background-color:#f90;
|
background-color:#f90;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bandcamp{
|
||||||
background-color:#1ea0c3;
|
background-color:#1ea0c3;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-behance{
|
||||||
background-color:#0757fe;
|
background-color:#0757fe;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bluesky{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bluesky{
|
||||||
background-color:#0a7aff;
|
background-color:#0a7aff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-codepen{
|
||||||
background-color:#1e1f26;
|
background-color:#1e1f26;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-deviantart{
|
||||||
background-color:#02e49b;
|
background-color:#02e49b;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dribbble{
|
||||||
background-color:#e94c89;
|
background-color:#e94c89;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dropbox{
|
||||||
background-color:#4280ff;
|
background-color:#4280ff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-etsy{
|
||||||
background-color:#f45800;
|
background-color:#f45800;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook{
|
||||||
background-color:#1778f2;
|
background-color:#1778f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-fivehundredpx{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-flickr{
|
||||||
background-color:#0461dd;
|
background-color:#0461dd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-foursquare{
|
||||||
background-color:#e65678;
|
background-color:#e65678;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-github{
|
||||||
background-color:#24292d;
|
background-color:#24292d;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-goodreads{
|
||||||
background-color:#eceadd;
|
background-color:#eceadd;
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-google{
|
||||||
background-color:#ea4434;
|
background-color:#ea4434;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-gravatar{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-gravatar{
|
||||||
background-color:#1d4fc4;
|
background-color:#1d4fc4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram{
|
||||||
background-color:#f00075;
|
background-color:#f00075;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-lastfm{
|
||||||
background-color:#e21b24;
|
background-color:#e21b24;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin{
|
||||||
background-color:#0d66c2;
|
background-color:#0d66c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-mastodon{
|
||||||
background-color:#3288d4;
|
background-color:#3288d4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-medium{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-meetup{
|
||||||
background-color:#f6405f;
|
background-color:#f6405f;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-patreon{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pinterest{
|
||||||
background-color:#e60122;
|
background-color:#e60122;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pocket{
|
||||||
background-color:#ef4155;
|
background-color:#ef4155;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-reddit{
|
||||||
background-color:#ff4500;
|
background-color:#ff4500;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-skype{
|
||||||
background-color:#0478d7;
|
background-color:#0478d7;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-snapchat{
|
||||||
background-color:#fefc00;
|
background-color:#fefc00;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-soundcloud{
|
||||||
background-color:#ff5600;
|
background-color:#ff5600;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-spotify{
|
||||||
background-color:#1bd760;
|
background-color:#1bd760;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-telegram{
|
||||||
background-color:#2aabee;
|
background-color:#2aabee;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-threads,.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-threads{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok{
|
||||||
|
background-color:#000;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tumblr{
|
||||||
background-color:#011835;
|
background-color:#011835;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitch{
|
||||||
background-color:#6440a4;
|
background-color:#6440a4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitter{
|
||||||
background-color:#1da1f2;
|
background-color:#1da1f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vimeo{
|
||||||
background-color:#1eb7ea;
|
background-color:#1eb7ea;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vk{
|
||||||
background-color:#4680c2;
|
background-color:#4680c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-wordpress{
|
||||||
background-color:#3499cd;
|
background-color:#3499cd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-whatsapp{
|
||||||
background-color:#25d366;
|
background-color:#25d366;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-yelp{
|
||||||
background-color:#d32422;
|
background-color:#d32422;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-youtube{
|
||||||
background-color:red;
|
background-color:red;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link{
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link svg{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link svg{
|
||||||
height:1.25em;
|
height:1.25em;
|
||||||
width:1.25em;
|
width:1.25em;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-amazon{
|
||||||
color:#f90;
|
color:#f90;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bandcamp{
|
||||||
color:#1ea0c3;
|
color:#1ea0c3;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-behance{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-behance{
|
||||||
color:#0757fe;
|
color:#0757fe;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bluesky{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bluesky{
|
||||||
color:#0a7aff;
|
color:#0a7aff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-codepen{
|
||||||
color:#1e1f26;
|
color:#1e1f26;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-deviantart{
|
||||||
color:#02e49b;
|
color:#02e49b;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dribbble{
|
||||||
color:#e94c89;
|
color:#e94c89;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dropbox{
|
||||||
color:#4280ff;
|
color:#4280ff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-etsy{
|
||||||
color:#f45800;
|
color:#f45800;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-facebook{
|
||||||
color:#1778f2;
|
color:#1778f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-fivehundredpx{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-flickr{
|
||||||
color:#0461dd;
|
color:#0461dd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-foursquare{
|
||||||
color:#e65678;
|
color:#e65678;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-github{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-github{
|
||||||
color:#24292d;
|
color:#24292d;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-goodreads{
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-google{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-google{
|
||||||
color:#ea4434;
|
color:#ea4434;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-gravatar{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-gravatar{
|
||||||
color:#1d4fc4;
|
color:#1d4fc4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-instagram{
|
||||||
color:#f00075;
|
color:#f00075;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-lastfm{
|
||||||
color:#e21b24;
|
color:#e21b24;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-linkedin{
|
||||||
color:#0d66c2;
|
color:#0d66c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-mastodon{
|
||||||
color:#3288d4;
|
color:#3288d4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-medium{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-medium{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-meetup{
|
||||||
color:#f6405f;
|
color:#f6405f;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-patreon{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pinterest{
|
||||||
color:#e60122;
|
color:#e60122;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pocket{
|
||||||
color:#ef4155;
|
color:#ef4155;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-reddit{
|
||||||
color:#ff4500;
|
color:#ff4500;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-skype{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-skype{
|
||||||
color:#0478d7;
|
color:#0478d7;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-snapchat{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-soundcloud{
|
||||||
color:#ff5600;
|
color:#ff5600;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-spotify{
|
||||||
color:#1bd760;
|
color:#1bd760;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-telegram{
|
||||||
color:#2aabee;
|
color:#2aabee;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-threads,.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-threads{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tiktok{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tumblr{
|
||||||
color:#011835;
|
color:#011835;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitch{
|
||||||
color:#6440a4;
|
color:#6440a4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitter{
|
||||||
color:#1da1f2;
|
color:#1da1f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vimeo{
|
||||||
color:#1eb7ea;
|
color:#1eb7ea;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vk{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vk{
|
||||||
color:#4680c2;
|
color:#4680c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-whatsapp{
|
||||||
color:#25d366;
|
color:#25d366;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-wordpress{
|
||||||
color:#3499cd;
|
color:#3499cd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-x{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-yelp{
|
||||||
color:#d32422;
|
color:#d32422;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-youtube{
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -639,6 +639,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-editor-iframe__scale-container{
|
.block-editor-iframe__scale-container{
|
||||||
|
display:flex;
|
||||||
height:100%;
|
height:100%;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -639,6 +639,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-editor-iframe__scale-container{
|
.block-editor-iframe__scale-container{
|
||||||
|
display:flex;
|
||||||
height:100%;
|
height:100%;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
185
wp-includes/css/dist/block-library/style-rtl.css
vendored
185
wp-includes/css/dist/block-library/style-rtl.css
vendored
@ -2845,319 +2845,326 @@ ul.wp-block-rss.is-grid li{
|
|||||||
fill:currentColor;
|
fill:currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link{
|
||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
color:#444;
|
color:#444;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-amazon{
|
||||||
background-color:#f90;
|
background-color:#f90;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bandcamp{
|
||||||
background-color:#1ea0c3;
|
background-color:#1ea0c3;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-behance{
|
||||||
background-color:#0757fe;
|
background-color:#0757fe;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bluesky{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bluesky{
|
||||||
background-color:#0a7aff;
|
background-color:#0a7aff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-codepen{
|
||||||
background-color:#1e1f26;
|
background-color:#1e1f26;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-deviantart{
|
||||||
background-color:#02e49b;
|
background-color:#02e49b;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dribbble{
|
||||||
background-color:#e94c89;
|
background-color:#e94c89;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dropbox{
|
||||||
background-color:#4280ff;
|
background-color:#4280ff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-etsy{
|
||||||
background-color:#f45800;
|
background-color:#f45800;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook{
|
||||||
background-color:#1778f2;
|
background-color:#1778f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-fivehundredpx{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-flickr{
|
||||||
background-color:#0461dd;
|
background-color:#0461dd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-foursquare{
|
||||||
background-color:#e65678;
|
background-color:#e65678;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-github{
|
||||||
background-color:#24292d;
|
background-color:#24292d;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-goodreads{
|
||||||
background-color:#eceadd;
|
background-color:#eceadd;
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-google{
|
||||||
background-color:#ea4434;
|
background-color:#ea4434;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-gravatar{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-gravatar{
|
||||||
background-color:#1d4fc4;
|
background-color:#1d4fc4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram{
|
||||||
background-color:#f00075;
|
background-color:#f00075;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-lastfm{
|
||||||
background-color:#e21b24;
|
background-color:#e21b24;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin{
|
||||||
background-color:#0d66c2;
|
background-color:#0d66c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-mastodon{
|
||||||
background-color:#3288d4;
|
background-color:#3288d4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-medium{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-meetup{
|
||||||
background-color:#f6405f;
|
background-color:#f6405f;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-patreon{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pinterest{
|
||||||
background-color:#e60122;
|
background-color:#e60122;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pocket{
|
||||||
background-color:#ef4155;
|
background-color:#ef4155;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-reddit{
|
||||||
background-color:#ff4500;
|
background-color:#ff4500;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-skype{
|
||||||
background-color:#0478d7;
|
background-color:#0478d7;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-snapchat{
|
||||||
background-color:#fefc00;
|
background-color:#fefc00;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-soundcloud{
|
||||||
background-color:#ff5600;
|
background-color:#ff5600;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-spotify{
|
||||||
background-color:#1bd760;
|
background-color:#1bd760;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-telegram{
|
||||||
background-color:#2aabee;
|
background-color:#2aabee;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-threads,.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-threads{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok{
|
||||||
|
background-color:#000;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tumblr{
|
||||||
background-color:#011835;
|
background-color:#011835;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitch{
|
||||||
background-color:#6440a4;
|
background-color:#6440a4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitter{
|
||||||
background-color:#1da1f2;
|
background-color:#1da1f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vimeo{
|
||||||
background-color:#1eb7ea;
|
background-color:#1eb7ea;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vk{
|
||||||
background-color:#4680c2;
|
background-color:#4680c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-wordpress{
|
||||||
background-color:#3499cd;
|
background-color:#3499cd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-whatsapp{
|
||||||
background-color:#25d366;
|
background-color:#25d366;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-yelp{
|
||||||
background-color:#d32422;
|
background-color:#d32422;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-youtube{
|
||||||
background-color:red;
|
background-color:red;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link{
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link svg{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link svg{
|
||||||
height:1.25em;
|
height:1.25em;
|
||||||
width:1.25em;
|
width:1.25em;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-amazon{
|
||||||
color:#f90;
|
color:#f90;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bandcamp{
|
||||||
color:#1ea0c3;
|
color:#1ea0c3;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-behance{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-behance{
|
||||||
color:#0757fe;
|
color:#0757fe;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bluesky{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bluesky{
|
||||||
color:#0a7aff;
|
color:#0a7aff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-codepen{
|
||||||
color:#1e1f26;
|
color:#1e1f26;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-deviantart{
|
||||||
color:#02e49b;
|
color:#02e49b;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dribbble{
|
||||||
color:#e94c89;
|
color:#e94c89;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dropbox{
|
||||||
color:#4280ff;
|
color:#4280ff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-etsy{
|
||||||
color:#f45800;
|
color:#f45800;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-facebook{
|
||||||
color:#1778f2;
|
color:#1778f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-fivehundredpx{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-flickr{
|
||||||
color:#0461dd;
|
color:#0461dd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-foursquare{
|
||||||
color:#e65678;
|
color:#e65678;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-github{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-github{
|
||||||
color:#24292d;
|
color:#24292d;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-goodreads{
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-google{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-google{
|
||||||
color:#ea4434;
|
color:#ea4434;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-gravatar{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-gravatar{
|
||||||
color:#1d4fc4;
|
color:#1d4fc4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-instagram{
|
||||||
color:#f00075;
|
color:#f00075;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-lastfm{
|
||||||
color:#e21b24;
|
color:#e21b24;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-linkedin{
|
||||||
color:#0d66c2;
|
color:#0d66c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-mastodon{
|
||||||
color:#3288d4;
|
color:#3288d4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-medium{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-medium{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-meetup{
|
||||||
color:#f6405f;
|
color:#f6405f;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-patreon{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pinterest{
|
||||||
color:#e60122;
|
color:#e60122;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pocket{
|
||||||
color:#ef4155;
|
color:#ef4155;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-reddit{
|
||||||
color:#ff4500;
|
color:#ff4500;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-skype{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-skype{
|
||||||
color:#0478d7;
|
color:#0478d7;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-snapchat{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-soundcloud{
|
||||||
color:#ff5600;
|
color:#ff5600;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-spotify{
|
||||||
color:#1bd760;
|
color:#1bd760;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-telegram{
|
||||||
color:#2aabee;
|
color:#2aabee;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-threads,.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-threads{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tiktok{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tumblr{
|
||||||
color:#011835;
|
color:#011835;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitch{
|
||||||
color:#6440a4;
|
color:#6440a4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitter{
|
||||||
color:#1da1f2;
|
color:#1da1f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vimeo{
|
||||||
color:#1eb7ea;
|
color:#1eb7ea;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vk{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vk{
|
||||||
color:#4680c2;
|
color:#4680c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-whatsapp{
|
||||||
color:#25d366;
|
color:#25d366;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-wordpress{
|
||||||
color:#3499cd;
|
color:#3499cd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-x{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-yelp{
|
||||||
color:#d32422;
|
color:#d32422;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-youtube{
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
185
wp-includes/css/dist/block-library/style.css
vendored
185
wp-includes/css/dist/block-library/style.css
vendored
@ -2845,319 +2845,326 @@ ul.wp-block-rss.is-grid li{
|
|||||||
fill:currentColor;
|
fill:currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link{
|
||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
color:#444;
|
color:#444;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-amazon{
|
||||||
background-color:#f90;
|
background-color:#f90;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bandcamp{
|
||||||
background-color:#1ea0c3;
|
background-color:#1ea0c3;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-behance{
|
||||||
background-color:#0757fe;
|
background-color:#0757fe;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bluesky{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-bluesky{
|
||||||
background-color:#0a7aff;
|
background-color:#0a7aff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-codepen{
|
||||||
background-color:#1e1f26;
|
background-color:#1e1f26;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-deviantart{
|
||||||
background-color:#02e49b;
|
background-color:#02e49b;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dribbble{
|
||||||
background-color:#e94c89;
|
background-color:#e94c89;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-dropbox{
|
||||||
background-color:#4280ff;
|
background-color:#4280ff;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-etsy{
|
||||||
background-color:#f45800;
|
background-color:#f45800;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook{
|
||||||
background-color:#1778f2;
|
background-color:#1778f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-fivehundredpx{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-flickr{
|
||||||
background-color:#0461dd;
|
background-color:#0461dd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-foursquare{
|
||||||
background-color:#e65678;
|
background-color:#e65678;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-github{
|
||||||
background-color:#24292d;
|
background-color:#24292d;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-goodreads{
|
||||||
background-color:#eceadd;
|
background-color:#eceadd;
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-google{
|
||||||
background-color:#ea4434;
|
background-color:#ea4434;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-gravatar{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-gravatar{
|
||||||
background-color:#1d4fc4;
|
background-color:#1d4fc4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram{
|
||||||
background-color:#f00075;
|
background-color:#f00075;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-lastfm{
|
||||||
background-color:#e21b24;
|
background-color:#e21b24;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin{
|
||||||
background-color:#0d66c2;
|
background-color:#0d66c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-mastodon{
|
||||||
background-color:#3288d4;
|
background-color:#3288d4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-medium{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-meetup{
|
||||||
background-color:#f6405f;
|
background-color:#f6405f;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-patreon{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pinterest{
|
||||||
background-color:#e60122;
|
background-color:#e60122;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-pocket{
|
||||||
background-color:#ef4155;
|
background-color:#ef4155;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-reddit{
|
||||||
background-color:#ff4500;
|
background-color:#ff4500;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-skype{
|
||||||
background-color:#0478d7;
|
background-color:#0478d7;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-snapchat{
|
||||||
background-color:#fefc00;
|
background-color:#fefc00;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-soundcloud{
|
||||||
background-color:#ff5600;
|
background-color:#ff5600;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-spotify{
|
||||||
background-color:#1bd760;
|
background-color:#1bd760;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-telegram{
|
||||||
background-color:#2aabee;
|
background-color:#2aabee;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-threads,.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-threads{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok{
|
||||||
|
background-color:#000;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tumblr{
|
||||||
background-color:#011835;
|
background-color:#011835;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitch{
|
||||||
background-color:#6440a4;
|
background-color:#6440a4;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-twitter{
|
||||||
background-color:#1da1f2;
|
background-color:#1da1f2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vimeo{
|
||||||
background-color:#1eb7ea;
|
background-color:#1eb7ea;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-vk{
|
||||||
background-color:#4680c2;
|
background-color:#4680c2;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-wordpress{
|
||||||
background-color:#3499cd;
|
background-color:#3499cd;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-whatsapp{
|
||||||
background-color:#25d366;
|
background-color:#25d366;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-yelp{
|
||||||
background-color:#d32422;
|
background-color:#d32422;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{
|
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-youtube{
|
||||||
background-color:red;
|
background-color:red;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link{
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link svg{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link svg{
|
||||||
height:1.25em;
|
height:1.25em;
|
||||||
width:1.25em;
|
width:1.25em;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-amazon{
|
||||||
color:#f90;
|
color:#f90;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bandcamp{
|
||||||
color:#1ea0c3;
|
color:#1ea0c3;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-behance{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-behance{
|
||||||
color:#0757fe;
|
color:#0757fe;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-bluesky{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-bluesky{
|
||||||
color:#0a7aff;
|
color:#0a7aff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-codepen{
|
||||||
color:#1e1f26;
|
color:#1e1f26;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-deviantart{
|
||||||
color:#02e49b;
|
color:#02e49b;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dribbble{
|
||||||
color:#e94c89;
|
color:#e94c89;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-dropbox{
|
||||||
color:#4280ff;
|
color:#4280ff;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-etsy{
|
||||||
color:#f45800;
|
color:#f45800;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-facebook{
|
||||||
color:#1778f2;
|
color:#1778f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-fivehundredpx{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-flickr{
|
||||||
color:#0461dd;
|
color:#0461dd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-foursquare{
|
||||||
color:#e65678;
|
color:#e65678;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-github{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-github{
|
||||||
color:#24292d;
|
color:#24292d;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-goodreads{
|
||||||
color:#382110;
|
color:#382110;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-google{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-google{
|
||||||
color:#ea4434;
|
color:#ea4434;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-gravatar{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-gravatar{
|
||||||
color:#1d4fc4;
|
color:#1d4fc4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-instagram{
|
||||||
color:#f00075;
|
color:#f00075;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-lastfm{
|
||||||
color:#e21b24;
|
color:#e21b24;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-linkedin{
|
||||||
color:#0d66c2;
|
color:#0d66c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-mastodon{
|
||||||
color:#3288d4;
|
color:#3288d4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-medium{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-medium{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-meetup{
|
||||||
color:#f6405f;
|
color:#f6405f;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-patreon{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pinterest{
|
||||||
color:#e60122;
|
color:#e60122;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-pocket{
|
||||||
color:#ef4155;
|
color:#ef4155;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-reddit{
|
||||||
color:#ff4500;
|
color:#ff4500;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-skype{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-skype{
|
||||||
color:#0478d7;
|
color:#0478d7;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-snapchat{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
stroke:#000;
|
stroke:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-soundcloud{
|
||||||
color:#ff5600;
|
color:#ff5600;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-spotify{
|
||||||
color:#1bd760;
|
color:#1bd760;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-telegram{
|
||||||
color:#2aabee;
|
color:#2aabee;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-threads,.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-threads{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tiktok{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-tumblr{
|
||||||
color:#011835;
|
color:#011835;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitch{
|
||||||
color:#6440a4;
|
color:#6440a4;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-twitter{
|
||||||
color:#1da1f2;
|
color:#1da1f2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vimeo{
|
||||||
color:#1eb7ea;
|
color:#1eb7ea;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-vk{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-vk{
|
||||||
color:#4680c2;
|
color:#4680c2;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-whatsapp{
|
||||||
color:#25d366;
|
color:#25d366;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-wordpress{
|
||||||
color:#3499cd;
|
color:#3499cd;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-x{
|
||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-yelp{
|
||||||
color:#d32422;
|
color:#d32422;
|
||||||
}
|
}
|
||||||
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{
|
:where(.wp-block-social-links.is-style-logos-only) .wp-social-link-youtube{
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
6
wp-includes/css/dist/edit-post/style-rtl.css
vendored
6
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@ -85,7 +85,7 @@
|
|||||||
content:none;
|
content:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-visual-editor{
|
.edit-post-layout.has-metaboxes .edit-post-visual-editor{
|
||||||
flex:1 0 auto;
|
flex:1 0 auto;
|
||||||
height:auto;
|
height:auto;
|
||||||
}
|
}
|
||||||
@ -283,10 +283,10 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-header,.editor-post-publish-panel,.editor-sidebar,.editor-text-editor{
|
.edit-post-visual-editor.is-iframed,.editor-header,.editor-post-publish-panel,.editor-sidebar,.editor-text-editor{
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
}
|
}
|
||||||
.editor-header *,.editor-header :after,.editor-header :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before,.editor-sidebar *,.editor-sidebar :after,.editor-sidebar :before,.editor-text-editor *,.editor-text-editor :after,.editor-text-editor :before{
|
.edit-post-visual-editor.is-iframed *,.edit-post-visual-editor.is-iframed :after,.edit-post-visual-editor.is-iframed :before,.editor-header *,.editor-header :after,.editor-header :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before,.editor-sidebar *,.editor-sidebar :after,.editor-sidebar :before,.editor-text-editor *,.editor-text-editor :after,.editor-text-editor :before{
|
||||||
box-sizing:inherit;
|
box-sizing:inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
6
wp-includes/css/dist/edit-post/style.css
vendored
6
wp-includes/css/dist/edit-post/style.css
vendored
@ -85,7 +85,7 @@
|
|||||||
content:none;
|
content:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-visual-editor{
|
.edit-post-layout.has-metaboxes .edit-post-visual-editor{
|
||||||
flex:1 0 auto;
|
flex:1 0 auto;
|
||||||
height:auto;
|
height:auto;
|
||||||
}
|
}
|
||||||
@ -283,10 +283,10 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-header,.editor-post-publish-panel,.editor-sidebar,.editor-text-editor{
|
.edit-post-visual-editor.is-iframed,.editor-header,.editor-post-publish-panel,.editor-sidebar,.editor-text-editor{
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
}
|
}
|
||||||
.editor-header *,.editor-header :after,.editor-header :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before,.editor-sidebar *,.editor-sidebar :after,.editor-sidebar :before,.editor-text-editor *,.editor-text-editor :after,.editor-text-editor :before{
|
.edit-post-visual-editor.is-iframed *,.edit-post-visual-editor.is-iframed :after,.edit-post-visual-editor.is-iframed :before,.editor-header *,.editor-header :after,.editor-header :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before,.editor-sidebar *,.editor-sidebar :after,.editor-sidebar :before,.editor-text-editor *,.editor-text-editor :after,.editor-text-editor :before{
|
||||||
box-sizing:inherit;
|
box-sizing:inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-includes/css/dist/edit-post/style.min.css
vendored
2
wp-includes/css/dist/edit-post/style.min.css
vendored
File diff suppressed because one or more lines are too long
17
wp-includes/css/dist/edit-site/style-rtl.css
vendored
17
wp-includes/css/dist/edit-site/style-rtl.css
vendored
@ -316,7 +316,6 @@
|
|||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
min-height:200px;
|
min-height:200px;
|
||||||
overflow:hidden;
|
|
||||||
position:relative;
|
position:relative;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
@ -691,7 +690,7 @@
|
|||||||
background:#f0f0f0;
|
background:#f0f0f0;
|
||||||
border:1px solid #0000;
|
border:1px solid #0000;
|
||||||
border-radius:16px;
|
border-radius:16px;
|
||||||
color:#757575;
|
color:#2f2f2f;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
display:flex;
|
display:flex;
|
||||||
height:32px;
|
height:32px;
|
||||||
@ -1522,7 +1521,7 @@
|
|||||||
.page-pages-preview-field__button{
|
.page-pages-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px 3px 0 0;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1576,14 +1575,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field{
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
}
|
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-table{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-table{
|
||||||
border-radius:2px;
|
border-radius:2px;
|
||||||
flex-grow:0;
|
flex-grow:0;
|
||||||
@ -1595,7 +1590,7 @@
|
|||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field .page-patterns-preview-field__button{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field .page-patterns-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px 3px 0 0;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1688,7 +1683,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page-templates-preview-field{
|
.page-templates-preview-field{
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
height:100%;
|
height:100%;
|
||||||
@ -1696,7 +1690,7 @@
|
|||||||
.page-templates-preview-field .page-templates-preview-field__button{
|
.page-templates-preview-field .page-templates-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1714,9 +1708,6 @@
|
|||||||
.page-templates-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
.page-templates-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
.page-templates-preview-field.is-viewtype-grid .page-templates-preview-field__button{
|
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
}
|
|
||||||
.page-templates-preview-field.is-viewtype-table{
|
.page-templates-preview-field.is-viewtype-table{
|
||||||
border-radius:2px;
|
border-radius:2px;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
File diff suppressed because one or more lines are too long
17
wp-includes/css/dist/edit-site/style.css
vendored
17
wp-includes/css/dist/edit-site/style.css
vendored
@ -316,7 +316,6 @@
|
|||||||
background-color:#f0f0f0;
|
background-color:#f0f0f0;
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
min-height:200px;
|
min-height:200px;
|
||||||
overflow:hidden;
|
|
||||||
position:relative;
|
position:relative;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
@ -691,7 +690,7 @@
|
|||||||
background:#f0f0f0;
|
background:#f0f0f0;
|
||||||
border:1px solid #0000;
|
border:1px solid #0000;
|
||||||
border-radius:16px;
|
border-radius:16px;
|
||||||
color:#757575;
|
color:#2f2f2f;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
display:flex;
|
display:flex;
|
||||||
height:32px;
|
height:32px;
|
||||||
@ -1522,7 +1521,7 @@
|
|||||||
.page-pages-preview-field__button{
|
.page-pages-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px 3px 0 0;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1576,14 +1575,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field{
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
}
|
|
||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-table{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field.is-viewtype-table{
|
||||||
border-radius:2px;
|
border-radius:2px;
|
||||||
flex-grow:0;
|
flex-grow:0;
|
||||||
@ -1595,7 +1590,7 @@
|
|||||||
.edit-site-page-patterns-dataviews .page-patterns-preview-field .page-patterns-preview-field__button{
|
.edit-site-page-patterns-dataviews .page-patterns-preview-field .page-patterns-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px 3px 0 0;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1688,7 +1683,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page-templates-preview-field{
|
.page-templates-preview-field{
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
height:100%;
|
height:100%;
|
||||||
@ -1696,7 +1690,7 @@
|
|||||||
.page-templates-preview-field .page-templates-preview-field__button{
|
.page-templates-preview-field .page-templates-preview-field__button{
|
||||||
background-color:unset;
|
background-color:unset;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius:3px;
|
border-radius:4px;
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@ -1714,9 +1708,6 @@
|
|||||||
.page-templates-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
.page-templates-preview-field.is-viewtype-grid .block-editor-block-preview__container{
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
.page-templates-preview-field.is-viewtype-grid .page-templates-preview-field__button{
|
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
}
|
|
||||||
.page-templates-preview-field.is-viewtype-table{
|
.page-templates-preview-field.is-viewtype-table{
|
||||||
border-radius:2px;
|
border-radius:2px;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
2
wp-includes/css/dist/edit-site/style.min.css
vendored
2
wp-includes/css/dist/edit-site/style.min.css
vendored
File diff suppressed because one or more lines are too long
13
wp-includes/css/dist/editor/style-rtl.css
vendored
13
wp-includes/css/dist/editor/style-rtl.css
vendored
@ -1376,6 +1376,17 @@ body.is-fullscreen-mode .interface-interface-skeleton{
|
|||||||
.editor-post-featured-image__container:focus .editor-post-featured-image__actions,.editor-post-featured-image__container:focus-within .editor-post-featured-image__actions,.editor-post-featured-image__container:hover .editor-post-featured-image__actions{
|
.editor-post-featured-image__container:focus .editor-post-featured-image__actions,.editor-post-featured-image__container:focus-within .editor-post-featured-image__actions,.editor-post-featured-image__container:hover .editor-post-featured-image__actions{
|
||||||
opacity:1;
|
opacity:1;
|
||||||
}
|
}
|
||||||
|
.editor-post-featured-image__container .components-drop-zone__content{
|
||||||
|
border-radius:2px;
|
||||||
|
}
|
||||||
|
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner{
|
||||||
|
align-items:center;
|
||||||
|
display:flex;
|
||||||
|
gap:8px;
|
||||||
|
}
|
||||||
|
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon{
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
||||||
box-shadow:0 0 0 0 var(--wp-admin-theme-color);
|
box-shadow:0 0 0 0 var(--wp-admin-theme-color);
|
||||||
@ -2456,7 +2467,7 @@ h3.components-heading.editor-template-areas__title{
|
|||||||
.editor-visual-editor.has-padding{
|
.editor-visual-editor.has-padding{
|
||||||
padding:24px 24px 0;
|
padding:24px 24px 0;
|
||||||
}
|
}
|
||||||
.editor-visual-editor .is-iframed{
|
.editor-visual-editor.is-iframed{
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.editor-visual-editor .components-button{
|
.editor-visual-editor .components-button{
|
||||||
|
File diff suppressed because one or more lines are too long
13
wp-includes/css/dist/editor/style.css
vendored
13
wp-includes/css/dist/editor/style.css
vendored
@ -1376,6 +1376,17 @@ body.is-fullscreen-mode .interface-interface-skeleton{
|
|||||||
.editor-post-featured-image__container:focus .editor-post-featured-image__actions,.editor-post-featured-image__container:focus-within .editor-post-featured-image__actions,.editor-post-featured-image__container:hover .editor-post-featured-image__actions{
|
.editor-post-featured-image__container:focus .editor-post-featured-image__actions,.editor-post-featured-image__container:focus-within .editor-post-featured-image__actions,.editor-post-featured-image__container:hover .editor-post-featured-image__actions{
|
||||||
opacity:1;
|
opacity:1;
|
||||||
}
|
}
|
||||||
|
.editor-post-featured-image__container .components-drop-zone__content{
|
||||||
|
border-radius:2px;
|
||||||
|
}
|
||||||
|
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner{
|
||||||
|
align-items:center;
|
||||||
|
display:flex;
|
||||||
|
gap:8px;
|
||||||
|
}
|
||||||
|
.editor-post-featured-image__container:has(.editor-post-featured-image__toggle) .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon{
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
||||||
box-shadow:0 0 0 0 var(--wp-admin-theme-color);
|
box-shadow:0 0 0 0 var(--wp-admin-theme-color);
|
||||||
@ -2456,7 +2467,7 @@ h3.components-heading.editor-template-areas__title{
|
|||||||
.editor-visual-editor.has-padding{
|
.editor-visual-editor.has-padding{
|
||||||
padding:24px 24px 0;
|
padding:24px 24px 0;
|
||||||
}
|
}
|
||||||
.editor-visual-editor .is-iframed{
|
.editor-visual-editor.is-iframed{
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.editor-visual-editor .components-button{
|
.editor-visual-editor .components-button{
|
||||||
|
2
wp-includes/css/dist/editor/style.min.css
vendored
2
wp-includes/css/dist/editor/style.min.css
vendored
File diff suppressed because one or more lines are too long
205
wp-includes/js/dist/block-editor.js
vendored
205
wp-includes/js/dist/block-editor.js
vendored
@ -16570,6 +16570,11 @@ function getFluidTypographyOptionsFromSettings(settings) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
@ -16696,12 +16701,16 @@ const STYLE_PATH_TO_PRESET_BLOCK_ATTRIBUTE = {
|
|||||||
'typography.fontSize': 'fontSize',
|
'typography.fontSize': 'fontSize',
|
||||||
'typography.fontFamily': 'fontFamily'
|
'typography.fontFamily': 'fontFamily'
|
||||||
};
|
};
|
||||||
const TOOLSPANEL_DROPDOWNMENU_PROPS = {
|
function useToolsPanelDropdownMenuProps() {
|
||||||
popoverProps: {
|
const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
|
||||||
placement: 'left-start',
|
return !isMobile ? {
|
||||||
offset: 259 // Inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px)
|
popoverProps: {
|
||||||
}
|
placement: 'left-start',
|
||||||
};
|
// For non-mobile, inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px)
|
||||||
|
offset: 259
|
||||||
|
}
|
||||||
|
} : {};
|
||||||
|
}
|
||||||
function findInPresetsBy(features, blockName, presetPath, presetProperty, presetValueValue) {
|
function findInPresetsBy(features, blockName, presetPath, presetProperty, presetValueValue) {
|
||||||
// Block presets take priority above root level presets.
|
// Block presets take priority above root level presets.
|
||||||
const orderedPresetsByOrigin = [getValueFromObjectPath(features, ['blocks', blockName, ...presetPath]), getValueFromObjectPath(features, presetPath)];
|
const orderedPresetsByOrigin = [getValueFromObjectPath(features, ['blocks', blockName, ...presetPath]), getValueFromObjectPath(features, presetPath)];
|
||||||
@ -17380,6 +17389,7 @@ function useStyleOverride({
|
|||||||
css,
|
css,
|
||||||
assets,
|
assets,
|
||||||
__unstableType,
|
__unstableType,
|
||||||
|
variation,
|
||||||
clientId
|
clientId
|
||||||
} = {}) {
|
} = {}) {
|
||||||
const {
|
const {
|
||||||
@ -17399,6 +17409,7 @@ function useStyleOverride({
|
|||||||
css,
|
css,
|
||||||
assets,
|
assets,
|
||||||
__unstableType,
|
__unstableType,
|
||||||
|
variation,
|
||||||
clientId
|
clientId
|
||||||
};
|
};
|
||||||
// Batch updates to style overrides to avoid triggering cascading renders
|
// Batch updates to style overrides to avoid triggering cascading renders
|
||||||
@ -21338,6 +21349,7 @@ function BlockSupportToolsPanel({
|
|||||||
getSelectedBlockClientId,
|
getSelectedBlockClientId,
|
||||||
hasMultiSelection
|
hasMultiSelection
|
||||||
} = (0,external_wp_data_namespaceObject.useSelect)(store);
|
} = (0,external_wp_data_namespaceObject.useSelect)(store);
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const panelId = getSelectedBlockClientId();
|
const panelId = getSelectedBlockClientId();
|
||||||
const resetAll = (0,external_wp_element_namespaceObject.useCallback)((resetFilters = []) => {
|
const resetAll = (0,external_wp_element_namespaceObject.useCallback)((resetFilters = []) => {
|
||||||
const newAttributes = {};
|
const newAttributes = {};
|
||||||
@ -21375,7 +21387,7 @@ function BlockSupportToolsPanel({
|
|||||||
,
|
,
|
||||||
__experimentalFirstVisibleItemClass: "first",
|
__experimentalFirstVisibleItemClass: "first",
|
||||||
__experimentalLastVisibleItemClass: "last",
|
__experimentalLastVisibleItemClass: "last",
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
}, panelId);
|
}, panelId);
|
||||||
}
|
}
|
||||||
@ -24554,6 +24566,7 @@ function BackgroundToolsPanel({
|
|||||||
children,
|
children,
|
||||||
headerLabel
|
headerLabel
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -24564,7 +24577,7 @@ function BackgroundToolsPanel({
|
|||||||
label: headerLabel,
|
label: headerLabel,
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -25983,6 +25996,7 @@ function BorderToolsPanel({
|
|||||||
children,
|
children,
|
||||||
label
|
label
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -25991,7 +26005,7 @@ function BorderToolsPanel({
|
|||||||
label: label,
|
label: label,
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -26876,6 +26890,7 @@ function ColorToolsPanel({
|
|||||||
panelId,
|
panelId,
|
||||||
children
|
children
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -26889,7 +26904,7 @@ function ColorToolsPanel({
|
|||||||
className: "color-block-support-panel",
|
className: "color-block-support-panel",
|
||||||
__experimentalFirstVisibleItemClass: "first",
|
__experimentalFirstVisibleItemClass: "first",
|
||||||
__experimentalLastVisibleItemClass: "last",
|
__experimentalLastVisibleItemClass: "last",
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
className: "color-block-support-panel__inner-wrapper",
|
className: "color-block-support-panel__inner-wrapper",
|
||||||
children: children
|
children: children
|
||||||
@ -28827,6 +28842,7 @@ function TypographyToolsPanel({
|
|||||||
panelId,
|
panelId,
|
||||||
children
|
children
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -28835,7 +28851,7 @@ function TypographyToolsPanel({
|
|||||||
label: (0,external_wp_i18n_namespaceObject.__)('Typography'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Typography'),
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -31330,6 +31346,7 @@ function DimensionsToolsPanel({
|
|||||||
panelId,
|
panelId,
|
||||||
children
|
children
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -31338,7 +31355,7 @@ function DimensionsToolsPanel({
|
|||||||
label: (0,external_wp_i18n_namespaceObject.__)('Dimensions'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Dimensions'),
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -32778,6 +32795,7 @@ function FiltersToolsPanel({
|
|||||||
panelId,
|
panelId,
|
||||||
children
|
children
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetAll = () => {
|
const resetAll = () => {
|
||||||
const updatedValue = resetAllFilter(value);
|
const updatedValue = resetAllFilter(value);
|
||||||
onChange(updatedValue);
|
onChange(updatedValue);
|
||||||
@ -32786,7 +32804,7 @@ function FiltersToolsPanel({
|
|||||||
label: (0,external_wp_i18n_namespaceObject._x)('Filters', 'Name for applying graphical effects'),
|
label: (0,external_wp_i18n_namespaceObject._x)('Filters', 'Name for applying graphical effects'),
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: children
|
children: children
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -33161,25 +33179,30 @@ function useDuotoneStyles({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Safari does not always update the duotone filter when the duotone colors
|
// Safari does not always update the duotone filter when the duotone
|
||||||
// are changed. When using Safari, force the block element to be repainted by
|
// colors are changed. When using Safari, force the block element to be
|
||||||
// the browser to ensure any changes are reflected visually. This logic matches
|
// repainted by the browser to ensure any changes are reflected
|
||||||
// that used on the site frontend in `block-supports/duotone.php`.
|
// visually. This logic matches that used on the site frontend in
|
||||||
|
// `block-supports/duotone.php`.
|
||||||
if (blockElement && isSafari) {
|
if (blockElement && isSafari) {
|
||||||
const display = blockElement.style.display;
|
const display = blockElement.style.display;
|
||||||
// Switch to `inline-block` to force a repaint. In the editor, `inline-block`
|
// Switch to `inline-block` to force a repaint. In the editor,
|
||||||
// is used instead of `none` to ensure that scroll position is not affected,
|
// `inline-block` is used instead of `none` to ensure that scroll
|
||||||
// as `none` results in the editor scrolling to the top of the block.
|
// position is not affected, as `none` results in the editor
|
||||||
|
// scrolling to the top of the block.
|
||||||
blockElement.style.display = 'inline-block';
|
blockElement.style.display = 'inline-block';
|
||||||
// Simply accessing el.offsetHeight flushes layout and style
|
// Simply accessing el.offsetHeight flushes layout and style changes
|
||||||
// changes in WebKit without having to wait for setTimeout.
|
// in WebKit without having to wait for setTimeout.
|
||||||
// eslint-disable-next-line no-unused-expressions
|
// eslint-disable-next-line no-unused-expressions
|
||||||
blockElement.offsetHeight;
|
blockElement.offsetHeight;
|
||||||
blockElement.style.display = display;
|
blockElement.style.display = display;
|
||||||
}
|
}
|
||||||
}, [isValidFilter, blockElement]);
|
// `colors` must be a dependency so this effect runs when the colors
|
||||||
|
// change in Safari.
|
||||||
|
}, [isValidFilter, blockElement, colors]);
|
||||||
}
|
}
|
||||||
function duotone_useBlockProps({
|
function duotone_useBlockProps({
|
||||||
|
clientId,
|
||||||
name,
|
name,
|
||||||
style
|
style
|
||||||
}) {
|
}) {
|
||||||
@ -33215,7 +33238,7 @@ function duotone_useBlockProps({
|
|||||||
const filterClass = `wp-duotone-${id}`;
|
const filterClass = `wp-duotone-${id}`;
|
||||||
const shouldRender = selector && attribute;
|
const shouldRender = selector && attribute;
|
||||||
useDuotoneStyles({
|
useDuotoneStyles({
|
||||||
clientId: id,
|
clientId,
|
||||||
id: filterClass,
|
id: filterClass,
|
||||||
selector,
|
selector,
|
||||||
attribute
|
attribute
|
||||||
@ -34680,6 +34703,9 @@ function useGlobalStylesOutput(disableRootPadding = false) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const VARIATION_PREFIX = 'is-style-';
|
const VARIATION_PREFIX = 'is-style-';
|
||||||
function getVariationMatches(className) {
|
function getVariationMatches(className) {
|
||||||
if (!className) {
|
if (!className) {
|
||||||
@ -34718,7 +34744,109 @@ function getVariationNameFromClass(className, registeredStyles = []) {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
function useBlockSyleVariation(name, variation, clientId) {
|
|
||||||
|
// A helper component to apply a style override using the useStyleOverride hook.
|
||||||
|
function OverrideStyles({
|
||||||
|
override
|
||||||
|
}) {
|
||||||
|
useStyleOverride(override);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This component is used to generate new block style variation overrides
|
||||||
|
* based on an incoming theme config. If a matching style is found in the config,
|
||||||
|
* a new override is created and returned. The overrides can be used in conjunction with
|
||||||
|
* useStyleOverride to apply the new styles to the editor. Its use is
|
||||||
|
* subject to change.
|
||||||
|
*
|
||||||
|
* @param {Object} props Props.
|
||||||
|
* @param {Object} props.config A global styles object, containing settings and styles.
|
||||||
|
* @return {JSX.Element|undefined} An array of new block variation overrides.
|
||||||
|
*/
|
||||||
|
function __unstableBlockStyleVariationOverridesWithConfig({
|
||||||
|
config
|
||||||
|
}) {
|
||||||
|
const {
|
||||||
|
getBlockStyles,
|
||||||
|
overrides
|
||||||
|
} = (0,external_wp_data_namespaceObject.useSelect)(select => ({
|
||||||
|
getBlockStyles: select(external_wp_blocks_namespaceObject.store).getBlockStyles,
|
||||||
|
overrides: unlock(select(store)).getStyleOverrides()
|
||||||
|
}), []);
|
||||||
|
const {
|
||||||
|
getBlockName
|
||||||
|
} = (0,external_wp_data_namespaceObject.useSelect)(store);
|
||||||
|
const overridesWithConfig = (0,external_wp_element_namespaceObject.useMemo)(() => {
|
||||||
|
if (!overrides?.length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const newOverrides = [];
|
||||||
|
const overriddenClientIds = [];
|
||||||
|
for (const [, override] of overrides) {
|
||||||
|
if (override?.variation && override?.clientId &&
|
||||||
|
/*
|
||||||
|
* Because this component overwrites existing style overrides,
|
||||||
|
* filter out any overrides that are already present in the store.
|
||||||
|
*/
|
||||||
|
!overriddenClientIds.includes(override.clientId)) {
|
||||||
|
const blockName = getBlockName(override.clientId);
|
||||||
|
const configStyles = config?.styles?.blocks?.[blockName]?.variations?.[override.variation];
|
||||||
|
if (configStyles) {
|
||||||
|
const variationConfig = {
|
||||||
|
settings: config?.settings,
|
||||||
|
// The variation style data is all that is needed to generate
|
||||||
|
// the styles for the current application to a block. The variation
|
||||||
|
// name is updated to match the instance specific class name.
|
||||||
|
styles: {
|
||||||
|
blocks: {
|
||||||
|
[blockName]: {
|
||||||
|
variations: {
|
||||||
|
[`${override.variation}-${override.clientId}`]: configStyles
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const blockSelectors = getBlockSelectors((0,external_wp_blocks_namespaceObject.getBlockTypes)(), getBlockStyles, override.clientId);
|
||||||
|
const hasBlockGapSupport = false;
|
||||||
|
const hasFallbackGapSupport = true;
|
||||||
|
const disableLayoutStyles = true;
|
||||||
|
const disableRootPadding = true;
|
||||||
|
const variationStyles = toStyles(variationConfig, blockSelectors, hasBlockGapSupport, hasFallbackGapSupport, disableLayoutStyles, disableRootPadding, {
|
||||||
|
blockGap: false,
|
||||||
|
blockStyles: true,
|
||||||
|
layoutStyles: false,
|
||||||
|
marginReset: false,
|
||||||
|
presets: false,
|
||||||
|
rootPadding: false,
|
||||||
|
variationStyles: true
|
||||||
|
});
|
||||||
|
newOverrides.push({
|
||||||
|
id: `${override.variation}-${override.clientId}`,
|
||||||
|
css: variationStyles,
|
||||||
|
__unstableType: 'variation',
|
||||||
|
variation: override.variation,
|
||||||
|
// The clientId will be stored with the override and used to ensure
|
||||||
|
// the order of overrides matches the order of blocks so that the
|
||||||
|
// correct CSS cascade is maintained.
|
||||||
|
clientId: override.clientId
|
||||||
|
});
|
||||||
|
overriddenClientIds.push(override.clientId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return newOverrides;
|
||||||
|
}, [config, overrides, getBlockStyles, getBlockName]);
|
||||||
|
if (!overridesWithConfig || !overridesWithConfig.length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
||||||
|
children: overridesWithConfig.map(override => /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(OverrideStyles, {
|
||||||
|
override: override
|
||||||
|
}, override.id))
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function useBlockStyleVariation(name, variation, clientId) {
|
||||||
// Prefer global styles data in GlobalStylesContext, which are available
|
// Prefer global styles data in GlobalStylesContext, which are available
|
||||||
// if in the site editor. Otherwise fall back to whatever is in the
|
// if in the site editor. Otherwise fall back to whatever is in the
|
||||||
// editor settings and available in the post editor.
|
// editor settings and available in the post editor.
|
||||||
@ -34774,7 +34902,7 @@ function block_style_variation_useBlockProps({
|
|||||||
const {
|
const {
|
||||||
settings,
|
settings,
|
||||||
styles
|
styles
|
||||||
} = useBlockSyleVariation(name, variation, clientId);
|
} = useBlockStyleVariation(name, variation, clientId);
|
||||||
const variationStyles = (0,external_wp_element_namespaceObject.useMemo)(() => {
|
const variationStyles = (0,external_wp_element_namespaceObject.useMemo)(() => {
|
||||||
if (!variation) {
|
if (!variation) {
|
||||||
return;
|
return;
|
||||||
@ -34802,6 +34930,7 @@ function block_style_variation_useBlockProps({
|
|||||||
id: `variation-${clientId}`,
|
id: `variation-${clientId}`,
|
||||||
css: variationStyles,
|
css: variationStyles,
|
||||||
__unstableType: 'variation',
|
__unstableType: 'variation',
|
||||||
|
variation,
|
||||||
// The clientId will be stored with the override and used to ensure
|
// The clientId will be stored with the override and used to ensure
|
||||||
// the order of overrides matches the order of blocks so that the
|
// the order of overrides matches the order of blocks so that the
|
||||||
// correct CSS cascade is maintained.
|
// correct CSS cascade is maintained.
|
||||||
@ -36861,6 +36990,7 @@ const withBlockBindingSupport = (0,external_wp_compose_namespaceObject.createHig
|
|||||||
clientId,
|
clientId,
|
||||||
context
|
context
|
||||||
} = props;
|
} = props;
|
||||||
|
const hasParentPattern = !!props.context['pattern/overrides'];
|
||||||
const hasPatternOverridesDefaultBinding = props.attributes.metadata?.bindings?.[DEFAULT_ATTRIBUTE]?.source === 'core/pattern-overrides';
|
const hasPatternOverridesDefaultBinding = props.attributes.metadata?.bindings?.[DEFAULT_ATTRIBUTE]?.source === 'core/pattern-overrides';
|
||||||
const bindings = (0,external_wp_element_namespaceObject.useMemo)(() => replacePatternOverrideDefaultBindings(name, props.attributes.metadata?.bindings), [props.attributes.metadata?.bindings, name]);
|
const bindings = (0,external_wp_element_namespaceObject.useMemo)(() => replacePatternOverrideDefaultBindings(name, props.attributes.metadata?.bindings), [props.attributes.metadata?.bindings, name]);
|
||||||
const boundAttributes = (0,external_wp_data_namespaceObject.useSelect)(() => {
|
const boundAttributes = (0,external_wp_data_namespaceObject.useSelect)(() => {
|
||||||
@ -36945,15 +37075,19 @@ const withBlockBindingSupport = (0,external_wp_compose_namespaceObject.createHig
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
// Only apply normal attribute updates to blocks
|
// Don't update non-connected attributes if the block is using pattern overrides
|
||||||
// that have partial bindings. Currently this is
|
// and the editing is happening while overriding the pattern (not editing the original).
|
||||||
// only skipped for pattern overrides sources.
|
!(hasPatternOverridesDefaultBinding && hasParentPattern) && Object.keys(keptAttributes).length) {
|
||||||
if (!hasPatternOverridesDefaultBinding && Object.keys(keptAttributes).length) {
|
// Don't update caption and href until they are supported.
|
||||||
|
if (hasPatternOverridesDefaultBinding) {
|
||||||
|
delete keptAttributes?.caption;
|
||||||
|
delete keptAttributes?.href;
|
||||||
|
}
|
||||||
setAttributes(keptAttributes);
|
setAttributes(keptAttributes);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, [registry, bindings, name, clientId, context, setAttributes, sources, hasPatternOverridesDefaultBinding]);
|
}, [registry, bindings, name, clientId, context, setAttributes, sources, hasPatternOverridesDefaultBinding, hasParentPattern]);
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockEdit, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockEdit, {
|
||||||
...props,
|
...props,
|
||||||
@ -37511,6 +37645,7 @@ createBlockSaveFilter([align, text_align, hooks_anchor, aria_label, custom_class
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -67724,6 +67859,7 @@ function ImageSettingsPanel({
|
|||||||
inheritedValue,
|
inheritedValue,
|
||||||
panelId
|
panelId
|
||||||
}) {
|
}) {
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const resetLightbox = () => {
|
const resetLightbox = () => {
|
||||||
onChange(undefined);
|
onChange(undefined);
|
||||||
};
|
};
|
||||||
@ -67741,7 +67877,7 @@ function ImageSettingsPanel({
|
|||||||
label: (0,external_wp_i18n_namespaceObject._x)('Settings', 'Image settings'),
|
label: (0,external_wp_i18n_namespaceObject._x)('Settings', 'Image settings'),
|
||||||
resetAll: resetLightbox,
|
resetAll: resetLightbox,
|
||||||
panelId: panelId,
|
panelId: panelId,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem
|
||||||
// We use the `userSettings` prop instead of `settings`, because `settings`
|
// We use the `userSettings` prop instead of `settings`, because `settings`
|
||||||
// contains the core/theme values for the lightbox and we want to show the
|
// contains the core/theme values for the lightbox and we want to show the
|
||||||
@ -71243,7 +71379,8 @@ lock(privateApis, {
|
|||||||
PrivateBlockPopover: PrivateBlockPopover,
|
PrivateBlockPopover: PrivateBlockPopover,
|
||||||
PrivatePublishDateTimePicker: PrivatePublishDateTimePicker,
|
PrivatePublishDateTimePicker: PrivatePublishDateTimePicker,
|
||||||
useSpacingSizes: useSpacingSizes,
|
useSpacingSizes: useSpacingSizes,
|
||||||
useBlockDisplayTitle: useBlockDisplayTitle
|
useBlockDisplayTitle: useBlockDisplayTitle,
|
||||||
|
__unstableBlockStyleVariationOverridesWithConfig: __unstableBlockStyleVariationOverridesWithConfig
|
||||||
});
|
});
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/index.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/index.js
|
||||||
|
2
wp-includes/js/dist/block-editor.min.js
vendored
2
wp-includes/js/dist/block-editor.min.js
vendored
File diff suppressed because one or more lines are too long
58
wp-includes/js/dist/block-library.js
vendored
58
wp-includes/js/dist/block-library.js
vendored
@ -3011,6 +3011,8 @@ const getMergedAttributesWithPreview = (currentAttributes, preview, title, isRes
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||||
|
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/hooks.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/hooks.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -3021,6 +3023,7 @@ const getMergedAttributesWithPreview = (currentAttributes, preview, title, isRes
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether the current user can edit the given entity.
|
* Returns whether the current user can edit the given entity.
|
||||||
*
|
*
|
||||||
@ -3092,9 +3095,17 @@ function useUploadMediaFromBlobURL(args = {}) {
|
|||||||
});
|
});
|
||||||
}, [getSettings]);
|
}, [getSettings]);
|
||||||
}
|
}
|
||||||
|
function useToolsPanelDropdownMenuProps() {
|
||||||
|
const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
|
||||||
|
return !isMobile ? {
|
||||||
|
popoverProps: {
|
||||||
|
placement: 'left-start',
|
||||||
|
// For non-mobile, inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px)
|
||||||
|
offset: 259
|
||||||
|
}
|
||||||
|
} : {};
|
||||||
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
|
||||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/caption.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/caption.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -26352,16 +26363,6 @@ const upload = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ext
|
|||||||
});
|
});
|
||||||
/* harmony default export */ const library_upload = (upload);
|
/* harmony default export */ const library_upload = (upload);
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/constants.js
|
|
||||||
// The following dropdown menu props aim to provide a consistent offset and
|
|
||||||
// placement for ToolsPanel menus for block controls to match color popovers.
|
|
||||||
const TOOLSPANEL_DROPDOWNMENU_PROPS = {
|
|
||||||
popoverProps: {
|
|
||||||
placement: 'left-start',
|
|
||||||
offset: 259 // Inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px)
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -26692,6 +26693,7 @@ function image_Image({
|
|||||||
// remove that override, even if the lightbox UI is disabled in the settings.
|
// remove that override, even if the lightbox UI is disabled in the settings.
|
||||||
!!lightbox && lightbox?.enabled !== lightboxSetting?.enabled || lightboxSetting?.allowEditing;
|
!!lightbox && lightbox?.enabled !== lightboxSetting?.enabled || lightboxSetting?.allowEditing;
|
||||||
const lightboxChecked = !!lightbox?.enabled || !lightbox && !!lightboxSetting?.enabled;
|
const lightboxChecked = !!lightbox?.enabled || !lightbox && !!lightboxSetting?.enabled;
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const dimensionsControl = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DimensionsTool, {
|
const dimensionsControl = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DimensionsTool, {
|
||||||
value: {
|
value: {
|
||||||
width,
|
width,
|
||||||
@ -26738,7 +26740,7 @@ function image_Image({
|
|||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: isResizable && dimensionsControl
|
children: isResizable && dimensionsControl
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@ -26758,15 +26760,12 @@ function image_Image({
|
|||||||
const {
|
const {
|
||||||
getBlockBindingsSource
|
getBlockBindingsSource
|
||||||
} = unlock(select(external_wp_blocks_namespaceObject.store));
|
} = unlock(select(external_wp_blocks_namespaceObject.store));
|
||||||
const {
|
|
||||||
getBlockParentsByBlockName
|
|
||||||
} = unlock(select(external_wp_blockEditor_namespaceObject.store));
|
|
||||||
const {
|
const {
|
||||||
url: urlBinding,
|
url: urlBinding,
|
||||||
alt: altBinding,
|
alt: altBinding,
|
||||||
title: titleBinding
|
title: titleBinding
|
||||||
} = metadata?.bindings || {};
|
} = metadata?.bindings || {};
|
||||||
const hasParentPattern = getBlockParentsByBlockName(clientId, 'core/block').length > 0;
|
const hasParentPattern = !!context['pattern/overrides'];
|
||||||
const urlBindingSource = getBlockBindingsSource(urlBinding?.source);
|
const urlBindingSource = getBlockBindingsSource(urlBinding?.source);
|
||||||
const altBindingSource = getBlockBindingsSource(altBinding?.source);
|
const altBindingSource = getBlockBindingsSource(altBinding?.source);
|
||||||
const titleBindingSource = getBlockBindingsSource(titleBinding?.source);
|
const titleBindingSource = getBlockBindingsSource(titleBinding?.source);
|
||||||
@ -26799,7 +26798,7 @@ function image_Image({
|
|||||||
lockTitleControlsMessage: titleBindingSource?.label ? (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: %s: Label of the bindings source. */
|
lockTitleControlsMessage: titleBindingSource?.label ? (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: %s: Label of the bindings source. */
|
||||||
(0,external_wp_i18n_namespaceObject.__)('Connected to %s'), titleBindingSource.label) : (0,external_wp_i18n_namespaceObject.__)('Connected to dynamic data')
|
(0,external_wp_i18n_namespaceObject.__)('Connected to %s'), titleBindingSource.label) : (0,external_wp_i18n_namespaceObject.__)('Connected to dynamic data')
|
||||||
};
|
};
|
||||||
}, [clientId, isSingleSelected, metadata?.bindings]);
|
}, [arePatternOverridesEnabled, context, isSingleSelected, metadata?.bindings]);
|
||||||
const showUrlInput = isSingleSelected && !isEditingImage && !lockHrefControls && !lockUrlControls;
|
const showUrlInput = isSingleSelected && !isEditingImage && !lockHrefControls && !lockUrlControls;
|
||||||
const showCoverControls = isSingleSelected && canInsertCover;
|
const showCoverControls = isSingleSelected && canInsertCover;
|
||||||
const showBlockControls = showUrlInput || allowCrop || showCoverControls;
|
const showBlockControls = showUrlInput || allowCrop || showCoverControls;
|
||||||
@ -26931,7 +26930,7 @@ function image_Image({
|
|||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
||||||
resetAll: resetAll,
|
resetAll: resetAll,
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: [isSingleSelected && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
children: [isSingleSelected && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Alternative text'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Alternative text'),
|
||||||
isShownByDefault: true,
|
isShownByDefault: true,
|
||||||
@ -30433,7 +30432,14 @@ function useMerge(clientId, onMerge) {
|
|||||||
// list.
|
// list.
|
||||||
const [nestedListClientId] = getBlockOrder(clientIdB);
|
const [nestedListClientId] = getBlockOrder(clientIdB);
|
||||||
if (nestedListClientId) {
|
if (nestedListClientId) {
|
||||||
moveBlocksToPosition(getBlockOrder(nestedListClientId), nestedListClientId, getBlockRootClientId(clientIdA));
|
// If we are merging with the previous list item, and the
|
||||||
|
// previous list item does not have nested list, move the
|
||||||
|
// nested list to the previous list item.
|
||||||
|
if (getPreviousBlockClientId(clientIdB) === clientIdA && !getBlockOrder(clientIdA).length) {
|
||||||
|
moveBlocksToPosition([nestedListClientId], clientIdB, clientIdA);
|
||||||
|
} else {
|
||||||
|
moveBlocksToPosition(getBlockOrder(nestedListClientId), nestedListClientId, getBlockRootClientId(clientIdA));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
mergeBlocks(clientIdA, clientIdB);
|
mergeBlocks(clientIdA, clientIdB);
|
||||||
});
|
});
|
||||||
@ -32140,6 +32146,7 @@ function MediaTextEdit({
|
|||||||
mediaSizeSlug: newMediaSizeSlug
|
mediaSizeSlug: newMediaSizeSlug
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
const mediaTextGeneralSettings = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
const mediaTextGeneralSettings = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Settings'),
|
||||||
resetAll: () => {
|
resetAll: () => {
|
||||||
@ -32152,7 +32159,7 @@ function MediaTextEdit({
|
|||||||
mediaSizeSlug: undefined
|
mediaSizeSlug: undefined
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Media width'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Media width'),
|
||||||
isShownByDefault: true,
|
isShownByDefault: true,
|
||||||
@ -47507,6 +47514,7 @@ function QueryInspectorControls(props) {
|
|||||||
const showSearchControl = isControlAllowed(allowedControls, 'search');
|
const showSearchControl = isControlAllowed(allowedControls, 'search');
|
||||||
const showParentControl = isControlAllowed(allowedControls, 'parents') && isPostTypeHierarchical;
|
const showParentControl = isControlAllowed(allowedControls, 'parents') && isPostTypeHierarchical;
|
||||||
const showFiltersPanel = showTaxControl || showAuthorControl || showSearchControl || showParentControl;
|
const showFiltersPanel = showTaxControl || showAuthorControl || showSearchControl || showParentControl;
|
||||||
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockInfo, {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockInfo, {
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(create_new_post_link, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(create_new_post_link, {
|
||||||
@ -47570,7 +47578,7 @@ function QueryInspectorControls(props) {
|
|||||||
});
|
});
|
||||||
setQuerySearch('');
|
setQuerySearch('');
|
||||||
},
|
},
|
||||||
dropdownMenuProps: TOOLSPANEL_DROPDOWNMENU_PROPS,
|
dropdownMenuProps: dropdownMenuProps,
|
||||||
children: [showTaxControl && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
children: [showTaxControl && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
|
||||||
label: (0,external_wp_i18n_namespaceObject.__)('Taxonomies'),
|
label: (0,external_wp_i18n_namespaceObject.__)('Taxonomies'),
|
||||||
hasValue: () => Object.values(taxQuery || {}).some(terms => !!terms.length),
|
hasValue: () => Object.values(taxQuery || {}).some(terms => !!terms.length),
|
||||||
@ -51123,9 +51131,13 @@ const block_metadata = {
|
|||||||
type: "number"
|
type: "number"
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
type: "object"
|
type: "object",
|
||||||
|
"default": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
providesContext: {
|
||||||
|
"pattern/overrides": "content"
|
||||||
|
},
|
||||||
supports: {
|
supports: {
|
||||||
customClassName: false,
|
customClassName: false,
|
||||||
html: false,
|
html: false,
|
||||||
|
4
wp-includes/js/dist/block-library.min.js
vendored
4
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
529
wp-includes/js/dist/edit-site.js
vendored
529
wp-includes/js/dist/edit-site.js
vendored
@ -8735,9 +8735,9 @@ const setCanvasMode = mode => ({
|
|||||||
registry,
|
registry,
|
||||||
dispatch
|
dispatch
|
||||||
}) => {
|
}) => {
|
||||||
|
const isMediumOrBigger = window.matchMedia('(min-width: 782px)').matches;
|
||||||
const switchCanvasMode = () => {
|
const switchCanvasMode = () => {
|
||||||
registry.batch(() => {
|
registry.batch(() => {
|
||||||
const isMediumOrBigger = window.matchMedia('(min-width: 782px)').matches;
|
|
||||||
registry.dispatch(external_wp_blockEditor_namespaceObject.store).clearSelectedBlock();
|
registry.dispatch(external_wp_blockEditor_namespaceObject.store).clearSelectedBlock();
|
||||||
registry.dispatch(external_wp_editor_namespaceObject.store).setDeviceType('Desktop');
|
registry.dispatch(external_wp_editor_namespaceObject.store).setDeviceType('Desktop');
|
||||||
registry.dispatch(external_wp_blockEditor_namespaceObject.store).__unstableSetEditorMode('edit');
|
registry.dispatch(external_wp_blockEditor_namespaceObject.store).__unstableSetEditorMode('edit');
|
||||||
@ -8762,7 +8762,12 @@ const setCanvasMode = mode => ({
|
|||||||
registry.dispatch(external_wp_editor_namespaceObject.store).setIsInserterOpened(false);
|
registry.dispatch(external_wp_editor_namespaceObject.store).setIsInserterOpened(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
if (!document.startViewTransition) {
|
|
||||||
|
/*
|
||||||
|
* Skip transition in mobile, otherwise it crashes the browser.
|
||||||
|
* See: https://github.com/WordPress/gutenberg/pull/63002.
|
||||||
|
*/
|
||||||
|
if (!isMediumOrBigger || !document.startViewTransition) {
|
||||||
switchCanvasMode();
|
switchCanvasMode();
|
||||||
} else {
|
} else {
|
||||||
document.documentElement.classList.add(`canvas-mode-${mode}-transition`);
|
document.documentElement.classList.add(`canvas-mode-${mode}-transition`);
|
||||||
@ -9956,240 +9961,6 @@ function useSyncCanvasModeWithURL() {
|
|||||||
}, [canvasInUrl, setCanvasMode]);
|
}, [canvasInUrl, setCanvasMode]);
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-previewing-theme.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
function isPreviewingTheme() {
|
|
||||||
return (0,external_wp_url_namespaceObject.getQueryArg)(window.location.href, 'wp_theme_preview') !== undefined;
|
|
||||||
}
|
|
||||||
function currentlyPreviewingTheme() {
|
|
||||||
if (isPreviewingTheme()) {
|
|
||||||
return (0,external_wp_url_namespaceObject.getQueryArg)(window.location.href, 'wp_theme_preview');
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/use-activate-theme.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
|
||||||
useHistory: use_activate_theme_useHistory
|
|
||||||
} = lock_unlock_unlock(external_wp_router_namespaceObject.privateApis);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This should be refactored to use the REST API, once the REST API can activate themes.
|
|
||||||
*
|
|
||||||
* @return {Function} A function that activates the theme.
|
|
||||||
*/
|
|
||||||
function useActivateTheme() {
|
|
||||||
const history = use_activate_theme_useHistory();
|
|
||||||
const {
|
|
||||||
startResolution,
|
|
||||||
finishResolution
|
|
||||||
} = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
|
|
||||||
return async () => {
|
|
||||||
if (isPreviewingTheme()) {
|
|
||||||
const activationURL = 'themes.php?action=activate&stylesheet=' + currentlyPreviewingTheme() + '&_wpnonce=' + window.WP_BLOCK_THEME_ACTIVATE_NONCE;
|
|
||||||
startResolution('activateTheme');
|
|
||||||
await window.fetch(activationURL);
|
|
||||||
finishResolution('activateTheme');
|
|
||||||
// Remove the wp_theme_preview query param: we've finished activating
|
|
||||||
// the queue and are switching to normal Site Editor.
|
|
||||||
const {
|
|
||||||
params
|
|
||||||
} = history.getLocationWithParams();
|
|
||||||
history.replace({
|
|
||||||
...params,
|
|
||||||
wp_theme_preview: undefined
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
|
||||||
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
|
||||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/use-actual-current-theme.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const ACTIVE_THEMES_URL = '/wp/v2/themes?status=active';
|
|
||||||
function useActualCurrentTheme() {
|
|
||||||
const [currentTheme, setCurrentTheme] = (0,external_wp_element_namespaceObject.useState)();
|
|
||||||
(0,external_wp_element_namespaceObject.useEffect)(() => {
|
|
||||||
// Set the `wp_theme_preview` to empty string to bypass the createThemePreviewMiddleware.
|
|
||||||
const path = (0,external_wp_url_namespaceObject.addQueryArgs)(ACTIVE_THEMES_URL, {
|
|
||||||
context: 'edit',
|
|
||||||
wp_theme_preview: ''
|
|
||||||
});
|
|
||||||
external_wp_apiFetch_default()({
|
|
||||||
path
|
|
||||||
}).then(activeThemes => setCurrentTheme(activeThemes[0]))
|
|
||||||
// Do nothing
|
|
||||||
.catch(() => {});
|
|
||||||
}, []);
|
|
||||||
return currentTheme;
|
|
||||||
}
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/save-panel/index.js
|
|
||||||
/**
|
|
||||||
* External dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
|
||||||
EntitiesSavedStatesExtensible,
|
|
||||||
NavigableRegion
|
|
||||||
} = lock_unlock_unlock(external_wp_editor_namespaceObject.privateApis);
|
|
||||||
const EntitiesSavedStatesForPreview = ({
|
|
||||||
onClose
|
|
||||||
}) => {
|
|
||||||
var _currentTheme$name$re, _previewingTheme$name;
|
|
||||||
const isDirtyProps = (0,external_wp_editor_namespaceObject.useEntitiesSavedStatesIsDirty)();
|
|
||||||
let activateSaveLabel;
|
|
||||||
if (isDirtyProps.isDirty) {
|
|
||||||
activateSaveLabel = (0,external_wp_i18n_namespaceObject.__)('Activate & Save');
|
|
||||||
} else {
|
|
||||||
activateSaveLabel = (0,external_wp_i18n_namespaceObject.__)('Activate');
|
|
||||||
}
|
|
||||||
const currentTheme = useActualCurrentTheme();
|
|
||||||
const previewingTheme = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getCurrentTheme(), []);
|
|
||||||
const additionalPrompt = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("p", {
|
|
||||||
children: (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: %1$s: The name of active theme, %2$s: The name of theme to be activated. */
|
|
||||||
(0,external_wp_i18n_namespaceObject.__)('Saving your changes will change your active theme from %1$s to %2$s.'), (_currentTheme$name$re = currentTheme?.name?.rendered) !== null && _currentTheme$name$re !== void 0 ? _currentTheme$name$re : '...', (_previewingTheme$name = previewingTheme?.name?.rendered) !== null && _previewingTheme$name !== void 0 ? _previewingTheme$name : '...')
|
|
||||||
});
|
|
||||||
const activateTheme = useActivateTheme();
|
|
||||||
const onSave = async values => {
|
|
||||||
await activateTheme();
|
|
||||||
return values;
|
|
||||||
};
|
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EntitiesSavedStatesExtensible, {
|
|
||||||
...isDirtyProps,
|
|
||||||
additionalPrompt,
|
|
||||||
close: onClose,
|
|
||||||
onSave,
|
|
||||||
saveEnabled: true,
|
|
||||||
saveLabel: activateSaveLabel
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const _EntitiesSavedStates = ({
|
|
||||||
onClose,
|
|
||||||
renderDialog = undefined
|
|
||||||
}) => {
|
|
||||||
if (isPreviewingTheme()) {
|
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EntitiesSavedStatesForPreview, {
|
|
||||||
onClose: onClose
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_editor_namespaceObject.EntitiesSavedStates, {
|
|
||||||
close: onClose,
|
|
||||||
renderDialog: renderDialog
|
|
||||||
});
|
|
||||||
};
|
|
||||||
function SavePanel() {
|
|
||||||
const {
|
|
||||||
isSaveViewOpen,
|
|
||||||
canvasMode,
|
|
||||||
isDirty,
|
|
||||||
isSaving
|
|
||||||
} = (0,external_wp_data_namespaceObject.useSelect)(select => {
|
|
||||||
const {
|
|
||||||
__experimentalGetDirtyEntityRecords,
|
|
||||||
isSavingEntityRecord,
|
|
||||||
isResolving
|
|
||||||
} = select(external_wp_coreData_namespaceObject.store);
|
|
||||||
const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
|
|
||||||
const isActivatingTheme = isResolving('activateTheme');
|
|
||||||
const {
|
|
||||||
isSaveViewOpened,
|
|
||||||
getCanvasMode
|
|
||||||
} = lock_unlock_unlock(select(store));
|
|
||||||
|
|
||||||
// The currently selected entity to display.
|
|
||||||
// Typically template or template part in the site editor.
|
|
||||||
return {
|
|
||||||
isSaveViewOpen: isSaveViewOpened(),
|
|
||||||
canvasMode: getCanvasMode(),
|
|
||||||
isDirty: dirtyEntityRecords.length > 0,
|
|
||||||
isSaving: dirtyEntityRecords.some(record => isSavingEntityRecord(record.kind, record.name, record.key)) || isActivatingTheme
|
|
||||||
};
|
|
||||||
}, []);
|
|
||||||
const {
|
|
||||||
setIsSaveViewOpened
|
|
||||||
} = (0,external_wp_data_namespaceObject.useDispatch)(store);
|
|
||||||
const onClose = () => setIsSaveViewOpened(false);
|
|
||||||
if (canvasMode === 'view') {
|
|
||||||
return isSaveViewOpen ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Modal, {
|
|
||||||
className: "edit-site-save-panel__modal",
|
|
||||||
onRequestClose: onClose,
|
|
||||||
__experimentalHideHeader: true,
|
|
||||||
contentLabel: (0,external_wp_i18n_namespaceObject.__)('Save site, content, and template changes'),
|
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(_EntitiesSavedStates, {
|
|
||||||
onClose: onClose
|
|
||||||
})
|
|
||||||
}) : null;
|
|
||||||
}
|
|
||||||
const activateSaveEnabled = isPreviewingTheme() || isDirty;
|
|
||||||
const disabled = isSaving || !activateSaveEnabled;
|
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(NavigableRegion, {
|
|
||||||
className: dist_clsx('edit-site-layout__actions', {
|
|
||||||
'is-entity-save-view-open': isSaveViewOpen
|
|
||||||
}),
|
|
||||||
ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Save panel'),
|
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
|
||||||
className: dist_clsx('edit-site-editor__toggle-save-panel', {
|
|
||||||
'screen-reader-text': isSaveViewOpen
|
|
||||||
}),
|
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
|
||||||
variant: "secondary",
|
|
||||||
className: "edit-site-editor__toggle-save-panel-button",
|
|
||||||
onClick: () => setIsSaveViewOpened(true),
|
|
||||||
"aria-haspopup": "dialog",
|
|
||||||
disabled: disabled,
|
|
||||||
__experimentalIsFocusable: true,
|
|
||||||
children: (0,external_wp_i18n_namespaceObject.__)('Open save panel')
|
|
||||||
})
|
|
||||||
}), isSaveViewOpen && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(_EntitiesSavedStates, {
|
|
||||||
onClose: onClose,
|
|
||||||
renderDialog: true
|
|
||||||
})]
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcuts/register.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcuts/register.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -10812,6 +10583,21 @@ function isTemplateRevertable(template) {
|
|||||||
/* eslint-enable camelcase */
|
/* eslint-enable camelcase */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-previewing-theme.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
function isPreviewingTheme() {
|
||||||
|
return (0,external_wp_url_namespaceObject.getQueryArg)(window.location.href, 'wp_theme_preview') !== undefined;
|
||||||
|
}
|
||||||
|
function currentlyPreviewingTheme() {
|
||||||
|
if (isPreviewingTheme()) {
|
||||||
|
return (0,external_wp_url_namespaceObject.getQueryArg)(window.location.href, 'wp_theme_preview');
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/link.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/link.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -13833,6 +13619,9 @@ const settings_settings = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObje
|
|||||||
});
|
});
|
||||||
/* harmony default export */ const library_settings = (settings_settings);
|
/* harmony default export */ const library_settings = (settings_settings);
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
||||||
|
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
||||||
|
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/font-library-modal/resolvers.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/font-library-modal/resolvers.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -22584,7 +22373,8 @@ function ScreenCSS() {
|
|||||||
const {
|
const {
|
||||||
ExperimentalBlockEditorProvider: revisions_ExperimentalBlockEditorProvider,
|
ExperimentalBlockEditorProvider: revisions_ExperimentalBlockEditorProvider,
|
||||||
GlobalStylesContext: revisions_GlobalStylesContext,
|
GlobalStylesContext: revisions_GlobalStylesContext,
|
||||||
useGlobalStylesOutputWithConfig: revisions_useGlobalStylesOutputWithConfig
|
useGlobalStylesOutputWithConfig: revisions_useGlobalStylesOutputWithConfig,
|
||||||
|
__unstableBlockStyleVariationOverridesWithConfig
|
||||||
} = lock_unlock_unlock(external_wp_blockEditor_namespaceObject.privateApis);
|
} = lock_unlock_unlock(external_wp_blockEditor_namespaceObject.privateApis);
|
||||||
const {
|
const {
|
||||||
mergeBaseAndUserConfigs: revisions_mergeBaseAndUserConfigs
|
mergeBaseAndUserConfigs: revisions_mergeBaseAndUserConfigs
|
||||||
@ -22621,21 +22411,23 @@ function Revisions({
|
|||||||
className: "edit-site-revisions__iframe",
|
className: "edit-site-revisions__iframe",
|
||||||
name: "revisions",
|
name: "revisions",
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("style", {
|
||||||
styles: editorStyles
|
|
||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("style", {
|
|
||||||
children:
|
children:
|
||||||
// Forming a "block formatting context" to prevent margin collapsing.
|
// Forming a "block formatting context" to prevent margin collapsing.
|
||||||
// @see https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
|
// @see https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
|
||||||
`.is-root-container { display: flow-root; }`
|
`.is-root-container { display: flow-root; }`
|
||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Disabled, {
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Disabled, {
|
||||||
className: "edit-site-revisions__example-preview__content",
|
className: "edit-site-revisions__example-preview__content",
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(revisions_ExperimentalBlockEditorProvider, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(revisions_ExperimentalBlockEditorProvider, {
|
||||||
value: renderedBlocksArray,
|
value: renderedBlocksArray,
|
||||||
settings: settings,
|
settings: settings,
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockList, {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockList, {
|
||||||
renderAppender: false
|
renderAppender: false
|
||||||
})
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
|
||||||
|
styles: editorStyles
|
||||||
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(__unstableBlockStyleVariationOverridesWithConfig, {
|
||||||
|
config: mergedConfig
|
||||||
|
})]
|
||||||
})
|
})
|
||||||
})]
|
})]
|
||||||
})
|
})
|
||||||
@ -23898,6 +23690,222 @@ function SaveButton({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/use-activate-theme.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
const {
|
||||||
|
useHistory: use_activate_theme_useHistory
|
||||||
|
} = lock_unlock_unlock(external_wp_router_namespaceObject.privateApis);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This should be refactored to use the REST API, once the REST API can activate themes.
|
||||||
|
*
|
||||||
|
* @return {Function} A function that activates the theme.
|
||||||
|
*/
|
||||||
|
function useActivateTheme() {
|
||||||
|
const history = use_activate_theme_useHistory();
|
||||||
|
const {
|
||||||
|
startResolution,
|
||||||
|
finishResolution
|
||||||
|
} = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
|
||||||
|
return async () => {
|
||||||
|
if (isPreviewingTheme()) {
|
||||||
|
const activationURL = 'themes.php?action=activate&stylesheet=' + currentlyPreviewingTheme() + '&_wpnonce=' + window.WP_BLOCK_THEME_ACTIVATE_NONCE;
|
||||||
|
startResolution('activateTheme');
|
||||||
|
await window.fetch(activationURL);
|
||||||
|
finishResolution('activateTheme');
|
||||||
|
// Remove the wp_theme_preview query param: we've finished activating
|
||||||
|
// the queue and are switching to normal Site Editor.
|
||||||
|
const {
|
||||||
|
params
|
||||||
|
} = history.getLocationWithParams();
|
||||||
|
history.replace({
|
||||||
|
...params,
|
||||||
|
wp_theme_preview: undefined
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/use-actual-current-theme.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const ACTIVE_THEMES_URL = '/wp/v2/themes?status=active';
|
||||||
|
function useActualCurrentTheme() {
|
||||||
|
const [currentTheme, setCurrentTheme] = (0,external_wp_element_namespaceObject.useState)();
|
||||||
|
(0,external_wp_element_namespaceObject.useEffect)(() => {
|
||||||
|
// Set the `wp_theme_preview` to empty string to bypass the createThemePreviewMiddleware.
|
||||||
|
const path = (0,external_wp_url_namespaceObject.addQueryArgs)(ACTIVE_THEMES_URL, {
|
||||||
|
context: 'edit',
|
||||||
|
wp_theme_preview: ''
|
||||||
|
});
|
||||||
|
external_wp_apiFetch_default()({
|
||||||
|
path
|
||||||
|
}).then(activeThemes => setCurrentTheme(activeThemes[0]))
|
||||||
|
// Do nothing
|
||||||
|
.catch(() => {});
|
||||||
|
}, []);
|
||||||
|
return currentTheme;
|
||||||
|
}
|
||||||
|
|
||||||
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/save-panel/index.js
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const {
|
||||||
|
EntitiesSavedStatesExtensible,
|
||||||
|
NavigableRegion
|
||||||
|
} = lock_unlock_unlock(external_wp_editor_namespaceObject.privateApis);
|
||||||
|
const EntitiesSavedStatesForPreview = ({
|
||||||
|
onClose
|
||||||
|
}) => {
|
||||||
|
var _currentTheme$name$re, _previewingTheme$name;
|
||||||
|
const isDirtyProps = (0,external_wp_editor_namespaceObject.useEntitiesSavedStatesIsDirty)();
|
||||||
|
let activateSaveLabel;
|
||||||
|
if (isDirtyProps.isDirty) {
|
||||||
|
activateSaveLabel = (0,external_wp_i18n_namespaceObject.__)('Activate & Save');
|
||||||
|
} else {
|
||||||
|
activateSaveLabel = (0,external_wp_i18n_namespaceObject.__)('Activate');
|
||||||
|
}
|
||||||
|
const currentTheme = useActualCurrentTheme();
|
||||||
|
const previewingTheme = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getCurrentTheme(), []);
|
||||||
|
const additionalPrompt = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("p", {
|
||||||
|
children: (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: %1$s: The name of active theme, %2$s: The name of theme to be activated. */
|
||||||
|
(0,external_wp_i18n_namespaceObject.__)('Saving your changes will change your active theme from %1$s to %2$s.'), (_currentTheme$name$re = currentTheme?.name?.rendered) !== null && _currentTheme$name$re !== void 0 ? _currentTheme$name$re : '...', (_previewingTheme$name = previewingTheme?.name?.rendered) !== null && _previewingTheme$name !== void 0 ? _previewingTheme$name : '...')
|
||||||
|
});
|
||||||
|
const activateTheme = useActivateTheme();
|
||||||
|
const onSave = async values => {
|
||||||
|
await activateTheme();
|
||||||
|
return values;
|
||||||
|
};
|
||||||
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EntitiesSavedStatesExtensible, {
|
||||||
|
...isDirtyProps,
|
||||||
|
additionalPrompt,
|
||||||
|
close: onClose,
|
||||||
|
onSave,
|
||||||
|
saveEnabled: true,
|
||||||
|
saveLabel: activateSaveLabel
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const _EntitiesSavedStates = ({
|
||||||
|
onClose,
|
||||||
|
renderDialog = undefined
|
||||||
|
}) => {
|
||||||
|
if (isPreviewingTheme()) {
|
||||||
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EntitiesSavedStatesForPreview, {
|
||||||
|
onClose: onClose
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_editor_namespaceObject.EntitiesSavedStates, {
|
||||||
|
close: onClose,
|
||||||
|
renderDialog: renderDialog
|
||||||
|
});
|
||||||
|
};
|
||||||
|
function SavePanel() {
|
||||||
|
const {
|
||||||
|
isSaveViewOpen,
|
||||||
|
canvasMode,
|
||||||
|
isDirty,
|
||||||
|
isSaving
|
||||||
|
} = (0,external_wp_data_namespaceObject.useSelect)(select => {
|
||||||
|
const {
|
||||||
|
__experimentalGetDirtyEntityRecords,
|
||||||
|
isSavingEntityRecord,
|
||||||
|
isResolving
|
||||||
|
} = select(external_wp_coreData_namespaceObject.store);
|
||||||
|
const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
|
||||||
|
const isActivatingTheme = isResolving('activateTheme');
|
||||||
|
const {
|
||||||
|
isSaveViewOpened,
|
||||||
|
getCanvasMode
|
||||||
|
} = lock_unlock_unlock(select(store));
|
||||||
|
|
||||||
|
// The currently selected entity to display.
|
||||||
|
// Typically template or template part in the site editor.
|
||||||
|
return {
|
||||||
|
isSaveViewOpen: isSaveViewOpened(),
|
||||||
|
canvasMode: getCanvasMode(),
|
||||||
|
isDirty: dirtyEntityRecords.length > 0,
|
||||||
|
isSaving: dirtyEntityRecords.some(record => isSavingEntityRecord(record.kind, record.name, record.key)) || isActivatingTheme
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
const {
|
||||||
|
setIsSaveViewOpened
|
||||||
|
} = (0,external_wp_data_namespaceObject.useDispatch)(store);
|
||||||
|
const onClose = () => setIsSaveViewOpened(false);
|
||||||
|
if (canvasMode === 'view') {
|
||||||
|
return isSaveViewOpen ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Modal, {
|
||||||
|
className: "edit-site-save-panel__modal",
|
||||||
|
onRequestClose: onClose,
|
||||||
|
__experimentalHideHeader: true,
|
||||||
|
contentLabel: (0,external_wp_i18n_namespaceObject.__)('Save site, content, and template changes'),
|
||||||
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(_EntitiesSavedStates, {
|
||||||
|
onClose: onClose
|
||||||
|
})
|
||||||
|
}) : null;
|
||||||
|
}
|
||||||
|
const activateSaveEnabled = isPreviewingTheme() || isDirty;
|
||||||
|
const disabled = isSaving || !activateSaveEnabled;
|
||||||
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(NavigableRegion, {
|
||||||
|
className: dist_clsx('edit-site-layout__actions', {
|
||||||
|
'is-entity-save-view-open': isSaveViewOpen
|
||||||
|
}),
|
||||||
|
ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Save panel'),
|
||||||
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
|
className: dist_clsx('edit-site-editor__toggle-save-panel', {
|
||||||
|
'screen-reader-text': isSaveViewOpen
|
||||||
|
}),
|
||||||
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
||||||
|
variant: "secondary",
|
||||||
|
className: "edit-site-editor__toggle-save-panel-button",
|
||||||
|
onClick: () => setIsSaveViewOpened(true),
|
||||||
|
"aria-haspopup": "dialog",
|
||||||
|
disabled: disabled,
|
||||||
|
__experimentalIsFocusable: true,
|
||||||
|
children: (0,external_wp_i18n_namespaceObject.__)('Open save panel')
|
||||||
|
})
|
||||||
|
}), isSaveViewOpen && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(_EntitiesSavedStates, {
|
||||||
|
onClose: onClose,
|
||||||
|
renderDialog: true
|
||||||
|
})]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/download.js
|
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/download.js
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
@ -24216,6 +24224,7 @@ function useEditorTitle() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Editor,
|
Editor,
|
||||||
BackButton
|
BackButton
|
||||||
@ -24350,6 +24359,7 @@ function EditSiteEditor({
|
|||||||
customSaveButton: _isPreviewingTheme && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SaveButton, {
|
customSaveButton: _isPreviewingTheme && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SaveButton, {
|
||||||
size: "compact"
|
size: "compact"
|
||||||
}),
|
}),
|
||||||
|
customSavePanel: _isPreviewingTheme && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SavePanel, {}),
|
||||||
forceDisableBlockTools: !hasDefaultEditorCanvasView,
|
forceDisableBlockTools: !hasDefaultEditorCanvasView,
|
||||||
title: !hasDefaultEditorCanvasView ? getEditorCanvasContainerTitle(editorCanvasView) : undefined,
|
title: !hasDefaultEditorCanvasView ? getEditorCanvasContainerTitle(editorCanvasView) : undefined,
|
||||||
iframeProps: iframeProps,
|
iframeProps: iframeProps,
|
||||||
@ -39859,6 +39869,7 @@ function useLayoutAreas() {
|
|||||||
isCustom,
|
isCustom,
|
||||||
canvas
|
canvas
|
||||||
} = params;
|
} = params;
|
||||||
|
const hasEditCanvasMode = canvas === 'edit';
|
||||||
useRedirectOldPaths();
|
useRedirectOldPaths();
|
||||||
|
|
||||||
// Page list
|
// Page list
|
||||||
@ -39873,10 +39884,10 @@ function useLayoutAreas() {
|
|||||||
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataViewsSidebarContent, {})
|
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataViewsSidebarContent, {})
|
||||||
}),
|
}),
|
||||||
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PagePages, {}),
|
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PagePages, {}),
|
||||||
preview: (isListLayout || canvas === 'edit') && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: (isListLayout || hasEditCanvasMode) && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: canvas === 'edit' ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
mobile: hasEditCanvasMode ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PagePages, {})
|
}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PagePages, {})
|
||||||
},
|
},
|
||||||
@ -39896,10 +39907,12 @@ function useLayoutAreas() {
|
|||||||
backPath: {}
|
backPath: {}
|
||||||
}),
|
}),
|
||||||
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageTemplates, {}),
|
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageTemplates, {}),
|
||||||
preview: (isListLayout || canvas === 'edit') && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: (isListLayout || hasEditCanvasMode) && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageTemplates, {})
|
mobile: hasEditCanvasMode ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
|
isLoading: isSiteEditorLoading
|
||||||
|
}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PageTemplates, {})
|
||||||
},
|
},
|
||||||
widths: {
|
widths: {
|
||||||
content: isListLayout ? 380 : undefined
|
content: isListLayout ? 380 : undefined
|
||||||
@ -39916,8 +39929,10 @@ function useLayoutAreas() {
|
|||||||
backPath: {}
|
backPath: {}
|
||||||
}),
|
}),
|
||||||
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataviewsPatterns, {}),
|
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataviewsPatterns, {}),
|
||||||
mobile: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataviewsPatterns, {}),
|
mobile: hasEditCanvasMode ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
preview: canvas === 'edit' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
isLoading: isSiteEditorLoading
|
||||||
|
}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(DataviewsPatterns, {}),
|
||||||
|
preview: hasEditCanvasMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -39935,7 +39950,7 @@ function useLayoutAreas() {
|
|||||||
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: canvas === 'edit' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
mobile: hasEditCanvasMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -39956,7 +39971,7 @@ function useLayoutAreas() {
|
|||||||
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: canvas === 'edit' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
mobile: hasEditCanvasMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -39971,7 +39986,7 @@ function useLayoutAreas() {
|
|||||||
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: canvas === 'edit' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
mobile: hasEditCanvasMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -39986,7 +40001,7 @@ function useLayoutAreas() {
|
|||||||
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
preview: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
}),
|
}),
|
||||||
mobile: canvas === 'edit' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
mobile: hasEditCanvasMode && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(EditSiteEditor, {
|
||||||
isLoading: isSiteEditorLoading
|
isLoading: isSiteEditorLoading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -40312,7 +40327,7 @@ function Layout() {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_commands_namespaceObject.CommandMenu, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(register, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(global, {}), fullResizer, /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_commands_namespaceObject.CommandMenu, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(register, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(global, {}), fullResizer, /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
...navigateRegionsProps,
|
...navigateRegionsProps,
|
||||||
ref: navigateRegionsProps.ref,
|
ref: navigateRegionsProps.ref,
|
||||||
className: dist_clsx('edit-site-layout', navigateRegionsProps.className, {
|
className: dist_clsx('edit-site-layout', navigateRegionsProps.className, {
|
||||||
@ -40321,7 +40336,7 @@ function Layout() {
|
|||||||
'has-fixed-toolbar': hasFixedToolbar,
|
'has-fixed-toolbar': hasFixedToolbar,
|
||||||
'is-block-toolbar-visible': hasBlockSelected
|
'is-block-toolbar-visible': hasBlockSelected
|
||||||
}),
|
}),
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", {
|
||||||
className: "edit-site-layout__content",
|
className: "edit-site-layout__content",
|
||||||
children: [(!isMobileViewport || !areas.mobile) && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(layout_NavigableRegion, {
|
children: [(!isMobileViewport || !areas.mobile) && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(layout_NavigableRegion, {
|
||||||
ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Navigation'),
|
ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Navigation'),
|
||||||
@ -40351,7 +40366,7 @@ function Layout() {
|
|||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SidebarContent, {
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SidebarContent, {
|
||||||
routeKey: routeKey,
|
routeKey: routeKey,
|
||||||
children: areas.sidebar
|
children: areas.sidebar
|
||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SaveHub, {})]
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SaveHub, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SavePanel, {})]
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_editor_namespaceObject.EditorSnackbars, {}), isMobileViewport && areas.mobile && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_editor_namespaceObject.EditorSnackbars, {}), isMobileViewport && areas.mobile && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
@ -40388,7 +40403,7 @@ function Layout() {
|
|||||||
})
|
})
|
||||||
})]
|
})]
|
||||||
})]
|
})]
|
||||||
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SavePanel, {})]
|
})
|
||||||
})]
|
})]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
2
wp-includes/js/dist/edit-site.min.js
vendored
2
wp-includes/js/dist/edit-site.min.js
vendored
File diff suppressed because one or more lines are too long
79
wp-includes/js/dist/editor.js
vendored
79
wp-includes/js/dist/editor.js
vendored
@ -1912,18 +1912,21 @@ const CONTENT = 'content';
|
|||||||
getValue({
|
getValue({
|
||||||
registry,
|
registry,
|
||||||
clientId,
|
clientId,
|
||||||
|
context,
|
||||||
attributeName
|
attributeName
|
||||||
}) {
|
}) {
|
||||||
|
const patternOverridesContent = context['pattern/overrides'];
|
||||||
const {
|
const {
|
||||||
getBlockAttributes,
|
getBlockAttributes
|
||||||
getBlockParentsByBlockName
|
|
||||||
} = registry.select(external_wp_blockEditor_namespaceObject.store);
|
} = registry.select(external_wp_blockEditor_namespaceObject.store);
|
||||||
const currentBlockAttributes = getBlockAttributes(clientId);
|
const currentBlockAttributes = getBlockAttributes(clientId);
|
||||||
const [patternClientId] = getBlockParentsByBlockName(clientId, 'core/block', true);
|
if (!patternOverridesContent) {
|
||||||
const overridableValue = getBlockAttributes(patternClientId)?.[CONTENT]?.[currentBlockAttributes?.metadata?.name]?.[attributeName];
|
return currentBlockAttributes[attributeName];
|
||||||
|
}
|
||||||
|
const overridableValue = patternOverridesContent?.[currentBlockAttributes?.metadata?.name]?.[attributeName];
|
||||||
|
|
||||||
// If there is no pattern client ID, or it is not overwritten, return the default value.
|
// If there is no pattern client ID, or it is not overwritten, return the default value.
|
||||||
if (!patternClientId || overridableValue === undefined) {
|
if (overridableValue === undefined) {
|
||||||
return currentBlockAttributes[attributeName];
|
return currentBlockAttributes[attributeName];
|
||||||
}
|
}
|
||||||
return overridableValue === '' ? undefined : overridableValue;
|
return overridableValue === '' ? undefined : overridableValue;
|
||||||
@ -6328,6 +6331,8 @@ const external_wp_patterns_namespaceObject = window["wp"]["patterns"];
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
@ -6357,7 +6362,7 @@ const withPatternOverrideControls = (0,external_wp_compose_namespaceObject.creat
|
|||||||
...props
|
...props
|
||||||
}), isSupportedBlock && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternOverridesBlockControls, {})]
|
}), isSupportedBlock && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternOverridesBlockControls, {})]
|
||||||
});
|
});
|
||||||
});
|
}, 'withPatternOverrideControls');
|
||||||
|
|
||||||
// Split into a separate component to avoid a store subscription
|
// Split into a separate component to avoid a store subscription
|
||||||
// on every block.
|
// on every block.
|
||||||
@ -23860,13 +23865,25 @@ function SavePublishPanels({
|
|||||||
} = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
|
} = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
|
||||||
const {
|
const {
|
||||||
publishSidebarOpened,
|
publishSidebarOpened,
|
||||||
hasNonPostEntityChanges,
|
isPublishable,
|
||||||
hasPostMetaChanges
|
isDirty,
|
||||||
} = (0,external_wp_data_namespaceObject.useSelect)(select => ({
|
hasOtherEntitiesChanges
|
||||||
publishSidebarOpened: select(store_store).isPublishSidebarOpened(),
|
} = (0,external_wp_data_namespaceObject.useSelect)(select => {
|
||||||
hasNonPostEntityChanges: select(store_store).hasNonPostEntityChanges(),
|
const {
|
||||||
hasPostMetaChanges: unlock(select(store_store)).hasPostMetaChanges()
|
isPublishSidebarOpened,
|
||||||
}), []);
|
isEditedPostPublishable,
|
||||||
|
isCurrentPostPublished,
|
||||||
|
isEditedPostDirty,
|
||||||
|
hasNonPostEntityChanges
|
||||||
|
} = select(store_store);
|
||||||
|
const _hasOtherEntitiesChanges = hasNonPostEntityChanges() || unlock(select(store_store)).hasPostMetaChanges();
|
||||||
|
return {
|
||||||
|
publishSidebarOpened: isPublishSidebarOpened(),
|
||||||
|
isPublishable: !isCurrentPostPublished() && isEditedPostPublishable(),
|
||||||
|
isDirty: _hasOtherEntitiesChanges || isEditedPostDirty(),
|
||||||
|
hasOtherEntitiesChanges: _hasOtherEntitiesChanges
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
const openEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(() => setEntitiesSavedStatesCallback(true), []);
|
const openEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(() => setEntitiesSavedStatesCallback(true), []);
|
||||||
|
|
||||||
// It is ok for these components to be unmounted when not in visual use.
|
// It is ok for these components to be unmounted when not in visual use.
|
||||||
@ -23879,18 +23896,7 @@ function SavePublishPanels({
|
|||||||
PrePublishExtension: plugin_pre_publish_panel.Slot,
|
PrePublishExtension: plugin_pre_publish_panel.Slot,
|
||||||
PostPublishExtension: plugin_post_publish_panel.Slot
|
PostPublishExtension: plugin_post_publish_panel.Slot
|
||||||
});
|
});
|
||||||
} else if (hasNonPostEntityChanges || hasPostMetaChanges) {
|
} else if (isPublishable && !hasOtherEntitiesChanges) {
|
||||||
unmountableContent = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
|
||||||
className: "editor-layout__toggle-entities-saved-states-panel",
|
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
|
||||||
variant: "secondary",
|
|
||||||
className: "editor-layout__toggle-entities-saved-states-panel-button",
|
|
||||||
onClick: openEntitiesSavedStates,
|
|
||||||
"aria-expanded": false,
|
|
||||||
children: (0,external_wp_i18n_namespaceObject.__)('Open save panel')
|
|
||||||
})
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
unmountableContent = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
unmountableContent = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
className: "editor-layout__toggle-publish-panel",
|
className: "editor-layout__toggle-publish-panel",
|
||||||
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
||||||
@ -23901,6 +23907,19 @@ function SavePublishPanels({
|
|||||||
children: (0,external_wp_i18n_namespaceObject.__)('Open publish panel')
|
children: (0,external_wp_i18n_namespaceObject.__)('Open publish panel')
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
unmountableContent = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
|
||||||
|
className: "editor-layout__toggle-entities-saved-states-panel",
|
||||||
|
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
|
||||||
|
variant: "secondary",
|
||||||
|
className: "editor-layout__toggle-entities-saved-states-panel-button",
|
||||||
|
onClick: openEntitiesSavedStates,
|
||||||
|
"aria-expanded": false,
|
||||||
|
disabled: !isDirty,
|
||||||
|
__experimentalIsFocusable: true,
|
||||||
|
children: (0,external_wp_i18n_namespaceObject.__)('Open save panel')
|
||||||
|
})
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Since EntitiesSavedStates controls its own panel, we can keep it
|
// Since EntitiesSavedStates controls its own panel, we can keep it
|
||||||
@ -24708,6 +24727,7 @@ function EditorInterface({
|
|||||||
disableIframe,
|
disableIframe,
|
||||||
autoFocus,
|
autoFocus,
|
||||||
customSaveButton,
|
customSaveButton,
|
||||||
|
customSavePanel,
|
||||||
forceDisableBlockTools,
|
forceDisableBlockTools,
|
||||||
title,
|
title,
|
||||||
iframeProps
|
iframeProps
|
||||||
@ -24811,7 +24831,7 @@ function EditorInterface({
|
|||||||
footer: !isPreviewMode && !isDistractionFree && isLargeViewport && showBlockBreadcrumbs && isRichEditingEnabled && blockEditorMode !== 'zoom-out' && mode === 'visual' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockBreadcrumb, {
|
footer: !isPreviewMode && !isDistractionFree && isLargeViewport && showBlockBreadcrumbs && isRichEditingEnabled && blockEditorMode !== 'zoom-out' && mode === 'visual' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockBreadcrumb, {
|
||||||
rootLabelText: documentLabel
|
rootLabelText: documentLabel
|
||||||
}),
|
}),
|
||||||
actions: !isPreviewMode ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SavePublishPanels, {
|
actions: !isPreviewMode ? customSavePanel || /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(SavePublishPanels, {
|
||||||
closeEntitiesSavedStates: closeEntitiesSavedStates,
|
closeEntitiesSavedStates: closeEntitiesSavedStates,
|
||||||
isEntitiesSavedStatesOpen: entitiesSavedStatesCallback,
|
isEntitiesSavedStatesOpen: entitiesSavedStatesCallback,
|
||||||
setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback,
|
setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback,
|
||||||
@ -25122,7 +25142,7 @@ const trashPostAction = {
|
|||||||
(0,external_wp_i18n_namespaceObject.__)('"%s" moved to trash.'), getItemTitle(items[0]));
|
(0,external_wp_i18n_namespaceObject.__)('"%s" moved to trash.'), getItemTitle(items[0]));
|
||||||
} else if (items[0].type === 'page') {
|
} else if (items[0].type === 'page') {
|
||||||
successMessage = (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: The number of items. */
|
successMessage = (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: The number of items. */
|
||||||
(0,external_wp_i18n_namespaceObject.__)('%s items moved to trash.'), items.length);
|
(0,external_wp_i18n_namespaceObject._n)('%s item moved to trash.', '%s items moved to trash.', items.length), items.length);
|
||||||
} else {
|
} else {
|
||||||
successMessage = (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: The number of posts. */
|
successMessage = (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: The number of posts. */
|
||||||
(0,external_wp_i18n_namespaceObject.__)('%s items move to trash.'), items.length);
|
(0,external_wp_i18n_namespaceObject.__)('%s items move to trash.'), items.length);
|
||||||
@ -27565,6 +27585,7 @@ function Editor({
|
|||||||
className,
|
className,
|
||||||
styles,
|
styles,
|
||||||
customSaveButton,
|
customSaveButton,
|
||||||
|
customSavePanel,
|
||||||
forceDisableBlockTools,
|
forceDisableBlockTools,
|
||||||
title,
|
title,
|
||||||
iframeProps,
|
iframeProps,
|
||||||
@ -27586,6 +27607,9 @@ function Editor({
|
|||||||
hasLoadedPost: hasFinishedResolution('getEntityRecord', ['postType', postType, postId])
|
hasLoadedPost: hasFinishedResolution('getEntityRecord', ['postType', postType, postId])
|
||||||
};
|
};
|
||||||
}, [postType, postId, templateId]);
|
}, [postType, postId, templateId]);
|
||||||
|
if (!post) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(ExperimentalEditorProvider, {
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(ExperimentalEditorProvider, {
|
||||||
post: post,
|
post: post,
|
||||||
__unstableTemplate: template,
|
__unstableTemplate: template,
|
||||||
@ -27600,6 +27624,7 @@ function Editor({
|
|||||||
styles: styles,
|
styles: styles,
|
||||||
enableRegionNavigation: enableRegionNavigation,
|
enableRegionNavigation: enableRegionNavigation,
|
||||||
customSaveButton: customSaveButton,
|
customSaveButton: customSaveButton,
|
||||||
|
customSavePanel: customSavePanel,
|
||||||
forceDisableBlockTools: forceDisableBlockTools,
|
forceDisableBlockTools: forceDisableBlockTools,
|
||||||
title: title,
|
title: title,
|
||||||
iframeProps: iframeProps
|
iframeProps: iframeProps
|
||||||
|
4
wp-includes/js/dist/editor.min.js
vendored
4
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
10
wp-includes/js/dist/patterns.js
vendored
10
wp-includes/js/dist/patterns.js
vendored
@ -1420,7 +1420,7 @@ function PatternOverridesControls({
|
|||||||
const [showDisallowOverridesModal, setShowDisallowOverridesModal] = (0,external_wp_element_namespaceObject.useState)(false);
|
const [showDisallowOverridesModal, setShowDisallowOverridesModal] = (0,external_wp_element_namespaceObject.useState)(false);
|
||||||
const hasName = !!attributes.metadata?.name;
|
const hasName = !!attributes.metadata?.name;
|
||||||
const defaultBindings = attributes.metadata?.bindings?.__default;
|
const defaultBindings = attributes.metadata?.bindings?.__default;
|
||||||
const allowOverrides = hasName && defaultBindings?.source === PATTERN_OVERRIDES_BINDING_SOURCE;
|
const hasOverrides = hasName && defaultBindings?.source === PATTERN_OVERRIDES_BINDING_SOURCE;
|
||||||
const isConnectedToOtherSources = defaultBindings?.source && defaultBindings.source !== PATTERN_OVERRIDES_BINDING_SOURCE;
|
const isConnectedToOtherSources = defaultBindings?.source && defaultBindings.source !== PATTERN_OVERRIDES_BINDING_SOURCE;
|
||||||
function updateBindings(isChecked, customName) {
|
function updateBindings(isChecked, customName) {
|
||||||
const prevBindings = attributes?.metadata?.bindings;
|
const prevBindings = attributes?.metadata?.bindings;
|
||||||
@ -1442,7 +1442,7 @@ function PatternOverridesControls({
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const hasUnsupportedImageAttributes = blockName === 'core/image' && (!!attributes.caption?.length || !!attributes.href?.length);
|
const hasUnsupportedImageAttributes = blockName === 'core/image' && (!!attributes.caption?.length || !!attributes.href?.length);
|
||||||
const helpText = hasUnsupportedImageAttributes ? (0,external_wp_i18n_namespaceObject.__)(`Overrides currently don't support image captions or links. Remove the caption or link first before enabling overrides.`) : (0,external_wp_i18n_namespaceObject.__)('Allow changes to this block throughout instances of this pattern.');
|
const helpText = !hasOverrides && hasUnsupportedImageAttributes ? (0,external_wp_i18n_namespaceObject.__)(`Overrides currently don't support image captions or links. Remove the caption or link first before enabling overrides.`) : (0,external_wp_i18n_namespaceObject.__)('Allow changes to this block throughout instances of this pattern.');
|
||||||
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
|
||||||
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InspectorControls, {
|
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InspectorControls, {
|
||||||
group: "advanced",
|
group: "advanced",
|
||||||
@ -1456,15 +1456,15 @@ function PatternOverridesControls({
|
|||||||
variant: "secondary",
|
variant: "secondary",
|
||||||
"aria-haspopup": "dialog",
|
"aria-haspopup": "dialog",
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
if (allowOverrides) {
|
if (hasOverrides) {
|
||||||
setShowDisallowOverridesModal(true);
|
setShowDisallowOverridesModal(true);
|
||||||
} else {
|
} else {
|
||||||
setShowAllowOverridesModal(true);
|
setShowAllowOverridesModal(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
disabled: hasUnsupportedImageAttributes,
|
disabled: !hasOverrides && hasUnsupportedImageAttributes,
|
||||||
__experimentalIsFocusable: true,
|
__experimentalIsFocusable: true,
|
||||||
children: allowOverrides ? (0,external_wp_i18n_namespaceObject.__)('Disable overrides') : (0,external_wp_i18n_namespaceObject.__)('Enable overrides')
|
children: hasOverrides ? (0,external_wp_i18n_namespaceObject.__)('Disable overrides') : (0,external_wp_i18n_namespaceObject.__)('Enable overrides')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}), showAllowOverridesModal && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AllowOverridesModal, {
|
}), showAllowOverridesModal && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AllowOverridesModal, {
|
||||||
|
2
wp-includes/js/dist/patterns.min.js
vendored
2
wp-includes/js/dist/patterns.min.js
vendored
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58616';
|
$wp_version = '6.7-alpha-58617';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user