@tscircuit/props 0.0.428 → 0.0.430
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 +73 -34
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +3 -3
- package/lib/components/trace.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -567,7 +567,7 @@ var border = z30.object({
|
|
|
567
567
|
dashed: z30.boolean().optional(),
|
|
568
568
|
solid: z30.boolean().optional()
|
|
569
569
|
});
|
|
570
|
-
var
|
|
570
|
+
var pcbAnchorAlignmentAutocomplete = z30.custom((value) => typeof value === "string");
|
|
571
571
|
var autorouterConfig = z30.object({
|
|
572
572
|
serverUrl: z30.string().optional(),
|
|
573
573
|
inputFormat: z30.enum(["simplified", "circuit-json"]).optional(),
|
|
@@ -698,7 +698,7 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
698
698
|
pcbPaddingRight: length2.optional(),
|
|
699
699
|
pcbPaddingTop: length2.optional(),
|
|
700
700
|
pcbPaddingBottom: length2.optional(),
|
|
701
|
-
|
|
701
|
+
pcbAnchorAlignment: pcbAnchorAlignmentAutocomplete.optional()
|
|
702
702
|
});
|
|
703
703
|
var partsEngine = z30.custom((v) => "findPart" in v);
|
|
704
704
|
var subcircuitGroupProps = baseGroupProps.extend({
|
|
@@ -1381,7 +1381,8 @@ var baseTraceProps = z56.object({
|
|
|
1381
1381
|
schDisplayLabel: z56.string().optional(),
|
|
1382
1382
|
schStroke: z56.string().optional(),
|
|
1383
1383
|
highlightColor: z56.string().optional(),
|
|
1384
|
-
maxLength: distance16.optional()
|
|
1384
|
+
maxLength: distance16.optional(),
|
|
1385
|
+
connectsTo: z56.string().or(z56.array(z56.string())).optional()
|
|
1385
1386
|
});
|
|
1386
1387
|
var traceProps = z56.union([
|
|
1387
1388
|
baseTraceProps.extend({
|