freshworks / nucleus

Nucleus - The Freshworks Design System in Ember
https://freshworks-nucleus.netlify.com/
14 stars 11 forks source link

feat(Datepicker): Implementation #179

Closed Vignesh-Manogar-E3433 closed 4 years ago

Vignesh-Manogar-E3433 commented 4 years ago

Description

The date picker can be used for both picking date as selecting one value or picking a range as per the context of usage.

https://freshworks.invisionapp.com/dsm/freshworks/freshworks/folder/components/5c68fa78fb26bb0018554084

Implemented first four variations of datepicker after discussions with design team.

Time picker implementation to be taken up later.

Implementation details:

This is based on power calendar addon. Power calendar uses date manipulation 'date-fns' library addon. Since some of functions that we needed were not exposed in that addon, We have forked the repository to implement some custom functions.

https://github.com/Vignesh-Manogar-E3433/ember-power-calendar-date-fns forked from https://github.com/makepanic/ember-power-calendar-date-fns

To do:

Known issues:

netlify[bot] commented 4 years ago

Deploy preview for freshworks-nucleus processing.

Building with commit 1f4b1464dbae8118d0b7e196998768b44b0da436

https://app.netlify.com/sites/freshworks-nucleus/deploys/5eb109153eb7f30006dbfaf0