Skip to main content

Duet Design System September 2020 Update

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.

Duet Date Picker is an open source version of Duet Design System’s WCAG 2.1 compliant date picker. Duet Date Picker can be implemented and used across any JavaScript framework or no framework at all. We accomplish this by using standardized web platform APIs and Web Components.

Features

  • Can be used with any JavaScript framework.
  • 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



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.

Duet Date Picker

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.

Usage documentation

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.

iOS and Android support

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.

Angular and React examples

Duet Markdown renderer

Duet now offers a custom renderer for the most popular JavaScript Markdown library marked.js, so that it outputs Duet components like <duet-paragraph> rather than standard HTML tags like <p>.

Duet Markdown renderer

Until October!

Written by Ariel Salminen.

Ariel Salminen.

Get in Touch

Does your team need help? I’m Ariel Salminen, a Design Systems Architect specialized in helping organizations build and maintain design systems. I’m available for both local and remote projects around the world.

Keyboard Shortcuts