csandman / chakra-react-select

A Chakra UI themed wrapper for the popular library React Select

Home Page:https://www.npmjs.com/package/chakra-react-select

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Breaking Change in chakraui/icon

elvinvibecartons opened this issue · comments

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

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

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

I too, am facing the same issue

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

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.