@tscircuit/core 0.0.434 → 0.0.436

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tscircuit_props from '@tscircuit/props';
2
- import { PlatformConfig, subcircuitGroupProps, AutorouterConfig, traceProps, SupplierPartNumbers, SchematicPortArrangement, groupProps, boardProps, capacitorProps, chipProps, diodeProps, fuseProps, jumperProps, ledProps, powerSourceProps, resistorProps, constraintProps, fabricationNotePathProps, fabricationNoteTextProps, footprintProps, subcircuitProps, holeProps, pcbKeepoutProps, netAliasProps, platedHoleProps, silkscreenCircleProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, silkscreenLineProps, smtPadProps, traceHintProps, viaProps, cutoutProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, transistorProps, mosfetProps, switchProps, schematicTextProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
2
+ import { PlatformConfig, subcircuitGroupProps, AutorouterConfig, traceProps, SupplierPartNumbers, SchematicPortArrangement, groupProps, boardProps, capacitorProps, chipProps, diodeProps, fuseProps, jumperProps, ledProps, powerSourceProps, resistorProps, constraintProps, fabricationNotePathProps, fabricationNoteTextProps, footprintProps, subcircuitProps, holeProps, pcbKeepoutProps, netAliasProps, platedHoleProps, silkscreenCircleProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, silkscreenLineProps, smtPadProps, traceHintProps, viaProps, cutoutProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, transistorProps, mosfetProps, switchProps, schematicTextProps, schematicBoxProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
3
3
  import React, { ReactElement, DetailedHTMLProps, SVGProps } from 'react';
4
4
  export { createElement } from 'react';
5
5
  import * as zod from 'zod';
@@ -12,7 +12,7 @@ import * as _tscircuit_layout from '@tscircuit/layout';
12
12
  import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
13
13
  import { GraphicsObject } from 'graphics-debug';
14
14
 
15
- declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "PcbFootprintStringRender", "InitializePortsFromChildren", "CreateNetsFromProps", "CreateTracesFromProps", "CreateTraceHintsFromProps", "SourceRender", "SourceParentAttachment", "PortMatching", "OptimizeSelectorCache", "SourceTraceRender", "SourceAddConnectivityMapKey", "SchematicComponentRender", "SchematicPrimitiveRender", "SchematicPortRender", "SchematicLayout", "SchematicTraceRender", "PcbComponentRender", "PcbPrimitiveRender", "PcbFootprintLayout", "PcbPortRender", "PcbPortAttachment", "PcbLayout", "PcbComponentSizeCalculation", "PcbBoardAutoSize", "PcbTraceHintRender", "PcbTraceRender", "PcbRouteNetIslands", "PcbDesignRuleChecks", "CadModelRender", "PartsEngineRender"];
15
+ declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "PcbFootprintStringRender", "InitializePortsFromChildren", "CreateNetsFromProps", "CreateTracesFromProps", "CreateTraceHintsFromProps", "SourceRender", "SourceParentAttachment", "PortMatching", "OptimizeSelectorCache", "SourceTraceRender", "SourceAddConnectivityMapKey", "SchematicComponentRender", "SchematicPortRender", "SchematicPrimitiveRender", "SchematicLayout", "SchematicTraceRender", "PcbComponentRender", "PcbPrimitiveRender", "PcbFootprintLayout", "PcbPortRender", "PcbPortAttachment", "PcbLayout", "PcbComponentSizeCalculation", "PcbBoardAutoSize", "PcbTraceHintRender", "PcbTraceRender", "PcbRouteNetIslands", "PcbDesignRuleChecks", "CadModelRender", "PartsEngineRender"];
16
16
  type RenderPhase = (typeof orderedRenderPhases)[number];
17
17
  type RenderPhaseFn<K extends RenderPhase = RenderPhase> = `doInitial${K}` | `update${K}` | `remove${K}`;
18
18
  type RenderPhaseStates = Record<RenderPhase, {
@@ -104,6 +104,10 @@ interface SchematicBoxDimensions {
104
104
  height: number;
105
105
  };
106
106
  }
107
+ interface SchematicBoxComponentDimensions {
108
+ schWidth: number;
109
+ schHeight: number;
110
+ }
107
111
 
