@wandelbots/wandelbots-js-react-components 2.27.1-pr.feature-update-to-react-19.361.57aba09 → 2.27.1-pr.feature-add-program-control-component.367.8730636

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 (53) hide show
  1. package/README.md +1 -1
  2. package/dist/Setup.d.ts +1 -1
  3. package/dist/Setup.d.ts.map +1 -1
  4. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +2 -2
  5. package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
  6. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +1 -1
  7. package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +1 -1
  8. package/dist/components/ProgramControl.d.ts +43 -0
  9. package/dist/components/ProgramControl.d.ts.map +1 -0
  10. package/dist/components/robots/DHRobot.d.ts.map +1 -1
  11. package/dist/components/robots/GenericRobot.d.ts +2 -2
  12. package/dist/components/robots/GenericRobot.d.ts.map +1 -1
  13. package/dist/components/robots/Robot.d.ts +2 -2
  14. package/dist/components/robots/Robot.d.ts.map +1 -1
  15. package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
  16. package/dist/components/robots/SupportedRobot.d.ts +3 -3
  17. package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
  18. package/dist/externalizeComponent.d.ts +1 -1
  19. package/dist/externalizeComponent.d.ts.map +1 -1
  20. package/dist/index.cjs +47 -39
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +9441 -7734
  25. package/dist/index.js.map +1 -1
  26. package/package.json +32 -33
  27. package/src/Setup.tsx +1 -1
  28. package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -2
  29. package/src/components/3d-viewport/TrajectoryRenderer.tsx +1 -1
  30. package/src/components/ProgramControl.tsx +217 -0
  31. package/src/components/jogging/JoggingOptions.tsx +1 -1
  32. package/src/components/robots/DHRobot.tsx +10 -37
  33. package/src/components/robots/GenericRobot.tsx +5 -4
  34. package/src/components/robots/Robot.tsx +2 -2
  35. package/src/components/robots/RobotAnimator.tsx +23 -38
  36. package/src/components/robots/SupportedRobot.tsx +3 -3
  37. package/src/components/utils/converters.ts +1 -1
  38. package/src/externalizeComponent.tsx +1 -1
  39. package/src/i18n/locales/de/translations.json +5 -1
  40. package/src/i18n/locales/en/translations.json +5 -1
  41. package/src/index.ts +1 -1
  42. package/dist/components/robots/RobotAnimator.test.d.ts +0 -2
  43. package/dist/components/robots/RobotAnimator.test.d.ts.map +0 -1
  44. package/dist/components/utils/interpolation.d.ts +0 -159
  45. package/dist/components/utils/interpolation.d.ts.map +0 -1
  46. package/dist/components/utils/interpolation.test.d.ts +0 -2
  47. package/dist/components/utils/interpolation.test.d.ts.map +0 -1
  48. package/dist/test/setup.d.ts +0 -2
  49. package/dist/test/setup.d.ts.map +0 -1
  50. package/src/components/robots/RobotAnimator.test.tsx +0 -113
  51. package/src/components/utils/interpolation.test.ts +0 -1123
  52. package/src/components/utils/interpolation.ts +0 -379
  53. package/src/test/setup.ts +0 -111
package/README.md CHANGED
@@ -42,7 +42,7 @@ See the [Storybook](https://wandelbotsgmbh.github.io/wandelbots-js-react-compone
42
42
  </table>
43
43
 
44
44
  ### UI
45
-
45
+
46
46
  #### JoggingPanel
47
47
 
48
48
  <a href="https://wandelbotsgmbh.github.io/wandelbots-js-react-components/?path=/docs/jogging-joggingpanel--docs">
package/dist/Setup.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type CanvasProps } from "@react-three/fiber";
1
+ import { type Props as CanvasProps } from "@react-three/fiber";
2
2
  import * as React from "react";
3
3
  import { Vector3 } from "three";
