<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// This file is generated. Do not modify it manually.
return array(
	'match-card' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/match-card',
		'version' => '1.0.0',
		'title' => 'Match card',
		'category' => 'clanbite-matches',
		'icon' => 'calendar-alt',
		'description' => 'Display one match (title, teams, time, score).',
		'textdomain' => 'clanbite',
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true
			),
			'html' => false,
			'align' => true
		),
		'attributes' => array(
			'matchId' => array(
				'type' => 'number',
				'default' => 0
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-match-card',
			'color' => array(
				'text' => '.wp-block-clanbite-match-card .clanbite-match-card, .wp-block-clanbite-match-card .clanbite-match-card a',
				'background' => '.wp-block-clanbite-match-card',
				'link' => '.wp-block-clanbite-match-card .clanbite-match-card a'
			),
			'typography' => '.wp-block-clanbite-match-card .clanbite-match-card',
			'border' => '.wp-block-clanbite-match-card'
		)
	),
	'match-list' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/match-list',
		'version' => '1.0.0',
		'title' => 'Match list',
		'category' => 'clanbite-matches',
		'icon' => 'list-view',
		'description' => 'List published matches with optional filters.',
		'textdomain' => 'clanbite',
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true
			),
			'html' => false,
			'align' => true
		),
		'attributes' => array(
			'teamId' => array(
				'type' => 'number',
				'default' => 0
			),
			'limit' => array(
				'type' => 'number',
				'default' => 0
			),
			'statusFilter' => array(
				'type' => 'string',
				'default' => ''
			),
			'order' => array(
				'type' => 'string',
				'default' => 'asc'
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-match-list',
			'color' => array(
				'text' => '.wp-block-clanbite-match-list .clanbite-match-list, .wp-block-clanbite-match-list .clanbite-match-list__link',
				'background' => '.wp-block-clanbite-match-list',
				'link' => '.wp-block-clanbite-match-list .clanbite-match-list__link'
			),
			'typography' => '.wp-block-clanbite-match-list .clanbite-match-list',
			'border' => '.wp-block-clanbite-match-list'
		)
	)
);