108
112
  type SimplifiedPcbTrace = {
109
113
  type: "pcb_trace";
@@ -468,6 +472,7 @@ declare abstract class PrimitiveComponent<ZodProps extends ZodType = any> extend
468
472
  * dimensions of the box, which allows computing the position of ports etc.
469
473
  */
470
474
  _getSchematicBoxDimensions(): SchematicBoxDimensions | null;
475
+ _getSchematicBoxComponentDimensions(): SchematicBoxComponentDimensions | null;
471
476
  renderError(message: Parameters<typeof Renderable.prototype.renderError>[0]): void;
472
477
  getString(): string;
473
478
  get [Symbol.toStringTag](): string;
@@ -1090,7 +1095,7 @@ declare class Board extends Group<typeof boardProps> {
1090
1095
  schWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1091
1096
  schHeight: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1092
1097
  pcbLayout: zod.ZodOptional<zod.ZodObject<{
1093
- layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "none"]>>;
1098
+ layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
1094
1099
  position: zod.ZodOptional<zod.ZodEnum<["absolute", "relative"]>>;
1095
1100
  grid: zod.ZodOptional<zod.ZodBoolean>;
1096
1101
  gridCols: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
@@ -1106,10 +1111,11 @@ declare class Board extends Group<typeof boardProps> {
1106
1111
  flexRow: zod.ZodOptional<zod.ZodBoolean>;
1107
1112
  flexColumn: zod.ZodOptional<zod.ZodBoolean>;
1108
1113
  gap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
1114
+ matchAdapt: zod.ZodOptional<zod.ZodBoolean>;
1109
1115
  }, "strip", zod.ZodTypeAny, {
1110
1116
  grid?: boolean | undefined;
1111
1117
  flex?: string | boolean | undefined;
1112
- layoutMode?: "grid" | "flex" | "none" | undefined;
1118
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1113
1119
  position?: "absolute" | "relative" | undefined;
1114
1120
  gridCols?: string | number | undefined;
1115
1121
  gridRows?: string | number | undefined;
@@ -1123,10 +1129,11 @@ declare class Board extends Group<typeof boardProps> {
1123
1129
  flexRow?: boolean | undefined;
1124
1130
  flexColumn?: boolean | undefined;
1125
1131
  gap?: string | number | undefined;
1132
+ matchAdapt?: boolean | undefined;
1126
1133
  }, {
1127
1134
  grid?: boolean | undefined;
1128
1135
  flex?: string | boolean | undefined;
1129
- layoutMode?: "grid" | "flex" | "none" | undefined;
1136
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1130
1137
  position?: "absolute" | "relative" | undefined;
1131
1138
  gridCols?: string | number | undefined;
1132
1139
  gridRows?: string | number | undefined;
@@ -1140,9 +1147,10 @@ declare class Board extends Group<typeof boardProps> {
1140
1147
  flexRow?: boolean | undefined;
1141
1148
  flexColumn?: boolean | undefined;
1142
1149
  gap?: string | number | undefined;
1150
+ matchAdapt?: boolean | undefined;
1143
1151
  }>>;
1144
1152
  schLayout: zod.ZodOptional<zod.ZodObject<{
1145
- layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "none"]>>;
1153
+ layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
1146
1154
  position: zod.ZodOptional<zod.ZodEnum<["absolute", "relative"]>>;
1147
1155
  grid: zod.ZodOptional<zod.ZodBoolean>;
1148
1156
  gridCols: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
@@ -1158,10 +1166,11 @@ declare class Board extends Group<typeof boardProps> {
1158
1166
  flexRow: zod.ZodOptional<zod.ZodBoolean>;
1159
1167
  flexColumn: zod.ZodOptional<zod.ZodBoolean>;
1160
1168
  gap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
1169
+ matchAdapt: zod.ZodOptional<zod.ZodBoolean>;
1161
1170
  }, "strip", zod.ZodTypeAny, {
1162
1171
  grid?: boolean | undefined;
1163
1172
  flex?: string | boolean | undefined;
1164
- layoutMode?: "grid" | "flex" | "none" | undefined;
1173
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1165
1174
  position?: "absolute" | "relative" | undefined;
1166
1175
  gridCols?: string | number | undefined;
1167
1176
  gridRows?: string | number | undefined;
@@ -1175,10 +1184,11 @@ declare class Board extends Group<typeof boardProps> {
1175
1184
  flexRow?: boolean | undefined;
1176
1185
  flexColumn?: boolean | undefined;
1177
1186
  gap?: string | number | undefined;
1187
+ matchAdapt?: boolean | undefined;
1178
1188
  }, {
1179
1189
  grid?: boolean | undefined;
1180
1190
  flex?: string | boolean | undefined;
1181
- layoutMode?: "grid" | "flex" | "none" | undefined;
1191
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1182
1192
  position?: "absolute" | "relative" | undefined;
1183
1193
  gridCols?: string | number | undefined;
1184
1194
  gridRows?: string | number | undefined;
@@ -1192,8 +1202,9 @@ declare class Board extends Group<typeof boardProps> {
1192
1202
  flexRow?: boolean | undefined;
1193
1203
  flexColumn?: boolean | undefined;
1194
1204
  gap?: string | number | undefined;
1205
+ matchAdapt?: boolean | undefined;
1195
1206
  }>>;
1196
- layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "none"]>>;
1207
+ layoutMode: zod.ZodOptional<zod.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
1197
1208
  position: zod.ZodOptional<zod.ZodEnum<["absolute", "relative"]>>;
1198
1209
  grid: zod.ZodOptional<zod.ZodBoolean>;
1199
1210
  gridCols: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
@@ -1209,6 +1220,7 @@ declare class Board extends Group<typeof boardProps> {
1209
1220
  flexRow: zod.ZodOptional<zod.ZodBoolean>;
1210
1221
  flexColumn: zod.ZodOptional<zod.ZodBoolean>;
1211
1222
  gap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
1223
+ matchAdapt: zod.ZodOptional<zod.ZodBoolean>;
1212
1224
  name: zod.ZodOptional<zod.ZodString>;
1213
1225
  children: zod.ZodOptional<zod.ZodAny>;
1214
1226
  key: zod.ZodOptional<zod.ZodAny>;
@@ -1446,7 +1458,7 @@ declare class Board extends Group<typeof boardProps> {
1446
1458
  children?: any;
1447
1459
  grid?: boolean | undefined;
1448
1460
  flex?: string | boolean | undefined;
1449
- layoutMode?: "grid" | "flex" | "none" | undefined;
1461
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1450
1462
  position?: "absolute" | "relative" | undefined;
1451
1463
  gridCols?: string | number | undefined;
1452
1464
  gridRows?: string | number | undefined;
@@ -1460,6 +1472,7 @@ declare class Board extends Group<typeof boardProps> {
1460
1472
  flexRow?: boolean | undefined;
1461
1473
  flexColumn?: boolean | undefined;
1462
1474
  gap?: string | number | undefined;
1475
+ matchAdapt?: boolean | undefined;
1463
1476
  pcbWidth?: number | undefined;
1464
1477
  pcbHeight?: number | undefined;
1465
1478
  schWidth?: number | undefined;
@@ -1467,7 +1480,7 @@ declare class Board extends Group<typeof boardProps> {
1467
1480
  pcbLayout?: {
1468
1481
  grid?: boolean | undefined;
1469
1482
  flex?: string | boolean | undefined;
1470
- layoutMode?: "grid" | "flex" | "none" | undefined;
1483
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1471
1484
  position?: "absolute" | "relative" | undefined;
1472
1485
  gridCols?: string | number | undefined;
1473
1486
  gridRows?: string | number | undefined;
@@ -1481,11 +1494,12 @@ declare class Board extends Group<typeof boardProps> {
1481
1494
  flexRow?: boolean | undefined;
1482
1495
  flexColumn?: boolean | undefined;
1483
1496
  gap?: string | number | undefined;
1497
+ matchAdapt?: boolean | undefined;
1484
1498
  } | undefined;
1485
1499
  schLayout?: {
1486
1500
  grid?: boolean | undefined;
1487
1501
  flex?: string | boolean | undefined;
1488
- layoutMode?: "grid" | "flex" | "none" | undefined;
1502
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1489
1503
  position?: "absolute" | "relative" | undefined;
1490
1504
  gridCols?: string | number | undefined;
1491
1505
  gridRows?: string | number | undefined;
@@ -1499,6 +1513,7 @@ declare class Board extends Group<typeof boardProps> {
1499
1513
  flexRow?: boolean | undefined;
1500
1514
  flexColumn?: boolean | undefined;
1501
1515
  gap?: string | number | undefined;
1516
+ matchAdapt?: boolean | undefined;
1502
1517
  } | undefined;
1503
1518
  layout?: _tscircuit_layout.LayoutBuilder | undefined;
1504
1519
  manualEdits?: {
@@ -1570,7 +1585,7 @@ declare class Board extends Group<typeof boardProps> {
1570
1585
  children?: any;
1571
1586
  grid?: boolean | undefined;
1572
1587
  flex?: string | boolean | undefined;
1573
- layoutMode?: "grid" | "flex" | "none" | undefined;
1588
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1574
1589
  position?: "absolute" | "relative" | undefined;
1575
1590
  gridCols?: string | number | undefined;
1576
1591
  gridRows?: string | number | undefined;
@@ -1584,6 +1599,7 @@ declare class Board extends Group<typeof boardProps> {
1584
1599
  flexRow?: boolean | undefined;
1585
1600
  flexColumn?: boolean | undefined;
1586
1601
  gap?: string | number | undefined;
1602
+ matchAdapt?: boolean | undefined;
1587
1603
  pcbWidth?: string | number | undefined;
1588
1604
  pcbHeight?: string | number | undefined;
1589
1605
  schWidth?: string | number | undefined;
@@ -1591,7 +1607,7 @@ declare class Board extends Group<typeof boardProps> {
1591
1607
  pcbLayout?: {
1592
1608
  grid?: boolean | undefined;
1593
1609
  flex?: string | boolean | undefined;
1594
- layoutMode?: "grid" | "flex" | "none" | undefined;
1610
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1595
1611
  position?: "absolute" | "relative" | undefined;
1596
1612
  gridCols?: string | number | undefined;
1597
1613
  gridRows?: string | number | undefined;
@@ -1605,11 +1621,12 @@ declare class Board extends Group<typeof boardProps> {
1605
1621
  flexRow?: boolean | undefined;
1606
1622
  flexColumn?: boolean | undefined;
1607
1623
  gap?: string | number | undefined;
1624
+ matchAdapt?: boolean | undefined;
1608
1625
  } | undefined;
1609
1626
  schLayout?: {
1610
1627
  grid?: boolean | undefined;
1611
1628
  flex?: string | boolean | undefined;
1612
- layoutMode?: "grid" | "flex" | "none" | undefined;
1629
+ layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
1613
1630
  position?: "absolute" | "relative" | undefined;
1614
1631
  gridCols?: string | number | undefined;
1615
1632
  gridRows?: string | number | undefined;
@@ -1623,6 +1640,7 @@ declare class Board extends Group<typeof boardProps> {
1623
1640
  flexRow?: boolean | undefined;
1624
1641
  flexColumn?: boolean | undefined;
1625
1642
  gap?: string | number | undefined;
1643
+ matchAdapt?: boolean | undefined;
1626
1644
  } | undefined;
1627
1645
  layout?: _tscircuit_layout.LayoutBuilder | undefined;
1628
1646
  manualEdits?: {
@@ -1957,6 +1975,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
1957
1975
  }>]>>;
1958
1976
  children: zod.ZodOptional<zod.ZodAny>;
1959
1977
  symbolName: zod.ZodOptional<zod.ZodString>;
1978
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
1960
1979
  } & {
1961
1980
  capacitance: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
1962
1981
  maxVoltageRating: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
@@ -2038,6 +2057,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
2038
2057
  } | null | undefined;
2039
2058
  children?: any;
2040
2059
  symbolName?: string | undefined;
2060
+ doNotPlace?: boolean | undefined;
2041
2061
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
2042
2062
  maxVoltageRating?: number | undefined;
2043
2063
  decouplingFor?: string | undefined;
@@ -2115,6 +2135,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
2115
2135
  } | null | undefined;
2116
2136
  children?: any;
2117
2137
  symbolName?: string | undefined;
2138
+ doNotPlace?: boolean | undefined;
2118
2139
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
2119
2140
  schShowRatings?: boolean | undefined;
2120
2141
  maxVoltageRating?: string | number | undefined;
@@ -2394,6 +2415,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2394
2415
  }>]>>;
2395
2416
  children: zod.ZodOptional<zod.ZodAny>;
2396
2417
  symbolName: zod.ZodOptional<zod.ZodString>;
2418
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
2397
2419
  } & {
2398
2420
  manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
2399
2421
  pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
@@ -2709,6 +2731,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2709
2731
  } | null | undefined;
2710
2732
  children?: any;
2711
2733
  symbolName?: string | undefined;
2734
+ doNotPlace?: boolean | undefined;
2712
2735
  schWidth?: number | undefined;
2713
2736
  schHeight?: number | undefined;
2714
2737
  manufacturerPartNumber?: string | undefined;
@@ -2853,6 +2876,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2853
2876
  } | null | undefined;
2854
2877
  children?: any;
2855
2878
  symbolName?: string | undefined;
2879
+ doNotPlace?: boolean | undefined;
2856
2880
  schWidth?: string | number | undefined;
2857
2881
  schHeight?: string | number | undefined;
2858
2882
  manufacturerPartNumber?: string | undefined;
@@ -3197,6 +3221,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3197
3221
  }>]>>;
3198
3222
  children: zod.ZodOptional<zod.ZodAny>;
3199
3223
  symbolName: zod.ZodOptional<zod.ZodString>;
3224
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
3200
3225
  } & {
3201
3226
  connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["anode", "cathode", "pin1", "pin2", "pos", "neg"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
3202
3227
  variant: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["standard", "schottky", "zener", "photo", "tvs"]>>>;
@@ -3273,6 +3298,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3273
3298
  } | null | undefined;
3274
3299
  children?: any;
3275
3300
  symbolName?: string | undefined;
3301
+ doNotPlace?: boolean | undefined;
3276
3302
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3277
3303
  standard?: boolean | undefined;
3278
3304
  schottky?: boolean | undefined;
@@ -3348,6 +3374,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3348
3374
  } | null | undefined;
3349
3375
  children?: any;
3350
3376
  symbolName?: string | undefined;
3377
+ doNotPlace?: boolean | undefined;
3351
3378
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3352
3379
  standard?: boolean | undefined;
3353
3380
  schottky?: boolean | undefined;
@@ -3423,6 +3450,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3423
3450
  } | null | undefined;
3424
3451
  children?: any;
3425
3452
  symbolName?: string | undefined;
3453
+ doNotPlace?: boolean | undefined;
3426
3454
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3427
3455
  standard?: boolean | undefined;
3428
3456
  schottky?: boolean | undefined;
@@ -3498,6 +3526,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3498
3526
  } | null | undefined;
3499
3527
  children?: any;
3500
3528
  symbolName?: string | undefined;
3529
+ doNotPlace?: boolean | undefined;
3501
3530
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3502
3531
  standard?: boolean | undefined;
3503
3532
  schottky?: boolean | undefined;
@@ -3578,6 +3607,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3578
3607
  } | null | undefined;
3579
3608
  children?: any;
3580
3609
  symbolName?: string | undefined;
3610
+ doNotPlace?: boolean | undefined;
3581
3611
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3582
3612
  }, {
3583
3613
  name: string;
@@ -3648,6 +3678,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
3648
3678
  } | null | undefined;
3649
3679
  children?: any;
3650
3680
  symbolName?: string | undefined;
3681
+ doNotPlace?: boolean | undefined;
3651
3682
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
3652
3683
  standard?: boolean | undefined;
3653
3684
  schottky?: boolean | undefined;
@@ -3926,6 +3957,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
3926
3957
  }>]>>;
3927
3958
  children: zod.ZodOptional<zod.ZodAny>;
3928
3959
  symbolName: zod.ZodOptional<zod.ZodString>;
3960
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
3929
3961
  } & {
3930
3962
  currentRating: zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>;
3931
3963
  voltageRating: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
@@ -3999,6 +4031,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
3999
4031
  } | null | undefined;
