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(UIShell): Export prop types for components #14657

Merged
merged 5 commits into from
Sep 20, 2023

Conversation

ibacher
Copy link
Contributor

@ibacher ibacher commented Sep 14, 2023

This is a quick bug-fix that just exports some types for the UIShell sub-components that have been converted to Typescript. Currently, the types end up declared as the argument for the component, but not actually visible to consuming Typescript code.

Changelog

Changed

  • Types for UIShell sub-component props are now exported

Testing / Reviewing

In a project using @carbon/react and Typescript you should be able to use SideNavProps as a type in a consuming component without a TS 4203 error.

@ibacher ibacher requested a review from a team as a code owner September 14, 2023 19:23
@github-actions
Copy link
Contributor

github-actions bot commented Sep 14, 2023

DCO Assistant Lite bot All contributors have signed the DCO.

@ibacher
Copy link
Contributor Author

ibacher commented Sep 14, 2023

I have read the DCO document and I hereby sign the DCO.

@netlify
Copy link

netlify bot commented Sep 14, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit fa95525
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/650b249ba36f090008f7498c
😎 Deploy Preview https://deploy-preview-14657--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.

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@ibacher
Copy link
Contributor Author

ibacher commented Sep 18, 2023

Alright, saw the CI errors, which is what I get for trying to do this directly on GitHub. Hopefully with the last push and update things will be better now...

@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit cd4d9ca
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/65085f32e6580d000812aaac
😎 Deploy Preview https://deploy-preview-14657--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.

@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit fa95525
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/650b249ba599370008d4b0f1
😎 Deploy Preview https://deploy-preview-14657--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.

@denniskigen
Copy link
Contributor

Good to go, @tay1orjones?

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@github-actions github-actions bot added this pull request to the merge queue Sep 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 20, 2023
@tw15egan tw15egan added this pull request to the merge queue Sep 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 20, 2023
@tw15egan tw15egan enabled auto-merge September 20, 2023 16:58
@tw15egan tw15egan added this pull request to the merge queue Sep 20, 2023
Merged via the queue into carbon-design-system:main with commit c939468 Sep 20, 2023
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.

4 participants