Hello everyone, I'm pleased to announce that we've released OOUI v0.31.0 yesterday.
Key highlights of this release: - IndexLayout (tab layout) and all its dependent layouts - StackLayout, - MenuLayout, - TabPanelLayout and TabSelectWidget/TabOptionWidget are all now provided server-side in PHP as well. Thanks to Cormac Parle, the Multimedia team and Ed Sanders for providing those.
- Mixin configs are made extendable Config options are always overridable unless explicitly needed to force a value to them.
- New 'success' type was added as FieldLayout message type additionally to 'error' and 'warning'.
Apart from above, there are also possible breaking changes in this release: Please carefully consider if they affect your code.
- Remove FlaggedElement from InputWidget. Only TextInputWidget & ButtonInputWidget use or require flags, so mixin FlaggedElement to those directly. The following classes are no longer flagged: - CheckboxInputWidget - CheckboxMultiselectInputWidget - DropdownInputWidget - RadioSelectInputWidget
- Remove method names, like for example `onMouseUp` or `onMouseMove`, which got deprecated in v0.28.3 and replaced by `onDocumentMouseUp` and `onDocumentMouseMove`.
- Drop `iconTitle` and `indicatorTitle` properties, deprecated in v0.30.0, use `title` instead.
- Drop 'search' indicator, deprecated in v0.30.0, in this release removed completely. This indicator hasn't been used anywhere to our knowledge. 'search' icon is the replacement where needed.
You can find details on additional new features, code-level and accessibility changes, styling and interaction design amendments, and all improvements since v0.30.0 in the full changelog[1].
If you have any further queries or need help dealing with breaking changes, please let me know.
As always, interactive demos[0] and library documentation is available on mediawiki.org[2], there is comprehensive generated code-level documentation and interactive demos and tutorials hosted on doc.wikimedia.org[3].
OOUI version: 0.31.0 MediaWiki version: 1.33.0-wmf.22 Date of deployment to production: Regular train, starting Tuesday 19 March
[0] - https://doc.wikimedia.org/oojs-ui/master/demos/#widgets-mediawiki-vector-ltr [1] - https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md [2] - https://www.mediawiki.org/wiki/OOUI [3] - https://doc.wikimedia.org/oojs-ui/master/
Best, Volker
-- Senior UX Engineer Wikimedia Foundation
volker.e@wikimedia.org | @Volker_E