{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "giraforms/submit-button",
	"title": "Submit Button",
	"category": "giraforms",
	"icon": "button",
	"description": "Button to submit the form.",
	"textdomain": "giraforms",
	"parent": ["giraforms/form-container", "core/column"],
	"supports": {
		"html": false,
		"className": true,
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true
		}
	},
	"attributes": {
		"buttonText": {
			"type": "string",
			"default": "Submit"
		},
		"buttonStyle": {
			"type": "string",
			"default": "fill"
		},
		"alignment": {
			"type": "string",
			"default": "left"
		},
		"formId": {
			"type": "string",
			"default": ""
		},
		"backgroundColor": {
			"type": "string",
			"default": ""
		},
		"textColor": {
			"type": "string",
			"default": ""
		},
		"borderRadius": {
			"type": "string",
			"default": ""
		},
		"width": {
			"type": "string",
			"default": ""
		},
		"gradient": {
			"type": "string",
			"default": ""
		},
		"paddingTop": {
			"type": "string",
			"default": ""
		},
		"paddingRight": {
			"type": "string",
			"default": ""
		},
		"paddingBottom": {
			"type": "string",
			"default": ""
		},
		"paddingLeft": {
			"type": "string",
			"default": ""
		}
	},
	"editorScript": "file:./index.js"
}
