-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from upneet-betalectic/DatePicker
Date picker
- Loading branch information
Showing
10 changed files
with
177 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@locoworks/reusejs-toolkit-react-hooks": major | ||
--- | ||
|
||
Date-Helper Changes: | ||
|
||
- Added the following functions for enhanced date handling: | ||
- addLeadingZeroes: Adds leading zeroes to single-digit months or dates in user input. | ||
- parseCustomDate: Converts user-entered dates in a specified format to JavaScript Date type. | ||
- getFormattedDate: Converts calendar-selected dates or Date objects to the user-specified format. | ||
- isValidDate: Updated the function to validate user-typed input in the specified format and incorporated ts-luxon for date validation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@locoworks/reusejs-react-date-picker": major | ||
--- | ||
|
||
HeadlessDatePicker Changes: | ||
|
||
- Removed unnecessary logging statements. | ||
- Enhanced date format validation and synchronization with the calendar by allowing user-defined date formats. | ||
- Introduced suffixWrapperClasses and inputWrapperClasses for CSS customization. | ||
- Set a default value for minDate. | ||
- Simplified the Headless DatePicker component by removing various CSS properties for easier customization. | ||
- Moved the ts-luxon dependency to the hooks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.