{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "wpuf-ud/name",
	"title": "WPUF - User Name",
	"category": "wpuf-ud",
	"description": "Display user name with various formatting options.",
	"keywords": [ "name", "user", "profile", "title" ],
	"textdomain": "wpuf-pro",
	"attributes": {
		"nameFormat": {
			"type": "string",
			"default": "display_name"
		},
		"headingLevel": {
			"type": "string",
			"default": "p"
		},
		"showRole": {
			"type": "boolean",
			"default": false
		},
		"roleSeparator": {
			"type": "string",
			"default": ", "
		}
	},
	"usesContext": [ "wpuf-ud/userObject" ],
	"supports": {
		"html": false,
		"spacing": {
			"margin": true,
			"padding": true
		},
		"color": {
			"gradients": true,
			"link": true,
			"text": true,
			"background": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"textAlign": true,
			"__experimentalFontFamily": true,
			"__experimentalFontStyle": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true,
			"__experimentalTextTransform": true,
			"__experimentalTextDecoration": true
		}
	},
	"example": {
		"attributes": {
			"nameFormat": "display_name",
			"headingLevel": "p"
		}
	}
}
