@tscircuit/core 0.0.680 → 0.0.682

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.js CHANGED
@@ -33,6 +33,7 @@ __export(components_exports, {
33
33
  NormalComponent: () => NormalComponent,
34
34
  PcbTrace: () => PcbTrace,
35
35
  PinHeader: () => PinHeader,
36
+ Pinout: () => Pinout,
36
37
  PlatedHole: () => PlatedHole,
37
38
  Port: () => Port,
38
39
  Potentiometer: () => Potentiometer,
@@ -11783,6 +11784,32 @@ var Chip = class extends NormalComponent {
11783
11784
  }
11784
11785
  };
11785
11786
 
11787
+ // lib/components/normal-components/Pinout.ts
11788
+ import { pinoutProps } from "@tscircuit/props";
11789
+ var Pinout = class extends Chip {
11790
+ constructor(props) {
11791
+ super(props);
11792
+ }
11793
+ get config() {
11794
+ return {
11795
+ ...super.config,
11796
+ componentName: "Pinout",
11797
+ zodProps: pinoutProps
11798
+ };
11799
+ }
11800
+ doInitialSourceRender() {
11801
+ const { db } = this.root;
11802
+ const { _parsedProps: props } = this;
11803
+ const source_component = db.source_component.insert({
11804
+ ftype: "simple_pinout",
11805
+ name: this.name,
11806
+ manufacturer_part_number: props.manufacturerPartNumber,
11807
+ supplier_part_numbers: props.supplierPartNumbers
11808
+ });
11809
+ this.source_component_id = source_component.source_component_id;
11810
+ }
11811
+ };
11812
+
11786
11813
  // lib/components/normal-components/Diode.ts
11787
11814
  import { diodeProps } from "@tscircuit/props";
11788
11815
  var Diode = class extends NormalComponent {
@@ -14000,7 +14027,7 @@ import { identity as identity5 } from "transformation-matrix";
14000
14027
  var package_default = {
14001
14028
  name: "@tscircuit/core",
14002
14029
  type: "module",
14003
- version: "0.0.679",
14030
+ version: "0.0.681",
14004
14031
  types: "dist/index.d.ts",
14005
14032
  main: "dist/index.js",
14006
14033
  module: "dist/index.js",
@@ -14036,10 +14063,10 @@ var package_default = {
14036
14063
  "@tscircuit/import-snippet": "^0.0.4",
14037
14064
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
14038
14065
  "@tscircuit/log-soup": "^1.0.2",
14039
- "@tscircuit/matchpack": "^0.0.9",
14066
+ "@tscircuit/matchpack": "^0.0.12",
14040
14067
  "@tscircuit/math-utils": "^0.0.18",
14041
14068
  "@tscircuit/miniflex": "^0.0.4",
14042
- "@tscircuit/props": "0.0.289",
14069
+ "@tscircuit/props": "0.0.292",
14043
14070
  "@tscircuit/schematic-autolayout": "^0.0.6",
14044
14071
  "@tscircuit/schematic-match-adapt": "^0.0.16",
14045
14072
  "@tscircuit/schematic-trace-solver": "^0.0.25",
@@ -14053,7 +14080,7 @@ var package_default = {
14053
14080
  "bun-match-svg": "0.0.12",
14054
14081
  "calculate-elbow": "^0.0.9",
14055
14082
  "chokidar-cli": "^3.0.0",
14056
- "circuit-json": "^0.0.236",
14083
+ "circuit-json": "^0.0.237",
14057
14084
  "circuit-json-to-bpc": "^0.0.13",
14058
14085
  "circuit-json-to-connectivity-map": "^0.0.22",
14059
14086
  "circuit-json-to-simple-3d": "^0.0.6",
@@ -14094,7 +14121,7 @@ var package_default = {
14094
14121
  dependencies: {
14095
14122
  "@flatten-js/core": "^1.6.2",
14096
14123
  "@lume/kiwi": "^0.4.3",
14097
- "calculate-packing": "0.0.29",
14124
+ "calculate-packing": "0.0.31",
14098
14125
  "css-select": "5.1.0",
14099
14126
  "format-si-unit": "^0.0.3",
14100
14127
  nanoid: "^5.0.7",
@@ -14521,6 +14548,7 @@ export {
14521
14548
  NormalComponent,
14522
14549
  PcbTrace,
14523
14550
  PinHeader,
14551
+ Pinout,
14524
14552
  PlatedHole,
14525
14553
  Port,
14526
14554
  Potentiometer,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.680",
4
+ "version": "0.0.682",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,10 +37,10 @@
37
37
  "@tscircuit/import-snippet": "^0.0.4",
38
38
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
39
39
  "@tscircuit/log-soup": "^1.0.2",
40
- "@tscircuit/matchpack": "^0.0.9",
40
+ "@tscircuit/matchpack": "^0.0.12",
41
41
  "@tscircuit/math-utils": "^0.0.18",
42
42
  "@tscircuit/miniflex": "^0.0.4",
43
- "@tscircuit/props": "0.0.289",
43
+ "@tscircuit/props": "0.0.292",
44
44
  "@tscircuit/schematic-autolayout": "^0.0.6",
45
45
  "@tscircuit/schematic-match-adapt": "^0.0.16",
46
46
  "@tscircuit/schematic-trace-solver": "^0.0.25",
@@ -54,7 +54,7 @@
54
54
  "bun-match-svg": "0.0.12",
55
55
  "calculate-elbow": "^0.0.9",
56
56
  "chokidar-cli": "^3.0.0",
57
- "circuit-json": "^0.0.236",
57
+ "circuit-json": "^0.0.237",
58
58
  "circuit-json-to-bpc": "^0.0.13",
59
59
  "circuit-json-to-connectivity-map": "^0.0.22",
60
60
  "circuit-json-to-simple-3d": "^0.0.6",
@@ -95,7 +95,7 @@
95
95
  "dependencies": {
96
96
  "@flatten-js/core": "^1.6.2",
97
97
  "@lume/kiwi": "^0.4.3",
98
- "calculate-packing": "0.0.29",
98
+ "calculate-packing": "0.0.31",
99
99
  "css-select": "5.1.0",
100
100
  "format-si-unit": "^0.0.3",
101
101
  "nanoid": "^5.0.7",