next-flow-interface 0.25.2 → 0.25.8

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.
Files changed (2) hide show
  1. package/index.d.ts +54 -75
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -37,7 +37,7 @@ import { InputBlock } from "@babylonjs/core";
37
37
  import { InputEventHandler } from "react";
38
38
  import { InputNumberProps } from "antd";
39
39
  import { IParticleSystem } from "@babylonjs/core";
40
- import { JSX } from "react";
40
+ import { JSX } from "react/jsx-runtime";
41
41
  import { Key } from "react";
42
42
  import { KeyboardEventHandler } from "react";
43
43
  import { Light } from "@babylonjs/core";
@@ -237,9 +237,7 @@ export declare class AnimationNativeAttribute extends NodeAttribute<RvNative> {
237
237
  /**
238
238
  * @public
239
239
  */
240
- export declare function AntCheckbox(
241
- props: AntCheckboxProps,
242
- ): React_2.JSX.Element;
240
+ export declare function AntCheckbox(props: AntCheckboxProps): JSX.Element;
243
241
 
244
242
  /**
245
243
  * @public
@@ -254,7 +252,7 @@ export declare interface AntCheckboxProps extends SwitchProps {
254
252
  /**
255
253
  * @public
256
254
  */
257
- export declare function AntColor(props: AntColorProps): React_2.JSX.Element;
255
+ export declare function AntColor(props: AntColorProps): JSX.Element;
258
256
 
259
257
  /**
260
258
  * @public
@@ -286,7 +284,7 @@ export declare interface AntEmptyProps extends EmptyProps {
286
284
  /**
287
285
  * @public
288
286
  */
289
- export declare function AntNumber(props: AntNumberProps): React_2.JSX.Element;
287
+ export declare function AntNumber(props: AntNumberProps): JSX.Element;
290
288
 
291
289
  /**
292
290
  * @public
@@ -308,7 +306,7 @@ export declare interface AntNumberProps extends Omit<
308
306
  */
309
307
  export declare function AntSelect<ValueType>(
310
308
  props: AntSelectProps<ValueType>,
311
- ): React_2.JSX.Element;
309
+ ): JSX.Element;
312
310
 
313
311
  /**
314
312
  * @public
@@ -334,7 +332,7 @@ export declare interface AntSelectProps<
334
332
  /**
335
333
  * @public
336
334
  */
337
- export declare function AntSwitch(props: AntSwitchProps): React_2.JSX.Element;
335
+ export declare function AntSwitch(props: AntSwitchProps): JSX.Element;
338
336
 
339
337
  /**
340
338
  * @public
@@ -596,7 +594,7 @@ export declare class BasicAttribute extends NodeAttribute<RvBasic> {
596
594
  /**
597
595
  * @public
598
596
  */
599
- export declare function BatchApply(props: BatchApplyProps): React_2.JSX.Element;
597
+ export declare function BatchApply(props: BatchApplyProps): JSX.Element;
600
598
 
601
599
  /**
602
600
  * @public
@@ -825,6 +823,8 @@ export declare class BatchApplyService {
825
823
  */
826
824
  export declare type BatchApplySubscriber = (selected: string[]) => void;
827
825
 
826
+ export declare function Block(): JSX.Element;
827
+
828
828
  /**
829
829
  * @public
830
830
  */
@@ -1799,7 +1799,7 @@ export declare interface FileData {
1799
1799
  */
1800
1800
  export declare function FileProgressBar(
1801
1801
  props: FileProgressBarProps,
1802
- ): React_2.JSX.Element;
1802
+ ): JSX.Element;
1803
1803
 
1804
1804
  /**
1805
1805
  * @public
@@ -3019,9 +3019,7 @@ export declare class MaterialPbrAttribute extends NodeAttribute<RvMaterialPBR> {
3019
3019
  /**
3020
3020
  * @public
3021
3021
  */
3022
- export declare function MaterialSymbol(
3023
- props: MaterialSymbolProps,
3024
- ): React_2.JSX.Element;
3022
+ export declare function MaterialSymbol(props: MaterialSymbolProps): JSX.Element;
3025
3023
 
3026
3024
  /**
3027
3025
  * @public
@@ -4220,9 +4218,7 @@ declare function preventDefaultStopPropagationListener(e: ReactEvent): void;
4220
4218
  /**
4221
4219
  * @public
4222
4220
  */
