@tscircuit/props 0.0.429 → 0.0.430
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 +6 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/trace.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41834,6 +41834,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
41834
41834
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
41835
41835
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
41836
41836
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
41837
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
41837
41838
|
} & {
|
|
41838
41839
|
path: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
41839
41840
|
getPortSelector: () => string;
|
|
@@ -41849,6 +41850,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
41849
41850
|
width?: number | undefined;
|
|
41850
41851
|
thickness?: number | undefined;
|
|
41851
41852
|
maxLength?: number | undefined;
|
|
41853
|
+
connectsTo?: string | string[] | undefined;
|
|
41852
41854
|
schematicRouteHints?: {
|
|
41853
41855
|
x: number;
|
|
41854
41856
|
y: number;
|
|
@@ -41877,6 +41879,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
41877
41879
|
width?: string | number | undefined;
|
|
41878
41880
|
thickness?: string | number | undefined;
|
|
41879
41881
|
maxLength?: string | number | undefined;
|
|
41882
|
+
connectsTo?: string | string[] | undefined;
|
|
41880
41883
|
schematicRouteHints?: {
|
|
41881
41884
|
x: string | number;
|
|
41882
41885
|
y: string | number;
|
|
@@ -41957,6 +41960,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
41957
41960
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
41958
41961
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
41959
41962
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
41963
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
41960
41964
|
} & {
|
|
41961
41965
|
from: z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
41962
41966
|
getPortSelector: () => string;
|
|
@@ -41980,6 +41984,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
41980
41984
|
width?: number | undefined;
|
|
41981
41985
|
thickness?: number | undefined;
|
|
41982
41986
|
maxLength?: number | undefined;
|
|
41987
|
+
connectsTo?: string | string[] | undefined;
|
|
41983
41988
|
schematicRouteHints?: {
|
|
41984
41989
|
x: number;
|
|
41985
41990
|
y: number;
|
|
@@ -42011,6 +42016,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
42011
42016
|
width?: string | number | undefined;
|
|
42012
42017
|
thickness?: string | number | undefined;
|
|
42013
42018
|
maxLength?: string | number | undefined;
|
|
42019
|
+
connectsTo?: string | string[] | undefined;
|
|
42014
42020
|
schematicRouteHints?: {
|
|
42015
42021
|
x: string | number;
|
|
42016
42022
|
y: string | number;
|
package/dist/index.js
CHANGED
|
@@ -1381,7 +1381,8 @@ var baseTraceProps = z56.object({
|
|
|
1381
1381
|
schDisplayLabel: z56.string().optional(),
|
|
1382
1382
|
schStroke: z56.string().optional(),
|
|
1383
1383
|
highlightColor: z56.string().optional(),
|
|
1384
|
-
maxLength: distance16.optional()
|
|
1384
|
+
maxLength: distance16.optional(),
|
|
1385
|
+
connectsTo: z56.string().or(z56.array(z56.string())).optional()
|
|
1385
1386
|
});
|
|
1386
1387
|
var traceProps = z56.union([
|
|
1387
1388
|
baseTraceProps.extend({
|