{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "version": "0.1.0",
    "name": "premium/icon",
    "title": "Icon",
    "description": "Decorate your Gutenberg website using Premium Icon Block.",
    "keywords": [
        "Icon",
        "Font Awesome",
        "Dashicons",
        "Lottie",
        "SVG",
        "Icons",
        "icon block"
    ],
    "category": "premium-blocks",
    "textdomain": "premium-blocks-for-gutenberg",
    "attributes": {
        "blockId": {
            "type": "string"
        },
        "classMigrate": {
            "type": "boolean",
            "default": false
        },
        "iconType": {
            "type": "string",
            "default": "dash"
        },
        "iconTypeFile": {
            "type": "string",
            "default": "icon"
        },
        "imageID": {
            "type": "number"
        },
        "imageURL": {
            "type": "string"
        },
        "alt": {
            "type": "string",
            "source": "attribute",
            "selector": "img",
            "attribute": "alt",
            "default": ""
        },
        "icons": {
            "type": "array",
            "default": [
                {
                    "size": "50",
                    "width": "2",
                    "title": "",
                    "style": "default"
                }
            ]
        },
        "lottieURl": {
            "type": "string"
        },
        "loop": {
            "type": "boolean",
            "default": true
        },
        "imgTagHeight": {
            "type": "number",
            "default": 0
        },
        "imgTagWidth": {
            "type": "number",
            "default": 0
        },
        "reversedir": {
            "type": "boolean",
            "default": false
        },
        "selectedIcon": {
            "type": "string",
            "default": "dashicons star-empty"
        },
        "iconAlign": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": ""
            },
            "isStyle": true
        },
        "hoverEffect": {
            "type": "string",
            "default": "none",
            "isStyle": true
        },
        "hoversEffect": {
            "type": "string",
            "isStyle": true
        },
        "iconStyles": {
            "type": "array",
            "default": [
                {
                    "iconColor": "",
                    "iconBack": "",
                    "iconHoverColor": "",
                    "iconHoverBack": ""
                }
            ],
            "isStyle": true
        },
        "urlCheck": {
            "type": "boolean"
        },
        "link": {
            "type": "string"
        },
        "target": {
            "type": "boolean"
        },
        "iconSize": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            },
            "isStyle": true
        },
        "iconMargin": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "iconPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "wrapMargin": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "wrapPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "iconBorder": {
            "type": "object",
            "default": {
                "borderColor": "",
                "borderType": "",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "containerBorder": {
            "type": "object",
            "default": {
                "borderColor": "",
                "borderType": "none",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "containerBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "cover",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "containerShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "borderHoverColor": {
            "type": "string",
            "default": "",
            "isStyle": true
        },
        "imgWidth": {
            "type": "object",
            "default": {
                "Desktop": "150",
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            },
            "isStyle": true
        },
        "svgUrl": {
            "type": "string",
            "default": ""
        },
        "classes": {
            "type": "string",
            "default": ""
        },
        "iconTypeSelect": {
            "type": "string",
            "default": "icon"
        },
        "iconBG": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "iconColor": {
            "type": "string",
            "default": "",
            "isStyle": true
        },
        "iconHoverBG": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "rgba(255,255,255,0)",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "iconHoverColor": {
            "type": "string",
            "default": "",
            "isStyle": true
        },
        "follow": {
            "type": "boolean",
            "default": false
        }
    },
    "usesContext": ["hoversEffect"],
    "editorScript": "pbg-blocks-js",
    "editorStyle": "premium-blocks-editor-css"
}
