<?php
// This file is generated. Do not modify it manually.
return array(
	'button' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 2,
		'name' => 'popper/button',
		'category' => 'popper',
		'ancestor' => array(
			'popper/popup'
		),
		'title' => 'Close Button',
		'icon' => 'dismiss',
		'textdomain' => 'popper',
		'attributes' => array(
			'text' => array(
				'type' => 'string',
				'source' => 'text',
				'selector' => 'button.wp-block-popper__close',
				'default' => 'Close'
			),
			'align' => array(
				'type' => 'string',
				'default' => 'right'
			),
			'isIcon' => array(
				'type' => 'boolean',
				'selector' => 'svg',
				'default' => true
			),
			'position' => array(
				'type' => 'string'
			),
			'style' => array(
				'type' => 'object'
			)
		),
		'supports' => array(
			'html' => true,
			'ariaLabel' => true,
			'lock' => false,
			'multiple' => false,
			'reusable' => false,
			'className' => false,
			'color' => array(
				'background' => true,
				'text' => true,
				'gradients' => true
			),
			'__experimentalBorder' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'typography' => array(
				'fontSize' => true
			),
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'__experimentalDefaultControls' => array(
					'padding' => true
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'isIcon' => true
			)
		),
		'styles' => array(
			array(
				'name' => 'regular',
				'label' => 'Default',
				'isDefault' => true
			),
			array(
				'name' => 'rounded',
				'label' => 'Rounded black'
			),
			array(
				'name' => 'squared',
				'label' => 'Squared black'
			)
		),
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css'
	),
	'form' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'popper/form',
		'title' => 'Form',
		'category' => 'popper',
		'ancestor' => array(
			'popper/popup'
		),
		'allowedBlocks' => array(
			'core/paragraph',
			'core/heading',
			'popper/form-input',
			'popper/form-select',
			'popper/form-multichoices',
			'popper/form-button',
			'core/group',
			'core/columns'
		),
		'description' => 'A form.',
		'keywords' => array(
			'container',
			'wrapper',
			'row',
			'section'
		),
		'textdomain' => 'default',
		'icon' => 'feedback',
		'attributes' => array(
			'id' => array(
				'type' => 'number'
			),
			'method' => array(
				'type' => 'string',
				'default' => 'post'
			),
			'redirectUrl' => array(
				'type' => 'string'
			),
			'successMessage' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'anchor' => true,
			'inserter' => true,
			'multiple' => false,
			'className' => true,
			'color' => array(
				'link' => true,
				'__experimentalDefaultControls' => array(
					'background' => true,
					'text' => true,
					'link' => true
				)
			),
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'__experimentalFontFamily' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextTransform' => true,
				'__experimentalDefaultControls' => array(
					'fontSize' => true
				)
			)
		),
		'styles' => array(
			array(
				'name' => 'regular',
				'label' => 'Default',
				'isDefault' => true
			),
			array(
				'name' => 'inline',
				'label' => 'Inline form'
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'viewScriptModule' => 'file:./view.js'
	),
	'form-button' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'popper/form-button',
		'title' => 'Form Submit Button',
		'category' => 'popper',
		'icon' => 'button',
		'ancestor' => array(
			'popper/form'
		),
		'description' => 'A submission button for forms.',
		'keywords' => array(
			'submit',
			'button',
			'form'
		),
		'textdomain' => 'default',
		'supports' => array(
			'multiple' => false,
			'color' => array(
				'background' => true,
				'text' => true,
				'gradients' => true
			),
			'spacing' => array(
				'padding' => true,
				'margin' => true
			),
			'__experimentalBorder' => array(
				'radius' => true,
				'width' => true,
				'color' => true,
				'style' => true
			),
			'typography' => array(
				'fontSize' => true
			)
		),
		'attributes' => array(
			'text' => array(
				'type' => 'string',
				'default' => 'Submit'
			),
			'align' => array(
				'type' => 'string',
				'default' => 'left'
			)
		),
		'editorScript' => 'file:./index.js'
	),
	'form-input' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'popper/form-input',
		'title' => 'Input Field',
		'category' => 'common',
		'ancestor' => array(
			'popper/form'
		),
		'description' => 'The basic building block for forms.',
		'keywords' => array(
			'input',
			'form'
		),
		'textdomain' => 'default',
		'icon' => 'forms',
		'attributes' => array(
			'id' => array(
				'type' => 'string'
			),
			'type' => array(
				'type' => 'string',
				'default' => 'text'
			),
			'name' => array(
				'type' => 'string',
				'default' => ''
			),
			'label' => array(
				'type' => 'rich-text',
				'default' => 'Label',
				'selector' => 'label>span:first-of-type',
				'source' => 'rich-text',
				'role' => 'content'
			),
			'required' => array(
				'type' => 'boolean',
				'default' => false
			),
			'placeholder' => array(
				'type' => 'string',
				'selector' => 'input',
				'source' => 'attribute',
				'attribute' => 'placeholder',
				'role' => 'content'
			),
			'hidden' => array(
				'type' => 'boolean',
				'selector' => 'label',
				'source' => 'attribute',
				'attribute' => 'hidden'
			)
		),
		'selectors' => array(
			'root' => '.wp-block-popper-form-input',
			'color' => array(
				'background' => '.wp-block-popper-form-input input',
				'text' => '.wp-block-popper-form-input input'
			),
			'border' => array(
				'root' => '.wp-block-popper-input > input'
			)
		),
		'supports' => array(
			'anchor' => false,
			'className' => true,
			'lock' => false,
			'reusable' => false,
			'color' => array(
				'__experimentalSkipSerialization' => true,
				'background' => true,
				'text' => true
			),
			'spacing' => array(
				'__experimentalSkipSerialization' => true,
				'padding' => true,
				'__experimentalDefaultControls' => array(
					'padding' => true
				),
				'blockGap' => true
			),
			'__experimentalBorder' => array(
				'__experimentalSkipSerialization' => true,
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true,
				'__experimentalDefaultControls' => array(
					'color' => true,
					'radius' => true,
					'style' => true,
					'width' => true
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css'
	),
	'form-multichoices' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'popper/form-multichoices',
		'title' => 'Multi choices',
		'category' => 'popper',
		'ancestor' => array(
			'popper/form'
		),
		'textdomain' => 'popper',
		'attributes' => array(
			'name' => array(
				'type' => 'string',
				'default' => 'my_choice'
			),
			'type' => array(
				'enum' => array(
					'radio',
					'checkbox'
				),
				'default' => 'checkbox'
			),
			'required' => array(
				'type' => 'boolean'
			),
			'options' => array(
				'type' => 'array',
				'source' => 'query',
				'selector' => 'div.wp-block-popper-form-input',
				'query' => array(
					'value' => array(
						'type' => 'string',
						'selector' => 'input',
						'source' => 'attribute',
						'attribute' => 'value'
					),
					'label' => array(
						'type' => 'string',
						'selector' => 'label',
						'source' => 'html'
					),
					'selected' => array(
						'type' => 'boolean',
						'selector' => 'input',
						'source' => 'attribute',
						'attribute' => 'checked'
					)
				),
				'default' => array(
					array(
						'value' => '1',
						'label' => 'One'
					),
					array(
						'value' => '2',
						'label' => 'Two'
					),
					array(
						'value' => '3',
						'label' => 'Three'
					)
				)
			)
		),
		'supports' => array(
			'anchor' => true,
			'html' => false,
			'spacing' => array(
				'padding' => true,
				'blockGap' => true
			),
			'inserter' => true,
			'__experimentalBorder' => true,
			'layout' => array(
				'allowEditing' => false,
				'allowSwitching' => true,
				'allowInheriting' => false,
				'allowSizingOnChildren' => false,
				'default' => array(
					'type' => 'flex',
					'justifyContent' => 'stretch',
					'orientation' => 'vertical',
					'flexWrap' => 'nowrap'
				)
			)
		),
		'editorScript' => 'file:./index.js',
		'viewStyle' => array(
			'popper-form-input-style'
		)
	),
	'form-select' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 2,
		'name' => 'popper/form-select',
		'title' => 'Select',
		'description' => 'Dropdown select.',
		'category' => 'popper',
		'ancestor' => array(
			'popper/form'
		),
		'textdomain' => 'popper',
		'attributes' => array(
			'id' => array(
				'type' => 'string',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'id'
			),
			'name' => array(
				'type' => 'string',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'name',
				'default' => 'select'
			),
			'label' => array(
				'type' => 'string',
				'source' => 'html',
				'selector' => 'label span:not(.required)',
				'default' => 'My input'
			),
			'hideLabel' => array(
				'type' => 'boolean',
				'selector' => 'label.hide',
				'default' => false
			),
			'options' => array(
				'type' => 'array',
				'source' => 'query',
				'selector' => 'option',
				'query' => array(
					'value' => array(
						'type' => 'string',
						'source' => 'attribute',
						'attribute' => 'value'
					),
					'label' => array(
						'type' => 'string',
						'source' => 'text'
					),
					'selected' => array(
						'type' => 'boolean',
						'source' => 'attribute',
						'attribute' => 'selected'
					)
				),
				'default' => array(
					array(
						'label' => 'Select an option'
					),
					array(
						'value' => '1',
						'label' => 'One'
					),
					array(
						'value' => '2',
						'label' => 'Two'
					),
					array(
						'value' => '3',
						'label' => 'Three'
					)
				)
			),
			'multiple' => array(
				'type' => 'boolean',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'multiple'
			),
			'required' => array(
				'type' => 'boolean',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'required'
			),
			'disabled' => array(
				'type' => 'boolean',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'disabled'
			),
			'readonly' => array(
				'type' => 'boolean',
				'source' => 'attribute',
				'selector' => 'select',
				'attribute' => 'readonly'
			),
			'showHelp' => array(
				'type' => 'boolean',
				'default' => false
			),
			'help' => array(
				'type' => 'string',
				'source' => 'html',
				'selector' => 'small',
				'default' => ''
			)
		),
		'editorScript' => 'file:./index.js',
		'render' => 'file:./render.php',
		'viewStyle' => array(
			'popper-form-input-style'
		)
	),
	'popper' => array(
		'apiVersion' => 2,
		'name' => 'popper/popup',
		'title' => 'Pop up',
		'icon' => 'external',
		'category' => 'widgets',
		'description' => 'A great popup block.',
		'textdomain' => 'popper',
		'supports' => array(
			'html' => false,
			'interactivity' => true,
			'multiple' => false,
			'lock' => false,
			'className' => true,
			'shadow' => true,
			'reusable' => false,
			'inserter' => false,
			'background' => array(
				'backgroundImage' => true,
				'backgroundSize' => true
			),
			'color' => array(
				'gradients' => true,
				'text' => false
			),
			'spacing' => array(
				'padding' => true,
				'margin' => false,
				'__experimentalDefaultControls' => array(
					'padding' => true,
					'margin' => false
				)
			),
			'__experimentalBorder' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true,
				'__experimentalDefaultControls' => array(
					'color' => true,
					'radius' => true,
					'style' => true,
					'width' => true
				)
			)
		),
		'allowedBlocks' => array(
			'popper/button',
			'popper/body'
		),
		'attributes' => array(
			'id' => array(
				'type' => 'string',
				'source' => 'attribute',
				'selector' => 'dialog.wp-block-popper',
				'attribute' => 'id'
			),
			'uuid' => array(
				'type' => 'number'
			),
			'devices' => array(
				'type' => 'array'
			),
			'triggers' => array(
				'type' => 'array',
				'default' => array(
					
				)
			),
			'settings' => array(
				'type' => 'object',
				'default' => array(
					
				)
			),
			'align' => array(
				'type' => 'string',
				'source' => 'attribute',
				'selector' => 'dialog.wp-block-popper',
				'attribute' => 'data-align'
			),
			'animation' => array(
				'type' => 'string'
			),
			'sound' => array(
				'type' => 'string'
			),
			'boxShadow' => array(
				'type' => 'string',
				'default' => 'wp-block-popper__shadow-md'
			),
			'borderRadius' => array(
				'type' => 'string'
			),
			'disableScroll' => array(
				'type' => 'boolean',
				'selector' => 'dialog.wp-block-popper.no-scroll',
				'default' => false
			),
			'overlayColor' => array(
				'type' => 'string'
			),
			'debug' => array(
				'type' => 'boolean'
			)
		),
		'example' => array(
			'attributes' => array(
				'backgroundColor' => '#ffffff'
			),
			'innerBlocks' => array(
				array(
					'name' => 'popper/button'
				),
				array(
					'name' => 'popper/body',
					'attributes' => array(
						'backgroundColor' => '#ffffff'
					),
					'innerBlocks' => array(
						array(
							'name' => 'core/paragraph',
							'attributes' => array(
								'content' => 'My Popper popup'
							)
						)
					)
				)
			)
		),
		'styles' => array(
			array(
				'name' => 'default',
				'label' => 'Popup',
				'isDefault' => true
			),
			array(
				'name' => 'top-bar',
				'label' => 'Top bar'
			),
			array(
				'name' => 'bottom-bar',
				'label' => 'Bottom bar'
			),
			array(
				'name' => 'off-canvas',
				'label' => 'Off canvas'
			),
			array(
				'name' => 'off-canvas-left',
				'label' => 'Off canvas (left)'
			),
			array(
				'name' => 'full-page',
				'label' => 'Full Page'
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'viewScriptModule' => 'file:./frontend/view.js',
		'render' => 'file:./render.php'
	),
	'popper-body' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'popper/body',
		'title' => 'Pop up body',
		'description' => 'Popper pop up body content.',
		'category' => 'popper',
		'parent' => array(
			'popper/popup'
		),
		'textdomain' => 'popper',
		'supports' => array(
			'lock' => false,
			'multiple' => false,
			'reusable' => false,
			'shadow' => true,
			'background' => array(
				'backgroundImage' => true,
				'backgroundSize' => true
			),
			'color' => array(
				'text' => true,
				'background' => true,
				'gradients' => true
			),
			'spacing' => array(
				'padding' => true
			),
			'__experimentalBorder' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true,
				'__experimentalDefaultControls' => array(
					'color' => true,
					'radius' => true,
					'style' => true,
					'width' => true
				)
			)
		),
		'attributes' => array(
			'width' => array(
				'type' => 'string'
			),
			'height' => array(
				'type' => 'string'
			)
		),
		'editorScript' => 'file:./index.js'
	)
);
