@tscircuit/core 0.0.1184 → 0.0.1185

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
@@ -74591,6 +74591,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
74591
74591
  holeHeight: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
74592
74592
  rectPadWidth: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
74593
74593
  rectPadHeight: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
74594
+ rectBorderRadius: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
74594
74595
  portHints: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">>;
74595
74596
  holeOffsetX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
74596
74597
  holeOffsetY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
@@ -74640,6 +74641,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
74640
74641
  coveredWithSolderMask?: boolean | undefined;
74641
74642
  holeOffsetX?: number | undefined;
74642
74643
  holeOffsetY?: number | undefined;
74644
+ rectBorderRadius?: number | undefined;
74643
74645
  holeShape?: "pill" | undefined;
74644
74646
  padShape?: "rect" | undefined;
74645
74647
  }, {
@@ -74686,6 +74688,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
74686
74688
  coveredWithSolderMask?: boolean | undefined;
74687
74689
  holeOffsetX?: string | number | undefined;
74688
74690
  holeOffsetY?: string | number | undefined;
74691
+ rectBorderRadius?: string | number | undefined;
74689
74692
  holeShape?: "pill" | undefined;
74690
74693
  padShape?: "rect" | undefined;
74691
74694
  }>, zod.ZodObject<Omit<{
@@ -75091,6 +75094,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
75091
75094
  coveredWithSolderMask?: boolean | undefined;
75092
75095
  holeOffsetX?: number | undefined;
75093
75096
  holeOffsetY?: number | undefined;
75097
+ rectBorderRadius?: number | undefined;
75094
75098
  holeShape?: "pill" | undefined;
75095
75099
  padShape?: "rect" | undefined;
75096
75100
  } | {
@@ -75361,6 +75365,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
75361
75365
  coveredWithSolderMask?: boolean | undefined;
75362
75366
  holeOffsetX?: string | number | undefined;
75363
75367
  holeOffsetY?: string | number | undefined;
75368
+ rectBorderRadius?: string | number | undefined;
75364
75369
  holeShape?: "pill" | undefined;
75365
75370
  padShape?: "rect" | undefined;
75366
75371
  } | {
@@ -75631,6 +75636,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
75631
75636
  coveredWithSolderMask?: boolean | undefined;
75632
75637
  holeOffsetX?: number | undefined;
75633
75638
  holeOffsetY?: number | undefined;
75639
+ rectBorderRadius?: number | undefined;
75634
75640
  holeShape?: "pill" | undefined;
75635
75641
  padShape?: "rect" | undefined;
75636
75642
  } | {
package/dist/index.js CHANGED
@@ -7148,6 +7148,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
7148
7148
  pad_shape: "rect",
7149
7149
  hole_ccw_rotation: props.pcbRotation,
7150
7150
  rect_ccw_rotation: props.pcbRotation,
7151
+ rect_border_radius: props.rectBorderRadius,
7151
7152
  port_hints: this.getNameAndAliases(),
7152
7153
  x: position.x,
7153
7154
  y: position.y,
@@ -7169,6 +7170,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
7169
7170
  hole_offset_x: props.holeOffsetX,
7170
7171
  hole_offset_y: props.holeOffsetY,
7171
7172
  shape: "pill_hole_with_rect_pad",
7173
+ rect_border_radius: props.rectBorderRadius,
7172
7174
  port_hints: this.getNameAndAliases(),
7173
7175
  x: position.x,
7174
7176
  y: position.y,
@@ -8262,6 +8264,7 @@ var createComponentsFromCircuitJson = ({
8262
8264
  holeHeight: elm.hole_height,
8263
8265
  rectPadWidth: elm.rect_pad_width,
8264
8266
  rectPadHeight: elm.rect_pad_height,
8267
+ rectBorderRadius: elm.rect_border_radius,
8265
8268
  portHints: elm.port_hints,
8266
8269
  holeOffsetX: elm.hole_offset_x,
8267
8270
  holeOffsetY: elm.hole_offset_y
@@ -8279,6 +8282,7 @@ var createComponentsFromCircuitJson = ({
8279
8282
  holeHeight: elm.hole_height,
8280
8283
  rectPadWidth: elm.rect_pad_width,
8281
8284
  rectPadHeight: elm.rect_pad_height,
8285
+ rectBorderRadius: elm.rect_border_radius,
8282
8286
  portHints: elm.port_hints,
8283
8287
  holeOffsetX: elm.hole_offset_x,
8284
8288
  holeOffsetY: elm.hole_offset_y,
@@ -20010,7 +20014,7 @@ import { identity as identity5 } from "transformation-matrix";
20010
20014
  var package_default = {
20011
20015
  name: "@tscircuit/core",
20012
20016
  type: "module",
20013
- version: "0.0.1183",
20017
+ version: "0.0.1184",
20014
20018
  types: "dist/index.d.ts",
20015
20019
  main: "dist/index.js",
20016
20020
  module: "dist/index.js",
@@ -20056,7 +20060,7 @@ var package_default = {
20056
20060
  "@tscircuit/math-utils": "^0.0.36",
20057
20061
  "@tscircuit/miniflex": "^0.0.4",
20058
20062
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
20059
- "@tscircuit/props": "^0.0.511",
20063
+ "@tscircuit/props": "^0.0.512",
20060
20064
  "@tscircuit/schematic-match-adapt": "^0.0.16",
20061
20065
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
20062
20066
  "@tscircuit/solver-utils": "^0.0.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1184",
4
+ "version": "0.0.1185",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "@tscircuit/math-utils": "^0.0.36",
48
48
  "@tscircuit/miniflex": "^0.0.4",
49
49
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
50
- "@tscircuit/props": "^0.0.511",
50
+ "@tscircuit/props": "^0.0.512",
51
51
  "@tscircuit/schematic-match-adapt": "^0.0.16",
52
52
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
53
53
  "@tscircuit/solver-utils": "^0.0.3",