From: James D. Forrester Date: Fri, 23 Mar 2018 23:55:39 +0000 (-0700) Subject: Update OOUI to v0.26.1 X-Git-Tag: 1.31.0-rc.0~295^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=69fac50dc26f642346ce38c79a7654cc409be7b2 Update OOUI to v0.26.1 Release notes: https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.26.1 Depends-On: Ia4bd9eb5c3909fd1fa8b7ee41a0401c328eaecaa Change-Id: Ia4bd9eb5c3909fd1fa8b7ee41a0401c328eaecab --- diff --git a/composer.json b/composer.json index c242e59362..cab51fae8e 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-xml": "*", "liuggio/statsd-php-client": "1.0.18", "mediawiki/at-ease": "1.2.0", - "oojs/oojs-ui": "0.26.0", + "oojs/oojs-ui": "0.26.1", "oyejorge/less.php": "1.7.0.14", "php": ">=5.5.9", "psr/log": "1.0.2", diff --git a/maintenance/resources/update-ooui.sh b/maintenance/resources/update-ooui.sh index 502b01d889..673d5070c8 100755 --- a/maintenance/resources/update-ooui.sh +++ b/maintenance/resources/update-ooui.sh @@ -84,6 +84,12 @@ cp ./node_modules/oojs-ui/src/themes/apex/*.json "$REPO_DIR/$TARGET_DIR/themes/a # WikimediaUI LESS variables for sharing cp ./node_modules/oojs-ui/dist/wikimedia-ui-base.less "$REPO_DIR/$TARGET_DIR" +# Misc stuff +cp ./node_modules/oojs-ui/dist/AUTHORS.txt "$REPO_DIR/$TARGET_DIR" +cp ./node_modules/oojs-ui/dist/History.md "$REPO_DIR/$TARGET_DIR" +cp ./node_modules/oojs-ui/dist/LICENSE-MIT "$REPO_DIR/$TARGET_DIR" +cp ./node_modules/oojs-ui/dist/README.md "$REPO_DIR/$TARGET_DIR" + # Clean up temporary area rm -rf "$NPM_DIR" diff --git a/resources/lib/oojs-ui/AUTHORS.txt b/resources/lib/oojs-ui/AUTHORS.txt new file mode 100644 index 0000000000..52b4888572 --- /dev/null +++ b/resources/lib/oojs-ui/AUTHORS.txt @@ -0,0 +1,65 @@ +Principal Authors (major contributors, alphabetically) + +Bartosz Dziewoński +Ed Sanders +James D. Forrester +Kirsten Menger-Anderson +Kunal Mehta +Moriel Schottlender +Prateek Saxena +Roan Kattouw +Rob Moen +Timo Tijhof +Trevor Parscal +Volker E. + +Patch Contributors (minor contributors, alphabetically) + +Alangi Derick +Alex Monk +Amir E. Aharoni +Amir Sarabadani +Andrew Garrett +Andrew Green +Antoine Musso +Brad Jorsch +Brion Vibber +C. Scott Ananian +Chad Horohoe +codynguyen1116 +David Lynch +Derk-Jan Hartman +eranroz +Erick Guan +Erik Moeller +Florian +Geoffrey Mon +Gilles Dubuc +Huji Lee +Inez Korczyński +IvanFon +Jon Robson +Juliusz Gonera +Kartik Mistry +Kyle Florence +Leszek Manicki +Marc A. Pelletier +Mark Holmquist +Matthew Flaschen +May Tee-Galloway +Mr. Stradivarius +Niklas Laxström +Nirzar Pangarkar +Ori Livneh +Paladox +Pau Giner +Ricordisamoa +rillke +Ryan Kaldari +Sam Reed +Stephane Bisson +Sucheta Ghoshal +Thalia Chan +Victor Barbu +Wei-Ko Kao +Željko Filipin diff --git a/resources/lib/oojs-ui/History.md b/resources/lib/oojs-ui/History.md new file mode 100644 index 0000000000..44bb274465 --- /dev/null +++ b/resources/lib/oojs-ui/History.md @@ -0,0 +1,3185 @@ +# OOUI Release History +## v0.26.1 / 2018-03-23 +### Deprecations +* [DEPRECATING CHANGE] icons: Flag 'comment' as to be removed (James D. Forrester) +* [DEPRECATING CHANGE] icons: Rename 'clip'/'unClip' to 'bookmark'/'bookmarkOutline' (Volker E.) + +### Styles +* ButtonElement (framed): Remove `padding` on icon + indicator variant (Volker E.) +* WikimediaUI theme: Reduce distance of Tools in BarToolGroup (Volker E.) +* WikimediaUI theme: Reduce necessary widths for narrow toolbar elements (Volker E.) +* WikimediaUI icons: Amend 'help' icon to address feedback (Volker E.) +* WikimediaUI icons: Fix 'speechBubbles' icons (Volker E.) +* WikimediaUI icons: Fix 'underline-a' icon to be an 'a', not a 'u' (Ed Sanders) +* WikimediaUI icons: Slightly adapted size of 'clip'/'unClip' for algnment to other icons (Volker E.) +* WikimediaUI icons: Swap 'advanced' and 'settings' icons (Volker E.) + +### Code +* WikimediaUI theme: Remove unused RTL variants of alignLeft/Right icons (Ed Sanders) +* WikimediaUI theme: Fix/remove unused icon files (Bartosz Dziewoński) +* demos: Add alert popout to toolbars demos (Volker E.) +* demos: Add specialCharacter terminal tool to toolbars demos (James D. Forrester) +* docs: Add Demos to JSDuck navigation menu (Timo Tijhof) +* build: Replace grunt-image with grunt-imagemin (James D. Forrester) +* icons: Re-crush SVGs (James D. Forrester) + +## v0.26.0 / 2018-03-20 +### Breaking changes +* [BREAKING CHANGE] WikimediaUI: Unify available variants across icon packs (Ed Sanders) +* [BREAKING CHANGE] icons: Remove 'alignCentre', renamed in v0.24.2 (James D. Forrester) +* [BREAKING CHANGE] icons: Remove 'arrowLast', deprecated since v0.25.0 (James D. Forrester) +* [BREAKING CHANGE] icons: Remove 'bellOn', deprecated in v0.25.0 (James D. Forrester) +* [BREAKING CHANGE] icons: Remove 'quotesAdd', deprecated in v0.24.4 (James D. Forrester) +* [BREAKING CHANGE] icons: Remove 'redirect', renamed in v0.24.4 (James D. Forrester) +* [BREAKING CHANGE] indicators: Remove 'next' and 'previous', deprecated in v0.25.0 (James D. Forrester) + +### Features +* FieldLayout: Use better icons for warning/error messages (Bartosz Dziewoński) +* MenuTagMultiselectWidget: Check for empty inputValue in addTagFromInput (Prateek Saxena) +* TagMultiselectWidget: Handle disabled items (Moriel Schottlender) + +### Styles +* WikimediaUI theme: Add additional 'interactions' & 'media' pack icons (Volker E.) +* WikimediaUI theme: Align refined WikimediaUI icons in size and position (Volker E.) +* WikimediaUI theme: Apply `translateZ` hack to full canvas icons (Volker E.) +* WikimediaUI theme: Fix regression on accelerator key alignment (Volker E.) +* WikimediaUI theme: Fix toolbar buttonGroup (Ed Sanders) +* WikimediaUI theme: Harmonize `padding` on FieldLayout messages (Volker E.) +* WikimediaUI theme: Unify and refine WikimediaUI icons (Volker E.) +* WikimediaUI theme: Use `14px` base font size & amend positioning/sizing (Volker E.) +* Apex theme: Fix toolbar buttonGroup (Ed Sanders) +* Apex theme: Make Apex also use 20px canvas icons (Bartosz Dziewoński) + +### Code +* Use theme rules to define which tools should get blue icons, not flags (Ed Sanders) +* build: Make the copy task for the WikimediaUI less vars less confusing (James D. Forrester) +* build: Stop using 'grunt-image' for optimising PNGs, at least for now (James D. Forrester) +* build: Switch SVG optimization to 'grunt-svgmin' (Volker E.) +* build: Temporarily disable running unit tests in Firefox due to timeouts (James D. Forrester) +* build: Update devDependencies to latest (James D. Forrester) +* build: Updating jakub-onderka/php-parallel-lint to 1.0.0 (libraryupgrader) +* build: Acknowledge in package.json that grunt-exec 3.0.0 exists, but we don't want it (Bartosz Dziewoński) +* demos: Include editor switch menu in toolbars menu (Volker E.) +* demos: Increase base `font-size` to `14px` (Volker E.) +* demos: Re-enable bigger base size on mobile breakpoint (Volker E.) +* demos: Use `0.8em` body font size for Apex (Bartosz Dziewoński) +* dist: Distribute History.md so people can see what's changed (James D. Forrester) + + +## v0.25.3 / 2018-03-06 +### Features +* DropdownInputWidget: Extract menu item creation (Gabriel Birke) +* MenuTagMultiselectWidget: Highlight first item when filtering (Moriel Schottlender) +* demos: Use individual oojs-ui-* JS files for sourcemap support (Moriel Schottlender) + +### Styles +* WikimediaUI theme: Align action toolbar primary button focus state (Volker E.) +* WikimediaUI theme: Align toolbar items' focus to widgets elsewhere (Volker E.) + +### Code +* Imply `inline-block` on toolbar item labels (Volker E.) +* CheckboxMultiselectInputWidget: Fix handling of 'name' config option in JS (Bartosz Dziewoński) +* TagMultiselectWidget: Only apply `onMouseDown` if not in input (Moriel Schottlender) +* Gruntfile: Remove reference to long-absent at-ease PHP library (James D. Forrester) +* build: Add jakub-onderka/php-console-highlighter (Umherirrender) +* build: Adding MinusX (Kunal Mehta) +* build: Updating mediawiki/mediawiki-codesniffer to 16.0.1 (libraryupgrader) +* build: Updating phpunit/phpunit to 4.8.36 || ^6.5 (libraryupgrader) +* build: pass --ansi --no-progress to composer (Antoine Musso) +* demos: Add monospace hack for `code` element (Volker E.) +* demos: Only claim ARIA `main` role on the first toolbar demo (Volker E.) +* demos: Replace “Save” by “Publish changes” (Volker E.) + + +## v0.25.2 / 2018-02-06 +### Deprecations +* [DEPRECATING CHANGE] icons: Flag indicator 'alert' as to be removed (Volker E.) + +### Features +* Element: Fix infusion edge case (Bartosz Dziewoński) +* InputWidget and subclasses: Remember original value when creating the widget (Bartosz Dziewoński) +* MultilineTextInputWidget: Emit 'enter' for Ctrl+Enter (Ed Sanders) +* MenuTagMultiselectWidget: Erase the input when a menu option is chosen (Prateek Saxena) +* OptionWidget: Option is still selectable/highlightable/pressable if its parent is disabled (Bartosz Dziewoński) +* RadioSelectInputWidget: Prevent exceptions when trying to set unavailable options (Bartosz Dziewoński) + +### Styles +* FieldLayout: Fix help icon negative margin in Apex (Ed Sanders) +* LabelElement: Switch `box-sizing` to `border-box` (srishakatux) +* ListToolGroup: Correctly point the collapse/expand icon on bottom toolbars (Volker E.) +* RadioSelectInputWidget, CheckboxMultiselectInputWidget: Fix spacing between options in PHP (Apex theme) (Bartosz Dziewoński) + +### Code +* Avoid having to call `.setValue()` in some widgets' constructors multiple times (Bartosz Dziewoński) +* CheckboxMultiselectInputWidget: Turn inline event handler into a method (Bartosz Dziewoński) +* DraggableElement: Replace 'OOjs-UI' with 'OOUI' for code hygiene (Volker E.) +* TextInputWidget: Move previously forgotten methods to Multiline (Bartosz Dziewoński) +* Follow-up b28e99712: Remove `mediawiki/at-ease` dependancy (Sam Reed) +* Reduce code duplication between `#setValue` and `#setOptions` (Bartosz Dziewoński) +* Remove duplicate documentation between TextInputWidget and Multiline (Bartosz Dziewoński) +* TextInputWidget: Document that 'maxLength' counts UTF-16 code units (Bartosz Dziewoński) +* Toolbars: Replace `$.width` with `clientWidth`/`offsetWidth` (Ed Sanders) +* Use child selectors for menuLayout (Ed Sanders) +* build: Don't lint a generated JSON file for validity before it's rebuilt (James D. Forrester) +* build: Update Rubocop config for deprecations (Bartosz Dziewoński) +* demos, docs: Replace 'alert' indicator, as it's deprecated (Volker E.) +* demos: Bring “Word processor toolbar” demos closer to VE (Volker E.) +* demos: Provide more space at bottom of page (Volker E.) +* tests: Do not use obviously fake data when testing infusion (Bartosz Dziewoński) +* testsuitegenerator: Test some 'value' parameters that match 'options' parameters (Bartosz Dziewoński) + + +## v0.25.1 / 2018-01-16 +### Code +* Allow other stuff to handle the event when we call `simulateLabelClick()` (Bartosz Dziewoński) +* Follow-Up I0f1d9c1f: Update usages of `getSelectedItem` -> `findSelectedItem` (Ed Sanders) +* PanelLayout: Remove buggy `translateZ` performance hack (Volker E.) +* PopupToolGroup: Revert "Fix popup direction changing…" (Bartosz Dziewoński) +* Rename prefixes of unique IDs to not mention "OOjs" (Bartosz Dziewoński) +* build, demos, docs: Use “OOUI” as unified name (Volker E.) +* demos: Use MultilineTextInputWidget in PHP demos (Ed Sanders) +* docs: Clarify `required` true handling with `indicator: 'required'` (Volker E.) +* docs: Use “OOUI” as unified name in code comments (Volker E.) + + +## v0.25.0 / 2018-01-09 +### Breaking changes +* [BREAKING CHANGE] Drop the `constructive` flag entirely (James D. Forrester) +* [BREAKING CHANGE] Remove `BookletLayout#getClosestPage` (James D. Forrester) +* [BREAKING CHANGE] SelectWidget: Remove `getFirstSelectableItem` (Prateek Saxena) +* [BREAKING CHANGE] SelectWidget: Remove `getHighlightedItem` (Prateek Saxena) +* [BREAKING CHANGE] SelectWidget: Remove `getRelativeSelectableItem` (Prateek Saxena) +* [BREAKING CHANGE] icons: Drop 'watchlist', deprecated in v0.23.1 (James D. Forrester) + +### Deprecations +* [DEPRECATING CHANGE] GroupElement: Rename getItem(s)FromData to findItem(s)FromData (Prateek Saxena) +* [DEPRECATING CHANGE] MultiSelectWidget: Rename getters (Prateek Saxena) +* [DEPRECATING CHANGE] SelectWidget: Rename `getSelectedItem` to `findSelectedItem` (Prateek Saxena) +* [DEPRECATING CHANGE] icons: Flag indicators 'previous' & 'next' as to be removed (Volker E.) +* [DEPRECATING CHANGE] icons: Rename 'arrowLast' to 'arrowPrevious' (James D. Forrester) + +### Features +* MenuTagMultiselectWidget: Erase the input when tag is selected if filtering (Moriel Schottlender) + +### Styles +* Add `margin-bottom` for widgets which are part of OOUI HorizontalLayout (Phantom42) +* FieldLayout: Improve alignment of multiline labels with 'help' button (Bartosz Dziewoński) +* WikimediaUI theme: Align 'transparency' icon to WikimedaUI color palette (Volker E.) +* WikimediaUI theme: Remove obsolete global flag for 'layout' icon pack (Volker E.) +* WikimediaUI theme: Remove obsolete icon flags (Volker E.) +* Apex theme: Align readonly TextInputWidget across themes (Volker E.) +* Apex theme: Apply `opacity` button transition and ensure Chrome support (Volker E.) +* Apex theme: Remove unused, obsolete 'logo-wikimediaDiscovery' icon (Volker E.) +* icons: Remove obsolete 'bookmark' icon remainders (Volker E.) +* icons: Remove obsolete 'watchlist' icon remainders (Volker E.) +* icons: Shorten 'accessibility' pack invert hex color (Volker E.) + +### Code +* Clarify `.oo-ui-force-gpu-composite-layer()` mixin comment (Volker E.) +* Fix blurry text on PanelLayout promoted to GPU in Safari (Volker E.) +* Fix popup direction changing when the "anchor" is partially offscreen (Bartosz Dziewoński) +* MenuTagMultiselectWidget: Don't use overlay for `$autoCloseIgnore` (Moriel Schottlender) +* MultilineTextInputWidget: Correct documentation for `config.maxRows` (Roan Kattouw) +* PHP TextInputWidget: Remove remaining type 'search' specific code (Volker E.) +* Use findItem(s)FromData instead of getItem(s)FromData (Prateek Saxena) +* demos: Override OO.ui.getViewportSpacing in infused PHP demo too (Bartosz Dziewoński) +* demos: Promote icons page IndicatorWidget to GPU layer (Volker E.) +* docs: Bump copyright year (James D. Forrester) +* docs: TagMultiselectWidget: Remove wrong link to MediaWiki documentation (Prateek Saxena) +* build: Update .gitattributes for .phpcs.xml file move (Kunal Mehta) +* build: Add rake to Gemfile (Antoine Musso) +* build: Don't include Gemfile* in composer zipballs (Kunal Mehta) +* build: Update RuboCop Ruby gem (Željko Filipin) +* build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 (libraryupgrader) +* build: Use SVGO option of 'grunt-image' for distribution (Volker E.) + + +## v0.24.4 / 2017-12-20 special release +### Deprecations +* [DEPRECATING CHANGE] icons: Flag unused 'bellOn' icon as to be removed (Volker E.) +* [DEPRECATING CHANGE] icons: Flag unused 'quotesAdd' & 'redirect' as to be removed (Volker E.) + +### Features +* Introduce `OO.ui.getDefaultOverlay` (Bartosz Dziewoński) +* Put menus/popups of infused PHP widgets into the default overlay (Bartosz Dziewoński) + +### Styles +* icons: Add 'lightbulb' icon (Prateek Saxena) +* icons: Add 'stop' icon to Apex theme (Volker E.) + +### Code +* ClippableElement: Fix JS error when Floatable is mixed in but disabled (Roan Kattouw) +* DropdownWidget: Remove stray use of `this.$()` (Bartosz Dziewoński) + + +## v0.24.3 / 2017-11-28 +### Features +* Allow adding virtual viewport spacing (Bartosz Dziewoński) +* ClippableElement: Allow clipping with top or left edge (Bartosz Dziewoński) +* DropdownInputWidget: Generate a hidden `` attribute styles (Volker E) +* MediaWiki theme: Align `input` & `textarea` coding style to Less way (Volker E) + + +## v0.17.1 / 2016-05-03 +### Styles +* CapsuleMultiSelectWidget: Fix cross-browser inconsistencies and improve UX (Volker E) +* SelectFileWidget: Add `no-drop` cursor where it belongs (Volker E) +* MediaWiki theme: Align focus state of capsuleItemWidget with other widgets (Volker E) +* MediaWiki theme: Custom `:focus` state for SelectWidgets (Bartosz Dziewoński) +* MediaWiki theme: Standardize `:focus` states of ButtonWidgets (Volker E) + +### Code +* DraggableGroupElement: Simplify and improve drag logic (Ed Sanders) + + +## v0.17.0 / 2016-04-26 +### Breaking changes +* [BREAKING CHANGE] PHP: Use traits instead of custom mixin system (Kunal Mehta) +* [BREAKING CHANGE] TitledElement.php: Remove $element::$title fallback (Kunal Mehta) + +### Styles +* MenuToolGroup: Correct display of checkmarks (Bartosz Dziewoński) +* OutlineOptionWidget: Correct the size of the icons (David Lynch) +* OutlineOptionWidget: Don't apply italics to "placeholder" status (James D. Forrester) +* SelectFileWidget: Fix UI glitches on over-long filenames (Volker E) +* TabOptionWidget: Disabled OptionWidget should receive default cursor (Volker E) +* styles: Add fullScreen icon to media group (Ed Sanders) + +### Code +* ButtonElement.php: Fix toggleFramed() to actually be chainable (Bartosz Dziewoński) +* GroupElement::$targetPropertyName: Remove, no longer needed (Kunal Mehta) +* IconElement.php: Rename protected "icon" property (Kunal Mehta) +* IndicatorElement.php: Rename protected "indicator" property (Kunal Mehta) +* LabelElement.php: Rename protected "label" property (Kunal Mehta) +* build: Update grunt-svg2png to v0.2.7-wmf.1 (Paladox) +* demos: Split off demos.php from widgets.php (Bartosz Dziewoński) +* docparser: Remove commented-out line of code (Bartosz Dziewoński) +* styles: Factor out `max-width-input-default` variable (Volker E) + + +## v0.16.6 / 2016-04-19 +### Features +* ButtonOptionWidget: Inherit OptionWidget, not DecoratedOptionWidget (Bartosz Dziewoński) +* ClippableElement: Gracefully handle failure to call clip() after natural height change (Roan Kattouw) +* NumberInputWidget: Disable onWheel action unless the widget has focus (Bartosz Dziewoński) +* NumberInputWidget: Disable onWheel action when the widget is disabled (Prateek Saxena) +* NumberInputWidget: Use input type="number" (Prateek Saxena) +* TextInputWidget: Allow type="number" (Prateek Saxena) +* TextInputWidget: Set step to 'any' if the type is set to 'number' (Prateek Saxena) +* styles: Give icons, indicators `min-width/-height` for cross-browser support (Volker E) + +### Styles +* Apex, MediaWiki themes: Properly center PopupButtonWidget anchors (Roan Kattouw) +* MediaWiki theme: Use disabled color variable for disabled label (Volker E) +* styles: Use transparent rather than white in icons (Bartosz Dziewoński) + +### Code +* SelectFileWidget: Merge identical CSS rules (Volker E) +* SelectFileWidget: Simplify CSS selector specificity (Volker E) +* TextInputWidget: Clarify comment about affected browsers (Volker E) +* TextInputWidget: Consolidate selectors with the same property rules (Volker E) +* TextInputWidget: Stop claiming to fire non existent events in the documentation (Prateek Saxena) +* styles: Centralise the width/height properties of icons and indicators (Volker E) +* Apex theme: Change variable names to match MediaWiki theme (Bartosz Dziewoński) +* README: Update with new build process (Matthew Flaschen) +* typo: texfield -> textfield (Derk-Jan Hartman) + + +## v0.16.5 / 2016-04-07 +### Styles +* Prevent modal windows from exceeding available height on Firefox (Bartosz Dziewoński) +* Apex, MediaWiki themes: Add "articles" icon (Marc A. Pelletier) +* DropdownInputWidget: Give un-infused widget cursor:pointer (Ed Sanders) +* RadioSelectInputWidget: Match PHP styling to JS (Bartosz Dziewoński) + +### Code +* ComboBoxInputWidget: Disable autocomplete by default (James D. Forrester) +* GroupElement: Add change event (Prateek Saxena) +* GroupElement.php: Use strict mode in array_search (James D. Forrester) +* styles: Lower specifity of CSS type attribute selectors (Volker E) +* styles: Minor cleanup and unification of values and comments (Volker E) +* styles: Remove unnecessary `resize` property from `select` (Volker E) +* MediaWiki theme: Exchange `rgba()` with hex CSS colors to support IE 8 (Volker E) +* MediaWiki theme: Replace fixed CSS property values with variables (Volker E) +* RadioSelectInputWidget: Don't try to reuse DOM when infusing (Bartosz Dziewoński) +* TextInputWidget: Use getValidity in demos (Ricordisamoa) +* Window: Correct documentation (Bartosz Dziewoński) +* build: Add browserNoActivityTimeout to karma (Paladox) +* build: For grunt-svg2png use a tag instead of git hash (Paladox) +* build: Update demos script to also run grunt publish-build (Paladox) +* build: Use a version of grunt-svg2png without a rate-limited CDN (Paladox) + + +## v0.16.4 / 2016-03-22 +### Features +* NumberInputWidget: Optionally don't show the increment buttons (Thalia Chan) + +### Styles +* NumberInputWidget: Fix rounded corners when showButtons=false (Ed Sanders) + +### Code +* core: Add tests for throttle (David Lynch) +* Tag: Allow appendContent and prependContent to accept an array (Moriel Schottlender) +* LabelElement: Cast label to string before check if it is empty (Florian) +* README.md: Add note about needing composer, clean up more generally (James D. Forrester) +* build: Bump grunt-karma to 0.12.2 (Paladox) +* build: Drop the 'npm prepublish' task which runs pre-install as well (James D. Forrester) +* demos: Restore constructive widgets (James D. Forrester) +* rubocop: Re-run todos, upgrade to newer rule names (James D. Forrester) +* rubocop: Review todos (Bartosz Dziewoński) + + +## v0.16.3 / 2016-03-16 +### Features +* core: Add `#throttle` to complement `#debounce` (David Lynch) +* ClippableElement: Never exceed the dimensions of the browser viewport (Bartosz Dziewoński) +* FloatableElement: Hide if the anchor element is outside viewport (Bartosz Dziewoński) + +### Styles +* Apex, MediaWiki themes: Fix vertical alignment of close icon (Ed Sanders) +* MediaWiki theme: Disabled ButtonElement icon should not be colored (Bartosz Dziewoński) + +### Code +* ButtonInputWidget: Actually disallow non-plaintext labels in 'useInputTag' mode (Bartosz Dziewoński) +* Element: Preserve `OOUI\HtmlSnippet( '' )` when infusing (Bartosz Dziewoński) +* InputWidget: Actually reuse parts of the DOM when infusing (Bartosz Dziewoński) +* MediaWiki theme: Remove broken remnant of d6b05bc0 (Bartosz Dziewoński) +* TextInputWidget: Treat empty placeholder the same in PHP and JS (Bartosz Dziewoński) +* TitledElement: Treat empty title the same in PHP and JS (Bartosz Dziewoński) +* build: Bump devDependencies to latest (James D. Forrester) +* build: Bump devDependencies to latest (Paladox) +* build: Update grunt-svg2png to commit 2fe1dad07eaec4b655263f8b487a672df4b668b4 (Paladox) +* demo: Expand the dialog $overlay demo for testing scrolling things off-screen (Bartosz Dziewoński) +* tests: Emulated setTimeout for unit testing (David Chan) +* testsuitegenerator: Always test empty values for 'string' type, not just for 'label' (Bartosz Dziewoński) +* testsuitegenerator: Change values tested for 'flags' config options (Bartosz Dziewoński) +* testsuitegenerator: Test 'HtmlSnippet' type (mostly for labels) (Bartosz Dziewoński) + + +## v0.16.2 / 2016-03-08 +### Deprecations +* [DEPRECATING CHANGE] MediaWiki theme: Scrap `constructive` flag (Volker E) +* [DEPRECATING CHANGE] Move some editing icons from core to editing-* (James D. Forrester) + +### Features +* Dialog: trigger the primary action with ctrl-enter (David Lynch) +* TextInputWidget: Allow type="date" (Geoffrey Mon) + +### Styles +* Apex, MediaWiki themes: Add markup '<>' icon in editing-advanced (Ed Sanders) +* Apex, MediaWiki themes: Drop padding from buttons in MessageDialogs (James D. Forrester) +* editing-styling pack: Have uk fallback to use ru bold and italic icons (Paladox) +* styles: Remove superflous pseudo-class and unitize comments (Volker E) + +### Code +* CapsuleMultiSelectWidget: Emit 'resize' when widget height changes (Bartosz Dziewoński) +* TextInputWidget: Prevent uncaught errors when using #selectRange in IE (Ed Sanders) +* TextInputWidget: Update comment about Blink height miscalculation (Bartosz Dziewoński) +* Follow-up I0667fbc: Fix draggable element CSS (Ed Sanders) +* Add Element::configFromHtmlAttributes() helper method (Bartosz Dziewoński) +* Clean-up duplicate properties across widgets (Volker E) +* docs: Clarify the lack of `.oo-ui-box-shadow()` mixin (Volker E) + + +## v0.16.1 / 2016-03-01 +### Styles +* CapsuleItemWidget: Revert regression on "remove" button in Firefox (Volker E) + +### Code +* ActionFieldLayout: Add max-width: 50em; (Florian) +* DraggableGroupElement: Don't emit reorder event when action is a no-op (Ed Sanders) +* Element: Fix #gatherPreInfuseState called incorrectly, causing TypeErrors (Thiemo Mättig) +* NumberInputWidget: fix example (Ricordisamoa) +* SelectWidget: fix incorrect `@return` that should be `@param` (Ricordisamoa) +* build: Compress PNGs with Zopfli etc. after they are built (James D. Forrester) +* build: Enable all passing jscs jsDoc rules (Ricordisamoa) +* build: Enable jscs jsDoc rule 'checkAnnotations' and make pass (Ricordisamoa) +* build: Enable jscs jsDoc rule 'checkParamNames' and make pass (Ricordisamoa) +* build: Enable jscs jsDoc rule 'checkTypes' and make pass (Ricordisamoa) +* build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass (Ricordisamoa) +* build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass (Ricordisamoa) +* demos: Display a nicer error message on old PHP versions (Kunal Mehta) + + +## v0.16.0 / 2016-02-22 +### Breaking changes +* [BREAKING CHANGE] DraggableGroupElement: Add default implementation of reorder (Ed Sanders) +* [BREAKING CHANGE] Remove 'noimages' distribution (Bartosz Dziewoński) +* [BREAKING CHANGE] Require PHP 5.5.9+; drop old array syntax (James D. Forrester) +* [BREAKING CHANGE] SelectFileWidget: Remove deprecated config 'dragDropUI' (Prateek Saxena) + +### Deprecations +* [DEPRECATING CHANGE] MenuOptionsWidgets: Drop jQuery autoEllipsis support (Bartosz Dziewoński) + +### Features +* core#debounce: If an immediate timeout is already waiting, don't re-set it (Bartosz Dziewoński) +* LabelElement: Bring in highlightQuery method from VE (Ed Sanders) +* DraggableElement: Defer adding of -dragging class so it isn't applied to copy (Ed Sanders) +* DraggableElement: Introduce $handle config option (Ed Sanders) +* DraggableGroupElement: Live reorder list while dragging (Ed Sanders) +* DraggableGroupElement: Only show meaningful drop positions (Ed Sanders) + +### Styles +* CapsuleItemWidget: Tweak styles for the "remove" button (Bartosz Dziewoński) +* MenuSelectWidget: Bring some sanity styling when inside different widgets (Bartosz Dziewoński) +* NumberInputWidget: Apex: Round the correct corners in the disabled state (Prateek Saxena) +* styles: Use block rather than inline-block to avoid line height issues (Bartosz Dziewoński) +* MediaWiki theme: Restore non-broken version of eye.svg (Bartosz Dziewoński) + +### Code +* Avoid parsing HTML when creating nodes (Bartosz Dziewoński) +* tests: Actually run core test suite in standalone mode (Bartosz Dziewoński) +* Compress PNGs with zopflipng (Ori Livneh) +* DraggableGroupElement: Cache directionality (Ed Sanders) +* DraggableGroupElement: Fix offset calculation (Ed Sanders) +* DraggableGroupElement: Reduce flicker when dragging (Ed Sanders) +* TextInputWidget: Don't call #updatePosition if there's no label to position (Bartosz Dziewoński) +* PHP: Take advantage of PHP 5.5 understanding ( new Foo )->foo (Bartosz Dziewoński) +* README: Update Phabricator URL broken by upgrade (James D. Forrester) +* build: Bump grunt-svg2png to a newer (still personal) version; lots faster (James D. Forrester) + +## v0.15.4 / 2016-02-16 +### Deprecations +* [DEPRECATING CHANGE] Element#scrollIntoView: Replace callback with promise (Ed Sanders) + +### Features +* SelectWidget: Prevent mouse highlighting while typing-to-select (Bartosz Dziewoński) + +### Styles +* PHP DropdownInputWidget: Match height of