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 new getTabIndex() export #1039

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Add new getTabIndex() export #1039

merged 1 commit into from
Jun 26, 2023

Conversation

stefcameron
Copy link
Member

This is needed for focus-trap/focus-trap#974 which will add support for positive tabindexes in focus-trap.

Also updates the docs/typings to make them more consistent and fix some broken links.

PR Checklist

Please leave this checklist in your PR.

  • Source changes maintain stated browser compatibility.
  • Issue being fixed is referenced.
  • Unit test coverage added/updated.
  • E2E test coverage added/updated.
  • Typings added/updated.
  • Changes do not break SSR:
    • Careful to test typeof document/window !== 'undefined' before using it in code that gets executed on load.
  • README updated (API changes, instructions, etc.).
  • Changes to dependencies explained.
  • Changeset added (run npm run changeset locally to add one, and follow the prompts).
    • EXCEPTION: A Changeset is not required if the change does not affect any of the source files that produce the package bundle. For example, demo changes, tooling changes, test updates, or a new dev-only dependency to run tests more efficiently should not have a Changeset since it will not affect package consumers.

This is needed for focus-trap/focus-trap#974
which will add support for positive tabindexes in focus-trap.

Also updates the docs/typings to make them more consistent and fix
some broken links.
@changeset-bot
Copy link

changeset-bot bot commented Jun 26, 2023

🦋 Changeset detected

Latest commit: 88d766a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
tabbable Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Patch coverage: 94.44% and project coverage change: -0.33 ⚠️

Comparison is base (66b753b) 97.99% compared to head (88d766a) 97.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1039      +/-   ##
==========================================
- Coverage   97.99%   97.66%   -0.33%     
==========================================
  Files           1        1              
  Lines         249      257       +8     
  Branches      121      122       +1     
==========================================
+ Hits          244      251       +7     
- Misses          5        6       +1     
Impacted Files Coverage Δ
src/index.js 97.66% <94.44%> (-0.33%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@stefcameron stefcameron merged commit 18a093f into master Jun 26, 2023
3 of 5 checks passed
@stefcameron stefcameron deleted the get-tab-index branch June 26, 2023 20:13
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.

None yet

1 participant