@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 +6 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/netlabel.ts +7 -0
- package/package.json +1 -1
|
@@ -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(),
|