4000
4032
  children?: any;
4001
4033
  symbolName?: string | undefined;
4034
+ doNotPlace?: boolean | undefined;
4002
4035
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
4003
4036
  voltageRating?: string | number | undefined;
4004
4037
  schShowRatings?: boolean | undefined;
@@ -4072,6 +4105,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
4072
4105
  } | null | undefined;
4073
4106
  children?: any;
4074
4107
  symbolName?: string | undefined;
4108
+ doNotPlace?: boolean | undefined;
4075
4109
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
4076
4110
  voltageRating?: string | number | undefined;
4077
4111
  schShowRatings?: boolean | undefined;
@@ -4343,6 +4377,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
4343
4377
  }>]>>;
4344
4378
  children: zod.ZodOptional<zod.ZodAny>;
4345
4379
  symbolName: zod.ZodOptional<zod.ZodString>;
4380
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
4346
4381
  } & {
4347
4382
  manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
4348
4383
  pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>>;
@@ -4547,6 +4582,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
4547
4582
  } | null | undefined;
4548
4583
  children?: any;
4549
4584
  symbolName?: string | undefined;
4585
+ doNotPlace?: boolean | undefined;
4550
4586
  schWidth?: number | undefined;
4551
4587
  schHeight?: number | undefined;
4552
4588
  manufacturerPartNumber?: string | undefined;
