Skip to content
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

add dialog-toggle-events polyfill #77

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

keithamus
Copy link
Member

In primer/view_components#3332 we're pulling in a dialog-toggle-events-polyfill. Ideally, however, all polyfills should be part of this library.

This PR introduces the same dialog-toggle-events-polyfill to this library, so that other downstream libraries like Primer may use it.

@Copilot Copilot bot review requested due to automatic review settings February 24, 2025 11:43
@keithamus keithamus requested a review from a team as a code owner February 24, 2025 11:43
@keithamus keithamus requested a review from jibrang February 24, 2025 11:43

Choose a reason for hiding this comment

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

PR Overview

This PR integrates the dialog-toggle-events polyfill into the library so that downstream consumers, such as Primer, can benefit from the polyfill without needing to include it separately.

  • Adds an import statement for the polyfill from the external package.
  • Exports the polyfill as part of the polyfills object.

Reviewed Changes

File Description
src/index.ts Added import and export for dialog-toggle-events polyfill

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

arelia
arelia previously approved these changes Feb 25, 2025
@keithamus keithamus force-pushed the add-dialog-toggle-events-polyfill branch from eb0edfa to cfd4904 Compare February 25, 2025 16:16
@keithamus keithamus merged commit 3ed07a5 into github:main Feb 25, 2025
1 check passed
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.

2 participants