Update OOUI to v0.33.1

Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.33.1

Bug: T226819
Bug: T226822
Depends-On: Ibff36df9866dd0c8c6fbd2ca4ce0decc633976b0
Change-Id: Ibff36df9866dd0c8c6fbd2ca4ce0decc633976ba
This commit is contained in:
James D. Forrester 2019-07-03 14:12:48 -07:00
parent 343593af58
commit 21ba735be9
19 changed files with 83 additions and 122 deletions

View file

@ -74,7 +74,7 @@ For notes on 1.33.x and older releases, see HISTORY.
==== Changed external libraries ====
* Updated Mustache from 1.0.0 to v3.0.1.
* Updated OOUI from v0.31.3 to v0.33.0.
* Updated OOUI from v0.31.3 to v0.33.1.
* Updated composer/semver from 1.4.2 to 1.5.0.
* Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
* Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only).

View file

@ -27,7 +27,7 @@
"ext-xml": "*",
"guzzlehttp/guzzle": "6.3.3",
"liuggio/statsd-php-client": "1.0.18",
"oojs/oojs-ui": "0.33.0",
"oojs/oojs-ui": "0.33.1",
"pear/mail": "1.4.1",
"pear/mail_mime": "1.10.2",
"pear/net_smtp": "1.8.1",

View file

@ -249,8 +249,8 @@ oojs-router:
ooui:
type: tar
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.33.0.tgz
integrity: sha384-/oGS1QAz6AStnSlOzdjntrAvhqPkMQMDBCzG403tEo+ufJ6BUTTW8NElUb2RXd5z
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.33.1.tgz
integrity: sha384-fv71jivIYuDB5peWKZ/msXftorlKL8P4ZBILxigkvFnuuW8eqT1s17tR0XxvRNIt
dest:
# Main stuff

View file

