@tscircuit/props 0.0.360 → 0.0.361

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
@@ -49148,7 +49148,7 @@ declare const schematicArcProps: z.ZodObject<{
49148
49148
  endAngleDegrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
49149
49149
  direction: z.ZodDefault<z.ZodEnum<["clockwise", "counterclockwise"]>>;
49150
49150
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
49151
- color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49151
+ color: z.ZodOptional<z.ZodString>;
49152
49152
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49153
49153
  }, "strip", z.ZodTypeAny, {
49154
49154
  direction: "clockwise" | "counterclockwise";
@@ -49157,11 +49157,11 @@ declare const schematicArcProps: z.ZodObject<{
49157
49157
  y: number;
49158
49158
  };
49159
49159
  radius: number;
49160
- color: string;
49161
49160
  startAngleDegrees: number;
49162
49161
  endAngleDegrees: number;
49163
49162
  isDashed: boolean;
49164
49163
  strokeWidth?: number | undefined;
49164
+ color?: string | undefined;
49165
49165
  }, {
49166
49166
  center: {
49167
49167
  x: string | number;
@@ -49312,7 +49312,7 @@ declare const schematicCircleProps: z.ZodObject<{
49312
49312
  }>;
49313
49313
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
49314
49314
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
49315
- color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49315
+ color: z.ZodOptional<z.ZodString>;
49316
49316
  isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49317
49317
  fillColor: z.ZodOptional<z.ZodString>;
49318
49318
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -49322,10 +49322,10 @@ declare const schematicCircleProps: z.ZodObject<{
49322
49322
  y: number;
49323
49323
  };
49324
49324
  radius: number;
49325
- color: string;
49326
49325
  isFilled: boolean;
49327
49326
  isDashed: boolean;
49328
49327
  strokeWidth?: number | undefined;
49328
+ color?: string | undefined;
49329
49329
  fillColor?: string | undefined;
49330
49330
  }, {
49331
49331
  center: {
@@ -49348,20 +49348,20 @@ declare const schematicRectProps: z.ZodObject<{
49348
49348
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
49349
49349
  rotation: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
49350
49350
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
49351
- color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49351
+ color: z.ZodOptional<z.ZodString>;
49352
49352
  isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49353
49353
  fillColor: z.ZodOptional<z.ZodString>;
49354
49354
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49355
49355
  }, "strip", z.ZodTypeAny, {
49356
49356
  width: number;
49357
49357
  height: number;
49358
- color: string;
49359
49358
  isFilled: boolean;
49360
49359
  isDashed: boolean;
49361
49360
  rotation: number;
49362
49361
  schX?: number | undefined;
49363
49362
  schY?: number | undefined;
49364
49363
  strokeWidth?: number | undefined;
49364
+ color?: string | undefined;
49365
49365
  fillColor?: string | undefined;
49366
49366
  }, {
49367
49367
  width: string | number;
@@ -49383,16 +49383,16 @@ declare const schematicLineProps: z.ZodObject<{
49383
49383
  x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
49384
49384
  y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
49385
49385
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
49386
- color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49386
+ color: z.ZodOptional<z.ZodString>;
49387
49387
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49388
49388
  }, "strip", z.ZodTypeAny, {
49389
- color: string;
49390
49389
  isDashed: boolean;
49391
49390
  x1: number;
49392
49391
  y1: number;
49393
49392
  x2: number;
49394
49393
  y2: number;
49395
49394
  strokeWidth?: number | undefined;
49395
+ color?: string | undefined;
49396
49396
  }, {
49397
49397
  x1: string | number;
49398
49398
  y1: string | number;
package/dist/index.js CHANGED
@@ -1717,7 +1717,7 @@ var schematicArcProps = z81.object({
1717
1717
  endAngleDegrees: rotation5,
1718
1718
  direction: z81.enum(["clockwise", "counterclockwise"]).default("counterclockwise"),
1719
1719
  strokeWidth: distance22.optional(),
1720
- color: z81.string().optional().default("#000000"),
1720
+ color: z81.string().optional(),
1721
1721
  isDashed: z81.boolean().optional().default(false)
1722
1722
  });
1723
1723
 
@@ -1760,7 +1760,7 @@ var schematicCircleProps = z83.object({
1760
1760
  center: point6,
1761
1761
  radius: distance24,
1762
1762
  strokeWidth: distance24.optional(),
1763
- color: z83.string().optional().default("#000000"),
1763
+ color: z83.string().optional(),
1764
1764
  isFilled: z83.boolean().optional().default(false),
1765
1765
  fillColor: z83.string().optional(),
1766
1766
  isDashed: z83.boolean().optional().default(false)
@@ -1776,7 +1776,7 @@ var schematicRectProps = z84.object({
1776
1776
  height: distance25,
1777
1777
  rotation: rotation6.default(0),
1778
1778
  strokeWidth: distance25.optional(),
1779
- color: z84.string().optional().default("#000000"),
1779
+ color: z84.string().optional(),
1780
1780
  isFilled: z84.boolean().optional().default(false),
1781
1781
  fillColor: z84.string().optional(),
1782
1782
  isDashed: z84.boolean().optional().default(false)
@@ -1791,7 +1791,7 @@ var schematicLineProps = z85.object({
1791
1791
  x2: distance26,
1792
1792
  y2: distance26,
1793
1793
  strokeWidth: distance26.optional(),
1794
- color: z85.string().optional().default("#000000"),
1794
+ color: z85.string().optional(),
1795
1795
  isDashed: z85.boolean().optional().default(false)
1796
1796
  });
1797
1797