@@ -4660,6 +4696,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
4660
4696
  } | null | undefined;
4661
4697
  children?: any;
4662
4698
  symbolName?: string | undefined;
4699
+ doNotPlace?: boolean | undefined;
4663
4700
  schWidth?: string | number | undefined;
4664
4701
  schHeight?: string | number | undefined;
4665
4702
  manufacturerPartNumber?: string | undefined;
@@ -4973,9 +5010,11 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
4973
5010
  }>]>>;
4974
5011
  children: zod.ZodOptional<zod.ZodAny>;
4975
5012
  symbolName: zod.ZodOptional<zod.ZodString>;
5013
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
4976
5014
  } & {
4977
5015
  color: zod.ZodOptional<zod.ZodString>;
4978
5016
  wavelength: zod.ZodOptional<zod.ZodString>;
5017
+ schValLabel: zod.ZodOptional<zod.ZodString>;
4979
5018
  }, "strip", zod.ZodTypeAny, {
4980
5019
  name: string;
4981
5020
  pcbX?: number | undefined;
@@ -5043,8 +5082,10 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
5043
5082
  } | null | undefined;
5044
5083
  children?: any;
5045
5084
  symbolName?: string | undefined;
5085
+ doNotPlace?: boolean | undefined;
5046
5086
  color?: string | undefined;
5047
5087
  wavelength?: string | undefined;
5088
+ schValLabel?: string | undefined;
5048
5089
  }, {
5049
5090
  name: string;
5050
5091
  pcbX?: string | number | undefined;
@@ -5114,8 +5155,10 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
5114
5155
  } | null | undefined;
5115
5156
  children?: any;
5116
5157
  symbolName?: string | undefined;
5158
+ doNotPlace?: boolean | undefined;
5117
5159
  color?: string | undefined;
5118
5160
  wavelength?: string | undefined;
5161
+ schValLabel?: string | undefined;
5119
5162
  }>;
5120
5163
  sourceFtype: Ftype;
5121
5164
  };
@@ -5387,6 +5430,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
5387
5430
  }>]>>;
5388
5431
  children: zod.ZodOptional<zod.ZodAny>;
5389
5432
  symbolName: zod.ZodOptional<zod.ZodString>;
5433
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
5390
5434
  } & {
5391
5435
  voltage: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
5392
5436
  }, "strip", zod.ZodTypeAny, {
@@ -5457,6 +5501,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
5457
5501
  } | null | undefined;
5458
5502
  children?: any;
5459
5503
  symbolName?: string | undefined;
5504
+ doNotPlace?: boolean | undefined;
5460
5505
  }, {
5461
5506
  name: string;
5462
5507
  voltage: string | number;
@@ -5527,6 +5572,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
5527
5572
  } | null | undefined;
5528
5573
  children?: any;
5529
5574
  symbolName?: string | undefined;
5575
+ doNotPlace?: boolean | undefined;
5530
5576
  }>;
5531
5577
  sourceFtype: Ftype;
5532
5578
  };
@@ -5798,6 +5844,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
5798
5844
  }>]>>;
5799
5845
  children: zod.ZodOptional<zod.ZodAny>;
5800
5846
  symbolName: zod.ZodOptional<zod.ZodString>;
5847
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
5801
5848
  } & {
5802
5849
  resistance: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
5803
5850
  pullupFor: zod.ZodOptional<zod.ZodString>;
@@ -5873,6 +5920,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
5873
5920
  } | null | undefined;
5874
5921
  children?: any;
5875
5922
  symbolName?: string | undefined;
5923
+ doNotPlace?: boolean | undefined;
5876
5924
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
5877
5925
  pullupFor?: string | undefined;
5878
5926
  pullupTo?: string | undefined;
@@ -5948,6 +5996,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
5948
5996
  } | null | undefined;
5949
5997
  children?: any;
5950
5998
  symbolName?: string | undefined;
5999
+ doNotPlace?: boolean | undefined;
5951
6000
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
5952
6001
  pullupFor?: string | undefined;
5953
6002
  pullupTo?: string | undefined;
@@ -6930,8 +6979,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
6930
6979
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6931
6980
  }>>;
6932
6981
  }, "pcbRotation"> & {
6933
- isFilled: zod.ZodOptional<zod.ZodBoolean>;
6934
- isOutline: zod.ZodOptional<zod.ZodBoolean>;
6982
+ filled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
6983
+ stroke: zod.ZodOptional<zod.ZodEnum<["dashed", "solid", "none"]>>;
6935
6984
  strokeWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
6936
6985
  width: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
6937
6986
  height: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
@@ -6942,8 +6991,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
6942
6991
  pcbY?: number | undefined;
6943
6992
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
6944
6993
  strokeWidth?: number | undefined;
6945
- isFilled?: boolean | undefined;
6946
- isOutline?: boolean | undefined;
6994
+ filled?: boolean | undefined;
6995
+ stroke?: "none" | "solid" | "dashed" | undefined;
6947
6996
  }, {
6948
6997
  width: string | number;
6949
6998
  height: string | number;
@@ -6953,8 +7002,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
6953
7002
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6954
7003
  } | undefined;
6955
7004
  strokeWidth?: string | number | undefined;
6956
- isFilled?: boolean | undefined;
6957
- isOutline?: boolean | undefined;
7005
+ filled?: boolean | undefined;
7006
+ stroke?: "none" | "solid" | "dashed" | undefined;
6958
7007
  }>;
6959
7008
  };
6960
7009
  doInitialPcbPrimitiveRender(): void;
@@ -8151,6 +8200,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
8151
8200
  }>]>>;
8152
8201
  children: zod.ZodOptional<zod.ZodAny>;
8153
8202
  symbolName: zod.ZodOptional<zod.ZodString>;
8203
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
8154
8204
  } & {
8155
8205
  capacity: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, number, string | number>>;
8156
8206
  }, "strip", zod.ZodTypeAny, {
@@ -8220,6 +8270,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
8220
8270
  } | null | undefined;
8221
8271
  children?: any;
8222
8272
  symbolName?: string | undefined;
8273
+ doNotPlace?: boolean | undefined;
8223
8274
  capacity?: number | undefined;
8224
8275
  }, {
8225
8276
  name: string;
@@ -8290,6 +8341,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
8290
8341
  } | null | undefined;
8291
8342
  children?: any;
8292
8343
  symbolName?: string | undefined;
8344
+ doNotPlace?: boolean | undefined;
8293
8345
  capacity?: string | number | undefined;
8294
8346
  }>;
8295
8347
  sourceFtype: Ftype;
@@ -8557,6 +8609,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
8557
8609
  }>]>>;
8558
8610
  children: zod.ZodOptional<zod.ZodAny>;
8559
8611
  symbolName: zod.ZodOptional<zod.ZodString>;
8612
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
8560
8613
  } & {
8561
8614
  pinCount: zod.ZodNumber;
8562
8615
  pitch: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
@@ -8737,6 +8790,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
8737
8790
  } | null | undefined;
8738
8791
  children?: any;
8739
8792
  symbolName?: string | undefined;
8793
+ doNotPlace?: boolean | undefined;
8740
8794
  pinLabels?: string[] | undefined;
8741
8795
  schPinArrangement?: {
8742
8796
  leftSize?: number | undefined;
@@ -8841,6 +8895,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
8841
8895
  } | null | undefined;
