@fundamental-engine/react 0.10.0 → 0.11.0
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -26
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface FieldFieldProps extends FieldOptions {
|
|
|
21
21
|
/** called once the field is created, with its handle (scan/burst/setAccent/…). */
|
|
22
22
|
onReady?: (field: FieldHandle) => void;
|
|
23
23
|
}
|
|
24
|
-
export declare function FieldField({ className, style, onReady, accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, overlayBackend, mass, palette, attention, causality, heatmap, dprCap, separation, rng, now, feedbackSink, }: FieldFieldProps): ReactElement;
|
|
24
|
+
export declare function FieldField({ className, style, onReady, accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, overlayBackend, mass, palette, attention, causality, heatmap, dprCap, restingMotion, separation, rng, now, feedbackSink, }: FieldFieldProps): ReactElement;
|
|
25
25
|
/**
|
|
26
26
|
* Hook form — returns a ref to attach to your own `<canvas>` and the live handle.
|
|
27
27
|
* Use when you need to own the canvas element (sizing, placement) yourself.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAsB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAqB,MAAM,0BAA0B,CAAC;AACtH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE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C,UAAU,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC7C,OAAO,EAAE,MAAM,qBAAqB,GAAG,IAAI,CAAC;CAC7C,CAqDA;AAID,YAAY,EACV,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzD,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,qBAAqB,GACtB,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -15,46 +15,43 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
*/
|
|
16
16
|
import { useEffect, useRef, useState } from 'react';
|
|
17
17
|
import { FIELD_CANVAS_STYLE } from '@fundamental-engine/core';
|
|
18
|
-
import { createBrowserField, bindData, } from '@fundamental-engine/dom';
|
|
18
|
+
import { createBrowserField, createOverlaySurface, bindData, } from '@fundamental-engine/dom';
|
|
19
19
|
// the fixed, click-through surface — shared with the vanilla mount via core/surface.ts.
|
|
20
20
|
const FIXED = FIELD_CANVAS_STYLE;
|
|
21
|
-
export function FieldField({ className, style, onReady, accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, overlayBackend, mass, palette, attention, causality, heatmap, dprCap, separation, rng, now, feedbackSink, }) {
|
|
21
|
+
export function FieldField({ className, style, onReady, accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, overlayBackend, mass, palette, attention, causality, heatmap, dprCap, restingMotion, separation, rng, now, feedbackSink, }) {
|
|
22
22
|
const canvasRef = useRef(null);
|
|
23
23
|
const onReadyRef = useRef(onReady);
|
|
24
24
|
onReadyRef.current = onReady;
|
|
25
25
|
/** Field Surfaces: the front overlay surface this component owns, lazily created. */
|
|
26
|
-
const
|
|
26
|
+
const overlaySurfaceRef = useRef(null);
|
|
27
27
|
useEffect(() => {
|
|
28
28
|
const canvas = canvasRef.current;
|
|
29
29
|
if (!canvas)
|
|
30
30
|
return;
|
|
31
31
|
// Field Surfaces: lazily create the overlay canvas the first time an overlay is set.
|
|
32
32
|
// Matches the element's pattern: fixed, full-viewport, click-through, above content.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
'position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:5;mix-blend-mode:screen';
|
|
38
|
-
document.body.appendChild(oc);
|
|
39
|
-
overlayCanvasRef.current = oc;
|
|
33
|
+
// The placement (fixed, full-viewport, click-through, aria-hidden, z-index:5, mix-blend:screen) is
|
|
34
|
+
// the one createOverlaySurface owns (#721) — the same surface <field-root> creates; core sizes it.
|
|
35
|
+
if (overlay !== undefined && overlay !== 'off' && !overlaySurfaceRef.current && typeof document !== 'undefined') {
|
|
36
|
+
overlaySurfaceRef.current = createOverlaySurface(document);
|
|
40
37
|
}
|
|
41
38
|
const field = createBrowserField(canvas, {
|
|
42
39
|
accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render,
|
|
43
|
-
overlay, overlayCanvas:
|
|
44
|
-
mass, palette, attention, causality, heatmap, dprCap, separation,
|
|
40
|
+
overlay, overlayCanvas: overlaySurfaceRef.current?.canvas, overlayBackend,
|
|
41
|
+
mass, palette, attention, causality, heatmap, dprCap, separation, restingMotion,
|
|
45
42
|
rng, now, feedbackSink,
|
|
46
43
|
});
|
|
47
44
|
onReadyRef.current?.(field);
|
|
48
45
|
return () => {
|
|
49
46
|
field.destroy();
|
|
50
47
|
// Field Surfaces: remove the overlay canvas this component owns on teardown.
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
overlaySurfaceRef.current?.destroy();
|
|
49
|
+
overlaySurfaceRef.current = null;
|
|
53
50
|
};
|
|
54
51
|
// re-create only when a declarative engine option actually changes. The determinism/feedback
|
|
55
52
|
// seams (rng/now/feedbackSink/overlayBackend) are config-set-once — forwarded above, but kept
|
|
56
53
|
// out of the dep list so an inline value passed each render doesn't thrash the field.
|
|
57
|
-
}, [accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, mass, palette, attention, causality, heatmap, dprCap, separation]);
|
|
54
|
+
}, [accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, mass, palette, attention, causality, heatmap, dprCap, separation, restingMotion]);
|
|
58
55
|
return (_jsx("canvas", { ref: canvasRef, "aria-hidden": "true", className: className, style: { ...FIXED, ...style } }));
|
|
59
56
|
}
|
|
60
57
|
/**
|
|
@@ -65,24 +62,21 @@ export function useFieldField(opts = {}) {
|
|
|
65
62
|
const canvasRef = useRef(null);
|
|
66
63
|
const fieldRef = useRef(null);
|
|
67
64
|
/** Field Surfaces: the front overlay surface this hook owns, lazily created. */
|
|
68
|
-
const
|
|
65
|
+
const overlaySurfaceRef = useRef(null);
|
|
69
66
|
const { accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, overlayBackend, mass, palette, attention, causality, heatmap, dprCap, separation, rng, now, feedbackSink, } = opts;
|
|
70
67
|
useEffect(() => {
|
|
71
68
|
const canvas = canvasRef.current;
|
|
72
69
|
if (!canvas)
|
|
73
70
|
return;
|
|
74
71
|
// Field Surfaces: lazily create the overlay canvas when an overlay reading is requested.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
'position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:5;mix-blend-mode:screen';
|
|
80
|
-
document.body.appendChild(oc);
|
|
81
|
-
overlayCanvasRef.current = oc;
|
|
72
|
+
// The placement (fixed, full-viewport, click-through, aria-hidden, z-index:5, mix-blend:screen) is
|
|
73
|
+
// the one createOverlaySurface owns (#721) — the same surface <field-root> creates; core sizes it.
|
|
74
|
+
if (overlay !== undefined && overlay !== 'off' && !overlaySurfaceRef.current && typeof document !== 'undefined') {
|
|
75
|
+
overlaySurfaceRef.current = createOverlaySurface(document);
|
|
82
76
|
}
|
|
83
77
|
const field = createBrowserField(canvas, {
|
|
84
78
|
accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render,
|
|
85
|
-
overlay, overlayCanvas:
|
|
79
|
+
overlay, overlayCanvas: overlaySurfaceRef.current?.canvas, overlayBackend,
|
|
86
80
|
mass, palette, attention, causality, heatmap, dprCap, separation,
|
|
87
81
|
rng, now, feedbackSink,
|
|
88
82
|
});
|
|
@@ -91,8 +85,8 @@ export function useFieldField(opts = {}) {
|
|
|
91
85
|
field.destroy();
|
|
92
86
|
fieldRef.current = null;
|
|
93
87
|
// Field Surfaces: remove the overlay canvas this hook owns on teardown.
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
overlaySurfaceRef.current?.destroy();
|
|
89
|
+
overlaySurfaceRef.current = null;
|
|
96
90
|
};
|
|
97
91
|
// declarative options drive recreation; the seams (rng/now/feedbackSink/overlayBackend) forward but stay out of deps.
|
|
98
92
|
}, [accent, density, depth, integrator, waves, waveStyle, waveCenter, background, render, overlay, mass, palette, attention, causality, heatmap, dprCap, separation]);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAA0D,MAAM,0BAA0B,CAAC;AACtH,OAAO,EACL,kBAAkB,EAClB,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAA0D,MAAM,0BAA0B,CAAC;AACtH,OAAO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
4
4
|
"description": "React adapter for Fundamental — a reciprocal DOM-physics field as a <FieldField> component + useFieldField hook.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@fundamental-engine/core": "0.
|
|
49
|
-
"@fundamental-engine/dom": "0.
|
|
48
|
+
"@fundamental-engine/core": "0.11.0",
|
|
49
|
+
"@fundamental-engine/dom": "0.11.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18"
|