@encatch/schema 1.1.0-beta.11 → 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");
@@ -1006,6 +1006,7 @@ var featureSettingsSchema = z6.object({
1006
1006
  showBranding: z6.boolean().default(true).describe("Whether to display branding elements on the widget"),
1007
1007
  customPosition: z6.boolean().describe("Whether custom positioning is enabled"),
1008
1008
  customCss: z6.string().optional().describe("Custom CSS link to apply for the feedback form"),
1009
+ fontFamily: z6.string().optional().default("default").describe("Font family to use for the widget"),
1009
1010
  shareableMode: shareableModeSchema.optional().default(ShareableModes.LIGHT).describe(
1010
1011
  "Display mode for the shareable: light, dark, or system preference"
1011
1012
  ),