babylonjs-inspector 7.51.0 → 7.51.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.
@@ -5363,27 +5363,26 @@ declare module INSPECTOR.SharedUIComponents {
5363
5363
  max?: number;
5364
5364
  placeholder?: string;
5365
5365
  unit?: React.ReactNode;
5366
- validator?: (input: string) => boolean;
5367
- onValidateChangeFailed?: (invalidInput: string) => void;
5366
+ validator?: (value: string) => boolean;
5368
5367
  multilines?: boolean;
5369
5368
  throttlePropertyChangedNotification?: boolean;
5370
5369
  throttlePropertyChangedNotificationDelay?: number;
5371
5370
  disabled?: boolean;
5372
5371
  }
5373
- interface ITextInputLineComponentState {
5374
- input: string;
5372
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
5373
+ value: string;
5375
5374
  dragging: boolean;
5376
- inputValid: boolean;
5377
- }
5378
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
5375
+ }> {
5379
5376
  private _localChange;
5380
5377
  constructor(props: ITextInputLineComponentProps);
5381
5378
  componentWillUnmount(): void;
5382
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
5379
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
5380
+ value: string;
5381
+ dragging: boolean;
5382
+ }): boolean;
5383
5383
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
5384
5384
  getCurrentNumericValue(value: string): number;
5385
- updateInput(input: string): void;
5386
- updateValue(adjustedInput?: string, updateState?: boolean): void;
5385
+ updateValue(value: string, valueToValidate?: string): void;
5387
5386
  incrementValue(amount: number): void;
5388
5387
  onKeyDown(event: React.KeyboardEvent): void;
5389
5388
  render(): import("react/jsx-runtime").JSX.Element;
@@ -6312,32 +6312,30 @@ export interface ITextInputLineComponentProps {
6312
6312
  max?: number;
6313
6313
  placeholder?: string;
6314
6314
  unit?: React.ReactNode;
6315
- validator?: (input: string) => boolean;
6316
- onValidateChangeFailed?: (invalidInput: string) => void;
6315
+ validator?: (value: string) => boolean;
6317
6316
  multilines?: boolean;
6318
6317
  throttlePropertyChangedNotification?: boolean;
6319
6318
  throttlePropertyChangedNotificationDelay?: number;
6320
6319
  disabled?: boolean;
6321
6320
  }
6322
- interface ITextInputLineComponentState {
6323
- input: string;
6321
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
6322
+ value: string;
6324
6323
  dragging: boolean;
6325
- inputValid: boolean;
6326
- }
6327
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
6324
+ }> {
6328
6325
  private _localChange;
6329
6326
  constructor(props: ITextInputLineComponentProps);
6330
6327
  componentWillUnmount(): void;
6331
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
6328
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
6329
+ value: string;
6330
+ dragging: boolean;
6331
+ }): boolean;
6332
6332
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
6333
6333
  getCurrentNumericValue(value: string): number;
6334
- updateInput(input: string): void;
6335
- updateValue(adjustedInput?: string, updateState?: boolean): void;
6334
+ updateValue(value: string, valueToValidate?: string): void;
6336
6335
  incrementValue(amount: number): void;
6337
6336
  onKeyDown(event: React.KeyboardEvent): void;
6338
6337
 
6339
6338
  }
6340
- export {};
6341
6339
 
6342
6340
  }
6343
6341
  declare module "babylonjs-inspector/lines/targetsProxy" {
@@ -13502,27 +13500,26 @@ declare module INSPECTOR.SharedUIComponents {
13502
13500
  max?: number;
13503
13501
  placeholder?: string;
13504
13502
  unit?: React.ReactNode;
13505
- validator?: (input: string) => boolean;
13506
- onValidateChangeFailed?: (invalidInput: string) => void;
13503
+ validator?: (value: string) => boolean;
13507
13504
  multilines?: boolean;
13508
13505
  throttlePropertyChangedNotification?: boolean;
13509
13506
  throttlePropertyChangedNotificationDelay?: number;
13510
13507
  disabled?: boolean;
13511
13508
  }
13512
- interface ITextInputLineComponentState {
13513
- input: string;
13509
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
13510
+ value: string;
13514
13511
  dragging: boolean;
13515
- inputValid: boolean;
13516
- }
13517
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
13512
+ }> {
13518
13513
  private _localChange;
13519
13514
  constructor(props: ITextInputLineComponentProps);
13520
13515
  componentWillUnmount(): void;
13521
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
13516
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
13517
+ value: string;
13518
+ dragging: boolean;
13519
+ }): boolean;
13522
13520
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
13523
13521
  getCurrentNumericValue(value: string): number;
13524
- updateInput(input: string): void;
13525
- updateValue(adjustedInput?: string, updateState?: boolean): void;
13522
+ updateValue(value: string, valueToValidate?: string): void;
13526
13523
  incrementValue(amount: number): void;
13527
13524
  onKeyDown(event: React.KeyboardEvent): void;
13528
13525
  render(): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "7.51.0",
3
+ "version": "7.51.1",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.51.0",
18
- "babylonjs-gui": "^7.51.0",
19
- "babylonjs-gui-editor": "^7.51.0",
20
- "babylonjs-loaders": "^7.51.0",
21
- "babylonjs-materials": "^7.51.0",
22
- "babylonjs-serializers": "^7.51.0"
17
+ "babylonjs": "^7.51.1",
18
+ "babylonjs-gui": "^7.51.1",
19
+ "babylonjs-gui-editor": "^7.51.1",
20
+ "babylonjs-loaders": "^7.51.1",
21
+ "babylonjs-materials": "^7.51.1",
22
+ "babylonjs-serializers": "^7.51.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",