@tscircuit/props 0.0.256 → 0.0.257
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/README.md +304 -335
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/schematic-cell.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24270,9 +24270,11 @@ declare const schematicCellProps: z.ZodObject<{
|
|
|
24270
24270
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
24271
24271
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
24272
24272
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24273
|
+
text: z.ZodOptional<z.ZodString>;
|
|
24273
24274
|
}, "strip", z.ZodTypeAny, {
|
|
24274
24275
|
children?: string | undefined;
|
|
24275
24276
|
width?: number | undefined;
|
|
24277
|
+
text?: string | undefined;
|
|
24276
24278
|
fontSize?: number | undefined;
|
|
24277
24279
|
horizontalAlign?: "left" | "right" | "center" | undefined;
|
|
24278
24280
|
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
@@ -24281,6 +24283,7 @@ declare const schematicCellProps: z.ZodObject<{
|
|
|
24281
24283
|
}, {
|
|
24282
24284
|
children?: string | undefined;
|
|
24283
24285
|
width?: string | number | undefined;
|
|
24286
|
+
text?: string | undefined;
|
|
24284
24287
|
fontSize?: string | number | undefined;
|
|
24285
24288
|
horizontalAlign?: "left" | "right" | "center" | undefined;
|
|
24286
24289
|
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
@@ -24295,6 +24298,7 @@ interface SchematicCellProps {
|
|
|
24295
24298
|
rowSpan?: number;
|
|
24296
24299
|
colSpan?: number;
|
|
24297
24300
|
width?: number | string;
|
|
24301
|
+
text?: string;
|
|
24298
24302
|
}
|
|
24299
24303
|
|
|
24300
24304
|
declare const silkscreenTextProps: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -1411,7 +1411,8 @@ var schematicCellProps = z74.object({
|
|
|
1411
1411
|
fontSize: distance24.optional(),
|
|
1412
1412
|
rowSpan: z74.number().optional(),
|
|
1413
1413
|
colSpan: z74.number().optional(),
|
|
1414
|
-
width: distance24.optional()
|
|
1414
|
+
width: distance24.optional(),
|
|
1415
|
+
text: z74.string().optional()
|
|
1415
1416
|
});
|
|
1416
1417
|
expectTypesMatch(true);
|
|
1417
1418
|
|