<?php

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

// This file is generated. Do not modify it manually.
return array(
	'profile-nav' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-profile-nav',
		'title' => 'Team Profile Navigation',
		'category' => 'clanbite-teams',
		'icon' => 'groups',
		'description' => 'Displays the team profile subpage navigation.',
		'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
		),
		'textdomain' => 'clanbite',
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-profile-nav',
			'color' => array(
				'text' => '.wp-block-clanbite-team-profile-nav .clanbite-team-profile-nav__link',
				'background' => '.wp-block-clanbite-team-profile-nav',
				'link' => '.wp-block-clanbite-team-profile-nav .clanbite-team-profile-nav__link'
			),
			'typography' => '.wp-block-clanbite-team-profile-nav .clanbite-team-profile-nav__link',
			'border' => '.wp-block-clanbite-team-profile-nav'
		)
	),
	'team-avatar' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-avatar',
		'version' => '1.0.0',
		'title' => 'Team avatar',
		'category' => 'clanbite-teams',
		'icon' => 'admin-users',
		'description' => 'Displays the team avatar image on single team templates.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'avatarPreset' => array(
				'type' => 'string',
				'default' => 'large',
				'enum' => array(
					'large',
					'medium',
					'small'
				)
			),
			'width' => array(
				'type' => 'number',
				'default' => 120
			),
			'isLink' => array(
				'type' => 'boolean',
				'default' => false
			),
			'linkTarget' => array(
				'type' => 'string',
				'default' => '_self'
			),
			'rel' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'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
			),
			'html' => false
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-avatar',
			'color' => array(
				'background' => '.wp-block-clanbite-team-avatar'
			),
			'border' => '.wp-block-clanbite-team-avatar .clanbite-team-avatar'
		)
	),
	'team-card' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-card',
		'version' => '1.0.0',
		'title' => 'Team Card',
		'category' => 'clanbite-teams',
		'icon' => 'groups',
		'description' => 'Display a simple team profile card.',
		'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
			),
			'html' => false
		),
		'attributes' => array(
			'teamName' => array(
				'type' => 'string',
				'default' => 'Unnamed Team'
			),
			'gameTitle' => array(
				'type' => 'string',
				'default' => ''
			),
			'description' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-card',
			'color' => '.wp-block-clanbite-team-card',
			'typography' => '.wp-block-clanbite-team-card',
			'border' => '.wp-block-clanbite-team-card'
		)
	),
	'team-challenge-button' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-challenge-button',
		'version' => '1.0.0',
		'title' => 'Team challenge button',
		'category' => 'clanbite-teams',
		'icon' => 'flag',
		'description' => 'Lets guests and team managers challenge this team when challenges are enabled.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'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
			),
			'html' => false
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'viewScriptModule' => 'file:./view.js',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-challenge-button',
			'color' => array(
				'text' => '.wp-block-clanbite-team-challenge-button .wp-block-button__link, .wp-block-clanbite-team-challenge-button button',
				'background' => '.wp-block-clanbite-team-challenge-button .wp-block-button__link, .wp-block-clanbite-team-challenge-button button'
			),
			'typography' => '.wp-block-clanbite-team-challenge-button .wp-block-button__link',
			'border' => '.wp-block-clanbite-team-challenge-button'
		)
	),
	'team-code' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-code',
		'version' => '1.0.0',
		'title' => 'Team code',
		'category' => 'clanbite-teams',
		'icon' => 'tag',
		'description' => 'Displays the short team code.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'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
			),
			'html' => false
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-code',
			'color' => array(
				'text' => '.wp-block-clanbite-team-code .clanbite-team-code__value',
				'background' => '.wp-block-clanbite-team-code'
			),
			'typography' => '.wp-block-clanbite-team-code .clanbite-team-code__value',
			'border' => '.wp-block-clanbite-team-code'
		)
	),
	'team-country' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-country',
		'version' => '1.0.0',
		'title' => 'Team country',
		'category' => 'clanbite-teams',
		'icon' => 'admin-site-alt3',
		'description' => 'Displays the team country on single team templates.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'showCode' => array(
				'type' => 'boolean',
				'default' => false
			),
			'countryDisplay' => array(
				'type' => 'string',
				'default' => 'both'
			),
			'flagFirst' => array(
				'type' => 'boolean',
				'default' => true
			)
		),
		'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
			),
			'html' => false
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-country',
			'color' => array(
				'text' => '.wp-block-clanbite-team-country .clanbite-country-display__label, .wp-block-clanbite-team-country .clanbite-country-display__flag',
				'background' => '.wp-block-clanbite-team-country'
			),
			'typography' => '.wp-block-clanbite-team-country .clanbite-country-display__label',
			'border' => '.wp-block-clanbite-team-country'
		)
	),
	'team-cover' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-cover',
		'version' => '1.0.0',
		'title' => 'Team cover',
		'category' => 'clanbite-teams',
		'icon' => 'format-image',
		'description' => 'Displays the team cover image on single team templates.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'minHeight' => array(
				'type' => 'string',
				'default' => '220px'
			),
			'contentPosition' => array(
				'type' => 'string',
				'default' => 'bottom center'
			),
			'templateLock' => array(
				'type' => array(
					'string',
					'boolean'
				),
				'enum' => array(
					'all',
					'insert',
					'contentOnly',
					false
				)
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => array(
					'top',
					'bottom'
				),
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'padding' => true,
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => false,
				'heading' => true,
				'__experimentalSkipSerialization' => array(
					'gradients'
				),
				'enableContrastChecker' => false
			),
			'anchor' => true,
			'html' => false,
			'align' => array(
				'wide',
				'full'
			),
			'__experimentalBorder' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true,
				'__experimentalDefaultControls' => array(
					'color' => true,
					'radius' => true,
					'style' => true,
					'width' => true
				)
			),
			'dimensions' => array(
				'aspectRatio' => true
			),
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontWeight' => true,
				'__experimentalFontStyle' => true,
				'__experimentalTextTransform' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalDefaultControls' => array(
					'fontSize' => true
				)
			),
			'layout' => array(
				'allowJustification' => false
			),
			'allowedBlocks' => true
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-cover',
			'color' => array(
				'text' => '.wp-block-clanbite-team-cover .team-cover__content-container',
				'background' => '.wp-block-clanbite-team-cover'
			),
			'typography' => '.wp-block-clanbite-team-cover .team-cover__content-container',
			'border' => '.wp-block-clanbite-team-cover'
		)
	),
	'team-create-form' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-create-form',
		'version' => '1.0.0',
		'title' => 'Team Create Form',
		'category' => 'clanbite-teams',
		'icon' => 'welcome-write-blog',
		'description' => 'Render a block-based team creation form.',
		'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
			),
			'html' => false,
			'interactivity' => true
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'viewScriptModule' => 'file:./view.js',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-create-form',
			'color' => '.wp-block-clanbite-team-create-form',
			'typography' => '.wp-block-clanbite-team-create-form',
			'border' => '.wp-block-clanbite-team-create-form'
		)
	),
	'team-description' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-description',
		'version' => '1.0.0',
		'title' => 'Team description',
		'category' => 'clanbite-teams',
		'icon' => 'text-page',
		'description' => 'Displays the team description (post content).',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'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
			),
			'html' => false,
			'align' => array(
				'wide',
				'full'
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-description',
			'color' => array(
				'text' => '.wp-block-clanbite-team-description .clanbite-team-description__content',
				'background' => '.wp-block-clanbite-team-description'
			),
			'typography' => '.wp-block-clanbite-team-description .clanbite-team-description__content',
			'border' => '.wp-block-clanbite-team-description'
		)
	),
	'team-draws' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-draws',
		'version' => '1.0.0',
		'title' => 'Team draws',
		'category' => 'clanbite-teams',
		'icon' => 'minus',
		'description' => 'Displays the team’s draw count with optional prefix and postfix text.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'prefix' => array(
				'type' => 'string',
				'default' => ''
			),
			'postfix' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'layout' => array(
				'allowSwitching' => false,
				'allowInheriting' => false,
				'default' => array(
					'type' => 'flex',
					'flexWrap' => 'wrap'
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-draws',
			'color' => '.wp-block-clanbite-team-draws',
			'typography' => '.wp-block-clanbite-team-draws',
			'border' => '.wp-block-clanbite-team-draws'
		)
	),
	'team-losses' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-losses',
		'version' => '1.0.0',
		'title' => 'Team losses',
		'category' => 'clanbite-teams',
		'icon' => 'dismiss',
		'description' => 'Displays the team’s loss count with optional prefix and postfix text.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'prefix' => array(
				'type' => 'string',
				'default' => ''
			),
			'postfix' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'layout' => array(
				'allowSwitching' => false,
				'allowInheriting' => false,
				'default' => array(
					'type' => 'flex',
					'flexWrap' => 'wrap'
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-losses',
			'color' => '.wp-block-clanbite-team-losses',
			'typography' => '.wp-block-clanbite-team-losses',
			'border' => '.wp-block-clanbite-team-losses'
		)
	),
	'team-manage-link' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-manage-link',
		'version' => '1.0.0',
		'title' => 'Manage team link',
		'category' => 'clanbite-teams',
		'icon' => 'admin-tools',
		'description' => 'Link to the team manage screen. Only shown to users who can edit the team.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'label' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'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
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-manage-link',
			'color' => array(
				'text' => '.wp-block-clanbite-team-manage-link .wp-block-button__link',
				'background' => '.wp-block-clanbite-team-manage-link .wp-block-button__link'
			),
			'typography' => '.wp-block-clanbite-team-manage-link .wp-block-button__link',
			'border' => '.wp-block-clanbite-team-manage-link'
		)
	),
	'team-members-count' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-members-count',
		'version' => '1.0.0',
		'title' => 'Team members count',
		'category' => 'clanbite-teams',
		'icon' => 'groups',
		'description' => 'Displays the number of roster members (excluding banned).',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'label' => array(
				'type' => 'string',
				'default' => ''
			),
			'prefix' => array(
				'type' => 'string',
				'default' => ''
			),
			'postfix' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'layout' => array(
				'allowSwitching' => false,
				'allowInheriting' => false,
				'default' => array(
					'type' => 'flex',
					'flexWrap' => 'wrap'
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-members-count',
			'color' => '.wp-block-clanbite-team-members-count',
			'typography' => '.wp-block-clanbite-team-members-count',
			'border' => '.wp-block-clanbite-team-members-count'
		)
	),
	'team-motto' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-motto',
		'version' => '1.0.0',
		'title' => 'Team motto',
		'category' => 'clanbite-teams',
		'icon' => 'format-quote',
		'description' => 'Displays the team motto.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'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
			),
			'html' => false,
			'typography' => array(
				'fontSize' => true,
				'fontStyle' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-motto',
			'color' => array(
				'text' => '.wp-block-clanbite-team-motto .clanbite-team-motto__text',
				'background' => '.wp-block-clanbite-team-motto'
			),
			'typography' => '.wp-block-clanbite-team-motto .clanbite-team-motto__text',
			'border' => '.wp-block-clanbite-team-motto'
		)
	),
	'team-name' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-name',
		'version' => '1.0.0',
		'title' => 'Team name',
		'category' => 'clanbite-teams',
		'icon' => 'heading',
		'description' => 'Displays the team name (post title) on single team templates.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'level' => array(
				'type' => 'number',
				'default' => 1
			),
			'textAlign' => array(
				'type' => 'string'
			),
			'isLink' => array(
				'type' => 'boolean',
				'default' => false
			),
			'linkTarget' => array(
				'type' => 'string',
				'default' => '_self'
			),
			'rel' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'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,
				'__experimentalDefaultControls' => array(
					'link' => true
				)
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-name',
			'color' => array(
				'text' => '.wp-block-clanbite-team-name .clanbite-team-name__heading, .wp-block-clanbite-team-name .clanbite-team-name__link',
				'background' => '.wp-block-clanbite-team-name',
				'link' => '.wp-block-clanbite-team-name .clanbite-team-name__link'
			),
			'typography' => '.wp-block-clanbite-team-name .clanbite-team-name__heading',
			'border' => '.wp-block-clanbite-team-name'
		)
	),
	'team-wins' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/team-wins',
		'version' => '1.0.0',
		'title' => 'Team wins',
		'category' => 'clanbite-teams',
		'icon' => 'yes-alt',
		'description' => 'Displays the team’s win count with optional prefix and postfix text.',
		'textdomain' => 'clanbite',
		'postTypes' => array(
			'clanbite_team'
		),
		'usesContext' => array(
			'postId',
			'postType'
		),
		'attributes' => array(
			'prefix' => array(
				'type' => 'string',
				'default' => ''
			),
			'postfix' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'layout' => array(
				'allowSwitching' => false,
				'allowInheriting' => false,
				'default' => array(
					'type' => 'flex',
					'flexWrap' => 'wrap'
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-team-wins',
			'color' => '.wp-block-clanbite-team-wins',
			'typography' => '.wp-block-clanbite-team-wins',
			'border' => '.wp-block-clanbite-team-wins'
		)
	)
);
