Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blueprintjs/datetime2

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintjs/datetime2

Re-exports of @blueprintjs/datetime APIs

  • 2.3.19
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
27K
increased by1.43%
Maintainers
1
Weekly downloads
 
Created
Source

Blueprint Date & Time Components (V2)

Blueprint is a React UI toolkit for the web.

This package contains next-generation components for interacting with dates & times.

Compared to the "V1" components in @blueprintjs/datetime, the "V3" components in this package:

  • use react-day-picker v8 instead of v7 (this unblocks React 18 compatibility)
  • are easier to internationalize & localize since date-fns is now a dependency (instead of localeUtils, you can specify a locale code and we'll automatically load the date-fns locale object)

This package also contains legacy APIs which are re-exported aliases for components from @blueprintjs/datetime v5.x. These "V2" names are backwards-compatible with @blueprintjs/datetime2 v0.x.

To migrate to the latest "V3" components, follow the react-day-picker v8 migration guide.

Note that @blueprintjs/datetime2 will transitively install multiple versions of react-day-picker. These two copies of react-day-picker can happily exist together in a single JS bundle, and with the help of tree-shaking, you can avoid bundling both if you only use the deprecated "V1" / "V2" datetime components or only use the new "V3" APIs.

Full Documentation | Source Code

Keywords

FAQs

Package last updated on 11 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc