@atlaskit/editor-plugin-accessibility-utils 11.0.13 → 11.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/accessibilityUtilsPlugin/package.json +1 -8
- package/accessibilityUtilsPluginType/package.json +1 -8
- package/package.json +2 -2
- package/dist/types-ts4.5/accessibilityUtilsPlugin.d.ts +0 -2
- package/dist/types-ts4.5/accessibilityUtilsPluginType.d.ts +0 -25
- package/dist/types-ts4.5/entry-points/accessibilityUtilsPlugin.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/accessibilityUtilsPluginType.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,5 @@
|
|
|
4
4
|
"module": "../dist/esm/entry-points/accessibilityUtilsPlugin.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/accessibilityUtilsPlugin.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/entry-points/accessibilityUtilsPlugin.d.ts"
|
|
8
|
-
"typesVersions": {
|
|
9
|
-
">=4.5 <5.9": {
|
|
10
|
-
"*": [
|
|
11
|
-
"../dist/types-ts4.5/entry-points/accessibilityUtilsPlugin.d.ts"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
7
|
+
"types": "../dist/types/entry-points/accessibilityUtilsPlugin.d.ts"
|
|
15
8
|
}
|
|
@@ -4,12 +4,5 @@
|
|
|
4
4
|
"module": "../dist/esm/entry-points/accessibilityUtilsPluginType.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/accessibilityUtilsPluginType.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/entry-points/accessibilityUtilsPluginType.d.ts"
|
|
8
|
-
"typesVersions": {
|
|
9
|
-
">=4.5 <5.9": {
|
|
10
|
-
"*": [
|
|
11
|
-
"../dist/types-ts4.5/entry-points/accessibilityUtilsPluginType.d.ts"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
7
|
+
"types": "../dist/types/entry-points/accessibilityUtilsPluginType.d.ts"
|
|
15
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-accessibility-utils",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.15",
|
|
4
4
|
"description": "Accessibility utils for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
31
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
31
|
+
"@atlaskit/tmp-editor-statsig": "^103.0.0",
|
|
32
32
|
"@atlaskit/visually-hidden": "^3.1.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0"
|
|
34
34
|
},
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
export interface AriaLiveElementAttributes {
|
|
3
|
-
priority?: 'important' | 'none';
|
|
4
|
-
}
|
|
5
|
-
export interface AccessibilityUtilsPluginState {
|
|
6
|
-
ariaLiveElementAttributes?: AriaLiveElementAttributes;
|
|
7
|
-
key?: string;
|
|
8
|
-
message: string;
|
|
9
|
-
}
|
|
10
|
-
export type AccessibilityUtilsPlugin = NextEditorPlugin<'accessibilityUtils', {
|
|
11
|
-
actions: {
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param {string} message - Message to be announced to screen readers. This should be internationalized.
|
|
15
|
-
*
|
|
16
|
-
* These are currently announced via assertive live regions to screen readers.
|
|
17
|
-
*
|
|
18
|
-
* *In future, the ariaNotify proposal looks like a good fit for this use case. The naming has been selected to align with this proposal.
|
|
19
|
-
*/
|
|
20
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: AriaLiveElementAttributes) => void;
|
|
21
|
-
};
|
|
22
|
-
dependencies: [
|
|
23
|
-
];
|
|
24
|
-
sharedState: AccessibilityUtilsPluginState;
|
|
25
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { accessibilityUtilsPlugin } from '../accessibilityUtilsPlugin';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { AccessibilityUtilsPlugin, AccessibilityUtilsPluginState, AriaLiveElementAttributes, } from '../accessibilityUtilsPluginType';
|