8842
8896
  children?: any;
8843
8897
  symbolName?: string | undefined;
8898
+ doNotPlace?: boolean | undefined;
8844
8899
  pinLabels?: string[] | undefined;
8845
8900
  schPinArrangement?: {
8846
8901
  leftSize?: number | undefined;
@@ -9145,6 +9200,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
9145
9200
  }>]>>;
9146
9201
  children: zod.ZodOptional<zod.ZodAny>;
9147
9202
  symbolName: zod.ZodOptional<zod.ZodString>;
9203
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
9148
9204
  } & {
9149
9205
  frequency: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
9150
9206
  loadCapacitance: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
@@ -9218,6 +9274,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
9218
9274
  } | null | undefined;
9219
9275
  children?: any;
9220
9276
  symbolName?: string | undefined;
9277
+ doNotPlace?: boolean | undefined;
9221
9278
  pinVariant?: "no_ground" | "ground_pin" | "two_ground_pins" | undefined;
9222
9279
  }, {
9223
9280
  name: string;
@@ -9290,6 +9347,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
9290
9347
  } | null | undefined;
9291
9348
  children?: any;
9292
9349
  symbolName?: string | undefined;
9350
+ doNotPlace?: boolean | undefined;
9293
9351
  pinVariant?: "no_ground" | "ground_pin" | "two_ground_pins" | undefined;
9294
9352
  }>;
9295
9353
  shouldRenderAsSchematicBox: boolean;
@@ -9557,6 +9615,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
9557
9615
  }>]>>;
9558
9616
  children: zod.ZodOptional<zod.ZodAny>;
9559
9617
  symbolName: zod.ZodOptional<zod.ZodString>;
9618
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
9560
9619
  } & {
9561
9620
  inductance: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
9562
9621
  }, "strip", zod.ZodTypeAny, {
@@ -9627,6 +9686,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
9627
9686
  } | null | undefined;
9628
9687
  children?: any;
9629
9688
  symbolName?: string | undefined;
9689
+ doNotPlace?: boolean | undefined;
9630
9690
  }, {
9631
9691
  name: string;
9632
9692
  inductance: string | number;
@@ -9697,6 +9757,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
9697
9757
  } | null | undefined;
9698
9758
  children?: any;
9699
9759
  symbolName?: string | undefined;
9760
+ doNotPlace?: boolean | undefined;
9700
9761
  }>;
9701
9762
  sourceFtype: "simple_inductor";
9702
9763
  };
@@ -9964,6 +10025,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
9964
10025
  }>]>>;
9965
10026
  children: zod.ZodOptional<zod.ZodAny>;
9966
10027
  symbolName: zod.ZodOptional<zod.ZodString>;
10028
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
9967
10029
  } & {
9968
10030
  maxResistance: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
9969
10031
  pinVariant: zod.ZodOptional<zod.ZodEnum<["two_pin", "three_pin"]>>;
@@ -10035,6 +10097,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
10035
10097
  } | null | undefined;
10036
10098
  children?: any;
10037
10099
  symbolName?: string | undefined;
10100
+ doNotPlace?: boolean | undefined;
10038
10101
  pinVariant?: "two_pin" | "three_pin" | undefined;
10039
10102
  }, {
10040
10103
  name: string;
@@ -10106,6 +10169,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
10106
10169
  } | null | undefined;
10107
10170
  children?: any;
10108
10171
  symbolName?: string | undefined;
10172
+ doNotPlace?: boolean | undefined;
10109
10173
  pinVariant?: "two_pin" | "three_pin" | undefined;
10110
10174
  }>;
10111
10175
  shouldRenderAsSchematicBox: boolean;
@@ -10373,6 +10437,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
10373
10437
  }>]>>;
10374
10438
  children: zod.ZodOptional<zod.ZodAny>;
10375
10439
  symbolName: zod.ZodOptional<zod.ZodString>;
10440
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
10376
10441
  } & {
10377
10442
  manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
10378
10443
  pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
@@ -10688,6 +10753,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
10688
10753
  } | null | undefined;
10689
10754
  children?: any;
10690
10755
  symbolName?: string | undefined;
10756
+ doNotPlace?: boolean | undefined;
10691
10757
  schWidth?: number | undefined;
10692
10758
  schHeight?: number | undefined;
10693
10759
  manufacturerPartNumber?: string | undefined;
@@ -10832,6 +10898,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
10832
10898
  } | null | undefined;
10833
10899
  children?: any;
10834
10900
  symbolName?: string | undefined;
10901
+ doNotPlace?: boolean | undefined;
10835
10902
  schWidth?: string | number | undefined;
10836
10903
  schHeight?: string | number | undefined;
10837
10904
  manufacturerPartNumber?: string | undefined;
@@ -11175,6 +11242,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
11175
11242
  }>]>>;
11176
11243
  children: zod.ZodOptional<zod.ZodAny>;
11177
11244
  symbolName: zod.ZodOptional<zod.ZodString>;
11245
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
11178
11246
  } & {
11179
11247
  frequency: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
11180
11248
  loadCapacitance: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
@@ -11248,6 +11316,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
11248
11316
  } | null | undefined;
11249
11317
  children?: any;
11250
11318
  symbolName?: string | undefined;
11319
+ doNotPlace?: boolean | undefined;
11251
11320
  pinVariant?: "two_pin" | "four_pin" | undefined;
11252
11321
  }, {
11253
11322
  name: string;
@@ -11320,6 +11389,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
11320
11389
  } | null | undefined;
11321
11390
  children?: any;
11322
11391
  symbolName?: string | undefined;
11392
+ doNotPlace?: boolean | undefined;
11323
11393
  pinVariant?: "two_pin" | "four_pin" | undefined;
11324
11394
  }>;
11325
11395
  sourceFtype: Ftype;
@@ -11589,6 +11659,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
11589
11659
  }>]>>;
11590
11660
  children: zod.ZodOptional<zod.ZodAny>;
11591
11661
  symbolName: zod.ZodOptional<zod.ZodString>;
11662
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
11592
11663
  } & {
11593
11664
  type: zod.ZodEnum<["npn", "pnp", "bjt", "jfet", "mosfet"]>;
11594
11665
  }, "strip", zod.ZodTypeAny, {
@@ -11659,6 +11730,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
11659
11730
  } | null | undefined;
11660
11731
  children?: any;
11661
11732
  symbolName?: string | undefined;
11733
+ doNotPlace?: boolean | undefined;
11662
11734
  }, {
11663
11735
  type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet";
11664
11736
  name: string;
@@ -11729,6 +11801,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
11729
11801
  } | null | undefined;
11730
11802
  children?: any;
11731
11803
  symbolName?: string | undefined;
11804
+ doNotPlace?: boolean | undefined;
11732
11805
  }>;
11733
11806
  sourceFtype: Ftype;
11734
11807
  shouldRenderAsSchematicBox: boolean;
@@ -12000,6 +12073,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
12000
12073
  }>]>>;
12001
12074
  children: zod.ZodOptional<zod.ZodAny>;
12002
12075
  symbolName: zod.ZodOptional<zod.ZodString>;
12076
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
12003
12077
  } & {
12004
12078
  channelType: zod.ZodEnum<["n", "p"]>;
12005
12079
  mosfetMode: zod.ZodEnum<["enhancement", "depletion"]>;
@@ -12072,6 +12146,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
12072
12146
  } | null | undefined;
