{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "ag/mega-menu",
  "version": "0.1.0",
  "title": "Mega Menu",
  "category": "widgets",
  "icon": "menu-alt3",
  "description": "Professional Mega Menu for AntiGravity",
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ]
  },
  "attributes": {
    "layout": {
      "type": "object",
      "default": {
        "menuAlign": "center"
      }
    },
    "headerLayout": {
      "type": "string",
      "default": "default"
    },
    "headerContainerWidth": {
      "type": "string",
      "default": "1280"
    },
    "headerWidth": {
      "type": "string",
      "default": "100"
    },
    "headerWidthUnit": {
      "type": "string",
      "default": "%"
    },
    "headerHeight": {
      "type": "string",
      "default": "auto"
    },
    "headerAlignment": {
      "type": "string",
      "default": "space-between"
    },
    "headerGap": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": "",
        "isLinked": true
      }
    },
    "headerPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "15",
          "right": "0",
          "bottom": "15",
          "left": "0",
          "isLinked": false
        },
        "tablet": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isLinked": false
        },
        "mobile": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isLinked": false
        }
      }
    },
    "headerMargin": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "0",
          "right": "0",
          "bottom": "0",
          "left": "0",
          "isLinked": true
        },
        "tablet": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isLinked": true
        },
        "mobile": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isLinked": true
        }
      }
    },
    "enableSticky": {
      "type": "boolean",
      "default": false
    },
    "stickyOffset": {
      "type": "string",
      "default": "0"
    },
    "stickyBgColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "stickyShadow": {
      "type": "string",
      "default": "light"
    },
    "stickyBorder": {
      "type": "object",
      "default": {
        "top": {
          "width": "",
          "style": "none"
        },
        "right": {
          "width": "",
          "style": "none"
        },
        "bottom": {
          "width": "",
          "style": "none"
        },
        "left": {
          "width": "",
          "style": "none"
        },
        "isLinked": true,
        "color": ""
      }
    },
    "stickyBorderRadius": {
      "type": "object",
      "default": {
        "topLeft": "",
        "topRight": "",
        "bottomRight": "",
        "bottomLeft": "",
        "isLinked": true
      }
    },
    "align": {
      "type": "string",
      "default": "full"
    },
    "currentLanguage": {
      "type": "string",
      "default": "English"
    },
    "isDarkMode": {
      "type": "boolean",
      "default": false
    },
    "bgTypeNormal": {
      "type": "string",
      "default": "color"
    },
    "bgColorNormal": {
      "type": "string",
      "default": ""
    },
    "bgTypeHover": {
      "type": "string",
      "default": "color"
    },
    "bgColorHover": {
      "type": "string",
      "default": ""
    },
    "enableOverlay": {
      "type": "boolean",
      "default": false
    },
    "overlayType": {
      "type": "string",
      "default": "color"
    },
    "overlayColor": {
      "type": "string",
      "default": "rgba(0,0,0,0.5)"
    },
    "overlayOpacity": {
      "type": "number",
      "default": 1
    },
    "overlayZIndex": {
      "type": "number",
      "default": -1
    },
    "overlayBlendMode": {
      "type": "string",
      "default": "normal"
    },
    "overlayPadding": {
      "type": "object",
      "default": {
        "top": "0",
        "right": "0",
        "bottom": "0",
        "left": "0"
      }
    },
    "logoType": {
      "type": "string",
      "default": "text"
    },
    "logoText": {
      "type": "string",
      "default": "bPlugins"
    },
    "logoImage": {
      "type": "object",
      "default": {
        "id": 0,
        "url": ""
      }
    },
    "logoWidth": {
      "type": "string",
      "default": "120"
    },
    "logoUrl": {
      "type": "string",
      "default": "/"
    },
    "logoTypography": {
      "type": "object",
      "default": {
        "fontSize": "20",
        "fontWeight": "700",
        "fontFamily": "Inter",
        "fontStyle": "normal",
        "textTransform": "none",
        "textDecoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "loadGoogleFont": false
      }
    },
    "logoColor": {
      "type": "string",
      "default": ""
    },
    "logoPadding": {
      "type": "object",
      "default": {
        "top": "0",
        "right": "0",
        "bottom": "0",
        "left": "0",
        "isLinked": true
      }
    },
    "logoMargin": {
      "type": "object",
      "default": {
        "top": "0",
        "right": "0",
        "bottom": "0",
        "left": "0",
        "isLinked": true
      }
    },
    "logoPosition": {
      "type": "string",
      "default": "left"
    },
    "buttonText": {
      "type": "string",
      "default": "Sign In"
    },
    "buttonUrl": {
      "type": "string",
      "default": ""
    },
    "buttonTarget": {
      "type": "boolean",
      "default": false
    },
    "buttonIcon": {
      "type": "object",
      "default": {}
    },
    "buttonIconSize": {
      "type": "string",
      "default": "16"
    },
    "buttonIconPosition": {
      "type": "string",
      "default": "left"
    },
    "buttonTypography": {
      "type": "object",
      "default": {
        "fontSize": "14px",
        "fontWeight": "600",
        "fontFamily": "Default",
        "fontStyle": "normal",
        "textTransform": "none",
        "textDecoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "loadGoogleFont": false
      }
    },
    "btnBgColorNormal": {
      "type": "string",
      "default": "#2563eb"
    },
    "btnTextColorNormal": {
      "type": "string",
      "default": "#ffffff"
    },
    "btnBgColorHover": {
      "type": "string",
      "default": "#1d4ed8"
    },
    "btnTextColorHover": {
      "type": "string",
      "default": "#ffffff"
    },
    "btnPadding": {
      "type": "object",
      "default": {
        "topBottom": "10",
        "leftRight": "24"
      }
    },
    "btnBorder": {
      "type": "object",
      "default": {
        "width": "0",
        "style": "solid",
        "color": "",
        "sides": "all",
        "radius": "8"
      }
    },
    "buttonPosition": {
      "type": "string",
      "default": "right"
    },
    "navTypography": {
      "type": "object",
      "default": {
        "fontSize": "15",
        "fontWeight": "500",
        "fontFamily": "Default",
        "fontStyle": "normal",
        "textTransform": "none",
        "textDecoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "loadGoogleFont": false
      }
    },
    "navPadding": {
      "type": "object",
      "default": {
        "top": "10",
        "right": "15",
        "bottom": "10",
        "left": "15",
        "isLinked": false
      }
    },
    "navMargin": {
      "type": "object",
      "default": {
        "top": "0",
        "right": "0",
        "bottom": "0",
        "left": "0",
        "isLinked": true
      }
    },
    "navColorNormal": {
      "type": "string",
      "default": ""
    },
    "navColorHover": {
      "type": "string",
      "default": ""
    },
    "navColorActive": {
      "type": "string",
      "default": ""
    },
    "navBgColorNormal": {
      "type": "string",
      "default": ""
    },
    "navBgColorHover": {
      "type": "string",
      "default": ""
    },
    "navBgColorActive": {
      "type": "string",
      "default": ""
    },
    "navBorderColor": {
      "type": "string",
      "default": ""
    },
    "navBorder": {
      "type": "object",
      "default": {
        "width": "0",
        "style": "solid",
        "color": "",
        "sides": "all",
        "radius": "4"
      }
    },
    "navAlignment": {
      "type": "string",
      "default": "center"
    },
    "navGap": {
      "type": "string",
      "default": "25"
    },
    "navItemHeight": {
      "type": "string",
      "default": ""
    },
    "navItemWidth": {
      "type": "string",
      "default": ""
    },
    "globalDropdownWidth": {
      "type": "string",
      "default": ""
    },
    "globalDropdownBgColor": {
      "type": "string",
      "default": ""
    },
    "globalDropdownLinkColor": {
      "type": "string",
      "default": ""
    },
    "globalDropdownLinkHoverColor": {
      "type": "string",
      "default": ""
    },
    "globalDropdownLinkHoverBgColor": {
      "type": "string",
      "default": ""
    }
  },
  "textdomain": "ag-mega-menu",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./index.css",
  "viewScript": "file:./view.js"
}