From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/js/admin-bar.js | 36 +- wp-includes/js/admin-bar.min.js | 2 +- wp-includes/js/customize-loader.js | 2 +- wp-includes/js/customize-selective-refresh.js | 8 +- wp-includes/js/customize-selective-refresh.min.js | 2 +- wp-includes/js/dist/annotations.js | 304 +- wp-includes/js/dist/annotations.min.js | 2 +- wp-includes/js/dist/block-directory.js | 546 +- wp-includes/js/dist/block-directory.min.js | 2 +- wp-includes/js/dist/block-editor.js | 33117 +++++----- wp-includes/js/dist/block-editor.min.js | 24 +- wp-includes/js/dist/block-library.js | 26165 ++++---- wp-includes/js/dist/block-library.min.js | 14 +- wp-includes/js/dist/blocks.js | 759 +- wp-includes/js/dist/blocks.min.js | 4 +- wp-includes/js/dist/commands.js | 579 +- wp-includes/js/dist/commands.min.js | 7 +- wp-includes/js/dist/components.js | 23166 +++---- wp-includes/js/dist/components.min.js | 26 +- wp-includes/js/dist/compose.js | 189 +- wp-includes/js/dist/compose.min.js | 2 +- wp-includes/js/dist/core-commands.js | 447 +- wp-includes/js/dist/core-commands.min.js | 2 +- wp-includes/js/dist/core-data.js | 747 +- wp-includes/js/dist/core-data.min.js | 2 +- wp-includes/js/dist/customize-widgets.js | 1408 +- wp-includes/js/dist/customize-widgets.min.js | 7 +- wp-includes/js/dist/data.js | 96 +- wp-includes/js/dist/data.min.js | 4 +- wp-includes/js/dist/dom.js | 68 +- wp-includes/js/dist/edit-post.js | 8571 +-- wp-includes/js/dist/edit-post.min.js | 7 +- wp-includes/js/dist/edit-site.js | 60916 +++++++++---------- wp-includes/js/dist/edit-site.min.js | 30 +- wp-includes/js/dist/edit-widgets.js | 2138 +- wp-includes/js/dist/edit-widgets.min.js | 7 +- wp-includes/js/dist/editor.js | 30134 ++++++--- wp-includes/js/dist/editor.min.js | 14 +- wp-includes/js/dist/element.js | 4 +- wp-includes/js/dist/format-library.js | 971 +- wp-includes/js/dist/format-library.min.js | 2 +- wp-includes/js/dist/html-entities.js | 2 + wp-includes/js/dist/interactivity-router.asset.php | 2 +- wp-includes/js/dist/interactivity-router.js | 144 +- .../js/dist/interactivity-router.min.asset.php | 2 +- wp-includes/js/dist/interactivity-router.min.js | 2 +- wp-includes/js/dist/interactivity.js | 576 +- wp-includes/js/dist/interactivity.min.js | 2 +- wp-includes/js/dist/keyboard-shortcuts.js | 353 +- wp-includes/js/dist/keyboard-shortcuts.min.js | 2 +- wp-includes/js/dist/list-reusable-blocks.js | 67 +- wp-includes/js/dist/list-reusable-blocks.min.js | 2 +- wp-includes/js/dist/nux.js | 350 +- wp-includes/js/dist/nux.min.js | 2 +- wp-includes/js/dist/patterns.js | 966 +- wp-includes/js/dist/patterns.min.js | 2 +- wp-includes/js/dist/plugins.js | 71 +- wp-includes/js/dist/plugins.min.js | 2 +- wp-includes/js/dist/preferences-persistence.js | 12 +- wp-includes/js/dist/preferences-persistence.min.js | 2 +- wp-includes/js/dist/preferences.js | 254 +- wp-includes/js/dist/preferences.min.js | 2 +- wp-includes/js/dist/primitives.js | 125 +- wp-includes/js/dist/primitives.min.js | 7 +- wp-includes/js/dist/private-apis.js | 2 +- wp-includes/js/dist/private-apis.min.js | 2 +- wp-includes/js/dist/redux-routine.js | 4 +- wp-includes/js/dist/redux-routine.min.js | 2 +- wp-includes/js/dist/reusable-blocks.js | 174 +- wp-includes/js/dist/reusable-blocks.min.js | 2 +- wp-includes/js/dist/rich-text.js | 1255 +- wp-includes/js/dist/rich-text.min.js | 2 +- wp-includes/js/dist/router.js | 84 +- wp-includes/js/dist/router.min.js | 2 +- wp-includes/js/dist/server-side-render.js | 113 +- wp-includes/js/dist/server-side-render.min.js | 2 +- wp-includes/js/dist/style-engine.js | 46 +- wp-includes/js/dist/style-engine.min.js | 2 +- wp-includes/js/dist/url.js | 11 +- wp-includes/js/dist/url.min.js | 2 +- wp-includes/js/dist/vendor/react-dom.js | 29965 +-------- wp-includes/js/dist/vendor/react-dom.min.js | 12 +- .../js/dist/vendor/react-dom.min.js.LICENSE.txt | 19 + wp-includes/js/dist/vendor/react-jsx-runtime.js | 78 + .../js/dist/vendor/react-jsx-runtime.min.js | 2 + .../vendor/react-jsx-runtime.min.js.LICENSE.txt | 9 + wp-includes/js/dist/vendor/react.js | 3421 +- wp-includes/js/dist/vendor/react.min.js | 12 +- .../js/dist/vendor/react.min.js.LICENSE.txt | 9 + wp-includes/js/dist/viewport.js | 8 +- wp-includes/js/dist/viewport.min.js | 2 +- wp-includes/js/dist/warning.js | 3 +- wp-includes/js/dist/widgets.js | 616 +- wp-includes/js/dist/widgets.min.js | 7 +- wp-includes/js/jquery/ui/accordion.js | 19 +- wp-includes/js/jquery/ui/accordion.min.js | 10 +- wp-includes/js/jquery/ui/autocomplete.js | 20 +- wp-includes/js/jquery/ui/autocomplete.min.js | 10 +- wp-includes/js/jquery/ui/button.js | 17 +- wp-includes/js/jquery/ui/button.min.js | 10 +- wp-includes/js/jquery/ui/checkboxradio.js | 18 +- wp-includes/js/jquery/ui/checkboxradio.min.js | 10 +- wp-includes/js/jquery/ui/controlgroup.js | 18 +- wp-includes/js/jquery/ui/controlgroup.min.js | 10 +- wp-includes/js/jquery/ui/core.js | 130 +- wp-includes/js/jquery/ui/core.min.js | 104 +- wp-includes/js/jquery/ui/datepicker.js | 21 +- wp-includes/js/jquery/ui/datepicker.min.js | 10 +- wp-includes/js/jquery/ui/dialog.js | 37 +- wp-includes/js/jquery/ui/dialog.min.js | 10 +- wp-includes/js/jquery/ui/draggable.js | 24 +- wp-includes/js/jquery/ui/draggable.min.js | 10 +- wp-includes/js/jquery/ui/droppable.js | 17 +- wp-includes/js/jquery/ui/droppable.min.js | 10 +- wp-includes/js/jquery/ui/effect-blind.js | 15 +- wp-includes/js/jquery/ui/effect-blind.min.js | 10 +- wp-includes/js/jquery/ui/effect-bounce.js | 15 +- wp-includes/js/jquery/ui/effect-bounce.min.js | 10 +- wp-includes/js/jquery/ui/effect-clip.js | 15 +- wp-includes/js/jquery/ui/effect-clip.min.js | 10 +- wp-includes/js/jquery/ui/effect-drop.js | 15 +- wp-includes/js/jquery/ui/effect-drop.min.js | 10 +- wp-includes/js/jquery/ui/effect-explode.js | 15 +- wp-includes/js/jquery/ui/effect-explode.min.js | 10 +- wp-includes/js/jquery/ui/effect-fade.js | 15 +- wp-includes/js/jquery/ui/effect-fade.min.js | 10 +- wp-includes/js/jquery/ui/effect-fold.js | 15 +- wp-includes/js/jquery/ui/effect-fold.min.js | 10 +- wp-includes/js/jquery/ui/effect-highlight.js | 15 +- wp-includes/js/jquery/ui/effect-highlight.min.js | 10 +- wp-includes/js/jquery/ui/effect-puff.js | 15 +- wp-includes/js/jquery/ui/effect-puff.min.js | 10 +- wp-includes/js/jquery/ui/effect-pulsate.js | 15 +- wp-includes/js/jquery/ui/effect-pulsate.min.js | 10 +- wp-includes/js/jquery/ui/effect-scale.js | 15 +- wp-includes/js/jquery/ui/effect-scale.min.js | 10 +- wp-includes/js/jquery/ui/effect-shake.js | 15 +- wp-includes/js/jquery/ui/effect-shake.min.js | 10 +- wp-includes/js/jquery/ui/effect-size.js | 15 +- wp-includes/js/jquery/ui/effect-size.min.js | 10 +- wp-includes/js/jquery/ui/effect-slide.js | 15 +- wp-includes/js/jquery/ui/effect-slide.min.js | 10 +- wp-includes/js/jquery/ui/effect-transfer.js | 15 +- wp-includes/js/jquery/ui/effect-transfer.min.js | 10 +- wp-includes/js/jquery/ui/effect.js | 748 +- wp-includes/js/jquery/ui/effect.min.js | 20 +- wp-includes/js/jquery/ui/menu.js | 21 +- wp-includes/js/jquery/ui/menu.min.js | 10 +- wp-includes/js/jquery/ui/mouse.js | 16 +- wp-includes/js/jquery/ui/mouse.min.js | 10 +- wp-includes/js/jquery/ui/progressbar.js | 17 +- wp-includes/js/jquery/ui/progressbar.min.js | 10 +- wp-includes/js/jquery/ui/resizable.js | 28 +- wp-includes/js/jquery/ui/resizable.min.js | 10 +- wp-includes/js/jquery/ui/selectable.js | 17 +- wp-includes/js/jquery/ui/selectable.min.js | 10 +- wp-includes/js/jquery/ui/selectmenu.js | 34 +- wp-includes/js/jquery/ui/selectmenu.min.js | 10 +- wp-includes/js/jquery/ui/slider.js | 18 +- wp-includes/js/jquery/ui/slider.min.js | 10 +- wp-includes/js/jquery/ui/sortable.js | 20 +- wp-includes/js/jquery/ui/sortable.min.js | 10 +- wp-includes/js/jquery/ui/spinner.js | 19 +- wp-includes/js/jquery/ui/spinner.min.js | 10 +- wp-includes/js/jquery/ui/tabs.js | 24 +- wp-includes/js/jquery/ui/tabs.min.js | 10 +- wp-includes/js/jquery/ui/tooltip.js | 20 +- wp-includes/js/jquery/ui/tooltip.min.js | 10 +- wp-includes/js/media-views.js | 4 +- wp-includes/js/plupload/handlers.js | 4 +- wp-includes/js/plupload/handlers.min.js | 2 +- wp-includes/js/thickbox/thickbox.js | 6 +- wp-includes/js/tinymce/plugins/wplink/plugin.js | 14 +- .../js/tinymce/plugins/wplink/plugin.min.js | 2 +- wp-includes/js/tinymce/wp-tinymce.js | 2 +- wp-includes/js/wp-ajax-response.js | 10 +- wp-includes/js/wp-ajax-response.min.js | 2 +- wp-includes/js/wp-backbone.js | 2 +- wp-includes/js/wplink.js | 2 + wp-includes/js/wplink.min.js | 2 +- 180 files changed, 102608 insertions(+), 128794 deletions(-) create mode 100644 wp-includes/js/dist/vendor/react-dom.min.js.LICENSE.txt create mode 100644 wp-includes/js/dist/vendor/react-jsx-runtime.js create mode 100644 wp-includes/js/dist/vendor/react-jsx-runtime.min.js create mode 100644 wp-includes/js/dist/vendor/react-jsx-runtime.min.js.LICENSE.txt create mode 100644 wp-includes/js/dist/vendor/react.min.js.LICENSE.txt (limited to 'wp-includes/js') diff --git a/wp-includes/js/admin-bar.js b/wp-includes/js/admin-bar.js index 01b175d..eb18c61 100644 --- a/wp-includes/js/admin-bar.js +++ b/wp-includes/js/admin-bar.js @@ -95,11 +95,6 @@ } ); } - if ( skipLink ) { - // Focus the target of skip link after pressing Enter. - skipLink.addEventListener( 'keydown', focusTargetAfterEnter ); - } - if ( shortlink ) { shortlink.addEventListener( 'click', clickShortlink ); } @@ -174,36 +169,7 @@ } /** - * Focus the target of skip link after pressing Enter. - * - * @since 5.3.1 - * - * @param {Event} event The keydown event. - */ - function focusTargetAfterEnter( event ) { - var id, userAgent; - - if ( event.which !== 13 ) { - return; - } - - id = event.target.getAttribute( 'href' ); - userAgent = navigator.userAgent.toLowerCase(); - - if ( userAgent.indexOf( 'applewebkit' ) > -1 && id && id.charAt( 0 ) === '#' ) { - setTimeout( function() { - var target = document.getElementById( id.replace( '#', '' ) ); - - if ( target ) { - target.setAttribute( 'tabIndex', '0' ); - target.focus(); - } - }, 100 ); - } - } - - /** - * Toogle hover class for mobile devices. + * Toggle hover class for mobile devices. * * @since 5.3.1 * diff --git a/wp-includes/js/admin-bar.min.js b/wp-includes/js/admin-bar.min.js index 7beb6df..b01d377 100644 --- a/wp-includes/js/admin-bar.min.js +++ b/wp-includes/js/admin-bar.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -!function(l,u,d){function f(e){27===e.which&&(e=w(e.target,".menupop"))&&(e.querySelector(".menupop > .ab-item").focus(),y(e,"hover"))}function p(e){var t;13!==e.which||e.ctrlKey||e.shiftKey||w(e.target,".ab-sub-wrapper")||(t=w(e.target,".menupop"))&&(e.preventDefault(),(a(t,"hover")?y:g)(t,"hover"))}function h(e){var t;13===e.which&&(t=e.target.getAttribute("href"),-1 .ab-item").focus(),y(e,"hover"))}function p(e){var t;13!==e.which||e.ctrlKey||e.shiftKey||E(e.target,".ab-sub-wrapper")||(t=E(e.target,".menupop"))&&(e.preventDefault(),(a(t,"hover")?y:v)(t,"hover"))}function m(e,t){!E(t.target,".ab-sub-wrapper")&&(t.preventDefault(),t=E(t.target,".menupop"))&&(a(t,"hover")?y:(b(e),v))(t,"hover")}function f(e){var t,r=e.target.parentNode;if(t=r?r.querySelector(".shortlink-input"):t)return e.preventDefault&&e.preventDefault(),e.returnValue=!1,v(r,"selected"),t.focus(),t.select(),!(t.onblur=function(){y(r,"selected")})}function h(){if("sessionStorage"in l)try{for(var e in sessionStorage)-1",{class:"customize-partial-edit-shortcut "+this.getEditShortcutClassName()}),e=o("