@tscircuit/props 0.0.263 → 0.0.265
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 +302 -334
- package/dist/index.d.ts +484 -121
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +32 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -354,10 +354,21 @@ var layoutConfig = z23.object({
|
|
|
354
354
|
flex: z23.boolean().or(z23.string()).optional(),
|
|
355
355
|
flexDirection: z23.enum(["row", "column"]).optional(),
|
|
356
356
|
alignItems: z23.enum(["start", "center", "end", "stretch"]).optional(),
|
|
357
|
-
justifyContent: z23.enum([
|
|
357
|
+
justifyContent: z23.enum([
|
|
358
|
+
"start",
|
|
359
|
+
"center",
|
|
360
|
+
"end",
|
|
361
|
+
"stretch",
|
|
362
|
+
"space-between",
|
|
363
|
+
"space-around",
|
|
364
|
+
"space-evenly"
|
|
365
|
+
]).optional(),
|
|
358
366
|
flexRow: z23.boolean().optional(),
|
|
359
367
|
flexColumn: z23.boolean().optional(),
|
|
360
368
|
gap: z23.number().or(z23.string()).optional(),
|
|
369
|
+
pack: z23.boolean().optional().describe("Pack the contents of this group using a packing strategy"),
|
|
370
|
+
packOrderStrategy: z23.enum(["largest_to_smallest"]).optional(),
|
|
371
|
+
packPlacementStrategy: z23.enum(["shortest_connection_along_outline"]).optional(),
|
|
361
372
|
padding: length.optional(),
|
|
362
373
|
paddingLeft: length.optional(),
|
|
363
374
|
paddingRight: length.optional(),
|