HOC SiteDocumentation

Google Maps

Decoration and visibility use Decoration & visibility (BlockShell).

Google Maps iframe. url is the place/embed URL; title names the frame for assistive tech; allowFullScreen controls the fullscreen button. Surface and border colors are authored color leaves.

Fields

title

Accessible iframe title.

title: [{ if: "*", is: "FAQ" }]

allowFullScreen

Allow the browser fullscreen control.

allowFullScreen: [{ if: "*", is: true }]

action

url

Target URL or path. Prefer site-relative paths or sitemap routes over hard-coded absolute URLs. May be stored as a plain string or a route object.

action: {
  url: "/about"
  // or
  url: { routePageId: "page_…", url: "/about" }
}

appearance

surfaceColor

Background or surface color. One authored color leaf: * is light, { theme: "dark" } is dark, and { on } (hover, active, focus, selected) is the interaction.

appearance: {
  surfaceColor: [
    { if: [{ theme: "dark" }], is: "#111827" },
    { if: "*", is: "#ffffff" }
  ]
}

Default props

{
  "allowFullScreen": [
    {
      "if": "*",
      "is": true
    }
  ],
  "shell": {
    "visibility": [
      {
        "if": "*",
        "is": true
      }
    ],
    "anchor": {
      "anchorId": [
        {
          "if": "*",
          "is": ""
        }
      ],
      "anchorKey": [
        {
          "if": "*",
          "is": ""
        }
      ]
    },
    "pointerEvents": [
      {
        "if": "*",
        "is": "auto"
      }
    ]
  }
}