OOUI v0.35.0 released – new CSS unit approach

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OOUI v0.35.0 released – new CSS unit approach

Volker E.
Hello,
end of last week saw releases of OOUI v0.35.0 and minor follow-up v0.35.1,
they have rolled-out on normal train this week.

The highlights were
- Using `px` where applicable over `em`s.
For most box sizing properties (min-width, min-height, margin, border,
border-radius, padding, box-shadow, outline) `px` unit is sufficient to
still provide accessible user font preference overrides to scale the text.
Additionally, this change is simplifying and speeding up building
interfaces for designers and developers. See
https://phabricator.wikimedia.org/T220671 for further details. This change
doesn't affect any current interfaces, it should result in no rendering
differences at normal environment settings.

- `infuse-by-id` feature got removed, it has been deprecated since v0.29.7
and has, to our knowledge, only been used internally any more. Use an
HTMLElement or jQuery collection instead. Please verify that you are not
using the feature any more.

You can find details on additional new features, code-level, styling and
interaction design amendments, and all
improvements since v0.34.0 in the full changelog[0].

If you have any further queries or need help dealing with breaking
changes, please let me know.

As always, interactive demos[1] 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.35.0
MediaWiki version: 1.35.0-wmf.2
Date of deployment to production: Regular train, starting Tuesday 15 October

[0]-
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md
<https://doc.wikimedia.org/oojs-ui/master/demos/#widgets-mediawiki-vector-ltr>
[1]-
https://doc.wikimedia.org/oojs-ui/master/demos/#widgets-mediawiki-vector-ltr
[2] - https://www.mediawiki.org/wiki/OOUI
[3] - https://doc.wikimedia.org/oojs-ui/master/

Best,
Volker

--
Senior UX Engineer
Wikimedia Foundation

[hidden email] | @Volker_E
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l