VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/352989 )

Change subject: Update OOjs UI to v0.21.3
......................................................................

Update OOjs UI to v0.21.3

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

Change-Id: I53696e023197ae4dd85605d6615e9faceda05398
---
M composer.json
M composer.lock
M composer/installed.json
M oojs/oojs-ui/.eslintrc.json
M oojs/oojs-ui/History.md
M oojs/oojs-ui/demos/pages/icons.js
M oojs/oojs-ui/demos/pages/widgets.js
M oojs/oojs-ui/package.json
8 files changed, 95 insertions(+), 22 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vendor 
refs/changes/89/352989/1

diff --git a/composer.json b/composer.json
index 3487f5d..7910a6a 100644
--- a/composer.json
+++ b/composer.json
@@ -44,7 +44,7 @@
                "mediawiki/at-ease": "1.1.0",
                "monolog/monolog": "1.22.1",
                "nmred/kafka-php": "0.1.5",
-               "oojs/oojs-ui": "0.21.2",
+               "oojs/oojs-ui": "0.21.3",
                "oyejorge/less.php": "1.7.0.14",
                "pear/console_getopt": "1.4.1",
                "pear/mail": "1.3.0",
diff --git a/composer.lock b/composer.lock
index 9bf1907..7ee284d 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at 
https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file";,
         "This file is @generated automatically"
     ],
