🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@freshworks/datepicker

Package Overview
Dependencies
Maintainers
15
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freshworks/datepicker

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

latest
Source
npmnpm
Version
0.14.1
Version published
Weekly downloads
1
-85.71%
Maintainers
15
Weekly downloads
 
Created
Source

@freshworks/datepicker

yarn add @freshworks/datepicker

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

Scenario

For each usage varying from selecting one date to selecting a range, the date and time picker must be such designed. Best practices are providing easily accessible buttons for most used components, such as today, yesterday.

Guidelines

Do's

  • Provide clear visual hue for hover states over the dates.

Dont's

  • If the date to be selected is far away in time, providing a date and time picker is a bad practice. Then get input from textbox.

Internationalization

Supports calendar localization for languages that date-fns supports. For supported languages, https://date-fns.org/v2.11.1/docs/I18n .

For other strings, we use ember-intl addons. Currently only supports only 'en' and 'pt' for the moment. https://ember-intl.github.io/ember-intl/docs/guide/supported-locales .

Keywords

ember-addon

FAQs

Package last updated on 20 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts