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
This commit is contained in:
Eric Gardner 2023-07-19 14:51:07 -07:00
parent b42062e7d0
commit a0766a8ac7
21 changed files with 95 additions and 39 deletions

View file

@ -88,7 +88,7 @@ For notes on 1.40.x and older releases, see HISTORY.
* Updated wikimedia/common-passwords from 0.4.0 to 0.5.0.
* Updated wikimedia/minify from 2.3.0 to 2.4.0.
* Updated wikimedia/less.php from 4.0.0 to 4.1.0.
* Updated OOUI from v0.46.3 to v0.47.4.
* Updated OOUI from v0.46.3 to v0.47.5.
* …
===== Changed development-only external libraries =====

View file

@ -38,7 +38,7 @@
"justinrainbow/json-schema": "5.2.12",
"liuggio/statsd-php-client": "1.0.18",
"monolog/monolog": "2.2.0",
"oojs/oojs-ui": "0.47.4",
"oojs/oojs-ui": "0.47.5",
"pear/mail": "1.5.0",
"pear/mail_mime": "1.10.11",
"pear/net_smtp": "1.10.1",

View file

@ -401,10 +401,10 @@ ooui:
license: MIT
homepage: https://www.mediawiki.org/wiki/OOUI
authors: OOUI Team and other contributors
version: 0.47.4
version: 0.47.5
type: tar
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.47.4.tgz
integrity: sha384-X7KdEGKwsFlPwYB+qIDo1+OxHjqSys7vMhLdWnK30+VKvuKjtNabHccqD/S91v0w
src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.47.5.tgz
integrity: sha384-dRoluw0xt0U+s2yrziK23LyGVSS4kzIOo4HgmDjNzs2QCXGrEjpwasRiI0JnfOdZ
dest:
# Main stuff

View file

@ -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

View file

@ -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>

View file

@ -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": "ជំនួយ"
}

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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);

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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;

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 {

View file

@ -1,12 +1,12 @@
/*!
* OOUI v0.47.4
* OOUI v0.47.5
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 20112023 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 ) {