{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "kalium/blog-posts",
	"version": "1.0.0",
	"title": "Blog Posts",
	"category": "kalium",
	"description": "Display blog posts with customizable layout and filtering options.",
	"keywords": [ "blog", "posts", "articles", "news" ],
	"textdomain": "kalium",
	"attributes": {
		"layoutType": {
			"type": "string",
			"default": "list",
			"enum": [ "list", "grid" ]
		},
		"gap": {
			"type": "number",
			"default": 30
		},
		"gapTablet": {
			"type": "number"
		},
		"gapMobile": {
			"type": "number"
		},
		"columns": {
			"type": "number",
			"default": 3
		},
		"columnsTablet": {
			"type": "number"
		},
		"columnsMobile": {
			"type": "number"
		},
		"masonryMode": {
			"type": "boolean",
			"default": false
		},
		"query": {
			"type": "object",
			"properties": {
				"postType": {
					"type": "string"
				},
				"tax": {
					"type": "object",
					"additionalProperties": true
				},
				"author": {
					"type": "array",
					"items": {
						"type": "number"
					}
				},
				"include": {
					"type": "array",
					"items": {
						"type": "number"
					}
				},
				"exclude": {
					"type": "array",
					"items": {
						"type": "number"
					}
				},
				"postsPerPage": {
					"type": "number"
				},
				"showAll": {
					"type": "boolean"
				},
				"orderBy": {
					"type": "string"
				},
				"order": {
					"type": "string"
				}
			},
			"additionalProperties": true,
			"default": {
				"postType": "post",
				"tax": {
					"category": [],
					"post_tag": []
				},
				"author": [],
				"include": [],
				"exclude": [],
				"postsPerPage": 12,
				"showAll": false,
				"orderBy": "",
				"order": ""
			}
		},
		"featuredImage": {
			"type": "boolean",
			"default": true
		},
		"postTitle": {
			"type": "boolean",
			"default": true
		},
		"postExcerpt": {
			"type": "boolean",
			"default": true
		},
		"postMeta": {
			"type": "boolean",
			"default": true
		},
		"hoverEffect": {
			"type": "boolean",
			"default": true
		},
		"imagePlaceholder": {
			"type": "boolean",
			"default": true
		},
		"imageBoundless": {
			"type": "boolean",
			"default": false
		},
		"imageSize": {
			"type": "string",
			"default": "inherit"
		},
		"imageSizeCustom": {
			"type": "object",
			"properties": {
				"width": {
					"type": "number"
				},
				"height": {
					"type": "number"
				}
			}
		},
		"aspectRatio": {
			"type": "string",
			"default": "auto"
		},
		"aspectRatioCustom": {
			"type": "object",
			"properties": {
				"width": {
					"type": "number"
				},
				"height": {
					"type": "number"
				}
			}
		},
		"aspectRatioCustomTablet": {
			"type": "object",
			"properties": {
				"width": {
					"type": "number"
				},
				"height": {
					"type": "number"
				}
			}
		},
		"aspectRatioCustomMobile": {
			"type": "object",
			"properties": {
				"width": {
					"type": "number"
				},
				"height": {
					"type": "number"
				}
			}
		},
		"postFormatContent": {
			"type": "boolean",
			"default": false
		},
		"postFormatIcon": {
			"type": "boolean",
			"default": false
		},
		"excerptMaxWords": {
			"type": "number",
			"default": 25
		},
		"metaDate": {
			"type": "boolean",
			"default": true
		},
		"metaCategory": {
			"type": "boolean",
			"default": true
		},
		"metaIcon": {
			"type": "boolean",
			"default": true
		},
		"cardBackgroundColor": {
			"type": "string"
		},
		"customCardBackgroundColor": {
			"type": "string"
		},
		"cardTitleColor": {
			"type": "string"
		},
		"customCardTitleColor": {
			"type": "string"
		},
		"cardTextColor": {
			"type": "string"
		},
		"customCardTextColor": {
			"type": "string"
		},
		"cardPadding": {
			"type": "object"
		},
		"cardBorder": {
			"type": "object"
		},
		"cardBorderRadius": {
			"type": [ "object", "string" ]
		},
		"cardBoxShadow": {
			"type": "object"
		}
	},
	"supports": {
		"html": false,
		"align": [ "wide", "full" ],
		"spacing": {
			"margin": true,
			"padding": true
		},
		"color": {
			"gradients": true,
			"background": true,
			"text": false
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true
		}
	},
	"editorScript": "file:./index.js",
	"render": "file:./render.php"
}
