@tscircuit/props 0.0.229 → 0.0.231

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.
@@ -19,5 +19,5 @@ export type FootprintSoupElements = {
19
19
  portHints?: string[]
20
20
  }
21
21
 
22
- export type Footprint = string | ReactElement | FootprintSoupElements[]
23
- export const footprintProp = z.custom<Footprint>((v) => true)
22
+ export type FootprintProp = string | ReactElement | FootprintSoupElements[]
23
+ export const footprintProp = z.custom<FootprintProp>((v) => true)
@@ -8,7 +8,7 @@ import {
8
8
  import { expectTypesMatch } from "lib/typecheck"
9
9
  import { z } from "zod"
10
10
  import { type CadModelProp, cadModelProp } from "./cadModel"
11
- import { type Footprint, footprintProp } from "./footprintProp"
11
+ import { type FootprintProp, footprintProp } from "./footprintProp"
12
12
 
13
13
  export interface PcbLayoutProps {
14
14
  pcbX?: string | number
@@ -27,7 +27,7 @@ export interface CommonLayoutProps {
27
27
  schRotation?: string | number
28
28
 
29
29
  layer?: LayerRefInput
30
- footprint?: Footprint
30
+ footprint?: FootprintProp
31
31
  }
32
32
 
33
33
  export const pcbLayoutProps = z.object({
@@ -17,7 +17,7 @@ export const schematicBoxProps = z
17
17
  paddingBottom: distance.optional(),
18
18
 
19
19
  title: z.string().optional(),
20
- titleAlignment: ninePointAnchor.default("center"),
20
+ titleAlignment: ninePointAnchor.default("top_left"),
21
21
  titleColor: z.string().optional(),
22
22
  titleFontSize: distance.optional(),
23
23
  titleInside: z.boolean().default(false),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.229",
3
+ "version": "0.0.231",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",