@tscircuit/props 0.0.550 → 0.0.552
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/README.md +2 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/analogsimulation.ts +2 -0
- package/lib/components/fiducial.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,6 +220,7 @@ export interface AmmeterProps<
|
|
|
220
220
|
|
|
221
221
|
```ts
|
|
222
222
|
export interface AnalogSimulationProps {
|
|
223
|
+
name?: string;
|
|
223
224
|
simulationType?: "spice_transient_analysis";
|
|
224
225
|
duration?: number | string;
|
|
225
226
|
startTime?: number | string;
|
|
@@ -703,7 +704,7 @@ export interface FabricationNoteTextProps extends PcbLayoutProps {
|
|
|
703
704
|
```ts
|
|
704
705
|
export interface FiducialProps extends CommonComponentProps {
|
|
705
706
|
soldermaskPullback?: Distance;
|
|
706
|
-
padDiameter
|
|
707
|
+
padDiameter: Distance;
|
|
707
708
|
}
|
|
708
709
|
```
|
|
709
710
|
|
package/dist/index.d.ts
CHANGED
|
@@ -94752,7 +94752,7 @@ declare const netProps: z.ZodObject<{
|
|
|
94752
94752
|
|
|
94753
94753
|
interface FiducialProps extends CommonComponentProps {
|
|
94754
94754
|
soldermaskPullback?: Distance;
|
|
94755
|
-
padDiameter
|
|
94755
|
+
padDiameter: Distance;
|
|
94756
94756
|
}
|
|
94757
94757
|
declare const fiducialProps: z.ZodObject<{
|
|
94758
94758
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -98114,9 +98114,10 @@ declare const fiducialProps: z.ZodObject<{
|
|
|
98114
98114
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
98115
98115
|
} & {
|
|
98116
98116
|
soldermaskPullback: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
98117
|
-
padDiameter: z.
|
|
98117
|
+
padDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
98118
98118
|
}, "strip", z.ZodTypeAny, {
|
|
98119
98119
|
name: string;
|
|
98120
|
+
padDiameter: number;
|
|
98120
98121
|
symbol?: SymbolProp | undefined;
|
|
98121
98122
|
showAsTranslucentModel?: boolean | undefined;
|
|
98122
98123
|
key?: any;
|
|
@@ -98692,10 +98693,10 @@ declare const fiducialProps: z.ZodObject<{
|
|
|
98692
98693
|
mfn?: string | undefined;
|
|
98693
98694
|
manufacturerPartNumber?: string | undefined;
|
|
98694
98695
|
schSectionName?: string | undefined;
|
|
98695
|
-
padDiameter?: number | undefined;
|
|
98696
98696
|
soldermaskPullback?: number | undefined;
|
|
98697
98697
|
}, {
|
|
98698
98698
|
name: string;
|
|
98699
|
+
padDiameter: string | number;
|
|
98699
98700
|
symbol?: SymbolProp | undefined;
|
|
98700
98701
|
showAsTranslucentModel?: boolean | undefined;
|
|
98701
98702
|
key?: any;
|
|
@@ -99273,7 +99274,6 @@ declare const fiducialProps: z.ZodObject<{
|
|
|
99273
99274
|
mfn?: string | undefined;
|
|
99274
99275
|
manufacturerPartNumber?: string | undefined;
|
|
99275
99276
|
schSectionName?: string | undefined;
|
|
99276
|
-
padDiameter?: string | number | undefined;
|
|
99277
99277
|
soldermaskPullback?: string | number | undefined;
|
|
99278
99278
|
}>;
|
|
99279
99279
|
|
|
@@ -121750,6 +121750,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
121750
121750
|
}>;
|
|
121751
121751
|
|
|
121752
121752
|
interface AnalogSimulationProps {
|
|
121753
|
+
name?: string;
|
|
121753
121754
|
simulationType?: "spice_transient_analysis";
|
|
121754
121755
|
duration?: number | string;
|
|
121755
121756
|
startTime?: number | string;
|
|
@@ -121764,6 +121765,7 @@ interface SpiceOptions {
|
|
|
121764
121765
|
vntol?: number | string;
|
|
121765
121766
|
}
|
|
121766
121767
|
declare const analogSimulationProps: z.ZodObject<{
|
|
121768
|
+
name: z.ZodOptional<z.ZodString>;
|
|
121767
121769
|
simulationType: z.ZodDefault<z.ZodLiteral<"spice_transient_analysis">>;
|
|
121768
121770
|
duration: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
121769
121771
|
startTime: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -121787,6 +121789,7 @@ declare const analogSimulationProps: z.ZodObject<{
|
|
|
121787
121789
|
}>>;
|
|
121788
121790
|
}, "strip", z.ZodTypeAny, {
|
|
121789
121791
|
simulationType: "spice_transient_analysis";
|
|
121792
|
+
name?: string | undefined;
|
|
121790
121793
|
duration?: number | undefined;
|
|
121791
121794
|
startTime?: number | undefined;
|
|
121792
121795
|
timePerStep?: number | undefined;
|
|
@@ -121798,6 +121801,7 @@ declare const analogSimulationProps: z.ZodObject<{
|
|
|
121798
121801
|
vntol?: string | number | undefined;
|
|
121799
121802
|
} | undefined;
|
|
121800
121803
|
}, {
|
|
121804
|
+
name?: string | undefined;
|
|
121801
121805
|
duration?: string | number | undefined;
|
|
121802
121806
|
simulationType?: "spice_transient_analysis" | undefined;
|
|
121803
121807
|
startTime?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -16938,7 +16938,7 @@ expectTypesMatch(true);
|
|
|
16938
16938
|
import "zod";
|
|
16939
16939
|
var fiducialProps = commonComponentProps.extend({
|
|
16940
16940
|
soldermaskPullback: distance.optional(),
|
|
16941
|
-
padDiameter: distance
|
|
16941
|
+
padDiameter: distance
|
|
16942
16942
|
});
|
|
16943
16943
|
expectTypesMatch(true);
|
|
16944
16944
|
|
|
@@ -17398,6 +17398,7 @@ var spiceOptions = z74.object({
|
|
|
17398
17398
|
vntol: z74.union([z74.number(), z74.string()]).optional()
|
|
17399
17399
|
});
|
|
17400
17400
|
var analogSimulationProps = z74.object({
|
|
17401
|
+
name: z74.string().optional(),
|
|
17401
17402
|
simulationType: z74.literal("spice_transient_analysis").default("spice_transient_analysis"),
|
|
17402
17403
|
duration: ms.optional(),
|
|
17403
17404
|
startTime: ms.optional(),
|