@the-smithy/hearth-schema 0.13.1 → 0.15.0

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 CHANGED
@@ -2002,6 +2002,10 @@ declare const siteSettingsSchema: z.ZodObject<{
2002
2002
  label: z.ZodString;
2003
2003
  href: z.ZodString;
2004
2004
  }, z.core.$strip>>>;
2005
+ navigationCta: z.ZodOptional<z.ZodObject<{
2006
+ label: z.ZodString;
2007
+ href: z.ZodString;
2008
+ }, z.core.$strip>>;
2005
2009
  footerLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2006
2010
  label: z.ZodString;
2007
2011
  href: z.ZodString;
package/dist/index.js CHANGED
@@ -486,6 +486,8 @@ var ORGANIZATION_TYPES = ["Organization", "LocalBusiness", "NGO", "Corporation",
486
486
  var SOCIAL_PLATFORMS = ["facebook", "instagram", "linkedin", "x", "youtube", "tiktok", "other"];
487
487
  var siteSettingsSchema = z2.object({
488
488
  navigation: z2.array(link2).default([]),
489
+ /** An optional button at the end of the main menu, e.g. "Book now" or "Donate". Frontends style it as a button. */
490
+ navigationCta: link2.optional(),
489
491
  footerLinks: z2.array(link2).default([]),
490
492
  contact: z2.object({
491
493
  email: z2.string().trim().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-smithy/hearth-schema",
3
- "version": "0.13.1",
3
+ "version": "0.15.0",
4
4
  "description": "Content schemas and API types shared by Hearth and its SDK.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",