@accessible/drawer
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -5,2 +5,4 @@ # Changelog | ||
### [3.0.2](https://github.com/accessible-ui/drawer/compare/v3.0.1...v3.0.2) (2020-08-10) | ||
### [3.0.1](https://github.com/accessible-ui/drawer/compare/v3.0.0...v3.0.1) (2020-08-10) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@accessible/drawer", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://github.com/accessible-ui/drawer#readme", | ||
@@ -5,0 +5,0 @@ "repository": "github:accessible-ui/drawer", |
@@ -280,3 +280,3 @@ <hr> | ||
```ts | ||
export interface UseA11yTriggerOptions<E = React.MouseEvent<any, MouseEvent>> { | ||
export interface UseA11yTriggerOptions { | ||
/** | ||
@@ -302,3 +302,3 @@ * Adds this class name to props when the drawer is open | ||
*/ | ||
onClick?: (e: E) => any | ||
onClick?: (e: MouseEvent) => any | ||
} | ||
@@ -387,5 +387,3 @@ ``` | ||
```ts | ||
export interface UseA11yCloseButtonOptions< | ||
E = React.MouseEvent<any, MouseEvent> | ||
> { | ||
export interface UseA11yCloseButtonOptions { | ||
/** | ||
@@ -395,3 +393,3 @@ * Adds an onClick handler in addition to the default one that | ||
*/ | ||
onClick?: (e: E) => any | ||
onClick?: (e: MouseEvent) => any | ||
} | ||
@@ -398,0 +396,0 @@ ``` |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
207150
3
493