{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "premium/post-carousel",
    "title": "Post Carousel",
    "category": "premium-blocks",
    "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
    "keywords": ["post", "carousel", "posts", "post carousel"],
    "textdomain": "premium-blocks-for-gutenberg",
    "attributes": {
        "style": {
            "type": "string",
            "default": "classic"
        },
        "cover": {
            "type": "string",
            "default": ""
        },
        "variation": {
            "type": "object",
            "default": {}
        },
        "showVariation": {
            "type": "boolean",
            "default": true
        },
        "plusColor": {
            "type": "string",
            "default": "#f5f5f5"
        },
        "borderedColor": {
            "type": "string",
            "default": ""
        },
        "align": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": ""
            }
        },
        "blockId": {
            "type": "string"
        },
        "columns": {
            "type": "object",
            "default": {
                "Desktop": 2,
                "Tablet": 2,
                "Mobile": 1
            }
        },
        "slidesWidth": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            }
        },
        "fixedWidth": {
            "type": "boolean",
            "default": false
        },
        "columnGap": {
            "type": "object",
            "default": {
                "Desktop": 15,
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            }
        },
        "newTab": {
            "type": "boolean",
            "default": false
        },
        "equalHeight": {
            "type": "boolean",
            "default": false
        },
        "currentPost": {
            "type": "boolean",
            "default": false
        },
        "query": {
            "type": "object",
            "default": {
                "perPage": 3,
                "pages": 0,
                "offset": 0,
                "postType": "post",
                "order": "desc",
                "orderBy": "date",
                "author": [],
                "search": "",
                "exclude": [],
                "sticky": true,
                "taxQuery": {}
            }
        },
        "queryType": {
            "type": "string",
            "default": "custom"
        },
        "authorFilterRule": {
            "type": "string",
            "default": "author__in"
        },
        "postFilterRule": {
            "type": "string",
            "default": "post__not_in"
        },
        "ContainerBackground": {
            "type": "string",
            "default": ""
        },
        "boxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            }
        },
        "border": {
            "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
                }
            }
        },
        "margin": {
            "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
            }
        },
        "padding": {
            "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
            }
        },
        "contentOffset": {
            "type": "object",
            "default": {
                "Desktop": -50,
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            }
        },
        "contentBackground": {
            "type": "string",
            "default": ""
        },
        "contentBoxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            }
        },
        "contentMargin": {
            "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
            }
        },
        "contentBoxMargin": {
            "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
            }
        },
        "contentPadding": {
            "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
            }
        },
        "displayPostTitle": {
            "type": "boolean",
            "default": true
        },
        "level": {
            "type": "string",
            "default": "h2"
        },
        "titleTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "textDecoration": "",
                "textTransform": "",
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            }
        },
        "titleColor": {
            "type": "string"
        },
        "titleHoverColor": {
            "type": "string"
        },
        "titleBottomSpacing": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            }
        },
        "advancedBorder": {
            "type": "boolean",
            "default": false
        },
        "advancedBorderValue": {
            "type": "string"
        },
        "postDisplaytext": {
            "type": "string",
            "default": "No post found!"
        },
        "showAuthor": {
            "type": "boolean",
            "default": true
        },
        "showDate": {
            "type": "boolean",
            "default": true
        },
        "showComments": {
            "type": "boolean",
            "default": true
        },
        "showMetaIcons": {
            "type": "boolean",
            "default": true
        },
        "metaTaxonomies": {
            "type": "array",
            "default": ["category"]
        },
        "metaSeparator": {
            "type": "string",
            "default": "dot"
        },
        "metaTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "textDecoration": "",
                "textTransform": "",
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            }
        },
        "metaColor": {
            "type": "string",
            "default": "#adadad"
        },
        "metaHoverColor": {
            "type": "string",
            "default": ""
        },
        "sepColor": {
            "type": "string",
            "default": ""
        },
        "hoverEffect": {
            "type": "string",
            "default": "zoomin"
        },
        "height": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                }
            }
        },
        "displayPostImage": {
            "type": "boolean",
            "default": true
        },
        "thumbnail": {
            "type": "string",
            "default": "cover"
        },
        "imageSize": {
            "type": "string",
            "default": "large"
        },
        "filter": {
            "type": "object",
            "default": {
                "contrast": "100",
                "blur": "0",
                "bright": "100",
                "saturation": "100",
                "hue": "0"
            }
        },
        "Hoverfilter": {
            "type": "object",
            "default": {
                "contrast": "100",
                "blur": "0",
                "bright": "100",
                "saturation": "100",
                "hue": "0"
            }
        },
        "colorOverlay": {
            "type": "string",
            "default": ""
        },
        "colorOverlayHover": {
            "type": "string",
            "default": ""
        },
        "shapeBottom": {
            "type": "object",
            "default": {
                "openShape": 0,
                "color": "",
                "shapeType": "bottom",
                "width": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "%",
                        "Tablet": "%",
                        "Mobile": "%"
                    }
                },
                "height": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                },
                "flipShapeDivider": false,
                "invertShapeDivider": true,
                "front": false
            }
        },
        "showContent": {
            "type": "boolean",
            "default": true
        },
        "displayPostExcerpt": {
            "type": "string",
            "default": "Post Excerpt"
        },
        "excerptType": {
            "type": "string",
            "default": "Dots"
        },
        "excerptTypeLink": {
            "type": "boolean",
            "default": false
        },
        "excerptLen": {
            "type": "number",
            "default": 25
        },
        "fullWidth": {
            "type": "boolean",
            "default": false
        },
        "readMoreText": {
            "type": "string",
            "default": "Read More"
        },
        "contentTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "textDecoration": "",
                "textTransform": "",
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            }
        },
        "color": {
            "type": "string",
            "default": ""
        },
        "contentColor": {
            "type": "string",
            "default": ""
        },
        "btnTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "textDecoration": "",
                "textTransform": "",
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            }
        },
        "buttonSpacing": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            }
        },
        "buttonColor": {
            "type": "string",
            "default": ""
        },
        "buttonBackground": {
            "type": "string",
            "default": ""
        },
        "buttonhover": {
            "type": "string",
            "default": ""
        },
        "hoverBackground": {
            "type": "string",
            "default": ""
        },
        "btnBorder": {
            "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
                }
            }
        },
        "btnBorderHover": {
            "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
                }
            }
        },
        "btnPadding": {
            "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
            }
        },
        "Autoplay": {
            "type": "boolean",
            "default": true
        },
        "slideToScroll": {
            "type": "number",
            "default": 1
        },
        "autoplaySpeed": {
            "type": "number",
            "default": 2000
        },
        "navigationDots": {
            "type": "boolean",
            "default": true
        },
        "navigationArrow": {
            "type": "boolean",
            "default": true
        },
        "arrowPosition": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            }
        },
        "pauseOnHover": {
            "type": "boolean",
            "default": true
        },
        "infiniteLoop": {
            "type": "boolean",
            "default": true
        },
        "dotsColor": {
            "type": "string",
            "default": ""
        },
        "dotsActiveColor": {
            "type": "string",
            "default": ""
        },
        "arrowColor": {
            "type": "string",
            "default": ""
        },
        "arrowSize": {
            "type": "number"
        },
        "arrowBack": {
            "type": "string"
        },
        "arrowBorderRadius": {
            "type": "number"
        },
        "pauseOnHover ": {
            "type": "boolean",
            "default": true
        },
        "verticalAlign": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": ""
            }
        },
        "authorImg": {
            "type": "boolean",
            "default": true
        },
        "authorImgPosition": {
            "type": "object",
            "default": {
                "Desktop": -10,
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            }
        },
        "overlayEffect": {
            "type": "string",
            "default": "framed"
        },
        "catColor": {
            "type": "string"
        },
        "hoverCatColor": {
            "type": "string"
        },
        "backCat": {
            "type": "string"
        },
        "backHoverCat": {
            "type": "string"
        },
        "catBorder": {
            "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
                }
            }
        },
        "catTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "textDecoration": "",
                "textTransform": "",
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            }
        },
        "catPadding": {
            "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
            }
        },
        "dotMargin": {
            "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
            }
        },
        "arrowPadding": {
            "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
            }
        }
    }
}
