@encatch/schema 1.1.0-beta.12 → 1.1.0-beta.13

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/esm/index.js CHANGED
@@ -488,7 +488,7 @@ var questionSchema = z2.object({
488
488
  textAlign: z2.enum(["left", "center", "justify"]).optional().default("left").describe(
489
489
  "Text alignment for the question title and description; `justify` is intended for consent questions (full-width justified consent body markdown)"
490
490
  ),
491
- nextButtonLabel: z2.string().min(1).max(50).optional().describe(
491
+ nextButtonLabel: z2.string().min(1).max(50).default("Next").describe(
492
492
  "Label for the next button when advancing past this question (overrides section or form defaults when set)"
493
493
  )
494
494
  }).describe("Base schema for all question types with common properties");