babylonjs-accessibility 6.47.0 → 6.48.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ declare module BABYLON.Accessibility {
5
5
  children: React.ReactElement[];
6
6
  a11yItem: HTMLTwinItem;
7
7
  }
8
- export function HTMLTwinAccessibilityItem(props: IHTMLTwinItemComponentProps): JSX.Element;
8
+ export function HTMLTwinAccessibilityItem(props: IHTMLTwinItemComponentProps): import("react/jsx-runtime").JSX.Element;
9
9
 
10
10
 
11
11
  /**
@@ -58,7 +58,7 @@ declare module BABYLON.Accessibility {
58
58
  export class HTMLTwinHostComponent extends React.Component<IHTMLTwinHostComponentProps, IHTMLTwinHostComponentState> {
59
59
  private _options;
60
60
  constructor(props: IHTMLTwinHostComponentProps);
61
- render(): JSX.Element;
61
+ render(): import("react/jsx-runtime").JSX.Element;
62
62
  }
63
63
 
64
64
 
@@ -140,7 +140,6 @@ declare module BABYLON.Accessibility {
140
140
  }
141
141
 
142
142
 
143
- /// <reference types="react" />
144
143
  /**
145
144
  * An adapter that transforms a Accessible entity in a React element. Contains observables for the events that can
146
145
  * change the state of the entity or the accesible tree.
@@ -151,7 +150,7 @@ declare module BABYLON.Accessibility {
151
150
  node: AccessibilityEntity;
152
151
  scene: BABYLON.Scene;
153
152
  options: IHTMLTwinRendererOptions;
154
- }): JSX.Element | null;
153
+ }): import("react/jsx-runtime").JSX.Element | null;
155
154
 
156
155
 
157
156
  /**
@@ -224,7 +223,6 @@ declare module BABYLON.Accessibility {
224
223
  export var SceneContext: import("react").Context<ISceneContext>;
225
224
 
226
225
 
227
- /// <reference types="react" />
228
226
  /**
229
227
  * The scene tree of the HTML twin. It contain all the top level nodes
230
228
  * @param props
@@ -233,7 +231,7 @@ declare module BABYLON.Accessibility {
233
231
  export function HTMLTwinSceneTree(props: {
234
232
  scene: BABYLON.Scene;
235
233
  options: IHTMLTwinRendererOptions;
236
- }): JSX.Element;
234
+ }): import("react/jsx-runtime").JSX.Element;
237
235
 
238
236
 
239
237
 
@@ -7,7 +7,7 @@ export interface IHTMLTwinItemComponentProps {
7
7
  children: ReactElement[];
8
8
  a11yItem: HTMLTwinItem;
9
9
  }
10
- export function HTMLTwinAccessibilityItem(props: IHTMLTwinItemComponentProps): JSX.Element;
10
+
11
11
 
12
12
  }
13
13
  declare module "babylonjs-accessibility/HtmlTwin/htmlTwinGUIItem" {
@@ -70,7 +70,7 @@ interface IHTMLTwinHostComponentState {
70
70
  export class HTMLTwinHostComponent extends React.Component<IHTMLTwinHostComponentProps, IHTMLTwinHostComponentState> {
71
71
  private _options;
72
72
  constructor(props: IHTMLTwinHostComponentProps);
73
- render(): JSX.Element;
73
+
74
74
  }
75
75
  export {};
76
76
 
@@ -160,7 +160,6 @@ export class HTMLTwinItem {
160
160
 
161
161
  }
162
162
  declare module "babylonjs-accessibility/HtmlTwin/htmlTwinItemAdapter" {
163
- /// <reference types="react" />
164
163
  import { AccessibilityEntity } from "babylonjs-accessibility/HtmlTwin/htmlTwinItem";
165
164
  import { Scene } from "babylonjs/scene";
166
165
  import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlTwinRenderer";
@@ -174,7 +173,7 @@ export function HTMLTwinItemAdapter(props: {
174
173
  node: AccessibilityEntity;
175
174
  scene: Scene;
176
175
  options: IHTMLTwinRendererOptions;
177
- }): JSX.Element | null;
176
+
178
177
 
179
178
  }
180
179
  declare module "babylonjs-accessibility/HtmlTwin/htmlTwinNodeItem" {
@@ -255,7 +254,6 @@ export const SceneContext: import("react").Context<ISceneContext>;
255
254
 
256
255
  }
257
256
  declare module "babylonjs-accessibility/HtmlTwin/htmlTwinSceneTree" {
258
- /// <reference types="react" />
259
257
  import { Scene } from "babylonjs/scene";
260
258
  import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlTwinRenderer";
261
259
  /**
@@ -266,7 +264,7 @@ import { IHTMLTwinRendererOptions } from "babylonjs-accessibility/HtmlTwin/htmlT
266
264
  export function HTMLTwinSceneTree(props: {
267
265
  scene: Scene;
268
266
  options: IHTMLTwinRendererOptions;
269
- }): JSX.Element;
267
+
270
268
 
271
269
  }
272
270
  declare module "babylonjs-accessibility/HtmlTwin/index" {
@@ -293,7 +291,7 @@ declare module BABYLON.Accessibility {
293
291
  children: React.ReactElement[];
294
292
  a11yItem: HTMLTwinItem;
295
293
  }
296
- export function HTMLTwinAccessibilityItem(props: IHTMLTwinItemComponentProps): JSX.Element;
294
+ export function HTMLTwinAccessibilityItem(props: IHTMLTwinItemComponentProps): import("react/jsx-runtime").JSX.Element;
297
295
 
298
296
 
299
297
  /**
@@ -346,7 +344,7 @@ declare module BABYLON.Accessibility {
346
344
  export class HTMLTwinHostComponent extends React.Component<IHTMLTwinHostComponentProps, IHTMLTwinHostComponentState> {
347
345
  private _options;
348
346
  constructor(props: IHTMLTwinHostComponentProps);
349
- render(): JSX.Element;
347
+ render(): import("react/jsx-runtime").JSX.Element;
350
348
  }
351
349
 
352
350
 
@@ -428,7 +426,6 @@ declare module BABYLON.Accessibility {
428
426
  }
429
427
 
430
428
 
431
- /// <reference types="react" />
432
429
  /**
433
430
  * An adapter that transforms a Accessible entity in a React element. Contains observables for the events that can
434
431
  * change the state of the entity or the accesible tree.
@@ -439,7 +436,7 @@ declare module BABYLON.Accessibility {
439
436
  node: AccessibilityEntity;
440
437
  scene: BABYLON.Scene;
441
438
  options: IHTMLTwinRendererOptions;
442
- }): JSX.Element | null;
439
+ }): import("react/jsx-runtime").JSX.Element | null;
443
440
 
444
441
 
445
442
  /**
@@ -512,7 +509,6 @@ declare module BABYLON.Accessibility {
512
509
  export var SceneContext: import("react").Context<ISceneContext>;
513
510
 
514
511
 
515
- /// <reference types="react" />
516
512
  /**
517
513
  * The scene tree of the HTML twin. It contain all the top level nodes
518
514
  * @param props
@@ -521,7 +517,7 @@ declare module BABYLON.Accessibility {
521
517
  export function HTMLTwinSceneTree(props: {
522
518
  scene: BABYLON.Scene;
523
519
  options: IHTMLTwinRendererOptions;
524
- }): JSX.Element;
520
+ }): import("react/jsx-runtime").JSX.Element;
525
521
 
526
522
 
527
523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-accessibility",
3
- "version": "6.47.0",
3
+ "version": "6.48.1",
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*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^6.47.0",
18
- "babylonjs-gui": "^6.47.0"
17
+ "babylonjs": "^6.48.1",
18
+ "babylonjs-gui": "^6.48.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",