@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.
@@ -7,6 +7,12 @@ export interface NetLabelProps {
7
7
  net?: string
8
8
  connection?: string
9
9
  connectsTo?: string | string[]
10
+ /**
11
+ * Render the net name along its schematic trace instead of as an anchored
12
+ * label. Inline placement is automatic, so schematic anchor positioning
13
+ * props are ignored.
14
+ */
15
+ inline?: boolean
10
16
  schX?: number | string
11
17
  schY?: number | string
12
18
  schRotation?: number | string
@@ -17,6 +23,7 @@ export const netLabelProps = z.object({
17
23
  net: z.string().optional(),
18
24
  connection: z.string().optional(),
19
25
  connectsTo: z.string().or(z.array(z.string())).optional(),
26
+ inline: z.boolean().optional(),
20
27
  schX: distance.optional(),
21
28
  schY: distance.optional(),
22
29
  schRotation: rotation.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.634",
3
+ "version": "0.0.635",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",