@tscircuit/props 0.0.272 → 0.0.274
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 +310 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +8 -0
- package/lib/components/platedhole.ts +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -356,6 +356,8 @@ var layoutConfig = z23.object({
|
|
|
356
356
|
gridTemplateColumns: z23.string().optional(),
|
|
357
357
|
gridTemplate: z23.string().optional(),
|
|
358
358
|
gridGap: z23.number().or(z23.string()).optional(),
|
|
359
|
+
gridRowGap: z23.number().or(z23.string()).optional(),
|
|
360
|
+
gridColumnGap: z23.number().or(z23.string()).optional(),
|
|
359
361
|
flex: z23.boolean().or(z23.string()).optional(),
|
|
360
362
|
flexDirection: z23.enum(["row", "column"]).optional(),
|
|
361
363
|
alignItems: z23.enum(["start", "center", "end", "stretch"]).optional(),
|
|
@@ -439,6 +441,8 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
439
441
|
pcbGridTemplateColumns: z23.string().optional(),
|
|
440
442
|
pcbGridTemplate: z23.string().optional(),
|
|
441
443
|
pcbGridGap: z23.number().or(z23.string()).optional(),
|
|
444
|
+
pcbGridRowGap: z23.number().or(z23.string()).optional(),
|
|
445
|
+
pcbGridColumnGap: z23.number().or(z23.string()).optional(),
|
|
442
446
|
pcbFlex: z23.boolean().or(z23.string()).optional(),
|
|
443
447
|
pcbFlexDirection: z23.enum(["row", "column"]).optional(),
|
|
444
448
|
pcbAlignItems: z23.enum(["start", "center", "end", "stretch"]).optional(),
|
|
@@ -657,10 +661,11 @@ var platedHoleProps = z32.discriminatedUnion("shape", [
|
|
|
657
661
|
innerHeight: distance10.optional().describe("DEPRECATED use holeHeight"),
|
|
658
662
|
portHints: portHints.optional()
|
|
659
663
|
}),
|
|
660
|
-
pcbLayoutProps.omit({
|
|
664
|
+
pcbLayoutProps.omit({ layer: true }).extend({
|
|
661
665
|
name: z32.string().optional(),
|
|
662
666
|
connectsTo: z32.string().or(z32.array(z32.string())).optional(),
|
|
663
667
|
shape: z32.literal("pill"),
|
|
668
|
+
rectPad: z32.boolean().optional(),
|
|
664
669
|
outerWidth: distance10,
|
|
665
670
|
outerHeight: distance10,
|
|
666
671
|
holeWidth: distanceHiddenUndefined,
|