@tscircuit/core 0.0.457 → 0.0.459
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 +19 -108
- package/dist/index.js +12 -13
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2206,7 +2206,6 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
|
|
|
2206
2206
|
}>;
|
|
2207
2207
|
sourceFtype: "simple_capacitor";
|
|
2208
2208
|
};
|
|
2209
|
-
initPorts(): void;
|
|
2210
2209
|
_getSchematicSymbolDisplayValue(): string | undefined;
|
|
2211
2210
|
doInitialCreateNetsFromProps(): void;
|
|
2212
2211
|
doInitialCreateTracesFromProps(): void;
|
|
@@ -2477,6 +2476,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2477
2476
|
} & {
|
|
2478
2477
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
2479
2478
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
2479
|
+
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
2480
2480
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2481
2481
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2482
2482
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -2794,6 +2794,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2794
2794
|
schHeight?: number | undefined;
|
|
2795
2795
|
manufacturerPartNumber?: string | undefined;
|
|
2796
2796
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
2797
|
+
showPinAliases?: boolean | undefined;
|
|
2797
2798
|
internallyConnectedPins?: string[][] | undefined;
|
|
2798
2799
|
externallyConnectedPins?: string[][] | undefined;
|
|
2799
2800
|
schPinArrangement?: {
|
|
@@ -2939,6 +2940,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2939
2940
|
schHeight?: string | number | undefined;
|
|
2940
2941
|
manufacturerPartNumber?: string | undefined;
|
|
2941
2942
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
2943
|
+
showPinAliases?: boolean | undefined;
|
|
2942
2944
|
internallyConnectedPins?: string[][] | undefined;
|
|
2943
2945
|
externallyConnectedPins?: string[][] | undefined;
|
|
2944
2946
|
schPinArrangement?: {
|
|
@@ -6543,6 +6545,7 @@ declare class NetAlias extends PrimitiveComponent<typeof netAliasProps> {
|
|
|
6543
6545
|
componentName: string;
|
|
6544
6546
|
zodProps: zod.ZodObject<{
|
|
6545
6547
|
net: zod.ZodOptional<zod.ZodString>;
|
|
6548
|
+
connection: zod.ZodOptional<zod.ZodString>;
|
|
6546
6549
|
schX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
6547
6550
|
schY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
6548
6551
|
schRotation: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -6552,12 +6555,14 @@ declare class NetAlias extends PrimitiveComponent<typeof netAliasProps> {
|
|
|
6552
6555
|
schY?: number | undefined;
|
|
6553
6556
|
schRotation?: number | undefined;
|
|
6554
6557
|
net?: string | undefined;
|
|
6558
|
+
connection?: string | undefined;
|
|
6555
6559
|
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
6556
6560
|
}, {
|
|
6557
6561
|
schX?: string | number | undefined;
|
|
6558
6562
|
schY?: string | number | undefined;
|
|
6559
6563
|
schRotation?: string | number | undefined;
|
|
6560
6564
|
net?: string | undefined;
|
|
6565
|
+
connection?: string | undefined;
|
|
6561
6566
|
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
6562
6567
|
}>;
|
|
6563
6568
|
};
|
|
@@ -8792,6 +8797,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
8792
8797
|
holeDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
8793
8798
|
platedDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
8794
8799
|
pinLabels: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8800
|
+
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
8795
8801
|
facingDirection: zod.ZodOptional<zod.ZodEnum<["left", "right"]>>;
|
|
8796
8802
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
8797
8803
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -8990,6 +8996,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
8990
8996
|
topPinCount?: number | undefined;
|
|
8991
8997
|
bottomPinCount?: number | undefined;
|
|
8992
8998
|
} | undefined;
|
|
8999
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
8993
9000
|
holeDiameter?: number | undefined;
|
|
8994
9001
|
pitch?: number | undefined;
|
|
8995
9002
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
@@ -9095,6 +9102,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
9095
9102
|
topPinCount?: number | undefined;
|
|
9096
9103
|
bottomPinCount?: number | undefined;
|
|
9097
9104
|
} | undefined;
|
|
9105
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
9098
9106
|
holeDiameter?: string | number | undefined;
|
|
9099
9107
|
pitch?: string | number | undefined;
|
|
9100
9108
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
@@ -10615,6 +10623,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
10615
10623
|
} & {
|
|
10616
10624
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
10617
10625
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
10626
|
+
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
10618
10627
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
10619
10628
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
10620
10629
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -10932,6 +10941,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
10932
10941
|
schHeight?: number | undefined;
|
|
10933
10942
|
manufacturerPartNumber?: string | undefined;
|
|
10934
10943
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
10944
|
+
showPinAliases?: boolean | undefined;
|
|
10935
10945
|
internallyConnectedPins?: string[][] | undefined;
|
|
10936
10946
|
externallyConnectedPins?: string[][] | undefined;
|
|
10937
10947
|
schPinArrangement?: {
|
|
@@ -11077,6 +11087,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
11077
11087
|
schHeight?: string | number | undefined;
|
|
11078
11088
|
manufacturerPartNumber?: string | undefined;
|
|
11079
11089
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
11090
|
+
showPinAliases?: boolean | undefined;
|
|
11080
11091
|
internallyConnectedPins?: string[][] | undefined;
|
|
11081
11092
|
externallyConnectedPins?: string[][] | undefined;
|
|
11082
11093
|
schPinArrangement?: {
|
|
@@ -12949,47 +12960,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
12949
12960
|
paddingTop: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
12950
12961
|
paddingBottom: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
12951
12962
|
title: zod.ZodOptional<zod.ZodString>;
|
|
12952
|
-
|
|
12953
|
-
x: zod.ZodOptional<zod.ZodObject<{
|
|
12954
|
-
x: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
12955
|
-
y: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
12956
|
-
}, "strip", zod.ZodTypeAny, {
|
|
12957
|
-
x: number;
|
|
12958
|
-
y: number;
|
|
12959
|
-
}, {
|
|
12960
|
-
x: string | number;
|
|
12961
|
-
y: string | number;
|
|
12962
|
-
}>>;
|
|
12963
|
-
y: zod.ZodOptional<zod.ZodObject<{
|
|
12964
|
-
x: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
12965
|
-
y: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
12966
|
-
}, "strip", zod.ZodTypeAny, {
|
|
12967
|
-
x: number;
|
|
12968
|
-
y: number;
|
|
12969
|
-
}, {
|
|
12970
|
-
x: string | number;
|
|
12971
|
-
y: string | number;
|
|
12972
|
-
}>>;
|
|
12973
|
-
}, "strip", zod.ZodTypeAny, {
|
|
12974
|
-
x?: {
|
|
12975
|
-
x: number;
|
|
12976
|
-
y: number;
|
|
12977
|
-
} | undefined;
|
|
12978
|
-
y?: {
|
|
12979
|
-
x: number;
|
|
12980
|
-
y: number;
|
|
12981
|
-
} | undefined;
|
|
12982
|
-
}, {
|
|
12983
|
-
x?: {
|
|
12984
|
-
x: string | number;
|
|
12985
|
-
y: string | number;
|
|
12986
|
-
} | undefined;
|
|
12987
|
-
y?: {
|
|
12988
|
-
x: string | number;
|
|
12989
|
-
y: string | number;
|
|
12990
|
-
} | undefined;
|
|
12991
|
-
}>>;
|
|
12992
|
-
titleAnchorAlignment: zod.ZodDefault<zod.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
|
|
12963
|
+
titleAlignment: zod.ZodDefault<zod.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
|
|
12993
12964
|
titleColor: zod.ZodOptional<zod.ZodString>;
|
|
12994
12965
|
titleFontSize: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
12995
12966
|
titleInside: zod.ZodDefault<zod.ZodBoolean>;
|
|
@@ -12997,7 +12968,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
12997
12968
|
}, "strip", zod.ZodTypeAny, {
|
|
12998
12969
|
schX: number;
|
|
12999
12970
|
schY: number;
|
|
13000
|
-
|
|
12971
|
+
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
13001
12972
|
titleInside: boolean;
|
|
13002
12973
|
strokeStyle: "solid" | "dashed";
|
|
13003
12974
|
width?: number | undefined;
|
|
@@ -13009,16 +12980,6 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13009
12980
|
paddingBottom?: number | undefined;
|
|
13010
12981
|
overlay?: string[] | undefined;
|
|
13011
12982
|
title?: string | undefined;
|
|
13012
|
-
titleAnchorPosition?: {
|
|
13013
|
-
x?: {
|
|
13014
|
-
x: number;
|
|
13015
|
-
y: number;
|
|
13016
|
-
} | undefined;
|
|
13017
|
-
y?: {
|
|
13018
|
-
x: number;
|
|
13019
|
-
y: number;
|
|
13020
|
-
} | undefined;
|
|
13021
|
-
} | undefined;
|
|
13022
12983
|
titleColor?: string | undefined;
|
|
13023
12984
|
titleFontSize?: number | undefined;
|
|
13024
12985
|
}, {
|
|
@@ -13033,17 +12994,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13033
12994
|
paddingBottom?: string | number | undefined;
|
|
13034
12995
|
overlay?: string[] | undefined;
|
|
13035
12996
|
title?: string | undefined;
|
|
13036
|
-
|
|
13037
|
-
x?: {
|
|
13038
|
-
x: string | number;
|
|
13039
|
-
y: string | number;
|
|
13040
|
-
} | undefined;
|
|
13041
|
-
y?: {
|
|
13042
|
-
x: string | number;
|
|
13043
|
-
y: string | number;
|
|
13044
|
-
} | undefined;
|
|
13045
|
-
} | undefined;
|
|
13046
|
-
titleAnchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
12997
|
+
titleAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
13047
12998
|
titleColor?: string | undefined;
|
|
13048
12999
|
titleFontSize?: string | number | undefined;
|
|
13049
13000
|
titleInside?: boolean | undefined;
|
|
@@ -13051,7 +13002,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13051
13002
|
}>, {
|
|
13052
13003
|
schX: number;
|
|
13053
13004
|
schY: number;
|
|
13054
|
-
|
|
13005
|
+
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
13055
13006
|
titleInside: boolean;
|
|
13056
13007
|
strokeStyle: "solid" | "dashed";
|
|
13057
13008
|
width?: number | undefined;
|
|
@@ -13063,16 +13014,6 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13063
13014
|
paddingBottom?: number | undefined;
|
|
13064
13015
|
overlay?: string[] | undefined;
|
|
13065
13016
|
title?: string | undefined;
|
|
13066
|
-
titleAnchorPosition?: {
|
|
13067
|
-
x?: {
|
|
13068
|
-
x: number;
|
|
13069
|
-
y: number;
|
|
13070
|
-
} | undefined;
|
|
13071
|
-
y?: {
|
|
13072
|
-
x: number;
|
|
13073
|
-
y: number;
|
|
13074
|
-
} | undefined;
|
|
13075
|
-
} | undefined;
|
|
13076
13017
|
titleColor?: string | undefined;
|
|
13077
13018
|
titleFontSize?: number | undefined;
|
|
13078
13019
|
}, {
|
|
@@ -13087,17 +13028,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13087
13028
|
paddingBottom?: string | number | undefined;
|
|
13088
13029
|
overlay?: string[] | undefined;
|
|
13089
13030
|
title?: string | undefined;
|
|
13090
|
-
|
|
13091
|
-
x?: {
|
|
13092
|
-
x: string | number;
|
|
13093
|
-
y: string | number;
|
|
13094
|
-
} | undefined;
|
|
13095
|
-
y?: {
|
|
13096
|
-
x: string | number;
|
|
13097
|
-
y: string | number;
|
|
13098
|
-
} | undefined;
|
|
13099
|
-
} | undefined;
|
|
13100
|
-
titleAnchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
13031
|
+
titleAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
13101
13032
|
titleColor?: string | undefined;
|
|
13102
13033
|
titleFontSize?: string | number | undefined;
|
|
13103
13034
|
titleInside?: boolean | undefined;
|
|
@@ -13105,7 +13036,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13105
13036
|
}>, {
|
|
13106
13037
|
schX: number;
|
|
13107
13038
|
schY: number;
|
|
13108
|
-
|
|
13039
|
+
titleAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
13109
13040
|
titleInside: boolean;
|
|
13110
13041
|
strokeStyle: "solid" | "dashed";
|
|
13111
13042
|
width?: number | undefined;
|
|
@@ -13117,16 +13048,6 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13117
13048
|
paddingBottom?: number | undefined;
|
|
13118
13049
|
overlay?: string[] | undefined;
|
|
13119
13050
|
title?: string | undefined;
|
|
13120
|
-
titleAnchorPosition?: {
|
|
13121
|
-
x?: {
|
|
13122
|
-
x: number;
|
|
13123
|
-
y: number;
|
|
13124
|
-
} | undefined;
|
|
13125
|
-
y?: {
|
|
13126
|
-
x: number;
|
|
13127
|
-
y: number;
|
|
13128
|
-
} | undefined;
|
|
13129
|
-
} | undefined;
|
|
13130
13051
|
titleColor?: string | undefined;
|
|
13131
13052
|
titleFontSize?: number | undefined;
|
|
13132
13053
|
}, {
|
|
@@ -13141,17 +13062,7 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
13141
13062
|
paddingBottom?: string | number | undefined;
|
|
13142
13063
|
overlay?: string[] | undefined;
|
|
13143
13064
|
title?: string | undefined;
|
|
13144
|
-
|
|
13145
|
-
x?: {
|
|
13146
|
-
x: string | number;
|
|
13147
|
-
y: string | number;
|
|
13148
|
-
} | undefined;
|
|
13149
|
-
y?: {
|
|
13150
|
-
x: string | number;
|
|
13151
|
-
y: string | number;
|
|
13152
|
-
} | undefined;
|
|
13153
|
-
} | undefined;
|
|
13154
|
-
titleAnchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
13065
|
+
titleAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
13155
13066
|
titleColor?: string | undefined;
|
|
13156
13067
|
titleFontSize?: string | number | undefined;
|
|
13157
13068
|
titleInside?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -2926,12 +2926,19 @@ var Port = class extends PrimitiveComponent2 {
|
|
|
2926
2926
|
}[localPortInfo.side];
|
|
2927
2927
|
}
|
|
2928
2928
|
const sourcePort = db.source_port.get(this.source_port_id);
|
|
2929
|
-
|
|
2929
|
+
const labelHints = [];
|
|
2930
2930
|
for (const portHint of sourcePort?.port_hints ?? []) {
|
|
2931
2931
|
if (portHint.match(/^(pin)?\d+$/)) continue;
|
|
2932
2932
|
if (portHint.match(/^(left|right)/) && !sourcePort?.name.match(/^(left|right)/))
|
|
2933
2933
|
continue;
|
|
2934
|
-
|
|
2934
|
+
labelHints.push(portHint);
|
|
2935
|
+
}
|
|
2936
|
+
let bestDisplayPinLabel = void 0;
|
|
2937
|
+
const showPinAliases = this.parent?.props?.showPinAliases;
|
|
2938
|
+
if (showPinAliases && labelHints.length > 0) {
|
|
2939
|
+
bestDisplayPinLabel = labelHints.join("/");
|
|
2940
|
+
} else if (labelHints.length > 0) {
|
|
2941
|
+
bestDisplayPinLabel = labelHints[labelHints.length - 1];
|
|
2935
2942
|
}
|
|
2936
2943
|
const schematic_port = db.schematic_port.insert({
|
|
2937
2944
|
schematic_component_id: this.parent?.schematic_component_id,
|
|
@@ -7870,14 +7877,6 @@ var Capacitor = class extends NormalComponent {
|
|
|
7870
7877
|
sourceFtype: FTYPE.simple_capacitor
|
|
7871
7878
|
};
|
|
7872
7879
|
}
|
|
7873
|
-
initPorts() {
|
|
7874
|
-
super.initPorts({
|
|
7875
|
-
additionalAliases: {
|
|
7876
|
-
pin1: ["anode", "pos", "left"],
|
|
7877
|
-
pin2: ["cathode", "neg", "right"]
|
|
7878
|
-
}
|
|
7879
|
-
});
|
|
7880
|
-
}
|
|
7881
7880
|
_getSchematicSymbolDisplayValue() {
|
|
7882
7881
|
const capacitanceDisplay = `${formatSiUnit(this._parsedProps.capacitance)}F`;
|
|
7883
7882
|
if (this._parsedProps.schShowRatings && this._parsedProps.maxVoltageRating) {
|
|
@@ -9511,7 +9510,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
9511
9510
|
var package_default = {
|
|
9512
9511
|
name: "@tscircuit/core",
|
|
9513
9512
|
type: "module",
|
|
9514
|
-
version: "0.0.
|
|
9513
|
+
version: "0.0.458",
|
|
9515
9514
|
types: "dist/index.d.ts",
|
|
9516
9515
|
main: "dist/index.js",
|
|
9517
9516
|
module: "dist/index.js",
|
|
@@ -9543,7 +9542,7 @@ var package_default = {
|
|
|
9543
9542
|
"@tscircuit/layout": "^0.0.28",
|
|
9544
9543
|
"@tscircuit/log-soup": "^1.0.2",
|
|
9545
9544
|
"@tscircuit/math-utils": "^0.0.18",
|
|
9546
|
-
"@tscircuit/props": "^0.0.
|
|
9545
|
+
"@tscircuit/props": "^0.0.218",
|
|
9547
9546
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
9548
9547
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
9549
9548
|
"@tscircuit/simple-3d-svg": "^0.0.6",
|
|
@@ -9567,7 +9566,7 @@ var package_default = {
|
|
|
9567
9566
|
"pkg-pr-new": "^0.0.37",
|
|
9568
9567
|
react: "^19.0.0",
|
|
9569
9568
|
"react-dom": "^19.0.0",
|
|
9570
|
-
"schematic-symbols": "^0.0.
|
|
9569
|
+
"schematic-symbols": "^0.0.159",
|
|
9571
9570
|
"ts-expect": "^1.3.0",
|
|
9572
9571
|
tsup: "^8.2.4"
|
|
9573
9572
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.459",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@tscircuit/layout": "^0.0.28",
|
|
34
34
|
"@tscircuit/log-soup": "^1.0.2",
|
|
35
35
|
"@tscircuit/math-utils": "^0.0.18",
|
|
36
|
-
"@tscircuit/props": "^0.0.
|
|
36
|
+
"@tscircuit/props": "^0.0.218",
|
|
37
37
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
38
38
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
39
39
|
"@tscircuit/simple-3d-svg": "^0.0.6",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"pkg-pr-new": "^0.0.37",
|
|
58
58
|
"react": "^19.0.0",
|
|
59
59
|
"react-dom": "^19.0.0",
|
|
60
|
-
"schematic-symbols": "^0.0.
|
|
60
|
+
"schematic-symbols": "^0.0.159",
|
|
61
61
|
"ts-expect": "^1.3.0",
|
|
62
62
|
"tsup": "^8.2.4"
|
|
63
63
|
},
|