{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "makeiteasy/popup",
  "version": "1.0.0",
  "title": "Makeiteasy Popup",
  "category": "widgets",
  "icon": "edit-page",
  "description": "Example block scaffolded with Create Block tool.",
  "example": {},
  "textdomain": "makeiteasy-popup",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./makeiteasy-popup-helpers.js",
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "background": {
      "backgroundImage": true,
      "backgroundPosition": "50% 50%",
      "backgroundSize": true
    },
    "color": {
      "background": true,
      "text": true,
      "gradients": true,
      "enableContrastChecker": true,
      "button": true,
      "heading": true,
      "link": true
    },
    "dimensions": {
      "minHeight": true
    },
    "layout": {
      "default": {
        "type": "constrained"
      }
    },
    "shadow": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "textAlign": true
    }
  },
  "attributes": {
    "openType": {
      "enum": [
        "on timer",
        "on scroll",
        "on click",
        "on hover"
      ],
      "default": "on scroll"
    },
    "openSelector": {
      "type": "string"
    },
    "openingTime": {
      "type": "string",
      "default": "5s"
    },
    "waitingAfterClosing": {
      "type": "string",
      "default": "-1s"
    },
    "layoutType": {
      "enum": [
        "floating",
        "fixed",
        "attached"
      ],
      "default": "floating"
    },
    "modalityType": {
      "enum": [
        "modal",
        "modeless"
      ],
      "default": "modal"
    },
    "attachedBaseElement": {
      "type": "string"
    },
    "fixedPopupPosition": {
      "enum": [
        "top",
        "bottom",
        "left",
        "right"
      ],
      "default": "bottom"
    },
    "hasCloseButton": {
      "type": "boolean",
      "default": true
    },
    "enabled": {
      "type": "boolean",
      "default": true
    },
    "closeButtonColor": {
      "type": "string"
    },
    "closeButtonPosition": {
      "enum": [
        "above",
        "beside"
      ],
      "default": "above"
    },
    "popupWidth": {
      "type": "string",
      "default": null
    }
  },
  "selectors": {
    "root": ".makeiteasy-popup-wrapper"
  }
}