Update OOUI to v0.37.0

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

Bug: T207369
Bug: T232383
Bug: T235585
Bug: T237230
Bug: T245073
Bug: T245576
Bug: T245760
Bug: T245793
Change-Id: I63186c4fe4a38f5d4094e4a2be8ea8c6a0963a65
Depends-On: I149a10c2b289ae3849dca884a8b4da716782b24a
This commit is contained in:
James D. Forrester 2020-02-26 18:25:27 -08:00
parent 2681a587ca
commit d6f2df383d
52 changed files with 144 additions and 91 deletions

View file

@ -135,7 +135,7 @@ For notes on 1.34.x and older releases, see HISTORY.
* pear/mail_mime was upgraded from 1.10.2 to 1.10.6.
* wikimedia/less.php was upgrade from 1.8.0 to 1.8.2
* Updated oojs from 3.0.0 to 3.0.1.
* Updated OOUI from 0.35.1 to 0.36.5.
* Updated OOUI from 0.35.1 to 0.37.0.
* zordius/lightncandy was upgraded from 0.23.0 to 1.2.4
* Updated nikic/php-parser from 3.1.5 to 4.3.0 (dev-only).
* Updated jQuery from v3.3.1 to v3.4.1.

View file

@ -29,7 +29,7 @@
"ext-xml": "*",
"guzzlehttp/guzzle": "6.5.2",
"liuggio/statsd-php-client": "1.0.18",
"oojs/oojs-ui": "0.36.5",
"oojs/oojs-ui": "0.37.0",
"pear/mail": "1.4.1",
"pear/mail_mime": "1.10.6",
"pear/net_smtp": "1.9.0",

View file

@ -237,8 +237,8 @@ oojs-router:
ooui:
type: tar
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.36.5.tgz
integrity: sha384-DAGUJFv4JpfepO4fURWbCZWSnwtk2OjNNbVHH/6lVJ8srtU4wNrTeL/0cVH9OT2E
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.37.0.tgz
integrity: sha384-YAB86eMIPiae5I/0LpdzOYQ7uobp5exSkZ0Pzswyq84rpoGkKgRHD11DL4gnHrUI
dest:
# Main stuff

View file

@ -1,4 +1,30 @@
# OOUI Release History
## v0.37.0 / 2020-02-26
### Breaking changes
* [BREAKING CHANGE] Require oojs v3.0.1, up from v3.0.0 (James D. Forrester)
* [BREAKING CHANGE] icons: Remove 'beaker', deprecated in v0.34.1 (James D. Forrester)
* [BREAKING CHANGE] icons: Remove 'unTrash', deprecated in v0.31.1 (James D. Forrester)
### Deprecating changes
* [DEPRECATING CHANGE] icons: Deprecate 'toc' from 'icons-layout' (Volker E.)
### Styles
* themes: Unify padded PanelLayout padding (Volker E.)
* WikimediaUI theme: Add horizontal padding to MessageDialog buttons (Ed Sanders)
* WikimediaUI theme: Avoid wrapping problems with negative margins (Bartosz Dziewoński)
### Code
* FieldLayout: Break overlong words in labels of inline FieldLayouts (Volker E.)
* FieldLayout: Use 'aria-labelledby' for accessibility of non-form elements (Bartosz Dziewoński)
* FieldLayout: Word-break overlong words in left & right aligned ActionFieldLayouts (Volker E.)
* ComboboxInputWidget: Improve 'ooui-combobox-button-label' message (Bartosz Dziewoński)
* MenuTagMultiselectWidget: Don't call `setValue()` if `config.selected` is empty (Roan Kattouw)
* README.md: Drop DavidDM badges, we use LibraryUpgrader now (James D. Forrester)
* build: Updating npm dependencies (James D. Forrester)
* build: Follow-up bfcfc3eddf3: Drop .travis.yml reference from .gitattributes, never used (James D. Forrester)
* demos: Make selector more specific to avoid breaking widgets (Ed Sanders)
## v0.36.5 / 2020-02-11
### Deprecating changes
* [DEPRECATING CHANGE] icons: Rename 'stripe-' icons to follow convention (Volker E.)