4
4
  type Props = React.PropsWithChildren<CanvasProps & {
@@ -1 +1 @@
1
- {"version":3,"file":"Setup.d.ts","sourceRoot":"","sources":["../src/Setup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAG/B,KAAK,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAClC,WAAW,GAAG;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,yEAOnB,KAAK,4CAcP,CAAA"}
1
+ {"version":3,"file":"Setup.d.ts","sourceRoot":"","sources":["../src/Setup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAG/B,KAAK,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAClC,WAAW,GAAG;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CACF,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,yEAOnB,KAAK,4CAcP,CAAA"}
@@ -1,7 +1,7 @@
1
- import { type ThreeElements } from "@react-three/fiber";
1
+ import { type GroupProps } from "@react-three/fiber";
2
2
  import type { SafetySetupSafetyZone } from "@wandelbots/nova-js/v1";
3
3
  export type SafetyZonesRendererProps = {
4
4
  safetyZones: SafetySetupSafetyZone[];
5
- } & ThreeElements["group"];
5
+ } & GroupProps;
6
6
  export declare function SafetyZonesRenderer({ safetyZones, ...props }: SafetyZonesRendererProps): import("react/jsx-runtime").JSX.Element;
7
7
  //# sourceMappingURL=SafetyZonesRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafetyZonesRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/SafetyZonesRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAInE,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,qBAAqB,EAAE,CAAA;CACrC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;AAqC1B,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,GAAG,KAAK,EACT,EAAE,wBAAwB,2CA6D1B"}
1
+ {"version":3,"file":"SafetyZonesRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/SafetyZonesRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAInE,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,qBAAqB,EAAE,CAAA;CACrC,GAAG,UAAU,CAAA;AAqCd,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,GAAG,KAAK,EACT,EAAE,wBAAwB,2CA6D1B"}
@@ -1,6 +1,6 @@
1
1
  import type { GetTrajectoryResponse } from "@wandelbots/nova-js/v1";
2
2
  export type TrajectoryRendererProps = {
3
3
  trajectory: GetTrajectoryResponse;
4
- } & React.JSX.IntrinsicElements["group"];
4
+ } & JSX.IntrinsicElements["group"];
5
5
  export declare function TrajectoryRenderer({ trajectory, ...props }: TrajectoryRendererProps): import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=TrajectoryRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TrajectoryRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/TrajectoryRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAGnE,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,qBAAqB,CAAA;CAClC,GAAG,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAA;AAExC,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,GAAG,KAAK,EACT,EAAE,uBAAuB,2CA4BzB"}
1
+ {"version":3,"file":"TrajectoryRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/TrajectoryRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAGnE,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,qBAAqB,CAAA;CAClC,GAAG,GAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAA;AAElC,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,GAAG,KAAK,EACT,EAAE,uBAAuB,2CA4BzB"}
@@ -0,0 +1,43 @@
1
+ export type ProgramState = "idle" | "running" | "paused" | "stopping";
2
+ export interface ProgramControlProps {
3
+ /** The current state of the program control */
4
+ state: ProgramState;
5
+ /** Callback fired when the run/resume button is clicked */
6
+ onRun: () => void;
7
+ /** Callback fired when the pause button is clicked (only available in 'with_pause' variant) */
8
+ onPause?: () => void;
9
+ /** Callback fired when the stop button is clicked */
10
+ onStop: () => void;
11
+ /**
12
+ * Function to reset the component from 'stopping' state back to 'idle'.
13
+ * This must be called manually by the user when requiresManualReset is true.
14
+ */
15
+ onReset?: () => void;
16
+ /**
17
+ * When true, the component will stay in 'stopping' state until onReset is called manually.
18
+ * When false (default), auto-resets to 'idle' after 2 seconds.
19
+ */
20
+ requiresManualReset?: boolean;
21
+ /**
22
+ * Variant of the component:
23
+ * - 'with_pause': Shows run/pause/stop buttons (default)
24
+ * - 'without_pause': Shows only run/stop buttons
25
+ */
26
+ variant?: "with_pause" | "without_pause";
27
+ /** Additional CSS class name */
28
+ className?: string;
29
+ }
30
+ /**
31
+ * A control component for program execution with run, pause, and stop functionality.
32
+ *
33
+ * Features:
34
+ * - State machine with idle, running, paused, and stopping states
35
+ * - Two variants: with_pause (3 buttons) and without_pause (2 buttons)
36
+ * - Optional manual reset functionality
37
+ * - Responsive design with 110px circular buttons
38
+ * - Material-UI theming integration
39
+ */
40
+ export declare const ProgramControl: (({ state, onRun, onPause, onStop, onReset, requiresManualReset, variant, className, }: ProgramControlProps) => import("react/jsx-runtime").JSX.Element) & {
41
+ displayName: string;
42
+ };
43
+ //# sourceMappingURL=ProgramControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgramControl.d.ts","sourceRoot":"","sources":["../../src/components/ProgramControl.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAA;AAErE,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,KAAK,EAAE,YAAY,CAAA;IACnB,2DAA2D;IAC3D,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,qDAAqD;IACrD,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,eAAe,CAAA;IACxC,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AASD;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,0FAWpB,mBAAmB;;CAuJzB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DHRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/DHRobot.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAKpD,wBAAgB,OAAO,CAAC,EACtB,0BAA0B,EAC1B,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,YAAY,2CAoId"}
1
+ {"version":3,"file":"DHRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/DHRobot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAKpD,wBAAgB,OAAO,CAAC,EACtB,0BAA0B,EAC1B,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,YAAY,2CA0Gd"}
@@ -1,4 +1,4 @@
1
- import type { ThreeElements } from "@react-three/fiber";
1
+ import type { GroupProps } from "@react-three/fiber";
2
2
  import React from "react";
3
3
  import type { Group } from "three";
4
4
  export type RobotModelProps = {
@@ -9,6 +9,6 @@ export type RobotModelProps = {
9
9
  */
10
10
  postModelRender?: () => void;
11
11
  flangeRef?: React.Ref<Group>;
12
- } & ThreeElements["group"];
12
+ } & GroupProps;
13
13
  export declare function GenericRobot({ modelURL, flangeRef, postModelRender, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
14
14
  //# sourceMappingURL=GenericRobot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GenericRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/GenericRobot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAsB,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,KAAK,EAAQ,MAAM,OAAO,CAAA;AAIxC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;CAC7B,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;AAM1B,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,eAAe,EACf,GAAG,KAAK,EACT,EAAE,eAAe,2CA+CjB"}
1
+ {"version":3,"file":"GenericRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/GenericRobot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAsB,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,KAAK,EAAQ,MAAM,OAAO,CAAA;AAIxC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;CAC7B,GAAG,UAAU,CAAA;AAMd,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,eAAe,EACf,GAAG,KAAK,EACT,EAAE,eAAe,2CA+CjB"}
@@ -1,4 +1,4 @@
1
- import { type ThreeElements } from "@react-three/fiber";
1
+ import { type GroupProps } from "@react-three/fiber";
2
2
  import type { ConnectedMotionGroup } from "@wandelbots/nova-js/v1";
3
3
  import type { Group } from "three";
4
4
  export type RobotProps = {
@@ -6,7 +6,7 @@ export type RobotProps = {
6
6
  getModel?: (modelFromController: string) => string;
7
7
  flangeRef?: React.Ref<Group>;
8
8
  transparentColor?: string;
9
- } & ThreeElements["group"];
9
+ } & GroupProps;
10
10
  /**
11
11
  * The Robot component is a wrapper around the SupportedRobot component
12
12
  * for usage with @wandelbots/nova-js ConnectedMotionGroup object.
@@ -1 +1 @@
1
- {"version":3,"file":"Robot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Robot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAA;A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1
- {"version":3,"file":"RobotAnimator.d.ts","sourceRoot":"","sources":["../../../src/components/robots/RobotAnimator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAS,QAAQ,EAAE,MAAM,OAAO,CAAA;AAK5C,KAAK,kBAAkB,GAAG;IACxB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACvE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,0BAA0B,EAC1B,YAAY,EACZ,iBAAiB,EACjB,QAAQ,GACT,EAAE,kBAAkB,2CA+EpB"}
1
+ {"version":3,"file":"RobotAnimator.d.ts","sourceRoot":"","sources":["../../../src/components/robots/RobotAnimator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAiB,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAS,QAAQ,EAAE,MAAM,OAAO,CAAA;AAI5C,KAAK,kBAAkB,GAAG;IACxB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACvE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,0BAA0B,EAC1B,YAAY,EACZ,iBAAiB,EACjB,QAAQ,GACT,EAAE,kBAAkB,2CAgEpB"}
@@ -1,10 +1,10 @@
1
- import type { ThreeElements } from "@react-three/fiber";
1
+ import type { GroupProps } from "@react-three/fiber";
2
2
  import type { DHParameter, MotionGroupStateResponse } from "@wandelbots/nova-api/v1";
3
3
  import type * as THREE from "three";
4
4
  export type DHRobotProps = {
5
5
  rapidlyChangingMotionState: MotionGroupStateResponse;
6
6
  dhParameters: Array<DHParameter>;
7
- } & ThreeElements["group"];
7
+ } & GroupProps;
8
8
  export type SupportedRobotProps = {
9
9
  rapidlyChangingMotionState: MotionGroupStateResponse;
10
10
  modelFromController: string;
@@ -13,6 +13,6 @@ export type SupportedRobotProps = {
13
13
  getModel?: (modelFromController: string) => string;
14
14
  postModelRender?: () => void;
15
15
  transparentColor?: string;
16
- } & ThreeElements["group"];
16
+ } & GroupProps;
17
17
  export declare const SupportedRobot: ({ rapidlyChangingMotionState, modelFromController, dhParameters, getModel, flangeRef, postModelRender, transparentColor, ...props }: SupportedRobotProps) => import("react/jsx-runtime").JSX.Element;
18
18
  //# sourceMappingURL=SupportedRobot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SupportedRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/SupportedRobot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,yBAAyB,CAAA;AAKhC,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAQnC,MAAM,MAAM,YAAY,GAAG;IACzB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CACjC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;AAE1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,mBAAmB,EAAE,MAAM,CAAA;IAC3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3,5 @@
3
3
  * be provided by the user application; this wrapper ensures
4
4
  * they can be used either way.
5
5
  */
6
- export declare function externalizeComponent<T extends React.JSX.ElementType>(Component: T): T;
6
+ export declare function externalizeComponent<T extends JSX.ElementType>(Component: T): T;
7
7
  //# sourceMappingURL=externalizeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"externalizeComponent.d.ts","sourceRoot":"","sources":["../src/externalizeComponent.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,WAAW,EAClE,SAAS,EAAE,CAAC,GACX,CAAC,CAQH"}
1
+ {"version":3,"file":"externalizeComponent.d.ts","sourceRoot":"","sources":["../src/externalizeComponent.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,GAAG,CAAC,WAAW,EAC5D,SAAS,EAAE,CAAC,GACX,CAAC,CAQH"}