@tscircuit/props 0.0.642 → 0.0.643
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 +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/bus.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -483,7 +483,7 @@ export interface BreakoutPointProps extends Omit<
|
|
|
483
483
|
```ts
|
|
484
484
|
export interface BusProps {
|
|
485
485
|
name?: string;
|
|
486
|
-
/**
|
|
486
|
+
/** One or more trace names or port selectors for the connections in the bus. */
|
|
487
487
|
connections: string[];
|
|
488
488
|
/** If set, every trace in this bus is assigned to this autorouting phase. */
|
|
489
489
|
routingPhaseIndex?: number | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -31526,12 +31526,12 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
31526
31526
|
|
|
31527
31527
|
type BusName = string;
|
|
31528
31528
|
/**
|
|
31529
|
-
* Declares
|
|
31529
|
+
* Declares one or more connections that an autorouter should route as a group.
|
|
31530
31530
|
* Each connection may be a trace name or a port selector.
|
|
31531
31531
|
*/
|
|
31532
31532
|
interface BusProps {
|
|
31533
31533
|
name?: string;
|
|
31534
|
-
/**
|
|
31534
|
+
/** One or more trace names or port selectors for the connections in the bus. */
|
|
31535
31535
|
connections: string[];
|
|
31536
31536
|
/** If set, every trace in this bus is assigned to this autorouting phase. */
|
|
31537
31537
|
routingPhaseIndex?: number | null;
|
package/dist/index.js
CHANGED
|
@@ -17536,7 +17536,7 @@ import {
|
|
|
17536
17536
|
import { z as z73 } from "zod";
|
|
17537
17537
|
var busProps = z73.object({
|
|
17538
17538
|
name: z73.string().optional(),
|
|
17539
|
-
connections: z73.array(z73.string()).min(
|
|
17539
|
+
connections: z73.array(z73.string()).min(1),
|
|
17540
17540
|
routingPhaseIndex: z73.number().nullable().optional(),
|
|
17541
17541
|
maxLengthSkew: distance20.pipe(z73.number().min(0).finite()).optional(),
|
|
17542
17542
|
targetImpedance: resistance3.pipe(z73.number().positive().finite()).optional(),
|