@tscircuit/props 0.0.634 → 0.0.635

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 CHANGED
@@ -1309,6 +1309,12 @@ export interface NetLabelProps {
1309
1309
  net?: string;
1310
1310
  connection?: string;
1311
1311
  connectsTo?: string | string[];
1312
+ /**
1313
+ * Render the net name along its schematic trace instead of as an anchored
1314
+ * label. Inline placement is automatic, so schematic anchor positioning
1315
+ * props are ignored.
1316
+ */
1317
+ inline?: boolean;
1312
1318
  schX?: number | string;
1313
1319
  schY?: number | string;
1314
1320
  schRotation?: number | string;
package/dist/index.d.ts CHANGED
@@ -133399,6 +133399,12 @@ interface NetLabelProps {
133399
133399
  net?: string;
133400
133400
  connection?: string;
133401
133401
  connectsTo?: string | string[];
133402
+ /**
133403
+ * Render the net name along its schematic trace instead of as an anchored
133404
+ * label. Inline placement is automatic, so schematic anchor positioning
133405
+ * props are ignored.
133406
+ */
133407
+ inline?: boolean;
133402
133408
  schX?: number | string;
133403
133409
  schY?: number | string;
133404
133410
  schRotation?: number | string;
@@ -133408,6 +133414,7 @@ declare const netLabelProps: z.ZodObject<{
133408
133414
  net: z.ZodOptional<z.ZodString>;
133409
133415
  connection: z.ZodOptional<z.ZodString>;
133410
133416
  connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
133417
+ inline: z.ZodOptional<z.ZodBoolean>;
133411
133418
  schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
133412
133419
  schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
133413
133420
  schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -133420,6 +133427,7 @@ declare const netLabelProps: z.ZodObject<{
133420
133427
  net?: string | undefined;
133421
133428
  connection?: string | undefined;
133422
133429
  anchorSide?: "left" | "right" | "top" | "bottom" | undefined;
133430
+ inline?: boolean | undefined;
133423
133431
  }, {
133424
133432
  schX?: string | number | undefined;
133425
133433
  schY?: string | number | undefined;
@@ -133428,6 +133436,7 @@ declare const netLabelProps: z.ZodObject<{
133428
133436
  net?: string | undefined;
133429
133437
  connection?: string | undefined;
133430
133438
  anchorSide?: "left" | "right" | "top" | "bottom" | undefined;
133439
+ inline?: boolean | undefined;
133431
133440
  }>;
133432
133441
 
133433
133442
  type PushButtonProps<T extends PinLabelsProp | string = string> = ChipProps<T>;
package/dist/index.js CHANGED
@@ -17666,6 +17666,7 @@ var netLabelProps = z80.object({
17666
17666
  net: z80.string().optional(),
17667
17667
  connection: z80.string().optional(),
17668
17668
  connectsTo: z80.string().or(z80.array(z80.string())).optional(),
17669
+ inline: z80.boolean().optional(),
17669
17670
  schX: distance.optional(),
17670
17671
  schY: distance.optional(),
17671
17672
  schRotation: rotation4.optional(),