{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "title": "Bootstrap Alert",
  "apiVersion": 3,
  "name": "mediaron/alerts-dlx-bootstrap",
  "category": "alertsdlx",
  "icon": "<svg width='100%' height='100%' viewBox='0 0 167 134' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'><path fill='#6500FB' d='M34.617,0.282c-9.51,0 -16.546,8.324 -16.231,17.351c0.302,8.672 -0.091,19.904 -2.918,29.063c-2.837,9.187 -7.633,15.006 -15.468,15.753l0,8.435c7.835,0.747 12.631,6.567 15.468,15.753c2.827,9.16 3.22,20.391 2.918,29.064c-0.315,9.025 6.721,17.35 16.233,17.35l97.443,-0c9.51,-0 16.545,-8.324 16.23,-17.35c-0.302,-8.673 0.091,-19.904 2.918,-29.064c2.838,-9.186 7.622,-15.006 15.457,-15.753l-0,-8.435c-7.835,-0.747 -12.619,-6.566 -15.457,-15.753c-2.827,-9.158 -3.22,-20.391 -2.918,-29.063c0.315,-9.026 -6.72,-17.351 -16.23,-17.351l-97.446,0l0.001,0Zm78.377,81.728c0,12.429 -9.271,19.967 -24.656,19.967l-26.191,0c-1.55,0 -2.825,-1.275 -2.825,-2.824l0,-64.972c0,-1.55 1.275,-2.825 2.825,-2.825l26.041,-0c12.829,-0 21.248,6.949 21.248,17.619c0,7.488 -5.663,14.193 -12.88,15.367l0,0.391c9.824,1.078 16.438,7.88 16.438,17.277Zm-27.512,-41.699l-14.934,-0l0,21.093l12.578,-0c9.723,-0 15.084,-3.915 15.084,-10.914c0,-6.558 -4.61,-10.179 -12.728,-10.179Zm-14.934,29.462l0,23.247l15.483,-0c10.123,-0 15.486,-4.062 15.486,-11.697c-0,-7.635 -5.513,-11.55 -16.137,-11.55l-14.832,-0Z'/></svg>",
  "description": "An alert and notification block inspired by Bootstrap.",
  "keywords": [
    "alert",
    "info",
    "hint",
    "success",
    "error",
    "notice",
    "notification",
    "warning",
    "bootstrap"
  ],
  "version": "1.0.0",
  "textdomain": "alerts-dlx",
  "attributes": {
    "align": {
      "type": "string",
      "default": "center"
    },
    "alertType": {
      "type": "string",
      "default": "success"
    },
    "alertTitle": {
      "type": "string",
      "default": ""
    },
    "alertDescription": {
      "type": "string",
      "default": ""
    },
    "descriptionEnabled": {
      "type": "boolean",
      "default": true
    },
    "titleEnabled": {
      "type": "boolean",
      "default": true
    },
    "buttonEnabled": {
      "type": "boolean",
      "default": false
    },
    "iconEnabled": {
      "type": "boolean",
      "default": true
    },
    "innerBlocksEnabled": {
      "type": "boolean",
      "default": false
    },
    "closeButtonEnabled": {
      "type": "boolean",
      "default": false
    },
    "closeButtonExpiration": {
      "type": "number",
      "default": 0
    },
    "colorPrimary": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-primary, #084298)"
    },
    "colorBorder": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-border, #b6d4fe)"
    },
    "colorAccent": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-accent, #26559c)"
    },
    "colorAlt": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-alt, #084298)"
    },
    "colorAltHover": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-alt-hover, #084298)"
    },
    "colorAltText": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-alt-text, #ffffff)"
    },
    "colorAltTextHover": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-alt-text-hover, #ffffff)"
    },
    "colorBold": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-bold, #084298)"
    },
    "colorLight": {
      "type": "string",
      "default": "var(--alerts-dlx-bootstrap-color-light, #cfe2ff)"
    },
    "buttonText": {
      "type": "string",
      "default": ""
    },
    "buttonUrl": {
      "type": "string",
      "default": ""
    },
    "buttonHasUrl": {
      "type": "boolean",
      "default": false
    },
    "buttonTarget": {
      "type": "boolean",
      "default": false
    },
    "buttonRelNoFollow": {
      "type": "boolean",
      "default": false
    },
    "buttonRelSponsored": {
      "type": "boolean",
      "default": false
    },
    "maximumWidthUnit": {
      "type": "string",
      "default": "px"
    },
    "maximumWidth": {
      "type": "string",
      "default": "650"
    },
    "baseFontSize": {
      "type": "number",
      "default": 18
    },
    "icon": {
      "type": "string",
      "default": "<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' className='bi bi-check' viewBox='0 0 16 16'><path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z' /></svg>"
    },
    "enableCustomFonts": {
      "type": "boolean",
      "default": true
    },
    "variant": {
      "type": "string",
      "default": "default"
    },
    "mode": {
      "type": "string",
      "default": "light"
    },
    "enableDropShadow": {
      "type": "boolean",
      "default": false
    },
    "iconVerticalAlignment": {
      "type": "string",
      "default": "top"
    },
    "uniqueId": {
      "type": "string",
      "default": ""
    },
    "alertGroup": {
      "type": "string",
      "default": "bootstrap"
    },
    "isBlockAdminOnly": {
      "type": "boolean",
      "default": false
    },
    "adminOnlyBlockExpiresEnabled": {
      "type": "boolean",
      "default": false
    },
    "adminOnlyBlockExpires": {
      "type": "string",
      "default": null
    },
    "isBlockEditorialOnly": {
      "type": "boolean",
      "default": false
    },
    "isBlockReadOnly": {
      "type": "boolean",
      "default": false
    },
    "iconSource": {
      "type": "string",
      "default": "icon"
    },
    "imageUrl": {
      "type": "string",
      "default": ""
    },
    "imageId": {
      "type": "number",
      "default": 0
    }
  },
  "example": {
    "attributes": {
      "alertType": "success",
      "alertTitle": "Sample alert title",
      "alertDescription": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>",
      "buttonEnabled": true,
      "baseFontSize": 14,
      "buttonText": "Learn More",
      "icon": "<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' className='bi bi-check' viewBox='0 0 16 16'><path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z' /></svg>"
    }
  },
  "styles": [
    {
      "name": "primary",
      "label": "Primary",
      "isDefault": true
    },
    {
      "name": "secondary",
      "label": "Secondary"
    },
    {
      "name": "success",
      "label": "Success"
    },
    {
      "name": "danger",
      "label": "Danger"
    },
    {
      "name": "warning",
      "label": "Warning"
    },
    {
      "name": "info",
      "label": "Info"
    },
    {
      "name": "light",
      "label": "Light"
    },
    {
      "name": "dark",
      "label": "Dark"
    },
    {
      "name": "custom",
      "label": "Custom"
    }
  ],
  "supports": {
    "anchor": true,
    "align": true,
    "className": true
  },
  "editorScript": "alerts-dlx-block",
  "editorStyle": [
    "alerts-dlx-block-editor-styles",
    "alerts-dlx-bootstrap-styles",
    "alerts-dlx-block-editor-styles-lato"
  ]
}