Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update packages and refactor DateTime component #140

Merged
merged 6 commits into from
Nov 19, 2024

Conversation

DCosti
Copy link
Collaborator

@DCosti DCosti commented Nov 18, 2024

Upgrade @mui/x-date-pickers to v^7.22.2 and date-fns to v^4.1.0.

❗Breaking changes:

  • components property have been replaced with slots property.
  • format property is now used to format the date when rendered in the input and localeFormat to choose ISO format names.
  • value, minDate and maxDate now accepts only Date type as value.

Fixed #72

src/stories/inputs/DateTime/DateTime.stories.tsx Outdated Show resolved Hide resolved
src/stories/inputs/DateTime/ErrorHelperTextPreview.tsx Outdated Show resolved Hide resolved
src/stories/inputs/DateTime/FormatPreview.tsx Outdated Show resolved Hide resolved
@DCosti DCosti merged commit 4778290 into master Nov 19, 2024
1 check passed
@DCosti DCosti deleted the feature/DateTimeUpdate branch November 19, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DateTime's minDate & maxDate attributes need a converter.
2 participants