babylonjs-accessibility 7.28.0 → 7.30.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ export * from "babylonjs-accessibility/HtmlTwin/htmlTwinRenderer";
|
|
12
12
|
|
13
13
|
}
|
14
14
|
declare module "babylonjs-accessibility/HtmlTwin/htmlTwinSceneTree" {
|
15
|
+
/// <reference types="react" />
|
15
16
|
import { Scene } from "babylonjs/scene";
|
16
17
|
import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlTwinRenderer";
|
17
18
|
/**
|
@@ -22,7 +23,7 @@ import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlT
|
|
22
23
|
export function HTMLTwinSceneTree(props: {
|
23
24
|
scene: Scene;
|
24
25
|
options: IHTMLTwinRendererOptions;
|
25
|
-
|
26
|
+
}): JSX.Element;
|
26
27
|
|
27
28
|
}
|
28
29
|
declare module "babylonjs-accessibility/HtmlTwin/htmlTwinSceneContext" {
|
@@ -103,6 +104,7 @@ export class HTMLTwinNodeItem extends HTMLTwinItem {
|
|
103
104
|
|
104
105
|
}
|
105
106
|
declare module "babylonjs-accessibility/HtmlTwin/htmlTwinItemAdapter" {
|
107
|
+
/// <reference types="react" />
|
106
108
|
import { AccessibilityEntity } from "babylonjs-accessibility/HtmlTwin/htmlTwinItem";
|
107
109
|
import { Scene } from "babylonjs/scene";
|
108
110
|
import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlTwinRenderer";
|
@@ -116,7 +118,7 @@ export function HTMLTwinItemAdapter(props: {
|
|
116
118
|
node: AccessibilityEntity;
|
117
119
|
scene: Scene;
|
118
120
|
options: IHTMLTwinRendererOptions;
|
119
|
-
|
121
|
+
}): JSX.Element | null;
|
120
122
|
|
121
123
|
}
|
122
124
|
declare module "babylonjs-accessibility/HtmlTwin/htmlTwinItem" {
|
@@ -290,6 +292,7 @@ declare module BABYLON.Accessibility {
|
|
290
292
|
|
291
293
|
|
292
294
|
|
295
|
+
/// <reference types="react" />
|
293
296
|
/**
|
294
297
|
* The scene tree of the HTML twin. It contain all the top level nodes
|
295
298
|
* @param props
|
@@ -298,7 +301,7 @@ declare module BABYLON.Accessibility {
|
|
298
301
|
export function HTMLTwinSceneTree(props: {
|
299
302
|
scene: BABYLON.Scene;
|
300
303
|
options: IHTMLTwinRendererOptions;
|
301
|
-
}):
|
304
|
+
}): JSX.Element;
|
302
305
|
|
303
306
|
|
304
307
|
/// <reference types="react" />
|
@@ -371,6 +374,7 @@ declare module BABYLON.Accessibility {
|
|
371
374
|
}
|
372
375
|
|
373
376
|
|
377
|
+
/// <reference types="react" />
|
374
378
|
/**
|
375
379
|
* An adapter that transforms a Accessible entity in a React element. Contains observables for the events that can
|
376
380
|
* change the state of the entity or the accesible tree.
|
@@ -381,7 +385,7 @@ declare module BABYLON.Accessibility {
|
|
381
385
|
node: AccessibilityEntity;
|
382
386
|
scene: BABYLON.Scene;
|
383
387
|
options: IHTMLTwinRendererOptions;
|
384
|
-
}):
|
388
|
+
}): JSX.Element | null;
|
385
389
|
|
386
390
|
|
387
391
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-accessibility",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.30.0",
|
4
4
|
"main": "babylon.accessibility.max.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": "^7.
|
18
|
-
"babylonjs-gui": "^7.
|
17
|
+
"babylonjs": "^7.30.0",
|
18
|
+
"babylonjs-gui": "^7.30.0"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|