@tscircuit/props 0.0.231 → 0.0.233
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 +2 -2
- package/dist/index.d.ts +867 -30
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +16 -0
- package/lib/components/netalias.ts +2 -2
- package/lib/components/netlabel.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -325,6 +325,13 @@ var layoutConfig = z21.object({
|
|
|
325
325
|
flexRow: z21.boolean().optional(),
|
|
326
326
|
flexColumn: z21.boolean().optional(),
|
|
327
327
|
gap: z21.number().or(z21.string()).optional(),
|
|
328
|
+
padding: length.optional(),
|
|
329
|
+
paddingLeft: length.optional(),
|
|
330
|
+
paddingRight: length.optional(),
|
|
331
|
+
paddingTop: length.optional(),
|
|
332
|
+
paddingBottom: length.optional(),
|
|
333
|
+
paddingX: length.optional(),
|
|
334
|
+
paddingY: length.optional(),
|
|
328
335
|
width: length.optional(),
|
|
329
336
|
height: length.optional(),
|
|
330
337
|
matchAdapt: z21.boolean().optional(),
|
|
@@ -944,7 +951,7 @@ var netAliasProps = z49.object({
|
|
|
944
951
|
schX: distance12.optional(),
|
|
945
952
|
schY: distance12.optional(),
|
|
946
953
|
schRotation: rotation2.optional(),
|
|
947
|
-
anchorSide: z49.enum(["left", "
|
|
954
|
+
anchorSide: z49.enum(["left", "top", "right", "bottom"]).optional()
|
|
948
955
|
});
|
|
949
956
|
expectTypesMatch(true);
|
|
950
957
|
|
|
@@ -957,7 +964,7 @@ var netLabelProps = z50.object({
|
|
|
957
964
|
schX: distance12.optional(),
|
|
958
965
|
schY: distance12.optional(),
|
|
959
966
|
schRotation: rotation3.optional(),
|
|
960
|
-
anchorSide: z50.enum(["left", "
|
|
967
|
+
anchorSide: z50.enum(["left", "top", "right", "bottom"]).optional()
|
|
961
968
|
});
|
|
962
969
|
expectTypesMatch(true);
|
|
963
970
|
|