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

[BUG] Breaking Change in chakraui/icon #276

Closed
6 tasks
elvinvibecartons opened this issue Sep 9, 2023 · 6 comments · Fixed by #277
Closed
6 tasks

[BUG] Breaking Change in chakraui/icon #276

elvinvibecartons opened this issue Sep 9, 2023 · 6 comments · Fixed by #277
Assignees
Labels
Bug Something isn't working Fixed The problem has been fixed

Comments

@elvinvibecartons
Copy link

Description

New 3.2.0 release of Chakra UI Icon deprecates default export in favor of named exports. This breaks chakra react select which expects a default export.

chakra-react-select Version

4.7.0

Link to Reproduction

No response

TypeScript?

  • Yes I use TypeScript

Steps to reproduce

Run npm update.
Chakra-React-Select will update dependency to 3.2.0 and break.

Operating System

  • macOS
  • Windows
  • Linux
  • iOS/iPadOS
  • Android

Additional Information

No response

@elvinvibecartons elvinvibecartons added the Bug Something isn't working label Sep 9, 2023
@csandman
Copy link
Owner

csandman commented Sep 9, 2023

Thanks for the heads up, I'll look into getting a fix out on monday!

@Naman-Garaaz
Copy link

Yes, We are facing the same issue from last night.

@atishay100
Copy link

I too, am facing the same issue

@jonashger
Copy link
Contributor

@csandman Can you review #277?

@Sahil-Rally
Copy link

@csandman Can you pls share till when this will be resolved ?

@csandman
Copy link
Owner

Sorry for the delay all, a fix is up in v4.7.1! Just so everyone knows, if they run into a future like this in the future, it's easy enough to work around by overriding the package versions that CRS depends on.

For example, you can add this to your package.json:

  "overrides": {
    "chakra-react-select": {
      "@chakra-ui/icon": "3.1.0"
    }
  }

You may need to wipe our your package-lock.json/yarn.lock and node_modules, and reinstall, but it will fix your problem until a fix can be pushed.

@csandman csandman added the Fixed The problem has been fixed label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Fixed The problem has been fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants