babylonjs-gui 5.0.0-beta.10 → 5.0.0-beta.11

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.
@@ -784,6 +784,7 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
784
784
  */
785
785
  scaleTo(width: number, height: number): void;
786
786
  }
787
+ export { IFocusableControl };
787
788
  }
788
789
  declare module "babylonjs-gui/2D/controls/control" {
789
790
  import { Nullable } from "babylonjs/types";
@@ -1853,6 +1854,7 @@ declare module "babylonjs-gui/2D/controls/textBlock" {
1853
1854
  protected _applyStates(context: ICanvasRenderingContext): void;
1854
1855
  protected _breakLines(refWidth: number, refHeight: number, context: ICanvasRenderingContext): object[];
1855
1856
  protected _parseLine(line: string | undefined, context: ICanvasRenderingContext): object;
1857
+ private _getCharsToRemove;
1856
1858
  protected _parseLineEllipsis(line: string | undefined, width: number, context: ICanvasRenderingContext): object;
1857
1859
  protected _parseLineWordWrap(line: string | undefined, width: number, context: ICanvasRenderingContext): object[];
1858
1860
  protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: ICanvasRenderingContext): object[];
@@ -2416,6 +2418,8 @@ declare module "babylonjs-gui/2D/controls/inputText" {
2416
2418
  private _autoStretchWidth;
2417
2419
  private _maxWidth;
2418
2420
  private _isFocused;
2421
+ /** the type of device that most recently focused the input: "mouse", "touch" or "pen" */
2422
+ private _focusedBy;
2419
2423
  private _blinkTimeout;
2420
2424
  private _blinkIsEven;
2421
2425
  private _cursorOffset;
@@ -8971,6 +8975,7 @@ declare module BABYLON.GUI {
8971
8975
  protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
8972
8976
  protected _breakLines(refWidth: number, refHeight: number, context: BABYLON.ICanvasRenderingContext): object[];
8973
8977
  protected _parseLine(line: string | undefined, context: BABYLON.ICanvasRenderingContext): object;
8978
+ private _getCharsToRemove;
8974
8979
  protected _parseLineEllipsis(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object;
8975
8980
  protected _parseLineWordWrap(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object[];
8976
8981
  protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: BABYLON.ICanvasRenderingContext): object[];
@@ -9494,6 +9499,8 @@ declare module BABYLON.GUI {
9494
9499
  private _autoStretchWidth;
9495
9500
  private _maxWidth;
9496
9501
  private _isFocused;
9502
+ /** the type of device that most recently focused the input: "mouse", "touch" or "pen" */
9503
+ private _focusedBy;
9497
9504
  private _blinkTimeout;
9498
9505
  private _blinkIsEven;
9499
9506
  private _cursorOffset;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  },
5
5
  "name": "babylonjs-gui",
6
6
  "description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
7
- "version": "5.0.0-beta.10",
7
+ "version": "5.0.0-beta.11",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "babylonjs": "5.0.0-beta.10"
31
+ "babylonjs": "5.0.0-beta.11"
32
32
  },
33
33
  "engines": {
34
34
  "node": "*"