@solid-labs/fab-one-widget 1.0.21 → 1.1.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/{GirthManagerWidget-DBz1b8w-.js → GirthManagerWidget-DkMu8UL4.js} +2076 -1852
- package/dist/GirthManagerWidget-DkMu8UL4.js.map +1 -0
- package/dist/girth-manager-ui/src/components/CameraFit.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/web-component.js +1 -1
- package/package.json +1 -1
- package/dist/GirthManagerWidget-DBz1b8w-.js.map +0 -1
|
@@ -9,7 +9,10 @@ export interface CameraFitProps {
|
|
|
9
9
|
landmarkCount?: number;
|
|
10
10
|
/** Clipped geometry for measurements — camera zooms to this region when aligned */
|
|
11
11
|
measurementGeometry?: THREE.BufferGeometry | null;
|
|
12
|
+
/** Optional Y-range clamp for camera fit — zooms to annotated band only */
|
|
13
|
+
fitYMin?: number;
|
|
14
|
+
fitYMax?: number;
|
|
12
15
|
/** Ref populated with a function that resets camera to flat front view */
|
|
13
16
|
resetCameraToFrontRef?: React.MutableRefObject<(() => void) | null>;
|
|
14
17
|
}
|
|
15
|
-
export declare const CameraFit: ({ modelSize, isAligned, isCut, mesh, viewMode, sliceY, landmarkCount, measurementGeometry, resetCameraToFrontRef }: CameraFitProps) => null;
|
|
18
|
+
export declare const CameraFit: ({ modelSize, isAligned, isCut, mesh, viewMode, sliceY, landmarkCount, measurementGeometry, fitYMin, fitYMax, resetCameraToFrontRef }: CameraFitProps) => null;
|
package/dist/index.js
CHANGED
package/dist/web-component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as o } from "react";
|
|
2
2
|
import { createRoot as i } from "react-dom/client";
|
|
3
|
-
import { G as n, __tla as __tla_0 } from "./GirthManagerWidget-
|
|
3
|
+
import { G as n, __tla as __tla_0 } from "./GirthManagerWidget-DkMu8UL4.js";
|
|
4
4
|
let u;
|
|
5
5
|
let __tla = Promise.all([
|
|
6
6
|
(() => {
|