babylonjs-node-editor 5.24.0 → 5.25.0

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.
@@ -1685,9 +1685,14 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1685
1685
  target: any;
1686
1686
  propertyName: string;
1687
1687
  options: BABYLON.IInspectableOptions[];
1688
+ addInput?: boolean;
1688
1689
  noDirectUpdate?: boolean;
1689
1690
  onSelect?: (value: number | string) => void;
1690
1691
  extractValue?: (target: any) => number | string;
1692
+ addVal?: (newVal: {
1693
+ label: string;
1694
+ value: number;
1695
+ }, prevVal: number) => void;
1691
1696
  onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1692
1697
  allowNullValue?: boolean;
1693
1698
  icon?: string;
@@ -1695,9 +1700,12 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1695
1700
  className?: string;
1696
1701
  valuesAreStrings?: boolean;
1697
1702
  defaultIfNull?: number;
1703
+ fromFontDropdown?: boolean;
1704
+ valueProp?: number;
1698
1705
  }
1699
1706
  export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
1700
1707
  value: number | string;
1708
+ addCustom: boolean;
1701
1709
  }> {
1702
1710
  private _localChange;
1703
1711
  private _remapValueIn;
@@ -1706,10 +1714,12 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1706
1714
  constructor(props: IOptionsLineComponentProps);
1707
1715
  shouldComponentUpdate(nextProps: IOptionsLineComponentProps, nextState: {
1708
1716
  value: number;
1717
+ addCustom: boolean;
1709
1718
  }): boolean;
1710
1719
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;
1711
1720
  setValue(value: string | number): void;
1712
1721
  updateValue(valueString: string): void;
1722
+ updateCustomValue(): void;
1713
1723
  render(): JSX.Element;
1714
1724
  }
1715
1725