@tscircuit/props 0.0.439 → 0.0.440
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 +2 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/package.json +1 -1
package/lib/components/group.ts
CHANGED
|
@@ -197,6 +197,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
197
197
|
pcbWidth?: Distance
|
|
198
198
|
pcbHeight?: Distance
|
|
199
199
|
minTraceWidth?: Distance
|
|
200
|
+
nominalTraceWidth?: Distance
|
|
200
201
|
schWidth?: Distance
|
|
201
202
|
schHeight?: Distance
|
|
202
203
|
|
|
@@ -407,6 +408,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
407
408
|
bomDisabled?: boolean
|
|
408
409
|
defaultTraceWidth?: Distance
|
|
409
410
|
minTraceWidth?: Distance
|
|
411
|
+
nominalTraceWidth?: Distance
|
|
410
412
|
pcbRouteCache?: PcbRouteCache
|
|
411
413
|
|
|
412
414
|
autorouter?: AutorouterProp
|
|
@@ -535,6 +537,7 @@ export const baseGroupProps = commonLayoutProps.extend({
|
|
|
535
537
|
pcbWidth: length.optional(),
|
|
536
538
|
pcbHeight: length.optional(),
|
|
537
539
|
minTraceWidth: length.optional(),
|
|
540
|
+
nominalTraceWidth: length.optional(),
|
|
538
541
|
schWidth: length.optional(),
|
|
539
542
|
schHeight: length.optional(),
|
|
540
543
|
pcbLayout: layoutConfig.optional(),
|
|
@@ -565,6 +568,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
565
568
|
bomDisabled: z.boolean().optional(),
|
|
566
569
|
defaultTraceWidth: length.optional(),
|
|
567
570
|
minTraceWidth: length.optional(),
|
|
571
|
+
nominalTraceWidth: length.optional(),
|
|
568
572
|
partsEngine: partsEngine.optional(),
|
|
569
573
|
pcbRouteCache: z.custom<PcbRouteCache>((v) => true).optional(),
|
|
570
574
|
autorouter: autorouterProp.optional(),
|