• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ooade / react-click-away-listener
92%

Build:
DEFAULT BRANCH: main
Repo Added 23 Sep 2020 04:14PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • beta
  • master

03 Apr 2026 07:52AM UTC coverage: 92.405% (+0.5%) from 91.892%
23938860103

push

github

web-flow
Migration and Refactors (#107)

* refactor: modernise build tooling, improve types, and add edge-case tests

- Make onClickAway memoisation-safe using a ref pattern
- Wrap handleBubbledEvents in useCallback for stable child props
- Remove HTMLAttributes extension from Props interface
- Tighten onClickAway event type to FocusEvent | MouseEvent | TouchEvent
- Add package.json exports field for modern ESM/CJS resolution
- Add engines field (node >= 18) and fix prepublishOnly lifecycle hook
- Migrate from Rollup 2 to Rollup 4 with official plugins
- Replace ghooks with husky + lint-staged
- Remove unmaintained dependencies (rimraf, npm-run-all, coveralls)
- Update documentation links from reactjs.org to react.dev
- Add React 19 deprecation note for React.Children.only
- Add tests for callback identity change, nested listeners, and unmount safety

* ci: bump Node to 22 and actions to v4 for semantic-release@25 compat

* ci: consolidate publish workflows into one

* feat: rename bodyEventsToCapture to extraEvents

* ci: add missing OIDC permissions for semantic-release npm publishing

* ci: fetch all history for semantic-release

* fix: update package lock

* chore: add .npmignore to exclude .github folder from npm package

* fix: regenerate package-lock.json to include optional rollup native dependencies

22 of 27 branches covered (81.48%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 1 file covered. (100.0%)

51 of 52 relevant lines covered (98.08%)

26.38 hits per line

Relevant lines Covered
Build:
Build:
52 RELEVANT LINES 51 COVERED LINES
26.38 HITS PER LINE
Source Files on main
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23938860103 main Migration and Refactors (#107) * refactor: modernise build tooling, improve types, and add edge-case tests - Make onClickAway memoisation-safe using a ref pattern - Wrap handleBubbledEvents in useCallback for stable child props - Remove HTMLAttr... push 03 Apr 2026 07:53AM UTC web-flow github
92.41
14424316876 main feat: support React 19 and update focusout event mapping to onBlur 👌 (#97) * fix(refs): add support for react19 (#96) * fix: use ref directly in react19 * fix: add console * fix: react19 support * fix: focus out should call onBlur 🫠 * fix: p... push 12 Apr 2025 11:28PM UTC web-flow github
91.89
12010933691 main fix: Upgrade package and test console warnings (#92) push 25 Nov 2024 01:21PM UTC web-flow github
98.36
10152726465 main Update node version in .nvmrc (#87) * chore(nvmrc): bump node version a little higher * chore(workflow): run test on .nvmrc change * chore(workflow): separate test on main from PR * chore(package.json): remove unused * chore(workflow)... push 29 Jul 2024 10:22PM UTC web-flow github
98.36
4327888703 main Revert "chore(workflows): use action from my personal repo (#75)" (#76) push 03 Mar 2023 10:51PM UTC GitHub github pending completion  
4218643095 main chore(workflows): use action from my personal repo (#75) push 19 Feb 2023 11:19PM UTC GitHub github pending completion  
4088742137 main chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#73) push 03 Feb 2023 11:34PM UTC GitHub github pending completion  
3867373057 main chore(deps): bump json5 from 1.0.1 to 1.0.2 (#72) push 08 Jan 2023 01:47PM UTC GitHub github pending completion  
3619699611 main ci(github-actions): upgrade packages (#71) push 05 Dec 2022 11:46AM UTC GitHub github pending completion  
2966573169 main fix(spec): clear editor error push 31 Aug 2022 07:38PM UTC Ademola Adegbuyi github pending completion  
See All Builds (71)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc