{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "ablocks/notice",
    "version": "0.1.0",
    "title": "Notification",
    "category": "ablocks",
    "description": " A customizable notification block for displaying important messages .",
    "example": [],
    "supports": {
        "html": true,
        "anchor": true
    },
    "textdomain": "ablocks",
    "editorStyle": [
        "ablocks-animate-style",
        "ablocks-common-style",
        "file:./style.css"
    ],
    "editorScript": [
        "ablocks-common-script",
        "file:./view.js"
    ],
    "attributes": {
        "block_id": {
            "type": "string",
            "default": ""
        },
        "blockVersion": {
            "type": "number",
            "default": ""
        },
        "heading": {
            "type": "string",
            "source": "html",
            "selector": ".ablocks-notice-title",
            "default": "Add Your Heading Text Here"
        },
        "headingTag": {
            "type": "string",
            "default": "h1"
        },
        "textColor": {
            "type": "string",
            "default": ""
        },
        "backgroundColor": {
            "type": "string",
            "default": "#EFEFF0"
        },
        "isDismissible": {
            "type": "boolean",
            "default": true
        },
        "noticeClose": {
            "type": "string",
            "default": "oneTime"
        },
        "alignment": {
            "type": "object",
            "default": {
                "value": "left",
                "valueTablet": "",
                "valueMobile": ""
            }
        },
        "typographyGlobal": {
            "type": "string",
            "default": ""
        },
        "typography": {
            "type": "object",
            "default": {
                "fontFamily": "",
                "weight": "",
                "transform": "",
                "style": "",
                "decoration": "",
                "fontSize": "",
                "fontSizeUnit": "px",
                "lineHeight": "",
                "lineHeightUnit": "px",
                "letterSpacing": "",
                "letterSpacingUnit": "px",
                "wordSpacing": "",
                "wordSpacingUnit": "px",
                "fontSizeTablet": "",
                "fontSizeMobile": "",
                "fontSizeUnitTablet": "px",
                "fontSizeUnitMobile": "px",
                "lineHeightTablet": "",
                "lineHeightMobile": "",
                "lineHeightUnitTablet": "px",
                "lineHeightUnitMobile": "px",
                "letterSpacingTablet": "",
                "letterSpacingMobile": "",
                "letterSpacingUnitTablet": "px",
                "letterSpacingUnitMobile": "px",
                "wordSpacingTablet": "",
                "wordSpacingMobile": "",
                "wordSpacingUnitTablet": "px",
                "wordSpacingUnitMobile": "px"
            }
        },
        "textShadow": {
            "type": "object",
            "default": {
                "color": "",
                "blur": "",
                "horizontal": "",
                "vertical": ""
            }
        },
        "textStroke": {
            "type": "object",
            "default": {
                "strokeWidth": "",
                "strokeWidthTablet": "",
                "strokeWidthMobile": "",
                "strokeWidthUnit": "px",
                "strokeWidthUnitTablet": "px",
                "strokeWidthUnitMobile": "px",
                "stroke": ""
            }
        },
        "noticeHeaderPadding": {
            "type": "object",
            "default": {
                "isLinked": true,
                "isLinkedTablet": true,
                "isLinkedMobile": true,
                "common": "",
                "top": "",
                "right": "",
                "bottom": "",
                "left": "",
                "unit": "px",
                "commonTablet": "",
                "topTablet": "",
                "rightTablet": "",
                "bottomTablet": "",
                "leftTablet": "",
                "unitTablet": "",
                "commonMobile": "",
                "topMobile": "",
                "rightMobile": "",
                "bottomMobile": "",
                "leftMobile": "",
                "unitMobile": ""
            }
        },
        "iconSvgPath": {
            "type": "string",
            "default": "M448 32C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z",
            "source": "attribute",
            "selector": "svg.ablocks-svg-icon path",
            "attribute": "d"
        },
        "iconSvgViewBox": {
            "type": "string",
            "default": "0 0 512 512",
            "source": "attribute",
            "selector": "svg.ablocks-svg-icon",
            "attribute": "viewBox"
        },
        "iconClass": {
            "type": "string",
            "default": "far fa-window-close"
        },
        "iconImageUrl": {
            "type": "string",
            "default": ""
        },
        "iconImageID": {
            "type": "number",
            "default": 0
        },
        "iconImageSize": {
            "type": "string",
            "default": ""
        },
        "iconColor": {
            "type": "string",
            "default": "#69727d"
        },
        "iconBgColor": {
            "type": "string",
            "default": ""
        },
        "iconType": {
            "type": "string",
            "default": "default"
        },
        "iconShape": {
            "type": "string",
            "default": "circle"
        },
        "iconPadding": {
            "type": "object",
            "default": {
                "isLinked": true,
                "common": "",
                "top": "",
                "right": "",
                "bottom": "",
                "left": "",
                "unit": "px"
            }
        },
        "iconBorder": {
            "type": "object",
            "default": {
                "borderStyle": "default",
                "borderStyleH": "default",
                "borderColor": "",
                "borderColorH": "",
                "isLinkedWidth": true,
                "isLinkedWidthTablet": true,
                "isLinkedWidthMobile": true,
                "commonWidth": "",
                "topWidth": "",
                "rightWidth": "",
                "bottomWidth": "",
                "leftWidth": "",
                "unitWidth": "px",
                "isLinkedWidthH": true,
                "isLinkedWidthHTablet": true,
                "isLinkedWidthHMobile": true,
                "commonWidthH": "",
                "topWidthH": "",
                "rightWidthH": "",
                "bottomWidthH": "",
                "leftWidthH": "",
                "unitWidthH": "px",
                "isLinkedRadius": true,
                "commonRadius": "",
                "topRadius": "",
                "rightRadius": "",
                "bottomRadius": "",
                "leftRadius": "",
                "unitRadius": "px",
                "isLinkedRadiusH": true,
                "isLinkedRadiusHTablet": true,
                "isLinkedRadiusHMobile": true,
                "commonRadiusH": "",
                "topRadiusH": "",
                "leftRadiusH": "",
                "unitRadiusH": "px",
                "transitionDuration": ""
            }
        },
        "iconBoxShadow": {
            "type": "object",
            "default": {
                "preset": "",
                "shadowType": "default",
                "shadow": "",
                "horizontal": "",
                "vertical": "",
                "blur": "",
                "spread": "",
                "color": "",
                "presetH": "",
                "shadowTypeH": "default",
                "shadowH": "",
                "horizontalH": "",
                "verticalH": "",
                "blurH": "",
                "spreadH": "",
                "colorH": "",
                "transitionDuration": "0"
            }
        },
        "iconSize": {
            "type": "number",
            "default": 20
        },
        "iconRotate": {
            "type": "number",
            "default": 0
        },
        "iconSizing": {
            "type": "object",
            "default": {
                "value": 20,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "px",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "iconRotated": {
            "type": "object",
            "default": {
                "value": 0,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "deg",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "iconRotateHover": {
            "type": "object",
            "default": {
                "value": 0,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "deg",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "icontransitionDuration": {
            "type": "number",
            "default": 0
        },
        "iconImageWidth": {
            "type": "number",
            "default": 0
        },
        "_margin": {
            "type": "object",
            "default": {
                "isLinked": true,
                "isLinkedTablet": true,
                "isLinkedMobile": true,
                "common": "",
                "top": "",
                "right": "",
                "bottom": "",
                "left": "",
                "unit": "px",
                "commonTablet": "",
                "topTablet": "",
                "rightTablet": "",
                "bottomTablet": "",
                "leftTablet": "",
                "unitTablet": "",
                "commonMobile": "",
                "topMobile": "",
                "rightMobile": "",
                "bottomMobile": "",
                "leftMobile": "",
                "unitMobile": ""
            }
        },
        "_padding": {
            "type": "object",
            "default": {
                "isLinked": true,
                "isLinkedTablet": true,
                "isLinkedMobile": true,
                "common": "",
                "top": "",
                "right": "",
                "bottom": "",
                "left": "",
                "unit": "px",
                "commonTablet": "",
                "topTablet": "",
                "rightTablet": "",
                "bottomTablet": "",
                "leftTablet": "",
                "unitTablet": "",
                "commonMobile": "",
                "topMobile": "",
                "rightMobile": "",
                "bottomMobile": "",
                "leftMobile": "",
                "unitMobile": ""
            }
        },
        "_width": {
            "type": "object",
            "default": {
                "widthType": "default",
                "widthTypeTablet": "",
                "widthTypeMobile": "",
                "customWidth": "",
                "customWidthTablet": "",
                "customWidthMobile": "",
                "customWidthUnit": "%",
                "customWidthUnitTablet": "",
                "customWidthUnitMobile": ""
            }
        },
        "_border": {
            "type": "object",
            "default": {
                "borderStyle": "default",
                "borderStyleH": "default",
                "borderColor": "",
                "borderColorH": "",
                "isLinkedWidth": true,
                "isLinkedWidthTablet": true,
                "isLinkedWidthMobile": true,
                "commonWidth": "",
                "commonWidthTablet": "",
                "commonWidthMobile": "",
                "topWidth": "",
                "rightWidth": "",
                "bottomWidth": "",
                "leftWidth": "",
                "topWidthTablet": "",
                "rightWidthTablet": "",
                "bottomWidthTablet": "",
                "leftWidthTablet": "",
                "topWidthMobile": "",
                "rightWidthMobile": "",
                "bottomWidthMobile": "",
                "leftWidthMobile": "",
                "unitWidth": "px",
                "unitWidthTablet": "",
                "unitWidthMobile": "",
                "isLinkedWidthH": true,
                "isLinkedWidthHTablet": true,
                "isLinkedWidthHMobile": true,
                "commonWidthH": "",
                "commonWidthHTablet": "",
                "commonWidthHMobile": "",
                "topWidthH": "",
                "rightWidthH": "",
                "bottomWidthH": "",
                "leftWidthH": "",
                "topWidthHTablet": "",
                "rightWidthHTablet": "",
                "bottomWidthHTablet": "",
                "leftWidthHTablet": "",
                "topWidthHMobile": "",
                "rightWidthHMobile": "",
                "bottomWidthHMobile": "",
                "leftWidthHMobile": "",
                "unitWidthH": "px",
                "unitWidthHTablet": "",
                "unitWidthHMobile": "",
                "isLinkedRadius": true,
                "isLinkedRadiusTablet": true,
                "isLinkedRadiusMobile": true,
                "commonRadius": "",
                "commonRadiusTablet": "",
                "commonRadiusMobile": "",
                "topRadius": "",
                "rightRadius": "",
                "bottomRadius": "",
                "leftRadius": "",
                "topRadiusTablet": "",
                "rightRadiusTablet": "",
                "bottomRadiusTablet": "",
                "leftRadiusTablet": "",
                "topRadiusMobile": "",
                "rightRadiusMobile": "",
                "bottomRadiusMobile": "",
                "leftRadiusMobile": "",
                "unitRadius": "px",
                "unitRadiusTablet": "",
                "unitRadiusMobile": "",
                "isLinkedRadiusH": true,
                "isLinkedRadiusHTablet": true,
                "isLinkedRadiusHMobile": true,
                "commonRadiusH": "",
                "commonRadiusHTablet": "",
                "commonRadiusHMobile": "",
                "topRadiusH": "",
                "rightRadiusH": "",
                "bottomRadiusH": "",
                "leftRadiusH": "",
                "topRadiusHTablet": "",
                "rightRadiusHTablet": "",
                "bottomRadiusHTablet": "",
                "leftRadiusHTablet": "",
                "topRadiusHMobile": "",
                "rightRadiusHMobile": "",
                "bottomRadiusHMobile": "",
                "leftRadiusHMobile": "",
                "unitRadiusH": "px",
                "unitRadiusHTablet": "",
                "unitRadiusHMobile": "",
                "transitionDuration": ""
            }
        },
        "_position": {
            "type": "object",
            "default": {
                "positionType": "relative",
                "positionTypeTablet": "",
                "positionTypeMobile": "",
                "hOrientation": "",
                "hOffset": "",
                "hOffsetTablet": "",
                "hOffsetMobile": "",
                "hOffsetUnit": "px",
                "hOffsetUnitTablet": "px",
                "hOffsetUnitMobile": "px",
                "vOrientation": "",
                "vOffset": "",
                "vOffsetTablet": "",
                "vOffsetMobile": "",
                "vOffsetUnit": "px",
                "vOffsetUnitTablet": "px",
                "vOffsetUnitMobile": "px"
            }
        },
        "_background": {
            "type": "object",
            "default": {
                "backgroundType": "none",
                "backgroundTypeH": "none",
                "backgroundColor": "",
                "backgroundColorH": "",
                "imgId": "",
                "imgIdTablet": "",
                "imgIdMobile": "",
                "imgUrl": "",
                "imgUrlTablet": "",
                "imgUrlMobile": "",
                "imgSize": "",
                "imgSizeTablet": "",
                "imgSizeMobile": "",
                "imgPosition": "",
                "imgPositionTablet": "",
                "imgPositionMobile": "",
                "imgXPositionUnit": "px",
                "imgXPositionUnitTablet": "",
                "imgXPositionUnitMobile": "",
                "imgXPosition": "",
                "imgXPositionTablet": "",
                "imgXPositionMobile": "",
                "imgYPositionUnit": "px",
                "imgYPositionUnitTablet": "",
                "imgYPositionUnitMobile": "",
                "imgYPosition": "",
                "imgYPositionTablet": "",
                "imgYPositionMobile": "",
                "imgAttachment": "",
                "imgRepeat": "",
                "imgRepeatTablet": "",
                "imgRepeatMobile": "",
                "imgDisplaySize": "",
                "imgDisplaySizeTablet": "",
                "imgDisplaySizeMobile": "",
                "imgDisplaySizeWidth": "",
                "imgDisplaySizeWidthTablet": "",
                "imgDisplaySizeWidthMobile": "",
                "imgDisplaySizeWidthUnit": "px",
                "imgDisplaySizeWidthUnitTablet": "",
                "imgDisplaySizeWidthUnitMobile": "",
                "imgIdH": "",
                "imgIdTabletH": "",
                "imgIdMobileH": "",
                "imgUrlH": "",
                "imgUrlHTablet": "",
                "imgUrlHMobile": "",
                "imgSizeH": "",
                "imgSizeHTablet": "",
                "imgSizeHMobile": "",
                "imgPositionH": "",
                "imgPositionHTablet": "",
                "imgPositionHMobile": "",
                "imgXPositionUnitH": "px",
                "imgXPositionUnitHTablet": "",
                "imgXPositionUnitHMobile": "",
                "imgXPositionH": "",
                "imgXPositionHTablet": "",
                "imgXPositionHMobile": "",
                "imgYPositionUnitH": "px",
                "imgYPositionUnitHTablet": "",
                "imgYPositionUnitHMobile": "",
                "imgYPositionH": "",
                "imgYPositionHTablet": "",
                "imgYPositionHMobile": "",
                "imgAttachmentH": "",
                "imgRepeatH": "",
                "imgRepeatHTablet": "",
                "imgRepeatHMobile": "",
                "imgDisplaySizeH": "",
                "imgDisplaySizeHTablet": "",
                "imgDisplaySizeHMobile": "",
                "imgDisplaySizeWidthH": "",
                "imgDisplaySizeWidthHTablet": "",
                "imgDisplaySizeWidthHMobile": "",
                "imgDisplaySizeWidthHUnit": "px",
                "imgDisplaySizeWidthHUnitTablet": "",
                "imgDisplaySizeWidthHUnitMobile": "",
                "transitionDuration": "",
                "videoUrl": "",
                "youtubeURL": "",
                "vimeoURL": "",
                "selfHostedURL": "",
                "externalLink": false,
                "videoSource": "none",
                "videoPlayOnce": "",
                "videoStartTime": "",
                "videoEndTime": "",
                "playOnMobile": "",
                "videoPrivacyMode": "",
                "fallbackImageUrl": ""
            }
        },
        "_zIndex": {
            "type": "object",
            "default": {
                "zIndex": "",
                "zIndexTablet": "",
                "zIndexMobile": ""
            }
        },
        "_transform": {
            "type": "object",
            "default": {
                "rotate": "",
                "rotateTablet": "",
                "rotateMobile": "",
                "rotate3D": false,
                "rotate3DTablet": false,
                "rotate3DMobile": false,
                "rotateX": "",
                "rotateXTablet": "",
                "rotateXMobile": "",
                "rotateY": "",
                "rotateYTablet": "",
                "rotateYMobile": "",
                "rotateP": "",
                "rotatePTablet": "",
                "rotatePMobile": "",
                "offsetX": "",
                "offsetXTablet": "",
                "offsetXMobile": "",
                "offsetXUnit": "px",
                "offsetXUnitTablet": "px",
                "offsetXUnitMobile": "px",
                "offsetY": "",
                "offsetYTablet": "",
                "offsetYMobile": "",
                "offsetYUnit": "px",
                "offsetYUnitTablet": "px",
                "offsetYUnitMobile": "px",
                "scaleProportions": false,
                "scale": "",
                "scaleTablet": "",
                "scaleMobile": "",
                "scaleX": "",
                "scaleXTablet": "",
                "scaleXMobile": "",
                "scaleY": "",
                "scaleYTablet": "",
                "scaleYMobile": "",
                "skewX": "",
                "skewXTablet": "",
                "skewXMobile": "",
                "skewY": "",
                "skewYTablet": "",
                "skewYMobile": "",
                "flipHorizontal": false,
                "flipVertical": false,
                "xAnchorPoint": "",
                "xAnchorPointTablet": "",
                "xAnchorPointMobile": "",
                "yAnchorPoint": "",
                "yAnchorPointTablet": "",
                "yAnchorPointMobile": "",
                "rotateH": "",
                "rotateHTablet": "",
                "rotateHMobile": "",
                "rotate3DH": false,
                "rotate3DHTablet": false,
                "rotate3DHMobile": false,
                "rotateXH": "",
                "rotateXHTablet": "",
                "rotateXHMobile": "",
                "rotateYH": "",
                "rotateYHTablet": "",
                "rotateYHMobile": "",
                "rotatePH": "",
                "rotatePHTablet": "",
                "rotatePHMobile": "",
                "offsetXH": "",
                "offsetXHTablet": "",
                "offsetXHMobile": "",
                "offsetXHUnit": "px",
                "offsetXHUnitTablet": "px",
                "offsetXHUnitMobile": "px",
                "offsetYH": "",
                "offsetYHTablet": "",
                "offsetYHMobile": "",
                "offsetYHUnit": "px",
                "offsetYHUnitTablet": "px",
                "offsetYHUnitMobile": "px",
                "scaleProportionsH": false,
                "scaleH": "",
                "scaleHTablet": "",
                "scaleHMobile": "",
                "scaleXH": "",
                "scaleXHTablet": "",
                "scaleXHMobile": "",
                "scaleYH": "",
                "scaleYHTablet": "",
                "scaleYHMobile": "",
                "skewXH": "",
                "skewXHTablet": "",
                "skewXHMobile": "",
                "skewYH": "",
                "skewYHTablet": "",
                "skewYHMobile": "",
                "flipHorizontalH": false,
                "flipVerticalH": false,
                "xAnchorPointH": "",
                "xAnchorPointHTablet": "",
                "xAnchorPointHMobile": "",
                "yAnchorPointH": "",
                "yAnchorPointHTablet": "",
                "yAnchorPointHMobile": "",
                "transitionH": ""
            }
        },
        "_mask": {
            "type": "object",
            "default": {
                "mask": false,
                "maskTablet": false,
                "maskMobile": false,
                "maskShape": "circle",
                "customMaskShape": "",
                "maskSize": "",
                "maskSizeTablet": "",
                "maskSizeMobile": "",
                "maskPosition": "",
                "maskPositionTablet": "",
                "maskPositionMobile": "",
                "maskRepeat": "",
                "maskRepeatTablet": "",
                "maskRepeatMobile": "",
                "scaleUnit": "px",
                "scaleUnitTablet": "px",
                "scaleUnitMobile": "px",
                "scale": "0",
                "scaleTablet": "0",
                "scaleMobile": "0",
                "xPositionUnit": "px",
                "xPositionUnitTablet": "px",
                "xPositionUnitMobile": "px",
                "xPosition": "",
                "xPositionTablet": "0",
                "xPositionMobile": "0",
                "yPositionUnit": "0",
                "yPositionUnitTablet": "px",
                "yPositionUnitMobile": "px",
                "yPosition": "0",
                "yPositionTablet": "0",
                "yPositionMobile": "0"
            }
        },
        "_animation": {
            "type": "object",
            "default": {
                "animationType": "",
                "animationTypeTablet": "",
                "animationTypeMobile": "",
                "animationDuration": "",
                "animationDelay": ""
            }
        },
        "_boxShadow": {
            "type": "object",
            "default": {
                "preset": "",
                "shadowType": "default",
                "shadow": "",
                "horizontal": "",
                "vertical": "",
                "blur": "",
                "spread": "",
                "color": "",
                "presetH": "",
                "shadowTypeH": "default",
                "shadowH": "",
                "horizontalH": "",
                "verticalH": "",
                "blurH": "",
                "spreadH": "",
                "colorH": "",
                "transitionDuration": "0"
            }
        },
        "_hide_on_desktop": {
            "type": "boolean",
            "default": false
        },
        "_hide_on_tablet": {
            "type": "boolean",
            "default": false
        },
        "_hide_on_mobile": {
            "type": "boolean",
            "default": false
        },
        "_custom_css": {
            "type": "string",
            "default": ""
        }
    }
}