mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-29 23:09:44 +01:00
1044eb572a
Updated WordPress packages necessary for releasing WordPress 6.1 Beta 1: - @wordpress/a11y@3.17.1 - @wordpress/annotations@2.17.2 - @wordpress/api-fetch@6.14.1 - @wordpress/autop@3.17.1 - @wordpress/babel-plugin-import-jsx-pragma@4.0.1 - @wordpress/babel-plugin-makepot@5.1.1 - @wordpress/babel-preset-default@7.1.1 - @wordpress/base-styles@4.8.1 - @wordpress/blob@3.17.1 - @wordpress/block-directory@3.15.2 - @wordpress/block-editor@10.0.2 - @wordpress/block-library@7.14.2 - @wordpress/block-serialization-default-parser@4.17.1 - @wordpress/block-serialization-spec-parser@4.17.1 - @wordpress/blocks@11.16.2 - @wordpress/browserslist-config@5.0.1 - @wordpress/components@21.0.2 - @wordpress/compose@5.15.2 - @wordpress/core-data@5.0.2 - @wordpress/create-block-tutorial-template@2.5.1 - @wordpress/create-block@4.1.1 - @wordpress/custom-templated-path-webpack-plugin@2.1.3 - @wordpress/customize-widgets@3.14.2 - @wordpress/data-controls@2.17.2 - @wordpress/data@7.1.2 - @wordpress/date@4.17.1 - @wordpress/dependency-extraction-webpack-plugin@4.0.2 - @wordpress/deprecated@3.17.1 - @wordpress/docgen@1.26.1 - @wordpress/dom-ready@3.17.1 - @wordpress/dom@3.17.2 - @wordpress/e2e-test-utils@8.1.1 - @wordpress/e2e-tests@5.1.2 - @wordpress/edit-post@6.14.2 - @wordpress/edit-site@4.14.2 - @wordpress/edit-widgets@4.14.2 - @wordpress/editor@12.16.2 - @wordpress/element@4.15.1 - @wordpress/env@5.2.1 - @wordpress/escape-html@2.17.1 - @wordpress/eslint-plugin@13.1.1 - @wordpress/format-library@3.15.2 - @wordpress/hooks@3.17.1 - @wordpress/html-entities@3.17.1 - @wordpress/i18n@4.17.1 - @wordpress/icons@9.8.1 - @wordpress/interface@4.16.2 - @wordpress/is-shallow-equal@4.17.1 - @wordpress/jest-console@6.0.1 - @wordpress/jest-preset-default@9.0.1 - @wordpress/jest-puppeteer-axe@5.0.1 - @wordpress/keyboard-shortcuts@3.15.2 - @wordpress/keycodes@3.17.1 - @wordpress/lazy-import@1.4.3 - @wordpress/library-export-default-webpack-plugin@2.3.3 - @wordpress/list-reusable-blocks@3.15.2 - @wordpress/media-utils@4.8.1 - @wordpress/notices@3.17.2 - @wordpress/npm-package-json-lint-config@4.2.1 - @wordpress/nux@5.15.2 - @wordpress/plugins@4.15.2 - @wordpress/postcss-plugins-preset@4.1.1 - @wordpress/postcss-themes@5.0.1 - @wordpress/preferences-persistence@1.9.1 - @wordpress/preferences@2.9.2 - @wordpress/prettier-config@2.0.1 - @wordpress/primitives@3.15.1 - @wordpress/priority-queue@2.17.2 - @wordpress/project-management-automation@1.16.1 - @wordpress/react-i18n@3.15.1 - @wordpress/readable-js-assets-webpack-plugin@2.0.1 - @wordpress/redux-routine@4.17.1 - @wordpress/reusable-blocks@3.15.2 - @wordpress/rich-text@5.15.2 - @wordpress/scripts@24.1.2 - @wordpress/server-side-render@3.15.2 - @wordpress/shortcode@3.17.1 - @wordpress/style-engine@1.0.1 - @wordpress/stylelint-config@21.0.1 - @wordpress/token-list@2.17.1 - @wordpress/url@3.18.1 - @wordpress/viewport@4.15.2 - @wordpress/warning@2.17.1 - @wordpress/widgets@2.15.2 - @wordpress/wordcount@3.17.1 Props bernhard-reiter, cbravobernal, czapla, oandregal, isabel_brison, andrewserong, mciampini. See #56467. Built from https://develop.svn.wordpress.org/trunk@54257 git-svn-id: http://core.svn.wordpress.org/trunk@53816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
4.1 KiB
JavaScript
2 lines
4.1 KiB
JavaScript
/*! This file is auto-generated */
|
|
!function(){"use strict";var t={d:function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{ALT:function(){return j},BACKSPACE:function(){return d},COMMAND:function(){return T},CTRL:function(){return L},DELETE:function(){return b},DOWN:function(){return E},END:function(){return w},ENTER:function(){return h},ESCAPE:function(){return g},F10:function(){return P},HOME:function(){return A},LEFT:function(){return C},PAGEDOWN:function(){return v},PAGEUP:function(){return y},RIGHT:function(){return S},SHIFT:function(){return R},SPACE:function(){return m},TAB:function(){return p},UP:function(){return O},ZERO:function(){return _},displayShortcut:function(){return x},displayShortcutList:function(){return k},isAppleOS:function(){return s},isKeyboardEvent:function(){return V},modifiers:function(){return M},rawShortcut:function(){return Z},shortcutAriaLabel:function(){return D}});var e=function(){return e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},e.apply(this,arguments)};Object.create;Object.create;function r(t){return t.toLowerCase()}var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],i=/[^A-Z0-9]+/gi;function u(t,n,e){return n instanceof RegExp?t.replace(n,e):n.reduce((function(t,n){return t.replace(n,e)}),t)}function c(t){return function(t){return t.charAt(0).toUpperCase()+t.substr(1)}(t.toLowerCase())}function f(t,n){return void 0===n&&(n={}),function(t,n){void 0===n&&(n={});for(var e=n.splitRegexp,c=void 0===e?o:e,f=n.stripRegexp,a=void 0===f?i:f,l=n.transform,s=void 0===l?r:l,d=n.delimiter,p=void 0===d?" ":d,h=u(u(t,c,"$1\0$2"),a,"\0"),g=0,m=h.length;"\0"===h.charAt(g);)g++;for(;"\0"===h.charAt(m-1);)m--;return h.slice(g,m).split("\0").map(s).join(p)}(t,e({delimiter:" ",transform:c},n))}var a=window.lodash,l=window.wp.i18n;function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t){if("undefined"==typeof window)return!1;t=window}const{platform:n}=t.navigator;return-1!==n.indexOf("Mac")||(0,a.includes)(["iPad","iPhone"],n)}const d=8,p=9,h=13,g=27,m=32,y=33,v=34,w=35,A=36,C=37,O=38,S=39,E=40,b=46,P=121,j="alt",L="ctrl",T="meta",R="shift",_=48,M={primary:t=>t()?[T]:[L],primaryShift:t=>t()?[R,T]:[L,R],primaryAlt:t=>t()?[j,T]:[L,j],secondary:t=>t()?[R,j,T]:[L,R,j],access:t=>t()?[L,j]:[R,j],ctrl:()=>[L],alt:()=>[j],ctrlShift:()=>[L,R],shift:()=>[R],shiftAlt:()=>[R,j],undefined:()=>[]},Z=(0,a.mapValues)(M,(t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return[...t(e),n.toLowerCase()].join("+")})),k=(0,a.mapValues)(M,(t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const r=e(),o={[j]:r?"⌥":"Alt",[L]:r?"⌃":"Ctrl",[T]:"⌘",[R]:r?"⇧":"Shift"},i=t(e).reduce(((t,n)=>{const e=(0,a.get)(o,n,n);return r?[...t,e]:[...t,e,"+"]}),[]),u=f(n,{stripRegexp:/[^A-Z0-9`,\.]/gi});return[...i,u]})),x=(0,a.mapValues)(k,(t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return t(n,e).join("")})),D=(0,a.mapValues)(M,(t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const r=e(),o={[R]:"Shift",[T]:r?"Command":"Control",[L]:"Control",[j]:r?"Option":"Alt",",":(0,l.__)("Comma"),".":(0,l.__)("Period"),"`":(0,l.__)("Backtick")};return[...t(e),n].map((t=>f((0,a.get)(o,t,t)))).join(r?" ":" + ")}));function N(t){return[j,L,T,R].filter((n=>t[`${n}Key`]))}const V=(0,a.mapValues)(M,(t=>function(n,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;const o=t(r),i=N(n),u=o.filter((t=>!i.includes(t))),c=i.filter((t=>!o.includes(t)));if(u.length>0||c.length>0)return!1;let f=n.key.toLowerCase();return e?(n.altKey&&1===e.length&&(f=String.fromCharCode(n.keyCode).toLowerCase()),"del"===e&&(e="delete"),f===e.toLowerCase()):(0,a.includes)(o,f)}));(window.wp=window.wp||{}).keycodes=n}(); |