Skip to content

Comments

refactor(utilities): improve carousel and overflow typing#21618

Open
adamalston wants to merge 1 commit intocarbon-design-system:mainfrom
adamalston:n/a-fair
Open

refactor(utilities): improve carousel and overflow typing#21618
adamalston wants to merge 1 commit intocarbon-design-system:mainfrom
adamalston:n/a-fair

Conversation

@adamalston
Copy link
Contributor

@adamalston adamalston commented Feb 21, 2026

No issue.

Improved carousel and overflow typing.

Changelog

Changed

  • Improved carousel and overflow typing.

Removed

  • Removed explicit types where they could otherwise be inferred.

Testing / Reviewing

The original goal was to remove all HTMLElement type assertions in the packages/utilities. That goal evolved into making the implementations type safe, which required updates in several areas, including destroyEvents.

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

@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.29%. Comparing base (fe8d96b) to head (a405e9f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21618      +/-   ##
==========================================
- Coverage   87.32%   87.29%   -0.03%     
==========================================
  Files         538      538              
  Lines       43521    43521              
  Branches     6668     6731      +63     
==========================================
- Hits        38003    37990      -13     
- Misses       5357     5369      +12     
- Partials      161      162       +1     
Flag Coverage Δ
main-packages 86.82% <ø> (ø)
web-components 87.53% <ø> (ø)

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 Feb 21, 2026

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit a405e9f
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/699a00f457709d00088e9c06
😎 Deploy Preview https://deploy-preview-21618--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 Feb 21, 2026

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

Name Link
🔨 Latest commit a405e9f
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/699a00f45ed0f90008701b54
😎 Deploy Preview https://deploy-preview-21618--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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant