@tscircuit/core 0.0.251 → 0.0.252

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
@@ -2098,6 +2098,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2098
2098
  schPinSpacing: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
2099
2099
  schWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
2100
2100
  schHeight: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
2101
+ noSchematicRepresentation: zod.ZodOptional<zod.ZodBoolean>;
2101
2102
  }>, "strip", zod.ZodTypeAny, {
2102
2103
  name: string;
2103
2104
  pcbX?: number | undefined;
@@ -2202,6 +2203,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2202
2203
  schPinSpacing?: number | undefined;
2203
2204
  schWidth?: number | undefined;
2204
2205
  schHeight?: number | undefined;
2206
+ noSchematicRepresentation?: boolean | undefined;
2205
2207
  }, {
2206
2208
  name: string;
2207
2209
  pcbX?: string | number | undefined;
@@ -2308,9 +2310,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
2308
2310
  schPinSpacing?: string | number | undefined;
2309
2311
  schWidth?: string | number | undefined;
2310
2312
  schHeight?: string | number | undefined;
2313
+ noSchematicRepresentation?: boolean | undefined;
2311
2314
  }>;
2312
2315
  shouldRenderAsSchematicBox: boolean;
2313
2316
  };
2317
+ doInitialSchematicComponentRender(): void;
2314
2318
  doInitialSourceRender(): void;
2315
2319
  doInitialPcbComponentRender(): void;
2316
2320
  }
package/dist/index.js CHANGED
@@ -5152,6 +5152,11 @@ var Chip = class extends NormalComponent {
5152
5152
  shouldRenderAsSchematicBox: true
5153
5153
  };
5154
5154
  }
5155
+ doInitialSchematicComponentRender() {
5156
+ const { _parsedProps: props } = this;
5157
+ if (props?.noSchematicRepresentation === true) return;
5158
+ super.doInitialSchematicComponentRender();
5159
+ }
5155
5160
  doInitialSourceRender() {
5156
5161
  const { db } = this.root;
5157
5162
  const { _parsedProps: props } = this;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.251",
4
+ "version": "0.0.252",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@tscircuit/footprinter": "^0.0.95",
44
44
  "@tscircuit/infgrid-ijump-astar": "^0.0.26",
45
45
  "@tscircuit/math-utils": "^0.0.5",
46
- "@tscircuit/props": "^0.0.124",
46
+ "@tscircuit/props": "^0.0.125",
47
47
  "@tscircuit/schematic-autolayout": "^0.0.6",
48
48
  "@tscircuit/soup-util": "^0.0.41",
49
49
  "circuit-json": "^0.0.126",