@wordpress/a11y 4.36.1-next.8fd3f8831.0 → 4.37.1-next.79a2f3cdd.0
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/LICENSE.md +1 -1
- package/build/index.cjs +3 -3
- package/build/shared/index.cjs +2 -2
- package/build-module/{index.js → index.mjs} +4 -4
- package/build-module/module/{index.js → index.mjs} +2 -2
- package/build-module/script/{add-container.js → add-container.mjs} +1 -1
- package/build-module/script/{add-intro-text.js → add-intro-text.mjs} +1 -1
- package/build-module/shared/{clear.js → clear.mjs} +1 -1
- package/build-module/shared/{filter-message.js → filter-message.mjs} +1 -1
- package/build-module/shared/{index.js → index.mjs} +3 -3
- package/package.json +7 -8
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/script/{add-container.js.map → add-container.mjs.map} +0 -0
- /package/build-module/script/{add-intro-text.js.map → add-intro-text.mjs.map} +0 -0
- /package/build-module/shared/{clear.js.map → clear.mjs.map} +0 -0
- /package/build-module/shared/{filter-message.js.map → filter-message.mjs.map} +0 -0
- /package/build-module/shared/{index.js.map → index.mjs.map} +0 -0
package/LICENSE.md
CHANGED
package/build/index.cjs
CHANGED
|
@@ -34,9 +34,9 @@ __export(index_exports, {
|
|
|
34
34
|
speak: () => import_shared.speak
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(index_exports);
|
|
37
|
-
var import_dom_ready = __toESM(require("@wordpress/dom-ready")
|
|
38
|
-
var import_add_container = __toESM(require("./script/add-container.cjs")
|
|
39
|
-
var import_add_intro_text = __toESM(require("./script/add-intro-text.cjs")
|
|
37
|
+
var import_dom_ready = __toESM(require("@wordpress/dom-ready"));
|
|
38
|
+
var import_add_container = __toESM(require("./script/add-container.cjs"));
|
|
39
|
+
var import_add_intro_text = __toESM(require("./script/add-intro-text.cjs"));
|
|
40
40
|
var import_shared = require("./shared/index.cjs");
|
|
41
41
|
function setup() {
|
|
42
42
|
const introText = document.getElementById("a11y-speak-intro-text");
|
package/build/shared/index.cjs
CHANGED
|
@@ -33,8 +33,8 @@ __export(shared_exports, {
|
|
|
33
33
|
speak: () => speak
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(shared_exports);
|
|
36
|
-
var import_clear = __toESM(require("./clear.cjs")
|
|
37
|
-
var import_filter_message = __toESM(require("./filter-message.cjs")
|
|
36
|
+
var import_clear = __toESM(require("./clear.cjs"));
|
|
37
|
+
var import_filter_message = __toESM(require("./filter-message.cjs"));
|
|
38
38
|
function speak(message, ariaLive) {
|
|
39
39
|
(0, import_clear.default)();
|
|
40
40
|
message = (0, import_filter_message.default)(message);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// packages/a11y/src/index.js
|
|
2
2
|
import domReady from "@wordpress/dom-ready";
|
|
3
|
-
import addContainer from "./script/add-container.
|
|
4
|
-
import addIntroText from "./script/add-intro-text.
|
|
5
|
-
import { speak } from "./shared/index.
|
|
3
|
+
import addContainer from "./script/add-container.mjs";
|
|
4
|
+
import addIntroText from "./script/add-intro-text.mjs";
|
|
5
|
+
import { speak } from "./shared/index.mjs";
|
|
6
6
|
function setup() {
|
|
7
7
|
const introText = document.getElementById("a11y-speak-intro-text");
|
|
8
8
|
const containerAssertive = document.getElementById(
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
setup,
|
|
25
25
|
speak
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=index.
|
|
27
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// packages/a11y/src/module/index.ts
|
|
2
|
-
import { speak } from "../shared/index.
|
|
2
|
+
import { speak } from "../shared/index.mjs";
|
|
3
3
|
var setup = () => {
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
6
|
setup,
|
|
7
7
|
speak
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=index.
|
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/a11y/src/shared/index.js
|
|
2
|
-
import clear from "./clear.
|
|
3
|
-
import filterMessage from "./filter-message.
|
|
2
|
+
import clear from "./clear.mjs";
|
|
3
|
+
import filterMessage from "./filter-message.mjs";
|
|
4
4
|
function speak(message, ariaLive) {
|
|
5
5
|
clear();
|
|
6
6
|
message = filterMessage(message);
|
|
@@ -21,4 +21,4 @@ function speak(message, ariaLive) {
|
|
|
21
21
|
export {
|
|
22
22
|
speak
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=index.
|
|
24
|
+
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/a11y",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.37.1-next.79a2f3cdd.0",
|
|
4
4
|
"description": "Accessibility (a11y) utilities for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,27 +31,26 @@
|
|
|
31
31
|
"build-types",
|
|
32
32
|
"*.md"
|
|
33
33
|
],
|
|
34
|
-
"type": "module",
|
|
35
34
|
"main": "build/index.cjs",
|
|
36
|
-
"module": "build-module/index.
|
|
35
|
+
"module": "build-module/index.mjs",
|
|
37
36
|
"exports": {
|
|
38
37
|
".": {
|
|
39
38
|
"types": "./build-types/index.d.ts",
|
|
40
|
-
"import": "./build-module/index.
|
|
39
|
+
"import": "./build-module/index.mjs",
|
|
41
40
|
"require": "./build/index.cjs"
|
|
42
41
|
},
|
|
43
42
|
"./package.json": "./package.json"
|
|
44
43
|
},
|
|
45
44
|
"react-native": "src/index",
|
|
46
45
|
"wpScript": true,
|
|
47
|
-
"wpScriptModuleExports": "./build-module/module/index.
|
|
46
|
+
"wpScriptModuleExports": "./build-module/module/index.mjs",
|
|
48
47
|
"types": "build-types",
|
|
49
48
|
"dependencies": {
|
|
50
|
-
"@wordpress/dom-ready": "^4.
|
|
51
|
-
"@wordpress/i18n": "^6.
|
|
49
|
+
"@wordpress/dom-ready": "^4.37.1-next.79a2f3cdd.0",
|
|
50
|
+
"@wordpress/i18n": "^6.10.1-next.79a2f3cdd.0"
|
|
52
51
|
},
|
|
53
52
|
"publishConfig": {
|
|
54
53
|
"access": "public"
|
|
55
54
|
},
|
|
56
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "6a324496a37d9a333a11d4d7fe5fb93b8152a5ba"
|
|
57
56
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|