@babylonjs/gui 8.1.1 → 8.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.
Files changed (90) hide show
  1. package/2D/FrameGraph/guiTask.d.ts +1 -1
  2. package/2D/FrameGraph/renderGraphGUIBlock.d.ts +2 -2
  3. package/2D/adtInstrumentation.d.ts +1 -1
  4. package/2D/advancedDynamicTexture.d.ts +3 -3
  5. package/2D/controls/button.d.ts +5 -5
  6. package/2D/controls/checkbox.d.ts +2 -2
  7. package/2D/controls/colorpicker.d.ts +3 -3
  8. package/2D/controls/container.d.ts +4 -4
  9. package/2D/controls/control.d.ts +8 -8
  10. package/2D/controls/displayGrid.d.ts +1 -1
  11. package/2D/controls/ellipse.d.ts +2 -2
  12. package/2D/controls/focusableButton.d.ts +3 -3
  13. package/2D/controls/focusableControl.d.ts +1 -1
  14. package/2D/controls/gradient/LinearGradient.d.ts +1 -1
  15. package/2D/controls/gradient/RadialGradient.d.ts +1 -1
  16. package/2D/controls/grid.d.ts +5 -5
  17. package/2D/controls/image.d.ts +2 -2
  18. package/2D/controls/index.d.ts +34 -34
  19. package/2D/controls/inputPassword.d.ts +2 -2
  20. package/2D/controls/inputText.d.ts +4 -4
  21. package/2D/controls/inputTextArea.d.ts +4 -4
  22. package/2D/controls/line.d.ts +3 -3
  23. package/2D/controls/multiLine.d.ts +2 -2
  24. package/2D/controls/radioButton.d.ts +2 -2
  25. package/2D/controls/rectangle.d.ts +2 -2
  26. package/2D/controls/scrollViewers/scrollViewer.d.ts +8 -8
  27. package/2D/controls/scrollViewers/scrollViewerWindow.d.ts +2 -2
  28. package/2D/controls/selector.d.ts +2 -2
  29. package/2D/controls/sliders/baseSlider.d.ts +2 -2
  30. package/2D/controls/sliders/imageBasedSlider.d.ts +3 -3
  31. package/2D/controls/sliders/imageScrollBar.d.ts +3 -3
  32. package/2D/controls/sliders/scrollBar.d.ts +3 -3
  33. package/2D/controls/sliders/slider.d.ts +2 -2
  34. package/2D/controls/stackPanel.d.ts +3 -3
  35. package/2D/controls/textBlock.d.ts +2 -2
  36. package/2D/controls/toggleButton.d.ts +2 -2
  37. package/2D/controls/virtualKeyboard.d.ts +4 -4
  38. package/2D/index.d.ts +11 -11
  39. package/2D/measure.d.ts +1 -1
  40. package/2D/multiLinePoint.d.ts +2 -2
  41. package/2D/style.d.ts +2 -2
  42. package/2D/valueAndUnit.d.ts +1 -1
  43. package/3D/controls/MRTK3/touchHolographicButton.d.ts +6 -6
  44. package/3D/controls/abstractButton3D.d.ts +1 -1
  45. package/3D/controls/button3D.d.ts +2 -2
  46. package/3D/controls/container3D.d.ts +1 -1
  47. package/3D/controls/contentDisplay3D.d.ts +3 -3
  48. package/3D/controls/control3D.d.ts +3 -3
  49. package/3D/controls/cylinderPanel.d.ts +2 -2
  50. package/3D/controls/handMenu.d.ts +1 -1
  51. package/3D/controls/holographicBackplate.d.ts +2 -2
  52. package/3D/controls/holographicButton.d.ts +3 -3
  53. package/3D/controls/holographicSlate.d.ts +5 -5
  54. package/3D/controls/index.d.ts +22 -22
  55. package/3D/controls/meshButton3D.d.ts +1 -1
  56. package/3D/controls/nearMenu.d.ts +2 -2
  57. package/3D/controls/planePanel.d.ts +2 -2
  58. package/3D/controls/scatterPanel.d.ts +2 -2
  59. package/3D/controls/slider3D.d.ts +4 -4
  60. package/3D/controls/spherePanel.d.ts +2 -2
  61. package/3D/controls/stackPanel3D.d.ts +1 -1
  62. package/3D/controls/touchButton3D.d.ts +1 -1
  63. package/3D/controls/touchHolographicButton.d.ts +4 -4
  64. package/3D/controls/touchHolographicMenu.d.ts +4 -4
  65. package/3D/controls/touchMeshButton3D.d.ts +1 -1
  66. package/3D/controls/volumeBasedPanel.d.ts +2 -2
  67. package/3D/gizmos/gizmoHandle.d.ts +2 -2
  68. package/3D/gizmos/index.d.ts +2 -2
  69. package/3D/gizmos/slateGizmo.d.ts +1 -1
  70. package/3D/gui3DManager.d.ts +2 -2
  71. package/3D/index.d.ts +5 -5
  72. package/3D/materials/fluent/fluentMaterial.d.ts +2 -2
  73. package/3D/materials/fluent/index.d.ts +1 -1
  74. package/3D/materials/fluentBackplate/fluentBackplateMaterial.d.ts +2 -2
  75. package/3D/materials/fluentBackplate/index.d.ts +1 -1
  76. package/3D/materials/fluentButton/fluentButtonMaterial.d.ts +2 -2
  77. package/3D/materials/fluentButton/index.d.ts +1 -1
  78. package/3D/materials/fluentMaterial.d.ts +1 -1
  79. package/3D/materials/handle/handleMaterial.d.ts +2 -2
  80. package/3D/materials/handle/index.d.ts +1 -1
  81. package/3D/materials/index.d.ts +5 -5
  82. package/3D/materials/mrdl/index.d.ts +3 -3
  83. package/3D/materials/mrdl/mrdlBackglowMaterial.d.ts +2 -2
  84. package/3D/materials/mrdl/mrdlBackplateMaterial.d.ts +2 -2
  85. package/3D/materials/mrdl/mrdlFrontplateMaterial.d.ts +2 -2
  86. package/3D/materials/mrdl/mrdlInnerquadMaterial.d.ts +2 -2
  87. package/3D/materials/mrdl/mrdlSliderBarMaterial.d.ts +2 -2
  88. package/3D/materials/mrdl/mrdlSliderThumbMaterial.d.ts +2 -2
  89. package/index.d.ts +2 -2
  90. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