-    "content-hash": "5e9b8ed80416591510aab12e330bfdd1",
+    "content-hash": "ffbe2bba86ce8713a20780e0a7be4019",
     "packages": [
         {
             "name": "composer/semver",
@@ -466,16 +466,16 @@
         },
         {
             "name": "oojs/oojs-ui",
-            "version": "v0.21.2",
+            "version": "v0.21.3",
             "source": {
                 "type": "git",
                 "url": "https://github.com/wikimedia/oojs-ui.git";,
-                "reference": "c8e485edc3da2a47fc225f0ff794405f1ef90c01"
+                "reference": "3e818731f2e0c19366fbb297fb58927fac123543"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/wikimedia/oojs-ui/zipball/c8e485edc3da2a47fc225f0ff794405f1ef90c01";,
-                "reference": "c8e485edc3da2a47fc225f0ff794405f1ef90c01",
+                "url": 
"https://api.github.com/repos/wikimedia/oojs-ui/zipball/3e818731f2e0c19366fbb297fb58927fac123543";,
+                "reference": "3e818731f2e0c19366fbb297fb58927fac123543",
                 "shasum": ""
             },
             "require": {
@@ -541,7 +541,7 @@
             ],
             "description": "Provides library of common widgets, layouts, and 
windows.",
             "homepage": "https://www.mediawiki.org/wiki/OOjs_UI";,
-            "time": "2017-04-26T00:45:31+00:00"
+            "time": "2017-05-10T00:39:25+00:00"
         },
         {
             "name": "oyejorge/less.php",
diff --git a/composer/installed.json b/composer/installed.json
index db6fd2b..7be99bc 100644
--- a/composer/installed.json
+++ b/composer/installed.json
@@ -2112,17 +2112,17 @@
     },
     {
         "name": "oojs/oojs-ui",
-        "version": "v0.21.2",
-        "version_normalized": "0.21.2.0",
+        "version": "v0.21.3",
+        "version_normalized": "0.21.3.0",
         "source": {
             "type": "git",
             "url": "https://github.com/wikimedia/oojs-ui.git";,
-            "reference": "c8e485edc3da2a47fc225f0ff794405f1ef90c01"
+            "reference": "3e818731f2e0c19366fbb297fb58927fac123543"
         },
         "dist": {
             "type": "zip",
-            "url": 
"https://api.github.com/repos/wikimedia/oojs-ui/zipball/c8e485edc3da2a47fc225f0ff794405f1ef90c01";,
-            "reference": "c8e485edc3da2a47fc225f0ff794405f1ef90c01",
+            "url": 
"https://api.github.com/repos/wikimedia/oojs-ui/zipball/3e818731f2e0c19366fbb297fb58927fac123543";,
+            "reference": "3e818731f2e0c19366fbb297fb58927fac123543",
             "shasum": ""
         },
         "require": {
@@ -2134,7 +2134,7 @@
             "mediawiki/mediawiki-codesniffer": "0.6.0",
             "phpunit/phpunit": "4.8.21"
         },
-        "time": "2017-04-26T00:45:31+00:00",
+        "time": "2017-05-10T00:39:25+00:00",
         "type": "library",
         "installation-source": "dist",
         "autoload": {
diff --git a/oojs/oojs-ui/.eslintrc.json b/oojs/oojs-ui/.eslintrc.json
index aaf8b7f..2c454b5 100644
--- a/oojs/oojs-ui/.eslintrc.json
+++ b/oojs/oojs-ui/.eslintrc.json
@@ -1,7 +1,8 @@
 {
     "extends": "wikimedia",
-
-    "ecmaVersion": 5,
+    "parserOptions": {
+        "ecmaVersion": 5
+    },
     "env": {
         "browser": true,
         "node": true,
@@ -11,7 +12,6 @@
     "globals": {
         "OO": false
     },
-
     "rules": {
         "dot-notation": [ "error", { "allowKeywords": true } ],
         "valid-jsdoc": 0
diff --git a/oojs/oojs-ui/History.md b/oojs/oojs-ui/History.md
index 7aab2c8..8790c01 100644
--- a/oojs/oojs-ui/History.md
+++ b/oojs/oojs-ui/History.md
@@ -1,4 +1,38 @@
 # OOjs UI Release History
+## v0.21.3 / 2017-05-09
+### Deprecations
+* [DEPRECATING CHANGE] Merge functionality of FloatingMenuSelectWidget into 
MenuSelectWidget (Bartosz Dziewoński)
+* [DEPRECATING CHANGE] Rename CardLayout to TabPanelLayout (Prateek Saxena)
+* [DEPRECATING CHANGE] icons: Deprecate 'bookmark' icon (Volker E)
+* [DEPRECATING CHANGE] icons: Merge 'caret' into regular movement icons (James 
D. Forrester)
+
+### Styles
+* OptionWidget: Use parent selector for icon/indicator/label styles (Roan 
Kattouw)
+* Apex theme: Follow same FieldLayout `margin` logic as MediaWiki theme 
(Volker E)
+* MediaWiki theme: Bring styling to design spec in Safari/iOS (Volker E)
+* MediaWiki theme: Fix ButtonInputWidget appearance in Saf/iOS (Volker E)
+* MediaWiki theme: Fix `padding` for frameless buttons in ProcessDialogs (Ed 
Sanders)
+* MediaWiki theme: Provide focus indicator to TagMultiselectWidget (Volker E)
+* MediaWiki theme: Unify and harmonize `padding`/position of Tag*Widgets 
(Volker E)
+
+### Code
+* Fix some errors flagged by ESLint's 'valid-jsdoc' option (Bartosz Dziewoński)
+* NumberInputWidget: Followup db801c55f0 – clean up backward compat vars 
(Moriel Schottlender)
+* MenuSectionOptionWidget: Remove unsupported ARIA attribute (Volker E)
+* MenuSelectWidget: Scroll to the top if filtering and no exact match (David 
Lynch)
+* MenuSelectWidgets: Don't unconditionally hide all descendant inputs (Roan 
Kattouw)
+* TagMultiselectWidget: Actually use the focus trapping element (Bartosz 
Dziewoński)
+* TagMultiselectWidget: Fix `#addTag` return value to match docs (Bartosz 
Dziewoński)
+* TagMultiselectWidget: Fix keyboard navigation between items (Bartosz 
Dziewoński)
+* ToggleButtonWidget: Remove misleading `aria-checked` attribute (Volker E)
+* Unbreak FloatingMenuSelectWidget when `$container` is not given (Bartosz 
Dziewoński)
+* build: Fix invalid ecmaVersion setting (Timo Tijhof)
+* build: Use source maps in coverage report (James D. Forrester)
+* icons: Add first/last to complement previous/next in movement pack (Ed 
Sanders)
+* icons: Provide 'clip', 'unClip', and 'pushPin' in moderation (James D. 
Forrester)
+* tests: Do not set `QUnit.config.requireExpects = true` (Bartosz Dziewoński)
+
+
 ## v0.21.2 / 2017-04-25
 ### Features
 * Element: New method `#getElementId` (Bartosz Dziewoński)
diff --git a/oojs/oojs-ui/demos/pages/icons.js 
b/oojs/oojs-ui/demos/pages/icons.js
index 5d50de3..d718f7f 100644
--- a/oojs/oojs-ui/demos/pages/icons.js
+++ b/oojs/oojs-ui/demos/pages/icons.js
@@ -6,14 +6,12 @@
                                'arrowNext',
                                'downTriangle',
                                'upTriangle',
+                               'first',
                                'previous',
                                'next',
+                               'last',
                                'expand',
                                'collapse',
-                               'caretLast',
-                               'caretNext',
-                               'caretDown',
-                               'caretUp',
                                'move'
                        ],
                        content: [
@@ -53,7 +51,6 @@
                        interactions: [
                                'add',
                                'advanced',
-                               'bookmark',
                                'browser',
                                'cancel',
                                'check',
@@ -79,6 +76,8 @@
                        moderation: [
                                'block',
                                'unBlock',
+                               'clip',
+                               'unClip',
                                'flag',
                                'unFlag',
                                'lock',
@@ -88,6 +87,7 @@
                                'unStar',
                                'trash',
                                'unTrash',
+                               'pushPin',
                                'ongoingConversation'
                        ],
                        'editing-core': [
diff --git a/oojs/oojs-ui/demos/pages/widgets.js 
b/oojs/oojs-ui/demos/pages/widgets.js
index 27aa493..15d3839 100644
--- a/oojs/oojs-ui/demos/pages/widgets.js
+++ b/oojs/oojs-ui/demos/pages/widgets.js
@@ -1306,6 +1306,44 @@
                                new OO.ui.FieldLayout(
                                        new OO.ui.ComboBoxInputWidget( {
                                                options: [
+                                                       { data: 'asd', label: 
'A Label for asd' },
+                                                       { data: 'fgh', label: 
'A Label for fgh' },
+                                                       { data: 'jkl', label: 
'A Label for jkl' },
+                                                       { data: 'zxc', label: 
'A Label for zxc' },
+                                                       { data: 'vbn', label: 
'A Label for vbn' },
+                                                       { data: 'asd', label: 
'B Label for asd' },
+                                                       { data: 'fgh', label: 
'B Label for fgh' },
+                                                       { data: 'jkl', label: 
'B Label for jkl' },
+                                                       { data: 'zxc', label: 
'B Label for zxc' },
+                                                       { data: 'vbn', label: 
'B Label for vbn' },
+                                                       { data: 'asd', label: 
'C Label for asd' },
+                                                       { data: 'fgh', label: 
'C Label for fgh' },
+                                                       { data: 'jkl', label: 
'C Label for jkl' },
+                                                       { data: 'zxc', label: 
'C Label for zxc' },
+                                                       { data: 'vbn', label: 
'C Label for vbn' },
+                                                       { data: 'asd', label: 
'D Label for asd' },
+                                                       { data: 'fgh', label: 
'D Label for fgh' },
+                                                       { data: 'jkl', label: 
'D Label for jkl' },
+                                                       { data: 'zxc', label: 
'D Label for zxc' },
+                                                       { data: 'vbn', label: 
'D Label for vbn' },
+                                                       { data: 'asd', label: 
'E Label for asd' },
+                                                       { data: 'fgh', label: 
'E Label for fgh' },
+                                                       { data: 'jkl', label: 
'E Label for jkl' },
+                                                       { data: 'zxc', label: 
'E Label for zxc' },
+                                                       { data: 'vbn', label: 
'E Label for vbn' }
+                                               ],
+                                               menu: {
+                                                       filterFromInput: true
+                                               }
+                                       } ),
+                                       {
+                                               label: 'ComboBoxInputWidget 
(filtering on input)',
+                                               align: 'top'
+                                       }
+                               ),
+                               new OO.ui.FieldLayout(
+                                       new OO.ui.ComboBoxInputWidget( {
+                                               options: [
                                                        { data: 'Option 1' },
                                                        { data: 'Option 2' },
                                                        { data: 'Option 3' },
diff --git a/oojs/oojs-ui/package.json b/oojs/oojs-ui/package.json
index d0a7478..9e3957d 100644
--- a/oojs/oojs-ui/package.json
+++ b/oojs/oojs-ui/package.json
@@ -1,6 +1,6 @@
 {
   "name": "oojs-ui",
-  "version": "0.21.2",
+  "version": "0.21.3",
   "description": "User interface classes built on the OOjs framework.",
   "keywords": [
     "oojs-plugin",
@@ -53,6 +53,7 @@
     "karma-coverage": "1.1.0",
     "karma-firefox-launcher": "1.0.0",
     "karma-qunit": "1.1.0",
+       "karma-remap-istanbul": "0.6.0",
     "q": "1.4.1",
     "qunitjs": "1.22.0",
     "stylelint": "7.8.0",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53696e023197ae4dd85605d6615e9faceda05398
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vendor
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to