{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "caledros-basic-blocks/mobile-menu-container",
  "title": "Mobile Menu Container",
  "category": "caledros-basic-blocks",
  "icon": "block-default",
  "description": "A flexbox container designed for mobile 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": "80px",
      "containerBorder": {
        "style": "solid",
        "width": "1px",
        "lightColor": "#000",
        "darkColor": "#fff",
        "radius": "0px"
      },
      "containerJustifyContent": "space-between",
      "containerAlignItems": "center",
      "containerPadding": {
        "top": "10px",
        "right": "10px",
        "bottom": "20px",
        "left": "10px",
        "differentPaddingsEnabled": true,
        "useGlobalPadding": false
      }
    },
    "innerBlocks": [
      {
        "name": "caledros-basic-blocks/flex-container",
        "attributes": {
          "containerMinHeight": "60px",
          "containerWidth": "100px",
          "containerMargin": {
            "top": "0px",
            "right": "0px",
            "bottom": "0px",
            "left": "0px",
            "differentMarginsEnabled": true
          },
          "containerJustifyContent": "center",
          "containerAlignItems": "center"
        },
        "innerBlocks": [
          {
            "name": "core/heading",
            "attributes": {
              "content": "Site Title",
              "level": 1,
              "textAlign": "center",
              "style": {
                "typography": {
                  "fontSize": "20px",
                  "fontWeight": "700"
                },
                "color": {
                  "text": "#000"
                },
                "spacing": {
                  "margin": {
                    "top": "0px",
                    "bottom": "0px"
                  },
                  "padding": {
                    "top": "0px",
                    "bottom": "0px",
                    "left": "0px",
                    "right": "0px"
                  }
                },
                "border": {
                  "radius": "8px",
                  "width": "0px",
                  "style": "none",
                  "color": "#00000000"
                }
              }
            }
          }
        ]
      },
      {
        "name": "caledros-basic-blocks/flex-container",
        "attributes": {
          "containerMinHeight": "60px",
          "containerWidth": "50px",
          "containerMargin": {
            "top": "20px",
            "right": "0px",
            "bottom": "20px",
            "left": "0px",
            "differentMarginsEnabled": true
          },
          "containerJustifyContent": "center",
          "containerAlignItems": "center"
        },
        "innerBlocks": [
          {
            "name": "caledros-basic-blocks/sidebar-menu"
          }
        ]
      }
    ],
    "viewportWidth": 300
  },
  "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
  }
}