12073
12147
  children?: any;
12074
12148
  symbolName?: string | undefined;
12149
+ doNotPlace?: boolean | undefined;
12075
12150
  }, {
12076
12151
  name: string;
12077
12152
  channelType: "n" | "p";
@@ -12143,6 +12218,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
12143
12218
  } | null | undefined;
12144
12219
  children?: any;
12145
12220
  symbolName?: string | undefined;
12221
+ doNotPlace?: boolean | undefined;
12146
12222
  }>;
12147
12223
  shouldRenderAsSchematicBox: boolean;
12148
12224
  };
@@ -12410,6 +12486,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
12410
12486
  }>]>>;
12411
12487
  children: zod.ZodOptional<zod.ZodAny>;
12412
12488
  symbolName: zod.ZodOptional<zod.ZodString>;
12489
+ doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
12413
12490
  } & {
12414
12491
  type: zod.ZodOptional<zod.ZodEnum<["spst", "spdt", "dpst", "dpdt"]>>;
12415
12492
  isNormallyClosed: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
@@ -12486,6 +12563,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
12486
12563
  } | null | undefined;
12487
12564
  children?: any;
12488
12565
  symbolName?: string | undefined;
12566
+ doNotPlace?: boolean | undefined;
12489
12567
  spst?: boolean | undefined;
12490
12568
  spdt?: boolean | undefined;
12491
12569
  dpst?: boolean | undefined;
@@ -12560,6 +12638,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
12560
12638
  } | null | undefined;
12561
12639
  children?: any;
12562
12640
  symbolName?: string | undefined;
12641
+ doNotPlace?: boolean | undefined;
12563
12642
  spst?: boolean | undefined;
12564
12643
  spdt?: boolean | undefined;
12565
12644
  dpst?: boolean | undefined;
@@ -12635,6 +12714,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
12635
12714
  } | null | undefined;
12636
12715
  children?: any;
12637
12716
  symbolName?: string | undefined;
12717
+ doNotPlace?: boolean | undefined;
12638
12718
  spst?: boolean | undefined;
12639
12719
  spdt?: boolean | undefined;
12640
12720
  dpst?: boolean | undefined;
@@ -12679,6 +12759,135 @@ declare class SchematicText extends PrimitiveComponent<typeof schematicTextProps
12679
12759
  doInitialSchematicPrimitiveRender(): void;
12680
12760
  }
12681
12761
 
12762
+ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps> {
12763
+ isSchematicPrimitive: boolean;
12764
+ get config(): {
12765
+ componentName: string;
12766
+ zodProps: zod.ZodEffects<zod.ZodEffects<zod.ZodObject<{
12767
+ schX: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
12768
+ schY: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
12769
+ width: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12770
+ height: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12771
+ overlay: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
12772
+ padding: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12773
+ paddingLeft: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12774
+ paddingRight: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12775
+ paddingTop: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12776
+ paddingBottom: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12777
+ title: zod.ZodOptional<zod.ZodString>;
12778
+ titlePosition: zod.ZodDefault<zod.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
12779
+ titleColor: zod.ZodOptional<zod.ZodString>;
12780
+ titleFontSize: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
12781
+ titleInside: zod.ZodDefault<zod.ZodBoolean>;
12782
+ strokeStyle: zod.ZodDefault<zod.ZodEnum<["solid", "dashed"]>>;
12783
+ }, "strip", zod.ZodTypeAny, {
12784
+ schX: number;
12785
+ schY: number;
12786
+ titlePosition: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
12787
+ titleInside: boolean;
12788
+ strokeStyle: "solid" | "dashed";
12789
+ width?: number | undefined;
12790
+ height?: number | undefined;
12791
+ overlay?: string[] | undefined;
12792
+ padding?: number | undefined;
12793
+ paddingLeft?: number | undefined;
12794
+ paddingRight?: number | undefined;
12795
+ paddingTop?: number | undefined;
12796
+ paddingBottom?: number | undefined;
12797
+ title?: string | undefined;
12798
+ titleColor?: string | undefined;
12799
+ titleFontSize?: number | undefined;
12800
+ }, {
12801
+ schX: string | number;
12802
+ schY: string | number;
12803
+ width?: string | number | undefined;
12804
+ height?: string | number | undefined;
12805
+ overlay?: string[] | undefined;
12806
+ padding?: string | number | undefined;
12807
+ paddingLeft?: string | number | undefined;
12808
+ paddingRight?: string | number | undefined;
12809
+ paddingTop?: string | number | undefined;
12810
+ paddingBottom?: string | number | undefined;
12811
+ title?: string | undefined;
12812
+ titlePosition?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
12813
+ titleColor?: string | undefined;
12814
+ titleFontSize?: string | number | undefined;
12815
+ titleInside?: boolean | undefined;
12816
+ strokeStyle?: "solid" | "dashed" | undefined;
12817
+ }>, {
12818
+ schX: number;
12819
+ schY: number;
12820
+ titlePosition: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
12821
+ titleInside: boolean;
12822
+ strokeStyle: "solid" | "dashed";
12823
+ width?: number | undefined;
12824
+ height?: number | undefined;
12825
+ overlay?: string[] | undefined;
12826
+ padding?: number | undefined;
12827
+ paddingLeft?: number | undefined;
12828
+ paddingRight?: number | undefined;
12829
+ paddingTop?: number | undefined;
12830
+ paddingBottom?: number | undefined;
12831
+ title?: string | undefined;
12832
+ titleColor?: string | undefined;
12833
+ titleFontSize?: number | undefined;
12834
+ }, {
12835
+ schX: string | number;
12836
+ schY: string | number;
12837
+ width?: string | number | undefined;
12838
+ height?: string | number | undefined;
12839
+ overlay?: string[] | undefined;
12840
+ padding?: string | number | undefined;
12841
+ paddingLeft?: string | number | undefined;
12842
+ paddingRight?: string | number | undefined;
12843
+ paddingTop?: string | number | undefined;
12844
+ paddingBottom?: string | number | undefined;
12845
+ title?: string | undefined;
12846
+ titlePosition?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
12847
+ titleColor?: string | undefined;
12848
+ titleFontSize?: string | number | undefined;
12849
+ titleInside?: boolean | undefined;
12850
+ strokeStyle?: "solid" | "dashed" | undefined;
12851
+ }>, {
12852
+ schX: number;
12853
+ schY: number;
12854
+ titlePosition: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
12855
+ titleInside: boolean;
12856
+ strokeStyle: "solid" | "dashed";
12857
+ width?: number | undefined;
12858
+ height?: number | undefined;
12859
+ overlay?: string[] | undefined;
12860
+ padding?: number | undefined;
12861
+ paddingLeft?: number | undefined;
12862
+ paddingRight?: number | undefined;
12863
+ paddingTop?: number | undefined;
12864
+ paddingBottom?: number | undefined;
12865
+ title?: string | undefined;
12866
+ titleColor?: string | undefined;
12867
+ titleFontSize?: number | undefined;
12868
+ }, {
12869
+ schX: string | number;
12870
+ schY: string | number;
12871
+ width?: string | number | undefined;
12872
+ height?: string | number | undefined;
12873
+ overlay?: string[] | undefined;
12874
+ padding?: string | number | undefined;
12875
+ paddingLeft?: string | number | undefined;
12876
+ paddingRight?: string | number | undefined;
12877
+ paddingTop?: string | number | undefined;
12878
+ paddingBottom?: string | number | undefined;
12879
+ title?: string | undefined;
12880
+ titlePosition?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
12881
+ titleColor?: string | undefined;
12882
+ titleFontSize?: string | number | undefined;
12883
+ titleInside?: boolean | undefined;
12884
+ strokeStyle?: "solid" | "dashed" | undefined;
12885
+ }>;
12886
+ shouldRenderAsSchematicBox: boolean;
12887
+ };
12888
+ doInitialSchematicPrimitiveRender(): void;
12889
+ }
12890
+
12682
12891
  declare const useRenderedCircuit: (reactElements: React.ReactElement) => {
12683
12892
  isLoading: boolean;
12684
12893
  error?: Error | null;
@@ -12771,8 +12980,10 @@ declare const useLed: <PropsFromHook extends Omit<{
12771
12980
  } | null | undefined;
12772
12981
  children?: any;
12773
12982
  symbolName?: string | undefined;
12983
+ doNotPlace?: boolean | undefined;
12774
12984
  color?: string | undefined;
12775
12985
  wavelength?: string | undefined;
12986
+ schValLabel?: string | undefined;
12776
12987
  }, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<{
12777
12988
  name: string;
12778
12989
  pcbX?: string | number | undefined;
@@ -12842,8 +13053,10 @@ declare const useLed: <PropsFromHook extends Omit<{
12842
13053
  } | null | undefined;
12843
13054
  children?: any;
12844
13055
  symbolName?: string | undefined;
13056
+ doNotPlace?: boolean | undefined;
12845
13057
  color?: string | undefined;
12846
13058
  wavelength?: string | undefined;
13059
+ schValLabel?: string | undefined;
12847
13060
  }, "left" | "right" | "pin1" | "pin2" | "anode" | "cathode" | "pos" | "neg", PropsFromHook>;
