@tscircuit/core 0.0.217 → 0.0.219
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 +54 -46
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -8328,53 +8328,61 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
8328
8328
|
|
|
8329
8329
|
declare const useResistor: <PropsFromHook extends Omit<ResistorProps, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<ResistorProps, "left" | "right" | "pin1" | "pin2", PropsFromHook>;
|
|
8330
8330
|
|
|
8331
|
-
|
|
8331
|
+
interface TscircuitElements {
|
|
8332
|
+
resistor: _tscircuit_props.ResistorProps;
|
|
8333
|
+
capacitor: _tscircuit_props.CapacitorProps;
|
|
8334
|
+
inductor: _tscircuit_props.InductorProps;
|
|
8335
|
+
pushbutton: _tscircuit_props.PushButtonProps;
|
|
8336
|
+
diode: _tscircuit_props.DiodeProps;
|
|
8337
|
+
led: _tscircuit_props.LedProps;
|
|
8338
|
+
board: _tscircuit_props.BoardProps;
|
|
8339
|
+
jumper: _tscircuit_props.JumperProps;
|
|
8340
|
+
bug: _tscircuit_props.ChipProps;
|
|
8341
|
+
potentiometer: _tscircuit_props.PotentiometerProps;
|
|
8342
|
+
chip: _tscircuit_props.ChipProps;
|
|
8343
|
+
powersource: _tscircuit_props.PowerSourceProps;
|
|
8344
|
+
via: _tscircuit_props.ViaProps;
|
|
8345
|
+
schematicbox: _tscircuit_props.SchematicBoxProps;
|
|
8346
|
+
schematicline: _tscircuit_props.SchematicLineProps;
|
|
8347
|
+
schematicpath: _tscircuit_props.SchematicPathProps;
|
|
8348
|
+
schematictext: _tscircuit_props.SchematicTextProps;
|
|
8349
|
+
smtpad: _tscircuit_props.SmtPadProps;
|
|
8350
|
+
platedhole: _tscircuit_props.PlatedHoleProps;
|
|
8351
|
+
keepout: _tscircuit_props.PcbKeepoutProps;
|
|
8352
|
+
hole: _tscircuit_props.HoleProps;
|
|
8353
|
+
port: _tscircuit_props.PortProps;
|
|
8354
|
+
group: _tscircuit_props.GroupProps;
|
|
8355
|
+
netalias: _tscircuit_props.NetAliasProps;
|
|
8356
|
+
net: _tscircuit_props.NetProps;
|
|
8357
|
+
trace: _tscircuit_props.TraceProps;
|
|
8358
|
+
custom: any;
|
|
8359
|
+
component: _tscircuit_props.ComponentProps;
|
|
8360
|
+
footprint: any;
|
|
8361
|
+
silkscreentext: _tscircuit_props.SilkscreenTextProps;
|
|
8362
|
+
silkscreenpath: _tscircuit_props.SilkscreenPathProps;
|
|
8363
|
+
silkscreenline: _tscircuit_props.SilkscreenLineProps;
|
|
8364
|
+
silkscreenrect: _tscircuit_props.SilkscreenRectProps;
|
|
8365
|
+
silkscreencircle: _tscircuit_props.SilkscreenCircleProps;
|
|
8366
|
+
tracehint: _tscircuit_props.TraceHintProps;
|
|
8367
|
+
pcbtrace: _tscircuit_props.PcbTraceProps;
|
|
8368
|
+
fabricationnotetext: _tscircuit_props.FabricationNoteTextProps;
|
|
8369
|
+
fabricationnotepath: _tscircuit_props.FabricationNotePathProps;
|
|
8370
|
+
constraint: _tscircuit_props.ConstraintProps;
|
|
8371
|
+
constrainedlayout: _tscircuit_props.ConstrainedLayoutProps;
|
|
8372
|
+
battery: _tscircuit_props.BatteryProps;
|
|
8373
|
+
pinheader: _tscircuit_props.PinHeaderProps;
|
|
8374
|
+
subcircuit: _tscircuit_props.SubcircuitGroupProps;
|
|
8375
|
+
jscad: any;
|
|
8376
|
+
}
|
|
8377
|
+
declare module "react" {
|
|
8378
|
+
namespace JSX {
|
|
8379
|
+
interface IntrinsicElements extends TscircuitElements {
|
|
8380
|
+
}
|
|
8381
|
+
}
|
|
8382
|
+
}
|
|
8383
|
+
declare module "react/jsx-runtime" {
|
|
8332
8384
|
namespace JSX {
|
|
8333
|
-
interface IntrinsicElements {
|
|
8334
|
-
resistor: _tscircuit_props.ResistorProps;
|
|
8335
|
-
capacitor: _tscircuit_props.CapacitorProps;
|
|
8336
|
-
inductor: _tscircuit_props.InductorProps;
|
|
8337
|
-
pushbutton: _tscircuit_props.PushButtonProps;
|
|
8338
|
-
diode: _tscircuit_props.DiodeProps;
|
|
8339
|
-
led: _tscircuit_props.LedProps;
|
|
8340
|
-
board: _tscircuit_props.BoardProps;
|
|
8341
|
-
jumper: _tscircuit_props.JumperProps;
|
|
8342
|
-
bug: _tscircuit_props.ChipProps;
|
|
8343
|
-
potentiometer: _tscircuit_props.PotentiometerProps;
|
|
8344
|
-
chip: _tscircuit_props.ChipProps;
|
|
8345
|
-
powersource: _tscircuit_props.PowerSourceProps;
|
|
8346
|
-
via: _tscircuit_props.ViaProps;
|
|
8347
|
-
schematicbox: _tscircuit_props.SchematicBoxProps;
|
|
8348
|
-
schematicline: _tscircuit_props.SchematicLineProps;
|
|
8349
|
-
schematicpath: _tscircuit_props.SchematicPathProps;
|
|
8350
|
-
schematictext: _tscircuit_props.SchematicTextProps;
|
|
8351
|
-
smtpad: _tscircuit_props.SmtPadProps;
|
|
8352
|
-
platedhole: _tscircuit_props.PlatedHoleProps;
|
|
8353
|
-
keepout: _tscircuit_props.PcbKeepoutProps;
|
|
8354
|
-
hole: _tscircuit_props.HoleProps;
|
|
8355
|
-
port: _tscircuit_props.PortProps;
|
|
8356
|
-
group: _tscircuit_props.GroupProps;
|
|
8357
|
-
netalias: _tscircuit_props.NetAliasProps;
|
|
8358
|
-
net: _tscircuit_props.NetProps;
|
|
8359
|
-
trace: _tscircuit_props.TraceProps;
|
|
8360
|
-
custom: any;
|
|
8361
|
-
component: _tscircuit_props.ComponentProps;
|
|
8362
|
-
footprint: any;
|
|
8363
|
-
silkscreentext: _tscircuit_props.SilkscreenTextProps;
|
|
8364
|
-
silkscreenpath: _tscircuit_props.SilkscreenPathProps;
|
|
8365
|
-
silkscreenline: _tscircuit_props.SilkscreenLineProps;
|
|
8366
|
-
silkscreenrect: _tscircuit_props.SilkscreenRectProps;
|
|
8367
|
-
silkscreencircle: _tscircuit_props.SilkscreenCircleProps;
|
|
8368
|
-
tracehint: _tscircuit_props.TraceHintProps;
|
|
8369
|
-
pcbtrace: _tscircuit_props.PcbTraceProps;
|
|
8370
|
-
fabricationnotetext: _tscircuit_props.FabricationNoteTextProps;
|
|
8371
|
-
fabricationnotepath: _tscircuit_props.FabricationNotePathProps;
|
|
8372
|
-
constraint: _tscircuit_props.ConstraintProps;
|
|
8373
|
-
constrainedlayout: _tscircuit_props.ConstrainedLayoutProps;
|
|
8374
|
-
battery: _tscircuit_props.BatteryProps;
|
|
8375
|
-
pinheader: _tscircuit_props.PinHeaderProps;
|
|
8376
|
-
subcircuit: _tscircuit_props.SubcircuitGroupProps;
|
|
8377
|
-
jscad: any;
|
|
8385
|
+
interface IntrinsicElements extends TscircuitElements {
|
|
8378
8386
|
}
|
|
8379
8387
|
}
|
|
8380
8388
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.219",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@tscircuit/log-soup": "^1.0.2",
|
|
24
24
|
"@types/bun": "latest",
|
|
25
25
|
"@types/debug": "^4.1.12",
|
|
26
|
-
"@types/react": "^
|
|
26
|
+
"@types/react": "^19.0.1",
|
|
27
27
|
"@types/react-reconciler": "^0.28.8",
|
|
28
28
|
"bun-match-svg": "0.0.8",
|
|
29
29
|
"circuit-to-svg": "^0.0.87",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@lume/kiwi": "^0.4.3",
|
|
41
41
|
"@tscircuit/footprinter": "^0.0.92",
|
|
42
|
-
"@tscircuit/infgrid-ijump-astar": "^0.0.
|
|
42
|
+
"@tscircuit/infgrid-ijump-astar": "^0.0.25",
|
|
43
43
|
"@tscircuit/math-utils": "^0.0.5",
|
|
44
|
-
"@tscircuit/props": "^0.0.
|
|
44
|
+
"@tscircuit/props": "^0.0.109",
|
|
45
45
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
46
46
|
"@tscircuit/soup-util": "^0.0.41",
|
|
47
47
|
"circuit-json": "^0.0.108",
|