Editor: 2nd package updates for 6.4 Beta 1.
Round 2 of package updates for 6.4. Beta 1 which includes disabling the rendering of the Font Library in Core.
The full list of changes are found here 641b696cd6
.
Follow-up to [56710], [56713].
Props mikachan, mmaattiiaass, mamaduka, desrosj, ockham, hellofromTonya.
See #59411.
Built from https://develop.svn.wordpress.org/trunk@56728
git-svn-id: http://core.svn.wordpress.org/trunk@56240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7df8ec6846
commit
d02e84860f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -301,7 +301,7 @@ button.wp-block-navigation-item__content{
|
|||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:auto;
|
||||
padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-left, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-right, 2rem);
|
||||
padding:clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20em) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem);
|
||||
z-index:100000;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -301,7 +301,7 @@ button.wp-block-navigation-item__content{
|
|||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:auto;
|
||||
padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-right, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-left, 2rem);
|
||||
padding:clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20em);
|
||||
z-index:100000;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -238,6 +238,10 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
|||
'name' => 'Reddit',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"></path></svg>',
|
||||
),
|
||||
'share' => array(
|
||||
'name' => 'Share Icon',
|
||||
'icon' => '<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"/></svg>',
|
||||
),
|
||||
'skype' => array(
|
||||
'name' => 'Skype',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"></path></svg>',
|
||||
|
@ -294,6 +298,10 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
|||
'name' => 'WhatsApp',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z"></path></svg>',
|
||||
),
|
||||
'x' => array(
|
||||
'name' => 'X',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg>',
|
||||
),
|
||||
'yelp' => array(
|
||||
'name' => 'Yelp',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"></path></svg>',
|
||||
|
@ -302,10 +310,6 @@ function block_core_social_link_services( $service = '', $field = '' ) {
|
|||
'name' => 'YouTube',
|
||||
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"></path></svg>',
|
||||
),
|
||||
'share' => array(
|
||||
'name' => 'Share Icon',
|
||||
'icon' => '<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"/></svg>',
|
||||
),
|
||||
);
|
||||
|
||||
if ( ! empty( $service )
|
||||
|
|
|
@ -227,6 +227,10 @@
|
|||
background-color:#25d366;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
||||
background-color:#000;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
||||
background-color:#d32422;
|
||||
color:#fff;
|
||||
|
@ -361,6 +365,9 @@
|
|||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
||||
color:#3499cd;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
||||
color:#000;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
||||
color:#d32422;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -227,6 +227,10 @@
|
|||
background-color:#25d366;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
||||
background-color:#000;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
||||
background-color:#d32422;
|
||||
color:#fff;
|
||||
|
@ -361,6 +365,9 @@
|
|||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
||||
color:#3499cd;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
||||
color:#000;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
||||
color:#d32422;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3714,6 +3714,7 @@
|
|||
grid-gap:32px;
|
||||
display:grid;
|
||||
grid-template-columns:repeat(1, 1fr);
|
||||
margin-bottom:16px;
|
||||
}
|
||||
@media (min-width:1080px){
|
||||
.block-editor-block-patterns-explorer .block-editor-block-patterns-list{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3714,6 +3714,7 @@
|
|||
grid-gap:32px;
|
||||
display:grid;
|
||||
grid-template-columns:repeat(1, 1fr);
|
||||
margin-bottom:16px;
|
||||
}
|
||||
@media (min-width:1080px){
|
||||
.block-editor-block-patterns-explorer .block-editor-block-patterns-list{
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1882,7 +1882,7 @@ button.wp-block-navigation-item__content{
|
|||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:auto;
|
||||
padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-left, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-right, 2rem);
|
||||
padding:clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20em) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem);
|
||||
z-index:100000;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
|
@ -2912,6 +2912,10 @@ ul.wp-block-rss.is-grid li{
|
|||
background-color:#25d366;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
||||
background-color:#000;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
||||
background-color:#d32422;
|
||||
color:#fff;
|
||||
|
@ -3046,6 +3050,9 @@ ul.wp-block-rss.is-grid li{
|
|||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
||||
color:#3499cd;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
||||
color:#000;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
||||
color:#d32422;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1882,7 +1882,7 @@ button.wp-block-navigation-item__content{
|
|||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:auto;
|
||||
padding:var(--wp--style--root--padding-top, 2rem) var(--wp--style--root--padding-right, 2rem) var(--wp--style--root--padding-bottom, 2rem) var(--wp--style--root--padding-left, 2rem);
|
||||
padding:clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20em);
|
||||
z-index:100000;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
|
@ -2912,6 +2912,10 @@ ul.wp-block-rss.is-grid li{
|
|||
background-color:#25d366;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x{
|
||||
background-color:#000;
|
||||
color:#fff;
|
||||
}
|
||||
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{
|
||||
background-color:#d32422;
|
||||
color:#fff;
|
||||
|
@ -3046,6 +3050,9 @@ ul.wp-block-rss.is-grid li{
|
|||
.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{
|
||||
color:#3499cd;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-x{
|
||||
color:#000;
|
||||
}
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{
|
||||
color:#d32422;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27471,7 +27471,7 @@ function Pagination({
|
|||
// translators: %s: Total number of patterns.
|
||||
(0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
// translators: %s: Total number of patterns.
|
||||
(0,external_wp_i18n_namespaceObject._n)('%s item', '%s items', totalItems), totalItems)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
|
||||
(0,external_wp_i18n_namespaceObject._n)('%s item', '%s items', totalItems), totalItems)), numPages > 1 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
|
||||
expanded: false,
|
||||
spacing: 3,
|
||||
justify: "flex-start",
|
||||
|
@ -27636,7 +27636,7 @@ function BlockPatternList({
|
|||
onHover,
|
||||
onClickPattern,
|
||||
orientation,
|
||||
label = (0,external_wp_i18n_namespaceObject.__)('Block Patterns'),
|
||||
label = (0,external_wp_i18n_namespaceObject.__)('Block patterns'),
|
||||
showTitlesAsTooltip,
|
||||
pagingProps
|
||||
}, ref) {
|
||||
|
@ -27662,7 +27662,7 @@ function BlockPatternList({
|
|||
}) : (0,external_wp_element_namespaceObject.createElement)(BlockPatternPlaceholder, {
|
||||
key: pattern.name
|
||||
});
|
||||
}), pagingProps && pagingProps.numPages > 1 && (0,external_wp_element_namespaceObject.createElement)(Pagination, {
|
||||
}), pagingProps && (0,external_wp_element_namespaceObject.createElement)(Pagination, {
|
||||
...pagingProps
|
||||
}));
|
||||
}
|
||||
|
@ -28154,14 +28154,14 @@ function PatternList({
|
|||
}, (0,external_wp_element_namespaceObject.createElement)(PatternsListHeader, {
|
||||
filterValue: searchValue,
|
||||
filteredBlockPatternsLength: filteredBlockPatterns.length
|
||||
}), (0,external_wp_element_namespaceObject.createElement)(inserter_listbox, null, hasItems && (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
|
||||
}), (0,external_wp_element_namespaceObject.createElement)(inserter_listbox, null, hasItems && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
|
||||
shownPatterns: pagingProps.categoryPatternsAsyncList,
|
||||
blockPatterns: pagingProps.categoryPatterns,
|
||||
onClickPattern: onClickPattern,
|
||||
isDraggable: false
|
||||
}), pagingProps.numPages > 1 && (0,external_wp_element_namespaceObject.createElement)(Pagination, {
|
||||
}), (0,external_wp_element_namespaceObject.createElement)(Pagination, {
|
||||
...pagingProps
|
||||
})));
|
||||
}))));
|
||||
}
|
||||
/* harmony default export */ var patterns_list = (PatternList);
|
||||
|
||||
|
@ -28431,7 +28431,7 @@ function BlockPatternsSyncFilter({
|
|||
const block_patterns_tab_noop = () => {};
|
||||
const allPatternsCategory = {
|
||||
name: 'allPatterns',
|
||||
label: (0,external_wp_i18n_namespaceObject.__)('All Patterns')
|
||||
label: (0,external_wp_i18n_namespaceObject.__)('All patterns')
|
||||
};
|
||||
const myPatternsCategory = {
|
||||
name: 'myPatterns',
|
||||
|
@ -29525,7 +29525,7 @@ function InserterSearchResults({
|
|||
isDraggable: isDraggable
|
||||
}));
|
||||
const patternsUI = !!filteredBlockPatterns.length && (0,external_wp_element_namespaceObject.createElement)(panel, {
|
||||
title: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Block Patterns'))
|
||||
title: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Block patterns'))
|
||||
}, (0,external_wp_element_namespaceObject.createElement)("div", {
|
||||
className: "block-editor-inserter__quick-inserter-patterns"
|
||||
}, (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -49764,6 +49764,21 @@ const WhatsAppIcon = () => (0,external_wp_element_namespaceObject.createElement)
|
|||
d: "M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z"
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/x.js
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
const XIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
|
||||
width: "24",
|
||||
height: "24",
|
||||
viewBox: "0 0 24 24",
|
||||
version: "1.1"
|
||||
}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
|
||||
d: "M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z"
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/yelp.js
|
||||
|
||||
/**
|
||||
|
@ -50095,6 +50110,14 @@ const social_link_variations_variations = [{
|
|||
},
|
||||
title: 'WhatsApp',
|
||||
icon: WhatsAppIcon
|
||||
}, {
|
||||
name: 'x',
|
||||
attributes: {
|
||||
service: 'x'
|
||||
},
|
||||
keywords: ['twitter'],
|
||||
title: 'X',
|
||||
icon: XIcon
|
||||
}, {
|
||||
name: 'yelp',
|
||||
attributes: {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4343,7 +4343,7 @@ function getQueriedItemsUncached(state, query) {
|
|||
const field = fields[f].split('.');
|
||||
let value = item;
|
||||
field.forEach(fieldName => {
|
||||
value = value[fieldName];
|
||||
value = value?.[fieldName];
|
||||
});
|
||||
setNestedValue(filteredItem, field, value);
|
||||
}
|
||||
|
@ -4610,7 +4610,7 @@ const getEntityRecord = rememo((state, kind, name, key, query) => {
|
|||
const field = fields[f].split('.');
|
||||
let value = item;
|
||||
field.forEach(fieldName => {
|
||||
value = value[fieldName];
|
||||
value = value?.[fieldName];
|
||||
});
|
||||
setNestedValue(filteredItem, field, value);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -641,7 +641,7 @@ async function importReusableBlock(file) {
|
|||
throw new Error('Invalid JSON file');
|
||||
}
|
||||
if (parsedContent.__file !== 'wp_block' || !parsedContent.title || !parsedContent.content || typeof parsedContent.title !== 'string' || typeof parsedContent.content !== 'string' || parsedContent.syncStatus && typeof parsedContent.syncStatus !== 'string') {
|
||||
throw new Error('Invalid Pattern JSON file');
|
||||
throw new Error('Invalid pattern JSON file');
|
||||
}
|
||||
const postType = await external_wp_apiFetch_default()({
|
||||
path: `/wp/v2/types/wp_block`
|
||||
|
@ -712,8 +712,8 @@ function ImportForm({
|
|||
case 'Invalid JSON file':
|
||||
uiMessage = (0,external_wp_i18n_namespaceObject.__)('Invalid JSON file');
|
||||
break;
|
||||
case 'Invalid Pattern JSON file':
|
||||
uiMessage = (0,external_wp_i18n_namespaceObject.__)('Invalid Pattern JSON file');
|
||||
case 'Invalid pattern JSON file':
|
||||
uiMessage = (0,external_wp_i18n_namespaceObject.__)('Invalid pattern JSON file');
|
||||
break;
|
||||
default:
|
||||
uiMessage = (0,external_wp_i18n_namespaceObject.__)('Unknown error');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -155,7 +155,7 @@ const createPatternFromFile = (file, categories) => async ({
|
|||
throw new Error('Invalid JSON file');
|
||||
}
|
||||
if (parsedContent.__file !== 'wp_block' || !parsedContent.title || !parsedContent.content || typeof parsedContent.title !== 'string' || typeof parsedContent.content !== 'string' || parsedContent.syncStatus && typeof parsedContent.syncStatus !== 'string') {
|
||||
throw new Error('Invalid Pattern JSON file');
|
||||
throw new Error('Invalid pattern JSON file');
|
||||
}
|
||||
const pattern = await dispatch.createPattern(parsedContent.title, parsedContent.syncStatus, parsedContent.content, categories);
|
||||
return pattern;
|
||||
|
@ -511,6 +511,7 @@ const symbol = (0,external_wp_element_namespaceObject.createElement)(external_wp
|
|||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Menu control to convert block(s) to a pattern block.
|
||||
*
|
||||
|
@ -573,16 +574,18 @@ function PatternConvertButton({
|
|||
const handleSuccess = ({
|
||||
pattern
|
||||
}) => {
|
||||
const newBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/block', {
|
||||
ref: pattern.id
|
||||
});
|
||||
replaceBlocks(clientIds, newBlock);
|
||||
setEditingPattern(newBlock.clientId, true);
|
||||
createSuccessNotice(pattern.wp_pattern_sync_status === 'unsynced' ? (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
if (pattern.wp_pattern_sync_status !== PATTERN_SYNC_TYPES.unsynced) {
|
||||
const newBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/block', {
|
||||
ref: pattern.id
|
||||
});
|
||||
replaceBlocks(clientIds, newBlock);
|
||||
setEditingPattern(newBlock.clientId, true);
|
||||
}
|
||||
createSuccessNotice(pattern.wp_pattern_sync_status === PATTERN_SYNC_TYPES.unsynced ? (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
// translators: %s: the name the user has given to the pattern.
|
||||
(0,external_wp_i18n_namespaceObject.__)('Unsynced Pattern created: %s'), pattern.title.raw) : (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
(0,external_wp_i18n_namespaceObject.__)('Unsynced pattern created: %s'), pattern.title.raw) : (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
// translators: %s: the name the user has given to the pattern.
|
||||
(0,external_wp_i18n_namespaceObject.__)('Synced Pattern created: %s'), pattern.title.raw), {
|
||||
(0,external_wp_i18n_namespaceObject.__)('Synced pattern created: %s'), pattern.title.raw), {
|
||||
type: 'snackbar',
|
||||
id: 'convert-to-pattern-success'
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -105,7 +105,7 @@ const __experimentalConvertBlocksToReusable = (clientIds, title, syncType) => as
|
|||
wp_pattern_sync_status: syncType
|
||||
} : undefined;
|
||||
const reusableBlock = {
|
||||
title: title || (0,external_wp_i18n_namespaceObject.__)('Untitled Pattern block'),
|
||||
title: title || (0,external_wp_i18n_namespaceObject.__)('Untitled pattern block'),
|
||||
content: (0,external_wp_blocks_namespaceObject.serialize)(registry.select(external_wp_blockEditor_namespaceObject.store).getBlocksByClientId(clientIds)),
|
||||
status: 'publish',
|
||||
meta
|
||||
|
@ -339,9 +339,9 @@ function ReusableBlockConvertButton({
|
|||
await convertBlocksToReusable(clientIds, reusableBlockTitle, syncType);
|
||||
createSuccessNotice(!syncType ? (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
// translators: %s: the name the user has given to the pattern.
|
||||
(0,external_wp_i18n_namespaceObject.__)('Synced Pattern created: %s'), reusableBlockTitle) : (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
(0,external_wp_i18n_namespaceObject.__)('Synced pattern created: %s'), reusableBlockTitle) : (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
// translators: %s: the name the user has given to the pattern.
|
||||
(0,external_wp_i18n_namespaceObject.__)('Unsynced Pattern created: %s'), reusableBlockTitle), {
|
||||
(0,external_wp_i18n_namespaceObject.__)('Unsynced pattern created: %s'), reusableBlockTitle), {
|
||||
type: 'snackbar',
|
||||
id: 'convert-to-reusable-block-success'
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4-alpha-56727';
|
||||
$wp_version = '6.4-alpha-56728';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue