@tscircuit/props 0.0.250 → 0.0.252

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 CHANGED
@@ -24272,26 +24272,38 @@ interface SchematicRowProps {
24272
24272
  }
24273
24273
 
24274
24274
  declare const schematicCellProps: z.ZodObject<{
24275
- children: z.ZodString;
24275
+ children: z.ZodOptional<z.ZodString>;
24276
24276
  horizontalAlign: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
24277
24277
  verticalAlign: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
24278
24278
  fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24279
+ rowSpan: z.ZodOptional<z.ZodNumber>;
24280
+ colSpan: z.ZodOptional<z.ZodNumber>;
24281
+ width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24279
24282
  }, "strip", z.ZodTypeAny, {
24280
- children: string;
24283
+ children?: string | undefined;
24284
+ width?: number | undefined;
24281
24285
  fontSize?: number | undefined;
24282
24286
  horizontalAlign?: "left" | "right" | "center" | undefined;
24283
24287
  verticalAlign?: "top" | "bottom" | "middle" | undefined;
24288
+ rowSpan?: number | undefined;
24289
+ colSpan?: number | undefined;
24284
24290
  }, {
24285
- children: string;
24291
+ children?: string | undefined;
24292
+ width?: string | number | undefined;
24286
24293
  fontSize?: string | number | undefined;
24287
24294
  horizontalAlign?: "left" | "right" | "center" | undefined;
24288
24295
  verticalAlign?: "top" | "bottom" | "middle" | undefined;
24296
+ rowSpan?: number | undefined;
24297
+ colSpan?: number | undefined;
24289
24298
  }>;
24290
24299
  interface SchematicCellProps {
24291
- children: string;
24300
+ children?: string;
24292
24301
  horizontalAlign?: "left" | "center" | "right";
24293
24302
  verticalAlign?: "top" | "middle" | "bottom";
24294
24303
  fontSize?: number | string;
24304
+ rowSpan?: number;
24305
+ colSpan?: number;
24306
+ width?: number | string;
24295
24307
  }
24296
24308
 
24297
24309
  declare const silkscreenTextProps: z.ZodObject<z.objectUtil.extendShape<{
package/dist/index.js CHANGED
@@ -1409,10 +1409,13 @@ expectTypesMatch(true);
1409
1409
  import { distance as distance24 } from "circuit-json";
1410
1410
  import { z as z74 } from "zod";
1411
1411
  var schematicCellProps = z74.object({
1412
- children: z74.string(),
1412
+ children: z74.string().optional(),
1413
1413
  horizontalAlign: z74.enum(["left", "center", "right"]).optional(),
1414
1414
  verticalAlign: z74.enum(["top", "middle", "bottom"]).optional(),
1415
- fontSize: distance24.optional()
1415
+ fontSize: distance24.optional(),
1416
+ rowSpan: z74.number().optional(),
1417
+ colSpan: z74.number().optional(),
1418
+ width: distance24.optional()
1416
1419
  });
1417
1420
  expectTypesMatch(true);
1418
1421