From dfdf72045fe472c76391441cf17fb6e5ec0582f8 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Mon, 11 May 2015 18:30:52 +0100 Subject: [PATCH] Update OOjs UI to v0.11.2 Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.2/History.md Change-Id: I0188c5b80958d9a6a3d063292df724f507b7287f --- composer.json | 2 +- resources/lib/oojs-ui/i18n/ku-latn.json | 13 + .../oojs-ui/oojs-ui-mediawiki-noimages.css | 196 ++++++++----- resources/lib/oojs-ui/oojs-ui-mediawiki.js | 4 +- resources/lib/oojs-ui/oojs-ui.js | 276 +++++++++++++----- .../images/icons/arched-arrow-ltr-invert.png | Bin 304 -> 351 bytes .../images/icons/arched-arrow-ltr-invert.svg | 12 +- .../images/icons/arched-arrow-ltr.png | Bin 268 -> 309 bytes .../images/icons/arched-arrow-ltr.svg | 12 +- .../images/icons/arched-arrow-rtl-invert.png | Bin 295 -> 331 bytes .../images/icons/arched-arrow-rtl-invert.svg | 12 +- .../images/icons/arched-arrow-rtl.png | Bin 260 -> 286 bytes .../images/icons/arched-arrow-rtl.svg | 12 +- .../images/icons/link-ltr-invert.png | Bin 470 -> 467 bytes .../images/icons/link-ltr-invert.svg | 19 +- .../mediawiki/images/icons/link-ltr.png | Bin 421 -> 423 bytes .../mediawiki/images/icons/link-ltr.svg | 19 +- .../mediawiki/images/icons/menu-invert.png | Bin 185 -> 181 bytes .../mediawiki/images/icons/menu-invert.svg | 16 +- .../themes/mediawiki/images/icons/menu.png | Bin 172 -> 170 bytes .../themes/mediawiki/images/icons/menu.svg | 16 +- .../images/indicators/arrow-down-invert.png | Bin 202 -> 184 bytes .../images/indicators/arrow-down-invert.svg | 14 +- .../images/indicators/arrow-down.png | Bin 182 -> 173 bytes .../images/indicators/arrow-down.svg | 14 +- .../images/indicators/arrow-ltr-invert.png | Bin 159 -> 150 bytes .../images/indicators/arrow-ltr-invert.svg | 14 +- .../mediawiki/images/indicators/arrow-ltr.png | Bin 153 -> 143 bytes .../mediawiki/images/indicators/arrow-ltr.svg | 14 +- .../images/indicators/arrow-rtl-invert.png | Bin 184 -> 148 bytes .../images/indicators/arrow-rtl-invert.svg | 14 +- .../mediawiki/images/indicators/arrow-rtl.png | Bin 178 -> 142 bytes .../mediawiki/images/indicators/arrow-rtl.svg | 14 +- .../images/indicators/arrow-up-invert.png | Bin 197 -> 137 bytes .../images/indicators/arrow-up-invert.svg | 14 +- .../mediawiki/images/indicators/arrow-up.png | Bin 180 -> 132 bytes .../mediawiki/images/indicators/arrow-up.svg | 14 +- 37 files changed, 472 insertions(+), 249 deletions(-) create mode 100644 resources/lib/oojs-ui/i18n/ku-latn.json diff --git a/composer.json b/composer.json index 6dc72e73b5..bc0dacbd49 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "ext-iconv": "*", "leafo/lessphp": "0.5.0", "liuggio/statsd-php-client": "1.0.12", - "oojs/oojs-ui": "0.11.1", + "oojs/oojs-ui": "0.11.2", "php": ">=5.3.3", "psr/log": "1.0.0", "wikimedia/cdb": "1.0.1", diff --git a/resources/lib/oojs-ui/i18n/ku-latn.json b/resources/lib/oojs-ui/i18n/ku-latn.json new file mode 100644 index 0000000000..be9a8abd09 --- /dev/null +++ b/resources/lib/oojs-ui/i18n/ku-latn.json @@ -0,0 +1,13 @@ +{ + "@metadata": { + "authors": [ + "George Animal" + ] + }, + "ooui-toolgroup-expand": "Bêhtir", + "ooui-toolgroup-collapse": "Kêmtir", + "ooui-dialog-message-accept": "Baş e", + "ooui-dialog-message-reject": "Betal bike", + "ooui-dialog-process-retry": "Dîsa hewl bide", + "ooui-dialog-process-continue": "Bidomîne" +} diff --git a/resources/lib/oojs-ui/oojs-ui-mediawiki-noimages.css b/resources/lib/oojs-ui/oojs-ui-mediawiki-noimages.css index 297739d223..a3566c61bb 100644 --- a/resources/lib/oojs-ui/oojs-ui-mediawiki-noimages.css +++ b/resources/lib/oojs-ui/oojs-ui-mediawiki-noimages.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.11.1 + * OOjs UI v0.11.2 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2015-05-05T00:40:57Z + * Date: 2015-05-11T17:24:34Z */ @-webkit-keyframes oo-ui-progressBarWidget-slide { from { @@ -731,16 +731,20 @@ margin-left: 1.25em; } .oo-ui-toolGroupTool > .oo-ui-popupToolGroup { + border: 0; + border-radius: 0; margin: 0; } +.oo-ui-toolGroupTool > .oo-ui-toolGroup { + border-right: none; +} .oo-ui-toolGroupTool > .oo-ui-popupToolGroup > .oo-ui-popupToolGroup-handle { - height: 1.875em; + height: 2.5em; padding: 0.3125em; } .oo-ui-toolGroupTool > .oo-ui-popupToolGroup > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon { - height: 1.875em; + height: 2.5em; width: 1.875em; - opacity: 0.8; } .oo-ui-toolGroupTool > .oo-ui-popupToolGroup.oo-ui-labelElement > .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label { line-height: 2.1em; @@ -748,7 +752,8 @@ .oo-ui-toolGroup { display: inline-block; vertical-align: middle; - margin: 0.375em; + border-radius: 0; + border-right: 1px solid #dddddd; } .oo-ui-toolGroup-empty { display: none; @@ -763,12 +768,12 @@ .oo-ui-toolbar-narrow .oo-ui-toolGroup + .oo-ui-toolGroup { margin-left: 0; } +.oo-ui-toolGroup .oo-ui-toolGroup .oo-ui-widget-enabled { + border-right: none !important; +} .oo-ui-toolGroup.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title { color: #000000; } -.oo-ui-toolGroup.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-accel { - color: #888888; -} .oo-ui-barToolGroup > .oo-ui-iconElement-icon, .oo-ui-barToolGroup > .oo-ui-labelElement-label { display: none; @@ -798,35 +803,50 @@ } .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link { height: 1.875em; - padding: 0.3125em; + padding: 0.625em; } .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-iconElement-icon { height: 1.875em; width: 1.875em; - opacity: 0.8; } .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-tool-title { line-height: 2.1em; + padding: 0 0.4em; +} +.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover { + border-color: rgba(0, 0, 0, 0.2); + background-color: #eeeeee; } .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-tool-active.oo-ui-widget-enabled { + border-color: rgba(0, 0, 0, 0.2); + box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07); + background-color: #e5e5e5; +} +.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-tool-active.oo-ui-widget-enabled:hover { background-color: #eeeeee; } +.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-tool-active.oo-ui-widget-enabled + .oo-ui-tool-active.oo-ui-widget-enabled { + border-left-color: rgba(0, 0, 0, 0.1); +} .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-disabled > .oo-ui-tool-link .oo-ui-iconElement-icon { opacity: 0.2; } -.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link .oo-ui-iconElement-icon { - opacity: 0.8; +.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled .oo-ui-iconElement-icon { + opacity: 0.7; } .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover > .oo-ui-tool-link .oo-ui-iconElement-icon { - opacity: 1; + opacity: 0.9; +} +.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:active { + background-color: #e7e7e7; } .oo-ui-barToolGroup.oo-ui-widget-disabled > .oo-ui-toolGroup-tools > .oo-ui-tool > .oo-ui-tool-link .oo-ui-iconElement-icon { opacity: 0.2; } .oo-ui-popupToolGroup { position: relative; - height: 2.5em; - min-width: 2.5em; + height: 3.125em; + min-width: 2em; } .oo-ui-popupToolGroup-handle { display: block; @@ -906,27 +926,39 @@ margin-left: 2.5em; } .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label { - margin-right: 2.25em; + margin-right: 2em; } .oo-ui-toolbar-narrow .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label { margin-right: 1.75em; } +.oo-ui-popupToolGroup.oo-ui-widget-enabled .oo-ui-popupToolGroup-handle:hover { + background-color: #eeeeee; +} +.oo-ui-popupToolGroup.oo-ui-widget-enabled .oo-ui-popupToolGroup-handle:active { + background-color: #e5e5e5; +} +.oo-ui-popupToolGroup-handle { + padding: 0.3125em; + height: 2.5em; +} .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { width: 0.9375em; - height: 0.9375em; - margin: 0.78125em; + height: 1.625em; + margin: 0.78125em 0.5em; top: 0; right: 0; + opacity: 0.3; } .oo-ui-toolbar-narrow .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { right: -0.3125em; } .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon { width: 1.875em; - height: 1.875em; - margin: 0.3125em; + height: 2.6em; + margin: 0.25em; top: 0; left: 0.3125em; + opacity: 0.7; } .oo-ui-toolbar-narrow .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon { left: 0; @@ -936,15 +968,26 @@ margin: 0 0.6em; font-weight: bold; } +.oo-ui-popupToolGroup-active.oo-ui-widget-enabled { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07); + background-color: #eeeeee; +} .oo-ui-popupToolGroup .oo-ui-toolGroup-tools { - top: 2.5em; - background-color: white; + top: 3.125em; + margin: 0 -1px; + border: 1px solid #cccccc; + background-color: #ffffff; + box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); + min-width: 16em; } .oo-ui-popupToolGroup .oo-ui-tool-link { - padding: 0.3125em 0 0.3125em 0.3125em; + padding: 0.4em 0.625em; + box-sizing: border-box; } .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon { - height: 1.875em; + height: 2.5em; width: 1.875em; min-width: 1.875em; } @@ -955,6 +998,9 @@ .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title { line-height: 2em; } +.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel { + color: #888888; +} .oo-ui-listToolGroup .oo-ui-tool { display: block; -webkit-box-sizing: border-box; @@ -967,15 +1013,30 @@ .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-link { cursor: default; } -.oo-ui-listToolGroup .oo-ui-tool { - padding: 0 0.9375em 0 0.3125em; +.oo-ui-listToolGroup.oo-ui-popupToolGroup-active { + border-color: rgba(0, 0, 0, 0.2); } .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover { + border-color: rgba(0, 0, 0, 0.2); background-color: #eeeeee; } -.oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled, +.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:active { + background-color: #e7e7e7; +} +.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover .oo-ui-tool-link .oo-ui-iconElement-icon { + opacity: 0.9; +} +.oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled { + border-color: rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07); + background-color: #e5e5e5; +} +.oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled + .oo-ui-tool-active.oo-ui-widget-enabled { + border-top-color: rgba(0, 0, 0, 0.1); +} .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled:hover { - background-color: #d0d0d0; + border-color: rgba(0, 0, 0, 0.2); + background-color: #eeeeee; } .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-link .oo-ui-tool-title { color: #cccccc; @@ -993,16 +1054,6 @@ .oo-ui-listToolGroup.oo-ui-widget-disabled .oo-ui-iconElement-icon { opacity: 0.2; } -.oo-ui-listToolGroup .oo-ui-toolGroup-tools { - padding: 0.3125em 0 0.3125em 0; - border: 1px solid #aaaaaa; - border-radius: 0.25em; - box-shadow: inset 0 -0.25em 0 0 rgba(0, 0, 0, 0.2), 0 0.125em 0 0 rgba(0, 0, 0, 0.1); -} -.oo-ui-menuToolGroup { - border: 1px solid #cccccc; - border-radius: 0.125em; -} .oo-ui-menuToolGroup .oo-ui-tool { display: block; } @@ -1018,23 +1069,6 @@ .oo-ui-toolbar-narrow .oo-ui-menuToolGroup .oo-ui-popupToolGroup-handle { min-width: 8.125em; } -.oo-ui-menuToolGroup .oo-ui-toolGroup-tools { - margin-left: -1px; - padding: 0.3125em 0 0.3125em 0; - border: 1px solid #aaaaaa; - border-radius: 0.25em; - border-top-left-radius: 0; - box-shadow: inset 0 -0.25em 0 0 rgba(0, 0, 0, 0.2), 0 0.125em 0 0 rgba(0, 0, 0, 0.1); -} -.oo-ui-menuToolGroup.oo-ui-widget-enabled:hover { - border-color: #aaaaaa; -} -.oo-ui-menuToolGroup.oo-ui-popupToolGroup-active { - border-color: #aaaaaa; -} -.oo-ui-menuToolGroup .oo-ui-tool { - padding: 0 1.25em 0 0.3125em; -} .oo-ui-menuToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon { background-image: none; } @@ -1055,7 +1089,6 @@ } .oo-ui-menuToolGroup.oo-ui-widget-disabled { color: #cccccc; - border-color: #cccccc; } .oo-ui-menuToolGroup.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator, .oo-ui-menuToolGroup.oo-ui-widget-disabled .oo-ui-iconElement-icon { @@ -1066,10 +1099,14 @@ } .oo-ui-toolbar-bar { line-height: 1em; + position: relative; } .oo-ui-toolbar-actions { float: right; } +.oo-ui-toolbar-actions .oo-ui-toolbar { + display: inline-block; +} .oo-ui-toolbar-tools { display: inline; white-space: nowrap; @@ -1104,31 +1141,29 @@ pointer-events: none; } .oo-ui-toolbar-bar { - border-bottom: 2px solid rgba(0, 0, 0, 0.15); - background: #ffffff; + border-bottom: 1px solid #cccccc; + background-color: #ffffff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + font-weight: 500; + color: #555555; } .oo-ui-toolbar-bar .oo-ui-toolbar-bar { border: none; background: none; } -.oo-ui-toolbar-shadow { - display: none; -} -.oo-ui-selectWidget { - border-radius: 2px; -} -.oo-ui-selectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button { - border-radius: 0; - margin-left: -1px; +.oo-ui-toolbar-actions > .oo-ui-buttonElement { + margin-top: 0.25em; + margin-bottom: 0.25em; } -.oo-ui-selectWidget .oo-ui-buttonOptionWidget:first-child .oo-ui-buttonElement-button { - border-bottom-left-radius: 2px; - border-top-left-radius: 2px; - margin-left: 0; +.oo-ui-toolbar-actions > .oo-ui-toolbar, +.oo-ui-toolbar-actions > .oo-ui-buttonElement:last-child { + margin-right: 0.5em; } -.oo-ui-selectWidget .oo-ui-buttonOptionWidget:last-child .oo-ui-buttonElement-button { - border-bottom-right-radius: 2px; - border-top-right-radius: 2px; +.oo-ui-toolbar-shadow { + background-image: /* @embed */ url(themes/mediawiki/images/toolbar-shadow.png); + bottom: -9px; + height: 9px; + opacity: 0.5; } .oo-ui-optionWidget { position: relative; @@ -1953,8 +1988,8 @@ display: block; } .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { - background-color: #999999; - color: #ffffff; + background-color: #d8e6fe; + color: rgba(0, 0, 0, 0.8); } .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-iconElement-icon { display: none; @@ -1963,6 +1998,9 @@ background-color: #eeeeee; color: black; } +.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted { + background-color: #d8e6fe; +} .oo-ui-menuSectionOptionWidget { cursor: default; padding: 0.33em 0.75em; @@ -2162,10 +2200,10 @@ color: #666666; font-weight: bold; } -.oo-ui-tabOptionWidget:hover { +.oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover { background-color: rgba(255, 255, 255, 0.3); } -.oo-ui-tabOptionWidget:active { +.oo-ui-tabOptionWidget.oo-ui-widget-enabled:active { background-color: rgba(255, 255, 255, 0.8); } .oo-ui-tabOptionWidget.oo-ui-indicatorElement .oo-ui-labelElement-label { diff --git a/resources/lib/oojs-ui/oojs-ui-mediawiki.js b/resources/lib/oojs-ui/oojs-ui-mediawiki.js index b013b1a9d5..183fe8e6af 100644 --- a/resources/lib/oojs-ui/oojs-ui-mediawiki.js +++ b/resources/lib/oojs-ui/oojs-ui-mediawiki.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.11.1 + * OOjs UI v0.11.2 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2015-05-05T00:40:50Z + * Date: 2015-05-11T17:24:27Z */ /** * @class diff --git a/resources/lib/oojs-ui/oojs-ui.js b/resources/lib/oojs-ui/oojs-ui.js index f6d6128d77..f881a12aba 100644 --- a/resources/lib/oojs-ui/oojs-ui.js +++ b/resources/lib/oojs-ui/oojs-ui.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.11.1 + * OOjs UI v0.11.2 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2015 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2015-05-05T00:40:50Z + * Date: 2015-05-11T17:24:27Z */ ( function ( OO ) { @@ -4187,9 +4187,10 @@ OO.ui.ButtonElement.prototype.onMouseUp = function ( e ) { */ OO.ui.ButtonElement.prototype.onClick = function ( e ) { if ( !this.isDisabled() && e.which === 1 ) { - this.emit( 'click' ); + if ( this.emit( 'click' ) ) { + return false; + } } - return false; }; /** @@ -4232,8 +4233,9 @@ OO.ui.ButtonElement.prototype.onKeyUp = function ( e ) { */ OO.ui.ButtonElement.prototype.onKeyPress = function ( e ) { if ( !this.isDisabled() && ( e.which === OO.ui.Keys.SPACE || e.which === OO.ui.Keys.ENTER ) ) { - this.emit( 'click' ); - return false; + if ( this.emit( 'click' ) ) { + return false; + } } }; @@ -5739,16 +5741,15 @@ OO.ui.LookupElement.prototype.populateLookupMenu = function () { }; /** - * Select and highlight the first selectable item in the menu. + * Highlight the first selectable item in the menu. * * @private * @chainable */ OO.ui.LookupElement.prototype.initializeLookupMenuSelection = function () { if ( !this.lookupMenu.getSelectedItem() ) { - this.lookupMenu.selectItem( this.lookupMenu.getFirstSelectableItem() ); + this.lookupMenu.highlightItem( this.lookupMenu.getFirstSelectableItem() ); } - this.lookupMenu.highlightItem( this.lookupMenu.getSelectedItem() ); }; /** @@ -6695,9 +6696,9 @@ OO.ui.Tool.prototype.destroy = function () { /** * Collection of tool groups. * - * @example - * // Basic OOjs UI toolbar example + * The following is a minimal example using several tools and tool groups. * + * @example * // Create the toolbar * var toolFactory = new OO.ui.ToolFactory(); * var toolGroupFactory = new OO.ui.ToolGroupFactory(); @@ -6711,7 +6712,123 @@ OO.ui.Tool.prototype.destroy = function () { * // Create a class inheriting from OO.ui.Tool * function PictureTool() { * PictureTool.super.apply( this, arguments ); + * } + * OO.inheritClass( PictureTool, OO.ui.Tool ); + * // Each tool must have a 'name' (used as an internal identifier, see later) and at least one + * // of 'icon' and 'title' (displayed icon and text). + * PictureTool.static.name = 'picture'; + * PictureTool.static.icon = 'picture'; + * PictureTool.static.title = 'Insert picture'; + * // Defines the action that will happen when this tool is selected (clicked). + * PictureTool.prototype.onSelect = function () { + * $area.text( 'Picture tool clicked!' ); + * // Never display this tool as "active" (selected). + * this.setActive( false ); * }; + * // Make this tool available in our toolFactory and thus our toolbar + * toolFactory.register( PictureTool ); + * + * // Register two more tools, nothing interesting here + * function SettingsTool() { + * SettingsTool.super.apply( this, arguments ); + * } + * OO.inheritClass( SettingsTool, OO.ui.Tool ); + * SettingsTool.static.name = 'settings'; + * SettingsTool.static.icon = 'settings'; + * SettingsTool.static.title = 'Change settings'; + * SettingsTool.prototype.onSelect = function () { + * $area.text( 'Settings tool clicked!' ); + * this.setActive( false ); + * }; + * toolFactory.register( SettingsTool ); + * + * // Register two more tools, nothing interesting here + * function StuffTool() { + * StuffTool.super.apply( this, arguments ); + * } + * OO.inheritClass( StuffTool, OO.ui.Tool ); + * StuffTool.static.name = 'stuff'; + * StuffTool.static.icon = 'ellipsis'; + * StuffTool.static.title = 'More stuff'; + * StuffTool.prototype.onSelect = function () { + * $area.text( 'More stuff tool clicked!' ); + * this.setActive( false ); + * }; + * toolFactory.register( StuffTool ); + * + * // This is a PopupTool. Rather than having a custom 'onSelect' action, it will display a + * // little popup window (a PopupWidget). + * function HelpTool( toolGroup, config ) { + * OO.ui.PopupTool.call( this, toolGroup, $.extend( { popup: { + * padded: true, + * label: 'Help', + * head: true + * } }, config ) ); + * this.popup.$body.append( '

I am helpful!

' ); + * } + * OO.inheritClass( HelpTool, OO.ui.PopupTool ); + * HelpTool.static.name = 'help'; + * HelpTool.static.icon = 'help'; + * HelpTool.static.title = 'Help'; + * toolFactory.register( HelpTool ); + * + * // Finally define which tools and in what order appear in the toolbar. Each tool may only be + * // used once (but not all defined tools must be used). + * toolbar.setup( [ + * { + * // 'bar' tool groups display tools' icons only, side-by-side. + * type: 'bar', + * include: [ 'picture', 'help' ] + * }, + * { + * // 'list' tool groups display both the titles and icons, in a dropdown list. + * type: 'list', + * indicator: 'down', + * label: 'More', + * include: [ 'settings', 'stuff' ] + * } + * // Note how the tools themselves are toolgroup-agnostic - the same tool can be displayed + * // either in a 'list' or a 'bar'. There is a 'menu' tool group too, not showcased here, + * // since it's more complicated to use. (See the next example snippet on this page.) + * ] ); + * + * // Create some UI around the toolbar and place it in the document + * var frame = new OO.ui.PanelLayout( { + * expanded: false, + * framed: true + * } ); + * var contentFrame = new OO.ui.PanelLayout( { + * expanded: false, + * padded: true + * } ); + * frame.$element.append( + * toolbar.$element, + * contentFrame.$element.append( $area ) + * ); + * $( 'body' ).append( frame.$element ); + * + * // Here is where the toolbar is actually built. This must be done after inserting it into the + * // document. + * toolbar.initialize(); + * + * The following example extends the previous one to illustrate 'menu' tool groups and the usage of + * 'updateState' event. + * + * @example + * // Create the toolbar + * var toolFactory = new OO.ui.ToolFactory(); + * var toolGroupFactory = new OO.ui.ToolGroupFactory(); + * var toolbar = new OO.ui.Toolbar( toolFactory, toolGroupFactory ); + * + * // We will be placing status text in this element when tools are used + * var $area = $( '

' ).text( 'Toolbar example' ); + * + * // Define the tools that we're going to place in our toolbar + * + * // Create a class inheriting from OO.ui.Tool + * function PictureTool() { + * PictureTool.super.apply( this, arguments ); + * } * OO.inheritClass( PictureTool, OO.ui.Tool ); * // Each tool must have a 'name' (used as an internal identifier, see later) and at least one * // of 'icon' and 'title' (displayed icon and text). @@ -6721,13 +6838,13 @@ OO.ui.Tool.prototype.destroy = function () { * // Defines the action that will happen when this tool is selected (clicked). * PictureTool.prototype.onSelect = function () { * $area.text( 'Picture tool clicked!' ); + * // Never display this tool as "active" (selected). * this.setActive( false ); * }; * // The toolbar can be synchronized with the state of some external stuff, like a text * // editor's editing area, highlighting the tools (e.g. a 'bold' tool would be shown as active * // when the text cursor was inside bolded text). Here we simply disable this feature. * PictureTool.prototype.onUpdateState = function () { - * this.setActive( false ); * }; * // Make this tool available in our toolFactory and thus our toolbar * toolFactory.register( PictureTool ); @@ -6735,34 +6852,42 @@ OO.ui.Tool.prototype.destroy = function () { * // Register two more tools, nothing interesting here * function SettingsTool() { * SettingsTool.super.apply( this, arguments ); - * }; + * this.reallyActive = false; + * } * OO.inheritClass( SettingsTool, OO.ui.Tool ); * SettingsTool.static.name = 'settings'; * SettingsTool.static.icon = 'settings'; * SettingsTool.static.title = 'Change settings'; * SettingsTool.prototype.onSelect = function () { * $area.text( 'Settings tool clicked!' ); - * this.setActive( false ); + * // Toggle the active state on each click + * this.reallyActive = !this.reallyActive; + * this.setActive( this.reallyActive ); + * // To update the menu label + * this.toolbar.emit( 'updateState' ); * }; * SettingsTool.prototype.onUpdateState = function () { - * this.setActive( false ); * }; * toolFactory.register( SettingsTool ); * * // Register two more tools, nothing interesting here * function StuffTool() { * StuffTool.super.apply( this, arguments ); - * }; + * this.reallyActive = false; + * } * OO.inheritClass( StuffTool, OO.ui.Tool ); * StuffTool.static.name = 'stuff'; * StuffTool.static.icon = 'ellipsis'; * StuffTool.static.title = 'More stuff'; * StuffTool.prototype.onSelect = function () { * $area.text( 'More stuff tool clicked!' ); - * this.setActive( false ); + * // Toggle the active state on each click + * this.reallyActive = !this.reallyActive; + * this.setActive( this.reallyActive ); + * // To update the menu label + * this.toolbar.emit( 'updateState' ); * }; * StuffTool.prototype.onUpdateState = function () { - * this.setActive( false ); * }; * toolFactory.register( StuffTool ); * @@ -6775,7 +6900,7 @@ OO.ui.Tool.prototype.destroy = function () { * head: true * } }, config ) ); * this.popup.$body.append( '

I am helpful!

' ); - * }; + * } * OO.inheritClass( HelpTool, OO.ui.PopupTool ); * HelpTool.static.name = 'help'; * HelpTool.static.icon = 'help'; @@ -6791,14 +6916,12 @@ OO.ui.Tool.prototype.destroy = function () { * include: [ 'picture', 'help' ] * }, * { - * // 'list' tool groups display both the titles and icons, in a dropdown list. - * type: 'list', + * // 'menu' tool groups display both the titles and icons, in a dropdown menu. + * // Menu label indicates which items are selected. + * type: 'menu', * indicator: 'down', - * label: 'More', * include: [ 'settings', 'stuff' ] * } - * // Note how the tools themselves are toolgroup-agnostic - the same tool can be displayed - * // either in a 'list' or a 'bar'. There is a 'menu' tool group too, not showcased here. * ] ); * * // Create some UI around the toolbar and place it in the document @@ -8459,8 +8582,9 @@ OO.ui.FormLayout.static.tagName = 'form'; * @fires submit */ OO.ui.FormLayout.prototype.onFormSubmit = function () { - this.emit( 'submit' ); - return false; + if ( this.emit( 'submit' ) ) { + return false; + } }; /** @@ -10283,8 +10407,6 @@ OO.mixinClass( OO.ui.PopupToolGroup, OO.ui.TitledElement ); OO.mixinClass( OO.ui.PopupToolGroup, OO.ui.ClippableElement ); OO.mixinClass( OO.ui.PopupToolGroup, OO.ui.TabIndexedElement ); -/* Static Properties */ - /* Methods */ /** @@ -10439,8 +10561,6 @@ OO.inheritClass( OO.ui.ListToolGroup, OO.ui.PopupToolGroup ); /* Static Properties */ -OO.ui.ListToolGroup.static.accelTooltips = true; - OO.ui.ListToolGroup.static.name = 'list'; /* Methods */ @@ -10563,8 +10683,6 @@ OO.inheritClass( OO.ui.MenuToolGroup, OO.ui.PopupToolGroup ); /* Static Properties */ -OO.ui.MenuToolGroup.static.accelTooltips = true; - OO.ui.MenuToolGroup.static.name = 'menu'; /* Methods */ @@ -11208,28 +11326,6 @@ OO.ui.ButtonWidget.prototype.onMouseUp = function ( e ) { return OO.ui.ButtonElement.prototype.onMouseUp.call( this, e ); }; -/** - * @inheritdoc - */ -OO.ui.ButtonWidget.prototype.onClick = function ( e ) { - var ret = OO.ui.ButtonElement.prototype.onClick.call( this, e ); - if ( this.href ) { - return true; - } - return ret; -}; - -/** - * @inheritdoc - */ -OO.ui.ButtonWidget.prototype.onKeyPress = function ( e ) { - var ret = OO.ui.ButtonElement.prototype.onKeyPress.call( this, e ); - if ( this.href ) { - return true; - } - return ret; -}; - /** * Get hyperlink location. * @@ -12702,7 +12798,7 @@ OO.ui.TextInputWidget = function OoUiTextInputWidget( config ) { // Events this.$input.on( { keypress: this.onKeyPress.bind( this ), - blur: this.setValidityFlag.bind( this ) + blur: this.onBlur.bind( this ) } ); this.$input.one( { focus: this.onElementAttach.bind( this ) @@ -12728,6 +12824,7 @@ OO.ui.TextInputWidget = function OoUiTextInputWidget( config ) { } if ( config.required ) { this.$input.attr( 'required', 'required' ); + this.$input.attr( 'aria-required', 'true' ); } if ( this.label || config.autosize ) { this.installParentChangeDetector(); @@ -12802,6 +12899,16 @@ OO.ui.TextInputWidget.prototype.onKeyPress = function ( e ) { } }; +/** + * Handle blur events. + * + * @private + * @param {jQuery.Event} e Blur event + */ +OO.ui.TextInputWidget.prototype.onBlur = function () { + this.setValidityFlag(); +}; + /** * Handle element attach events. * @@ -13025,17 +13132,25 @@ OO.ui.TextInputWidget.prototype.setValidation = function ( validate ) { /** * Sets the 'invalid' flag appropriately. + * + * @param {boolean} [isValid] Optionally override validation result */ -OO.ui.TextInputWidget.prototype.setValidityFlag = function () { - var widget = this; - this.isValid().done( function ( valid ) { - if ( !valid ) { - widget.$input.attr( 'aria-invalid', 'true' ); - } else { - widget.$input.removeAttr( 'aria-invalid' ); - } - widget.setFlags( { invalid: !valid } ); - } ); +OO.ui.TextInputWidget.prototype.setValidityFlag = function ( isValid ) { + var widget = this, + setFlag = function ( valid ) { + if ( !valid ) { + widget.$input.attr( 'aria-invalid', 'true' ); + } else { + widget.$input.removeAttr( 'aria-invalid' ); + } + widget.setFlags( { invalid: !valid } ); + }; + + if ( isValid !== undefined ) { + setFlag( isValid ); + } else { + this.isValid().done( setFlag ); + } }; /** @@ -14140,12 +14255,7 @@ OO.ui.PopupWidget = function OoUiPopupWidget( config ) { this.anchor = null; this.width = config.width !== undefined ? config.width : 320; this.height = config.height !== undefined ? config.height : null; - // Validate alignment and transform deprecated values - if ( [ 'left', 'right', 'force-left', 'force-right', 'backwards', 'forwards', 'center' ].indexOf( config.align ) > -1 ) { - this.align = { left: 'force-right', right: 'force-left' }[ config.align ] || config.align; - } else { - this.align = 'center'; - } + this.setAlignment( config.align ); this.closeButton = new OO.ui.ButtonWidget( { framed: false, icon: 'close' } ); this.onMouseDownHandler = this.onMouseDown.bind( this ); this.onDocumentKeyDownHandler = this.onDocumentKeyDown.bind( this ); @@ -14442,6 +14552,29 @@ OO.ui.PopupWidget.prototype.updateDimensions = function ( transition ) { return this; }; +/** + * Set popup alignment + * @param {string} align Alignment of the popup, `center`, `force-left`, `force-right`, + * `backwards` or `forwards`. + */ +OO.ui.PopupWidget.prototype.setAlignment = function ( align ) { + // Validate alignment and transform deprecated values + if ( [ 'left', 'right', 'force-left', 'force-right', 'backwards', 'forwards', 'center' ].indexOf( align ) > -1 ) { + this.align = { left: 'force-right', right: 'force-left' }[ align ] || align; + } else { + this.align = 'center'; + } +}; + +/** + * Get popup alignment + * @return {string} align Alignment of the popup, `center`, `force-left`, `force-right`, + * `backwards` or `forwards`. + */ +OO.ui.PopupWidget.prototype.getAlignment = function () { + return this.align; +}; + /** * Progress bars visually display the status of an operation, such as a download, * and can be either determinate or indeterminate: @@ -14747,6 +14880,7 @@ OO.ui.SearchWidget.prototype.getResults = function () { * * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Widgets/Selects_and_Options * + * @abstract * @class * @extends OO.ui.Widget * @mixins OO.ui.GroupElement diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-ltr-invert.png index 8a0714054c950d79a3adb8ae02e709f1ae4718e6..37b57fe564f86f80ab44b4a6890cacca62098e2c 100644 GIT binary patch delta 288 zcmV+*0pI?x0^b6VNPhtVNkl)`$jqLkiGQSiW{w+8X*(pHk$iRm zBrk18sXR&EmWY=MC}~twAnBr^{6o_5PtVGAY;Q_hWafHR_5ffS5sv^~0nqk!X6{z+ zZxL~nnfImBpI1}eNjg}SAvv!y3rTxL;-$}Hl2^9#m&}~xlkJ^GasZHY`qwp(ypgok mSPp!jXF;ZRyBUs-|K$sQZ#6WPj9(1^0000d| z57~#{4gwZd5d_y@Wox2f6Umveu?U|){@3;$xYZr*xg%97mENv^?V+R-Nk@`al3pdv zODPLUO43VmTS}RBGTS~)@{%n8-@sjxf$bY$mE^F?@oQiWd}#sCzzldw^3f12fzKqd zebx5(8SrTPGRfZNE=k|^#kOX^LtDXUS0+gxxNiv7wvSs$T0C(8yfs_c9yhb)FM=c! qN&B{!wimzip5*-B-&ZP??)(56nd`R>MKhNG0000 - - - - - + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-ltr.png index 88db1089218ad5aea9bc5e8601635888180f6b3d..7d2113f247c2e38fd914d3980f2f413fe84efd46 100644 GIT binary patch delta 244 zcmVzFaZ1?WCft{J!wS2Q^cDA^{(&}TvFUpu)fCNyo<-={pcX59WQc*o9+Ft# u9o4kr@a+6=7~$>`aS`I2o-QZnANd7O);*R?@s2$J0000=t`d1p98B9SB@^M*E>c*iT2*k}C$`k3A; z|G*r_3-yN~YUtvC%00uskz$7##@UA3oM?mJ?A-|+-oON3C`9FY2|lk}_7f_o2V@eA za)K1qP{}RISonWMFCQ#EC>Y?y`484vt - - - - - + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.png index c6cbec19b3a07ad570b60837441bca4911e66f89..a50b30669a69e955c0c7b8c1bc6aabdde7a821fc 100644 GIT binary patch delta 267 zcmV+m0rdW-0?PuBNq_B0L_t(YiS3awN(4a=MSs;Gc!Et0G}RkuvdM;vAfCX`R4_49 zynC?fX8^aE`B+`F-H^O=4}VDBOPW;$B<=Q*cad~b z8#y5PS=rh9%~iaC?YX2yX0Eo;Wkj3;XaG!XZvmKP=0-bz%FOkMV9iUmNxrrJeO=g@ zl6+{tYNxlnBiJPQQVIZo?G=(&l8&kaZDh^%`CmJ>o6;S6VY_&*k&$8f0x+Z`S>apb RA^-pY07*qoLTlxgw=)WEViD@m7< g2ImM0g~C6u1*R3}n8AUh761SM07*qoM6N<$f?OVIy#N3J diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.svg index 75b23b44d0..11fffcb2b9 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl-invert.svg @@ -1,6 +1,6 @@ - - - - - - + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.png index 0afcbfa558573eee822039125496987780341443..ed69a01117459ae3f77585f95e032d6c7eac39db 100644 GIT binary patch delta 221 zcmV<303!c{0-gepNq@jeL_t(YiS5y$ZUR9Rh2d{Q>d;vF0`-_;)*wh|NE)7?vbGXQ z>T6Lv0Z)L%(7r%T4Yo*VLJEQrBj|2tlXd$iS4`&Q{5QEYG(>djEYGp3t9*hVZ0aa~ z#xG7)1+9X=S(q%mGqlmeEe`muDxJG*T{iC+qzcCWERScJDpq;IF;ViEDtW*@Dp+HP zQCQ#&pV9x9;+tOO9=lMm{3Da&BV_ui0=UDrKma#b;H8QHx_B+gv{bl5OjaIgXsClT X>)Aj;lrB#J00000NkvXXu0mjfw0~ul delta 195 zcmV;!06hPm0)zsPNq?qEL_t(YiS5#@3PLd$hw+~nEM}ASfYmA(EMivgM64F?!Rs(u z{VdwO2(hZcuiy!C7~&CZdti+5ZvW@q7?DV%_@Oq$=51X;8yz%};Edxh;wtXwqlPJN zcm&1*^}K>Xdia1-Ch&+AX4t0n3%Yp(yFjONv{1&pV0^yTDaFzlZ-v~wl x!9MLYH=$oNM%n9K&*@yo73*Ilkx1mvJOPs3FUXhn*G2#U002ovPDHLkV1h@gU4Q@p diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.svg index 01fc216be5..20875f349b 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/arched-arrow-rtl.svg @@ -1,6 +1,6 @@ - - - - - - + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr-invert.png index dfcfb7ff89ea5a7f3e67e90db065cfced7e86227..1b1e2ed3cd2a2d311a37886ffdb9de75a8be8cc7 100644 GIT binary patch delta 404 zcmV;F0c-x&1JeVLNq==oL_t(YiS3gyOI%S9h3^y6WZlkaAub3e25hozu(HrX(%A_? zu=OVdOreE+z)r+YtO8<{pdm%7fDo;gMTAtMAT9}p@ST%p79NikeCraMJ>AT3zd19^ zO{uTPR@Uu9Ns}q1*D0k|mSvx^EW7TBBS{t8+s+BNvAy(QxPR>-;Cn#7Nm>Ecfh*gV zwD1u4Q(ycI!VZx(m z(9yu1u7Mu`ZUXzjMZ^c~bx4{81biv${3H(LeGXOyz5*>tW0GcoU%-u|snT#s?_!c& z+fSlCZhJZhZ-3dIzPEeebHG<4UW>KtN*c92C~3JXxTJc(wsN^DaO{HOgWVqK_Ot^286dVht|<0000IdBOa+wO1dk{(H#l2pG50<rx0a%k%DJ1+F z4IY zUAUhq)T_WpU>`V$O&Ti&572BFY!>fqkJ}!xT`LXFHK@dIJ+M8JtIq-dfWv&f-zIN> zzrYo+)7_|nz`L?N39JJrz!9(_sXh?+z5Xv<1K - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.png index 3b60a11a985f71fc13fcba406796903566d2a6a7..1fe66f1e510ff3b6aa8e48c8c004d9d8dfc055f6 100644 GIT binary patch delta 359 zcmV-t0hs=!1E&L!Nq$df%gWeIm!4SUTqAQM2!Uz1zJik!u2D}fS1Guj7DPi`sKkr5jyXCH#m6fgAir zRjCg&q90A~KsKZ)IUVZl?^37S`jW~$H%TBVIHSvhH2j{;WEIPN67 zw!Tr9NhA0t{UNtKJE|=3g8C%a{J{wpCHq!X(Mvr6Zu?P}x(I9s00000NkvXXu0mjf D-`=rY diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.svg index 1b332ce925..841ba7d482 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/link-ltr.svg @@ -1,6 +1,13 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.png index 0400c192d2b6016190081eb2b8230bb5c1fcc4cb..0246e4d397f166c4914349a13e85594c2af0273e 100644 GIT binary patch delta 115 zcmV-(0F3{+0kr{;No-e1L_t(YiS3cW4S+xh1P}W!O+B@rSu8+4M`DZ@=1E|(VOuMT zR{**X0_>5?qM^HcCYYH$d`q+_sgKGft(j0i1vsnZ$pNlJ$>Cc+EBQ$Hx5P~`12^5| V#nw8j@XY`K002ovPDHLkV1m{AF_{1W delta 119 zcmV--0Eqv!0l5K?NpM?9L_t(YiS3cW4S+BV0~_|A3n*eG+YCTdNIs|{_l&C3scxJwk#tT!a*xVu3eM^sL7%S08$ ZGZ((G$dt|1FmM0>002ovPDHLkV1gbOG>QNK diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.svg index dddbbb8d51..61b8877f8d 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu-invert.svg @@ -1,6 +1,10 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.png index 0a781199fc856f53c63d33a3eddad44540ae57dc..de7b1d245969c0aad696981b780c28e251b94a20 100644 GIT binary patch delta 104 zcmZ3(xQcOtXQGd%i(`mKXL5oB>*9v62R6*ihwFttTIR4BKHBiWekR{xgMQBTL!VP5 z>e_g0oh4#YBzm7D^6ME+kUJUCTzWw1CzE8`d{yW38WMaA4AD;wrg>DP#4!MYr>mdK II;Vst00T57ssI20 delta 106 zcmZ3*xQ20pXR@ECi(`mKXL5oBtFqXfl!SyI{z`U@XBFIJ#QvyXPLz0N_%NX3swv9> zL!&P|i3M$mE8IVM8u7^YrZh=pZ{UkinXh#C!{d|}lB|mxI2ai6=Nb5=>^hyp00f?{ KelF{r5}E*8e<#@h diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.svg index 50ac8a3981..89fd97895f 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/menu.svg @@ -1,6 +1,10 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-down-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-down-invert.png index 55f3d1f02957f170b5f1486c55644245bbe5e7a3..f18841d46098e0abd57e2b7c7326be4966b0f224 100644 GIT binary patch delta 118 zcmV-+0Ez#~0k{E>NpD(7L_t(2k=2i}4S+BZ1O4flg&N2XtjaEI5^CEtKoJ2-hq%%@ zTmQiS2>_7P+g<>44_=9gIi<8-iS0~sa|OvFX}F!KONTtZ-guTsZjz>^$82ZYxk>(> Y9nU9H9ewyFMCz5)SgYD - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-down.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-down.png index db8c51de130bac0989f8a05a7090daac915e2a7d..15ec58611e5c2165f62a9164f695b5a14bb1e2db 100644 GIT binary patch delta 107 zcmV-x0F?i>0j&X$Nn}q+L_t(2k=4$@34kyVMA2sf*5X-B54LJAcCslzFA5Y#-~tv0k#2 - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.png index 9edc9deb77b0f3d0bb623568aa0714788ea724f2..22bf8977466930a72bdd968cfd51fb00bb0e3b19 100644 GIT binary patch delta 84 zcmV-a0IUC>0hR%fNliFOL_t(2kz-(>6#W1HzkyT@|4GvH9|4Hd^dA)v*7P3}plD(u q+O4#35@E$i8i-R2)j+&rVgLZHwqGcwDlRbq00001pNR1zvBP@{|!WI`1|+o{{Ij_oTh*O{%QUF z`}gI*YGNYF1gbfSWcUC5`}ZKJo-H9M;)nqNc#CYYYZXnM00000NkvXXu0mjfZyhjF diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.svg index 64203e1dcc..2a91c027d6 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr-invert.svg @@ -1,6 +1,8 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.png index 19e98206724a06858def9e46e81683d5dcee618d..44403291ef672b3de8bbdeed82efc187d73e5533 100644 GIT binary patch delta 77 zcmbQq*v~k@)6LM+#W6%^nh9nk;) delta 87 zcmeBYoXI%BGr-!@#W6%bP0l+XkK7qK0% diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.svg b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.svg index 0d11e3ed8d..fb366e6497 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-ltr.svg @@ -1,6 +1,8 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.png index ac769a3e8ef738f35a80930e9567840fad78730e..4f3c9d1634c2ad4375a4d013db8b7934b8d22196 100644 GIT binary patch delta 82 zcmdnNIE8V7r?;7>i(`n!#N>npYCrz}uV?n``VR#2RgSu3I)wQIFz-srk($v_qzopr0LA_w{Qv*} delta 118 zcmV-+0Ez#U0k{E>NpD(7L_t(2k*$rp4S+BZL(hm=K(HPQWGouS;nP!}O-qqPIfP65 zJ=yHfNJ=D^W>}KkeT~37$)OcKBJfFa%rRZXuWi|vi{$i0nxoS8?)#DeAW1R+chf^D Y4_ISr80y)Hu>b%707*qoM6N<$f)xccSO5S3 diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.svg index 3d36e4fdc2..3cce872e33 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl-invert.svg @@ -1,6 +1,8 @@ - - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-rtl.png index d912a1bb07b2f45e526386c5739f6c642f06910b..5f1f868fa467d3b15fa46c72b687375b9dd802ba 100644 GIT binary patch delta 76 zcmdnQ*vB}*)78M!#W6%jLZxStKN$g-{@TOh5-mXUHx3vIVCg!0Ni33+W-In delta 112 zcmV-$0FVEU0kQ#*NoiC`L_t(2k)6#u5q7aTG7Y StmU@=0000 - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up-invert.png index c8f440206953cc146ccf72d3bc67961b5e5256a1..e6fad56e15d6f4c7961c986f07ee085fbf47abfc 100644 GIT binary patch delta 71 zcmX@g*vUA-(?Q$Q#W6%zmvv4FO#nbp9d7^t delta 131 zcmV-}0DS+60mT83NqlEXL_t(2k=2l~4Zt7_1hJ=K4K@R^7K5+>ZK`zdPXiKB6oo2M zuCnaA#?Ji%02_e3EVJ_(0mxl!09v2ZlbnW3(v$QfA{j3-$vDf?{uXIJ9A;KjHHb(Z lfrwO94Q5tI?n_Vjo)avrcmd4Jw;KQe002ovPDHLkV1mmpG}! - - - - - + + + + + + + diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.png b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.png index 214b12e3976c4547d712ea399b524a9d429f0cf6..38d01c7d18da6b073c3ddda17a5d18d7763b1f96 100644 GIT binary patch delta 66 zcmdnO*upr$(^}2b#W6%-No!U~L_t(2kz-&OGN74(fuV^M#s8t0pr$6M!sk%@pMim)5trgd zB*hv~4AazruDAhBF$`d6VuDJ1V_;y|!@$7c$iTpG14+XTsMsC`28IuW{4+oR09t<- UqkPQx?*IS*07*qoM6N<$f{oBJ5C8xG diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.svg b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.svg index ad41a87b97..20e734fbf5 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/indicators/arrow-up.svg @@ -1,6 +1,8 @@ - - - - - - + + + + + + + -- 2.20.1