{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/advanced-container",
  "version": "1.0.0",
  "title": "Advanced Container",
  "category": "bloqra",
  "icon": "layout",
  "description": "A section wrapper with everything Group can't do — image or video background with focal point, fixed and repeated modes, a color or gradient overlay, and top/bottom shape dividers.",
  "keywords": [
    "section",
    "container",
    "wrapper",
    "hero",
    "background",
    "video",
    "overlay",
    "divider"
  ],
  "example": {
    "attributes": {
      "shapeBottom": "waves",
      "shapeBottomColor": "#ffffff",
      "style": {
        "color": {
          "background": "#4f46e5",
          "text": "#ffffff"
        },
        "spacing": {
          "padding": {
            "top": "48px",
            "bottom": "96px"
          }
        }
      }
    },
    "innerBlocks": [
      {
        "name": "core/heading",
        "attributes": {
          "content": "Build sections, not just groups",
          "textAlign": "center",
          "level": 2
        }
      },
      {
        "name": "core/paragraph",
        "attributes": {
          "content": "Media backgrounds, overlays and shape dividers in one container.",
          "align": "center"
        }
      }
    ]
  },
  "attributes": {
    "tagName": {
      "type": "string",
      "default": "div"
    },
    "templateLock": {
      "type": [
        "string",
        "boolean"
      ],
      "enum": [
        "all",
        "insert",
        "contentOnly",
        false
      ]
    },
    "url": {
      "type": "string",
      "role": "content"
    },
    "id": {
      "type": "number"
    },
    "alt": {
      "type": "string",
      "default": ""
    },
    "backgroundType": {
      "type": "string",
      "default": "image"
    },
    "focalPoint": {
      "type": "object"
    },
    "hasParallax": {
      "type": "boolean",
      "default": false
    },
    "isRepeated": {
      "type": "boolean",
      "default": false
    },
    "dimRatio": {
      "type": "number",
      "default": 50
    },
    "contentPosition": {
      "type": "string"
    },
    "overlayColor": {
      "type": "string"
    },
    "customOverlayColor": {
      "type": "string"
    },
    "overlayGradient": {
      "type": "string"
    },
    "customOverlayGradient": {
      "type": "string"
    },
    "shapeTop": {
      "type": "string",
      "default": ""
    },
    "shapeTopColor": {
      "type": "string",
      "default": ""
    },
    "shapeTopHeight": {
      "type": "string",
      "default": "100px"
    },
    "shapeTopFlip": {
      "type": "boolean",
      "default": false
    },
    "shapeBottom": {
      "type": "string",
      "default": ""
    },
    "shapeBottomColor": {
      "type": "string",
      "default": ""
    },
    "shapeBottomHeight": {
      "type": "string",
      "default": "100px"
    },
    "shapeBottomFlip": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "__experimentalOnEnter": true,
    "__experimentalOnMerge": true,
    "__experimentalSettings": true,
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "ariaLabel": true,
    "html": false,
    "color": {
      "gradients": true,
      "heading": true,
      "button": true,
      "link": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "shadow": true,
    "spacing": {
      "margin": [
        "top",
        "bottom"
      ],
      "padding": true,
      "blockGap": true,
      "__experimentalDefaultControls": {
        "padding": true,
        "blockGap": true
      }
    },
    "dimensions": {
      "minHeight": true,
      "aspectRatio": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "position": {
      "sticky": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontWeight": true,
      "__experimentalFontStyle": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalLetterSpacing": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    },
    "layout": {
      "allowSizingOnChildren": true,
      "default": {
        "type": "constrained"
      }
    },
    "filter": {
      "duotone": true
    },
    "allowedBlocks": true
  },
  "selectors": {
    "filter": {
      "duotone": ".wp-block-bloqra-advanced-container > .bloqra-advanced-container__media"
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}