babylonjs-node-geometry-editor 8.12.1 → 8.13.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.
@@ -2337,7 +2337,9 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2337
2337
  updateStateX(value: number): void;
2338
2338
  updateStateY(value: number): void;
2339
2339
  updateStateZ(value: number): void;
2340
- onCopyClick(): void;
2340
+ onCopyClick(): string;
2341
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
2342
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
2341
2343
  render(): import("react/jsx-runtime").JSX.Element;
2342
2344
  }
2343
2345
 
@@ -2469,7 +2471,10 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2469
2471
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2470
2472
  constructor(props: ITextLineComponentProps);
2471
2473
  onLink(): void;
2472
- renderContent(): import("react/jsx-runtime").JSX.Element | null;
2474
+ copyFn(): (() => string) | undefined;
2475
+ renderContent(isLink: boolean, tooltip: string): import("react/jsx-runtime").JSX.Element | null;
2476
+ renderOriginal(isLink: boolean, tooltip: string): import("react/jsx-runtime").JSX.Element;
2477
+ renderFluent(isLink: boolean, tooltip: string): import("react/jsx-runtime").JSX.Element;
2473
2478
  render(): import("react/jsx-runtime").JSX.Element;
2474
2479
  }
2475
2480
 
@@ -2525,6 +2530,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2525
2530
  updateValue(value: string, valueToValidate?: string): void;
2526
2531
  incrementValue(amount: number): void;
2527
2532
  onKeyDown(event: React.KeyboardEvent): void;
2533
+ renderFluent(value: string, placeholder: string, step: number): import("react/jsx-runtime").JSX.Element;
2534
+ renderOriginal(value: string, placeholder: string, step: number): import("react/jsx-runtime").JSX.Element;
2528
2535
  render(): import("react/jsx-runtime").JSX.Element;
2529
2536
  }
2530
2537
 
@@ -2586,6 +2593,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2586
2593
  onInput(newValueString: any): void;
2587
2594
  prepareDataToRead(value: number): number;
2588
2595
  onCopyClick(): void;
2596
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
2597
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
2589
2598
  render(): import("react/jsx-runtime").JSX.Element;
2590
2599
  }
2591
2600
 
@@ -2655,7 +2664,9 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2655
2664
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;
2656
2665
  setValue(value: string | number): void;
2657
2666
  updateValue(valueString: string): void;
2658
- onCopyClick(): void;
2667
+ onCopyClickStr(): string;
2668
+ private _renderFluent;
2669
+ private _renderOriginal;
2659
2670
  render(): import("react/jsx-runtime").JSX.Element;
2660
2671
  }
2661
2672
 
@@ -3064,6 +3075,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3064
3075
  private _uploadInputRef;
3065
3076
  constructor(props: IFileButtonLineProps);
3066
3077
  onChange(evt: any): void;
3078
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
3079
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
3067
3080
  render(): import("react/jsx-runtime").JSX.Element;
3068
3081
  }
3069
3082
 
@@ -3179,6 +3192,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3179
3192
  private _convertToColor;
3180
3193
  private _toColor3;
3181
3194
  onCopyClick(): void;
3195
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
3196
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
3182
3197
  render(): import("react/jsx-runtime").JSX.Element;
3183
3198
  }
3184
3199
 
@@ -3267,6 +3282,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3267
3282
  }): boolean;
3268
3283
  onChange(): void;
3269
3284
  onCopyClick(): void;
3285
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
3286
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
3270
3287
  render(): import("react/jsx-runtime").JSX.Element;
3271
3288
  }
3272
3289
 
@@ -3287,6 +3304,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3287
3304
  }
3288
3305
  export class ButtonLineComponent extends React.Component<IButtonLineComponentProps> {
3289
3306
  constructor(props: IButtonLineComponentProps);
3307
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
3308
+ renderOriginal(): import("react/jsx-runtime").JSX.Element;
3290
3309
  render(): import("react/jsx-runtime").JSX.Element;
3291
3310
  }
3292
3311
 
@@ -3311,6 +3330,513 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3311
3330
 
3312
3331
 
3313
3332
 
