@fremtind/jkl-react-hooks
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -107,4 +107,2 @@ import React, { useRef, useCallback, useLayoutEffect, useEffect, useReducer } from 'react'; | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.addEventListener("focusin", handleFocusOutside); | ||
@@ -115,4 +113,2 @@ } | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.removeEventListener("focusin", handleFocusOutside); | ||
@@ -119,0 +115,0 @@ } |
@@ -114,4 +114,2 @@ 'use strict'; | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.addEventListener("focusin", handleFocusOutside); | ||
@@ -122,4 +120,2 @@ } | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.removeEventListener("focusin", handleFocusOutside); | ||
@@ -126,0 +122,0 @@ } |
@@ -107,4 +107,2 @@ import React, { useRef, useCallback, useLayoutEffect, useEffect, useReducer } from 'react'; | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.addEventListener("focusin", handleFocusOutside); | ||
@@ -115,4 +113,2 @@ } | ||
if (ref) { | ||
// focusin event not yet typed. See https://github.com/microsoft/TypeScript/issues/30716 | ||
// @ts-ignore | ||
document && document.removeEventListener("focusin", handleFocusOutside); | ||
@@ -119,0 +115,0 @@ } |
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.3.1](https://github.com/fremtind/jokul/compare/@fremtind/jkl-react-hooks@1.3.0...@fremtind/jkl-react-hooks@1.3.1) (2020-07-30) | ||
**Note:** Version bump only for package @fremtind/jkl-react-hooks | ||
# [1.3.0](https://github.com/fremtind/jokul/compare/@fremtind/jkl-react-hooks@1.2.16...@fremtind/jkl-react-hooks@1.3.0) (2020-07-29) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@fremtind/jkl-react-hooks", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"publishConfig": { | ||
@@ -37,3 +37,3 @@ "access": "public" | ||
"devDependencies": { | ||
"@fremtind/jkl-portal-components": "^0.4.0" | ||
"@fremtind/jkl-portal-components": "^0.4.1" | ||
}, | ||
@@ -57,3 +57,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "4fb5d732a85a32d7c79d0502e530adbdfbd49eab" | ||
"gitHead": "e48e749177aded3fcf41fc02c03490587fb2d197" | ||
} |
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
59397
995