Skip to content

feat: added contained tab stories#22157

Open
riddhybansal wants to merge 2 commits intocarbon-design-system:mainfrom
riddhybansal:contained_tabs_stories
Open

feat: added contained tab stories#22157
riddhybansal wants to merge 2 commits intocarbon-design-system:mainfrom
riddhybansal:contained_tabs_stories

Conversation

@riddhybansal
Copy link
Copy Markdown
Contributor

@riddhybansal riddhybansal commented Apr 30, 2026

Closes #19753
Closes #19754

Add contained tab story variants to @carbon/web-components to match @carbon/react parity

Changelog

New

  • Added ContainedWithIcons story
  • Added ContainedFullWidth story
  • Added ContainedWithSecondaryLabels story
  • Added ContainedWithSecondaryLabelsAndIcons story

Changed

  • N/A

Removed

  • N/A

Testing / Reviewing

Open Storybook and navigate to Components/Tabs
Verify all contained stories work as expected

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1f92f8a
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/69f35a9d7b0fe7000830f167
😎 Deploy Preview https://deploy-preview-22157--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
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

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

Name Link
🔨 Latest commit 1f92f8a
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/69f35a9dc2ebff0007af471b
😎 Deploy Preview https://deploy-preview-22157--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
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.06%. Comparing base (046c448) to head (1f92f8a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22157      +/-   ##
==========================================
- Coverage   95.09%   95.06%   -0.03%     
==========================================
  Files         541      541              
  Lines       45239    45239              
  Branches     6511     6511              
==========================================
- Hits        43018    43007      -11     
- Misses       2092     2103      +11     
  Partials      129      129              
Flag Coverage Δ
main-packages 89.14% <ø> (ø)
web-components 97.88% <ø> (ø)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant