@tscircuit/props 0.0.197 → 0.0.199
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 +216 -108
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -308,7 +308,7 @@ expectTypesMatch(true);
|
|
|
308
308
|
|
|
309
309
|
// lib/components/group.ts
|
|
310
310
|
var layoutConfig = z21.object({
|
|
311
|
-
layoutMode: z21.enum(["grid", "flex", "none"]).optional(),
|
|
311
|
+
layoutMode: z21.enum(["grid", "flex", "match-adapt", "none"]).optional(),
|
|
312
312
|
position: z21.enum(["absolute", "relative"]).optional(),
|
|
313
313
|
grid: z21.boolean().optional(),
|
|
314
314
|
gridCols: z21.number().or(z21.string()).optional(),
|
|
@@ -323,7 +323,8 @@ var layoutConfig = z21.object({
|
|
|
323
323
|
justifyContent: z21.enum(["start", "center", "end", "stretch"]).optional(),
|
|
324
324
|
flexRow: z21.boolean().optional(),
|
|
325
325
|
flexColumn: z21.boolean().optional(),
|
|
326
|
-
gap: z21.number().or(z21.string()).optional()
|
|
326
|
+
gap: z21.number().or(z21.string()).optional(),
|
|
327
|
+
matchAdapt: z21.boolean().optional()
|
|
327
328
|
});
|
|
328
329
|
expectTypesMatch(true);
|
|
329
330
|
var autorouterConfig = z21.object({
|