{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "title": "Notice",
  "name": "brandy/notice",
  "category": "brandy-blocks",
  "description": "Call something out: a note, a success, a warning or an error, with an optional dismiss button.",
  "keywords": [
    "notice",
    "alert",
    "callout",
    "warning",
    "message",
    "banner"
  ],
  "attributes": {
    "type": {
      "type": "string",
      "enum": [
        "info",
        "success",
        "warning",
        "error"
      ],
      "default": "info"
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "iconName": {
      "type": "string",
      "default": ""
    },
    "iconType": {
      "type": "string",
      "enum": [
        "regular",
        "fill",
        "duotone"
      ],
      "default": "fill"
    },
    "dismissible": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "interactivity": true,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "text": true,
      "background": true,
      "link": true,
      "__experimentalDefaultControls": {
        "background": false,
        "text": false
      }
    },
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "padding": true
      }
    },
    "typography": {
      "fontSize": true,
      "__experimentalFontFamily": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "radius": true
      }
    }
  },
  "example": {
    "viewportWidth": 600,
    "attributes": {
      "type": "warning"
    },
    "innerBlocks": [
      {
        "name": "core/paragraph",
        "attributes": {
          "content": "Orders placed after 3pm on Friday ship the following Monday."
        }
      }
    ]
  },
  "textdomain": "brandy-blocks",
  "render": "file:./render.php",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScriptModule": "file:./view.js"
}