babylonjs-inspector 7.52.1 → 7.52.3

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.
@@ -3666,6 +3666,16 @@ declare module INSPECTOR.SharedUIComponents {
3666
3666
  * @param target document or shadow root to copy styles to
3667
3667
  */
3668
3668
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
3669
+ /**
3670
+ * Merges classNames by array of strings or conditions
3671
+ * @param classNames Array of className strings or truthy conditions
3672
+ * @returns A concatenated string, suitable for the className attribute
3673
+ */
3674
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
3675
+ /**
3676
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
3677
+ */
3678
+ type ClassNameCondition = string | undefined | [string, any];
3669
3679
 
3670
3680
 
3671
3681
 
@@ -4582,6 +4592,7 @@ declare module INSPECTOR.SharedUIComponents {
4582
4592
  private _onDown;
4583
4593
  cleanAccumulation(useCeil?: boolean): void;
4584
4594
  private _onUp;
4595
+ private _attach;
4585
4596
  private _onMove;
4586
4597
  renderProperties(): BABYLON.Nullable<JSX.Element>;
4587
4598
  _forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
@@ -5325,6 +5336,7 @@ declare module INSPECTOR.SharedUIComponents {
5325
5336
  icon?: string;
5326
5337
  iconLabel?: string;
5327
5338
  tooltip?: string;
5339
+ onCopy?: true | (() => string);
5328
5340
  }
5329
5341
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
5330
5342
  constructor(props: ITextLineComponentProps);
@@ -6104,7 +6116,7 @@ declare module INSPECTOR.SharedUIComponents {
6104
6116
  label?: string;
6105
6117
  target?: any;
6106
6118
  propertyName?: string;
6107
- isSelected?: () => boolean;
6119
+ isSelected?: boolean | (() => boolean);
6108
6120
  onSelect?: (value: boolean) => void;
6109
6121
  onValueChanged?: () => void;
6110
6122
  onPropertyChangedObservable?: BABYLON.Observable<INSPECTOR.SharedUIComponents.PropertyChangedEvent>;
@@ -4716,6 +4716,17 @@ declare module "babylonjs-inspector/styleHelper" {
4716
4716
  * @param target document or shadow root to copy styles to
4717
4717
  */
4718
4718
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
4719
+ /**
4720
+ * Merges classNames by array of strings or conditions
4721
+ * @param classNames Array of className strings or truthy conditions
4722
+ * @returns A concatenated string, suitable for the className attribute
4723
+ */
4724
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
4725
+ /**
4726
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
4727
+ */
4728
+ type ClassNameCondition = string | undefined | [string, any];
4729
+ export {};
4719
4730
 
4720
4731
  }
4721
4732
  declare module "babylonjs-inspector/stringTools" {
@@ -5576,6 +5587,7 @@ export class GraphNode {
5576
5587
  private _onDown;
5577
5588
  cleanAccumulation(useCeil?: boolean): void;
5578
5589
  private _onUp;
5590
+ private _attach;
5579
5591
  private _onMove;
5580
5592
  renderProperties(): Nullable<JSX.Element>;
5581
5593
  _forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
@@ -6275,6 +6287,7 @@ interface ITextLineComponentProps {
6275
6287
  icon?: string;
6276
6288
  iconLabel?: string;
6277
6289
  tooltip?: string;
6290
+ onCopy?: true | (() => string);
6278
6291
  }
6279
6292
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
6280
6293
  constructor(props: ITextLineComponentProps);
@@ -6977,7 +6990,7 @@ export interface ICheckBoxLineComponentProps {
6977
6990
  label?: string;
6978
6991
  target?: any;
6979
6992
  propertyName?: string;
6980
- isSelected?: () => boolean;
6993
+ isSelected?: boolean | (() => boolean);
6981
6994
  onSelect?: (value: boolean) => void;
6982
6995
  onValueChanged?: () => void;
6983
6996
  onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
@@ -11803,6 +11816,16 @@ declare module INSPECTOR.SharedUIComponents {
11803
11816
  * @param target document or shadow root to copy styles to
11804
11817
  */
11805
11818
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
11819
+ /**
11820
+ * Merges classNames by array of strings or conditions
11821
+ * @param classNames Array of className strings or truthy conditions
11822
+ * @returns A concatenated string, suitable for the className attribute
11823
+ */
11824
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
11825
+ /**
11826
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
11827
+ */
11828
+ type ClassNameCondition = string | undefined | [string, any];
11806
11829
 
11807
11830
 
11808
11831
 
@@ -12719,6 +12742,7 @@ declare module INSPECTOR.SharedUIComponents {
12719
12742
  private _onDown;
12720
12743
  cleanAccumulation(useCeil?: boolean): void;
12721
12744
  private _onUp;
12745
+ private _attach;
12722
12746
  private _onMove;
12723
12747
  renderProperties(): BABYLON.Nullable<JSX.Element>;
12724
12748
  _forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
@@ -13462,6 +13486,7 @@ declare module INSPECTOR.SharedUIComponents {
13462
13486
  icon?: string;
13463
13487
  iconLabel?: string;
13464
13488
  tooltip?: string;
13489
+ onCopy?: true | (() => string);
13465
13490
  }
13466
13491
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
13467
13492
  constructor(props: ITextLineComponentProps);
@@ -14241,7 +14266,7 @@ declare module INSPECTOR.SharedUIComponents {
14241
14266
  label?: string;
14242
14267
  target?: any;
14243
14268
  propertyName?: string;
14244
- isSelected?: () => boolean;
14269
+ isSelected?: boolean | (() => boolean);
14245
14270
  onSelect?: (value: boolean) => void;
14246
14271
  onValueChanged?: () => void;
14247
14272
  onPropertyChangedObservable?: BABYLON.Observable<INSPECTOR.SharedUIComponents.PropertyChangedEvent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "7.52.1",
3
+ "version": "7.52.3",
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.52.1",
18
- "babylonjs-gui": "^7.52.1",
19
- "babylonjs-gui-editor": "^7.52.1",
20
- "babylonjs-loaders": "^7.52.1",
21
- "babylonjs-materials": "^7.52.1",
22
- "babylonjs-serializers": "^7.52.1"
17
+ "babylonjs": "^7.52.3",
18
+ "babylonjs-gui": "^7.52.3",
19
+ "babylonjs-gui-editor": "^7.52.3",
20
+ "babylonjs-loaders": "^7.52.3",
21
+ "babylonjs-materials": "^7.52.3",
22
+ "babylonjs-serializers": "^7.52.3"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",