@tscircuit/core 0.0.1282 → 0.0.1283

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
@@ -4,7 +4,7 @@ import * as _tscircuit_props from '@tscircuit/props';
4
4
  import { PlatformConfig, traceProps, netProps, AutorouterProp, AutoroutingPhaseProps, subcircuitGroupProps, AutorouterConfig, PcbSx, portProps, SupplierPartNumbers, CadModelProp, SchematicPortArrangement, groupProps, boardProps, subcircuitProps, subpanelProps, capacitorProps, chipProps, pinoutProps, diodeProps, fuseProps, jumperProps, interconnectProps, solderjumperProps, ledProps, powerSourceProps, voltageSourceProps, currentSourceProps, resistorProps, constraintProps, drcCheckProps, autoroutingPhaseProps, fabricationNoteRectProps, fabricationNotePathProps, fabricationNoteTextProps, fabricationNoteDimensionProps, pcbNoteLineProps, pcbNoteRectProps, pcbNoteTextProps, pcbNotePathProps, pcbNoteDimensionProps, footprintProps, breakoutProps, breakoutPointProps, holeProps, pcbKeepoutProps, netLabelProps, cadmodelProps, cadassemblyProps, platedHoleProps, courtyardCircleProps, courtyardOutlineProps, courtyardRectProps, silkscreenCircleProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, silkscreenLineProps, smtPadProps, fiducialProps, traceHintProps, viaProps, copperPourProps, copperTextProps, cutoutProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, transistorProps, mosfetProps, opampProps, OpAmpPinLabels, switchProps, SwitchProps, testpointProps, schematicTextProps, schematicLineProps, schematicRectProps, schematicArcProps, schematicCircleProps, schematicPathProps, schematicBoxProps, schematicSectionProps, schematicTableProps, schematicRowProps, schematicCellProps, symbolProps, analogSimulationProps, voltageProbeProps, spicemodelProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
5
5
  export { kicadFootprintStrings } from '@tscircuit/props';
6
6
  import * as react from 'react';
7
- import react__default, { ReactElement, DetailedHTMLProps, SVGProps } from 'react';
7
+ import react__default, { ReactElement } from 'react';
8
8
  export { createElement } from 'react';
9
9
  import * as zod from 'zod';
10
10
  import { z, ZodType } from 'zod';
@@ -153999,16 +153999,20 @@ interface TscircuitElements {
153999
153999
  fiducial: _tscircuit_props.FiducialProps;
154000
154000
  jscad: any;
154001
154001
  }
154002
+
154003
+ type TscircuitElementsWithoutReactConflicts = Omit<TscircuitElements, "switch">;
154004
+ type SwitchSvgAttributeProps = Partial<Omit<_tscircuit_props.SwitchProps, "children" | "type">>;
154002
154005
  declare module "react" {
154006
+ interface SVGAttributes<T> extends SwitchSvgAttributeProps {
154007
+ }
154003
154008
  namespace JSX {
154004
- interface IntrinsicElements extends TscircuitElements {
154009
+ interface IntrinsicElements extends TscircuitElementsWithoutReactConflicts {
154005
154010
  }
154006
154011
  }
154007
154012
  }
154008
154013
  declare module "react/jsx-runtime" {
154009
154014
  namespace JSX {
154010
- interface IntrinsicElements extends TscircuitElements {
154011
- switch: DetailedHTMLProps<SVGProps<SVGSwitchElement>, SVGSwitchElement> | TscircuitElements["switch"];
154015
+ interface IntrinsicElements extends TscircuitElementsWithoutReactConflicts {
154012
154016
  }
154013
154017
  }
154014
154018
  }
package/dist/index.js CHANGED
@@ -21867,7 +21867,7 @@ import { identity as identity5 } from "transformation-matrix";
21867
21867
  var package_default = {
21868
21868
  name: "@tscircuit/core",
21869
21869
  type: "module",
21870
- version: "0.0.1281",
21870
+ version: "0.0.1282",
21871
21871
  types: "dist/index.d.ts",
21872
21872
  main: "dist/index.js",
21873
21873
  module: "dist/index.js",
@@ -21901,7 +21901,7 @@ var package_default = {
21901
21901
  "@tscircuit/alphabet": "0.0.25",
21902
21902
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
21903
21903
  "@tscircuit/capacity-autorouter": "^0.0.529",
21904
- "@tscircuit/checks": "0.0.133",
21904
+ "@tscircuit/checks": "0.0.134",
21905
21905
  "@tscircuit/circuit-json-util": "^0.0.95",
21906
21906
  "@tscircuit/common": "^0.0.20",
21907
21907
  "@tscircuit/copper-pour-solver": "^0.0.29",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1282",
4
+ "version": "0.0.1283",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "@tscircuit/alphabet": "0.0.25",
36
36
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
37
37
  "@tscircuit/capacity-autorouter": "^0.0.529",
38
- "@tscircuit/checks": "0.0.133",
38
+ "@tscircuit/checks": "0.0.134",
39
39
  "@tscircuit/circuit-json-util": "^0.0.95",
40
40
  "@tscircuit/common": "^0.0.20",
41
41
  "@tscircuit/copper-pour-solver": "^0.0.29",