@tscircuit/core 0.0.732 → 0.0.733

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
@@ -17686,7 +17686,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
17686
17686
  pcbMarginY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
17687
17687
  pcbRelative: zod.ZodOptional<zod.ZodBoolean>;
17688
17688
  relative: zod.ZodOptional<zod.ZodBoolean>;
17689
- }, "pcbRotation" | "layer"> & {
17689
+ }, "layer"> & {
17690
17690
  name: zod.ZodOptional<zod.ZodString>;
17691
17691
  connectsTo: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>;
17692
17692
  shape: zod.ZodLiteral<"oval">;
@@ -17703,6 +17703,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
17703
17703
  outerHeight: number;
17704
17704
  pcbX?: number | undefined;
17705
17705
  pcbY?: number | undefined;
17706
+ pcbRotation?: number | undefined;
17706
17707
  pcbPositionAnchor?: string | undefined;
17707
17708
  pcbMarginTop?: number | undefined;
17708
17709
  pcbMarginRight?: number | undefined;
@@ -17727,6 +17728,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
17727
17728
  holeHeight: string | number;
17728
17729
  pcbX?: string | number | undefined;
17729
17730
  pcbY?: string | number | undefined;
17731
+ pcbRotation?: string | number | undefined;
17730
17732
  pcbPositionAnchor?: string | undefined;
17731
17733
  pcbMarginTop?: string | number | undefined;
17732
17734
  pcbMarginRight?: string | number | undefined;
@@ -18007,6 +18009,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
18007
18009
  outerHeight: number;
18008
18010
  pcbX?: number | undefined;
18009
18011
  pcbY?: number | undefined;
18012
+ pcbRotation?: number | undefined;
18010
18013
  pcbPositionAnchor?: string | undefined;
18011
18014
  pcbMarginTop?: number | undefined;
18012
18015
  pcbMarginRight?: number | undefined;
@@ -18119,6 +18122,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
18119
18122
  holeHeight: string | number;
18120
18123
  pcbX?: string | number | undefined;
18121
18124
  pcbY?: string | number | undefined;
18125
+ pcbRotation?: string | number | undefined;
18122
18126
  pcbPositionAnchor?: string | undefined;
18123
18127
  pcbMarginTop?: string | number | undefined;
18124
18128
  pcbMarginRight?: string | number | undefined;
package/dist/index.js CHANGED
@@ -2403,7 +2403,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
2403
2403
  y: position.y,
2404
2404
  layers: ["top", "bottom"],
2405
2405
  subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
2406
- pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
2406
+ pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
2407
+ ccw_rotation: props.pcbRotation ?? 0
2407
2408
  // NOTE: currently PcbPlatedHoleOval erroneously includes both the shape "pill" and "oval"
2408
2409
  });
2409
2410
  this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
@@ -15299,7 +15300,7 @@ import { identity as identity6 } from "transformation-matrix";
15299
15300
  var package_default = {
15300
15301
  name: "@tscircuit/core",
15301
15302
  type: "module",
15302
- version: "0.0.731",
15303
+ version: "0.0.732",
15303
15304
  types: "dist/index.d.ts",
15304
15305
  main: "dist/index.js",
15305
15306
  module: "dist/index.js",
@@ -15338,7 +15339,7 @@ var package_default = {
15338
15339
  "@tscircuit/matchpack": "^0.0.16",
15339
15340
  "@tscircuit/math-utils": "^0.0.21",
15340
15341
  "@tscircuit/miniflex": "^0.0.4",
15341
- "@tscircuit/props": "0.0.326",
15342
+ "@tscircuit/props": "0.0.327",
15342
15343
  "@tscircuit/schematic-autolayout": "^0.0.6",
15343
15344
  "@tscircuit/schematic-match-adapt": "^0.0.16",
15344
15345
  "@tscircuit/schematic-trace-solver": "^0.0.37",
@@ -15352,11 +15353,11 @@ var package_default = {
15352
15353
  "bun-match-svg": "0.0.12",
15353
15354
  "calculate-elbow": "^0.0.12",
15354
15355
  "chokidar-cli": "^3.0.0",
15355
- "circuit-json": "^0.0.255",
15356
+ "circuit-json": "^0.0.256",
15356
15357
  "circuit-json-to-bpc": "^0.0.13",
15357
15358
  "circuit-json-to-connectivity-map": "^0.0.22",
15358
15359
  "circuit-json-to-simple-3d": "^0.0.8",
15359
- "circuit-to-svg": "^0.0.191",
15360
+ "circuit-to-svg": "^0.0.193",
15360
15361
  concurrently: "^9.1.2",
15361
15362
  "connectivity-map": "^1.0.0",
15362
15363
  debug: "^4.3.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.732",
4
+ "version": "0.0.733",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@tscircuit/matchpack": "^0.0.16",
41
41
  "@tscircuit/math-utils": "^0.0.21",
42
42
  "@tscircuit/miniflex": "^0.0.4",
43
- "@tscircuit/props": "0.0.326",
43
+ "@tscircuit/props": "0.0.327",
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.37",
@@ -54,11 +54,11 @@
54
54
  "bun-match-svg": "0.0.12",
55
55
  "calculate-elbow": "^0.0.12",
56
56
  "chokidar-cli": "^3.0.0",
57
- "circuit-json": "^0.0.255",
57
+ "circuit-json": "^0.0.256",
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.8",
61
- "circuit-to-svg": "^0.0.191",
61
+ "circuit-to-svg": "^0.0.193",
62
62
  "concurrently": "^9.1.2",
63
63
  "connectivity-map": "^1.0.0",
64
64
  "debug": "^4.3.6",