{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "groundworx/navigation",
  "title": "Groundworx Navigation",
  "description": "Responsive navigation with modals, slide-ins, and breakpoint-based layout switching.",
  "category": "theme",
  "keywords": [
    "menu",
    "navigation",
    "links",
    "flyouts"
  ],
  "icon": "menu",
  "supports": {
    "anchor": true,
    "align": true,
    "ariaLabel": true,
    "html": false,
    "inserter": true,
    "className": true,
    "__experimentalSettings": false,
    "interactivity": true,
    "renaming": false,
    "color": {
      "text": false,
      "background": false
    },
    "spacing": {
      "margin": [
        "vertical"
      ],
      "padding": true,
      "blockGap": false,
      "__experimentalDefaultControls": {
        "margin": true,
        "padding": true
      }
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalTextTransform": true,
      "__experimentalFontFamily": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextDecoration": true,
      "__experimentalSkipSerialization": [
        "textDecoration"
      ],
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    },
    "layout": {
      "allowSizingOnChildren": true,
      "allowJustification": false
    }
  },
  "attributes": {
    "template": {
      "type": "string",
      "default": "classic"
    },
    "switchAt": {
      "type": "string",
      "default": "768px"
    },
    "toggleBehavior": {
      "type": [
        "boolean",
        "string"
      ],
      "enum": [
        true,
        false,
        "responsive"
      ],
      "default": false
    },
    "hasPopupStyles": {
      "type": "boolean",
      "default": false
    },
    "position": {
      "type": "string",
      "default": "relative"
    },
    "enableHoverToggle": {
      "type": [
        "boolean",
        "array"
      ],
      "default": false,
      "items": {
        "type": "string",
        "enum": [
          "type",
          "toType"
        ]
      }
    },
    "enableSubmenuColors": {
      "type": "boolean",
      "default": false
    },
    "textColor": {
      "type": "string"
    },
    "customTextColor": {
      "type": "string"
    },
    "rgbTextColor": {
      "type": "string"
    },
    "backgroundColor": {
      "type": "string"
    },
    "customBackgroundColor": {
      "type": "string"
    },
    "rgbBackgroundColor": {
      "type": "string"
    },
    "linkColor": {
      "type": "string"
    },
    "customLinkColor": {
      "type": "string"
    },
    "rgbLinkColor": {
      "type": "string"
    },
    "hoverLinkColor": {
      "type": "string"
    },
    "customHoverLinkColor": {
      "type": "string"
    },
    "rgbHoverLinkColor": {
      "type": "string"
    },
    "submenuTextColor": {
      "type": "string"
    },
    "submenuCustomTextColor": {
      "type": "string"
    },
    "submenuRgbTextColor": {
      "type": "string"
    },
    "submenuBackgroundColor": {
      "type": "string"
    },
    "submenuCustomBackgroundColor": {
      "type": "string"
    },
    "submenuRgbBackgroundColor": {
      "type": "string"
    },
    "submenuLinkColor": {
      "type": "string"
    },
    "submenuCustomLinkColor": {
      "type": "string"
    },
    "submenuRgbLinkColor": {
      "type": "string"
    },
    "submenuHoverLinkColor": {
      "type": "string"
    },
    "submenuCustomHoverLinkColor": {
      "type": "string"
    },
    "submenuRgbHoverLinkColor": {
      "type": "string"
    },
    "minHeight": {
      "type": "string",
      "default": ""
    },
    "showLogo": {
      "type": "boolean",
      "default": false
    },
    "brandingWidth": {
      "type": "number"
    },
    "brandingIsLink": {
      "type": "boolean",
      "default": true,
      "role": "content"
    },
    "brandingLinkTarget": {
      "type": "string",
      "default": "_self",
      "role": "content"
    },
    "showPanelsIcon": {
      "type": "boolean",
      "default": false
    },
    "templateLock": {
      "type": [
        "string",
        "boolean"
      ],
      "enum": [
        "all",
        "insert",
        "contentOnly",
        false
      ]
    }
  },
  "providesContext": {
    "fontSize": "fontSize",
    "customFontSize": "customFontSize",
    "ref": "ref",
    "type": "type",
    "toType": "toType",
    "switchAt": "switchAt",
    "template": "template",
    "toggleBehavior": "toggleBehavior",
    "showPanelsIcon": "showPanelsIcon",
    "style": "style"
  },
  "selectors": {
    "root": ".wp-block-groundworx-navigation"
  },
  "editorStyle": "groundworx-navigation-editor",
  "style": "groundworx-navigation-style",
  "viewScriptModule": [
    "groundworx-navigation-view"
  ]
}