TL;DR: This issue features Origami components on npm; the release of o-layout v3, which includes two new layouts to help build internal tools and products; and the release of o-header-services v3, which includes new features, customisation, and a lot of code improvements.
Top three things
These are some of the bigger things we’ve worked on or released over the last month.
Origami Components On NPM
Origami components are now available on the npmjs registry as well as the bower registry. This will help teams who have difficulty using bower in their projects. Our guide shows how to move a project from bower to npmjs. Outside Origami, it looks like the apps team are going to be the first to migrate a project. Good work!
If you have any queries/questions, the Origami team are ready to help.
New major version: o-layout
o-layout provides page layouts and typography as a starting point to create internal tools or products. In addition to the documentation layout we already had, v3 introduces a “query” layout for search and filter pages; and a “landing” layout for homepages or category pages. You can view demos for o-layout in the Origami registry.
New major version: o-header-services
o-header-services is a component currently used by many of our tools, both internal and customer facing, to aid navigation. The new major release follows the beta we announced last issue. It reduces code complexity (both internally and from an Origami user’s perspective); introduces optional dropdowns for larger navigation structures; and it is now customisable so our specialist titles may choose to make the most of o-header-services. Big thanks to Tom Dew, Carina Huse, Alex Wilson, and the rest of the team at BlueTel for their time and feedback. Demos and a migration guide are available via the Origami Registry.
Special thanks
Special thanks to the Enhanced Experience team who have bought o-table to ft.com and the app. Editorial are now able to add tables to stories which are sortable, expandable, and responsive. In no particular order, thanks again to: Emily Quinn, Peter Clarke, Terry Roberts, Gabor Ottlik, Ludovic Robin, Umberto Babini, Luke Kavanagh, and to the apps team for their support. 👏
Broader update
A digest list of other things that have happened over the last month.
MINOR: To publish them to NPM, we released a minor of all components supported by Origami (well done Chee Rabbits and Jake Champion 🙌). Plus some widely used components which other teams maintain such as o-subs-card, o-audio, o-ads (shout out to the ads team for their support).
MAJOR: o-date v3.0.0 was released, which removes the ability to use o-date server side. We created the npm package “@financial-times/ft-date-format” as a drop-in replacement migration guide.
MAJOR: o-teaser v3.2.1 was released, which upgrades to to the latest version of o-labels (migration guide). The v3 release was quickly followed by other releases which add a speaker icon to audio teasers, and a style improvement for teasers with no tag (thanks to Dawn Budge and Liam Keaton for this).
MINOR: o-table v7.2.1 was released, improving sort and expander performance, and adding a new utility class to apply margin below tables.
MINOR: o-typography v5.10.1 was released, adding whitelabel brand customisation for specialist titles and fixing the icon colour of custom external links. It also addresses deprecation warnings from dart-sass.
MINOR: o-autoinit v1.5.0 was released, removing support for IE8 and below (which will reduce our JS bundle sizes).
MINOR: o-colors v4.8.4 was released, removing some of our more overbearing Sass warnings 🎉.
MINOR: o-tooltip v3.4.0 was released, which removes the use of deprecated colour usecases and adds support for internal and whitelabel brands.
MINOR: o-video v5.1.1 fixes an issue which prevented o-videos building with dart-sass, and also adds named exports in addition to the default export.
MINOR: o-buttons v5.16.2 fixes a bug which prevented o-buttons building with dart-sass.
MINOR: o-grid v4.5.1 enables named exports as well as the default object (see issue). Thanks Chee Rabbits!
MINOR: node-health-check v1.7.0, new options to check an API that requires authentication (credit to Kiya Gurmesa for this one), plus documentation improvements (nice one, James Loveridge & Charlie Briggs)
MINOR: polyfill-library v3.30.1 now minifies feature detection JS and a fix to support online IDEs such as repl.it (credit to Kate Beard, who is currently bootcamping with Origami). Plus multiple other minor releases this month have updated and added new polyfills (Jake Chamion 💪). Including, but not limited to: