next-flow-interface 0.25.2 → 0.25.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.
Files changed (2) hide show
  1. package/index.d.ts +49 -58
  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,9 +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;
4520
+ export declare function RsdMentions(props: RsdMentionsProps): JSX.Element;
4531
4521
 
4532
4522
  /**
4533
4523
  * @public
@@ -4545,7 +4535,7 @@ export declare interface RsdMentionsProps extends DivPropsSimple {
4545
4535
  /**
4546
4536
  * @public
4547
4537
  */
4548
- export declare function RsdNone(props: RsdNoneProps): React_2.JSX.Element;
4538
+ export declare function RsdNone(props: RsdNoneProps): JSX.Element;
4549
4539
 
4550
4540
  /**
4551
4541
  * @public
@@ -4559,14 +4549,12 @@ export declare interface RsdNoneProps extends DivProps {
4559
4549
  /**
4560
4550
  * @public
4561
4551
  */
4562
- export declare function RsdNumber(props: RsdNumberProps): React_2.JSX.Element;
4552
+ export declare function RsdNumber(props: RsdNumberProps): JSX.Element;
4563
4553
 
4564
4554
  /**
4565
4555
  * @public
4566
4556
  */
4567
- export declare function RsdNumberList(
4568
- props: RsdNumberListProps,
4569
- ): React_2.JSX.Element;
4557
+ export declare function RsdNumberList(props: RsdNumberListProps): JSX.Element;
4570
4558
 
4571
4559
  /**
4572
4560
  * @public
@@ -4586,13 +4574,11 @@ export declare interface RsdNumberListProps extends DivProps {
4586
4574
  * @public
4587
4575
  */
4588
4576
  export declare interface RsdNumberProps extends DivPropsSimple {
4589
- value: number | null;
4590
- onChange: (value: number | null) => void;
4577
+ value: number;
4578
+ onChange: (value: number) => void;
4591
4579
  label: string;
4592
- placeholder?: string;
4593
4580
  className?: string;
4594
4581
  theme?: string;
4595
- unit?: string;
4596
4582
  min?: number;
4597
4583
  max?: number;
4598
4584
  step?: number;
@@ -4601,7 +4587,7 @@ export declare interface RsdNumberProps extends DivPropsSimple {
4601
4587
  /**
4602
4588
  * @public
4603
4589
  */
4604
- export declare function RsdSelect(props: RsdSelectProps): React_2.JSX.Element;
4590
+ export declare function RsdSelect(props: RsdSelectProps): JSX.Element;
4605
4591
 
4606
4592
  /**
4607
4593
  * @public
@@ -4625,7 +4611,7 @@ export declare interface RsdSelectProps<
4625
4611
  /**
4626
4612
  * @public
4627
4613
  */
4628
- export declare function RsdSwitch(props: RsdSwitchProps): React_2.JSX.Element;
4614
+ export declare function RsdSwitch(props: RsdSwitchProps): JSX.Element;
4629
4615
 
4630
4616
  /**
4631
4617
  * @public
@@ -4641,9 +4627,7 @@ export declare interface RsdSwitchProps extends DivPropsSimple {
4641
4627
  /**
4642
4628
  * @public
4643
4629
  */
4644
- export declare function RsdTargetInfo(
4645
- props: RsdTargetInfoProps,
4646
- ): React_2.JSX.Element;
4630
+ export declare function RsdTargetInfo(props: RsdTargetInfoProps): JSX.Element;
4647
4631
 
4648
4632
  /**
4649
4633
  * @public
@@ -4659,12 +4643,12 @@ export declare interface RsdTargetInfoProps extends DivPropsSimple {
4659
4643
  /**
4660
4644
  * @public
4661
4645
  */
4662
- export declare function RsdTextarea(props: RsdInputProps): React_2.JSX.Element;
4646
+ export declare function RsdTextarea(props: RsdInputProps): JSX.Element;
4663
4647
 
4664
4648
  /**
4665
4649
  * @public
4666
4650
  */
4667
- export declare function RsdTitle(props: RsdTitleProps): React_2.JSX.Element;
4651
+ export declare function RsdTitle(props: RsdTitleProps): JSX.Element;
4668
4652
 
4669
4653
  /**
4670
4654
  * @public
@@ -4680,9 +4664,7 @@ export declare interface RsdTitleProps extends DivProps {
4680
4664
  /**
4681
4665
  * @public
4682
4666
  */
4683
- export declare function RsdTitleSwitch(
4684
- props: RsdTitleSwitchProps,
4685
- ): React_2.JSX.Element;
4667
+ export declare function RsdTitleSwitch(props: RsdTitleSwitchProps): JSX.Element;
4686
4668
 
4687
4669
  /**
4688
4670
  * @public
@@ -5627,7 +5609,7 @@ export declare interface RvConfiguration {
5627
5609
  target: string;
5628
5610
  };
5629
5611
  ui: {
5630
- theme: ThemeBackground;
5612
+ theme: Theme;
5631
5613
  enableStepChangeButton: boolean;
5632
5614
  enableTopbar: boolean;
5633
5615
  hideStep: boolean;
@@ -6272,7 +6254,7 @@ export declare interface RvProject {
6272
6254
  tags: string;
6273
6255
  };
6274
6256
  ui: {
6275
- theme: ThemeBackground;
6257
+ theme: Theme;
6276
6258
  };
6277
6259
  playing: {
6278
6260
  auto: boolean;
@@ -6528,7 +6510,7 @@ declare enum ScriptStatus {
6528
6510
  /**
6529
6511
  * @public
6530
6512
  */
6531
- export declare function ScrollBar(props: ScrollBarProps): React_2.JSX.Element;
6513
+ export declare function ScrollBar(props: ScrollBarProps): JSX.Element;
6532
6514
 
6533
6515
  /**
6534
6516
  * @public
@@ -6895,7 +6877,7 @@ export declare type StepAttributeTargetSubscriber<T extends object = any> = (
6895
6877
  */
6896
6878
  export declare function StepBlockSelect(
6897
6879
  props: StepBlockSelectProps,
6898
- ): React_2.JSX.Element;
6880
+ ): JSX.Element;
6899
6881
 
6900
6882
  /**
6901
6883
  * @public
@@ -7231,7 +7213,7 @@ export declare interface TextureInfo {
7231
7213
  /**
7232
7214
  * @public
7233
7215
  */
7234
- export declare enum ThemeBackground {
7216
+ export declare enum Theme {
7235
7217
  DEFAULT = "DEFAULT",
7236
7218
  BACKGROUND = "BACKGROUND",
7237
7219
  LIGHT = "LIGHT",
@@ -7259,7 +7241,15 @@ export declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
7259
7241
  export declare interface ThemeProviderProps {
7260
7242
  children?: React.ReactNode;
7261
7243
  color?: ThemeColor;
7262
- background?: ThemeBackground;
7244
+ background?: Theme;
7245
+ }
7246
+
7247
+ export declare function ThemeRoot(props: ThemeRootProps): JSX.Element;
7248
+
7249
+ export declare interface ThemeRootProps extends DivProps {
7250
+ theme?: Theme.LIGHT | Theme.DARK;
7251
+ themeColor?: ThemeColor;
7252
+ themeShape?: ThemeShape;
7263
7253
  }
7264
7254
 
7265
7255
  /**
@@ -7286,7 +7276,7 @@ export declare enum ThemeShape {
7286
7276
  * @public
7287
7277
  */
7288
7278
  export declare interface ThemeState {
7289
- background: ThemeBackground;
7279
+ theme: Theme;
7290
7280
  color: ThemeColor;
7291
7281
  shape: ThemeShape;
7292
7282
  }
@@ -7358,7 +7348,7 @@ declare function trySetClipboard(url: string): Promise<boolean>;
7358
7348
  */
7359
7349
  export declare function UploadButtonAndList(
7360
7350
  props: UploadButtonAndListProps,
7361
- ): React_2.JSX.Element;
7351
+ ): JSX.Element;
7362
7352
 
7363
7353
  /**
7364
7354
  * @public
@@ -7815,3 +7805,4 @@ export declare const rsNodeMaterialAnalyzer: RsNodeMaterialAnalyzer;
7815
7805
  export declare const rsSceneService: RsSceneService;
7816
7806
  export declare const rsTransformGround: RsTransformGround;
7817
7807
  export declare const rvMeetingService: RvMeetingService;
7808
+ 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.3",
41
41
  "author": "NextFlow",
42
42
  "license": "Apache-2.0",
43
43
  "keywords": [