@ -1,4 +1,20 @@
# OOUI Release History
## v0.33.1 / 2019-07-03
### Styles
* MessageWidget: Use emphasized color for boxed 'error' type (Volker E.)
* ProcessDialog: Use 'framed' ButtonElements everywhere (Volker E.)
* WikimediaUI theme: Amend ProcessDialog ActionWidget appearance (Volker E.)
* WikimediaUI theme: De-emphasize 'close' and 'back' actions in ProcessDialog (Volker E.)
### Code
* FieldLayout: Clean up more unnecessary LESS styles (Bartosz Dziewoński)
* FieldWidget: Clean up unnecessary LESS styles (Moriel Schottlender)
* WikimediaUI theme: Variablize `border-style-base` (Volker E.)
* demos: Remove special-case for FormLayout (Bartosz Dziewoński)
* demos: Simplify demo console setup (Bartosz Dziewoński)
* demos: Use the new workaround for links to anchors with fixed header everywhere (Bartosz Dziewoński)
## v0.33.0 / 2019-06-26
### Breaking changes
* [BREAKING CHANGE] Element: Drop `getJQuery`, unused, useless since approximately 2015 (Ed Sanders)

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-element-hidden {
display: none !important;
@ -486,7 +486,6 @@
color: #ccc;
}
.oo-ui-fieldLayout-messages {
list-style: none none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@ -494,28 +493,6 @@
margin: 0.25em 0 0 0.25em;
padding: 0;
}
.oo-ui-fieldLayout-messages > [class|='oo-ui-fieldLayout-messages'] {
color: #000;
display: table;
margin: 0.625em 0 0;
padding: 0;
}
.oo-ui-fieldLayout-messages > [class|='oo-ui-fieldLayout-messages']:first-child {
margin-top: 0.3125em;
}
.oo-ui-fieldLayout-messages .oo-ui-fieldLayout-messages-error {
color: #d45353;
}
.oo-ui-fieldLayout-messages .oo-ui-iconWidget.oo-ui-iconElement-icon {
background-position: 0 0;
display: table-cell;
}
.oo-ui-fieldLayout-messages .oo-ui-labelWidget {
display: table-cell;
padding-left: 0.5em;
line-height: 1.5;
vertical-align: middle;
}
.oo-ui-actionFieldLayout-input,
.oo-ui-actionFieldLayout-button {
@ -798,7 +775,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
background-color: #fafafa;
border-color: #ccc;
}
.oo-ui-messageWidget.oo-ui-flaggedElement-error {
.oo-ui-messageWidget.oo-ui-flaggedElement-error:not( .oo-ui-messageWidget-block ) {
color: #d45353;
}
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not( .oo-ui-messageWidget-block ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-element-hidden {
display: none !important;
@ -658,7 +658,6 @@
margin-left: 0;
}
.oo-ui-fieldLayout-messages {
list-style: none none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@ -666,30 +665,6 @@
margin: 0;
padding: 0.28571429em 0;
}
.oo-ui-fieldLayout-messages > [class|='oo-ui-fieldLayout-messages'] {
color: #000;
display: table;
margin: 0.57142857em 0 0;
padding: 0;
}
.oo-ui-fieldLayout-messages > [class|='oo-ui-fieldLayout-messages']:first-child {
margin-top: 0.28571429em;
}
.oo-ui-fieldLayout-messages .oo-ui-fieldLayout-messages-error {
color: #d33;
}
.oo-ui-fieldLayout-messages .oo-ui-fieldLayout-messages-success {
color: #14866d;
}
.oo-ui-fieldLayout-messages .oo-ui-iconWidget.oo-ui-iconElement-icon {
background-position: 0 0;
display: table-cell;
}
.oo-ui-fieldLayout-messages .oo-ui-labelWidget {
display: table-cell;
padding-left: 0.57142857em;
vertical-align: middle;
}
.oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
color: #72777d;
}
@ -996,7 +971,7 @@ body:not( :-moz-handler-blocked ) .oo-ui-fieldsetLayout {
background-color: #eaecf0;
border-color: #a2a9b1;
}
.oo-ui-messageWidget.oo-ui-flaggedElement-error {
.oo-ui-messageWidget.oo-ui-flaggedElement-error:not( .oo-ui-messageWidget-block ) {
color: #d33;
}
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not( .oo-ui-messageWidget-block ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon {
display: none;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-tool {
-webkit-box-sizing: border-box;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {
cursor: move;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget {
cursor: move;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-window {
@ -262,11 +262,6 @@
.oo-ui-processDialog-actions-other .oo-ui-actionWidget .oo-ui-labelElement-label {
line-height: 1.875em;
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-iconElement .oo-ui-iconElement-icon,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-iconElement .oo-ui-iconElement-icon,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-iconElement .oo-ui-iconElement-icon {
margin-top: -0.125em;
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-framed,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-framed,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement-framed {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:33Z
* Date: 2019-07-03T21:05:15Z
*/
.oo-ui-window {
@ -232,59 +232,57 @@
font-weight: bold;
line-height: 2.5974026em;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-framed {
margin: 0.42857143em;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget > .oo-ui-buttonElement-button {
border-radius: 0;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child {
margin-left: 0;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
min-height: 2.85714286em;
padding-top: 0;
padding-left: 3.14285714em;
padding-right: 0;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
left: 0.85714286em;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-labelElement:first-child {
margin-left: 0;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-labelElement > .oo-ui-buttonElement-button {
padding: 0.71428571em 0.85714286em;
}
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
.oo-ui-processDialog [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
padding-left: 2.28571429em;
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover,
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover {
background-color: rgba(8, 126, 204, 0.05);
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget > .oo-ui-buttonElement-button,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget > .oo-ui-buttonElement-button {
border-right: 1px solid #c8ccd1;
border-left: 0;
border-bottom: 0;
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active,
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active {
background-color: rgba(8, 126, 204, 0.1);
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget > .oo-ui-buttonElement-button {
border-top: 0;
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover,
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover {
background-color: rgba(212, 83, 83, 0.05);
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-close > .oo-ui-buttonElement-button,
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-back > .oo-ui-buttonElement-button {
background-color: #fff;
border-right-color: transparent;
}
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active,
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active {
background-color: rgba(212, 83, 83, 0.1);
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-close > .oo-ui-buttonElement-button:hover,
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-back > .oo-ui-buttonElement-button:hover {
background-color: #f8f9fa;
border-right-color: #c8ccd1;
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active {
background-color: rgba(0, 0, 0, 0.1);
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-close > .oo-ui-buttonElement-button:active,
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-flaggedElement-back > .oo-ui-buttonElement-button:active {
border-right-color: #c8ccd1;
}
.oo-ui-processDialog-actions-other .oo-ui-actionWidget.oo-ui-buttonElement {
margin-right: 0;
}
.oo-ui-processDialog-actions-other .oo-ui-actionWidget > .oo-ui-buttonElement-button {
border-top: 1px solid #c8ccd1;
border-bottom: 0;
}
.oo-ui-processDialog > .oo-ui-window-frame {
min-height: 5em;
}
@ -323,11 +321,11 @@
.oo-ui-processDialog.oo-ui-isMobile .oo-ui-processDialog-content .oo-ui-window-body {
top: 3.14285714em;
}
.oo-ui-processDialog.oo-ui-isMobile [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
.oo-ui-processDialog.oo-ui-isMobile [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
min-height: 3.14285714em;
padding-left: 3.14285714em;
}
.oo-ui-processDialog.oo-ui-isMobile [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
.oo-ui-processDialog.oo-ui-isMobile [class^='oo-ui-processDialog-actions'] .oo-ui-actionWidget.oo-ui-labelElement > .oo-ui-buttonElement-button {
padding: 0.85714286em 0.85714286em;
}

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.33.0
* OOUI v0.33.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-06-27T03:27:26Z
* Date: 2019-07-03T21:05:08Z
*/
( function ( OO ) {
@ -3337,7 +3337,7 @@ OO.ui.ProcessDialog.prototype.getActionWidgetConfig = function ( config ) {
}
// Default to unframed.
config = $.extend( { framed: false }, config );
config = $.extend( { framed: true }, config );
if ( checkFlag( 'close' ) ) {
// Change close buttons to icon only.
$.extend( config, {

File diff suppressed because one or more lines are too long