Update OOUI to v0.47.4

Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.4/History.md

Bug: T341336
Depends-On: Ic8f8baf7575b34e3ec2b458af78460d725a7f7da
Change-Id: I1b667c68c7d70e5d71a45e49890a1abef1b4f227
This commit is contained in:
Anne Tomasevich 2023-07-10 12:20:57 -04:00
parent ea682628e3
commit 35316a369b
20 changed files with 43 additions and 39 deletions

View file

@ -85,7 +85,7 @@ For notes on 1.40.x and older releases, see HISTORY.
* Updated wikimedia/common-passwords from 0.4.0 to 0.5.0.
* Updated wikimedia/minify from 2.3.0 to 2.4.0.
* Updated wikimedia/less.php from 4.0.0 to 4.1.0.
* Updated OOUI from v0.46.3 to v0.47.3.
* Updated OOUI from v0.46.3 to v0.47.4.
* …
===== Changed development-only external libraries =====

View file

@ -38,7 +38,7 @@
"justinrainbow/json-schema": "5.2.12",
"liuggio/statsd-php-client": "1.0.18",
"monolog/monolog": "2.2.0",
"oojs/oojs-ui": "0.47.3",
"oojs/oojs-ui": "0.47.4",
"pear/mail": "1.5.0",
"pear/mail_mime": "1.10.11",
"pear/net_smtp": "1.10.1",

View file

@ -401,10 +401,10 @@ ooui:
license: MIT
homepage: https://www.mediawiki.org/wiki/OOUI
authors: OOUI Team and other contributors
version: 0.47.3
version: 0.47.4
type: tar
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.47.3.tgz
integrity: sha384-rV2Lkzx3s9vNT4N3eW4lcpJuS8r28VVxkRCJ+4d5t3EO4++4+xPvggWWQGLaQCuA
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.47.4.tgz
integrity: sha384-X7KdEGKwsFlPwYB+qIDo1+OxHjqSys7vMhLdWnK30+VKvuKjtNabHccqD/S91v0w
dest:
# Main stuff

View file

@ -1,5 +1,9 @@
# OOUI Release History
## v0.47.4 / 2023-07-10
### Code
* Fix TypeError in OptionWidget (Thiemo Kreuz)
## v0.47.3 / 2023-07-06
### Code
* Revert "TextInputWidget: Use Custom Elements for #onElementAttach support" (Roan Kattouw)

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-element-hidden {
display: none !important;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-element-hidden {
display: none !important;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {
@ -6813,7 +6813,7 @@ OO.ui.OptionWidget.prototype.setSelected = function ( state ) {
this.selected = !!state;
this.$element
.toggleClass( 'oo-ui-optionWidget-selected', state )
.attr( 'aria-selected', state.toString() );
.attr( 'aria-selected', this.selected.toString() );
if ( state && this.constructor.static.scrollIntoViewOnSelect ) {
this.scrollElementIntoView();
}
@ -7698,7 +7698,7 @@ OO.ui.SelectWidget.prototype.unselectItem = function ( unselectedItem ) {
// Unselect all
this.selectItem();
} else if ( unselectedItem.isSelected() ) {
unselectedItem.setSelected();
unselectedItem.setSelected( false );
// Other items might still be selected in multiselect mode
this.emit( 'select', this.findSelectedItems() );
}
@ -9006,7 +9006,7 @@ OO.ui.RadioOptionWidget.prototype.setSelected = function ( state ) {
this.radio.setSelected( state );
this.$element
.attr( 'aria-checked', state.toString() )
.attr( 'aria-checked', this.selected.toString() )
.removeAttr( 'aria-selected' );
return this;

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-icon-arrowNext {
background-image: /* @embed */ url(themes/wikimediaui/images/icons/arrowNext-ltr.svg);

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon {
display: none;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-tool {
box-sizing: border-box;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ),
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ),
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-window {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:48Z
* Date: 2023-07-10T16:09:15Z
*/
.oo-ui-window {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.3
* OOUI v0.47.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2023-07-06T18:04:41Z
* Date: 2023-07-10T16:09:12Z
*/
( function ( OO ) {