diff options
author | Eric Gardner <gardner.ec@gmail.com> | 2023-07-19 14:51:07 -0700 |
---|---|---|
committer | Eric Gardner <gardner.ec@gmail.com> | 2023-07-19 14:51:07 -0700 |
commit | a0766a8ac7a993900675963733b3535bcec435fa (patch) | |
tree | 3fcd2b28e7e1aa75e6ea8ad72014f827301530a6 /resources/lib/ooui | |
parent | b42062e7d068a8b01af3fb72a7885d23379bc0e6 (diff) | |
download | mediawikicore-a0766a8ac7a993900675963733b3535bcec435fa.tar.gz mediawikicore-a0766a8ac7a993900675963733b3535bcec435fa.zip |
Update OOUI from 0.47.4 to 0.47.5
Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.5/History.md
Depends-On: Ia581f44ca0f147b318ce59b7271e4106d930ac3f
Change-Id: Ia6819baf32b93bbe67245709d4d9e5ef1358b22c
Diffstat (limited to 'resources/lib/ooui')
-rw-r--r-- | resources/lib/ooui/History.md | 6 | ||||
-rw-r--r-- | resources/lib/ooui/README.md | 51 | ||||
-rw-r--r-- | resources/lib/ooui/i18n/km.json | 2 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-apex.js | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-core-apex.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-core-wikimediaui.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-core.js | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-images-wikimediaui.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-toolbars-apex.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-toolbars-wikimediaui.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-toolbars.js | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-widgets-apex.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-widgets-wikimediaui.css | 9 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-widgets.js | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-wikimediaui.js | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-windows-apex.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-windows-wikimediaui.css | 4 | ||||
-rw-r--r-- | resources/lib/ooui/oojs-ui-windows.js | 4 |
18 files changed, 90 insertions, 34 deletions
diff --git a/resources/lib/ooui/History.md b/resources/lib/ooui/History.md index 21e41ad9dab8..6a6e294a5e29 100644 --- a/resources/lib/ooui/History.md +++ b/resources/lib/ooui/History.md @@ -1,4 +1,10 @@ # OOUI Release History +## v0.47.5 / 2023-07-19 +### Code +* ToggleSwitch: Display checked state correctly in RTL (Roan Kattouw) + +### Documentation +* README: Document vendor and mediawiki stages of the release process (Roan Kattouw) ## v0.47.4 / 2023-07-10 ### Code diff --git a/resources/lib/ooui/README.md b/resources/lib/ooui/README.md index 7a5d408a7180..de98fcafd1b3 100644 --- a/resources/lib/ooui/README.md +++ b/resources/lib/ooui/README.md @@ -118,7 +118,7 @@ Release process: $ git remote update $ git checkout -B release -t origin/master - # Clean install npm dependencies. Update Composer dependecies. And ensure tests pass + # Clean install npm dependencies. Update Composer dependencies. And ensure tests pass $ npm ci && composer update && npm test && composer test # Update release notes @@ -132,17 +132,64 @@ Release process: $ git log --format='* %s (%aN)' --no-merges v$(node -e 'console.log(require("./package").version);')...HEAD | grep -v "Localisation updates from" | sort $ edit History.md + # Generate the list of Phabricator tasks + # Copy the resulting list and save it for later. Paste it into the commit message when updating MediaWiki. + $ git log --pretty=format:%b v$(node -e 'console.log(require("./package").version);')...HEAD | grep Bug: | sort | uniq + # Update the version number (change 'patch' to 'minor' if you've made breaking changes): $ npm version patch --git-tag-version=false + # Commit the release and submit to Gerrit $ git add -p $ git commit -m "Tag v$(node -e 'console.log(require("./package").version);')" $ git review - # After merging: + # After merging this commit, push the tag and publish to NPM: $ git remote update $ git checkout origin/master $ git tag "v$(node -e 'console.log(require("./package").version);')" $ npm run publish-build && git push --tags && npm publish + # Update the mediawiki/vendor repo: + $ cd path/to/mediawiki-vendor + # Replace 1.2.34 with the version number of the new release + # See the README.md in the mediawiki/vendor repo for info on which composer version you must use + # and how to run composer through Docker if you have the wrong version + $ composer require oojs/oojs-ui 1.2.34 --no-update + $ composer update --no-dev + $ git add oojs/oojs-ui + # Commit these changes with the following commit message (example: https://gerrit.wikimedia.org/r/c/mediawiki/vendor/+/813629 ) + # Update OOUI to v1.2.34 + # + # Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v1.2.34/History.md" + $ git commit -a + $ git review + # Look at the commit message to get the Change-Id. Copy the Change-Id and save it for later. + # You will need it for the Depends-On: line in the commit message when updating MediaWiki. + $ git show --stat + + # Update the mediawiki repo: + $ cd path/to/mediawiki + # Update the version number of oojs/oojs-ui + $ edit composer.json + # Update or add the "Updated OOUI from v1.2.24 to v1.2.34" entry in the "Changed external libraries" section + $ edit RELEASE-NOTES-1.NN + # Update the version: field and the version number in the URL for ooui + $ edit resources/lib/foreign-resources.yaml + # Compute the new integrity hash + $ php maintenance/run.php manageForeignResources make-sri ooui + # Replace the integrity: field with this new hash + $ edit resources/lib/foreign-resources.yaml + $ php maintenance/run.php manageForeignResources update ooui + $ git add resources/lib/ooui + # Commit these changes with the following commit message (example: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/813630 ) + # Update OOUI to v1.2.34 + # + # Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v1.2.34/History.md" + # + # [Insert the list of Bug: lines you saved before] + # Depends-On: [Insert the Change-Id of the vendor repo commit] + $ git commit -a + $ git review + </pre> diff --git a/resources/lib/ooui/i18n/km.json b/resources/lib/ooui/i18n/km.json index ae28b6fa382f..28134a651090 100644 --- a/resources/lib/ooui/i18n/km.json +++ b/resources/lib/ooui/i18n/km.json @@ -6,6 +6,7 @@ "គីមស៊្រុន" ] }, + "ooui-copytextlayout-copy": "ចម្លង", "ooui-outline-control-move-down": "រុញធាតុទៅក្រោម", "ooui-outline-control-move-up": "រុញធាតុទៅលើ", "ooui-outline-control-remove": "ដកធាតុចេញ", @@ -25,5 +26,6 @@ "ooui-selectfile-placeholder": "គ្មានឯកសារណាមួយត្រូវបានជ្រើសរើស", "ooui-selectfile-dragdrop-placeholder": "ទម្លាក់ឯកសារនៅទីនេះ", "ooui-selectfile-dragdrop-placeholder-multiple": "ទម្លាក់ឯកសារនៅទីនេះ", + "ooui-popup-widget-close-button-aria-label": "បិទ", "ooui-field-help": "ជំនួយ" } diff --git a/resources/lib/ooui/oojs-ui-apex.js b/resources/lib/ooui/oojs-ui-apex.js index 3b366bfa56cb..198f62f3f487 100644 --- a/resources/lib/ooui/oojs-ui-apex.js +++ b/resources/lib/ooui/oojs-ui-apex.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { diff --git a/resources/lib/ooui/oojs-ui-core-apex.css b/resources/lib/ooui/oojs-ui-core-apex.css index 74f0bd9011fb..1d257acebd85 100644 --- a/resources/lib/ooui/oojs-ui-core-apex.css +++ b/resources/lib/ooui/oojs-ui-core-apex.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-element-hidden { display: none !important; diff --git a/resources/lib/ooui/oojs-ui-core-wikimediaui.css b/resources/lib/ooui/oojs-ui-core-wikimediaui.css index 1c64fe5a6855..d65361b27d33 100644 --- a/resources/lib/ooui/oojs-ui-core-wikimediaui.css +++ b/resources/lib/ooui/oojs-ui-core-wikimediaui.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-element-hidden { display: none !important; diff --git a/resources/lib/ooui/oojs-ui-core.js b/resources/lib/ooui/oojs-ui-core.js index 28d4ab28bc08..fa5f6ea43709 100644 --- a/resources/lib/ooui/oojs-ui-core.js +++ b/resources/lib/ooui/oojs-ui-core.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { diff --git a/resources/lib/ooui/oojs-ui-images-wikimediaui.css b/resources/lib/ooui/oojs-ui-images-wikimediaui.css index bd3664df2383..dd8fa53c6fd0 100644 --- a/resources/lib/ooui/oojs-ui-images-wikimediaui.css +++ b/resources/lib/ooui/oojs-ui-images-wikimediaui.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-icon-arrowNext { background-image: /* @embed */ url(themes/wikimediaui/images/icons/arrowNext-ltr.svg); diff --git a/resources/lib/ooui/oojs-ui-toolbars-apex.css b/resources/lib/ooui/oojs-ui-toolbars-apex.css index 1c7b57987318..f917d37ed9a1 100644 --- a/resources/lib/ooui/oojs-ui-toolbars-apex.css +++ b/resources/lib/ooui/oojs-ui-toolbars-apex.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon { display: none; diff --git a/resources/lib/ooui/oojs-ui-toolbars-wikimediaui.css b/resources/lib/ooui/oojs-ui-toolbars-wikimediaui.css index 23ee9bc75bd9..f8cb160d2611 100644 --- a/resources/lib/ooui/oojs-ui-toolbars-wikimediaui.css +++ b/resources/lib/ooui/oojs-ui-toolbars-wikimediaui.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-tool { box-sizing: border-box; diff --git a/resources/lib/ooui/oojs-ui-toolbars.js b/resources/lib/ooui/oojs-ui-toolbars.js index cedf2d218018..5f8e9ac9e949 100644 --- a/resources/lib/ooui/oojs-ui-toolbars.js +++ b/resources/lib/ooui/oojs-ui-toolbars.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { diff --git a/resources/lib/ooui/oojs-ui-widgets-apex.css b/resources/lib/ooui/oojs-ui-widgets-apex.css index c1991867e50a..dbb753beed33 100644 --- a/resources/lib/ooui/oojs-ui-widgets-apex.css +++ b/resources/lib/ooui/oojs-ui-widgets-apex.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ), .oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget { diff --git a/resources/lib/ooui/oojs-ui-widgets-wikimediaui.css b/resources/lib/ooui/oojs-ui-widgets-wikimediaui.css index 76d2efff33ef..8f2207a4f490 100644 --- a/resources/lib/ooui/oojs-ui-widgets-wikimediaui.css +++ b/resources/lib/ooui/oojs-ui-widgets-wikimediaui.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ), .oo-ui-draggableElement-handle:not( .oo-ui-draggableElement-undraggable ).oo-ui-widget { @@ -325,6 +325,7 @@ } .oo-ui-toggleSwitchWidget-grip { top: 50%; + left: 1px; min-width: 20px; width: 1.42857143em; min-height: 20px; @@ -332,13 +333,13 @@ border-radius: 50%; transition-property: background-color, border-color, transform; transition-duration: 250ms, 100ms, 100ms; - transform: translateX(5px) translateY(-50%); + transform: translateX(4px) translateY(-50%); } .oo-ui-toggleSwitchWidget-glow { display: none; } .oo-ui-toggleSwitchWidget.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip { - transform: translateX(calc(100% + 1px)) translateY(-50%); + transform: translateX(100%) translateY(-50%); } .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip { background-color: #f8f9fa; diff --git a/resources/lib/ooui/oojs-ui-widgets.js b/resources/lib/ooui/oojs-ui-widgets.js index 901e4d6facd6..b5c4d8a6fc60 100644 --- a/resources/lib/ooui/oojs-ui-widgets.js +++ b/resources/lib/ooui/oojs-ui-widgets.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { diff --git a/resources/lib/ooui/oojs-ui-wikimediaui.js b/resources/lib/ooui/oojs-ui-wikimediaui.js index c3dc692244dd..5792afe5f2f9 100644 --- a/resources/lib/ooui/oojs-ui-wikimediaui.js +++ b/resources/lib/ooui/oojs-ui-wikimediaui.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { diff --git a/resources/lib/ooui/oojs-ui-windows-apex.css b/resources/lib/ooui/oojs-ui-windows-apex.css index 83807516aa25..257af76c254a 100644 --- a/resources/lib/ooui/oojs-ui-windows-apex.css +++ b/resources/lib/ooui/oojs-ui-windows-apex.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-window { diff --git a/resources/lib/ooui/oojs-ui-windows-wikimediaui.css b/resources/lib/ooui/oojs-ui-windows-wikimediaui.css index 11bc007bba57..f18243ae84e1 100644 --- a/resources/lib/ooui/oojs-ui-windows-wikimediaui.css +++ b/resources/lib/ooui/oojs-ui-windows-wikimediaui.css @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:15Z + * Date: 2023-07-19T21:37:43Z */ .oo-ui-window { diff --git a/resources/lib/ooui/oojs-ui-windows.js b/resources/lib/ooui/oojs-ui-windows.js index 1593cd25724e..a5f287d9adc6 100644 --- a/resources/lib/ooui/oojs-ui-windows.js +++ b/resources/lib/ooui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOUI v0.47.4 + * OOUI v0.47.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2023 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2023-07-10T16:09:12Z + * Date: 2023-07-19T21:37:40Z */ ( function ( OO ) { |