2
2
  import type { Scene } from "@babylonjs/core/scene.js";
3
- import { ContentDisplay3D } from "./contentDisplay3D";
3
+ import { ContentDisplay3D } from "./contentDisplay3D.js";
4
4
  /**
5
5
  * Class used as a root to all buttons
6
6
  */
@@ -2,8 +2,8 @@ import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
2
2
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
3
3
  import type { Material } from "@babylonjs/core/Materials/material.js";
4
4
  import type { Scene } from "@babylonjs/core/scene.js";
5
- import { AbstractButton3D } from "./abstractButton3D";
6
- import type { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
5
+ import { AbstractButton3D } from "./abstractButton3D.js";
6
+ import type { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
7
7
  /**
8
8
  * Options used to create a button in 3D
9
9
  */
@@ -1,7 +1,7 @@
1
1
  import type { Nullable } from "@babylonjs/core/types.js";
2
2
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
3
  import type { Scene } from "@babylonjs/core/scene.js";
4
- import { Control3D } from "./control3D";
4
+ import { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * Class used to create containers for controls
7
7
  */
@@ -1,7 +1,7 @@
1
- import type { Control } from "../../2D/controls/control";
2
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
1
+ import type { Control } from "../../2D/controls/control.js";
2
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
3
3
  import type { Nullable } from "@babylonjs/core/types.js";
4
- import { Control3D } from "./control3D";
4
+ import { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * The base class for controls that display content
7
7
  */
@@ -5,9 +5,9 @@ import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
5
5
  import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
6
6
  import type { IBehaviorAware, Behavior } from "@babylonjs/core/Behaviors/behavior.js";
7
7
  import type { IDisposable, Scene } from "@babylonjs/core/scene.js";
8
- import type { GUI3DManager } from "../gui3DManager";
9
- import { Vector3WithInfo } from "../vector3WithInfo";
10
- import type { Container3D } from "./container3D";
8
+ import type { GUI3DManager } from "../gui3DManager.js";
9
+ import { Vector3WithInfo } from "../vector3WithInfo.js";
10
+ import type { Container3D } from "./container3D.js";
11
11
  /**
12
12
  * Class used as base class for controls
13
13
  */
@@ -1,7 +1,7 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import type { float } from "@babylonjs/core/types.js";
3
- import { VolumeBasedPanel } from "./volumeBasedPanel";
4
- import type { Control3D } from "./control3D";
3
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
4
+ import type { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * Class used to create a container panel deployed on the surface of a cylinder
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import type { Scene } from "@babylonjs/core/scene.js";
2
2
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
3
  import type { Nullable } from "@babylonjs/core/types.js";
4
- import { TouchHolographicMenu } from "./touchHolographicMenu";
4
+ import { TouchHolographicMenu } from "./touchHolographicMenu.js";
5
5
  import { HandConstraintBehavior } from "@babylonjs/core/Behaviors/Meshes/handConstraintBehavior.js";
6
6
  import type { WebXRExperienceHelper } from "@babylonjs/core/XR/webXRExperienceHelper.js";
7
7
  /**
@@ -1,8 +1,8 @@
1
1
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
2
2
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
3
3
  import type { Scene } from "@babylonjs/core/scene.js";
4
- import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial";
5
- import { Control3D } from "./control3D";
4
+ import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial.js";
5
+ import { Control3D } from "./control3D.js";
6
6
  /**
7
7
  * Class used to create a holographic backplate in 3D
8
8
  * @since 5.0.0
@@ -1,11 +1,11 @@
1
- import { Button3D } from "./button3D";
1
+ import { Button3D } from "./button3D.js";
2
2
  import type { Nullable } from "@babylonjs/core/types.js";
3
3
  import { StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js";
4
4
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
5
5
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
6
6
  import type { Scene } from "@babylonjs/core/scene.js";
7
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
8
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
7
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
8
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
9
9
  /**
10
10
  * Class used to create a holographic button in 3D
11
11
  */
@@ -1,8 +1,8 @@
1
- import { ContentDisplay3D } from "./contentDisplay3D";
2
- import { TouchHolographicButton } from "./touchHolographicButton";
3
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
4
- import { DefaultBehavior } from "../behaviors/defaultBehavior";
5
- import { SlateGizmo } from "../gizmos/slateGizmo";
1
+ import { ContentDisplay3D } from "./contentDisplay3D.js";
2
+ import { TouchHolographicButton } from "./touchHolographicButton.js";
3
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
4
+ import { DefaultBehavior } from "../behaviors/defaultBehavior.js";
5
+ import { SlateGizmo } from "../gizmos/slateGizmo.js";
6
6
  import { Vector2, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
7
7
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
8
8
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
@@ -1,22 +1,22 @@
1
- export * from "./abstractButton3D";
2
- export * from "./button3D";
3
- export * from "./container3D";
4
- export * from "./control3D";
5
- export * from "./cylinderPanel";
6
- export * from "./handMenu";
7
- export * from "./holographicBackplate";
8
- export * from "./holographicButton";
9
- export * from "./holographicSlate";
10
- export * from "./meshButton3D";
11
- export * from "./nearMenu";
12
- export * from "./planePanel";
13
- export * from "./scatterPanel";
14
- export * from "./slider3D";
15
- export * from "./spherePanel";
16
- export * from "./stackPanel3D";
17
- export * from "./touchButton3D";
18
- export * from "./touchMeshButton3D";
19
- export * from "./touchHolographicButton";
20
- export * from "./touchHolographicMenu";
21
- export * from "./volumeBasedPanel";
22
- export { TouchHolographicButton as TouchHolographicButtonV3 } from "./MRTK3/touchHolographicButton";
1
+ export * from "./abstractButton3D.js";
2
+ export * from "./button3D.js";
3
+ export * from "./container3D.js";
4
+ export * from "./control3D.js";
5
+ export * from "./cylinderPanel.js";
6
+ export * from "./handMenu.js";
7
+ export * from "./holographicBackplate.js";
8
+ export * from "./holographicButton.js";
9
+ export * from "./holographicSlate.js";
10
+ export * from "./meshButton3D.js";
11
+ export * from "./nearMenu.js";
12
+ export * from "./planePanel.js";
13
+ export * from "./scatterPanel.js";
14
+ export * from "./slider3D.js";
15
+ export * from "./spherePanel.js";
16
+ export * from "./stackPanel3D.js";
17
+ export * from "./touchButton3D.js";
18
+ export * from "./touchMeshButton3D.js";
19
+ export * from "./touchHolographicButton.js";
20
+ export * from "./touchHolographicMenu.js";
21
+ export * from "./volumeBasedPanel.js";
22
+ export { TouchHolographicButton as TouchHolographicButtonV3 } from "./MRTK3/touchHolographicButton.js";
@@ -2,7 +2,7 @@ import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
2
2
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
3
3
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
4
4
  import type { Scene } from "@babylonjs/core/scene.js";
5
- import { Button3D } from "./button3D";
5
+ import { Button3D } from "./button3D.js";
6
6
  /**
7
7
  * Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
8
8
  */
@@ -1,8 +1,8 @@
1
1
  import type { Scene } from "@babylonjs/core/scene.js";
2
2
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
3
  import type { Nullable } from "@babylonjs/core/types.js";
4
- import { DefaultBehavior } from "../behaviors/defaultBehavior";
5
- import { TouchHolographicMenu } from "./touchHolographicMenu";
4
+ import { DefaultBehavior } from "../behaviors/defaultBehavior.js";
5
+ import { TouchHolographicMenu } from "./touchHolographicMenu.js";
6
6
  /**
7
7
  * NearMenu that displays buttons and follows the camera
8
8
  * @since 5.0.0
@@ -1,6 +1,6 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
- import type { Control3D } from "./control3D";
3
- import { VolumeBasedPanel } from "./volumeBasedPanel";
2
+ import type { Control3D } from "./control3D.js";
3
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
4
4
  /**
5
5
  * Class used to create a container panel deployed on the surface of a plane
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import type { float } from "@babylonjs/core/types.js";
3
- import { VolumeBasedPanel } from "./volumeBasedPanel";
4
- import type { Control3D } from "./control3D";
3
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
4
+ import type { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * Class used to create a container panel where items get randomized planar mapping
7
7
  */
@@ -2,11 +2,11 @@ import type { Nullable } from "@babylonjs/core/types.js";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
3
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
4
4
  import type { Scene } from "@babylonjs/core/scene.js";
5
- import { Control3D } from "./control3D";
5
+ import { Control3D } from "./control3D.js";
6
6
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
7
- import { MRDLSliderBarMaterial } from "../materials/mrdl/mrdlSliderBarMaterial";
8
- import { MRDLSliderThumbMaterial } from "../materials/mrdl/mrdlSliderThumbMaterial";
9
- import { MRDLBackplateMaterial } from "../materials/mrdl/mrdlBackplateMaterial";
7
+ import { MRDLSliderBarMaterial } from "../materials/mrdl/mrdlSliderBarMaterial.js";
8
+ import { MRDLSliderThumbMaterial } from "../materials/mrdl/mrdlSliderThumbMaterial.js";
9
+ import { MRDLBackplateMaterial } from "../materials/mrdl/mrdlBackplateMaterial.js";
10
10
  /**
11
11
  * Class used to create a slider in 3D
12
12
  */
@@ -1,7 +1,7 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import type { float } from "@babylonjs/core/types.js";
3
- import { VolumeBasedPanel } from "./volumeBasedPanel";
4
- import type { Control3D } from "./control3D";
3
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
4
+ import type { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * Class used to create a container panel deployed on the surface of a sphere
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Container3D } from "./container3D";
1
+ import { Container3D } from "./container3D.js";
2
2
  /**
3
3
  * Class used to create a stack panel in 3D on XY plane
4
4
  */
@@ -3,7 +3,7 @@ import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
3
3
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
4
4
  import type { Scene } from "@babylonjs/core/scene.js";
5
5
  import { Observable } from "@babylonjs/core/Misc/observable.js";
6
- import { Button3D } from "./button3D";
6
+ import { Button3D } from "./button3D.js";
7
7
  /**
8
8
  * Class used to create a touchable button in 3D
9
9
  */
@@ -3,10 +3,10 @@ import { StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js"
3
3
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
4
4
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
5
5
  import type { Scene } from "@babylonjs/core/scene.js";
6
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
7
- import { FluentButtonMaterial } from "../materials/fluentButton/fluentButtonMaterial";
8
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
9
- import { TouchButton3D } from "./touchButton3D";
6
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
7
+ import { FluentButtonMaterial } from "../materials/fluentButton/fluentButtonMaterial.js";
8
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
9
+ import { TouchButton3D } from "./touchButton3D.js";
10
10
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
11
11
  /**
12
12
  * Class used to create a holographic button in 3D
@@ -2,12 +2,12 @@ import type { Scene } from "@babylonjs/core/scene.js";
2
2
  import type { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
4
4
  import type { Nullable } from "@babylonjs/core/types.js";
5
- import type { Control3D } from "./control3D";
6
- import { VolumeBasedPanel } from "./volumeBasedPanel";
5
+ import type { Control3D } from "./control3D.js";
6
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
7
7
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
8
8
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
9
- import type { Container3D } from "./container3D";
10
- import type { TouchHolographicButton } from "./touchHolographicButton";
9
+ import type { Container3D } from "./container3D.js";
10
+ import type { TouchHolographicButton } from "./touchHolographicButton.js";
11
11
  /**
12
12
  * Simple menu that can contain holographic buttons
13
13
  */
@@ -1,7 +1,7 @@
1
1
  import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
2
2
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
3
3
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
4
- import { TouchButton3D } from "./touchButton3D";
4
+ import { TouchButton3D } from "./touchButton3D.js";
5
5
  /**
6
6
  * Class used to create an interactable object. It's a touchable 3D button using a mesh coming from the current scene
7
7
  * @since 5.0.0
@@ -1,7 +1,7 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import type { int } from "@babylonjs/core/types.js";
3
- import { Container3D } from "./container3D";
4
- import type { Control3D } from "./control3D";
3
+ import { Container3D } from "./container3D.js";
4
+ import type { Control3D } from "./control3D.js";
5
5
  /**
6
6
  * Abstract class used to create a container panel deployed on the surface of a volume
7
7
  */
@@ -1,8 +1,8 @@
1
1
  import type { Scene } from "@babylonjs/core/scene.js";
2
2
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
3
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { HandleMaterial } from "../materials/handle/handleMaterial";
5
- import type { SlateGizmo } from "./slateGizmo";
4
+ import { HandleMaterial } from "../materials/handle/handleMaterial.js";
5
+ import type { SlateGizmo } from "./slateGizmo.js";
6
6
  import { BaseSixDofDragBehavior } from "@babylonjs/core/Behaviors/Meshes/baseSixDofDragBehavior.js";
7
7
  /**
8
8
  * State of the handle regarding user interaction
@@ -1,2 +1,2 @@
1
- export * from "./slateGizmo";
2
- export * from "./gizmoHandle";
1
+ export * from "./slateGizmo.js";
2
+ export * from "./gizmoHandle.js";
@@ -2,7 +2,7 @@ import { Gizmo } from "@babylonjs/core/Gizmos/gizmo.js";
2
2
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
3
3
  import type { UtilityLayerRenderer } from "@babylonjs/core/Rendering/utilityLayerRenderer.js";
4
4
  import type { Nullable } from "@babylonjs/core/types.js";
5
- import type { HolographicSlate } from "../controls/holographicSlate";
5
+ import type { HolographicSlate } from "../controls/holographicSlate.js";
6
6
  /**
7
7
  * Gizmo to resize 2D slates
8
8
  */
@@ -5,8 +5,8 @@ import type { Material } from "@babylonjs/core/Materials/material.js";
5
5
  import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
6
6
  import { UtilityLayerRenderer } from "@babylonjs/core/Rendering/utilityLayerRenderer.js";
7
7
  import type { IDisposable, Scene } from "@babylonjs/core/scene.js";
8
- import { Container3D } from "./controls/container3D";
9
- import type { Control3D } from "./controls/control3D";
8
+ import { Container3D } from "./controls/container3D.js";
9
+ import type { Control3D } from "./controls/control3D.js";
10
10
  /**
11
11
  * Class used to manage 3D user interface
12
12
  * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui3D
package/3D/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./controls/index";
2
- export * from "./materials/index";
3
- export * from "./gizmos/index";
4
- export * from "./gui3DManager";
5
- export * from "./vector3WithInfo";
1
+ export * from "./controls/index.js";
2
+ export * from "./materials/index.js";
3
+ export * from "./gizmos/index.js";
4
+ export * from "./gui3DManager.js";
5
+ export * from "./vector3WithInfo.js";
@@ -9,8 +9,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
10
10
  import type { Scene } from "@babylonjs/core/scene.js";
11
11
  import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
12
- import "./shaders/fluent.vertex";
13
- import "./shaders/fluent.fragment";
12
+ import "./shaders/fluent.vertex.js";
13
+ import "./shaders/fluent.fragment.js";
14
14
  /** @internal */
15
15
  export declare class FluentMaterialDefines extends MaterialDefines {
16
16
  INNERGLOW: boolean;
@@ -1 +1 @@
1
- export * from "./fluentMaterial";
1
+ export * from "./fluentMaterial.js";
@@ -9,8 +9,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
10
10
  import type { Scene } from "@babylonjs/core/scene.js";
11
11
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
12
- import "./shaders/fluentBackplate.fragment";
13
- import "./shaders/fluentBackplate.vertex";
12
+ import "./shaders/fluentBackplate.fragment.js";
13
+ import "./shaders/fluentBackplate.vertex.js";
14
14
  /**
15
15
  * Class used to render square buttons with fluent design
16
16
  */
@@ -1 +1 @@
1
- export * from "./fluentBackplateMaterial";
1
+ export * from "./fluentBackplateMaterial.js";
@@ -9,8 +9,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
10
10
  import type { Scene } from "@babylonjs/core/scene.js";
11
11
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
12
- import "./shaders/fluentButton.fragment";
13
- import "./shaders/fluentButton.vertex";
12
+ import "./shaders/fluentButton.fragment.js";
13
+ import "./shaders/fluentButton.vertex.js";
14
14
  /**
15
15
  * Class used to render square buttons with fluent design
16
16
  * @since 5.0.0
@@ -1 +1 @@
1
- export * from "./fluentButtonMaterial";
1
+ export * from "./fluentButtonMaterial.js";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This is here for backwards compatibility with 4.2
3
3
  */
4
- export { FluentMaterial } from "./fluent/fluentMaterial";
4
+ export { FluentMaterial } from "./fluent/fluentMaterial.js";
@@ -2,8 +2,8 @@ import { ShaderMaterial } from "@babylonjs/core/Materials/shaderMaterial.js";
2
2
  import type { Scene } from "@babylonjs/core/scene.js";
3
3
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
4
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
5
- import "./shaders/handle.vertex";
6
- import "./shaders/handle.fragment";
5
+ import "./shaders/handle.vertex.js";
6
+ import "./shaders/handle.fragment.js";
7
7
  /**
8
8
  * Class used to render gizmo handles with fluent design
9
9
  */
@@ -1 +1 @@
1
- export * from "./handleMaterial";
1
+ export * from "./handleMaterial.js";
@@ -1,5 +1,5 @@
1
- export * from "./fluent/index";
2
- export * from "./fluentButton/index";
3
- export * from "./fluentBackplate/index";
4
- export * from "./handle/index";
5
- export * from "./mrdl/index";
1
+ export * from "./fluent/index.js";
2
+ export * from "./fluentButton/index.js";
3
+ export * from "./fluentBackplate/index.js";
4
+ export * from "./handle/index.js";
5
+ export * from "./mrdl/index.js";
@@ -1,3 +1,3 @@
1
- export * from "./mrdlSliderBarMaterial";
2
- export * from "./mrdlSliderThumbMaterial";
3
- export * from "./mrdlBackplateMaterial";
1
+ export * from "./mrdlSliderBarMaterial.js";
2
+ export * from "./mrdlSliderThumbMaterial.js";
3
+ export * from "./mrdlBackplateMaterial.js";
@@ -8,8 +8,8 @@ import type { Scene } from "@babylonjs/core/scene.js";
8
8
  import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
10
10
  import { PushMaterial } from "@babylonjs/core/Materials/pushMaterial.js";
11
- import "./shaders/mrdlBackglow.fragment";
12
- import "./shaders/mrdlBackglow.vertex";
11
+ import "./shaders/mrdlBackglow.fragment.js";
12
+ import "./shaders/mrdlBackglow.vertex.js";
13
13
  export declare class MRDLBackglowMaterial extends PushMaterial {
14
14
  /**
15
15
  * Gets or sets the bevel radius on the backglow. If this value is changed, update the lineWidth to match.
@@ -9,8 +9,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
10
10
  import type { Scene } from "@babylonjs/core/scene.js";
11
11
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
12
- import "./shaders/mrdlBackplate.fragment";
13
- import "./shaders/mrdlBackplate.vertex";
12
+ import "./shaders/mrdlBackplate.fragment.js";
13
+ import "./shaders/mrdlBackplate.vertex.js";
14
14
  /**
15
15
  * Class used to render backplate material with MRDL
16
16
  */
@@ -9,8 +9,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
10
10
  import { PushMaterial } from "@babylonjs/core/Materials/pushMaterial.js";
11
11
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
12
- import "./shaders/mrdlFrontplate.fragment";
13
- import "./shaders/mrdlFrontplate.vertex";
12
+ import "./shaders/mrdlFrontplate.fragment.js";
13
+ import "./shaders/mrdlFrontplate.vertex.js";
14
14
  export declare class MRDLFrontplateMaterial extends PushMaterial {
15
15
  /**
16
16
  * Gets or sets the corner radius on the frontplate. If this value is changed, update the lineWidth to match.
@@ -8,8 +8,8 @@ import type { Scene } from "@babylonjs/core/scene.js";
8
8
  import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
9
9
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
10
10
  import { PushMaterial } from "@babylonjs/core/Materials/pushMaterial.js";
11
- import "./shaders/mrdlInnerquad.fragment";
12
- import "./shaders/mrdlInnerquad.vertex";
11
+ import "./shaders/mrdlInnerquad.fragment.js";
12
+ import "./shaders/mrdlInnerquad.vertex.js";
13
13
  export declare class MRDLInnerquadMaterial extends PushMaterial {
14
14
  /**
15
15
  * Gets or sets the color of the innerquad.
@@ -10,8 +10,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
10
10
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
11
11
  import type { Scene } from "@babylonjs/core/scene.js";
12
12
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
13
- import "./shaders/mrdlSliderBar.fragment";
14
- import "./shaders/mrdlSliderBar.vertex";
13
+ import "./shaders/mrdlSliderBar.fragment.js";
14
+ import "./shaders/mrdlSliderBar.vertex.js";
15
15
  /**
16
16
  * Class used to render Slider Bar material with MRDL
17
17
  */
@@ -10,8 +10,8 @@ import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
10
10
  import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
11
11
  import type { Scene } from "@babylonjs/core/scene.js";
12
12
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
13
- import "./shaders/mrdlSliderThumb.fragment";
14
- import "./shaders/mrdlSliderThumb.vertex";
13
+ import "./shaders/mrdlSliderThumb.fragment.js";
14
+ import "./shaders/mrdlSliderThumb.vertex.js";
15
15
  /**
16
16
  * Class used to render Slider Thumb material with MRDL
17
17
  */
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./2D/index";
2
- export * from "./3D/index";
1
+ export * from "./2D/index.js";
2
+ export * from "./3D/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui",
3
- "version": "8.1.1",
3
+ "version": "8.2.1",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "postcompile": "build-tools -c add-js-to-es6"
19
19
  },
20
20
  "devDependencies": {
21
- "@babylonjs/core": "^8.1.1",
21
+ "@babylonjs/core": "^8.2.1",
22
22
  "@dev/build-tools": "^1.0.0",
23
23
  "@lts/gui": "1.0.0"
24
24
  },