Confusing naming for datetime components #6530
-
QuestionAs a library end user I am very confused by the current naming scheme for datetime components.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
@alex-kinokon Sorry for that, you're right it's a bit confusing! We considered various options here for the naming scheme before landing on this one, if you're curious you can read this PR thread. This is a temporary state until we get to Blueprint v6.0.
This is a typo, I will fix it to say @blueprintjs/datetime2 package. |
Beta Was this translation helpful? Give feedback.
-
|
@adidahiya Thanks. Is there any reason you don’t want to deprecate and freeze the |
Beta Was this translation helpful? Give feedback.
-
|
Closing this out. The naming situation was resolved in Blueprint v6. The modern date/time components now live in |
Beta Was this translation helpful? Give feedback.
Closing this out. The naming situation was resolved in Blueprint v6.
The modern date/time components now live in
@blueprintjs/datetime.@blueprintjs/datetime2still exists for backwards compatibility, but it just re-exports from@blueprintjs/datetimewith everything marked@deprecated. New code should import from@blueprintjs/datetimeand ignoredatetime2.