{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "themeisle-blocks/popup",
	"title": "Popup",
	"category": "themeisle-blocks",
	"description": "Display your content in beautiful popup with many customization options. Powered by Otter.",
	"keywords": [ "popup", "modal", "lightbox" ],
	"textdomain": "otter-blocks",
	"attributes": {
		"id": {
			"type": "string"
		},
		"minWidth": {
			"type": ["number", "string"]
		},
		"maxWidth": {
			"type": ["number", "string"]
		},
		"trigger": {
			"type": "string"
		},
		"wait": {
			"type": "number"
		},
		"anchor": {
			"type": "string"
		},
		"scroll": {
			"type": "number"
		},
		"showClose": {
			"type": "boolean",
			"default": true
		},
		"outsideClose": {
			"type": "boolean",
			"default": true
		},
		"anchorClose": {
			"type": "boolean",
			"default": false
		},
		"closeAnchor": {
			"type": "string"
		},
		"recurringClose": {
			"type": "boolean",
			"default": false
		},
		"recurringTime": {
			"type": "number"
		},
		"backgroundColor": {
			"type": "string"
		},
		"closeColor": {
			"type": "string"
		},
		"overlayColor": {
			"type": "string"
		},
		"overlayOpacity": {
			"type": "number"
		},
		"lockScrolling": {
			"type": "boolean"
		},
		"padding": {
			"type": "object"
		},
		"paddingTablet": {
			"type": "object"
		},
		"paddingMobile": {
			"type": "object"
		},
		"borderWidth": {
			"type": "object"
		},
		"borderRadius": {
			"type": "object"
		},
		"borderColor": {
			"type": "string"
		},
		"borderStyle": {
			"type": "string"
		},
		"width": {
			"type": "string"
		},
		"widthTablet": {
			"type": "string"
		},
		"widthMobile": {
			"type": "string"
		},
		"heightMode": {
			"type": "string"
		},
		"height":{
			"type": "string"
		},
		"heightTablet":{
			"type": "string"
		},
		"heightMobile":{
			"type": "string"
		},
		"verticalPosition": {
			"type": "string"
		},
		"horizontalPosition": {
			"type": "string"
		},
		"verticalPositionTablet": {
			"type": "string"
		},
		"horizontalPositionTablet": {
			"type": "string"
		},
		"verticalPositionMobile": {
			"type": "string"
		},
		"horizontalPositionMobile": {
			"type": "string"
		},
		"closeButtonType": {
			"type": "string"
		},
		"boxShadow": {
			"type": "object",
			"default": {
				"active": false,
				"colorOpacity": 50,
				"blur": 5,
				"spread": 1,
				"horizontal": 0,
				"vertical": 0
			}
		},
		"disableOn": {
			"type": "string"
		}
	},
	"editorStyle": "otter-popup-editor",
	"style": "otter-popup-style",
	"script": "otter-popup"
}