View file

@ -1,4 +1,4 @@
[![npm](https://img.shields.io/npm/v/oojs-ui.svg?style=flat)](https://www.npmjs.com/package/oojs-ui) [![Packagist](https://img.shields.io/packagist/v/oojs/oojs-ui.svg?style=flat)](https://packagist.org/packages/oojs/oojs-ui) [![David](https://img.shields.io/david/dev/wikimedia/oojs-ui.svg?style=flat)](https://david-dm.org/wikimedia/oojs-ui#info=devDependencies)
[![npm](https://img.shields.io/npm/v/oojs-ui.svg?style=flat)](https://www.npmjs.com/package/oojs-ui) [![Packagist](https://img.shields.io/packagist/v/oojs/oojs-ui.svg?style=flat)](https://packagist.org/packages/oojs/oojs-ui)
OOUI
=================

View file

@ -22,5 +22,6 @@
"ooui-selectfile-button-select": "Izaberite datoteku",
"ooui-selectfile-not-supported": "Izbor datoteke nije podržan",
"ooui-selectfile-placeholder": "Datoteka nije izabrana",
"ooui-selectfile-dragdrop-placeholder": "Prevucite datoteku ovdje"
"ooui-selectfile-dragdrop-placeholder": "Prevucite datoteku ovdje",
"ooui-field-help": "Pomoć"
}

View file

@ -26,7 +26,7 @@
"ooui-dialog-process-dismiss": "Ausblenden",
"ooui-dialog-process-retry": "Erneut versuchen",
"ooui-dialog-process-continue": "Fortfahren",
"ooui-combobox-button-label": "Dropdown für die Combobox",
"ooui-combobox-button-label": "Optionen umschalten",
"ooui-selectfile-button-select": "Eine Datei auswählen",
"ooui-selectfile-not-supported": "Die Dateiauswahl wird nicht unterstützt",
"ooui-selectfile-placeholder": "Keine Datei ausgewählt",

View file

@ -8,7 +8,8 @@
"Mirzali",
"Se4598",
"Kumkumuk",
"Orbot707"
"Orbot707",
"1917 Ekim Devrimi"
]
},
"ooui-outline-control-move-down": "Bendi bere cêr",
@ -24,7 +25,7 @@
"ooui-dialog-process-dismiss": "Red ke",
"ooui-dialog-process-retry": "Fına bıcerbın",
"ooui-dialog-process-continue": "Dewam ke",
"ooui-combobox-button-label": "Seba qutiya abiyaye menu",
"ooui-combobox-button-label": "Weçinıtışê Toogle",
"ooui-selectfile-button-select": "Yu dosya weçinê",
"ooui-selectfile-not-supported": "Dosya weçinayış desteg nêvine na",
"ooui-selectfile-placeholder": "Dosya nêwçineya",

View file

@ -26,6 +26,7 @@
"ooui-dialog-process-dismiss": "Απόρριψη",
"ooui-dialog-process-retry": "Δοκιμάστε ξανά",
"ooui-dialog-process-continue": "Συνέχεια",
"ooui-combobox-button-label": "Εναλλαγή επιλογών",
"ooui-selectfile-button-select": "Επιλέξτε ένα αρχείο",
"ooui-selectfile-not-supported": "Επιλογή αρχείου δεν υποστηρίζεται",
"ooui-selectfile-placeholder": "Κανένα αρχείο δεν είναι επιλεγμένο",

View file

@ -29,7 +29,7 @@
"ooui-dialog-process-dismiss": "Dismiss",
"ooui-dialog-process-retry": "Try again",
"ooui-dialog-process-continue": "Continue",
"ooui-combobox-button-label": "Dropdown for combobox",
"ooui-combobox-button-label": "Toggle options",
"ooui-selectfile-button-select": "Select a file",
"ooui-selectfile-not-supported": "File selection is not supported",
"ooui-selectfile-placeholder": "No file is selected",

View file

@ -46,7 +46,7 @@
"ooui-dialog-process-dismiss": "Fermer",
"ooui-dialog-process-retry": "Réessayer",
"ooui-dialog-process-continue": "Continuer",
"ooui-combobox-button-label": "Liste déroulante pour boîte de saisie",
"ooui-combobox-button-label": "Basculer les options",
"ooui-selectfile-button-select": "Sélectionner un fichier",
"ooui-selectfile-not-supported": "La sélection de fichier nest pas prise en charge",
"ooui-selectfile-placeholder": "Aucun fichier sélectionné",

View file

@ -28,7 +28,7 @@
"ooui-dialog-process-dismiss": "לוותר",
"ooui-dialog-process-retry": "לנסות שוב",
"ooui-dialog-process-continue": "המשך",
"ooui-combobox-button-label": "רשימה נפתחת עבור תיבה משולבת",
"ooui-combobox-button-label": "אפשרויות החלפה בין מצבים",
"ooui-selectfile-button-select": "נא לבחור קובץ",
"ooui-selectfile-not-supported": "בחירת קבצים אינה נתמכת",
"ooui-selectfile-placeholder": "לא נבחר שום קובץ",

View file

@ -35,6 +35,7 @@
"ooui-dialog-process-dismiss": "Powrót",
"ooui-dialog-process-retry": "Spróbuj ponownie",
"ooui-dialog-process-continue": "Kontynuuj",
"ooui-combobox-button-label": "Pokaż opcje",
"ooui-selectfile-button-select": "Wybierz plik",
"ooui-selectfile-not-supported": "Wybór pliku nie jest obsługiwany",
"ooui-selectfile-placeholder": "Nie wybrano pliku",

View file

@ -29,7 +29,7 @@
"ooui-dialog-process-dismiss": "Dispensar",
"ooui-dialog-process-retry": "Tente novamente",
"ooui-dialog-process-continue": "Continuar",
"ooui-combobox-button-label": "Expansor da caixa de combinação",
"ooui-combobox-button-label": "Opções de alternância",
"ooui-selectfile-button-select": "Selecionar um arquivo",
"ooui-selectfile-not-supported": "O selecionamento de arquivos não é suportado",
"ooui-selectfile-placeholder": "Nenhum arquivo selecionado",

View file

@ -35,7 +35,7 @@
"ooui-dialog-process-dismiss": "Label for process dialog dismiss error button, visible when describing errors\n{{Identical|Dismiss}}",
"ooui-dialog-process-retry": "Label for process dialog retry action button, visible when describing recoverable errors\n{{Identical|Try again}}",
"ooui-dialog-process-continue": "Label for process dialog retry action button, visible when describing only warnings\n{{Identical|Continue}}",
"ooui-combobox-button-label": "Label for button in combobox input that triggers its dropdown",
"ooui-combobox-button-label": "Label of the button in a combobox that opens the dropdown with preset options. This is a screenreader-only message.",
"ooui-selectfile-button-select": "Label for the file selection widget's select file button",
"ooui-selectfile-not-supported": "Label for the file selection widget if file selection is not supported",
"ooui-selectfile-placeholder": "Label for the file selection widget when no file is currently selected",

View file

@ -17,7 +17,7 @@
"ooui-dialog-process-dismiss": "Scitte",
"ooui-dialog-process-retry": "Pruève arrete",
"ooui-dialog-process-continue": "Condinue",
"ooui-combobox-button-label": "Menu a discese pa liste",
"ooui-combobox-button-label": "Opziune de mitte e live",
"ooui-selectfile-button-select": "Scacchie 'nu file",
"ooui-selectfile-not-supported": "'U scacchiamende d'u file non g'è supportate",
"ooui-selectfile-placeholder": "Nisciune file scacchiate",

View file

@ -30,7 +30,7 @@
"ooui-dialog-process-dismiss": "Kapat",
"ooui-dialog-process-retry": "Tekrar dene",
"ooui-dialog-process-continue": "Devam et",
"ooui-combobox-button-label": "ılan kutu için açılır menü",
"ooui-combobox-button-label": "Seçenekler arasında geçiş yap",
"ooui-selectfile-button-select": "Dosya seç",
"ooui-selectfile-not-supported": "Dosya seçimi desteklenmiyor",
"ooui-selectfile-placeholder": "Herhangi bir dosya seçilmedi",

View file

@ -34,7 +34,7 @@
"ooui-dialog-process-dismiss": "關閉",
"ooui-dialog-process-retry": "再試一次",
"ooui-dialog-process-continue": "繼續",
"ooui-combobox-button-label": "拖曳下拉式方塊",
"ooui-combobox-button-label": "切換選項",
"ooui-selectfile-button-select": "選擇一個檔案",
"ooui-selectfile-not-supported": "無法支援所選擇的檔案",
"ooui-selectfile-placeholder": "尚未選擇檔案",

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-element-hidden {
display: none !important;
@ -404,6 +404,14 @@
clear: both;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-help,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-help,
@ -415,6 +423,13 @@
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
text-align: right;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
display: table;
width: 100%;
@ -634,7 +649,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
bottom: 0;
}
.oo-ui-panelLayout-padded {
padding: 1.25em;
padding: 1em 1em 1.25em;
}
.oo-ui-panelLayout-framed {
border: 1px solid #ccc;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-element-hidden {
display: none !important;
@ -504,6 +504,14 @@
clear: both;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-help,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-help,
@ -515,6 +523,13 @@
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
text-align: right;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
display: table;
width: 100%;
@ -753,7 +768,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
bottom: 0;
}
.oo-ui-panelLayout-padded {
padding: 16px;
padding: 12px 16px 16px;
}
.oo-ui-panelLayout-padded.oo-ui-formLayout > .oo-ui-fieldsetLayout .oo-ui-labelElement-label,
.oo-ui-panelLayout-padded.oo-ui-formLayout > .oo-ui-fieldsetLayout .oo-ui-iconElement-icon {
@ -872,7 +887,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
white-space: normal;
}
.oo-ui-radioOptionWidget:first-child {
margin-top: -4px;
padding-top: 0;
}
.oo-ui-radioOptionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
padding-left: 6px;
@ -1358,7 +1373,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
padding: 4px 0;
}
.oo-ui-checkboxMultiselectInputWidget .oo-ui-fieldLayout:first-child {
margin-top: -4px;
padding-top: 0;
}
.oo-ui-dropdownInputWidget {
@ -1560,7 +1575,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
padding: 4px 0;
}
.oo-ui-radioSelectInputWidget .oo-ui-fieldLayout:first-child {
margin-top: -4px;
padding-top: 0;
}
.oo-ui-textInputWidget {
@ -2057,7 +2072,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
white-space: normal;
}
.oo-ui-checkboxMultioptionWidget:first-child {
margin-top: -4px;
padding-top: 0;
}
.oo-ui-checkboxMultioptionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
padding-left: 6px;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {
@ -539,7 +539,7 @@ OO.ui.msg.messages = {
"ooui-dialog-process-dismiss": "Dismiss",
"ooui-dialog-process-retry": "Try again",
"ooui-dialog-process-continue": "Continue",
"ooui-combobox-button-label": "Dropdown for combobox",
"ooui-combobox-button-label": "Toggle options",
"ooui-selectfile-button-select": "Select a file",
"ooui-selectfile-not-supported": "File selection is not supported",
"ooui-selectfile-placeholder": "No file is selected",
@ -12180,6 +12180,8 @@ OO.ui.ComboBoxInputWidget.prototype.setOptions = function ( options ) {
* @throws {Error} An error is thrown if no widget is specified
*/
OO.ui.FieldLayout = function OoUiFieldLayout( fieldWidget, config ) {
var id;
// Allow passing positional parameters inside the config object
if ( OO.isPlainObject( fieldWidget ) && config === undefined ) {
config = fieldWidget;
@ -12231,6 +12233,12 @@ OO.ui.FieldLayout = function OoUiFieldLayout( fieldWidget, config ) {
this.$help.attr( 'for', this.fieldWidget.getInputId() );
}
} else {
// We can't use `label for` with non-form elements, use `aria-labelledby` instead
id = OO.ui.generateElementId();
this.$label.attr( 'id', id );
this.fieldWidget.$element.attr( 'aria-labelledby', id );
// Forward clicks on the label to the widget, like `label for` would do
this.$label.on( 'click', function () {
this.fieldWidget.simulateLabelClick();
}.bind( this ) );

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon {
display: none;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-tool {
-webkit-box-sizing: border-box;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {
cursor: move;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {
cursor: move;
@ -1025,7 +1025,7 @@
}
.oo-ui-searchWidget-query {
height: 4em;
padding: 0 16px;
padding: 0 12px 16px 16px;
border-bottom: 1px solid #c8ccd1;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
@ -1034,6 +1034,6 @@
}
.oo-ui-searchWidget-results {
top: 4em;
padding: 16px;
padding: 12px 16px 16px;
line-height: 0;
}

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {
@ -5361,7 +5361,7 @@ OO.ui.MenuTagMultiselectWidget = function OoUiMenuTagMultiselectWidget( config )
this.menu.$focusOwner.removeAttr( 'aria-expanded' );
// TagMultiselectWidget already does this, but it doesn't work right because this.menu is
// not yet set up while the parent constructor runs, and #getAllowedValues rejects everything.
if ( config.selected ) {
if ( config.selected.length > 0 ) {
this.setValue( config.selected );
}
};

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-window {
@ -133,6 +133,10 @@
.oo-ui-messageDialog-actions .oo-ui-actionWidget:last-child {
margin-right: 0;
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget .oo-ui-buttonElement-button {
padding-top: 0;
padding-bottom: 0;
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-labelElement .oo-ui-labelElement-label {
line-height: 2.5em;
text-align: center;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:42Z
* Date: 2020-02-27T02:13:00Z
*/
.oo-ui-window {
@ -135,7 +135,8 @@
.oo-ui-messageDialog-actions .oo-ui-actionWidget .oo-ui-buttonElement-button {
border: 0;
border-radius: 0;
padding: 0;
padding-top: 0;
padding-bottom: 0;
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-labelElement .oo-ui-labelElement-label {
line-height: 2.85714286em;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.36.5
* OOUI v0.37.0
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112020 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2020-02-12T17:46:21Z
* Date: 2020-02-27T02:12:37Z
*/
( function ( OO ) {

View file

@ -14,10 +14,6 @@
"attachment": {
"file": "../wikimediaui/images/icons/attachment.svg"
},
"beaker": {
"file": "../wikimediaui/images/icons/labFlask.svg",
"deprecated": "Renamed since v0.34.1, use 'labFlask' instead."
},
"calendar": {
"file": "../wikimediaui/images/icons/calendar.svg"
},

View file

@ -27,10 +27,10 @@
},
"stripeToC": {
"file": {
"ltr": "../wikimediaui/images/icons/toc-ltr.svg",
"rtl": "../wikimediaui/images/icons/toc-rtl.svg"
"ltr": "../wikimediaui/images/icons/listBullet-ltr.svg",
"rtl": "../wikimediaui/images/icons/listBullet-rtl.svg"
},
"deprecated": "Renamed since v0.36.5, use 'toc' instead."
"deprecated": "Deprecated since v0.36.5, use 'listBullet' instead."
},
"textFlow": {
"file": {
@ -46,9 +46,10 @@
},
"toc": {
"file": {
"ltr": "../wikimediaui/images/icons/toc-ltr.svg",
"rtl": "../wikimediaui/images/icons/toc-rtl.svg"
}
"ltr": "../wikimediaui/images/icons/listBullet-ltr.svg",
"rtl": "../wikimediaui/images/icons/listBullet-rtl.svg"
},
"deprecated": "Deprecated since v0.37.0, use 'listBullet' from 'editing-list' pack."
},
"viewCompact": {
"file": "../wikimediaui/images/icons/viewCompact.svg"

View file

@ -50,10 +50,6 @@
"trash": {
"file": "../wikimediaui/images/icons/trash.svg"
},
"unTrash": {
"file": "../wikimediaui/images/icons/restore.svg",
"deprecated": "Changed and renamed since v0.31.1, use 'restore' instead."
},
"pushPin": {
"file": "../wikimediaui/images/icons/pushPin.svg"
},

View file

@ -37,10 +37,6 @@
"attachment": {
"file": "images/icons/attachment.svg"
},
"beaker": {
"file": "images/icons/labFlask.svg",
"deprecated": "Renamed since v0.34.1, use 'labFlask' instead."
},
"calendar": {
"file": "images/icons/calendar.svg"
},

View file

@ -50,10 +50,10 @@
},
"stripeToC": {
"file": {
"ltr": "images/icons/toc-ltr.svg",
"rtl": "images/icons/toc-rtl.svg"
"ltr": "images/icons/listBullet-ltr.svg",
"rtl": "images/icons/listBullet-rtl.svg"
},
"deprecated": "Renamed since v0.36.5, use 'toc' instead."
"deprecated": "Deprecated since v0.36.5, use 'listBullet' instead."
},
"textFlow": {
"file": {
@ -69,8 +69,9 @@
},
"toc": {
"file": {
"ltr": "images/icons/toc-ltr.svg",
"rtl": "images/icons/toc-rtl.svg"
"ltr": "images/icons/listBullet-ltr.svg",
"rtl": "images/icons/listBullet-rtl.svg",
"deprecated": "Deprecated since v0.37.0, use 'listBullet' from 'editing-list' pack."
}
},
"viewCompact": {

View file

@ -77,10 +77,6 @@
"file": "images/icons/trash.svg",
"variants": [ "destructive" ]
},
"unTrash": {
"file": "images/icons/restore.svg",
"deprecated": "Changed and renamed since v0.31.1, use 'restore' instead."
},
"pushPin": {
"file": "images/icons/pushPin.svg"
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path fill="#fff" d="M5 3h14v2H5zm0 6h14v2H5zm0 6h14v2H5zM1 3h2v2H1zm0 6h2v2H1zm0 6h2v2H1z"/></svg>

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path fill="#36c" d="M5 3h14v2H5zm0 6h14v2H5zm0 6h14v2H5zM1 3h2v2H1zm0 6h2v2H1zm0 6h2v2H1z"/></svg>

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path d="M5 3h14v2H5zm0 6h14v2H5zm0 6h14v2H5zM1 3h2v2H1zm0 6h2v2H1zm0 6h2v2H1z"/></svg>

Before

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path fill="#fff" d="M1 3h14v2H1zm0 6h14v2H1zm0 6h14v2H1zM17 3h2v2h-2zm0 6h2v2h-2zm0 6h2v2h-2z"/></svg>

Before

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path fill="#36c" d="M1 3h14v2H1zm0 6h14v2H1zm0 6h14v2H1zM17 3h2v2h-2zm0 6h2v2h-2zm0 6h2v2h-2z"/></svg>

Before

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 B

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title>stripe ToC</title><path d="M1 3h14v2H1zm0 6h14v2H1zm0 6h14v2H1zM17 3h2v2h-2zm0 6h2v2h-2zm0 6h2v2h-2z"/></svg>

Before

Width:  |  Height:  |  Size: 237 B