-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: web-components - specify js extensions for icon imports #17818
fix: web-components - specify js extensions for icon imports #17818
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17818 +/- ##
=======================================
Coverage 80.15% 80.15%
=======================================
Files 406 406
Lines 14011 14011
Branches 4332 4332
=======================================
Hits 11231 11231
Misses 2614 2614
Partials 166 166 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
203c3b9
* chore: rename ai slug to ai label * chore: rename to ai-label * chore: rename slug example to ai-label * chore: add ai label to form group stories * chore: rename handle slug slot change methods * chore: all stories shifted * fix: fix radio-button with ai-label * fix: modal ai-label styles * chore: rename test files to ai-label * chore: add space between AI and Label in docs * chore: undo changes to tearsheet and side-panel * chore: keep slug component as deprecated * chore: restore readme * fix: specify js extensions for icon imports (#17818) * chore: add extensions to icons in stories * fix: show actions for playground and datatable sort * fix: catch both slug and ai-label in event handlers
Hey there! v11.69.0 was just released that references this issue/PR. |
…ign-system#17739) * chore: rename ai slug to ai label * chore: rename to ai-label * chore: rename slug example to ai-label * chore: add ai label to form group stories * chore: rename handle slug slot change methods * chore: all stories shifted * fix: fix radio-button with ai-label * fix: modal ai-label styles * chore: rename test files to ai-label * chore: add space between AI and Label in docs * chore: undo changes to tearsheet and side-panel * chore: keep slug component as deprecated * chore: restore readme * fix: specify js extensions for icon imports (carbon-design-system#17818) * chore: add extensions to icons in stories * fix: show actions for playground and datatable sort * fix: catch both slug and ai-label in event handlers
Closes #17813
Closes #17650
For users importing the
@carbon/web-components
package and using webpack, there is an error appearing - mandating the specification of the extension in the icon imports.Changelog
Changed
.js
extensions to all the icon imports in the@carbon/web-components
component files.js
extension to thespread.js
file that is included in all exported icon filesTesting / Reviewing
npm install & npm run build
there are no errors appearing