We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@chakra-ui/theme/components
Since 2.4.2, we can inject themes of each component using extendBaseTheme.
extendBaseTheme
However, when trying to import default component themes from @chakra-ui/theme/components, it fails with the error below.
Cannot find module '@chakra-ui/theme/components' or its corresponding type declarations.ts(2307)
It seems that ./dist/components/index.d.ts in theme package isn't generated. Foundations has the same issue too.
./dist/components/index.d.ts
https://codesandbox.io/s/vibrant-black-c5n2qy?file=/src/index.tsx
See codesandbox
2.4.4
No response
The text was updated successfully, but these errors were encountered:
cc: @anubra266
Sorry, something went wrong.
build(theme): Export components and foundations from theme package (#…
96287f8
…7135) Closes #7130
Successfully merging a pull request may close this issue.
Description
Since 2.4.2, we can inject themes of each component using
extendBaseTheme
.However, when trying to import default component themes from
@chakra-ui/theme/components
, it fails with the error below.It seems that
./dist/components/index.d.ts
in theme package isn't generated. Foundations has the same issue too.Link to Reproduction
https://codesandbox.io/s/vibrant-black-c5n2qy?file=/src/index.tsx
Steps to reproduce
See codesandbox
Chakra UI Version
2.4.4
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: