@tscircuit/props 0.0.253 → 0.0.255
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/dist/index.d.ts +545 -584
- package/dist/index.js +6 -13
- package/dist/index.js.map +1 -1
- package/lib/components/board.ts +0 -2
- package/lib/components/group.ts +0 -3
- package/package.json +1 -3
package/lib/components/board.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { LayoutBuilder, ManualEditFile } from "@tscircuit/layout"
|
|
2
1
|
import { distance } from "circuit-json"
|
|
3
|
-
import type { Distance } from "lib/common/distance"
|
|
4
2
|
import { type Point, point } from "lib/common/point"
|
|
5
3
|
import { expectTypesMatch } from "lib/typecheck"
|
|
6
4
|
import { z } from "zod"
|
package/lib/components/group.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LayoutBuilder } from "@tscircuit/layout"
|
|
2
1
|
import { layer_ref, length } from "circuit-json"
|
|
3
2
|
import type { Distance } from "lib/common/distance"
|
|
4
3
|
import {
|
|
@@ -198,7 +197,6 @@ export const autorouterProp = z.union([
|
|
|
198
197
|
])
|
|
199
198
|
|
|
200
199
|
export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
201
|
-
layout?: LayoutBuilder
|
|
202
200
|
manualEdits?: ManualEditsFileInput
|
|
203
201
|
routingDisabled?: boolean
|
|
204
202
|
defaultTraceWidth?: Distance
|
|
@@ -257,7 +255,6 @@ export const baseGroupProps = commonLayoutProps.extend({
|
|
|
257
255
|
export const partsEngine = z.custom<PartsEngine>((v) => "findPart" in v)
|
|
258
256
|
|
|
259
257
|
export const subcircuitGroupProps = baseGroupProps.extend({
|
|
260
|
-
layout: z.custom<LayoutBuilder>((v) => true).optional(),
|
|
261
258
|
manualEdits: manual_edits_file.optional(),
|
|
262
259
|
schAutoLayoutEnabled: z.boolean().optional(),
|
|
263
260
|
schTraceAutoLabelEnabled: z.boolean().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/props",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.255",
|
|
4
4
|
"description": "Props for tscircuit builtin component types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@biomejs/biome": "^1.9.4",
|
|
29
|
-
"@tscircuit/layout": "^0.0.11",
|
|
30
29
|
"@types/bun": "^1.2.12",
|
|
31
30
|
"@types/node": "^20.12.11",
|
|
32
31
|
"@types/react": "^18.3.2",
|
|
@@ -44,7 +43,6 @@
|
|
|
44
43
|
"zod": "^3.23.8"
|
|
45
44
|
},
|
|
46
45
|
"peerDependencies": {
|
|
47
|
-
"@tscircuit/layout": "*",
|
|
48
46
|
"circuit-json": "*",
|
|
49
47
|
"react": "*",
|
|
50
48
|
"zod": "*"
|