Skip to content

v4.0.0

Compare
Choose a tag to compare
@motss motss released this 02 Apr 15:08

📦 app-datepicker@v4 is finally released!!! 🎉 🔥 🔥 🔥

After more than a year since v3 (first release was at Dec 27, 2018), a new major release is finally here with tons of fixes and features added to this release. It's been a long journey and without the support from the community and the users, it wouldn't have been possible. I've tried my best to hear all the voices and feedbacks that have been given to me to improve my this element. 👍 Thank you all for the support.

The core of the element is simple:

  1. To embrace latest and greatest web platform features
  2. No external dependencies on things like animations, i18n, date manipulation in JavaScript, and UI component
  3. Keep everything as simple and small as possible
  4. Easy-to-use with public properties and methods that make sense
  5. Must be based on Google's Material Design

Notable changes

  • [feat] Rewritten with the following technologies:
    • TypeScript 3.8
    • lit-element 2.3.1 (lit-html 1.2.1)
    • @material/mwc-button 0.14
  • [feat] Adopted Material Design 2 (datepicker's design before year 2020)
  • [feat] Full support for touch-capable devices and mobile, especially calendar swiping!
  • [perf] Now at 16.6KB (minified + gzipped). That is ~70.62% smaller as compared to v3 (56.5KB)
  • [perf] Faster thanks to lit-element, Shadow Parts, Constructible Stylesheets, Web Animations with CSS Animations fallback (no polyfill required) and Web Components v1
  • [css] Full CSS customization made possible by Constructible Stylesheets, instead of exposing too many CSS Custom Properties, e.g. dark theme support
  • [a11y] Full keyboard support and screen reader support
  • [test] Migrated to use webdriverio@5 for unit testing
  • [test] Tested on last 2 versions of evergreen browsers including Microsoft Edge 79+. IE11 is no longer support but should work with polyfills.
  • [interop] First class support for @material's material-web-components such as mwc-dialog
  • [ci] Migrated to use Github Actions for CI/CD

Once again, thank you and have a great day ahead! Stay home stay safe! 🏠