{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "24.1.1",
  "textdomain": "snow-monkey-blocks",
  "name": "snow-monkey-blocks/section",
  "title": "Section",
  "description": "Contents can be separated by appropriate margins.",
  "category": "smb-section",
  "attributes": {
    "textColor": {
      "type": "string"
    },
    "contentsWidth": {
      "type": "string",
      "default": null
    },
    "contentsAlignment": {
      "type": "string"
    },
    "contentJustification": {
      "type": "string"
    },
    "itemsAlignment": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__title",
      "default": ""
    },
    "subtitle": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__subtitle",
      "default": ""
    },
    "lede": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__lede",
      "default": ""
    },
    "wrapperTagName": {
      "type": "string",
      "default": "div"
    },
    "titleTagName": {
      "type": "string",
      "default": "h2"
    },
    "height": {
      "type": "string",
      "default": "fit"
    },
    "disableCustomHeight": {
      "type": "boolean",
      "default": true
    },
    "containerAlign": {
      "type": "string"
    },
    "disableContainerPadding": {
      "type": "boolean",
      "default": false
    },
    "contentsMaxWidth": {
      "type": "string"
    },
    "isSlim": {
      "type": "boolean",
      "default": false
    },
    "backgroundHorizontalPosition": {
      "type": "number",
      "default": 0
    },
    "backgroundVerticalPosition": {
      "type": "number",
      "default": 0
    },
    "isBackgroundNoOver": {
      "type": "boolean",
      "default": false
    },
    "backgroundColor": {
      "type": "string"
    },
    "backgroundGradientColor": {
      "type": "string"
    },
    "backgroundTexture": {
      "type": "string"
    },
    "backgroundTextureOpacity": {
      "type": "number",
      "default": 1
    },
    "backgroundTextureUrl": {
      "type": "string"
    },
    "fixedBackgroundColor": {
      "type": "string"
    },
    "fixedBackgroundGradientColor": {
      "type": "string"
    },
    "fixedBackgroundTexture": {
      "type": "string"
    },
    "fixedBackgroundTextureOpacity": {
      "type": "number",
      "default": 1
    },
    "fixedBackgroundTextureUrl": {
      "type": "string"
    },
    "topDividerType": {
      "type": "string",
      "default": "tilt"
    },
    "topDividerLevel": {
      "type": "number",
      "default": 0
    },
    "topDividerColor": {
      "type": "string",
      "default": "#fff"
    },
    "topDividerVerticalPosition": {
      "type": "number",
      "default": 0
    },
    "topDividerOverlay": {
      "type": "boolean",
      "default": true
    },
    "bottomDividerType": {
      "type": "string",
      "default": "tilt"
    },
    "bottomDividerLevel": {
      "type": "number",
      "default": 0
    },
    "bottomDividerColor": {
      "type": "string",
      "default": "#fff"
    },
    "bottomDividerVerticalPosition": {
      "type": "number",
      "default": 0
    },
    "bottomDividerOverlay": {
      "type": "boolean",
      "default": true
    },
    "backgroundText": {
      "type": "object",
      "default": {
        "text": "",
        "color": "",
        "fontSize": "",
        "fontSizeSlug": "",
        "lineHeight": "",
        "opacity": 0.2,
        "position": {
          "top": null,
          "right": null,
          "bottom": null,
          "left": null
        }
      }
    },
    "templateLock": {
      "type": [
        "string",
        "boolean"
      ],
      "enum": [
        "all",
        "insert",
        "contentOnly",
        false
      ]
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "spacing": {
      "margin": true,
      "padding": [
        "top",
        "bottom"
      ]
    },
    "layout": {
      "allowSwitching": false,
      "allowEditing": false,
      "allowInheriting": false,
      "default": {
        "type": "constrained"
      }
    },
    "snowmonkeyeditor": {
      "blockPresets": {
        "ignore": [
          "title",
          "subtitle",
          "lede",
          "backgroundText"
        ]
      }
    }
  },
  "example": {
    "attributes": {
      "title": "Lorem ipsum dolor sit amet"
    },
    "innerBlocks": [
      {
        "name": "core/paragraph",
        "attributes": {
          "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam"
        }
      }
    ]
  },
  "style": "file:./style-index.css",
  "editorScript": "file:./index.js"
}