12848
13061
 
12849
13062
  declare const useResistor: <PropsFromHook extends Omit<ResistorProps, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<ResistorProps, "left" | "right" | "pin1" | "pin2", PropsFromHook>;
@@ -13076,4 +13289,4 @@ declare module "react/jsx-runtime" {
13076
13289
  }
13077
13290
  }
13078
13291
 
13079
- export { type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, type AutoroutingProgressEvent, type AutoroutingStartEvent, Battery, Board, Capacitor, Chip, Circuit, type ComponentWithPins, Constraint, Crystal, Cutout, Diode, FabricationNotePath, FabricationNoteText, Footprint, Fuse, type GenericConnectionsAndSelectorsSel, type GenericLocalAutorouter, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, type LocalCacheEngine, Mosfet, Net, NetAlias, NormalComponent, type Obstacle, PcbTrace, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, type RenderPhase, type RenderPhaseFn, type RenderPhaseFunctions, type RenderPhaseStates, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SchematicText, type Sel, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, Subcircuit, Switch, Trace, TraceHint, Transistor, Via, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, sel, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
13292
+ export { type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, type AutoroutingProgressEvent, type AutoroutingStartEvent, Battery, Board, Capacitor, Chip, Circuit, type ComponentWithPins, Constraint, Crystal, Cutout, Diode, FabricationNotePath, FabricationNoteText, Footprint, Fuse, type GenericConnectionsAndSelectorsSel, type GenericLocalAutorouter, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, type LocalCacheEngine, Mosfet, Net, NetAlias, NormalComponent, type Obstacle, PcbTrace, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, type RenderPhase, type RenderPhaseFn, type RenderPhaseFunctions, type RenderPhaseStates, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SchematicBox, SchematicText, type Sel, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, Subcircuit, Switch, Trace, TraceHint, Transistor, Via, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, sel, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ __export(components_exports, {
40
40
  Renderable: () => Renderable,
41
41
  Resistor: () => Resistor,
42
42
  Resonator: () => Resonator,
43
+ SchematicBox: () => SchematicBox,
43
44
  SchematicText: () => SchematicText,
44
45
  SilkscreenCircle: () => SilkscreenCircle,
45
46
  SilkscreenLine: () => SilkscreenLine,
@@ -88,8 +89,8 @@ var orderedRenderPhases = [
88
89
  "SourceTraceRender",
89
90
  "SourceAddConnectivityMapKey",
90
91
  "SchematicComponentRender",
91
- "SchematicPrimitiveRender",
92
92
  "SchematicPortRender",
93
+ "SchematicPrimitiveRender",
93
94
  "SchematicLayout",
94
95
  "SchematicTraceRender",
95
96
  "PcbComponentRender",
@@ -1059,6 +1060,16 @@ var PrimitiveComponent2 = class extends Renderable {
1059
1060
  _getSchematicBoxDimensions() {
1060
1061
  return null;
1061
1062
  }
1063
+ _getSchematicBoxComponentDimensions() {
1064
+ if (this.getSchematicSymbol()) return null;
1065
+ if (!this.config.shouldRenderAsSchematicBox) return null;
1066
+ const { _parsedProps: props } = this;
1067
+ const dimensions = {
1068
+ schWidth: props.schWidth,
1069
+ schHeight: props.schHeight
1070
+ };
1071
+ return dimensions;
1072
+ }
1062
1073
  // TODO we shouldn't need to override this, errors can be rendered and handled
1063
1074
  // by the Renderable class, however, the Renderable class currently doesn't
1064
1075
  // have access to the database or cleanup
@@ -1125,7 +1136,7 @@ var ErrorPlaceholderComponent = class extends PrimitiveComponent2 {
1125
1136
  const schematicPosition = this._getGlobalSchematicPositionBeforeLayout();
1126
1137
  this.root.db.source_failed_to_create_component_error.insert({
1127
1138
  component_name: this._parsedProps.component_name,
1128
- message: this._parsedProps.message,
1139
+ message: this._parsedProps.error?.formattedError?._errors?.join("; ") || this._parsedProps.message,
1129
1140
  pcb_center: pcbPosition,
1130
1141
  schematic_center: schematicPosition
1131
1142
  });
@@ -8716,6 +8727,92 @@ var SchematicText = class extends PrimitiveComponent2 {
8716
8727
  }
8717
8728
  };
8718
8729
 
8730
+ // lib/components/primitive-components/SchematicBox.ts
8731
+ import { schematicBoxProps } from "@tscircuit/props";
8732
+ var SchematicBox = class extends PrimitiveComponent2 {
8733
+ isSchematicPrimitive = true;
8734
+ get config() {
8735
+ return {
8736
+ componentName: "SchematicBox",
8737
+ zodProps: schematicBoxProps,
8738
+ shouldRenderAsSchematicBox: true
8739
+ };
8740
+ }
8741
+ doInitialSchematicPrimitiveRender() {
8742
+ if (this.root?.schematicDisabled) return;
8743
+ const { db } = this.root;
8744
+ const { _parsedProps: props } = this;
8745
+ const result = schematicBoxProps.safeParse(props);
8746
+ if (!result.success) {
8747
+ console.error("Validation failed:", result.error.format());
8748
+ throw result.error;
8749
+ }
8750
+ const basePadding = 0.6;
8751
+ const generalPadding = typeof props.padding === "number" ? props.padding : 0;
8752
+ const paddingTop = typeof props.paddingTop === "number" ? props.paddingTop : generalPadding;
8753
+ const paddingBottom = typeof props.paddingBottom === "number" ? props.paddingBottom : generalPadding;
8754
+ const paddingLeft = typeof props.paddingLeft === "number" ? props.paddingLeft : generalPadding;
8755
+ const paddingRight = typeof props.paddingRight === "number" ? props.paddingRight : generalPadding;
8756
+ const hasOverlay = props.overlay && props.overlay.length > 0;
8757
+ const hasFixedSize = typeof props.width === "number" && typeof props.height === "number";
8758
+ let width;
8759
+ let height;
8760
+ let x;
8761
+ let y;
8762
+ if (hasOverlay) {
8763
+ const portsWithSelectors = props.overlay.map((selector) => ({
8764
+ selector,
8765
+ port: this.getSubcircuit().selectOne(selector, {
8766
+ type: "port"
8767
+ })
8768
+ })).filter(({ port }) => port != null);
8769
+ const portsWithPosition = portsWithSelectors.map(({ port }) => ({
8770
+ position: port._getGlobalSchematicPositionAfterLayout()
8771
+ }));
8772
+ if (portsWithPosition.length === 0) return;
8773
+ const xs = portsWithPosition.map((p) => p.position.x);
8774
+ const ys = portsWithPosition.map((p) => p.position.y);
8775
+ const minX = Math.min(...xs);
8776
+ const maxX = Math.max(...xs);
8777
+ const minY = Math.min(...ys);
8778
+ const maxY = Math.max(...ys);
8779
+ const rawWidth = maxX - minX;
8780
+ const rawHeight = maxY - minY;
8781
+ const defaultHorizontalPadding = rawWidth === 0 ? basePadding : 0;
8782
+ const defaultVerticalPadding = rawHeight === 0 ? basePadding : 0;
8783
+ const finalPaddingLeft = paddingLeft + defaultHorizontalPadding / 2;
8784
+ const finalPaddingRight = paddingRight + defaultHorizontalPadding / 2;
8785
+ const finalPaddingTop = paddingTop + defaultVerticalPadding / 2;
8786
+ const finalPaddingBottom = paddingBottom + defaultVerticalPadding / 2;
8787
+ const left = minX - finalPaddingLeft;
8788
+ const right = maxX + finalPaddingRight;
8789
+ const top = minY - finalPaddingBottom;
8790
+ const bottom = maxY + finalPaddingTop;
8791
+ width = right - left;
8792
+ height = bottom - top;
8793
+ x = left + (props.schX ?? 0);
8794
+ y = top + (props.schY ?? 0);
8795
+ } else if (hasFixedSize) {
8796
+ width = props.width;
8797
+ height = props.height;
8798
+ const centerX = typeof props.schX === "number" ? props.schX : 0;
8799
+ const centerY = typeof props.schY === "number" ? props.schY : 0;
8800
+ x = centerX - width / 2;
8801
+ y = centerY - height / 2;
8802
+ } else {
8803
+ return;
8804
+ }
8805
+ db.schematic_box.insert({
8806
+ height,
8807
+ width,
8808
+ x,
8809
+ y,
8810
+ is_dashed: props.strokeStyle === "dashed",
8811
+ schematic_component_id: ""
8812
+ });
8813
+ }
8814
+ };
8815
+
8719
8816
  // lib/RootCircuit.ts
8720
8817
  import { su as su5 } from "@tscircuit/circuit-json-util";
8721
8818
  import { isValidElement as isValidElement2 } from "react";
@@ -8725,7 +8822,7 @@ import { identity as identity4 } from "transformation-matrix";
8725
8822
  var package_default = {
8726
8823
  name: "@tscircuit/core",
8727
8824
  type: "module",
8728
- version: "0.0.433",
8825
+ version: "0.0.435",
8729
8826
  types: "dist/index.d.ts",
8730
8827
  main: "dist/index.js",
8731
8828
  module: "dist/index.js",
@@ -8757,7 +8854,7 @@ var package_default = {
8757
8854
  "@tscircuit/layout": "^0.0.28",
8758
8855
  "@tscircuit/log-soup": "^1.0.2",
8759
8856
  "@tscircuit/math-utils": "^0.0.18",
8760
- "@tscircuit/props": "^0.0.195",
8857
+ "@tscircuit/props": "^0.0.204",
8761
8858
  "@tscircuit/schematic-autolayout": "^0.0.6",
8762
8859
  "@tscircuit/simple-3d-svg": "^0.0.6",
8763
8860
  "@types/bun": "latest",
@@ -8770,7 +8867,7 @@ var package_default = {
8770
8867
  "circuit-json": "^0.0.190",
8771
8868
  "circuit-json-to-connectivity-map": "^0.0.22",
8772
8869
  "circuit-json-to-simple-3d": "^0.0.2",
8773
- "circuit-to-svg": "^0.0.136",
8870
+ "circuit-to-svg": "^0.0.138",
8774
8871
  concurrently: "^9.1.2",
8775
8872
  debug: "^4.3.6",
8776
8873
  "graphics-debug": "^0.0.4",
@@ -8780,7 +8877,7 @@ var package_default = {
8780
8877
  "pkg-pr-new": "^0.0.37",
8781
8878
  react: "^19.0.0",
8782
8879
  "react-dom": "^19.0.0",
8783
- "schematic-symbols": "^0.0.139",
8880
+ "schematic-symbols": "^0.0.142",
8784
8881
  "ts-expect": "^1.3.0",
8785
8882
  tsup: "^8.2.4"
8786
8883
  },
@@ -9205,6 +9302,7 @@ export {
9205
9302
  Resistor,
9206
9303
  Resonator,
9207
9304
  RootCircuit,
9305
+ SchematicBox,
9208
9306
  SchematicText,
9209
9307
  SilkscreenCircle,
9210
9308
  SilkscreenLine,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.434",
4
+ "version": "0.0.436",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@tscircuit/layout": "^0.0.28",
34
34
  "@tscircuit/log-soup": "^1.0.2",
35
35
  "@tscircuit/math-utils": "^0.0.18",
36
- "@tscircuit/props": "^0.0.195",
36
+ "@tscircuit/props": "^0.0.204",
37
37
  "@tscircuit/schematic-autolayout": "^0.0.6",
38
38
  "@tscircuit/simple-3d-svg": "^0.0.6",
39
39
  "@types/bun": "latest",
@@ -46,7 +46,7 @@
46
46
  "circuit-json": "^0.0.190",
47
47
  "circuit-json-to-connectivity-map": "^0.0.22",
48
48
  "circuit-json-to-simple-3d": "^0.0.2",
49
- "circuit-to-svg": "^0.0.136",
49
+ "circuit-to-svg": "^0.0.138",
50
50
  "concurrently": "^9.1.2",
51
51
  "debug": "^4.3.6",
52
52
  "graphics-debug": "^0.0.4",
@@ -56,7 +56,7 @@
56
56
  "pkg-pr-new": "^0.0.37",
57
57
  "react": "^19.0.0",
58
58
  "react-dom": "^19.0.0",
59
- "schematic-symbols": "^0.0.139",
59
+ "schematic-symbols": "^0.0.142",
60
60
  "ts-expect": "^1.3.0",
61
61
  "tsup": "^8.2.4"
62
62
  },