react-cool-onclickoutside
Advanced tools
Comparing version 1.4.4 to 1.4.5
{ | ||
"name": "react-cool-onclickoutside", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "React hook to listen for clicks outside of the component(s).", | ||
@@ -242,3 +242,3 @@ "license": "MIT", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-postcss": "^2.5.0", | ||
"rollup-plugin-postcss": "^3.1.0", | ||
"rollup-plugin-serve": "^1.0.1", | ||
@@ -245,0 +245,0 @@ "rollup-plugin-size-snapshot": "^0.11.0", |
@@ -22,9 +22,9 @@ # React Cool Onclickoutside | ||
- 🎣 Listen for clicks outside based on React [hook](https://reactjs.org/docs/hooks-custom.html#using-a-custom-hook). | ||
- 👯♀️ Support multiple [refs](https://reactjs.org/docs/refs-and-the-dom.html) to cover more use cases. | ||
- 🎣 Listens for clicks outside based on React [hook](https://reactjs.org/docs/hooks-custom.html#using-a-custom-hook). | ||
- 👯♀️ Supports multiple [refs](https://reactjs.org/docs/refs-and-the-dom.html) to cover more use cases. | ||
- 🧻 Uses [passive event listeners](https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners) to improve scrolling performance. | ||
- ⛔ Scrollbar can be excluded from the callback of outside clicks. | ||
- 🙈 [Ignore certain elements](#ignore-elements-by-css-class-name) during the event loop. | ||
- 🙉 Enable you to [stop listening for outside clicks](#disabling-the-event-listener) when needed. | ||
- 📜 Support [TypeScript](https://www.typescriptlang.org) type definition. | ||
- 🙈 [Ignores certain elements](#ignore-elements-by-css-class-name) during the event loop. | ||
- 🙉 Enables you to [stop listening for outside clicks](#disabling-the-event-listener) when needed. | ||
- 📜 Supports [TypeScript](https://www.typescriptlang.org) type definition. | ||
- 🗄️ Server-side rendering compatibility. | ||
@@ -31,0 +31,0 @@ - 🦠 Tiny size ([< 1KB gzipped](https://bundlephobia.com/result?p=react-cool-onclickoutside)). No external dependencies, aside for the `react`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21603