babylonjs-accessibility 9.0.0 → 9.2.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-accessibility",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"main": "babylon.accessibility.js",
|
|
5
5
|
"types": "babylon.accessibility.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "9.
|
|
18
|
-
"babylonjs-gui": "9.
|
|
17
|
+
"babylonjs": "9.2.1",
|
|
18
|
+
"babylonjs-gui": "9.2.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|
package/readme.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
Accessibility
|
|
2
|
-
|
|
3
1
|
# Babylon.js Accessibility
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
> We recommend using the [ES6 package `@babylonjs/accessibility`](https://www.npmjs.com/package/@babylonjs/accessibility) for new projects.
|
|
4
|
+
|
|
5
|
+
This package provides accessibility support for Babylon.js scenes. It contains an HTML twin renderer that generates HTML twins of scene objects, making 3D content compatible with screen readers and keyboard navigation.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
To install using npm:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install babylonjs babylonjs-accessibility
|
|
13
|
+
```
|
package/webpack.config.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
const commonConfigGenerator = require("@dev/build-tools").webpackTools.commonUMDWebpackConfiguration;
|
|
3
|
-
|
|
4
|
-
module.exports = (env) => {
|
|
5
|
-
const commonConfig = commonConfigGenerator({
|
|
6
|
-
mode: env.production ? "production" : "development",
|
|
7
|
-
devPackageName: "accessibility",
|
|
8
|
-
devPackageAliasPath: `../../../tools/accessibility/dist`,
|
|
9
|
-
namespace: "ACCESSIBILITY",
|
|
10
|
-
outputPath: path.resolve(__dirname),
|
|
11
|
-
maxMode: true,
|
|
12
|
-
minToMax: true,
|
|
13
|
-
});
|
|
14
|
-
return commonConfig;
|
|
15
|
-
};
|
|
1
|
+
const path = require("path");
|
|
2
|
+
const commonConfigGenerator = require("@dev/build-tools").webpackTools.commonUMDWebpackConfiguration;
|
|
3
|
+
|
|
4
|
+
module.exports = (env) => {
|
|
5
|
+
const commonConfig = commonConfigGenerator({
|
|
6
|
+
mode: env.production ? "production" : "development",
|
|
7
|
+
devPackageName: "accessibility",
|
|
8
|
+
devPackageAliasPath: `../../../tools/accessibility/dist`,
|
|
9
|
+
namespace: "ACCESSIBILITY",
|
|
10
|
+
outputPath: path.resolve(__dirname),
|
|
11
|
+
maxMode: true,
|
|
12
|
+
minToMax: true,
|
|
13
|
+
});
|
|
14
|
+
return commonConfig;
|
|
15
|
+
};
|