Skip to content

Conversation

@maradwan26
Copy link
Contributor

Closes #21081

Moves @carbon/icons from "devDependencies" to "dependencies" to fix an issue where a dependency error would get thrown when importing certain components from es/components/

Changelog

Changed

  • Moved @carbon/icons from "devDependencies" to "dependencies"

Testing / Reviewing

  • Pull down this branch
  • Run yarn install and yarn build
  • cd to packages/web-components
  • run npm pack
  • Pull down the stackblitz link into your remote
  • Copy the .tgz file generated from npm pack and paste it into your local version of the stackblitz reproduction
  • Go to package.json and set "@carbon/web-components": "file:./carbon-web-components-rest-of-file-name.tgz"
  • Run yarn clean if needed
  • Run npm install && npm run dev
  • There should be no dependency errors and the data-table should render properly
  • Feel free to try this with other components
  • CI should pass
  • Deploy previews should work
  • Everything should build successfully
  • There should be no breaking changes

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

@maradwan26 maradwan26 requested a review from a team as a code owner December 2, 2025 17:08
@maradwan26 maradwan26 requested review from kennylam and removed request for emyarod December 2, 2025 17:09
@netlify
Copy link

netlify bot commented Dec 2, 2025

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

Name Link
🔨 Latest commit d94094b
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/692f1d15a6519a000724db61
😎 Deploy Preview https://deploy-preview-21106--v11-carbon-web-components.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 project configuration.

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (93d9f2b) to head (8e4f2ea).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #21106   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files         515      515           
  Lines       38225    38225           
  Branches     5835     5835           
=======================================
  Hits        35397    35397           
  Misses       2678     2678           
  Partials      150      150           
Flag Coverage Δ
main-packages 85.61% <ø> (ø)
web-components 96.87% <ø> (ø)

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
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit d94094b
🔍 Latest deploy log https://app.netlify.com/projects/carbon-elements/deploys/692f1d1527339d00080937b9
😎 Deploy Preview https://deploy-preview-21106--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 project configuration.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d94094b
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/692f1d150a92870008fa8849
😎 Deploy Preview https://deploy-preview-21106--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 project configuration.

@netlify
Copy link

netlify bot commented Dec 2, 2025

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

Name Link
🔨 Latest commit 8e4f2ea
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/692f1d2147887400081f50e8
😎 Deploy Preview https://deploy-preview-21106--v11-carbon-web-components.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 project configuration.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 8e4f2ea
🔍 Latest deploy log https://app.netlify.com/projects/carbon-elements/deploys/692f1d2147887400081f50e6
😎 Deploy Preview https://deploy-preview-21106--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 project configuration.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8e4f2ea
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/692f1d21ba19010008fcc2e3
😎 Deploy Preview https://deploy-preview-21106--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 project configuration.

@riddhybansal riddhybansal added this pull request to the merge queue Dec 3, 2025
Merged via the queue into carbon-design-system:main with commit 7da22c2 Dec 3, 2025
42 of 43 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.

[Bug]: @carbon/icons dependency error in @carbon/web-components

3 participants