@tscircuit/props 0.0.360 → 0.0.362
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 +1051 -8
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/lib/common/cadModel.ts +2 -0
- package/lib/components/schematic-arc.ts +1 -1
- package/lib/components/schematic-circle.ts +1 -1
- package/lib/components/schematic-line.ts +1 -1
- package/lib/components/schematic-rect.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58,7 +58,8 @@ var cadModelBase = z5.object({
|
|
|
58
58
|
rotationOffset: z5.number().or(rotationPoint3).optional(),
|
|
59
59
|
positionOffset: point3.optional(),
|
|
60
60
|
size: point3.optional(),
|
|
61
|
-
modelUnitToMmScale: distance.optional()
|
|
61
|
+
modelUnitToMmScale: distance.optional(),
|
|
62
|
+
zOffsetFromSurface: distance.optional()
|
|
62
63
|
});
|
|
63
64
|
expectTypesMatch(true);
|
|
64
65
|
var cadModelStl = cadModelBase.extend({
|
|
@@ -1717,7 +1718,7 @@ var schematicArcProps = z81.object({
|
|
|
1717
1718
|
endAngleDegrees: rotation5,
|
|
1718
1719
|
direction: z81.enum(["clockwise", "counterclockwise"]).default("counterclockwise"),
|
|
1719
1720
|
strokeWidth: distance22.optional(),
|
|
1720
|
-
color: z81.string().optional()
|
|
1721
|
+
color: z81.string().optional(),
|
|
1721
1722
|
isDashed: z81.boolean().optional().default(false)
|
|
1722
1723
|
});
|
|
1723
1724
|
|
|
@@ -1760,7 +1761,7 @@ var schematicCircleProps = z83.object({
|
|
|
1760
1761
|
center: point6,
|
|
1761
1762
|
radius: distance24,
|
|
1762
1763
|
strokeWidth: distance24.optional(),
|
|
1763
|
-
color: z83.string().optional()
|
|
1764
|
+
color: z83.string().optional(),
|
|
1764
1765
|
isFilled: z83.boolean().optional().default(false),
|
|
1765
1766
|
fillColor: z83.string().optional(),
|
|
1766
1767
|
isDashed: z83.boolean().optional().default(false)
|
|
@@ -1776,7 +1777,7 @@ var schematicRectProps = z84.object({
|
|
|
1776
1777
|
height: distance25,
|
|
1777
1778
|
rotation: rotation6.default(0),
|
|
1778
1779
|
strokeWidth: distance25.optional(),
|
|
1779
|
-
color: z84.string().optional()
|
|
1780
|
+
color: z84.string().optional(),
|
|
1780
1781
|
isFilled: z84.boolean().optional().default(false),
|
|
1781
1782
|
fillColor: z84.string().optional(),
|
|
1782
1783
|
isDashed: z84.boolean().optional().default(false)
|
|
@@ -1791,7 +1792,7 @@ var schematicLineProps = z85.object({
|
|
|
1791
1792
|
x2: distance26,
|
|
1792
1793
|
y2: distance26,
|
|
1793
1794
|
strokeWidth: distance26.optional(),
|
|
1794
|
-
color: z85.string().optional()
|
|
1795
|
+
color: z85.string().optional(),
|
|
1795
1796
|
isDashed: z85.boolean().optional().default(false)
|
|
1796
1797
|
});
|
|
1797
1798
|
|