a11y-status
Advanced tools
Comparing version 0.0.0-pr2166.1 to 0.0.0-pr2166.2
@@ -0,1 +1,17 @@ | ||
/** | ||
* Set the status of the created live region so that screen readers | ||
* announce the changes for a11y. | ||
* | ||
* @remarks | ||
* | ||
* The status is using a singleton html div. This means that the same invisible | ||
* live status element is used for the lifetime of your code. | ||
* | ||
* @param status the status message | ||
* @param doc document passed by the user. | ||
*/ | ||
declare const setStatus: (status: string, doc?: Document) => void; | ||
export { setStatus } | ||
export { setStatus as setStatus_alias_1 } | ||
export { } |
@@ -1,1 +0,1 @@ | ||
export {}; | ||
export { setStatus } from './_tsup-dts-rollup'; |
@@ -1,2 +0,2 @@ | ||
// packages/a11y-status/src/a11y-status.ts | ||
// src/a11y-status.ts | ||
import { debounce } from "throttle-debounce"; | ||
@@ -3,0 +3,0 @@ var statusDiv; |
{ | ||
"name": "a11y-status", | ||
"version": "0.0.0-pr2166.1", | ||
"version": "0.0.0-pr2166.2", | ||
"description": "Create a singleton live region for a11y status updates", | ||
@@ -36,2 +36,5 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/a11y-status", | ||
}, | ||
"devDependencies": { | ||
"@remirror/cli": "0.0.0-pr2166.2" | ||
}, | ||
"publishConfig": { | ||
@@ -42,3 +45,6 @@ "access": "public" | ||
"sizeLimit": "1 KB" | ||
}, | ||
"scripts": { | ||
"build": "remirror-cli build" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23416
198
1