fix(inlinecheckbox): export inlinecheckbox#22263
Conversation
For some reason InlineCheckbox is not publicly exported, although InlineCheckboxProps is. Our code has been importing it like: import InlineCheckbox from '@carbon/react/lib/components/InlineCheckbox'; but of course that's not proper. Refs #562 (because that's where InlineCheckbox was added).
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22263 +/- ##
==========================================
- Coverage 95.53% 95.51% -0.03%
==========================================
Files 582 582
Lines 50435 50435
Branches 6743 6743
==========================================
- Hits 48183 48171 -12
- Misses 2120 2132 +12
Partials 132 132
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sangeethababu9223
left a comment
There was a problem hiding this comment.
Looks good. Once the snapshots are updated, I think this can be merged.
Ah you're right. Updated in a7a33a3. |
649a988
Refs #562 (because that's where InlineCheckbox was added).
Export
InlineCheckbox.For some reason
InlineCheckboxwas not publicly exported, even though it's in the same directory as all the other public components, and even thoughInlineCheckboxPropsis publicly exported. Is it supposed to be public?Our code has been importing it like:
But of course, that's not proper.
Changelog
New
Testing / Reviewing
Just the automated test. There's no Storybook for InlineCheckbox.
PR Checklist
As the author of this PR, before marking ready for review, confirm you:
More details can be found in the pull request guide