Skip to content

Commit 0c68064

Browse files
author
release-bot
committed
Released 4.19.1
1 parent 50e9d33 commit 0c68064

File tree

518 files changed

+90366
-32985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

518 files changed

+90366
-32985
lines changed
401 KB
Binary file not shown.

css/dist/index.css

Lines changed: 12029 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/dist/index.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brotli/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brotli/index.js.br

211 KB
Binary file not shown.

dist/cjs/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import isEnterKey from "./isEnterKey";
2+
import isSpaceKey from "./isSpaceKey";
3+
import useAccessibilityProps from "./useAccessibilityProps";
4+
export { isEnterKey, useAccessibilityProps, isSpaceKey };
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import React from 'react';
2+
declare const isEnterKey: (e: React.KeyboardEvent) => boolean;
3+
export default isEnterKey;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import React from 'react';
2+
declare const isSpaceKey: (e: React.KeyboardEvent) => boolean;
3+
export default isSpaceKey;
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import * as React from 'react';
2+
declare type AriaRoleType = React.AriaRole;
3+
interface IProps {
4+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
5+
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
6+
role?: AriaRoleType;
7+
tabIndex?: number;
8+
'aria-label'?: React.AriaAttributes['aria-label'];
9+
}
10+
declare const useAccessibilityProps: ({ onClick, onKeyDown, role, tabIndex, ...rest }: IProps) => {
11+
onClick: (event: React.MouseEvent<HTMLElement>) => void;
12+
role: React.AriaRole;
13+
tabIndex: number;
14+
'aria-label': string | undefined;
15+
onKeyDown: (e: React.SyntheticEvent<HTMLElement>) => void;
16+
} | {
17+
role: React.AriaRole;
18+
tabIndex: number | undefined;
19+
'aria-label': string | undefined;
20+
};
21+
export default useAccessibilityProps;

0 commit comments

Comments
 (0)