Skip to content

Commit fd8c496

Browse files
committed
chore(release): 2.0.2
1 parent 62f013c commit fd8c496

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [2.0.2](https://github.com/accessible-ui/button/compare/v2.0.1...v2.0.2) (2020-08-10)
6+
7+
### Bug Fixes
8+
9+
- fix onClick prop collisions by adding an event directly ([62f013c](https://github.com/accessible-ui/button/commit/62f013c67da282571bc2d675a375300bf7f10c55))
10+
511
### [2.0.1](https://github.com/accessible-ui/button/compare/v2.0.0...v2.0.1) (2020-07-08)
612

713
## 2.0.0 (2020-07-08)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accessible/button",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"homepage": "https://github.com/accessible-ui/button#readme",
55
"repository": "github:accessible-ui/button",
66
"bugs": "https://github.com/accessible-ui/button/issues",

types/index.d.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import * as React from 'react'
2-
export declare function useA11yButton<
3-
T extends HTMLElement,
4-
E extends React.MouseEvent<T, MouseEvent>
5-
>(
2+
export declare function useA11yButton<T extends HTMLElement>(
63
target: React.RefObject<T> | T | null,
7-
onClick: (event: E) => any
4+
onClick: (event: MouseEvent) => any
85
): {
9-
readonly onClick: (event: E) => void
106
readonly role: 'button'
117
readonly tabIndex: 0
128
}

0 commit comments

Comments
 (0)