@tscircuit/props 0.0.265 → 0.0.267

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.js CHANGED
@@ -84,7 +84,9 @@ var pcbLayoutProps = z6.object({
84
84
  pcbX: distance2.optional(),
85
85
  pcbY: distance2.optional(),
86
86
  pcbRotation: rotation.optional(),
87
- layer: layer_ref.optional()
87
+ layer: layer_ref.optional(),
88
+ pcbRelative: z6.boolean().optional(),
89
+ relative: z6.boolean().optional()
88
90
  });
89
91
  expectTypesMatch(true);
90
92
  var commonLayoutProps = z6.object({
@@ -95,7 +97,10 @@ var commonLayoutProps = z6.object({
95
97
  schY: distance2.optional(),
96
98
  schRotation: rotation.optional(),
97
99
  layer: layer_ref.optional(),
98
- footprint: footprintProp.optional()
100
+ footprint: footprintProp.optional(),
101
+ relative: z6.boolean().optional(),
102
+ schRelative: z6.boolean().optional(),
103
+ pcbRelative: z6.boolean().optional()
99
104
  });
100
105
  expectTypesMatch(true);
101
106
  var supplierProps = z6.object({
@@ -342,7 +347,7 @@ expectTypesMatch(true);
342
347
 
343
348
  // lib/components/group.ts
344
349
  var layoutConfig = z23.object({
345
- layoutMode: z23.enum(["grid", "flex", "match-adapt", "none"]).optional(),
350
+ layoutMode: z23.enum(["grid", "flex", "match-adapt", "relative", "none"]).optional(),
346
351
  position: z23.enum(["absolute", "relative"]).optional(),
347
352
  grid: z23.boolean().optional(),
348
353
  gridCols: z23.number().or(z23.string()).optional(),