{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "caledros-basic-blocks/desktop-menu-container",
  "title": "Desktop Menu Container",
  "category": "caledros-basic-blocks",
  "icon": "block-default",
  "description": "A flexbox container optimized for desktop navigation menus. It should only be used once in the website's header.",
  "keywords": ["container, wrapper"],
  "version": "1.0",
  "textdomain": "caledros-basic-blocks",
  "editorScript": "file:./index.js",
  "viewScript": "file:./frontend.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "example": {
    "attributes": {
      "containerHeight": "100px",
      "containerBorder": {
        "style": "solid",
        "width": "2px",
        "lightColor": "#000",
        "darkColor": "#fff",
        "radius": "0px"
      },
      "containerJustifyContent": "space-between",
      "containerAlignItems": "center",
      "containerPadding": {
        "top": "10px",
        "right": "10px",
        "bottom": "10px",
        "left": "10px",
        "differentPaddingsEnabled": true,
        "useGlobalPadding": false
      }
    },
    "innerBlocks": [
      {
        "name": "core/heading",
        "attributes": {
          "content": "Site Title",
          "level": 1,
          "textAlign": "center",
          "style": {
            "typography": {
              "fontSize": "32px",
              "fontWeight": "700"
            },
            "color": {
              "text": "#ffffff",
              "background": "#000000"
            },
            "spacing": {
              "margin": {
                "top": "20px",
                "bottom": "20px"
              },
              "padding": {
                "top": "10px",
                "bottom": "10px",
                "left": "15px",
                "right": "15px"
              }
            },
            "border": {
              "radius": "8px",
              "width": "0px",
              "style": "none",
              "color": "#00000000"
            }
          }
        }
      },
      {
        "name": "caledros-basic-blocks/flex-container",
        "attributes": {
          "containerMinHeight": "60px",
          "containerWidth": "250px",
          "containerLightBackgroundColor": "#519872",
          "containerBorder": {
            "style": "solid",
            "width": "0px",
            "lightColor": "#00000000",
            "darkColor": "#00000000",
            "radius": "10px"
          },
          "containerMargin": {
            "top": "20px",
            "right": "0px",
            "bottom": "20px",
            "left": "0px",
            "differentMarginsEnabled": true
          }
        }
      },
      {
        "name": "caledros-basic-blocks/flex-container",
        "attributes": {
          "containerMinHeight": "60px",
          "containerWidth": "125px",
          "containerLightBackgroundColor": "#3E7CB1",
          "containerBorder": {
            "style": "solid",
            "width": "0px",
            "lightColor": "#00000000",
            "darkColor": "#00000000",
            "radius": "10px"
          },
          "containerMargin": {
            "top": "20px",
            "right": "0px",
            "bottom": "20px",
            "left": "0px",
            "differentMarginsEnabled": true
          }
        }
      }
    ],
    "viewportWidth": 811
  },
  "attributes": {
    "containerWidth": {
      "type": "string",
      "default": "100%"
    },
    "containerHeight": {
      "type": "string",
      "default": "40px"
    },
    "containerLightBackgroundColor": {
      "type": "string",
      "default": "#00000000"
    },
    "containerDarkBackgroundColor": {
      "type": "string",
      "default": "#00000000"
    },
    "containerBackgroundImage": {
      "type": "object",
      "default": {
        "id": 0,
        "alt": "",
        "url": ""
      }
    },
    "containerBgImageFocalPoint": {
      "type": "object",
      "default": { "x": 0.5, "y": 0.5 }
    },
    "containerLightBackgroundGradient": {
      "type": "string",
      "default": ""
    },
    "containerDarkBackgroundGradient": {
      "type": "string",
      "default": ""
    },
    "containerBorder": {
      "type": "object",
      "default": {
        "style": "none",
        "width": "0px",
        "lightColor": "#00000000",
        "darkColor": "#00000000",
        "radius": "0px"
      }
    },
    "containerBoxShadow": {
      "type": "object",
      "default": {
        "enabled": false,
        "hOffset": "10px",
        "vOffset": "10px",
        "blur": "0px",
        "spread": "0px",
        "lightColor": "#000",
        "darkColor": "#f4f4f4",
        "style": ""
      }
    },
    "containerMargin": {
      "type": "object",
      "default": {
        "top": "0px",
        "right": "0px",
        "bottom": "0px",
        "left": "0px",
        "differentMarginsEnabled": false
      }
    },
    "containerPadding": {
      "type": "object",
      "default": {
        "top": "0px",
        "right": "0px",
        "bottom": "0px",
        "left": "0px",
        "differentPaddingsEnabled": false,
        "useGlobalPadding": false
      }
    },
    "containerJustifyContent": {
      "type": "string",
      "default": "flex-start"
    },
    "containerAlignItems": {
      "type": "string",
      "default": "center"
    },
    "containerColumnGap": {
      "type": "string",
      "default": "normal"
    },
    "containerOverflow": {
      "type": "string",
      "default": "visible"
    },
    "stickyNavigationEnabled": {
      "type": "boolean",
      "default": false
    },
    "stickyNavHeight": {
      "type": "string",
      "default": "30px"
    },
    "stickyNavLightBackgroundColor": {
      "type": "string",
      "default": "#00000000"
    },
    "stickyNavDarkBackgroundColor": {
      "type": "string",
      "default": "#00000000"
    },
    "centerStickyNav": {
      "type": "boolean",
      "default": true
    },
    "overlayStickyNav": {
      "type": "boolean",
      "default": false
    },
    "overlayNav": {
      "type": "boolean",
      "default": false
    },
    "stickyNavBoxShadow": {
      "type": "object",
      "default": {
        "enabled": false,
        "hOffset": "10px",
        "vOffset": "10px",
        "blur": "0px",
        "spread": "0px",
        "lightColor": "#000",
        "darkColor": "#f4f4f4",
        "style": ""
      }
    },
    "containerBlur": {
      "type": "object",
      "default": {
        "enabled": false,
        "value": "10px"
      }
    }
  },
  "supports": {
    "align": false,
    "alignWide": false,
    "className": false,
    "html": false,
    "multiple": false
  }
}
