<?php
// This file is generated. Do not modify it manually.
return array(
	'display/field-value' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields-display/field',
		'version' => '1.0',
		'title' => 'Field Value',
		'category' => 'text',
		'icon' => 'superhero',
		'description' => 'Display any value from a meta field. Brought to you by Modern Fields.',
		'supports' => array(
			'html' => false
		),
		'example' => array(
			
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/border' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/border',
		'version' => '1.0',
		'title' => 'Border',
		'category' => 'mf-design-fields',
		'description' => 'Configure border values.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'object',
				'default' => array(
					'color' => '',
					'width' => '',
					'style' => '',
					'radius' => ''
				)
			),
			'enableStyle' => array(
				'type' => 'boolean',
				'default' => false
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'schema' => array(
						'color' => array(
							'type' => 'string'
						),
						'width' => array(
							'type' => 'string'
						),
						'style' => array(
							'type' => 'string'
						),
						'radius' => array(
							'type' => 'string'
						)
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Border',
				'description' => 'Configure border values.',
				'defaultValue' => array(
					'color' => 'rgb(196, 78, 79)',
					'width' => '2px',
					'style' => 'solid',
					'radius' => '8px'
				)
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/button-group' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/button-group',
		'version' => '1.0',
		'title' => 'Button Group',
		'category' => 'mf-select-fields',
		'description' => 'A button group field with multiple choices.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => 'center'
			),
			'options' => array(
				'type' => 'array',
				'default' => array(
					array(
						'label' => 'Left',
						'value' => 'left'
					),
					array(
						'label' => 'Center',
						'value' => 'center'
					),
					array(
						'label' => 'Right',
						'value' => 'right'
					),
					array(
						'label' => 'Justify',
						'value' => 'justify'
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Button Group',
				'defaultValue' => 'right',
				'options' => array(
					array(
						'label' => 'Left',
						'value' => 'left'
					),
					array(
						'label' => 'Center',
						'value' => 'center'
					),
					array(
						'label' => 'Right',
						'value' => 'right'
					)
				),
				'description' => 'A button group field with multiple choices.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/checkbox' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/checkboxes',
		'version' => '1.0',
		'title' => 'Checkboxes',
		'category' => 'mf-select-fields',
		'description' => 'A checkboxes field for multiple boolean input.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'array',
				'default' => array(
					
				)
			),
			'options' => array(
				'type' => 'array',
				'default' => array(
					array(
						'label' => 'Option 1',
						'value' => 'option-1',
						'checked' => true
					)
				)
			),
			'layout' => array(
				'type' => 'string',
				'default' => 'vertical'
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'schema' => array(
						'type' => 'object',
						'properties' => array(
							'label' => array(
								'type' => 'string'
							),
							'value' => array(
								'type' => 'string'
							),
							'checked' => array(
								'type' => 'boolean'
							)
						)
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Checkboxes',
				'options' => array(
					array(
						'label' => 'Option 1',
						'value' => 'option-1',
						'checked' => true
					),
					array(
						'label' => 'Option 2',
						'value' => 'option-2',
						'checked' => false
					),
					array(
						'label' => 'Option 3',
						'value' => 'option-3',
						'checked' => false
					)
				),
				'description' => 'A checkboxes field for multiple boolean input.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/color-palette' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/color-palette',
		'version' => '1.0',
		'title' => 'Color Palette',
		'category' => 'mf-design-fields',
		'description' => 'A color palette from the theme.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'hasColorPicker' => array(
				'type' => 'boolean',
				'default' => false
			),
			'enableAlpha' => array(
				'type' => 'boolean',
				'default' => false
			),
			'showClearButton' => array(
				'type' => 'boolean',
				'default' => false
			),
			'hasCustomColors' => array(
				'type' => 'boolean',
				'default' => false
			),
			'customColors' => array(
				'type' => 'array',
				'default' => array(
					array(
						'name' => 'Blue',
						'color' => '#00f'
					),
					array(
						'name' => 'White',
						'color' => '#fff'
					),
					array(
						'name' => 'Red',
						'color' => '#f00'
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Color palette',
				'defaultValue' => '#143C5D',
				'description' => 'A color palette from the theme.',
				'hasColorPicker' => false
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/color-picker' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/color-picker',
		'version' => '1.0',
		'title' => 'Color Picker',
		'category' => 'mf-design-fields',
		'description' => 'A custom color picker.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'enableAlpha' => array(
				'type' => 'boolean',
				'default' => false
			),
			'showClearButton' => array(
				'type' => 'boolean',
				'default' => true
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Color picker',
				'description' => 'A custom color picker.',
				'defaultValue' => '#C44E4F'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/conditional' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/conditional-free',
		'version' => '1.0',
		'title' => 'Conditional Logic',
		'category' => 'mf-advanced-fields',
		'description' => 'Get Modern Fields Pro and unlock the Conditional logic block.',
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css'
	),
	'fields/date' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/date',
		'version' => '1.0',
		'title' => 'Date',
		'category' => 'mf-date-fields',
		'description' => 'A date / time input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'formatType' => array(
				'type' => 'string',
				'default' => 'datetime'
			),
			'format' => array(
				'type' => 'string',
				'default' => 'Y m d'
			),
			'is12Hour' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Date',
				'defaultValue' => '2026-01-16',
				'description' => 'A date / time input field.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/email' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/email',
		'version' => '1.0',
		'title' => 'Email',
		'category' => 'mf-input-fields',
		'description' => 'A simple email input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'placeholder' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Email',
				'defaultValue' => 'me@example.com',
				'description' => 'A simple email input field.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/image' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/image',
		'version' => '1.0',
		'title' => 'Image',
		'category' => 'mf-media-fields',
		'description' => 'Import or select an image from the media library.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'number',
				'default' => null
			),
			'allowedTypes' => array(
				'type' => 'array',
				'default' => array(
					'image'
				)
			),
			'minimalistMode' => array(
				'type' => 'boolean',
				'default' => false
			),
			'previewRatio' => array(
				'type' => 'string',
				'default' => 'auto'
			),
			'circlePreview' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Image'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/multi-token' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/multi-token',
		'version' => '1.0',
		'title' => 'Multi Token',
		'category' => 'mf-input-fields',
		'description' => 'A mutli-value input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'array',
				'default' => array(
					
				)
			),
			'suggestions' => array(
				'type' => 'array',
				'default' => array(
					
				)
			),
			'placeholder' => array(
				'type' => 'string',
				'default' => ''
			),
			'maxLength' => array(
				'type' => 'number'
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'schema' => array(
						'type' => 'string'
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Multi Token',
				'help' => 'A mutli-value input field.',
				'defaultValue' => array(
					'cat',
					'dog'
				)
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/number' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/number',
		'version' => '1.0',
		'title' => 'Number',
		'category' => 'mf-input-fields',
		'description' => 'A simple number input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'number',
				'default' => 0
			),
			'min' => array(
				'type' => 'number'
			),
			'max' => array(
				'type' => 'number'
			),
			'step' => array(
				'type' => 'number',
				'default' => 1
			),
			'prefix' => array(
				'type' => 'string',
				'default' => ''
			),
			'suffix' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Number',
				'defaultValue' => 88,
				'description' => 'A simple number input field.',
				'suffix' => '%',
				'maxWidth' => '120px'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/radio-buttons' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/radio-buttons',
		'version' => '1.0',
		'title' => 'Radio Buttons',
		'category' => 'mf-select-fields',
		'description' => 'A radio buttons field with multiple choices.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => 'checkbox'
			),
			'options' => array(
				'type' => 'array',
				'default' => array(
					array(
						'label' => 'Checkbox',
						'value' => 'checkbox'
					)
				)
			),
			'layout' => array(
				'type' => 'string',
				'default' => 'vertical'
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Radio Buttons',
				'defaultValue' => 'center',
				'options' => array(
					array(
						'label' => 'Top',
						'value' => 'top'
					),
					array(
						'label' => 'Center',
						'value' => 'center'
					),
					array(
						'label' => 'Bottom',
						'value' => 'bottom'
					)
				),
				'description' => 'A radio buttons field with multiple choices.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/range' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/range',
		'version' => '1.0',
		'title' => 'Range',
		'category' => 'mf-select-fields',
		'description' => 'A range input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'number',
				'default' => 0
			),
			'min' => array(
				'type' => 'number'
			),
			'max' => array(
				'type' => 'number'
			),
			'step' => array(
				'type' => 'number',
				'default' => 1
			),
			'hasMarks' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Range',
				'defaultValue' => 3,
				'min' => 0,
				'max' => 4,
				'step' => 1,
				'hasMarks' => true,
				'description' => 'A range input field.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/relationship' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/relationship-free',
		'version' => '1.0',
		'title' => 'Relationship',
		'category' => 'mf-advanced-fields',
		'description' => 'Get Modern Fields Pro and unlock the Relationship field.',
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css'
	),
	'fields/repeater' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/repeater-free',
		'version' => '1.0',
		'title' => 'Repeater',
		'category' => 'mf-advanced-fields',
		'description' => 'Get Modern Fields Pro and unlock the Repeater field.',
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css'
	),
	'fields/richtext' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/rich-text',
		'version' => '1.0',
		'title' => 'Rich Text',
		'category' => 'mf-input-fields',
		'keywords' => array(
			'editor',
			'content',
			'wysiwyg'
		),
		'description' => 'A rich text input field with formatting options.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'lines' => array(
				'type' => 'number',
				'default' => 4
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'sanitizeCallback' => 'wp_kses_post'
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Rich text',
				'defaultValue' => '<p>Hello <strong>World!</strong></p>',
				'description' => 'A rich text input field with formatting options.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/select' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/select',
		'version' => '1.0',
		'title' => 'Select',
		'category' => 'mf-select-fields',
		'description' => 'A select dropdown field with key/value options.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'options' => array(
				'type' => 'array',
				'default' => array(
					array(
						'label' => 'Option 1',
						'value' => 'option-1'
					),
					array(
						'label' => 'Option 2',
						'value' => 'option-2'
					)
				)
			),
			'displayMode' => array(
				'type' => 'string',
				'default' => 'classic'
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Select',
				'defaultValue' => 'option-1',
				'description' => 'A select dropdown field with key/value options.',
				'options' => array(
					array(
						'label' => 'Option 1',
						'value' => 'option-1'
					),
					array(
						'label' => 'Option 2',
						'value' => 'option-2'
					)
				)
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/spacing' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/spacing',
		'version' => '1.0',
		'title' => 'Spacing',
		'category' => 'mf-design-fields',
		'description' => 'Select spacing values for the selected sides.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'object',
				'default' => array(
					'top' => '0',
					'bottom' => '0',
					'left' => '0',
					'right' => '0'
				)
			),
			'sides' => array(
				'type' => 'array',
				'default' => array(
					'top',
					'bottom',
					'left',
					'right'
				)
			),
			'allowReset' => array(
				'type' => 'boolean',
				'default' => true
			),
			'allowCustomSize' => array(
				'type' => 'boolean',
				'default' => false
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'schema' => array(
						'top' => array(
							'type' => 'string'
						),
						'bottom' => array(
							'type' => 'string'
						),
						'left' => array(
							'type' => 'string'
						),
						'right' => array(
							'type' => 'string'
						)
					)
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Spacing',
				'description' => 'Select a spacing value.',
				'sides' => array(
					'top',
					'bottom'
				)
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/text' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/text',
		'version' => '1.0',
		'title' => 'Text',
		'category' => 'mf-input-fields',
		'description' => 'A simple text input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'placeholder' => array(
				'type' => 'string',
				'default' => ''
			),
			'maxLength' => array(
				'type' => 'number',
				'default' => null
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Text',
				'defaultValue' => 'Hello World!',
				'description' => 'A simple text input field.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/textarea' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/textarea',
		'version' => '1.0',
		'title' => 'Textarea',
		'category' => 'mf-input-fields',
		'description' => 'A textarea field for longer text input.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => ''
			),
			'placeholder' => array(
				'type' => 'string',
				'default' => ''
			),
			'rows' => array(
				'type' => 'number',
				'default' => 4
			),
			'maxLength' => array(
				'type' => 'number',
				'default' => null
			),
			'mfMeta' => array(
				'type' => 'object',
				'default' => array(
					'sanitizeCallback' => 'sanitize_textarea_field'
				)
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Textarea',
				'defaultValue' => 'A long, long text…',
				'rows' => 3,
				'maxLength' => 100,
				'description' => 'A textarea field for longer text input.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/time' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/time',
		'version' => '1.0',
		'title' => 'Time',
		'category' => 'mf-date-fields',
		'description' => 'A time input field.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => '12:00'
			),
			'is12Hour' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Time',
				'defaultValue' => '13:37',
				'description' => 'A time input field.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/toggle' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/toggle',
		'version' => '1.0',
		'title' => 'Toggle',
		'category' => 'mf-select-fields',
		'description' => 'A toggle On/Off field for boolean input.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Toggle',
				'defaultValue' => true,
				'description' => 'A toggle On/Off field for boolean input.'
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	),
	'fields/unit' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'modern-fields/unit',
		'version' => '1.0',
		'title' => 'Unit',
		'category' => 'mf-design-fields',
		'description' => 'Select a value with a unit.',
		'attributes' => array(
			'defaultValue' => array(
				'type' => 'string',
				'default' => '0px'
			),
			'units' => array(
				'type' => 'array',
				'default' => array(
					'px',
					'em',
					'rem',
					'vw',
					'vh',
					'%'
				)
			),
			'min' => array(
				'type' => 'number'
			),
			'max' => array(
				'type' => 'number'
			),
			'step' => array(
				'type' => 'number',
				'default' => 1
			),
			'maxWidth' => array(
				'type' => 'string',
				'default' => '80px'
			)
		),
		'example' => array(
			'attributes' => array(
				'label' => 'Unit',
				'description' => 'Select a value with a unit.',
				'defaultValue' => array(
					'value' => '20',
					'unit' => 'px'
				)
			),
			'viewportWidth' => 300
		),
		'textdomain' => 'modern-fields',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css'
	)
);
