{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "tims-nso/login-button",
	"title": "Nextcloud Login Button",
	"category": "widgets",
	"icon": "cloud",
	"description": "A button that logs visitors in to your site with their Nextcloud account.",
	"keywords": [ "nextcloud", "login", "sso" ],
	"textdomain": "tims-nextcloud-sso-oauth2",
	"attributes": {
		"text": {
			"type": "string",
			"default": ""
		},
		"justify": {
			"type": "string",
			"default": "left"
		},
		"redirectBack": {
			"type": "boolean",
			"default": true
		},
		"loggedInText": {
			"type": "string",
			"default": ""
		},
		"fullWidth": {
			"type": "boolean",
			"default": false
		}
	},
	"supports": {
		"html": false,
		"color": {
			"background": true,
			"text": true
		},
		"typography": {
			"fontSize": true
		},
		"spacing": {
			"padding": true,
			"margin": true
		},
		"__experimentalBorder": {
			"radius": true,
			"width": true,
			"color": true,
			"style": true
		}
	},
	"editorScript": "file:./index.js",
	"style": "file:./style.css"
}
