@tscircuit/props 0.0.335 → 0.0.337
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 +10 -0
- package/dist/index.d.ts +783 -316
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +2 -2
- package/lib/components/group.ts +16 -0
- package/lib/components/net.ts +2 -2
- package/lib/components/trace.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@ var pinAttributeMap = z8.object({
|
|
|
165
165
|
requiresVoltage: z8.union([z8.string(), z8.number()]).optional(),
|
|
166
166
|
doNotConnect: z8.boolean().optional(),
|
|
167
167
|
includeInBoardPinout: z8.boolean().optional(),
|
|
168
|
-
|
|
168
|
+
highlightColor: z8.string().optional()
|
|
169
169
|
});
|
|
170
170
|
expectTypesMatch(true);
|
|
171
171
|
var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
|
|
@@ -513,6 +513,8 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
513
513
|
showAsSchematicBox: z27.boolean().optional(),
|
|
514
514
|
connections: z27.record(z27.string(), connectionTarget.optional()).optional(),
|
|
515
515
|
schPinArrangement: schematicPinArrangement.optional(),
|
|
516
|
+
schPinSpacing: length2.optional(),
|
|
517
|
+
schPinStyle: schematicPinStyle.optional(),
|
|
516
518
|
...layoutConfig.shape,
|
|
517
519
|
grid: layoutConfig.shape.grid.describe("@deprecated use pcbGrid"),
|
|
518
520
|
flex: layoutConfig.shape.flex.describe("@deprecated use pcbFlex"),
|
|
@@ -931,7 +933,7 @@ import { z as z42 } from "zod";
|
|
|
931
933
|
var netProps = z42.object({
|
|
932
934
|
name: z42.string(),
|
|
933
935
|
connectsTo: z42.string().or(z42.array(z42.string())).optional(),
|
|
934
|
-
|
|
936
|
+
highlightColor: z42.string().optional()
|
|
935
937
|
});
|
|
936
938
|
expectTypesMatch(true);
|
|
937
939
|
|
|
@@ -1143,7 +1145,7 @@ var baseTraceProps = z49.object({
|
|
|
1143
1145
|
pcbPath: z49.array(point).optional(),
|
|
1144
1146
|
schDisplayLabel: z49.string().optional(),
|
|
1145
1147
|
schStroke: z49.string().optional(),
|
|
1146
|
-
|
|
1148
|
+
highlightColor: z49.string().optional(),
|
|
1147
1149
|
maxLength: distance13.optional()
|
|
1148
1150
|
});
|
|
1149
1151
|
var traceProps = z49.union([
|