@tscircuit/3d-viewer 0.0.608 → 0.0.610
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 +2 -1
- package/dist/index.js +472 -296
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,12 +41,13 @@ interface Props {
|
|
|
41
41
|
onCameraControllerReady?: (controller: CameraController | null) => void;
|
|
42
42
|
resolveStaticAsset?: (modelUrl: string) => string;
|
|
43
43
|
referenceObject?: ReferenceObjectType | null;
|
|
44
|
+
hiddenCadComponentIds?: ReadonlySet<string>;
|
|
44
45
|
}
|
|
45
46
|
declare const CadViewerJscad: React$1.ForwardRefExoticComponent<Props & {
|
|
46
47
|
children?: React$1.ReactNode | undefined;
|
|
47
48
|
} & React$1.RefAttributes<THREE.Object3D<THREE.Object3DEventMap>>>;
|
|
48
49
|
|
|
49
|
-
type CadViewerProps = Omit<React.ComponentProps<typeof CadViewerJscad>, "circuitJson"> & {
|
|
50
|
+
type CadViewerProps = Omit<React.ComponentProps<typeof CadViewerJscad>, "circuitJson" | "hiddenCadComponentIds"> & {
|
|
50
51
|
circuitJson?: any[];
|
|
51
52
|
foldPcbs?: boolean;
|
|
52
53
|
/** Enable right-click navigation using the same identity as the PCB viewer. */
|