circuit-to-svg 0.0.162 → 0.0.164
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 +4 -1
- package/dist/index.js +476 -80
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ interface Options$2 {
|
|
|
58
58
|
width?: number;
|
|
59
59
|
height?: number;
|
|
60
60
|
}
|
|
61
|
+
interface AssemblySvgContext {
|
|
62
|
+
transform: Matrix;
|
|
63
|
+
}
|
|
61
64
|
declare function convertCircuitJsonToAssemblySvg(soup: AnyCircuitElement[], options?: Options$2): string;
|
|
62
65
|
|
|
63
66
|
declare const colorMap: {
|
|
@@ -252,4 +255,4 @@ declare function convertCircuitJsonToSolderPasteMask(circuitJson: AnyCircuitElem
|
|
|
252
255
|
|
|
253
256
|
declare function getSoftwareUsedString(circuitJson: AnyCircuitElement[]): string | undefined;
|
|
254
257
|
|
|
255
|
-
export { type ColorMap, type ColorOverrides, type PcbColorMap, type PcbColorOverrides, type PcbContext, circuitJsonToPcbSvg, circuitJsonToSchematicSvg, convertCircuitJsonToAssemblySvg, convertCircuitJsonToPcbSvg, convertCircuitJsonToSchematicSvg, convertCircuitJsonToSolderPasteMask, getSoftwareUsedString };
|
|
258
|
+
export { type AssemblySvgContext, type ColorMap, type ColorOverrides, type PcbColorMap, type PcbColorOverrides, type PcbContext, circuitJsonToPcbSvg, circuitJsonToSchematicSvg, convertCircuitJsonToAssemblySvg, convertCircuitJsonToPcbSvg, convertCircuitJsonToSchematicSvg, convertCircuitJsonToSolderPasteMask, getSoftwareUsedString };
|