Jforrester has uploaded a new change for review. https://gerrit.wikimedia.org/r/277850
Change subject: Update OOjs UI to v0.16.3 ...................................................................... Update OOjs UI to v0.16.3 Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.16.3/History.md Change-Id: Idb6d1250bea3041bf6c4d198f21544b1f5bc4893 --- M composer.json M resources/lib/oojs-ui/i18n/sah.json M resources/lib/oojs-ui/oojs-ui-apex.js M resources/lib/oojs-ui/oojs-ui-core-apex.css M resources/lib/oojs-ui/oojs-ui-core-mediawiki.css M resources/lib/oojs-ui/oojs-ui-core.js M resources/lib/oojs-ui/oojs-ui-mediawiki.js M resources/lib/oojs-ui/oojs-ui-toolbars-apex.css M resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css M resources/lib/oojs-ui/oojs-ui-toolbars.js M resources/lib/oojs-ui/oojs-ui-widgets-apex.css M resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css M resources/lib/oojs-ui/oojs-ui-widgets.js M resources/lib/oojs-ui/oojs-ui-windows-apex.css M resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css M resources/lib/oojs-ui/oojs-ui-windows.js M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.png M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.svg M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.png M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.svg M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.png M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.svg M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.png M resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.svg 24 files changed, 190 insertions(+), 71 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/50/277850/1 diff --git a/composer.json b/composer.json index a21b4e8..0dc1511 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "ext-iconv": "*", "liuggio/statsd-php-client": "1.0.18", "mediawiki/at-ease": "1.1.0", - "oojs/oojs-ui": "0.16.2", + "oojs/oojs-ui": "0.16.3", "oyejorge/less.php": "1.7.0.10", "php": ">=5.5.9", "psr/log": "1.0.0", diff --git a/resources/lib/oojs-ui/i18n/sah.json b/resources/lib/oojs-ui/i18n/sah.json index 1e1b05d..1e4bb55 100644 --- a/resources/lib/oojs-ui/i18n/sah.json +++ b/resources/lib/oojs-ui/i18n/sah.json @@ -17,6 +17,8 @@ "ooui-dialog-process-dismiss": "Сап", "ooui-dialog-process-retry": "Хатылаан көр", "ooui-dialog-process-continue": "Салгыы", + "ooui-selectfile-button-select": "Билэни тал", "ooui-selectfile-not-supported": "Билэни талыы өйөммөт", - "ooui-selectfile-placeholder": "Биир да билэ талыллыбатах" + "ooui-selectfile-placeholder": "Биир да билэ талыллыбатах", + "ooui-selectfile-dragdrop-placeholder": "Билэни манна сыҕарыт" } diff --git a/resources/lib/oojs-ui/oojs-ui-apex.js b/resources/lib/oojs-ui/oojs-ui-apex.js index d297933..f4ccc33 100644 --- a/resources/lib/oojs-ui/oojs-ui-apex.js +++ b/resources/lib/oojs-ui/oojs-ui-apex.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-core-apex.css b/resources/lib/oojs-ui/oojs-ui-core-apex.css index 8b92d89..3b5acae 100644 --- a/resources/lib/oojs-ui/oojs-ui-core-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-core-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-element-hidden { display: none !important; @@ -236,6 +236,9 @@ -moz-box-sizing: border-box; box-sizing: border-box; } +.oo-ui-floatableElement-hidden { + display: none; +} .oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-iconElement.oo-ui-iconElement-icon { background-size: contain; diff --git a/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css index 6ff352c..1c2abc8 100644 --- a/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-element-hidden { display: none !important; @@ -342,6 +342,9 @@ -moz-box-sizing: border-box; box-sizing: border-box; } +.oo-ui-floatableElement-hidden { + display: none; +} .oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-iconElement.oo-ui-iconElement-icon { background-size: contain; diff --git a/resources/lib/oojs-ui/oojs-ui-core.js b/resources/lib/oojs-ui/oojs-ui-core.js index f587a39..1b90db5 100644 --- a/resources/lib/oojs-ui/oojs-ui-core.js +++ b/resources/lib/oojs-ui/oojs-ui-core.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { @@ -258,6 +258,58 @@ timeout = setTimeout( later, wait ); } }; +}; + +/** + * Returns a function, that, when invoked, will only be triggered at most once + * during a given window of time. If called again during that window, it will + * wait until the window ends and then trigger itself again. + * + * As it's not knowable to the caller whether the function will actually run + * when the wrapper is called, return values from the function are entirely + * discarded. + * + * @param {Function} func + * @param {number} wait + * @return {Function} + */ +OO.ui.throttle = function ( func, wait ) { + var context, args, timeout, + previous = 0, + run = function () { + timeout = null; + previous = OO.ui.now(); + func.apply( context, args ); + }; + return function () { + // Check how long it's been since the last time the function was + // called, and whether it's more or less than the requested throttle + // period. If it's less, run the function immediately. If it's more, + // set a timeout for the remaining time -- but don't replace an + // existing timeout, since that'd indefinitely prolong the wait. + var remaining = wait - ( OO.ui.now() - previous ); + context = this; + args = arguments; + if ( remaining <= 0 ) { + // Note: unless wait was ridiculously large, this means we'll + // automatically run the first time the function was called in a + // given period. (If you provide a wait period larger than the + // current Unix timestamp, you *deserve* unexpected behavior.) + clearTimeout( timeout ); + run(); + } else if ( !timeout ) { + timeout = setTimeout( run, remaining ); + } + }; +}; + +/** + * A (possibly faster) way to get the current timestamp as an integer + * + * @return {number} Current timestamp + */ +OO.ui.now = Date.now || function () { + return new Date().getTime(); }; /** @@ -685,7 +737,7 @@ infused.$element.removeData( 'ooui-infused-children' ); return infused; } - if ( value.html ) { + if ( value.html !== undefined ) { return new OO.ui.HtmlSnippet( value.html ); } } @@ -3054,7 +3106,7 @@ this.title = null; // Initialization - this.setTitle( config.title || this.constructor.static.title ); + this.setTitle( config.title !== undefined ? config.title : this.constructor.static.title ); this.setTitledElement( config.$titled || this.$element ); }; @@ -4052,6 +4104,9 @@ ccWidth + ccOffset.left : ( scOffset.left + scrollLeft + scWidth ) - ccOffset.left; desiredHeight = ( scOffset.top + scrollTop + scHeight ) - ccOffset.top; + // It should never be desirable to exceed the dimensions of the browser viewport... right? + desiredWidth = Math.min( desiredWidth, document.documentElement.clientWidth ); + desiredHeight = Math.min( desiredHeight, document.documentElement.clientHeight ); allotedWidth = Math.ceil( desiredWidth - extraWidth ); allotedHeight = Math.ceil( desiredHeight - extraHeight ); naturalWidth = this.$clippable.prop( 'scrollWidth' ); @@ -6563,22 +6618,19 @@ closestScrollableOfContainer = OO.ui.Element.static.getClosestScrollableContainer( this.$floatableContainer[ 0 ] ); closestScrollableOfFloatable = OO.ui.Element.static.getClosestScrollableContainer( this.$floatable[ 0 ] ); - if ( closestScrollableOfContainer !== closestScrollableOfFloatable ) { - // If the scrollable is the root, we have to listen to scroll events - // on the window because of browser inconsistencies (or do we? someone should verify this) - if ( $( closestScrollableOfContainer ).is( 'html, body' ) ) { - closestScrollableOfContainer = OO.ui.Element.static.getWindow( closestScrollableOfContainer ); - } + this.needsCustomPosition = closestScrollableOfContainer !== closestScrollableOfFloatable; + // If the scrollable is the root, we have to listen to scroll events + // on the window because of browser inconsistencies. + if ( $( closestScrollableOfContainer ).is( 'html, body' ) ) { + closestScrollableOfContainer = OO.ui.Element.static.getWindow( closestScrollableOfContainer ); } if ( positioning ) { this.$floatableWindow = $( this.getElementWindow() ); this.$floatableWindow.on( 'resize', this.onFloatableWindowResizeHandler ); - if ( closestScrollableOfContainer !== closestScrollableOfFloatable ) { - this.$floatableClosestScrollable = $( closestScrollableOfContainer ); - this.$floatableClosestScrollable.on( 'scroll', this.onFloatableScrollHandler ); - } + this.$floatableClosestScrollable = $( closestScrollableOfContainer ); + this.$floatableClosestScrollable.on( 'scroll', this.onFloatableScrollHandler ); // Initial position after visible this.position(); @@ -6601,6 +6653,50 @@ }; /** + * Check whether the bottom edge of the given element is within the viewport of the given container. + * + * @private + * @param {jQuery} $element + * @param {jQuery} $container + * @return {boolean} + */ +OO.ui.mixin.FloatableElement.prototype.isElementInViewport = function ( $element, $container ) { + var elemRect, contRect, + topEdgeInBounds = false, + leftEdgeInBounds = false, + bottomEdgeInBounds = false, + rightEdgeInBounds = false; + + elemRect = $element[ 0 ].getBoundingClientRect(); + if ( $container[ 0 ] === window ) { + contRect = { + top: 0, + left: 0, + right: document.documentElement.clientWidth, + bottom: document.documentElement.clientHeight + }; + } else { + contRect = $container[ 0 ].getBoundingClientRect(); + } + + if ( elemRect.top >= contRect.top && elemRect.top <= contRect.bottom ) { + topEdgeInBounds = true; + } + if ( elemRect.left >= contRect.left && elemRect.left <= contRect.right ) { + leftEdgeInBounds = true; + } + if ( elemRect.bottom >= contRect.top && elemRect.bottom <= contRect.bottom ) { + bottomEdgeInBounds = true; + } + if ( elemRect.right >= contRect.left && elemRect.right <= contRect.right ) { + rightEdgeInBounds = true; + } + + // We only care that any part of the bottom edge is visible + return bottomEdgeInBounds && ( leftEdgeInBounds || rightEdgeInBounds ); +}; + +/** * Position the floatable below its container. * * This should only be done when both of them are attached to the DOM and visible. @@ -6612,6 +6708,17 @@ if ( !this.positioning ) { return this; + } + + if ( !this.isElementInViewport( this.$floatableContainer, this.$floatableClosestScrollable ) ) { + this.$floatable.addClass( 'oo-ui-floatableElement-hidden' ); + return; + } else { + this.$floatable.removeClass( 'oo-ui-floatableElement-hidden' ); + } + + if ( !this.needsCustomPosition ) { + return; } pos = OO.ui.Element.static.getRelativePosition( this.$floatableContainer, this.$floatable.offsetParent() ); @@ -6745,7 +6852,8 @@ OO.ui.InputWidget.parent.call( this, config ); // Properties - this.$input = this.getInputElement( config ); + // See #reusePreInfuseDOM about config.$input + this.$input = config.$input || this.getInputElement( config ); this.value = ''; this.inputFilter = config.inputFilter; @@ -6829,9 +6937,8 @@ * @param {Object} config Configuration options * @return {jQuery} Input element */ -OO.ui.InputWidget.prototype.getInputElement = function ( config ) { - // See #reusePreInfuseDOM about config.$input - return config.$input || $( '<input>' ); +OO.ui.InputWidget.prototype.getInputElement = function () { + return $( '<input>' ); }; /** @@ -7026,6 +7133,11 @@ // Configuration initialization config = $.extend( { type: 'button', useInputTag: false }, config ); + // See InputWidget#reusePreInfuseDOM about config.$input + if ( config.$input ) { + config.$input.empty(); + } + // Properties (must be set before parent constructor, which calls #setValue) this.useInputTag = config.useInputTag; @@ -7071,10 +7183,6 @@ */ OO.ui.ButtonInputWidget.prototype.getInputElement = function ( config ) { var type; - // See InputWidget#reusePreInfuseDOM about config.$input - if ( config.$input ) { - return config.$input.empty(); - } type = [ 'button', 'submit', 'reset' ].indexOf( config.type ) !== -1 ? config.type : 'button'; return $( '<' + ( config.useInputTag ? 'input' : 'button' ) + ' type="' + type + '">' ); }; @@ -7089,22 +7197,20 @@ * @chainable */ OO.ui.ButtonInputWidget.prototype.setLabel = function ( label ) { - OO.ui.mixin.LabelElement.prototype.setLabel.call( this, label ); + if ( typeof label === 'function' ) { + label = OO.ui.resolveMsg( label ); + } if ( this.useInputTag ) { - if ( typeof label === 'function' ) { - label = OO.ui.resolveMsg( label ); - } - if ( label instanceof jQuery ) { - label = label.text(); - } - if ( !label ) { + // Discard non-plaintext labels + if ( typeof label !== 'string' ) { label = ''; } + this.$input.val( label ); } - return this; + return OO.ui.mixin.LabelElement.prototype.setLabel.call( this, label ); }; /** @@ -7296,6 +7402,11 @@ // Configuration initialization config = config || {}; + // See InputWidget#reusePreInfuseDOM about config.$input + if ( config.$input ) { + config.$input.addClass( 'oo-ui-element-hidden' ); + } + // Properties (must be done before parent constructor which calls #setDisabled) this.dropdownWidget = new OO.ui.DropdownWidget( config.dropdown ); @@ -7326,11 +7437,7 @@ * @inheritdoc * @protected */ -OO.ui.DropdownInputWidget.prototype.getInputElement = function ( config ) { - // See InputWidget#reusePreInfuseDOM about config.$input - if ( config.$input ) { - return config.$input.addClass( 'oo-ui-element-hidden' ); - } +OO.ui.DropdownInputWidget.prototype.getInputElement = function () { return $( '<input>' ).attr( 'type', 'hidden' ); }; @@ -7805,7 +7912,7 @@ .append( this.$icon, this.$indicator ); this.setReadOnly( !!config.readOnly ); this.updateSearchIndicator(); - if ( config.placeholder ) { + if ( config.placeholder !== undefined ) { this.$input.attr( 'placeholder', config.placeholder ); } if ( config.maxLength !== undefined ) { diff --git a/resources/lib/oojs-ui/oojs-ui-mediawiki.js b/resources/lib/oojs-ui/oojs-ui-mediawiki.js index c2bf522..0dac2aa 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.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { @@ -49,11 +49,15 @@ isFramed = element.supports( [ 'isFramed' ] ) && element.isFramed(); isActive = element.supports( [ 'isActive' ] ) && element.isActive(); if ( - ( isFramed && ( isActive || element.isDisabled() || element.hasFlag( 'primary' ) ) ) || - ( !isFramed && element.hasFlag( 'primary' ) ) + ( isFramed && ( isActive || element.isDisabled() || element.hasFlag( 'primary' ) ) ) ) { + // Button with a dark background, use white icon variants.invert = true; + } else if ( !isFramed && element.isDisabled() ) { + // Frameless disabled button, always use black icon regardless of flags + variants.invert = false; } else { + // Any other kind of button, use the right colored icon if available variants.progressive = element.hasFlag( 'progressive' ); variants.constructive = element.hasFlag( 'constructive' ); variants.destructive = element.hasFlag( 'destructive' ); diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css b/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css index 0ea3006..5ff9407 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-popupTool .oo-ui-popupWidget-popup, .oo-ui-popupTool .oo-ui-popupWidget-anchor { diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css index 90b7f83..6b964fb 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-popupTool .oo-ui-popupWidget-popup, .oo-ui-popupTool .oo-ui-popupWidget-anchor { diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars.js b/resources/lib/oojs-ui/oojs-ui-toolbars.js index 6fddd25..ae4e38d 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars.js +++ b/resources/lib/oojs-ui/oojs-ui-toolbars.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-widgets-apex.css b/resources/lib/oojs-ui/oojs-ui-widgets-apex.css index 2d60c08..725e1ba 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-widgets-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-draggableElement-handle, .oo-ui-draggableElement-handle.oo-ui-widget { diff --git a/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css index 165a6c2..1f7b9bd 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-draggableElement-handle, .oo-ui-draggableElement-handle.oo-ui-widget { diff --git a/resources/lib/oojs-ui/oojs-ui-widgets.js b/resources/lib/oojs-ui/oojs-ui-widgets.js index 04137da..c7a4555 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets.js +++ b/resources/lib/oojs-ui/oojs-ui-widgets.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-windows-apex.css b/resources/lib/oojs-ui/oojs-ui-windows-apex.css index 68659d3..dbb9455 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-windows-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-actionWidget.oo-ui-pendingElement-pending { background-image: /* @embed */ url(themes/apex/images/textures/pending.gif); diff --git a/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css index e1e5b51..de63268 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:53Z + * Date: 2016-03-16T19:20:26Z */ .oo-ui-window { background: transparent; diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index dbd50ed..56108da 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.2 + * OOjs UI v0.16.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-03-08T21:46:49Z + * Date: 2016-03-16T19:20:22Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.png index a146530..a35e9d1 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.png Binary files differ diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.svg index 072276b..b90f031 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr-invert.svg @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> <g id="close"> - <path id="cross" d="M17.4 9.1c.8-.8.8-2 0-2.8L12 11.8 7.4 7.2 6 8.6l4.6 4.6-4 4c-.8.8-.8 2 0 2.8l5.4-5.4 4.6 4.6 1.4-1.4-4.6-4.6z"/> + <path id="cross" d="M17.4 8.1c.8-.8.8-2 0-2.8L12 10.8 7.4 6.2 6 7.6l4.6 4.6-4 4c-.8.8-.8 2 0 2.8l5.4-5.4 4.6 4.6 1.4-1.4-4.6-4.6z"/> </g> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.png index d768fc3..b6a42b8 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.png Binary files differ diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.svg index 1427670..c269316 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-ltr.svg @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g id="close"> - <path id="cross" d="M17.4 9.1c.8-.8.8-2 0-2.8L12 11.8 7.4 7.2 6 8.6l4.6 4.6-4 4c-.8.8-.8 2 0 2.8l5.4-5.4 4.6 4.6 1.4-1.4-4.6-4.6z"/> + <path id="cross" d="M17.4 8.1c.8-.8.8-2 0-2.8L12 10.8 7.4 6.2 6 7.6l4.6 4.6-4 4c-.8.8-.8 2 0 2.8l5.4-5.4 4.6 4.6 1.4-1.4-4.6-4.6z"/> </g> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.png index f484f62..16462a2 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.png Binary files differ diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.svg index 19ddef6..34afc43 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl-invert.svg @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> <g id="close"> - <path id="cross" d="M6.6 9.1c-.8-.8-.8-2 0-2.8l5.4 5.5 4.6-4.6L18 8.6l-4.6 4.6 4 4c.8.8.8 2 0 2.8L12 14.6l-4.6 4.6L6 17.8l4.6-4.6z"/> + <path id="cross" d="M6.6 8.1c-.8-.8-.8-2 0-2.8l5.4 5.5 4.6-4.6L18 7.6l-4.6 4.6 4 4c.8.8.8 2 0 2.8L12 13.6l-4.6 4.6L6 16.8l4.6-4.6z"/> </g> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.png index 504c534..e3e2417 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.png Binary files differ diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.svg index 6e0ca93..36e58ec 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/close-rtl.svg @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g id="close"> - <path id="cross" d="M6.6 9.1c-.8-.8-.8-2 0-2.8l5.4 5.5 4.6-4.6L18 8.6l-4.6 4.6 4 4c.8.8.8 2 0 2.8L12 14.6l-4.6 4.6L6 17.8l4.6-4.6z"/> + <path id="cross" d="M6.6 8.1c-.8-.8-.8-2 0-2.8l5.4 5.5 4.6-4.6L18 7.6l-4.6 4.6 4 4c.8.8.8 2 0 2.8L12 13.6l-4.6 4.6L6 16.8l4.6-4.6z"/> </g> </svg> -- To view, visit https://gerrit.wikimedia.org/r/277850 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb6d1250bea3041bf6c4d198f21544b1f5bc4893 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Jforrester <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
