@tscircuit/schematic-viewer 0.0.1 → 0.0.3
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/Schematic.d.ts +6 -0
- package/dist/Schematic.js +1183 -139
- package/dist/Schematic.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9652 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/use-maybe-promise.d.ts +3 -0
- package/dist/lib/render-context/index.d.ts +10 -0
- package/dist/lib/types/core.d.ts +149 -0
- package/dist/lib/types/index.d.ts +4 -0
- package/dist/lib/types/route-solver.d.ts +24 -0
- package/dist/lib/types/source-component.d.ts +44 -0
- package/dist/lib/types/util.d.ts +14 -0
- package/dist/lib/utils/direction-to-vec.d.ts +13 -0
- package/dist/lib/utils/get-svg-path-bounds.d.ts +10 -0
- package/dist/lib/utils/point-math.d.ts +20 -0
- package/dist/pages/_app.d.ts +5 -0
- package/dist/pages/_app.js +950 -8
- package/dist/pages/_app.js.map +1 -1
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.js +1190 -140
- package/dist/pages/index.js.map +1 -1
- package/dist/pages/led-circuit-react.d.ts +3 -0
- package/dist/pages/led-circuit-react.js +7595 -49
- package/dist/pages/led-circuit-react.js.map +1 -1
- package/dist/pages/led-circuit.d.ts +3 -0
- package/dist/pages/led-circuit.js +1195 -140
- package/dist/pages/led-circuit.js.map +1 -1
- package/dist/schematic-components/MovableGrid/MovableGrid.stories.d.ts +7 -0
- package/dist/schematic-components/MovableGrid/MovableGrid.stories.js +3062 -2
- package/dist/schematic-components/MovableGrid/MovableGrid.stories.js.map +1 -1
- package/dist/schematic-components/MovableGrid/index.d.ts +3 -0
- package/dist/schematic-components/MovableGrid/index.js +3058 -1
- package/dist/schematic-components/MovableGrid/index.js.map +1 -1
- package/dist/schematic-components/ProjectComponent.d.ts +10 -0
- package/dist/schematic-components/ProjectComponent.js +1174 -136
- package/dist/schematic-components/ProjectComponent.js.map +1 -1
- package/dist/schematic-components/RenderError.d.ts +6 -0
- package/dist/schematic-components/RenderError.js +3069 -11
- package/dist/schematic-components/RenderError.js.map +1 -1
- package/dist/schematic-components/SVGPathComponent.d.ts +19 -0
- package/dist/schematic-components/SVGPathComponent.js +3067 -6
- package/dist/schematic-components/SVGPathComponent.js.map +1 -1
- package/dist/schematic-components/SchematicBug.d.ts +13 -0
- package/dist/schematic-components/SchematicBug.js +3090 -26
- package/dist/schematic-components/SchematicBug.js.map +1 -1
- package/dist/schematic-components/SchematicComponent.d.ts +13 -0
- package/dist/schematic-components/SchematicComponent.js +1090 -77
- package/dist/schematic-components/SchematicComponent.js.map +1 -1
- package/dist/schematic-components/SchematicGroup.d.ts +3 -0
- package/dist/schematic-components/SchematicPort.d.ts +13 -0
- package/dist/schematic-components/SchematicPort.js +997 -18
- package/dist/schematic-components/SchematicPort.js.map +1 -1
- package/dist/schematic-components/SchematicText.d.ts +10 -0
- package/dist/schematic-components/SchematicText.js +3059 -6
- package/dist/schematic-components/SchematicText.js.map +1 -1
- package/dist/schematic-components/SchematicTrace.d.ts +13 -0
- package/dist/schematic-components/SchematicTrace.js +3098 -25
- package/dist/schematic-components/SchematicTrace.js.map +1 -1
- package/dist/schematic-components/SimpleCapacitor.d.ts +13 -0
- package/dist/schematic-components/SimpleCapacitor.js +3079 -12
- package/dist/schematic-components/SimpleCapacitor.js.map +1 -1
- package/dist/schematic-components/SimpleDiode.d.ts +13 -0
- package/dist/schematic-components/SimpleDiode.js +3079 -12
- package/dist/schematic-components/SimpleDiode.js.map +1 -1
- package/dist/schematic-components/SimpleGround.d.ts +13 -0
- package/dist/schematic-components/SimpleGround.js +3080 -13
- package/dist/schematic-components/SimpleGround.js.map +1 -1
- package/dist/schematic-components/SimpleInductor.d.ts +13 -0
- package/dist/schematic-components/SimpleInductor.js +3080 -13
- package/dist/schematic-components/SimpleInductor.js.map +1 -1
- package/dist/schematic-components/SimplePowerSource.d.ts +13 -0
- package/dist/schematic-components/SimplePowerSource.js +3080 -13
- package/dist/schematic-components/SimplePowerSource.js.map +1 -1
- package/dist/schematic-components/SimpleResistor.d.ts +13 -0
- package/dist/schematic-components/SimpleResistor.js +3080 -13
- package/dist/schematic-components/SimpleResistor.js.map +1 -1
- package/dist/schematic-components/index.d.ts +18 -0
- package/dist/schematic-components/index.js +1175 -137
- package/dist/schematic-components/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/pages/led-circuit.tsx +8 -1
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SchematicText as SchematicText$1 } from '../lib/types/core.js';
|
|
2
|
+
import '../lib/types/source-component.js';
|
|
3
|
+
import '../lib/types/util.js';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
schematic_text: SchematicText$1;
|
|
7
|
+
}
|
|
8
|
+
declare const SchematicText: ({ schematic_text }: Props) => JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { SchematicText, SchematicText as default };
|