@tscircuit/props 0.0.385 → 0.0.386
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
|
@@ -49308,6 +49308,7 @@ declare const fabricationNoteRectProps: z.ZodObject<Omit<{
|
|
|
49308
49308
|
hasStroke: z.ZodOptional<z.ZodBoolean>;
|
|
49309
49309
|
isStrokeDashed: z.ZodOptional<z.ZodBoolean>;
|
|
49310
49310
|
color: z.ZodOptional<z.ZodString>;
|
|
49311
|
+
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
49311
49312
|
}, "strip", z.ZodTypeAny, {
|
|
49312
49313
|
width: number;
|
|
49313
49314
|
height: number;
|
|
@@ -49335,6 +49336,7 @@ declare const fabricationNoteRectProps: z.ZodObject<Omit<{
|
|
|
49335
49336
|
pcbRelative?: boolean | undefined;
|
|
49336
49337
|
relative?: boolean | undefined;
|
|
49337
49338
|
strokeWidth?: number | undefined;
|
|
49339
|
+
cornerRadius?: number | undefined;
|
|
49338
49340
|
color?: string | undefined;
|
|
49339
49341
|
isFilled?: boolean | undefined;
|
|
49340
49342
|
hasStroke?: boolean | undefined;
|
|
@@ -49368,6 +49370,7 @@ declare const fabricationNoteRectProps: z.ZodObject<Omit<{
|
|
|
49368
49370
|
pcbRelative?: boolean | undefined;
|
|
49369
49371
|
relative?: boolean | undefined;
|
|
49370
49372
|
strokeWidth?: string | number | undefined;
|
|
49373
|
+
cornerRadius?: string | number | undefined;
|
|
49371
49374
|
color?: string | undefined;
|
|
49372
49375
|
isFilled?: boolean | undefined;
|
|
49373
49376
|
hasStroke?: boolean | undefined;
|
|
@@ -55739,6 +55742,7 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
55739
55742
|
isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55740
55743
|
fillColor: z.ZodOptional<z.ZodString>;
|
|
55741
55744
|
isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55745
|
+
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
55742
55746
|
}, "strip", z.ZodTypeAny, {
|
|
55743
55747
|
width: number;
|
|
55744
55748
|
height: number;
|
|
@@ -55748,6 +55752,7 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
55748
55752
|
schX?: number | undefined;
|
|
55749
55753
|
schY?: number | undefined;
|
|
55750
55754
|
strokeWidth?: number | undefined;
|
|
55755
|
+
cornerRadius?: number | undefined;
|
|
55751
55756
|
color?: string | undefined;
|
|
55752
55757
|
fillColor?: string | undefined;
|
|
55753
55758
|
}, {
|
|
@@ -55756,6 +55761,7 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
55756
55761
|
schX?: string | number | undefined;
|
|
55757
55762
|
schY?: string | number | undefined;
|
|
55758
55763
|
strokeWidth?: string | number | undefined;
|
|
55764
|
+
cornerRadius?: string | number | undefined;
|
|
55759
55765
|
color?: string | undefined;
|
|
55760
55766
|
isFilled?: boolean | undefined;
|
|
55761
55767
|
isDashed?: boolean | undefined;
|
|
@@ -57232,6 +57238,7 @@ interface PcbNoteRectProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
57232
57238
|
hasStroke?: boolean;
|
|
57233
57239
|
isStrokeDashed?: boolean;
|
|
57234
57240
|
color?: string;
|
|
57241
|
+
cornerRadius?: string | number;
|
|
57235
57242
|
}
|
|
57236
57243
|
declare const pcbNoteRectProps: z.ZodObject<Omit<{
|
|
57237
57244
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -57294,6 +57301,7 @@ declare const pcbNoteRectProps: z.ZodObject<Omit<{
|
|
|
57294
57301
|
hasStroke: z.ZodOptional<z.ZodBoolean>;
|
|
57295
57302
|
isStrokeDashed: z.ZodOptional<z.ZodBoolean>;
|
|
57296
57303
|
color: z.ZodOptional<z.ZodString>;
|
|
57304
|
+
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57297
57305
|
}, "strip", z.ZodTypeAny, {
|
|
57298
57306
|
width: number;
|
|
57299
57307
|
height: number;
|
|
@@ -57321,6 +57329,7 @@ declare const pcbNoteRectProps: z.ZodObject<Omit<{
|
|
|
57321
57329
|
pcbRelative?: boolean | undefined;
|
|
57322
57330
|
relative?: boolean | undefined;
|
|
57323
57331
|
strokeWidth?: number | undefined;
|
|
57332
|
+
cornerRadius?: number | undefined;
|
|
57324
57333
|
color?: string | undefined;
|
|
57325
57334
|
isFilled?: boolean | undefined;
|
|
57326
57335
|
hasStroke?: boolean | undefined;
|
|
@@ -57354,6 +57363,7 @@ declare const pcbNoteRectProps: z.ZodObject<Omit<{
|
|
|
57354
57363
|
pcbRelative?: boolean | undefined;
|
|
57355
57364
|
relative?: boolean | undefined;
|
|
57356
57365
|
strokeWidth?: string | number | undefined;
|
|
57366
|
+
cornerRadius?: string | number | undefined;
|
|
57357
57367
|
color?: string | undefined;
|
|
57358
57368
|
isFilled?: boolean | undefined;
|
|
57359
57369
|
hasStroke?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1582,7 +1582,8 @@ var fabricationNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend
|
|
|
1582
1582
|
isFilled: z68.boolean().optional(),
|
|
1583
1583
|
hasStroke: z68.boolean().optional(),
|
|
1584
1584
|
isStrokeDashed: z68.boolean().optional(),
|
|
1585
|
-
color: z68.string().optional()
|
|
1585
|
+
color: z68.string().optional(),
|
|
1586
|
+
cornerRadius: distance16.optional()
|
|
1586
1587
|
});
|
|
1587
1588
|
|
|
1588
1589
|
// lib/components/fabrication-note-path.ts
|
|
@@ -1872,7 +1873,8 @@ var schematicRectProps = z86.object({
|
|
|
1872
1873
|
color: z86.string().optional(),
|
|
1873
1874
|
isFilled: z86.boolean().optional().default(false),
|
|
1874
1875
|
fillColor: z86.string().optional(),
|
|
1875
|
-
isDashed: z86.boolean().optional().default(false)
|
|
1876
|
+
isDashed: z86.boolean().optional().default(false),
|
|
1877
|
+
cornerRadius: distance26.optional()
|
|
1876
1878
|
});
|
|
1877
1879
|
|
|
1878
1880
|
// lib/components/schematic-line.ts
|
|
@@ -2093,7 +2095,8 @@ var pcbNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
2093
2095
|
isFilled: z102.boolean().optional(),
|
|
2094
2096
|
hasStroke: z102.boolean().optional(),
|
|
2095
2097
|
isStrokeDashed: z102.boolean().optional(),
|
|
2096
|
-
color: z102.string().optional()
|
|
2098
|
+
color: z102.string().optional(),
|
|
2099
|
+
cornerRadius: distance36.optional()
|
|
2097
2100
|
});
|
|
2098
2101
|
expectTypesMatch(true);
|
|
2099
2102
|
|