4223
- export declare function ProgressBar(
4224
- props: ProgressBarProps,
4225
- ): React_2.JSX.Element;
4221
+ export declare function ProgressBar(props: ProgressBarProps): JSX.Element;
4226
4222
 
4227
4223
  /**
4228
4224
  * @public
@@ -4277,7 +4273,7 @@ export declare function renderMixView<T extends Attributes | null = null>(
4277
4273
  */
4278
4274
  export declare function ResourcePreview(
4279
4275
  props: ResourcePreviewProps,
4280
- ): React_2.JSX.Element;
4276
+ ): JSX.Element;
4281
4277
 
4282
4278
  /**
4283
4279
  * @public
@@ -4407,7 +4403,7 @@ export declare class RsClick {
4407
4403
  /**
4408
4404
  * @public
4409
4405
  */
4410
- export declare function RsdButton(props: RsdButtonProps): React_2.JSX.Element;
4406
+ export declare function RsdButton(props: RsdButtonProps): JSX.Element;
4411
4407
 
4412
4408
  /**
4413
4409
  * @public
@@ -4427,7 +4423,7 @@ export declare interface RsdButtonProps extends DivProps {
4427
4423
  */
4428
4424
  export declare function RsdCheckableButton(
4429
4425
  props: RsdCheckableButtonProps,
4430
- ): React_2.JSX.Element;
4426
+ ): JSX.Element;
4431
4427
 
4432
4428
  /**
4433
4429
  * @public
@@ -4444,9 +4440,7 @@ export declare interface RsdCheckableButtonProps extends DivPropsSimple {
4444
4440
  /**
4445
4441
  * @public
4446
4442
  */
4447
- export declare function RsdCheckbox(
4448
- props: RsdCheckboxProps,
4449
- ): React_2.JSX.Element;
4443
+ export declare function RsdCheckbox(props: RsdCheckboxProps): JSX.Element;
4450
4444
 
4451
4445
  /**
4452
4446
  * @public
@@ -4462,7 +4456,7 @@ export declare interface RsdCheckboxProps extends DivPropsSimple {
4462
4456
  /**
4463
4457
  * @public
4464
4458
  */
4465
- export declare function RsdColor(props: RsdColorProps): React_2.JSX.Element;
4459
+ export declare function RsdColor(props: RsdColorProps): JSX.Element;
4466
4460
 
4467
4461
  /**
4468
4462
  * @public
@@ -4479,16 +4473,14 @@ export declare interface RsdColorProps extends DivPropsSimple {
4479
4473
  /**
4480
4474
  * @public
4481
4475
  */
4482
- export declare function RsdFileSelect(
4483
- props: RsdFileSelectProps,
4484
- ): React_2.JSX.Element;
4476
+ export declare function RsdFileSelect(props: RsdFileSelectProps): JSX.Element;
4485
4477
 
4486
4478
  /**
4487
4479
  * @public
4488
4480
  */
4489
4481
  export declare function RsdFileSelectButton(
4490
4482
  props: RsdFileSelectProps,
4491
- ): React_2.JSX.Element;
4483
+ ): JSX.Element;
4492
4484
 
4493
4485
  /**
4494
4486
  * @public
@@ -4506,7 +4498,7 @@ export declare interface RsdFileSelectProps extends DivPropsSimple {
4506
4498
  /**
4507
4499
  * @public
4508
4500
  */
4509
- export declare function RsdInput(props: RsdInputProps): React_2.JSX.Element;
4501
+ export declare function RsdInput(props: RsdInputProps): JSX.Element;
4510
4502
 
4511
4503
  /**
4512
4504
  * @public
@@ -4525,27 +4517,7 @@ export declare interface RsdInputProps extends DivPropsSimple {
4525
4517
  /**
4526
4518
  * @public
4527
4519
  */
4528
- export declare function RsdMentions(
4529
- props: RsdMentionsProps,
4530
- ): React_2.JSX.Element;
4531
-
4532
- /**
4533
- * @public
4534
- */
4535
- export declare interface RsdMentionsProps extends DivPropsSimple {
4536
- value: string;
4537
- onChange: (value: string) => void;
4538
- type?: "text" | "number" | "password";
4539
- placeholder?: string;
4540
- className?: string;
4541
- theme?: string;
4542
- rows?: number;
4543
- }
4544
-
4545
- /**
4546
- * @public
4547
- */
4548
- export declare function RsdNone(props: RsdNoneProps): React_2.JSX.Element;
4520
+ export declare function RsdNone(props: RsdNoneProps): JSX.Element;
4549
4521
 
4550
4522
  /**
4551
4523
  * @public
@@ -4559,14 +4531,12 @@ export declare interface RsdNoneProps extends DivProps {
4559
4531
  /**
4560
4532
  * @public
4561
4533
  */
4562
- export declare function RsdNumber(props: RsdNumberProps): React_2.JSX.Element;
4534
+ export declare function RsdNumber(props: RsdNumberProps): JSX.Element;
4563
4535
 
4564
4536
  /**
4565
4537
  * @public
4566
4538
  */
4567
- export declare function RsdNumberList(
4568
- props: RsdNumberListProps,
4569
- ): React_2.JSX.Element;
4539
+ export declare function RsdNumberList(props: RsdNumberListProps): JSX.Element;
4570
4540
 
4571
4541
  /**
4572
4542
  * @public
@@ -4586,13 +4556,11 @@ export declare interface RsdNumberListProps extends DivProps {
4586
4556
  * @public
4587
4557
  */
4588
4558
  export declare interface RsdNumberProps extends DivPropsSimple {
4589
- value: number | null;
4590
- onChange: (value: number | null) => void;
4559
+ value: number;
4560
+ onChange: (value: number) => void;
4591
4561
  label: string;
4592
- placeholder?: string;
4593
4562
  className?: string;
4594
4563
  theme?: string;
4595
- unit?: string;
4596
4564
  min?: number;
4597
4565
  max?: number;
4598
4566
  step?: number;
@@ -4601,7 +4569,7 @@ export declare interface RsdNumberProps extends DivPropsSimple {
4601
4569
  /**
4602
4570
  * @public
4603
4571
  */
4604
- export declare function RsdSelect(props: RsdSelectProps): React_2.JSX.Element;
4572
+ export declare function RsdSelect(props: RsdSelectProps): JSX.Element;
4605
4573
 
4606
4574
  /**
4607
4575
  * @public
@@ -4625,7 +4593,7 @@ export declare interface RsdSelectProps<
4625
4593
  /**
4626
4594
  * @public
4627
4595
  */
4628
- export declare function RsdSwitch(props: RsdSwitchProps): React_2.JSX.Element;
4596
+ export declare function RsdSwitch(props: RsdSwitchProps): JSX.Element;
4629
4597
 
4630
4598
  /**
4631
4599
  * @public
@@ -4641,9 +4609,7 @@ export declare interface RsdSwitchProps extends DivPropsSimple {
4641
4609
  /**
4642
4610
  * @public
4643
4611
  */
4644
- export declare function RsdTargetInfo(
4645
- props: RsdTargetInfoProps,
4646
- ): React_2.JSX.Element;
4612
+ export declare function RsdTargetInfo(props: RsdTargetInfoProps): JSX.Element;
4647
4613
 
4648
4614
  /**
4649
4615
  * @public
@@ -4659,12 +4625,12 @@ export declare interface RsdTargetInfoProps extends DivPropsSimple {
4659
4625
  /**
4660
4626
  * @public
4661
4627
  */
4662
- export declare function RsdTextarea(props: RsdInputProps): React_2.JSX.Element;
4628
+ export declare function RsdTextarea(props: RsdInputProps): JSX.Element;
4663
4629
 
4664
4630
  /**
4665
4631
  * @public
4666
4632
  */
4667
- export declare function RsdTitle(props: RsdTitleProps): React_2.JSX.Element;
4633
+ export declare function RsdTitle(props: RsdTitleProps): JSX.Element;
4668
4634
 
4669
4635
  /**
4670
4636
  * @public
@@ -4680,9 +4646,7 @@ export declare interface RsdTitleProps extends DivProps {
4680
4646
  /**
4681
4647
  * @public
4682
4648
  */
4683
- export declare function RsdTitleSwitch(
4684
- props: RsdTitleSwitchProps,
4685
- ): React_2.JSX.Element;
4649
+ export declare function RsdTitleSwitch(props: RsdTitleSwitchProps): JSX.Element;
4686
4650
 
4687
4651
  /**
4688
4652
  * @public
@@ -5627,7 +5591,7 @@ export declare interface RvConfiguration {
5627
5591
  target: string;
5628
5592
  };
5629
5593
  ui: {
5630
- theme: ThemeBackground;
5594
+ theme: Theme;
5631
5595
  enableStepChangeButton: boolean;
5632
5596
  enableTopbar: boolean;
5633
5597
  hideStep: boolean;
@@ -6272,7 +6236,7 @@ export declare interface RvProject {
6272
6236
  tags: string;
6273
6237
  };
6274
6238
  ui: {
6275
- theme: ThemeBackground;
6239
+ theme: Theme;
6276
6240
  };
6277
6241
  playing: {
6278
6242
  auto: boolean;
@@ -6528,7 +6492,7 @@ declare enum ScriptStatus {
6528
6492
  /**
6529
6493
  * @public
6530
6494
  */
6531
- export declare function ScrollBar(props: ScrollBarProps): React_2.JSX.Element;
6495
+ export declare function ScrollBar(props: ScrollBarProps): JSX.Element;
6532
6496
 
6533
6497
  /**
6534
6498
  * @public
@@ -6895,7 +6859,7 @@ export declare type StepAttributeTargetSubscriber<T extends object = any> = (
6895
6859
  */
6896
6860
  export declare function StepBlockSelect(
6897
6861
  props: StepBlockSelectProps,
6898
- ): React_2.JSX.Element;
6862
+ ): JSX.Element;
6899
6863
 
6900
6864
  /**
6901
6865
  * @public
@@ -7231,7 +7195,7 @@ export declare interface TextureInfo {
7231
7195
  /**
7232
7196
  * @public
7233
7197
  */
7234
- export declare enum ThemeBackground {
7198
+ export declare enum Theme {
7235
7199
  DEFAULT = "DEFAULT",
7236
7200
  BACKGROUND = "BACKGROUND",
7237
7201
  LIGHT = "LIGHT",
@@ -7259,7 +7223,21 @@ export declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
7259
7223
  export declare interface ThemeProviderProps {
7260
7224
  children?: React.ReactNode;
7261
7225
  color?: ThemeColor;
7262
- background?: ThemeBackground;
7226
+ background?: Theme;
7227
+ }
7228
+
7229
+ /**
7230
+ * @public
7231
+ */
7232
+ export declare function ThemeRoot(props: ThemeRootProps): JSX.Element;
7233
+
7234
+ /**
7235
+ * @public
7236
+ */
7237
+ export declare interface ThemeRootProps extends DivProps {
7238
+ theme?: Theme.LIGHT | Theme.DARK;
7239
+ themeColor?: ThemeColor;
7240
+ themeShape?: ThemeShape;
7263
7241
  }
7264
7242
 
7265
7243
  /**
@@ -7286,7 +7264,7 @@ export declare enum ThemeShape {
7286
7264
  * @public
7287
7265
  */
7288
7266
  export declare interface ThemeState {
7289
- background: ThemeBackground;
7267
+ theme: Theme;
7290
7268
  color: ThemeColor;
7291
7269
  shape: ThemeShape;
7292
7270
  }
@@ -7358,7 +7336,7 @@ declare function trySetClipboard(url: string): Promise<boolean>;
7358
7336
  */
7359
7337
  export declare function UploadButtonAndList(
7360
7338
  props: UploadButtonAndListProps,
7361
- ): React_2.JSX.Element;
7339
+ ): JSX.Element;
7362
7340
 
7363
7341
  /**
7364
7342
  * @public
@@ -7815,3 +7793,4 @@ export declare const rsNodeMaterialAnalyzer: RsNodeMaterialAnalyzer;
7815
7793
  export declare const rsSceneService: RsSceneService;
7816
7794
  export declare const rsTransformGround: RsTransformGround;
7817
7795
  export declare const rvMeetingService: RvMeetingService;
7796
+ export declare const ThemeBackground: unknown;
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "valtio": "2.1.7",
38
38
  "rhine-var": "0.11.2"
39
39
  },
40
- "version": "0.25.2",
40
+ "version": "0.25.8",
41
41
  "author": "NextFlow",
42
42
  "license": "Apache-2.0",
43
43
  "keywords": [