mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 15:16:29 +01:00
2ca623e7aa
The following package versions were changed: @wordpress/annotations: 1.12.1 -> 1.12.2 @wordpress/block-directory: 1.5.5 -> 1.5.6 @wordpress/block-editor: 3.7.5 -> 3.7.6 @wordpress/block-library: 2.14.5 -> 2.14.6 @wordpress/blocks: 6.12.1 -> 6.12.2 @wordpress/components: 9.2.4 -> 9.2.5 @wordpress/core-data: 2.12.1 -> 2.12.2 @wordpress/data: 4.14.1 -> 4.14.2 @wordpress/data-controls: 1.8.1 -> 1.8.2 @wordpress/edit-post: 3.13.6 -> 3.13.7 @wordpress/editor: 9.12.5 -> 9.12.6 @wordpress/format-library: 1.14.5 -> 1.14.6 @wordpress/keyboard-shortcuts: 1.1.1 -> 1.1.2 @wordpress/list-reusable-blocks: 1.13.4 -> 1.13.5 @wordpress/notices: 2.0.1 -> 2.0.2 @wordpress/nux: 3.12.4 -> 3.12.5 @wordpress/rich-text: 3.12.1 -> 3.12.2 @wordpress/server-side-render: 1.8.4 -> 1.8.5 @wordpress/viewport: 2.13.1 -> 2.13.2 Description of editor changes included in the RC available at https://github.com/WordPress/gutenberg/pull/21083. Props itsjonq, mcsf, aduth, jorgefilipecosta. Merges [43274] to the 5.4 branch. Fixes: #49688. Built from https://develop.svn.wordpress.org/branches/5.4@47499 git-svn-id: http://core.svn.wordpress.org/branches/5.4@47274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
/*! This file is auto-generated */
|
||
this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=446)}({260:function(e,t){!function(){e.exports=this.wp.domReady}()},446:function(e,t,n){"use strict";n.r(t);var r=n(260),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document.querySelector("body");return n&&n.appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&i("polite"),null===t&&i("assertive")};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); |