Skip to content

🛂 Migrate to Chakra UI v3 #1496

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

Merged
merged 9 commits into from
Feb 17, 2025
Merged

🛂 Migrate to Chakra UI v3 #1496

merged 9 commits into from
Feb 17, 2025

Conversation

alejsdev
Copy link
Member

@alejsdev alejsdev commented Feb 17, 2025

Preview:

Screencast.from.2025-02-17.18-11-24.mp4

image

Packages were updated, all lint errors were fixed, deprecated elements were replaced with newer ones, several components were updated with new snippets, styling tweaks were implemented, and Playwright tests were updated as well.

  • The snippets are now in the new ui directory.
  • Since the Chakra Icons package is no longer supported, the old icons were replaced with React Icons.
  • The hooks were removed. The useDisclosure is no longer needed since the Dialog now handles the opening/closing.
  • Modal and AlertDialog components were replaced with the Dialog component.
  • The theme was simplified.
  • FormControl and FormErrorMessage were replaced with the Field component, which can accept a label and error as props.
  • The Table, Menu, and Drawer components were replaced with the new components.
  • InputRightElement and InputLeftElement were replaced with props endElement and startElement in InputGroup.
  • PasswordField was replaced with PasswordInput.
  • CustomToast was deleted as it's no longer needed. The toast creation was updated to the new format.
  • Pagination was simplified.
  • EmptyState added for Items.
  • The boolean prop names changed from is to , e.g., isInvalid changed to invalid.

@alejsdev alejsdev marked this pull request as ready for review February 17, 2025 18:36
@tiangolo tiangolo added feature New feature or request and removed refactor labels Feb 17, 2025
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you! 🙌 🚀

@tiangolo tiangolo merged commit 55df823 into master Feb 17, 2025
13 checks passed
@tiangolo tiangolo deleted the migration branch February 17, 2025 19:33
JBLangton pushed a commit to JBLangton/full-stack-fastapi-template that referenced this pull request Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants