September, 2020 #
You’re reading the ninth Duet monthly update. During the past month we’ve been busy improving the existing features, fixing bugs, and open sourcing Duet Date Picker.
As our team working on Duet Design System couldn’t find an existing date picker that would’ve ticked all the requirements we had for accessibility and performance, we decided to build one and open source it so that others could benefit from this work as well.
- No external dependencies.
- Themable with CSS variables.
- Weighs only 10kb minified and Gzip’ed (this includes all styles and icons).
- Built with accessibility in mind to support WCAG 2.1.
- Supports all modern browsers and screen readers.
- Support for localization.
- Customizable date parsing and formatting.
- Comes with modified interface for mobile devices to provide better user experience.
- Supports touch gestures for changing months and closing the picker.
- Free to use under the MIT license.
Discussion on Twitter #
Today we open sourced Duet date picker:— Nick Williams (@WickyNilliams) September 17, 2020
✨ Built for the modern web
⌨️ Keyboard and screen reader accessible
🗺️ Supports localisation
🎨 Themable with CSS variables
📱 Mobile friendly
⚡ Only 10kb gzipped (including all styles and icons!)https://t.co/B38UMdCFVT pic.twitter.com/43UTfpT02H
Our team working on Duet Design System couldn’t find an existing date picker that would’ve ticked all the requirements we had for bundle size and accessibility (WCAG 2.1), so we decided to build one and open source it: https://t.co/As1KL1NWFM pic.twitter.com/HXuBPQNBaQ— Viljami Salminen (@viljamis) September 17, 2020
New this month #
In this section we’ll highlight every month new features and progress from Duet Design System. This month’s highlights include:
Duet Date Picker #
As our team couldn’t find an existing date picker that would’ve ticked all the requirements we had for accessibility, we decided to build one and open source it so that others could benefit from this work as well.
Usage documentation #
We’ve added new usage docs for each component that explain how and when the component should be used. There’re also better accessibility docs and further considerations to take into account on each component page.
iOS and Android support #
We’ve added a new template demonstrating how to build a native view for iOS that utilizes Components, Design Tokens and CSS Framework. Similar techniques inside a native wrapper app could be used for Android as well.
Angular and React examples #
In addition to improved Angular and React support, we’ve also created example projects that you can utilize. Both our GitHub account and CLI Tool now come with Angular and React specific templates that you can utilize.
Duet Markdown renderer #
<duet-paragraph> rather than standard HTML tags like
What is Duet? #
Duet is a collection of reusable components and tools, guided by clear standards, that can be assembled together to build digital products for LocalTapiola and Turva.
The goal of Duet is to improve user interface consistency and quality, while making our software design and development processes more efficient.
The name “Duet” resembles the fact that there are two separate themes. One for LocalTapiola and one for Turva.
Duet’s core team includes Teppo Haste, Klaus Hougesen, Juha Rossi, Mona Suominen, Mia Kivelä and Luka Haapa.