@particle-academy/fancy-3d-babylon 0.1.0 → 0.1.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.
package/dist/react.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Scene, Engine } from '@babylonjs/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode, CSSProperties } from 'react';
3
+ import { Scene, Engine } from '@babylonjs/core';
4
4
 
5
5
  interface StageContextValue {
6
6
  engine: Engine;
@@ -32,7 +32,7 @@ interface StageProps {
32
32
  className?: string;
33
33
  style?: CSSProperties;
34
34
  }
35
- declare function Stage({ children, cameraRadius, cameraTarget, cameraAlpha, cameraBeta, clearColor, bare, onReady, className, style, }: StageProps): react_jsx_runtime.JSX.Element;
35
+ declare function Stage({ children, cameraRadius, cameraTarget, cameraAlpha, cameraBeta, clearColor, bare, onReady, className, style, }: StageProps): react.JSX.Element;
36
36
  interface MonitorProps {
37
37
  children?: ReactNode;
38
38
  /** World-space center of the screen. */
@@ -55,6 +55,6 @@ interface MonitorProps {
55
55
  /** Optional name on the Babylon mesh. */
56
56
  name?: string;
57
57
  }
58
- declare function Monitor({ children, position, width, height, rotationY, bezel, bezelThickness, background, pixelWidth, pixelHeight, name, }: MonitorProps): react_jsx_runtime.JSX.Element;
58
+ declare function Monitor({ children, position, width, height, rotationY, bezel, bezelThickness, background, pixelWidth, pixelHeight, name, }: MonitorProps): react.JSX.Element;
59
59
 
60
60
  export { Monitor, type MonitorProps, Stage, type StageProps, useStage };
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Scene, Engine } from '@babylonjs/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode, CSSProperties } from 'react';
3
+ import { Scene, Engine } from '@babylonjs/core';
4
4
 
5
5
  interface StageContextValue {
6
6
  engine: Engine;
@@ -32,7 +32,7 @@ interface StageProps {
32
32
  className?: string;
33
33
  style?: CSSProperties;
34
34
  }
35
- declare function Stage({ children, cameraRadius, cameraTarget, cameraAlpha, cameraBeta, clearColor, bare, onReady, className, style, }: StageProps): react_jsx_runtime.JSX.Element;
35
+ declare function Stage({ children, cameraRadius, cameraTarget, cameraAlpha, cameraBeta, clearColor, bare, onReady, className, style, }: StageProps): react.JSX.Element;
36
36
  interface MonitorProps {
37
37
  children?: ReactNode;
38
38
  /** World-space center of the screen. */
@@ -55,6 +55,6 @@ interface MonitorProps {
55
55
  /** Optional name on the Babylon mesh. */
56
56
  name?: string;
57
57
  }
58
- declare function Monitor({ children, position, width, height, rotationY, bezel, bezelThickness, background, pixelWidth, pixelHeight, name, }: MonitorProps): react_jsx_runtime.JSX.Element;
58
+ declare function Monitor({ children, position, width, height, rotationY, bezel, bezelThickness, background, pixelWidth, pixelHeight, name, }: MonitorProps): react.JSX.Element;
59
59
 
60
60
  export { Monitor, type MonitorProps, Stage, type StageProps, useStage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/fancy-3d-babylon",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Babylon.js adapter for @particle-academy/fancy-3d — WebGL renderer, primitives, React components (Stage, Monitor, Card3D, Screen) that mount onto a Babylon Scene.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,7 +65,7 @@
65
65
  "peerDependencies": {
66
66
  "@babylonjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0",
67
67
  "@particle-academy/fancy-3d": "^0.4.0",
68
- "@particle-academy/react-fancy": "*",
68
+ "@particle-academy/react-fancy": ">=3",
69
69
  "react": "^18.0.0 || ^19.0.0",
70
70
  "react-dom": "^18.0.0 || ^19.0.0"
71
71
  },