0.9.18-alpha.0 • Published 1 year ago

@hai-ui/datetime2 v0.9.18-alpha.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Blueprint Date & Time Components (V2)

Blueprint is a React UI toolkit for the web.

This package contains a collection of React components for working with dates and times. These are modern variants of the components available in the @hai-ui/datetime package; they will become the standard date & time components in a future major version of Blueprint.

Compared to their "V1" counterparts, these components:

  • use Popover2 instead of Popover under the hood
  • have better timezone awareness
  • utilize lightweight dependencies for manipulating dates and displaying the list of available timezones
  • no longer use the deprecated moment.js library

At the moment, @hai-ui/datetime is a dependency of this package, as it delegates to the <DatePicker> and <DateRangePicker> implementation exported from there. When these "V2" components graduate to become the standard API, all Blueprint date/time components will be collected into a single package, @hai-ui/datetime@5.x.

Installation

npm install --save @hai-ui/datetime2

Full Documentation | Source Code