From: James D. Forrester Date: Thu, 7 Mar 2019 09:22:27 +0000 (+0000) Subject: Update OOUI to v0.30.4 X-Git-Tag: 1.34.0-rc.0~2615^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%22%20.%20generer_url_entite%28%24id_rubrique%2C?a=commitdiff_plain;h=6a38e16b881e91a22f5c9acdb58ad1cab02b4879;p=lhc%2Fweb%2Fwiklou.git Update OOUI to v0.30.4 Release notes: https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.30.4 Bug: T92026 Bug: T145674 Bug: T206729 Bug: T213884 Bug: T216780 Bug: T217014 Bug: T217213 Bug: T217381 Bug: T217790 Depends-On: Id50f068908accd022c7847c40795286c32199b4e Change-Id: Id50f068908accd022c7847c40795286c32199b4a --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index f29921602f..111a6aae71 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -68,7 +68,7 @@ production. * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only). ==== Changed external libraries ==== -* Updated OOUI from v0.29.2 to v0.30.3. +* Updated OOUI from v0.29.2 to v0.30.4. * Updated OOjs Router from pre-release to v0.2.0. * Updated moment from v2.19.3 to v2.24.0. * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2. diff --git a/composer.json b/composer.json index 0169d45779..641e837adf 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ext-xml": "*", "guzzlehttp/guzzle": "6.3.3", "liuggio/statsd-php-client": "1.0.18", - "oojs/oojs-ui": "0.30.3", + "oojs/oojs-ui": "0.30.4", "pear/mail": "1.4.1", "pear/mail_mime": "1.10.2", "pear/net_smtp": "1.8.1", diff --git a/maintenance/resources/foreign-resources.yaml b/maintenance/resources/foreign-resources.yaml index af0744a398..d68e21f2f1 100644 --- a/maintenance/resources/foreign-resources.yaml +++ b/maintenance/resources/foreign-resources.yaml @@ -133,8 +133,8 @@ oojs-router: ooui: type: tar - src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.30.3.tgz - integrity: sha384-lKv5WHjcSDfly2Vd2u9JJErkfo+1yFi/+pfFL0bmOu3hKpcZQmaLvu6gmhkzH5WN + src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.30.4.tgz + integrity: sha384-uacCh/In2B0iX2dVwS3JEBDYWPKQ8xNx+dfP7eSwAj4aPugNhmxufjIOekw7cgJZ dest: # Main stuff package/dist/oojs-ui-core.js{,.map.json}: diff --git a/resources/lib/ooui/History.md b/resources/lib/ooui/History.md index 405130fff5..8387f161d0 100644 --- a/resources/lib/ooui/History.md +++ b/resources/lib/ooui/History.md @@ -1,4 +1,45 @@ # OOUI Release History +## v0.30.4 / 2019-03-06 +### Deprecations +* [DEPRECATING CHANGE] SelectWidget: Rename '-depressed' to '-unpressed' (Ed Sanders) +* [DEPRECATING CHANGE] icons: Deprecate 'web' from 'editing-citation' (Volker E.) + +### Features +* Implement 'error' flag and 'warning' type messages (Volker E.) +* MenuSelectWidget: Add 'filterMode' (Moriel Schottlender) + +### Styles +* Apex theme: Bring icons and layout styles from WikimediaUI theme (Volker E.) +* ButtonElement: Add styling for disabled active framed buttons (Bartosz Dziewoński) +* icons: Snap 'camera' icon's frame to pixel grid (Ed Sanders) +* icons: Add 'articleAdd' to 'content' pack (Volker E.) +* icons: Add 'imageLayout…' icons to 'editing-advanced' pack (Volker E.) +* WikimediaUI theme: De-emphasize `opacity` on TextInputWidget icons (Volker E.) +* WikimediaUI theme: Give user messages more whitespace (Volker E.) +* WikimediaUI theme: Place icons at top of message (Volker E.) +* themes: Fix TagItemWidget's vertical alignment in Safari (Volker E.) +* themes: Fix `padding` of label in DropdownWidget (Volker E.) +* themes: Provide 'emphasized' color for messages (Volker E.) + +### Code +* Consistently spell "access key" (Bartosz Dziewoński) +* Follow-up I5991001e257: Add missing function call to normalize query (Ed Sanders) +* Follow-up I5991001e: Do not filter item if query is empty (Moriel Schottlender) +* MenuTagMultiselectWidget: Use 'highlightOnFilter' flag in MenuSelectWidget (Ed Sanders) +* SelectWidget: Rewrite getItemMatcher without regular expressions (Ed Sanders) +* Tag.php: Prevent duplicates in class list (Ed Sanders) +* TextInputWidget: Reduce selector where applicable (Volker E.) +* themes: Unify TextInput selector code (Volker E.) +* build: Consistently indent .eslintrc.json files with tabs (Bartosz Dziewoński) +* build: Enable eslint 'max-len' in code and fix (James D. Forrester) +* build: Remove obsolete stylelint overrides (Volker E.) +* build: Update eslint-config-wikimedia to 0.11.0 (Ed Sanders) +* docs: Unify key names in documentation (Volker E.) +* icons: Manually optimize the SVG code of some icons (Thiemo Kreuz) +* icons: Re-crush with 'svgmin' build task (Volker E.) +* icons: Remove redundant `ry="…"` SVG attribute when identical to `rx="…"` (Thiemo Kreuz) + + ## v0.30.3 / 2019-02-20 ### Styles * WikimediaUI theme: Align TagItemWidget's close icon correctly (Volker E.) @@ -12,7 +53,7 @@ * ComboBoxInputWidget: Disable controls when widget is set to read-only (Ed Sanders) * MenuSelectWidget: Documentation fix (Ed Sanders) * ProgressBarWidget: Fix irregularities in indeterminate styling (Bartosz Dziewoński) -* TagMultiselectWidget: Populate input with item label on backspace (Thalia Chan) +* TagMultiselectWidget: Populate input with item label on Backspace key press (Thalia Chan) * Update getScrollLeft from upstream (Ed Sanders) * themes: Replace element by class attribute selector (Volker E.) * WikimediaUI theme: Remove variables with duplicated values (Volker E.) @@ -1018,7 +1059,7 @@ ## v0.22.4 / 2017-08-01 ### Features * CheckboxMultiselectInputWidget: setValue when CheckboxMultiselect changes (Prateek Saxena) -* FieldLayout: Show widget's accesskey in our title (Bartosz Dziewoński) +* FieldLayout: Show widget's access key in our title (Bartosz Dziewoński) * TextInputWidget: When positioning label, don't clear padding if we will set it again (Bartosz Dziewoński) * TitledElement: When an AccessKeyedElement, show access key in the title (Bartosz Dziewoński) @@ -1199,7 +1240,7 @@ * Allow more widgets to be focussed programatically (Bartosz Dziewoński) * Generalize `.getInputId()` for all widgets (Bartosz Dziewoński) * Use `.focus()` method when possible instead of looking inside widgets (Bartosz Dziewoński) -* TagMultiselectWidget: Fix `Ctrl`+`Backspace` to delete last item (Bartosz Dziewoński) +* TagMultiselectWidget: Fix Control+Backspace keys to delete last item (Bartosz Dziewoński) * TagMultiselectWidget: Fix order of checks for `allowArbitrary`/`allowDuplicates` (Bartosz Dziewoński) ### Styles @@ -1553,7 +1594,7 @@ ## v0.19.1 / 2017-02-07 ### Features -* Dialog: Support meta as well as ctrl for modifier on enter key (David Lynch) +* Dialog: Support Meta as well as Control for modifier on Enter key (David Lynch) ### Styles * FieldLayout: Fix styling for disabled widgets in PHP (Bartosz Dziewoński) @@ -1986,7 +2027,7 @@ * [DEPRECATING CHANGE] CapsuleMultiSelectWidget: Rename to CapsuleMultiselectWidget (Bartosz Dziewoński) ### Features -* SelectWidget/OptionWidget: Implement selecting by accesskey (Bartosz Dziewoński) +* SelectWidget/OptionWidget: Implement selecting by access key (Bartosz Dziewoński) * TextInputWidget: Stop returning 'multiline' from 'getSaneType' (Prateek Saxena) ### Styles @@ -2170,7 +2211,7 @@ * [DEPRECATING CHANGE] Move some editing icons from core to editing-* (James D. Forrester) ### Features -* Dialog: trigger the primary action with ctrl-enter (David Lynch) +* Dialog: trigger the primary action with Control+Enter (David Lynch) * TextInputWidget: Allow type="date" (Geoffrey Mon) ### Styles @@ -2268,7 +2309,7 @@ ## v0.15.3 / 2016-02-09 ### Features * CapsuleItemWidget: Let user tab through items, edit and delete them (Prateek Saxena) -* CapsuleMultiSelectWidget: Edit instead of remove on backspace (Prateek Saxena) +* CapsuleMultiSelectWidget: Edit instead of remove on Backspace (Prateek Saxena) * CapsuleWidgets: Edit on click and remove on Ctrl+Backspace (Prateek Saxena) * CapsuleWidgets: Toggle through capsules and the input with arrow keys (Prateek Saxena) * DropdownWidget: Open menu on up and down arrow keys (Prateek Saxena) @@ -2376,7 +2417,7 @@ * [DEPRECATING CHANGE] core: Deprecate add/removeCaptureEventListener (Bartosz Dziewoński) ### Features -* Send escape key cancel events through action handler (Alex Monk) +* Send Escape key cancel events through action handler (Alex Monk) ### Styles * MediaWiki theme: Align variable values & properties to CSS/Less guidelines (Volker E) @@ -3667,7 +3708,7 @@ * FieldLayout: Use `