jenkins-bot has submitted this change and it was merged.

Change subject: Update OOjs UI to v0.1.0-pre (24ac83a472)
......................................................................


Update OOjs UI to v0.1.0-pre (24ac83a472)

New changes:
91a7fab build: Bump miscellaneous devDependencies to latest
18c32c5 Localisation updates from https://translatewiki.net.
283e2a1 When updating the ideal size while not clipping, set that size
6c862e8 Update width of TextInputMenuWidget before fitting labels, not after

Change-Id: If825e0ec0e294b2569c98b5340be436ba896eceb
---
M lib/oojs-ui/i18n/hy.json
M lib/oojs-ui/oojs-ui-apex.css
M lib/oojs-ui/oojs-ui-apex.rtl.css
M lib/oojs-ui/oojs-ui-minerva.css
M lib/oojs-ui/oojs-ui-minerva.rtl.css
M lib/oojs-ui/oojs-ui.js
M lib/oojs-ui/oojs-ui.rtl.css
M lib/oojs-ui/oojs-ui.svg.css
M lib/oojs-ui/oojs-ui.svg.rtl.css
9 files changed, 35 insertions(+), 25 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/oojs-ui/i18n/hy.json b/lib/oojs-ui/i18n/hy.json
index a6705d0..ebb2860 100644
--- a/lib/oojs-ui/i18n/hy.json
+++ b/lib/oojs-ui/i18n/hy.json
@@ -2,12 +2,17 @@
        "@metadata": {
                "authors": [
                        "Vacio",
-                       "Xelgen"
+                       "Xelgen",
+                       "Դավիթ Սարոյան"
                ]
        },
-       "ooui-dialog-action-close": "Փակել",
        "ooui-outline-control-move-down": "Իջեցնել կետը",
        "ooui-outline-control-move-up": "Բարձրացնել կետը",
        "ooui-outline-control-remove": "Հեռացնել տարրը",
-       "ooui-toolbar-more": "Ավելին"
+       "ooui-toolbar-more": "Ավելին",
+       "ooui-dialog-message-accept": "Լավ",
+       "ooui-dialog-message-reject": "Չեղարկել",
+       "ooui-dialog-process-error": "Ինչ-որ սխալ է տեղի ունեցել",
+       "ooui-dialog-process-dismiss": "Փակել",
+       "ooui-dialog-process-retry": "Կրկին փորձել"
 }
diff --git a/lib/oojs-ui/oojs-ui-apex.css b/lib/oojs-ui/oojs-ui-apex.css
index 5d0fe50..0b2825d 100644
--- a/lib/oojs-ui/oojs-ui-apex.css
+++ b/lib/oojs-ui/oojs-ui-apex.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui-apex.rtl.css b/lib/oojs-ui/oojs-ui-apex.rtl.css
index 2802e7e..26ca4f7 100644
--- a/lib/oojs-ui/oojs-ui-apex.rtl.css
+++ b/lib/oojs-ui/oojs-ui-apex.rtl.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui-minerva.css b/lib/oojs-ui/oojs-ui-minerva.css
index f05e94d..59bf58d 100644
--- a/lib/oojs-ui/oojs-ui-minerva.css
+++ b/lib/oojs-ui/oojs-ui-minerva.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui-minerva.rtl.css 
b/lib/oojs-ui/oojs-ui-minerva.rtl.css
index 12cfd65..bbfe738 100644
--- a/lib/oojs-ui/oojs-ui-minerva.rtl.css
+++ b/lib/oojs-ui/oojs-ui-minerva.rtl.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui.js b/lib/oojs-ui/oojs-ui.js
index 8b97734..fe0fcc4 100644
--- a/lib/oojs-ui/oojs-ui.js
+++ b/lib/oojs-ui/oojs-ui.js
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 ( function ( OO ) {
 
@@ -4725,7 +4725,7 @@
 };
 
 /**
- * Set the ideal size.
+ * Set the ideal size. These are the dimensions the element will have when 
it's not being clipped.
  *
  * @param {number|string} [width] Width as a number of pixels or CSS string 
with unit suffix
  * @param {number|string} [height] Height as a number of pixels or CSS string 
with unit suffix
@@ -4733,6 +4733,12 @@
 OO.ui.ClippableElement.prototype.setIdealSize = function ( width, height ) {
        this.idealWidth = width;
        this.idealHeight = height;
+
+       if ( !this.clipping ) {
+               // Update dimensions
+               this.$clippable.css( { width: width, height: height } );
+       }
+       // While clipping, idealWidth and idealHeight are not considered
 };
 
 /**
@@ -11091,18 +11097,17 @@
 
        var change = visible !== this.isVisible();
 
-       // Parent method
-       OO.ui.TextInputMenuWidget.super.prototype.toggle.call( this, visible );
-
        if ( change ) {
-               if ( this.isVisible() ) {
+               if ( visible ) {
                        this.position();
                        this.$( this.getElementWindow() ).on( 'resize', 
this.onWindowResizeHandler );
                } else {
                        this.$( this.getElementWindow() ).off( 'resize', 
this.onWindowResizeHandler );
                }
        }
-       return this;
+
+       // Parent method
+       return OO.ui.TextInputMenuWidget.super.prototype.toggle.call( this, 
visible );
 };
 
 /**
diff --git a/lib/oojs-ui/oojs-ui.rtl.css b/lib/oojs-ui/oojs-ui.rtl.css
index cde60a7..68e022e 100644
--- a/lib/oojs-ui/oojs-ui.rtl.css
+++ b/lib/oojs-ui/oojs-ui.rtl.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui.svg.css b/lib/oojs-ui/oojs-ui.svg.css
index 008d05f..89455d0 100644
--- a/lib/oojs-ui/oojs-ui.svg.css
+++ b/lib/oojs-ui/oojs-ui.svg.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.
diff --git a/lib/oojs-ui/oojs-ui.svg.rtl.css b/lib/oojs-ui/oojs-ui.svg.rtl.css
index 8e3269b..afbb1aa 100644
--- a/lib/oojs-ui/oojs-ui.svg.rtl.css
+++ b/lib/oojs-ui/oojs-ui.svg.rtl.css
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (49b64bdba7)
+ * OOjs UI v0.1.0-pre (24ac83a472)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-15T22:22:33Z
+ * Date: 2014-09-17T18:24:10Z
  */
 /*
  * Blank theme mixins.

-- 
To view, visit https://gerrit.wikimedia.org/r/161008
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If825e0ec0e294b2569c98b5340be436ba896eceb
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to