# OOjs UI Release History ## v0.12.12 / 2015-10-13 ### Features * CapsuleMultiSelectWidget: When 'allowArbitrary' is true, don't require 'Enter' to confirm (Bartosz Dziewoński) * SelectFileWidget: Add a focus method (Ed Sanders) ### Styles * CapsuleMultiSelectWidget: Set 'background-color' rather than 'background' (Bartosz Dziewoński) * DropdownWidget: Fix vertical alignment of handle's text (Volker E) * MediaWiki theme: Get transitions on ButtonWidget's `:hover` states in sync (Volker E) * MediaWiki theme: Unbreak checkbox/radio 'cursor: pointer' (Bartosz Dziewoński) * MediaWiki theme: Use inverted icon for 'active' buttons (Ed Sanders) ### Code * ButtonElement: Actually use 'active' property and add getter (Ed Sanders) * Element: Document $element config option (Thalia) * composer.json: Add author names & e-mails (Alangi Derick) * demo: Correct some typos (Bartosz Dziewoński) ## v0.12.11 / 2015-10-06 ### Styles * MediaWiki theme: Make shadows translucent black instead of light grey (Ed Sanders) * MediaWiki theme: Make PHP DropdownInputWidget look closer to JS version (Bartosz Dziewoński) ### Code * Follow-up I4acbe69420: BookletLayout: Fix focus of page switching (Ed Sanders) * IndexLayout: Fix focus of panel switching (Ed Sanders) * TextInputWidget: Remove 'autocomplete' attribute on page navigation (Bartosz Dziewoński) * build: Bump es5-shim and various devDependencies to master (James D. Forrester) ## v0.12.10 / 2015-09-29 ### Styles * Fix icon/indicator padding on TextInputWidget/SelectFileWidget (Ed Sanders) ### Code * CapsuleItemWidget: Remove 'click' event preventing (Bartosz Dziewoński) * FloatableElement: Don't try unbinding events before we bind them (Bartosz Dziewoński) * SelectWidget: Ensure 'choose' never emits null (Ed Sanders) * Remove old textInputWidget-decorated classes (Ed Sanders) * build: Upgrade MediaWiki-Codesniffer to 0.4.0 (Kunal Mehta) ## v0.12.9 / 2015-09-22 ### Features * BookletLayout, IndexLayout: Make autoFocus and focussing more reliable (Bartosz Dziewoński) * CapsuleMultiSelectWidget: Allow using CapsuleItemWidget subclasses (Bartosz Dziewoński) * CardLayout: Add a 'label' config option (Ed Sanders) * FloatableElement: Introduce mixin (Bartosz Dziewoński) * FloatingMenuSelectWidget: Update position of menus within overlay while scrolling (Bartosz Dziewoński) * IndexLayout: Add 'expanded' option, passed through to StackLayout (Ed Sanders) * MenuLayout: Use child selectors to allow nesting menus (Ed Sanders) * Re-attempt I31ab2bace4: Try to stop user from tabbing outside of open dialog box (Ed Sanders) ### Styles * SelectFileWidget: Move file type over to the right in secondary text colour (Ed Sanders) * Fix focus styles on disabled widgets (Volker E) * Apex, MediaWiki themes: Make most borders on table icon thinner (Ed Sanders) * Apex, MediaWiki themes: Make picture icon border thinner (Ed Sanders) * MediaWiki theme: Alter buttons' padding and position icons absolutely (nirzar) * MediaWiki theme: Fix height of IndexLayout tab widget (Ed Sanders) * MediaWiki theme: Unify box-shadows for PopupWidget and DropdownWidget (Volker E) ### Code * #isFocusableElement: Rewrite for performance and correctness (Ed Sanders) * BookletLayout: Remove unnecessary JSHint override (Bartosz Dziewoński) * DropdownWidget: Update example doc to show #getMenu usage (Ed Sanders) * Follow-up bf1497be: Fix PopupToolGroup use of renamed Clippable property (Ed Sanders) * PopupWidget: Add missing `@mixins` doc entry (Bartosz Dziewoński) * SelectFileWidget: Fix DOM order of file type label (Ed Sanders) * Widget: Fix docs for disable event (Ed Sanders) * docs: Remove excess empty lines in comments (Bartosz Dziewoński) * docs: Add quotes around PROJECT_BRIEF setting (Timo Tijhof) * Update version requirement for mediawiki/at-ease: 1.0.0 → 1.1.0 (Ori Livneh) ## v0.12.8.1 / 2015-09-18 special release ### Code * build: Update version requirement for mediawiki/at-ease: 1.0.0 → 1.1.0 (Ori Livneh) ## v0.12.8 / 2015-09-08 ### Styles * SelectFileWidget: Overflow and ellipsis for label (Ed Sanders) * Apex theme: Move transition timing to common variables (Prateek Saxena) * MediaWiki theme: Move window transition to `@medium-ease` variable (Prateek Saxena) * MediaWiki theme: Add missing `width` and `height` attributes to icons (Ed Sanders) * Clean up CSS values in .oo-ui-transition calls (Timo Tijhof) * Use 'ease' instead of 'ease-in-out' for CSS transitions (Timo Tijhof) ### Code * Toolbar: Prevent double initialization (Roan Kattouw) * build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue (James D. Forrester) * build: Upgrade grunt-banana-checker to v0.3.0 (James D. Forrester) ## v0.12.7 / 2015-09-01 ### Deprecations * [DEPRECATING CHANGE] SelectFileWidget: Re-design to use a clearly clickable button (Ed Sanders) ### Styles * FieldLayout: Don't add `margin-bottom` when in a HorizontalLayout (Florian) * SelectFileWidget: Use gray for hover and `@progressive-fade` for drop active (Prateek Saxena) * Apex, MediaWiki themes: Fix scale of external link icon (Ed Sanders) * Apex, MediaWiki themes: Re-crush all SVG files with SVGO (James D. Forrester) * Apex, MediaWiki themes: Reduce size of 'close' icon by 1px (Ed Sanders) * Apex, MediaWiki themes: Remove Inkscape-ism from SVG files (James D. Forrester) * Apex, MediaWiki themes: Standardise XML prolog for SVG files (Bartosz Dziewoński) * MediaWiki theme: Fix viewBox of arrow indicators (Ed Sanders) * MediaWiki theme: Fix viewBox of several icons (James D. Forrester) ### Code * LookupElement: Really disallow editing of `readOnly` TextInputWidgets (Bartosz Dziewoński) * SelectFileWidget: Fix drop and drop hover exception in Firefox (Ed Sanders) * SelectFileWidget: Improve type checking (Ed Sanders) ## v0.12.6 / 2015-08-25 ### Features * AccessKeyedElement: Introduce (Florian) * ButtonOptionWidget: Mixin TitledElement (Bartosz Dziewoński) * ClippableElement: Allow $clippableContainer to be different from $clippable (Roan Kattouw) * Dialog: Listen for Escape key on $element, not document (Roan Kattouw) * InputWidget: Add TitledElement and AccessKeyedElement mixins (Florian) * PopupWidget: Make it possible to add static footers (Moriel Schottlender) * SelectFileWidget: Add drag drop UI as a config (Prateek Saxena) * TextInputWidget: Add moveCursorToEnd() (Roan Kattouw) ### Styles * MenuToolGroup: Add some missing styles for tools' 'check' icons (Bartosz Dziewoński) * PopupWidget: don't apply header styles to footer (Roan Kattouw) * SelectFileWidget: Mute the drag and drop design (Ed Sanders) * Add colour to neutral state of MW frameless buttons (Ed Sanders) * Editing-advanced icon pack: Add 'calendar' (Bartosz Dziewoński) ### Code * DropdownInputWidget: Allow users to pass config options to DropdownWidget (Alex Monk) * Theme: Add theme classes to $icon and $indicator only (Bartosz Dziewoński) * Use OO.ui.debounce() for Element#updateThemeClasses (Roan Kattouw) * Document browser-specific code with support comments (Timo Tijhof) * Update OOjs to v1.1.9 (James D. Forrester) * Fix file permissions (Southparkfan) * Fix inArray test in drag handler (Ed Sanders) * Prefer ES5 over jQuery methods (Bartosz Dziewoński) * build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass (James D. Forrester) * build: Enable jscs rule 'requireVarDeclFirst' and make pass (James D. Forrester) * build: Make `quick-build` build the 'mixed' distribution (James D. Forrester) * build: Update jscs devDependency from 1.8.0 to 2.1.0 (James D. Forrester) * build: Update various devDependencies to latest (James D. Forrester) * core: Remove spurious "[description]" placeholder from documentation (Timo Tijhof) * demos, tests: Use es5-shim for IE8 compatibility (Bartosz Dziewoński) * phpcs.xml: Ignore JS demo files in the PHP distribution (James D. Forrester) * testsuitegenerator: Do not generate nonsensical tests for 'maxLength' (Bartosz Dziewoński) ## v0.12.5 / 2015-08-18 ### Features * CapsuleMultiSelectWidget: Unbreak $overlay config option (Bartosz Dziewoński) * FloatingMenuSelectWidget: Introduce, based on TextInputMenuSelectWidget (Bartosz Dziewoński) * FieldLayout: Throw an error if no widget is provided (Prateek Saxena) * MessageDialog: Focus primary action button when the dialog opens (Prateek Saxena) ### Styles * DropdownWidget: Remove additional vertical margin, for consistency (Bartosz Dziewoński) * FieldLayout: Correct rendering of multiline messages in MediaWiki theme (Bartosz Dziewoński) * Move base icon/indicator styles out of themes (Roan Kattouw) * MediaWiki theme: Correct styling of nested buttons (Bartosz Dziewoński) ### Code * DropdownWidget: Add $overlay config option (Bartosz Dziewoński) * IconElement, IndicatorElement: Apply base styles to the right selector (Bartosz Dziewoński) * Add background-repeat: no-repeat; to default icon/indicator styles (Roan Kattouw) * Remove redundant background rules for icons/indicators (Roan Kattouw) * Revert "TextInputWidget: Update doc'ed requirements for validate function" (Prtksxna) * Don't directly use #addEventListener for compatibility with IE 8 (Bartosz Dziewoński) * demos: Add a demo of the $overlay config option of various widgets (Bartosz Dziewoński) ## v0.12.4 / 2015-08-13 ### Styles * CapsuleMultiSelectWidget: Style tweaks (Ed Sanders) ### Code * MenuSelectWidget: Call #updateItemVisibility in more cases (Bartosz Dziewoński) * PopupWidget: Remove 'focusout' handling again, limit to CapsuleMultiSelectWidget (Bartosz Dziewoński) ## v0.12.3 / 2015-08-11 ### Deprecations * [DEPRECATING CHANGE] TextInputWidget: Add getValidity function, deprecate isValid (Prateek Saxena) ### Features * Add OO.ui.isSafeUrl() to make sure url targets are safe client-side (Kunal Mehta) * CapsuleMultiSelectWidget: Introduce (Brad Jorsch) * FieldLayout: Allow displaying errors or notices next to fields (Bartosz Dziewoński) * HorizontalLayout: Introduce (Bartosz Dziewoński) * If ProcessDialog#fitLabel is called before dialog is open, defer (Ed Sanders) * Mixin TitledElement into DropdownInputWidget and FieldLayout (Florian) * Preserve dynamic state of widgets when infusing (Bartosz Dziewoński) * TextInputWidget: Don't forget to positionLabel() after it's been unset (Bartosz Dziewoński) ### Styles * FieldLayout: Kill 'list-style-image' too for messages list (Bartosz Dziewoński) * PopupToolGroup: Handle popup position on very narrow screens (Ed Sanders) * ToggleSwitchWidget: Update according to spec (Prateek Saxena) * MediaWiki, Apex themes: Fix height of frameless toolbar button (Ed Sanders) * Apex theme: Correct disabled iconed button tool's text colour (Ed Sanders) * Revert "Dialog: Increase z-index of .oo-ui-dialog to 1000+" (Ed Sanders) ### Code * ButtonOptionWidget: Make it more difficult to set an inappropriate 'tabIndex' (Bartosz Dziewoński) * TextInputWidget: Update doc'ed requirements for validate function (Prateek Saxena) * TextInputWidget: Use getValidity in setValidityFlag (Prateek Saxena) * Element: DWIM when repeatedly infusing the same node (Bartosz Dziewoński) * Element: Preserve 'classes' config option through infusion (Bartosz Dziewoński) * demo: Make compatible with IE 8 (Bartosz Dziewoński) * build: Exclude irrelevant files from Composer PHP package (Timo Tijhof) * build: Move phpcs config from composer.json to phpcs.xml (Timo Tijhof) * build: Output doxygen to "doc" for consistency with other PHP libraries (Kunal Mehta) * build: Switch svg2png to personal build which fixes long lines (James D. Forrester) * demos, tests: Use `.parent` instead of `.super` (Bartosz Dziewoński) * docparser: Add rudimentary error handling (Bartosz Dziewoński) * doxygen: Use default directory for HTML_OUTPUT (Kunal Mehta) * tests: Twist the time in comparison tests in a different manner (Bartosz Dziewoński) * testsuitegenerator: Output the number of generated test cases (Bartosz Dziewoński) ## v0.12.2 / 2015-07-28 ### Styles * Dialog: Increase z-index of .oo-ui-dialog to 1000+ (Prateek Saxena) * MediaWiki theme: Create new 'accessibility' icon pack (Violetto) ### Code * SelectWidget: Fix @mixins documentation (Roan Kattouw) * Update OOjs to v1.1.8 (James D. Forrester) ## v0.12.1 / 2015-07-22 ### Features * PendingElement: Make this actually useful (Roan Kattouw) * TextInputWidget: Handle required: true better (Bartosz Dziewoński) * TextInputWidget: Handle type: 'search' better (Bartosz Dziewoński) ### Styles * PanelLayout: Add some vertical margin when 'padded' and 'framed' (Bartosz Dziewoński) * MediaWiki, Apex themes: Add 'clear' indicator (Bartosz Dziewoński) * MediaWiki theme: Align colour of toolbar and dropdown buttons (Prateek Saxena) ### Code * Window: Compute directionality only when needed (Roan Kattouw) * Standardise some common comments (Bartosz Dziewoński) * build: Add clean:demos task (Bartosz Dziewoński) * build: Add clean:tests task (Bartosz Dziewoński) * build: Have copyright header reference "OOjs UI" team (Kunal Mehta) * build: Use new grunt-tyops package rather than local original (James D. Forrester) * Gruntfile: Fix 'pgk' to 'pkg' and add to typos list (James D. Forrester) * package.json: Use proper SPDX license notation (Derk-Jan Hartman) ## v0.12.0 / 2015-07-13 ### Breaking changes * [BREAKING CHANGE] SearchWidget: Remove deprecated event re-emission (Ed Sanders) ### Features * Allow infusion of widgets in other namespaces (Kunal Mehta) * Only allow construction of classes that extend OO.ui.Element in infusion (Kunal Mehta) * ButtonInputWidget: Disable generating `