@tscircuit/core 0.0.60 → 0.0.62

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
@@ -4159,6 +4159,7 @@ declare class FabricationNotePath extends PrimitiveComponent<typeof fabricationN
4159
4159
  } | undefined;
4160
4160
  }>, "many">;
4161
4161
  strokeWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
4162
+ color: zod.ZodOptional<zod.ZodString>;
4162
4163
  }>, "strip", zod.ZodTypeAny, {
4163
4164
  route: {
4164
4165
  x: number;
@@ -4168,6 +4169,7 @@ declare class FabricationNotePath extends PrimitiveComponent<typeof fabricationN
4168
4169
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4169
4170
  }[];
4170
4171
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4172
+ color?: string | undefined;
4171
4173
  strokeWidth?: number | undefined;
4172
4174
  }, {
4173
4175
  route: {
@@ -4182,6 +4184,7 @@ declare class FabricationNotePath extends PrimitiveComponent<typeof fabricationN
4182
4184
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4183
4185
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4184
4186
  } | undefined;
4187
+ color?: string | undefined;
4185
4188
  strokeWidth?: string | number | undefined;
4186
4189
  }>;
4187
4190
  };
package/dist/index.js CHANGED
@@ -3395,6 +3395,7 @@ var FabricationNoteText = class extends PrimitiveComponent {
3395
3395
  font: props.font ?? "tscircuit2024",
3396
3396
  font_size: props.fontSize ?? 1,
3397
3397
  layer: "top",
3398
+ color: props.color,
3398
3399
  text: props.text ?? "",
3399
3400
  pcb_component_id: container.pcb_component_id
3400
3401
  });
@@ -3424,6 +3425,7 @@ var FabricationNotePath = class extends PrimitiveComponent {
3424
3425
  const fabrication_note_path = db.pcb_fabrication_note_path.insert({
3425
3426
  pcb_component_id: this.parent?.pcb_component_id,
3426
3427
  layer,
3428
+ color: props.color,
3427
3429
  route: props.route.map((p) => {
3428
3430
  const transformedPosition = applyToPoint5(transform, {
3429
3431
  x: p.x,
@@ -29,6 +29,7 @@ export class FabricationNotePath extends PrimitiveComponent<
29
29
  const fabrication_note_path = db.pcb_fabrication_note_path.insert({
30
30
  pcb_component_id: this.parent?.pcb_component_id!,
31
31
  layer,
32
+ color: props.color,
32
33
  route: props.route.map((p) => {
33
34
  const transformedPosition = applyToPoint(transform, {
34
35
  x: p.x,
@@ -18,6 +18,7 @@ export class FabricationNoteText extends PrimitiveComponent<
18
18
  font: props.font ?? "tscircuit2024",
19
19
  font_size: props.fontSize ?? 1,
20
20
  layer: "top",
21
+ color: props.color,
21
22
  text: props.text ?? "",
22
23
  pcb_component_id: container.pcb_component_id!,
23
24
  })
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tscircuit/core",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.0.60",
5
+ "version": "0.0.62",
6
6
  "types": "dist/index.d.ts",
7
7
  "main": "dist/index.js",
8
8
  "files": [
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@lume/kiwi": "^0.4.3",
37
- "@tscircuit/infgrid-ijump-astar": "^0.0.16",
38
- "@tscircuit/props": "^0.0.62",
39
- "@tscircuit/soup": "^0.0.67",
40
- "@tscircuit/soup-util": "^0.0.23",
37
+ "@tscircuit/infgrid-ijump-astar": "^0.0.17",
38
+ "@tscircuit/props": "^0.0.63",
39
+ "@tscircuit/soup": "^0.0.69",
40
+ "@tscircuit/soup-util": "^0.0.26",
41
41
  "circuit-json-to-connectivity-map": "^0.0.8",
42
42
  "footprinter": "^0.0.44",
43
43
  "react": "^18.3.1",