@tscircuit/props 0.0.552 → 0.0.553
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 +4 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/courtyard-rect.ts +9 -11
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -163907,7 +163907,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
163907
163907
|
}>]>;
|
|
163908
163908
|
type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
|
163909
163909
|
|
|
163910
|
-
declare const courtyardRectProps: z.ZodObject<
|
|
163910
|
+
declare const courtyardRectProps: z.ZodObject<{
|
|
163911
163911
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
163912
163912
|
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
163913
163913
|
pcbLeftEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -163972,7 +163972,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
|
|
|
163972
163972
|
pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
|
|
163973
163973
|
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
163974
163974
|
relative: z.ZodOptional<z.ZodBoolean>;
|
|
163975
|
-
}
|
|
163975
|
+
} & {
|
|
163976
163976
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
163977
163977
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
163978
163978
|
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -163992,6 +163992,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
|
|
|
163992
163992
|
pcbBottomEdgeY?: string | number | undefined;
|
|
163993
163993
|
pcbOffsetX?: number | undefined;
|
|
163994
163994
|
pcbOffsetY?: number | undefined;
|
|
163995
|
+
pcbRotation?: number | undefined;
|
|
163995
163996
|
pcbPositionAnchor?: string | undefined;
|
|
163996
163997
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
163997
163998
|
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
|
@@ -164033,6 +164034,7 @@ declare const courtyardRectProps: z.ZodObject<Omit<{
|
|
|
164033
164034
|
pcbBottomEdgeY?: string | number | undefined;
|
|
164034
164035
|
pcbOffsetX?: string | number | undefined;
|
|
164035
164036
|
pcbOffsetY?: string | number | undefined;
|
|
164037
|
+
pcbRotation?: string | number | undefined;
|
|
164036
164038
|
pcbPositionAnchor?: string | undefined;
|
|
164037
164039
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
164038
164040
|
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -17811,7 +17811,7 @@ var pcbKeepoutProps = z92.union([
|
|
|
17811
17811
|
// lib/components/courtyard-rect.ts
|
|
17812
17812
|
import { distance as distance26 } from "circuit-json";
|
|
17813
17813
|
import { z as z93 } from "zod";
|
|
17814
|
-
var courtyardRectProps = pcbLayoutProps.
|
|
17814
|
+
var courtyardRectProps = pcbLayoutProps.extend({
|
|
17815
17815
|
width: distance26,
|
|
17816
17816
|
height: distance26,
|
|
17817
17817
|
strokeWidth: distance26.optional(),
|