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

fix(react): publish type definitions for @carbon/react/icons #15086

Merged

Conversation

lewandom
Copy link
Contributor

@lewandom lewandom commented Nov 2, 2023

TypeScript types were added to @carbon/react/icons in #14714, but are not consumable, cause... index.d.ts is not being published... Oops.

Changelog

New

  • Added icons/index.d.ts to the list of files published by @carbon/react.

Testing / Reviewing

Can only test after this change is released. After it's released, should be able to use TypeScript types for icons.

@lewandom lewandom requested a review from a team as a code owner November 2, 2023 08:56
Copy link

netlify bot commented Nov 2, 2023

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 68ff65e
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6543645431cff90007d30628
😎 Deploy Preview https://deploy-preview-15086--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 2, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 68ff65e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/65436454c1f2fa0008e1cb54
😎 Deploy Preview https://deploy-preview-15086--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@alisonjoseph
Copy link
Member

alisonjoseph commented Nov 2, 2023

@lewandom will this fix this error I'm seeing in our website? carbon-design-system/carbon-website#3787

@lewandom
Copy link
Contributor Author

lewandom commented Nov 2, 2023

@alisonjoseph no, that seems to be yet another, different problem with the types I added for icons-react.

@tay1orjones tay1orjones added this pull request to the merge queue Nov 2, 2023
Merged via the queue into carbon-design-system:main with commit abd0f86 Nov 2, 2023
17 checks passed
@alisonjoseph
Copy link
Member

@lewandom do you know what the issue is, is it something you can easily open a PR for to fix? It's also breaking the design language website.

@lewandom
Copy link
Contributor Author

lewandom commented Nov 2, 2023

@alisonjoseph I think I know what the issue is, trying to come up with a fix just now.

@lewandom lewandom deleted the ts-react-icons-publish-dts branch November 6, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants