From 9252e4a4e98ae9b67f33a0a6f7574d452cf6ee50 Mon Sep 17 00:00:00 2001 From: Shehab Ahmed Date: Sun, 1 Feb 2026 14:11:45 +0200 Subject: [PATCH 1/5] add isDrawnWithInversionCircle propertie to props spec --- README.md | 1 + generated/COMPONENT_TYPES.md | 2 ++ generated/PROPS_OVERVIEW.md | 1 + lib/components/net.ts | 2 ++ 4 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 72873ca..e4e30e5 100644 --- a/README.md +++ b/README.md @@ -948,6 +948,7 @@ export interface NetProps { highlightColor?: string; isPowerNet?: boolean; isGroundNet?: boolean; + isDrawnWithInversionCircle?: boolean; } ``` diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index 12dcbd1..d53731a 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -2245,6 +2245,7 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean + isDrawnWithInversionCircle?: boolean } export const netProps = z.object({ name: z.string(), @@ -2252,6 +2253,7 @@ export const netProps = z.object({ highlightColor: z.string().optional(), isPowerNet: z.boolean().optional(), isGroundNet: z.boolean().optional(), + isDrawnWithInversionCircle: z.boolean().optional(), }) ``` diff --git a/generated/PROPS_OVERVIEW.md b/generated/PROPS_OVERVIEW.md index ed60886..6c0e6f8 100644 --- a/generated/PROPS_OVERVIEW.md +++ b/generated/PROPS_OVERVIEW.md @@ -1118,6 +1118,7 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean + isDrawnWithInversionCircle?: boolean } diff --git a/lib/components/net.ts b/lib/components/net.ts index 9d8b328..47f7442 100644 --- a/lib/components/net.ts +++ b/lib/components/net.ts @@ -7,6 +7,7 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean + isDrawnWithInversionCircle?: boolean } export const netProps = z.object({ @@ -15,6 +16,7 @@ export const netProps = z.object({ highlightColor: z.string().optional(), isPowerNet: z.boolean().optional(), isGroundNet: z.boolean().optional(), + isDrawnWithInversionCircle: z.boolean().optional(), }) type InferredNetProps = z.input From b1c1a50e0e777bc58674f1d4093574695bd61cf3 Mon Sep 17 00:00:00 2001 From: Shehab Ahmed Date: Sun, 1 Feb 2026 15:15:57 +0200 Subject: [PATCH 2/5] patch --- generated/COMPONENT_TYPES.md | 1 + lib/components/port.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index d53731a..e84e968 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -2903,6 +2903,7 @@ export const portProps = commonLayoutProps.extend({ direction: direction, connectsTo: z.string().or(z.array(z.string())).optional(), kicadPinMetadata: kicadPinMetadata.optional(), + isDrawnWithInversionCircle: z.boolean().optional(), }) ``` diff --git a/lib/components/port.ts b/lib/components/port.ts index 6ea850b..4b3d3e4 100644 --- a/lib/components/port.ts +++ b/lib/components/port.ts @@ -10,5 +10,6 @@ export const portProps = commonLayoutProps.extend({ direction: direction, connectsTo: z.string().or(z.array(z.string())).optional(), kicadPinMetadata: kicadPinMetadata.optional(), + isDrawnWithInversionCircle: z.boolean().optional(), }) export type PortProps = z.input From 78022d0abc4d1ac59ee945086c93d50e09feea5e Mon Sep 17 00:00:00 2001 From: Shehab Ahmed Date: Sun, 1 Feb 2026 15:19:05 +0200 Subject: [PATCH 3/5] patch --- README.md | 1 - generated/PROPS_OVERVIEW.md | 1 - lib/components/net.ts | 2 -- 3 files changed, 4 deletions(-) diff --git a/README.md b/README.md index e4e30e5..72873ca 100644 --- a/README.md +++ b/README.md @@ -948,7 +948,6 @@ export interface NetProps { highlightColor?: string; isPowerNet?: boolean; isGroundNet?: boolean; - isDrawnWithInversionCircle?: boolean; } ``` diff --git a/generated/PROPS_OVERVIEW.md b/generated/PROPS_OVERVIEW.md index 6c0e6f8..ed60886 100644 --- a/generated/PROPS_OVERVIEW.md +++ b/generated/PROPS_OVERVIEW.md @@ -1118,7 +1118,6 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean - isDrawnWithInversionCircle?: boolean } diff --git a/lib/components/net.ts b/lib/components/net.ts index 47f7442..9d8b328 100644 --- a/lib/components/net.ts +++ b/lib/components/net.ts @@ -7,7 +7,6 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean - isDrawnWithInversionCircle?: boolean } export const netProps = z.object({ @@ -16,7 +15,6 @@ export const netProps = z.object({ highlightColor: z.string().optional(), isPowerNet: z.boolean().optional(), isGroundNet: z.boolean().optional(), - isDrawnWithInversionCircle: z.boolean().optional(), }) type InferredNetProps = z.input From 75383468ce6ffd84142c55c7fed0de77acf4e7bd Mon Sep 17 00:00:00 2001 From: Shehab Ahmed Date: Sun, 1 Feb 2026 18:14:52 +0200 Subject: [PATCH 4/5] patch --- generated/COMPONENT_TYPES.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index e84e968..6007881 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -2245,7 +2245,6 @@ export interface NetProps { highlightColor?: string isPowerNet?: boolean isGroundNet?: boolean - isDrawnWithInversionCircle?: boolean } export const netProps = z.object({ name: z.string(), @@ -2253,7 +2252,6 @@ export const netProps = z.object({ highlightColor: z.string().optional(), isPowerNet: z.boolean().optional(), isGroundNet: z.boolean().optional(), - isDrawnWithInversionCircle: z.boolean().optional(), }) ``` From ac1f521c9850dfdd5bf986dd960f35f39b63dae3 Mon Sep 17 00:00:00 2001 From: Shehab Ahmed Date: Thu, 5 Feb 2026 12:59:33 +0200 Subject: [PATCH 5/5] patch --- generated/COMPONENT_TYPES.md | 3 ++- lib/common/schStyle.ts | 2 ++ lib/components/port.ts | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index 616fd4b..6a5855a 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -641,12 +641,14 @@ export const point3 = z.object({ export interface SchStyle { defaultPassiveSize?: "xs" | "sm" | "md" | string | number defaultCapacitorOrientation?: "vertical" | "none" + inversionCircle?: boolean } export const schStyle = z.object({ defaultPassiveSize: z .union([z.enum(["xs", "sm", "md"]), distance]) .optional(), defaultCapacitorOrientation: z.enum(["vertical", "none"]).optional(), + inversionCircle: z.boolean().optional(), }) ``` @@ -2950,7 +2952,6 @@ export const portProps = commonLayoutProps.extend({ direction: direction, connectsTo: z.string().or(z.array(z.string())).optional(), kicadPinMetadata: kicadPinMetadata.optional(), - isDrawnWithInversionCircle: z.boolean().optional(), }) ``` diff --git a/lib/common/schStyle.ts b/lib/common/schStyle.ts index 7cc2004..61dc1d6 100644 --- a/lib/common/schStyle.ts +++ b/lib/common/schStyle.ts @@ -5,6 +5,7 @@ import { z } from "zod" export interface SchStyle { defaultPassiveSize?: "xs" | "sm" | "md" | string | number defaultCapacitorOrientation?: "vertical" | "none" + inversionCircle?: boolean } export const schStyle = z.object({ @@ -12,6 +13,7 @@ export const schStyle = z.object({ .union([z.enum(["xs", "sm", "md"]), distance]) .optional(), defaultCapacitorOrientation: z.enum(["vertical", "none"]).optional(), + inversionCircle: z.boolean().optional(), }) expectTypesMatch>(true) diff --git a/lib/components/port.ts b/lib/components/port.ts index 4b3d3e4..6ea850b 100644 --- a/lib/components/port.ts +++ b/lib/components/port.ts @@ -10,6 +10,5 @@ export const portProps = commonLayoutProps.extend({ direction: direction, connectsTo: z.string().or(z.array(z.string())).optional(), kicadPinMetadata: kicadPinMetadata.optional(), - isDrawnWithInversionCircle: z.boolean().optional(), }) export type PortProps = z.input