@tscircuit/props 0.0.485 → 0.0.486

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.
@@ -69,6 +69,8 @@ export interface PlatformConfig {
69
69
 
70
70
  defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">
71
71
 
72
+ unitPreference?: "mm" | "in" | "mil"
73
+
72
74
  pcbDisabled?: boolean
73
75
  routingDisabled?: boolean
74
76
  schematicDisabled?: boolean
@@ -197,6 +199,7 @@ export const platformConfig = z.object({
197
199
  )
198
200
  .optional(),
199
201
  defaultSpiceEngine: defaultSpiceEngine.optional(),
202
+ unitPreference: z.enum(["mm", "in", "mil"]).optional(),
200
203
  localCacheEngine: z.any().optional(),
201
204
  pcbDisabled: z.boolean().optional(),
202
205
  routingDisabled: z.boolean().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.485",
3
+ "version": "0.0.486",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",