3333
+ }
3334
+ declare module BABYLON.NodeGeometryEditor {
3335
+
3336
+
3337
+ }
3338
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3339
+ export type TextareaProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<string> & {
3340
+ placeholder?: string;
3341
+ };
3342
+ /**
3343
+ * This is a texarea box that stops propagation of change/keydown events
3344
+ * @param props
3345
+ * @returns
3346
+ */
3347
+ export var Textarea: React.FunctionComponent<any>;
3348
+
3349
+
3350
+
3351
+ }
3352
+ declare module BABYLON.NodeGeometryEditor {
3353
+
3354
+
3355
+ }
3356
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3357
+ export type SyncedSliderProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<number> & {
3358
+ min?: number;
3359
+ max?: number;
3360
+ step?: number;
3361
+ };
3362
+ /**
3363
+ * Component which synchronizes a slider and an input field, allowing the user to change a value using either control
3364
+ * @param props
3365
+ * @returns SyncedSlider component
3366
+ */
3367
+ export var SyncedSliderInput: React.FunctionComponent<SyncedSliderProps>;
3368
+
3369
+
3370
+
3371
+ }
3372
+ declare module BABYLON.NodeGeometryEditor {
3373
+
3374
+
3375
+ }
3376
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3377
+ export type SwitchProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<boolean>;
3378
+ /**
3379
+ * This is a primitive fluent boolean switch component whose only knowledge is the shared styling across all tools
3380
+ * @param props
3381
+ * @returns Switch component
3382
+ */
3383
+ export var Switch: React.FunctionComponent<SwitchProps>;
3384
+
3385
+
3386
+
3387
+ }
3388
+ declare module BABYLON.NodeGeometryEditor {
3389
+
3390
+
3391
+ }
3392
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3393
+ export type SpinButtonProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<number>;
3394
+ export var SpinButton: React.FunctionComponent<SpinButtonProps>;
3395
+
3396
+
3397
+
3398
+ }
3399
+ declare module BABYLON.NodeGeometryEditor {
3400
+
3401
+
3402
+ }
3403
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3404
+
3405
+
3406
+
3407
+ }
3408
+ declare module BABYLON.NodeGeometryEditor {
3409
+
3410
+
3411
+ }
3412
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3413
+ export type InputProps<T extends string | number> = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<T> & {
3414
+ step?: number;
3415
+ placeholder?: string;
3416
+ min?: number;
3417
+ max?: number;
3418
+ };
3419
+ /**
3420
+ * This is an input text box that stops propagation of change events and sets its width based on the type of input (text or number)
3421
+ * @param props
3422
+ * @returns
3423
+ */
3424
+ export var Input: React.FunctionComponent<InputProps<string | number>>;
3425
+
3426
+
3427
+
3428
+ }
3429
+ declare module BABYLON.NodeGeometryEditor {
3430
+
3431
+
3432
+ }
3433
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3434
+ export type AcceptedDropdownValue = string | number;
3435
+ export type DropdownOption = {
3436
+ /**
3437
+ * Defines the visible part of the option
3438
+ */
3439
+ label: string;
3440
+ /**
3441
+ * Defines the value part of the option
3442
+ */
3443
+ value: AcceptedDropdownValue;
3444
+ };
3445
+ export type DropdownProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<AcceptedDropdownValue | undefined> & {
3446
+ options: DropdownOption[];
3447
+ includeUndefined?: boolean;
3448
+ };
3449
+ /**
3450
+ * Renders a fluent UI dropdown component for the options passed in, and an additional 'Not Defined' option if includeUndefined is set to true
3451
+ * @param props
3452
+ * @returns dropdown component
3453
+ */
3454
+ export var Dropdown: React.FunctionComponent<DropdownProps>;
3455
+
3456
+
3457
+
3458
+ }
3459
+ declare module BABYLON.NodeGeometryEditor {
3460
+
3461
+
3462
+ }
3463
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3464
+ export type ColorPickerProps<C extends BABYLON.Color3 | BABYLON.Color4> = {
3465
+ isLinearMode?: boolean;
3466
+ } & BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<C>;
3467
+ export var ColorPickerPopup: React.FunctionComponent<ColorPickerProps<BABYLON.Color3 | BABYLON.Color4>>;
3468
+ type HsvKey = "h" | "s" | "v";
3469
+ export type InputHexProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<BABYLON.Color3 | BABYLON.Color4> & {
3470
+ label?: string;
3471
+ linearHex?: boolean;
3472
+ isLinearMode?: boolean;
3473
+ };
3474
+ /**
3475
+ * Component which displays the passed in color's HEX value, either in linearSpace (if linearHex is true) or in gamma space
3476
+ * When the hex color is changed by user, component calculates the new BABYLON.Color3/4 value and calls onChange
3477
+ *
3478
+ * Component uses the isLinearMode boolean to display an informative label regarding linear / gamma space
3479
+ * @param props - The properties for the InputHexField component.
3480
+ * @returns
3481
+ */
3482
+ export var InputHexField: React.FunctionComponent<InputHexProps>;
3483
+ type InputHsvFieldProps = {
3484
+ color: BABYLON.Color3 | BABYLON.Color4;
3485
+ label: string;
3486
+ hsvKey: HsvKey;
3487
+ onChange: (color: BABYLON.Color3 | BABYLON.Color4) => void;
3488
+ max: number;
3489
+ scale?: number;
3490
+ };
3491
+ /**
3492
+ * In the HSV (Hue, Saturation, Value) color model, Hue (H) ranges from 0 to 360 degrees, representing the color's position on the color wheel.
3493
+ * Saturation (S) ranges from 0 to 100%, indicating the intensity or purity of the color, with 0 being shades of gray and 100 being a fully saturated color.
3494
+ * Value (V) ranges from 0 to 100%, representing the brightness of the color, with 0 being black and 100 being the brightest.
3495
+ * @param props - The properties for the InputHsvField component.
3496
+ */
3497
+ export var InputHsvField: React.FunctionComponent<InputHsvFieldProps>;
3498
+
3499
+
3500
+
3501
+ }
3502
+ declare module BABYLON.NodeGeometryEditor {
3503
+
3504
+
3505
+ }
3506
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3507
+ export type CheckboxProps = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<boolean>;
3508
+ /**
3509
+ * This is a primitive fluent checkbox that can both read and write checked state
3510
+ * @param props
3511
+ * @returns Checkbox component
3512
+ */
3513
+ export var Checkbox: React.FunctionComponent<CheckboxProps>;
3514
+
3515
+
3516
+
3517
+ }
3518
+ declare module BABYLON.NodeGeometryEditor {
3519
+
3520
+
3521
+ }
3522
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3523
+ export type AccordionSectionProps = {
3524
+ title: string;
3525
+ };
3526
+ export var AccordionSection: React.FunctionComponent<React.PropsWithChildren<AccordionSectionProps>>;
3527
+ export var Accordion: React.FunctionComponent<React.PropsWithChildren>;
3528
+
3529
+
3530
+
3531
+ }
3532
+ declare module BABYLON.NodeGeometryEditor {
3533
+
3534
+
3535
+ }
3536
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3537
+ export type VectorPropertyLineProps<V extends BABYLON.Vector3 | BABYLON.Vector4> = BABYLON.NodeGeometryEditor.SharedUIComponents.BaseComponentProps<V> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & {
3538
+ /**
3539
+ * If passed, all sliders will use this for the min value
3540
+ */
3541
+ min?: number;
3542
+ /**
3543
+ * If passed, all sliders will use this for the max value
3544
+ */
3545
+ max?: number;
3546
+ /**
3547
+ * If passed, the UX will use the conversion functions to display/update values
3548
+ */
3549
+ valueConverter?: {
3550
+ /**
3551
+ * Will call from(val) before displaying in the UX
3552
+ */
3553
+ from: (val: number) => number;
3554
+ /**
3555
+ * Will call to(val) before calling onChange
3556
+ */
3557
+ to: (val: number) => number;
3558
+ };
3559
+ };
3560
+ type RotationVectorPropertyLineProps = VectorPropertyLineProps<BABYLON.Vector3> & {
3561
+ /**
3562
+ * Display angles as degrees instead of radians
3563
+ */
3564
+ useDegrees?: boolean;
3565
+ };
3566
+ export var RotationVectorPropertyLine: React.FunctionComponent<RotationVectorPropertyLineProps>;
3567
+ export var Vector3PropertyLine: React.FunctionComponent<VectorPropertyLineProps<BABYLON.Vector3>>;
3568
+ export var Vector4PropertyLine: React.FunctionComponent<VectorPropertyLineProps<BABYLON.Vector4>>;
3569
+
3570
+
3571
+
3572
+ }
3573
+ declare module BABYLON.NodeGeometryEditor {
3574
+
3575
+
3576
+ }
3577
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3578
+ type TextProps = {
3579
+ value: string;
3580
+ tooltip?: string;
3581
+ };
3582
+ /**
3583
+ * Wraps text in a property line
3584
+ * @param props - BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps and TextProps
3585
+ * @returns property-line wrapped text
3586
+ */
3587
+ export var TextPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & TextProps>;
3588
+
3589
+
3590
+
3591
+ }
3592
+ declare module BABYLON.NodeGeometryEditor {
3593
+
3594
+
3595
+ }
3596
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3597
+ type SyncedSliderLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.SyncedSliderProps & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps;
3598
+ /**
3599
+ * Renders a simple wrapper around the SyncedSliderInput
3600
+ * @param props
3601
+ * @returns
3602
+ */
3603
+ export var SyncedSliderLine: React.FunctionComponent<SyncedSliderLineProps>;
3604
+
3605
+
3606
+
3607
+ }
3608
+ declare module BABYLON.NodeGeometryEditor {
3609
+
3610
+
3611
+ }
3612
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3613
+ /**
3614
+ * Wraps a switch in a property line
3615
+ * @param props - The properties for the switch and property line
3616
+ * @returns A React element representing the property line with a switch
3617
+ */
3618
+ export var SwitchPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & BABYLON.NodeGeometryEditor.SharedUIComponents.SwitchProps>;
3619
+
3620
+
3621
+
3622
+ }
3623
+ declare module BABYLON.NodeGeometryEditor {
3624
+
3625
+
3626
+ }
3627
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3628
+ export type PropertyLineProps = {
3629
+ /**
3630
+ * The name of the property to display in the property line.
3631
+ */
3632
+ label: string;
3633
+ /**
3634
+ * Optional description for the property, shown on hover of the info icon
3635
+ */
3636
+ description?: string;
3637
+ /**
3638
+ * Optional function returning a string to copy to clipboard.
3639
+ */
3640
+ onCopy?: () => string;
3641
+ /**
3642
+ * If supplied, an 'expand' icon will be shown which, when clicked, renders this component within the property line.
3643
+ */
3644
+ expandedContent?: JSX.Element;
3645
+ /**
3646
+ * Link to the documentation for this property, available from the info icon either linked from the description (if provided) or defalt 'docs' text
3647
+ */
3648
+ docLink?: string;
3649
+ };
3650
+ export var LineContainer: import("react").ForwardRefExoticComponent<{
3651
+ children?: import("react").ReactNode | undefined;
3652
+ } & import("react").RefAttributes<HTMLDivElement>>;
3653
+ export type BaseComponentProps<T> = {
3654
+ /**
3655
+ * The value of the property to be displayed and modified.
3656
+ */
3657
+ value: T;
3658
+ /**
3659
+ * Callback function to handle changes to the value
3660
+ */
3661
+ onChange: (value: T) => void;
3662
+ /**
3663
+ * Optional flag to disable the component, preventing any interaction.
3664
+ */
3665
+ disabled?: boolean;
3666
+ /**
3667
+ * Optional class name to apply custom styles to the component.
3668
+ */
3669
+ className?: string;
3670
+ };
3671
+ /**
3672
+ * A reusable component that renders a property line with a label and child content, and an optional description, copy button, and expandable section.
3673
+ *
3674
+ * @param props - The properties for the PropertyLine component.
3675
+ * @returns A React element representing the property line.
3676
+ *
3677
+ */
3678
+ export var PropertyLine: import("react").ForwardRefExoticComponent<PropertyLineProps & {
3679
+ children?: import("react").ReactNode | undefined;
3680
+ } & import("react").RefAttributes<HTMLDivElement>>;
3681
+ export var PlaceholderPropertyLine: React.FunctionComponent<BaseComponentProps<any> & PropertyLineProps>;
3682
+
3683
+
3684
+
3685
+ }
3686
+ declare module BABYLON.NodeGeometryEditor {
3687
+
3688
+
3689
+ }
3690
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3691
+ type LinkProps = {
3692
+ value: string;
3693
+ tooltip?: string;
3694
+ onLink?: () => void;
3695
+ url?: string;
3696
+ };
3697
+ /**
3698
+ * Wraps a link in a property line
3699
+ * @param props - BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps and LinkProps
3700
+ * @returns property-line wrapped link
3701
+ */
3702
+ export var LinkPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & LinkProps>;
3703
+
3704
+
3705
+
3706
+ }
3707
+ declare module BABYLON.NodeGeometryEditor {
3708
+
3709
+
3710
+ }
3711
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3712
+ export var TextInputPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.InputProps<string> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps>;
3713
+ export var FloatInputPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.InputProps<number> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps>;
3714
+
3715
+
3716
+
3717
+ }
3718
+ declare module BABYLON.NodeGeometryEditor {
3719
+
3720
+
3721
+ }
3722
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3723
+ /**
3724
+ * Wraps a hex input in a property line
3725
+ * @param props - BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps and BABYLON.NodeGeometryEditor.SharedUIComponents.InputHexProps
3726
+ * @returns property-line wrapped input hex component
3727
+ */
3728
+ export var HexPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.InputHexProps & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps>;
3729
+
3730
+
3731
+
3732
+ }
3733
+ declare module BABYLON.NodeGeometryEditor {
3734
+
3735
+
3736
+ }
3737
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3738
+ export type ToolHostProps = {
3739
+ /**
3740
+ * Allows host to pass in a theme
3741
+ */
3742
+ customTheme?: any;
3743
+ /**
3744
+ * Can be set to true to disable the copy button in the tool's property lines. Default is false (copy enabled)
3745
+ */
3746
+ disableCopy?: boolean;
3747
+ };
3748
+ export var ToolContext: import("react").Context<{
3749
+ readonly useFluent: boolean;
3750
+ readonly disableCopy: boolean;
3751
+ }>;
3752
+ /**
3753
+ * For tools which are ready to move over the fluent, wrap the root of the tool (or the panel which you want fluentized) with this component
3754
+ * Today we will only enable fluent if the URL has the `newUX` query parameter is truthy
3755
+ * @param props
3756
+ * @returns
3757
+ */
3758
+ export var FluentToolWrapper: React.FunctionComponent<React.PropsWithChildren<ToolHostProps>>;
3759
+
3760
+
3761
+
3762
+ }
3763
+ declare module BABYLON.NodeGeometryEditor {
3764
+
3765
+
3766
+ }
3767
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3768
+ type FileUploadLineProps = Omit<BABYLON.NodeGeometryEditor.SharedUIComponents.ButtonLineProps, "onClick"> & {
3769
+ onClick: (file: File) => void;
3770
+ accept: string;
3771
+ };
3772
+ export var FileUploadLine: React.FunctionComponent<FileUploadLineProps>;
3773
+
3774
+
3775
+
3776
+ }
3777
+ declare module BABYLON.NodeGeometryEditor {
3778
+
3779
+
3780
+ }
3781
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3782
+ /**
3783
+ * Wraps a dropdown in a property line
3784
+ * @param props - BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps and BABYLON.NodeGeometryEditor.SharedUIComponents.DropdownProps
3785
+ * @returns property-line wrapped dropdown
3786
+ */
3787
+ export var DropdownPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & BABYLON.NodeGeometryEditor.SharedUIComponents.DropdownProps>;
3788
+
3789
+
3790
+
3791
+ }
3792
+ declare module BABYLON.NodeGeometryEditor {
3793
+
3794
+
3795
+ }
3796
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3797
+ export type ColorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.ColorPickerProps<BABYLON.Color3 | BABYLON.Color4> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps;
3798
+ export var Color3PropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.ColorPickerProps<BABYLON.Color3> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps>;
3799
+ export var Color4PropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.ColorPickerProps<BABYLON.Color4> & BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps>;
3800
+
3801
+
3802
+
3803
+ }
3804
+ declare module BABYLON.NodeGeometryEditor {
3805
+
3806
+
3807
+ }
3808
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3809
+ /**
3810
+ * Wraps a checkbox in a property line
3811
+ * @param props - BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps and BABYLON.NodeGeometryEditor.SharedUIComponents.CheckboxProps
3812
+ * @returns property-line wrapped checkbox
3813
+ */
3814
+ export var CheckboxPropertyLine: React.FunctionComponent<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps & BABYLON.NodeGeometryEditor.SharedUIComponents.CheckboxProps>;
3815
+
3816
+
3817
+
3818
+ }
3819
+ declare module BABYLON.NodeGeometryEditor {
3820
+
3821
+
3822
+ }
3823
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3824
+ export type ButtonLineProps = {
3825
+ label: string;
3826
+ onClick: () => void;
3827
+ disabled?: boolean;
3828
+ icon?: string;
3829
+ title?: string;
3830
+ };
3831
+ /**
3832
+ * Wraps a button with a label in a line container
3833
+ * @param props Button props plus a label
3834
+ * @returns A button inside a line
3835
+ */
3836
+ export var ButtonLine: React.FunctionComponent<ButtonLineProps>;
3837
+
3838
+
3839
+
3314
3840
  }
3315
3841
  declare module BABYLON.NodeGeometryEditor {
3316
3842