Skip to content

fix(inlinecheckbox): export inlinecheckbox#22263

Merged
heloiselui merged 7 commits into
carbon-design-system:mainfrom
wkeese:wkeese/InlineCheckbox
May 21, 2026
Merged

fix(inlinecheckbox): export inlinecheckbox#22263
heloiselui merged 7 commits into
carbon-design-system:mainfrom
wkeese:wkeese/InlineCheckbox

Conversation

@wkeese

@wkeese wkeese commented May 14, 2026

Copy link
Copy Markdown
Contributor

Refs #562 (because that's where InlineCheckbox was added).

Export InlineCheckbox.

For some reason InlineCheckbox was not publicly exported, even though it's in the same directory as all the other public components, and even though InlineCheckboxProps is publicly exported. Is it supposed to be public?

Our code has been importing it like:

import InlineCheckbox from '@carbon/react/lib/components/InlineCheckbox';

But of course, that's not proper.

Changelog

New

  • Exported InlineCheckbox.

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:

  • Reviewed every line of the diff
  • Updated documentation and storybook examples
  • Wrote passing tests that cover this change
  • Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

More details can be found in the pull request guide

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).
@wkeese wkeese requested a review from a team as a code owner May 14, 2026 02:13
@netlify

netlify Bot commented May 14, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5a0ca73
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/6a0d6b9e06ce1c0008ebd415
😎 Deploy Preview https://deploy-preview-22263--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented May 14, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit 5a0ca73
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/6a0d6b9eea8c3b0008450e23
😎 Deploy Preview https://deploy-preview-22263--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.51%. Comparing base (69c9b45) to head (5a0ca73).

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              
Flag Coverage Δ
main-packages 89.23% <ø> (ø)
web-components 98.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@netlify

netlify Bot commented May 15, 2026

Copy link
Copy Markdown

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 5a0ca73
🔍 Latest deploy log https://app.netlify.com/projects/carbon-elements/deploys/6a0d6b9efb5eb20008afd1f3
😎 Deploy Preview https://deploy-preview-22263--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@emyarod emyarod left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good to me! I think the snapshots may need to be updated to pass CI

@sangeethababu9223 sangeethababu9223 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Once the snapshots are updated, I think this can be merged.

@wkeese

wkeese commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

Looks good. Once the snapshots are updated, I think this can be merged.

Ah you're right. Updated in a7a33a3.

@heloiselui heloiselui added this pull request to the merge queue May 20, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 20, 2026
@heloiselui heloiselui added this pull request to the merge queue May 21, 2026
Merged via the queue into carbon-design-system:main with commit 649a988 May 21, 2026
40 checks passed
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.

5 participants