# OOjs UI Release History ## v0.23.0 / 2017-09-05 ### Breaking changes * [BREAKING CHANGE] Remove CardLayout and references in IndexLayout (Volker E.) * [BREAKING CHANGE] Remove FloatingMenuSelectWidget (Volker E.) * [BREAKING CHANGE] Remove back-compat `OO.ui` prefix assumption in infusion code (Prateek Saxena) * [BREAKING CHANGE] icons: Remove 'caret' icons, deprecated in v0.21.3 (James D. Forrester) * [BREAKING CHANGE] icons: Remove 'wikitrail' icon, renamed in v0.20.1 (James D. Forrester) ### Deprecations * [DEPRECATING CHANGE] BookletLayout: Rename `getClosestPage()` to `findClosestPage()` (Prateek Saxena) * [DEPRECATING CHANGE] icons: Flag unused 'sun' icon as to be removed (James D. Forrester) * [DEPRECATING CHANGE] icons: Move 'eye'/'eyeClosed' to 'accessibility' (Volker E.) * [DEPRECATING CHANGE] icons: Move 'signature' to 'editing-advanced' (Volker E.) ### Features * Element: Improve error message when the widget being infused is missing (Bartosz Dziewoński) ### Styles * Apex theme: Only apply `margin` to label if visible (Ed Sanders) * WikimediaUI theme: Fix frameless indicator combination buttons' appearance (Volker E.) * ButtonInputWidget: Fix Safari-specific intrinsic `margin` (Volker E.) ### Code * Ensure only options belonging to the SelectWidget can be clicked (Ed Sanders) * SelectFileWidget: Rename `getTargetItem()` to `findTargetItem()` (Prateek Saxena) * Toolgroup: Rename `getTargetTool()` to `findTargetTool()` (Prateek Saxena) * WikimediaUI theme: Simplify `transition` code and remove obsolete (Volker E.) * build: Add 'accessibility' icon pack in Apex to build module definition (Volker E.) * build: Update eslint-config-wikimedia 0.4->0.5 (Ed Sanders) * build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 (libraryupgrader) * tests: Make MockWidget filename match class name (Kunal Mehta) ## v0.22.5 / 2017-08-22 ### Features * Add `title` attribute to the 'remove' button in TagItemWidget (Moriel Schottlender) ### Styles * WikimediaUI theme: Fix regression on disabled border (Volker E.) ### Code * Align vars to WikimediaUI Base and remove them as OOjs UI vars (Volker E.) * DraggableElement: Make toggling draggability consistent (Bartosz Dziewoński) * Follow-up 022f532: Don't crash if TitledElement initializes before AccessKeyedElement (Roan Kattouw) * WikimediaUI theme: Make checkbox/radio code leaner (Volker E.) * WikimediaUI theme: Remove unnecessary selector in CheckboxInputWidget (Volker E.) * doc: Align code comment references to Phabricator tasks (Volker E.) * build: Upgrade devDependencies to latest and make pass (James D. Forrester) * build: Update mediawiki-codesniffer to v0.10.1 and fix issues (WMDE-Fisch) * build: Update mediawiki-codesniffer to v0.11.0 and fix issues (WMDE-Fisch) * tests: Prepare for qunit 2.x (James D. Forrester) ## 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) * 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) ### Styles * icons: Vertically align 'play' & 'stop' icons (Volker E.) * Apex theme: Add focus styles to Tag-/CapsuleMultiselectWidget (Volker E.) * Apex theme: Add focus styles to frameless buttons (Volker E.) * Apex theme: Add play icon (copied from WikimediaUI theme) (Roan Kattouw) * Apex theme: Align ButtonGroup-/ButtonSelectWidget focus logic to WikimediaUI (Volker E.) * Apex theme: Align Dropdown*Widget's focus state with other widgets (Volker E.) * Apex theme: Align TextInputWidget focus to variablized way (Volker E.) * Apex theme: Align ToggleSwitchWidget focus style to other widgets (Volker E.) * Apex theme: Improve alignment of TextInputWidget and its elements (Volker E.) * Apex theme: Introduce framed button focus indication (Volker E.) * Apex theme: Replace and unify `border-radius` with variables (Volker E.) * WikimediaUI theme: Set ButtonElement's height per default (Volker E.) * WikimediaUI theme: Work around a Firefox rendering bug for checkboxes and radios (Bartosz Dziewoński) ### Code * DraggableGroupElement: Remove ARIA roles & attributes (Volker E.) * FieldsetLayout: Use `` now that Chrome 55 bug is less important (James D. Forrester) * Apex theme: Align remaining values to coding convention (Volker E.) * WikimediaUI theme: Align `*-fallback` var with notation elsewhere (Volker E.) * WikimediaUI theme: Code comment hygiene (Volker E.) * WikimediaUI theme: Directly use the Less values rather than via copy-paste (James D. Forrester) * demos: Add examples of TextInputWidget with dynamic label (Bartosz Dziewoński) * demos: Demo.DraggableItemWidget should not inherit from OO.ui.OptionWidget (Bartosz Dziewoński) * demos: Show example link on `:focus` (Volker E.) * doc: Fix some PHPDoc `@return` tags (Ricordisamoa) * build: Add a script to print the dependency tree of everything (Bartosz Dziewoński) ## v0.22.3 / 2017-07-11 ### Features * Tag-/CapsuleMultiselectWidget: Avoid visual focusTrap feedback (Volker E.) * WindowManager: Avoid inconsistent state due to asynchronous promise resolution (Bartosz Dziewoński) * WindowManager: fix closing promise state check (David Lynch) ### Styles * icons: Align ongoingConversation to grid (Ed Sanders) * icons: Replace the puzzle icon, using the one from VisualEditor (James D. Forrester) * icons: Vertically center mapPin icon (Volker E.) * Apex theme: Add 'article' icon, copied from WikimediaUI (Moriel Schottlender) ### Code * DropdownWidget, MenuSelectWidget: Set `aria-expanded` attribute (Prateek Saxena) * FieldLayout: Add `role='alert'` for error messages (Prateek Saxena) * FieldLayout: Set `aria-describedby` on the fieldWidget (Prateek Saxena) * PopupWidget: Update function name in a comment (Bartosz Dziewoński) * TagMultiselectWidget: Skip `updateInputSize()` for invisible inputs (Roan Kattouw) * Toolbar: Add comment for greppability of dynamic CSS classes (Bartosz Dziewoński) * themes: Align read-only variable names to pseudo-class selector scheme (Volker E.) * themes: Align variable names to WikimediaUI Base scheme (Volker E.) * WikimediaUI theme: Align `@opacity-icon*` variable names to WikimediaUI Base (Volker E.) * WikimediaUI theme: Align checked variable names to pseudo-class scheme (Volker E.) * WikimediaUI theme: Align disabled variable names to pseudo-class scheme (Volker E.) * WikimediaUI theme: Align variable pseudo classes names to WikimediaUI Base (Volker E.) * WikimediaUI theme: Replace `@color-base-light` with `@color-base--inverted` (Volker E.) * WikimediaUI theme: Variablize PopupWidget values (Volker E.) * WikimediaUI theme: Pull in the upstream WikimediaUI package (James D. Forrester) * build: Updating mediawiki/mediawiki-codesniffer to 0.10.0 (Kunal Mehta) * phpcs: Enable more rules, or document why they are disabled (Bartosz Dziewoński) * testsuitegenerator: Blacklist deprecated `multiline` config option (Bartosz Dziewoński) ## v0.22.2 / 2017-06-28 ### Deprecations * [DEPRECATING CHANGE] TextInputWidget: Move multi-line support out (Prateek Saxena) * [DEPRECATING CHANGE] icons: Move and rename 'stripeSideMenu' to 'draggable' (Volker E.) ### Features * DropdownInputWidget: Unbreak setting 'value' via config options (Bartosz Dziewoński) * Element: Work around browsers that set fractional scrollTop values (Roan Kattouw) ### Styles * BookletLayout: Workaround for horizontal scrollbars on menu when editable (Bartosz Dziewoński) * icons: Let's stop referring to removed icons, hmm? (James D. Forrester) * Rewrite all styling for "outline controls" (Bartosz Dziewoński) * Apex theme: Align appearance of tags' close icon to WikimediaUI theme (Volker E.) * Apex theme: Fix HorizontalLayout containing FieldLayouts (Bartosz Dziewoński) * WikimediaUI theme: Remove default DraggableElement styling (Ed Sanders) * WikimediaUI theme: Use icon instead of indicator in Tag-/CapsuleItemWidget (Volker E.) * WikimediaUI: Strengthen Radio*Widget's `:checked` state (Volker E.) ### Code * MenuSelectWidget: Fix item hiding when menu contents change (Roan Kattouw) * MultilineTextInputWidget: Fix autosizing (Bartosz Dziewoński) * PopupWidget: Replace CSS with Less comments for smaller dist (Volker E.) * SearchInputWidget: Fix ability to clear the input (Bartosz Dziewoński) * TabIndexedElement: Fix validation and make consistent in PHP and JS (Bartosz Dziewoński) * Use javascript-stringify instead of JSON.stringify (Ed Sanders) * Apex theme: Fix order of selectors for :first-child FieldLayout (Bartosz Dziewoński) * demos: Add links to documentation from code examples (Prateek Saxena) * demos: Allow linking to specific widgets (Bartosz Dziewoński) * demos: Indicate code toggle clearer (Volker E.) * demos: Pull out all links to docs/sources to the top of the code (Bartosz Dziewoński) * demos: Simplify code generation, now that we use javascript-stringify (Bartosz Dziewoński) * demos: Use URL 'query' part for linking to demo sections rather than URL 'fragment' (Bartosz Dziewoński) * docs: Fix some typos in documentation (Bartosz Dziewoński) * docparser: Fix handling for fake trait constructors (Bartosz Dziewoński) * docparser: Make matching '(default: ...)' case-insensitive (Bartosz Dziewoński) * docparser: Tighter check for 'use' statements in PHP (Bartosz Dziewoński) ## v0.22.1 / 2017-05-31 ### Code * WindowManager: Do not use return value of `#closeWindow` as promise (Bartosz Dziewoński) * WindowManager: Fix check for a window already closing (Bartosz Dziewoński) * WindowManager: Fix error handling for `#openWindow` with string argument (Bartosz Dziewoński) * WindowManager: Fix important typo in deprecation warning (Bartosz Dziewoński) * WindowManager: Fix incorrect checks for promise state (Bartosz Dziewoński) * WindowManager: Provide other `jQuery.Promise` methods on the b/c promise too (Bartosz Dziewoński) * demos: Clarify code comment (Bartosz Dziewoński) * demos: Clean up the global window manager too when destroying (Bartosz Dziewoński) * demos: Load icon packs in the PHP demo (Bartosz Dziewoński) * demos: Replace abandoned icon name 'remove' to current one 'trash' (Volker E.) ## v0.22.0 / 2017-05-30 ### Breaking changes * [BREAKING CHANGE] TextInputWidget: Remove search related methods (Prateek Saxena) * [BREAKING CHANGE] icons: Drop the core icon pack (James D. Forrester) * [BREAKING CHANGE] icons: Remove unused 'bookmark' icon (Volker E.) * [BREAKING CHANGE] Depend on OOjs v2.1.0, up from v2.0.0 (James D. Forrester) ### Deprecations * [DEPRECATING CHANGE] Rename the 'MediaWiki' theme to 'WikimediaUI' (James D. Forrester) * [DEPRECATING CHANGE] WindowManager: Deprecate using `openWindow`/`closeWindow` returns as promises (Bartosz Dziewoński) ### Features * Add HiddenInputWidget to generate hidden input (Victor Barbu) * InputWidget: Introduce `#setInputId` and `inputId` config option (Bartosz Dziewoński) * MenuTagMultiselectWidget: Clear text field after adding an item from it (Bartosz Dziewoński) * MenuTagMultiselectWidget: Handle the 'selected' config option (Bartosz Dziewoński) * NumberInputWidget: Use icons instead of labels (Volker E.) * PopupButtonWidget: Handle empty configuration (Bartosz Dziewoński) * PopupWidget: Position close button in head absolutely (David Lynch) * PopupWidget: Sensibly position anchor-less popups (Roan Kattouw) * WindowManager: Add `WindowInstance` - a Promise-based lifecycle object (Timo Tijhof) * WindowManager: Handle errors better in `#closeWindow` (Bartosz Dziewoński) * Allow *even more* widgets to be focussed programatically (Bartosz Dziewoński) * Only cancel mouse down event if tool in toolgroup clicked on (Ed Sanders) * Re-introduce `.simulateLabelClick()` as a separate method from .focus() (Bartosz Dziewoński) ### Styles * themes: Field*Layout help position perfectly aligned (Volker E.) * themes: Improve frameless button in size and behaviour (Volker E.) * themes: Increase FieldsetLayout header's `font-size` (Volker E.) * Apex theme: Ensure vertical centering of ButtonElement's icon (Volker E.) * Apex theme: Make OptionWidget icon override more specific (Moriel Schottlender) * Apex theme: Start Apex's 'user' icon pack, with just 'userAvatar' for now (Ed Sanders) * WikimediaUI theme: Align `@background-color-destructive` to WikimediaUI Base (Volker E.) * WikimediaUI theme: Align ButtonInputWidget's `line-height` to ButtonWidget (Volker E.) * WikimediaUI theme: Align inline label's position (Volker E.) * WikimediaUI theme: Ensure icon aligns in dropdown menu (Volker E.) * WikimediaUI theme: Remove incorrect comments (Volker E.) ### Code * MenuTagMultiselectWidget: Add test for 'selected' config option (Bartosz Dziewoński) * windows: Add tests for OO.ui.alert/confirm/prompt (Timo Tijhof) * AUTHORS: Update for the past two years' work (James D. Forrester) * build: Add the README/AUTHORS/LICENCE files to dist (James D. Forrester) * demos: Add TextInputWidget examples with inline labels but no indicators (Ed Sanders) * demos: Add viewport meta tag to PHP demo too (Volker E.) * demos: Avoid inline CSS for the overlay (Bartosz Dziewoński) * demos: Fix code generation for more complicated cases (Bartosz Dziewoński) * demos: Fix up a couple of minor things in demo widgets (Bartosz Dziewoński) * demos: Fix `z-index` with fixed demo header (Volker E.) * demos: Increase and strengthen responsive support (Volker E.) * demos: Indicate widgets clearer by sections (Volker E.) * demos: Make disabled progress bar in demo determinate (Ed Sanders) * demos: Show code that can be used to create the widget (Prateek Saxena) * testsuitegenerator: Handle classes with no constructor (Bartosz Dziewoński) ## v0.21.4 / 2017-05-16 ### Features * 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 order of checks for `allowArbitrary`/`allowDuplicates` (Bartosz Dziewoński) ### Styles * MediaWiki theme: Separate two active ToggleButton siblings visually (Volker E) ### Code * LabelWidget: Fix label click handling (Bartosz Dziewoński) * RadioSelectInputWidget: When generating a unique 'name', don't make it random (Bartosz Dziewoński) * Use glaringly wrong tags for elements that are supposed to be unused (Bartosz Dziewoński) * README: Clarify and simplify descriptions (Volker E) * build: Upgrade eslint-config-wikimedia from 0.3.0 to 0.4.0 and make pass (James D. Forrester) * demos: Add ARIA roles (Volker E) * demos: Clean up the window manager when destroying the dialogs demo (Bartosz Dziewoński) * demos: Preserve scroll position when changing non-page options (Bartosz Dziewoński) * demos: Rename deprecated Card to current TabPanel (Volker E) * demos: Tame buggy mobile browser behaviour on `position: fixed` (Volker E) * demos: Turn the menu into a fixed header (Bartosz Dziewoński) * docs: Fix `OO.ui.IndexLayout` example (Volker E) * tests: Order the `attributes` object keys, for less noisy diffs (Bartosz Dziewoński) ## 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) * NumberInputWidget: Remake as an actual TextInputWidget child (Moriel Schottlender) ### Styles * ProgressBarWidget: Switch to `box-sizing: border-box` (Volker E) * TabOptionWidget: Cleanup & align paddings/position to dialog environment (Volker E) * MediaWiki theme: Decrease selector specificity and fix invalid appearance (Volker E) * MediaWiki theme: Fix IE 7 oversized buttons (Volker E) * MediaWiki theme: Improve SearchWidget design (Volker E) ### Code * Do not use `role=menu`/`menuitem` for MenuSelectWidget/MenuOptionWidget (Bartosz Dziewoński) * PopupTagMultiselectWidget: Update popup position on resize (Prateek Saxena) * ProcessDialog: Display error messages on top of footer action buttons (Bartosz Dziewoński) * SelectWidget/MenuSelectWidget: Maintain `aria-activedescendant` attribute on focus owner (Bartosz Dziewoński) * Set ARIA `role=combobox` on DropdownWidget and LookupElement too (Bartosz Dziewoński) * Set `aria-owns` for everything with a dropdown list (ARIA `role=combobox`) (Bartosz Dziewoński) * Follow-up d22d23311: Don't reference OO.ui.ToolGroup blindly (James D. Forrester) * build: Bump grunt-stylelint, bring in stylelint explicitly (James D. Forrester) * demos: Add some more examples with 'accessKey' (Bartosz Dziewoński) * docs: Document Window#$overlay property (Bartosz Dziewoński) * tests: Drop unnecessary hints to qunit about the number of tests (James D. Forrester) ## v0.21.1 / 2017-04-18 ### Styles * PopupWidget: Do not leave space for anchor if there's no anchor (Bartosz Dziewoński) * MediaWiki theme: Ensure WCAG level AA contrast on unsupported SelectFileWidget (Volker E) * MediaWiki theme: Fit icon/indicator & label in DecoratedOptionWidget (Volker E) * MediaWiki theme: Fix standalone, disabled sibling ButtonWidgets (Volker E) * MediaWiki theme: Fix white `border-color` of frameless buttons (Volker E) * MediaWiki theme: Make readonly TextInputWidget appearance clearer (Volker E) * MediaWiki theme: TagMultiselectWidget outlined UI improvements (Volker E) * MenuOptionWidget: Remove theme-independent 'check' icon (Prateek Saxena) ### Code * environment: Upgrade jQuery from 1.11.3 to 3.2.1 (James D. Forrester) * DropdownInput-/RadioSelectInputWidget: Remove unnecessary ARIA attributes (Volker E) * Element: Use `JSON.parse` rather than the deprecated `$.parseJSON` (James D. Forrester) * Fix typo in frameless button mixin (David Lynch) * FloatingMenuSelectWidget: Add 'ready' event after menu is clipped (Moriel Schottlender) * MediaWiki theme: Clarify `@min-height-widget-default` usage (Volker E) * PopupToolGroup: Mixin flaggable (David Lynch) * TagMultiselectWidget: Allow preset InputWidget (Moriel Schottlender) * TagMultiselectWidget: Redo data validation for Tag* and Menu* (Moriel Schottlender) * themes: Align `@size-*-min` variable to naming scheme and rename (Volker E) * build: Drop the csscomb task (James D. Forrester) * docs: Fix numbering in Quick start (Kartik Mistry) * demos: Polish demo labels, styles and add frameless button tests (Volker E) * tests: Update OO.ui.Process tests for jQuery 3 compatibility (Bartosz Dziewoński) ## v0.21.0 / 2017-04-11 ### Breaking changes * [BREAKING CHANGE] ActionWidget: Remove resize event (IvanFon) * [BREAKING CHANGE] dependencies: Drop support for ES3 browsers via es5-shim (James D. Forrester) ### Features * Create a TagMultiselectWidget (Moriel Schottlender) * FloatingMenuSelectWidget: Add `width` config option (Moriel Schottlender) * MenuSelectWidget: Add `config.$autoCloseIgnore` (Roan Kattouw) ### Styles * PopupWidget: Center the anchor for vertical (above/below) popups too (Bartosz Dziewoński) * MediaWiki theme: Add separator when toolbar items break on narrow (Volker E) * MediaWiki theme: Fix IE < 11 icon/indicator position in SelectFileWidget (Volker E) * MediaWiki theme: Fix overflow ellipsis on small DropdownWidget sizes (Volker E) * MediaWiki theme: Fix selector regression on DraggableElement (Volker E) * MediaWiki theme: Fix Toolbars containing ButtonGroups (David Lynch) * MediaWiki theme: Replace arrows with chevrons and increase contrast (Volker E) * MediaWiki theme: Unify `padding` across widgets and variablize (Volker E) * MediaWiki theme: Unify `padding` on ButtonElement (Volker E) * MediaWiki theme: Unify `padding` on DecoratedOptionWidget and descendants (Volker E) * Follow-up eceb6f20: MediaWiki theme: Remove unused indicator flags (Volker E) ### Code * Remove remnants of PHP-5.3-style `array()` literals (Bartosz Dziewoński) * ClippableElement: Fix progressive width loss bug (Roan Kattouw) * ComboBoxInputWidget: Fix minor JS/PHP differences (Bartosz Dziewoński) * ComboBoxInputWidget: Redo the 'down' indicator in PHP (Bartosz Dziewoński) * DraggableElement: Only apply focus when widget is not disabled (Moriel Schottlender) * DraggableElement: Toggle style on `$handle`, not `$element` (Andrew Green) * DropdownInputWidget: Only allow setting values actually in the dropdown (Bartosz Dziewoński) * MenuSelectWidget: Highlight the first result when searching (Moriel Schottlender) * MessageDialog: Accept proposed size dialog on `getSetupProcess` (Ebrahim Byagowi) * TextInputWidget: Reduce unnecessary duplicated CSS output (Volker E) * TextInputWidget: Use `.prop()` rather than `.attr()` for 'required' (Bartosz Dziewoński) * Apex theme: Align coding style to conventions (Volker E) * Apex theme: Simplify color usage through Less variables (Volker E) * demos: Remove scaling restrictions (Volker E) * docparser: Improve trait/mixin handling (Bartosz Dziewoński) * docparser: Properly handle default values in PHP (Bartosz Dziewoński) * docs: Add detail to documentation of core.js utilities (Ed Sanders) * docs: Minor documentation tweaks (Bartosz Dziewoński) * tests: Comparison tests for infusing previously untestable classes (Bartosz Dziewoński) ## v0.20.2 / 2017-03-30 ### Styles * DraggableElement: Fix regression on selectors (Volker E) ### Code * GroupElement: Fix insertion bugs (Bartosz Dziewoński) * icons: Drop unused 'invert' variant from Apex 'icons-interactions' pack (Bartosz Dziewoński) * build: Add exec:composer and add it to _ci (Prateek Saxena) ## v0.20.1 / 2017-03-28 ### Deprecations * [DEPRECATING CHANGE] icons: Deprecate and/or move all the core icons (James D. Forrester) * [DEPRECATING CHANGE] icons: Rename 'wikitrail' to 'mapTrail' (Volker E) * Follow-up b12205ac: Add deprecation notices to icons moved in v0.16.2 (James D. Forrester) * Follow-up da8d99af: Add deprecation notice to icon moved in v0.14.0 (James D. Forrester) ### Features * DraggableGroupElement: Make draggable conditional (Moriel Schottlender) * build: Implement `grunt add-theme` task to ease theme creation (Bartosz Dziewoński) ### Styles * ButtonElement: Normalize appearance in Firefox (Volker E) * Blank theme: Fix up the 'blank' theme (Bartosz Dziewoński) * MediaWiki theme: Position PopupToolGroup indicator similar to other widgets (Volker E) ### Code * Element: Add special case for document root in getClosestScrollableContainer (Bartosz Dziewoński) * FloatableElement: Abort positioning if no longer attached (David Lynch) * GroupElement: Transform to be an OO.EmitterList mixin (Moriel Schottlender) * MenuOptionWidget: Remove inherited, duplicated property (Volker E) * OO.ui.isFocusableElement: Update for jQuery 3 deprecations (Bartosz Dziewoński) * PopupWidget: Add 'ready' event when the popup is ready (Moriel Schottlender) * Use Node.DOCUMENT_NODE rather than magic number (Bartosz Dziewoński) * Follow-up 4bc67351c5: Unbreak FloatableElement positioning (Roan Kattouw) * Follow-up Iaa7dffc13: *Actually* allow `$returnFocusTo` to be `null` (Ed Sanders) * themes: Reorder Less rules alphabetically (Volker E) * MediaWiki theme: Remove obsolete ButtonOptionWidget styles (Volker E) * MediaWiki theme: Remove unnecessary OptionWiget `border` property (Volker E) * build: Add a new jenkins script (Prateek Saxena) * build: Bump grunt-cssjanus to master (Volker E) * build: Match file order between tests/index and karma (Timo Tijhof) * build/demos: Generalize demos and build so that it's easier to add new themes (Bartosz Dziewoński) ## v0.20.0 / 2017-03-15 ### Breaking changes * [BREAKING CHANGE] Element#scrollIntoView: Drop `complete` config option (James D. Forrester) * [BREAKING CHANGE] Element#scrollIntoView: Remove deprecated `complete` config parameter (James D. Forrester) * [BREAKING CHANGE] LabelElement: Remove deprecated `fitLabel` function (James D. Forrester) * [BREAKING CHANGE] MessageDialog: Drop the deprecated '`verbose`' flag (James D. Forrester) * [BREAKING CHANGE] PopupWidget#setAlignment: Remove backwards-compatibility (James D. Forrester) * [BREAKING CHANGE] Remove CapsuleMultiSelectWidget (James D. Forrester) * [BREAKING CHANGE] Remove TextInputMenuSelectWidget (James D. Forrester) * [BREAKING CHANGE] TextInputWidget: Remove `type=date`/`month` support (Geoffrey Mon) * [BREAKING CHANGE] icons: Drop '…Undo' icons, deprecated in 0.18.3 (James D. Forrester) * [BREAKING CHANGE] icons: Drop 'beta' and 'ribbonPrize', deprecated in 0.18.3 (James D. Forrester) * [BREAKING CHANGE] icons: Drop 'betaLaunch', deprecated in 0.18.3 (James D. Forrester) * [BREAKING CHANGE] icons: Drop status flags from Wikimedia (logos) icon pack (Volker E) ### Deprecations * [DEPRECATING CHANGE] ActionWidget/Set: Warn for methods using the `resize` event (Prateek Saxena) ### Features * Use `` rather than `
` for inline-ish widgets (Bartosz Dziewoński) * CapsuleMultiselectWidget: Call `updateInputSize` when adding, removing items (Prateek Saxena) * DropdownInputWidget: Add support for `optgroup` (Prateek Saxena) * FieldLayout: Use `` rather than `
` when possible (Bartosz Dziewoński) ### Styles * DropdownInputWidget: Tweak PHP widget's disabled styling (Bartosz Dziewoński) * NumberInputWidget: Set input to 100% height (Volker E) * MediaWiki theme: Add unit to `line-height` for Chrome (Volker E) * MediaWiki theme: Align “framed” ButtonWidgets cross-browser (Volker E) * MediaWiki theme: Ensure theme color in disabled TextInputWidget on Safari (Volker E) * MediaWiki theme: Ensure vertical alignment of dialog top bar items (Volker E) * MediaWiki theme: Fix TextInputWidget's IconElement `max-height` (Volker E) * MediaWiki theme: Fix appearance of ComboBoxInputWidget PHP (Volker E) * MediaWiki theme: Use color palette color for dialog top bar (Volker E) * MediaWiki theme: Vertically align label in SelectFileWidget (Volker E) ### Code * DropdownInputWidget: Remove accidental patterned background in PHP (Bartosz Dziewoński) * MediaWiki theme: Align WindowManager to CSS Coding Guidelines (Volker E) * MediaWiki theme: Indicators shouldn't provide global `progressive` flag (Volker E) * MediaWiki theme: Simplify Radio- & Checkbox…optionWidget label rules (Volker E) * build: Bump various devDependencies to master (James D. Forrester) * build: Exclude demos/vendor from composer test too (James D. Forrester) * demos: Add ButtonGroupWidget (icon and text) demo (Volker E) * demos: Add disabled DropdownInputWidget demo (Bartosz Dziewoński) ## v0.19.5 / 2017-03-07 ### Deprecations * [DEPRECATING CHANGE] icons: Move 'add' from core to 'interactions' pack (James D. Forrester) ### Features * FloatableElement: Add config for `hideWhenOutOfView` (Moriel Schottlender) ### Styles * MediaWiki theme: Add visual feedback on focussed Outlined Booklet Dialog (Volker E) * OutlinedBookletDialog: Bring visual order into levels (Volker E) * icons: Add 'highlight' to 'editing-styling' pack (Moriel Schottlender) * icons: Add 'substract' icon, in interactions pack (Volker E) * icons: Fix vertical alignment of 'journal' (Volker E) * icons: Remove 'teardrop' from MediaWiki theme 'close' icon (Volker E) ### Code * CapsuleMultiselectWidget: Update popup position if height changed (Prateek Saxena) * ComboBoxInputWidget: Improve documentation example (Bartosz Dziewoński) * ListToolGroup: Re-clip when expanding/collapsing (Roan Kattouw) * MenuSelectWidget#filterFromInput: Clear MenuSectionOptionWidgets if empty (Roan Kattouw) * PopupElement: Set `$floatableContainer` to `this.$element` by default (Roan Kattouw) * PopupTool: For bottom toolbars, make the popup go up, like toolgroups (Bartosz Dziewoński) * PopupWidget: Make popups able to actually pop *up*, as well as sideways (Roan Kattouw) * PopupWidget: Position anchor relative to popup, not popup relative to anchor (Roan Kattouw) * TextInputWidget: Fix documentation for 'maxRows' type (Bartosz Dziewoński) * Use `options` in ComboBoxInputWidget demo (Moriel Schottlender) * Follow-up 442ffe73, 7f21350d, 9dfa5dd5: Mention in icon definitions they're deprecated (James D. Forrester) * demos: Make demo consoles LTR, even in the RTL demo (Roan Kattouw) * demos: Add demo/test for PopupWidget/PopupButtonWidget placements (Bartosz Dziewoński) * demos: Add sections to dialogs demo (Bartosz Dziewoński) * demos: Extract widgets, dialogs and layouts from dialogs.js (Bartosz Dziewoński) * demos: Reuse some widgets in the dialogs demo (Bartosz Dziewoński) * styles: Replace stylelint block with inline comments everywhere (Volker E) ## v0.19.4 / 2017-02-28 ### Features * Add `OO.ui.Element.static.getScrollLeft` (Bartosz Dziewoński) * FloatableElement: Support positioning relative to all edges (Roan Kattouw) ### Styles * MediaWiki theme: Align DraggableElement focus with standard appearance (Volker E) * MediaWiki theme: Align appearance of PHP DropdownInputWidget to JS (Volker E) * MediaWiki theme: Fix TextInputWidget inline label misalignment (Volker E) * MediaWiki theme: Fix ToolGroupTool's label alignment (Volker E) * MediaWiki theme: Fix button layout in ButtonGroup-/SelectWidgets in IE 9 (Volker E) * MediaWiki theme: Fix styling for FieldLayout inside HorizontalLayout (Bartosz Dziewoński) * styles: Improve vertical alignment of elements' & widgets' icons (Ed Sanders/Volker E) * icons: Add 'feedback' icon, in interactions pack (Roan Kattouw) * icons: Add 'searchDiacritic' icon, in editing-advanced pack (Ed Sanders) ### Code * Make generic placeholder pseudo-class browser-prefix mixin (Ed Sanders) * BookletLayout: When continuous, properly make the inner PageLayouts non-scrollable (Bartosz Dziewoński) * Element: Fix `scrollLeft()` for body/html/window (Roan Kattouw) * OutlineOptionWidget: Remove unused and misplaced values (Volker E) * PopupWidget: Remove `left: 0;` breaking floatable popups (Roan Kattouw) * MediaWiki theme: Remove obsolete ComboBoxInputWidget selectors (Volker E) * README: Encourage direct release in the instructions (James D. Forrester) * build: Test the 'minify' task in CI (James D. Forrester) * demos: Add 'label' to ToolGroupTool example (Bartosz Dziewoński) * demos: Extract ButtonStyleShowcaseWidget from the demo code (Bartosz Dziewoński) * demos: Extract CapsuleNumberPopupMultiselectWidget from the demo code (Bartosz Dziewoński) * demos: Extract remaining widgets from widgets.js (Bartosz Dziewoński) ## v0.19.3 / 2017-02-21 ### Features * FieldLayout, FieldsetLayout: Add support for `$overlay` for help popups (Bartosz Dziewoński) * MenuSelectWidget: Add config option to not close on choose (Roan Kattouw) ### Styles * MediaWiki theme: Make CapsuleItemWidget behave similar to other widgets (Volker E) * MediaWiki theme: SelectFileWidget drop target aligned to UX patterns (Volker E) ### Code * BookletLayout: Remove unnecessary overrides (Bartosz Dziewoński) * Element#getClosestScrollableContainer: Update code comment (Bartosz Dziewoński) * FieldLayout, LabelWidget: If input has no ID, focus on element on label click (Prateek Saxena) * PopupWidget (and similar): Document why it is unwise to show unattached widgets, and emit warnings (Bartosz Dziewoński) * build: Bump stylelint and make pass (James D. Forrester) * demos: Add DropdownWidget (with MenuSectionOptionWidget) (Prateek Saxena) * demos: Further improve responsive layout (Volker E) * demos: Minor tweaks for button style showcase code (Bartosz Dziewoński) * demos: Rename OO.ui.Demo to just Demo (Bartosz Dziewoński) * demos: Replace `table` in button style showcase with responsive layout (Volker E) * demos: Set the default page in demo.js (Bartosz Dziewoński) ## v0.19.2 / 2017-02-14 ### Features * CapsuleMultiselectWidget: Make labels work (Prateek Saxena) * FloatableElement, PopupWidget: Do positioning from the right in RTL (Roan Kattouw) * TextInputWidget: getValidity: Check browser validation first (Prateek Saxena) ### Styles * icons: Fix vertical alignment of eye icon (Ed Sanders) ### Code * core: Do not clear unrelated flags when clearing 'progressive' (Bartosz Dziewoński) * ActionWidget: Remove event listening code for widget's 'resize' event (Prateek Saxena) * ClippableElement: Order matters (inexplicably) (Bartosz Dziewoński) * demos: Use longer text in popup in $overlay demo (Bartosz Dziewoński) ## v0.19.1 / 2017-02-07 ### Features * Dialog: Support meta as well as ctrl for modifier on enter key (David Lynch) ### Styles * FieldLayout: Fix styling for disabled widgets in PHP (Bartosz Dziewoński) * MediaWiki theme: Align tab navigation to color palette (Volker E) * MediaWiki theme: Fix RTL version of largerText icon to be, well, RTL (James D. Forrester) * MediaWiki theme: Fix direction of shadow on position:bottom toolbars (Ed Sanders) * MediaWiki theme: Use correct `border-color` on PopupWidget anchor (Volker E) * Mediawiki theme: Fix focus inset to overlap scrollbars (Volker E) * icons: Provide a 'halfStar' vertical split star (codynguyen1116) ### Code * CheckboxMultiselectInputWidget: Allow disabling specific options (Huji Lee) * DraggableGroupElement: Add mandatory ARIA role (Volker E) * FieldLayout: Move `