@rebuy/rebuy 2.7.0 → 2.7.1

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.mjs CHANGED
@@ -1642,7 +1642,10 @@ var CABLayoutSection = z22.object({
1642
1642
  border: z22.lazy(() => CABBorder),
1643
1643
  buttonField: z22.enum(buttonFields).optional(),
1644
1644
  direction: z22.enum(directions).default(Direction.rows),
1645
- grid: z22.object({ columns: z22.array(GridItem), rows: z22.array(GridItem) }).optional(),
1645
+ grid: z22.object({
1646
+ columns: z22.union([z22.array(GridItem), z22.undefined()]).default(() => ["auto"]),
1647
+ rows: z22.union([z22.array(GridItem), z22.undefined()]).default(() => ["auto"])
1648
+ }).default({ columns: ["auto"], rows: ["auto"] }).optional(),
1646
1649
  name: z22.string().optional(),
1647
1650
  padding: z22.enum(spacings).default(Spacing.none),
1648
1651
  sectionId: z22.uuid().default(() => uuidv712()),