{
	"apiVersion": 3,
	"name": "gutenverse/dynamic-field",
	"title": "Dynamic Field",
	"description": "Display single field for ACF, SCF or other custom field plugins.",
	"category": "gutenverse-loop",
	"keywords": ["acf", "text", "custom field", "metadata"],
	"textdomain": "gutenverse",
	"class_callback": "\\Gutenverse\\Block\\Dynamic_Field",
	"attributes": {
		"elementId": {
			"type": "string"
		},
		"fieldContent": {
			"type": "object",
			"default": null
		},
		"htmlTag": {
			"type": "string",
			"default": "p"
		},
		"link": {
			"type": "boolean",
			"default": false
		},
		"linkTarget": {
			"type": "boolean",
			"default": false
		},
		"fieldLink": {
			"type": "object",
			"default": null
		},
		"formatType": {
			"type": "string",
			"default": "none"
		},
		"formatOptionsTextCase": {
			"type": "string",
			"default": ""
		},
		"formatOptionsRegexPattern": {
			"type": "string",
			"default": ""
		},
		"formatOptionsRegexReplace": {
			"type": "string",
			"default": ""
		},
		"formatOptionsDateBefore": {
			"type": "string",
			"default": ""
		},
		"formatOptionsDateAfter": {
			"type": "string",
			"default": ""
		},
		"formatOptionsNumberDecimals": {
			"type": "number",
			"default": 0
		},
		"formatOptionsNumberDecimalSeparator": {
			"type": "string",
			"default": "."
		},
		"formatOptionsNumberThousandSeparator": {
			"type": "string",
			"default": ","
		},
		"formatConditionType": {
			"type": "string",
			"default": "none"
		},
		"formatConditionValue": {
			"type": "string",
			"default": ""
		},
		"formatConditionTextTrue": {
			"type": "string",
			"default": ""
		},
		"formatConditionTextFalse": {
			"type": "string",
			"default": ""
		},
		"prefix": {
			"type": "string",
			"default": ""
		},
		"suffix": {
			"type": "string",
			"default": ""
		},
		"alignment": {
			"type": "object",
			"copyStyle": true
		},
		"typography": {
			"type": "object",
			"copyStyle": true
		},
		"color": {
			"type": "object",
			"copyStyle": true
		},
		"textShadow": {
			"type": "object",
			"default": {},
			"copyStyle": true
		},
		"colorHover": {
			"type": "object",
			"copyStyle": true
		},
		"textShadowHover": {
			"type": "object",
			"default": {},
			"copyStyle": true
		},
		"textStroke": {
			"type": "object",
			"copyStyle": true
		},
		"textStrokeHover": {
			"type": "object",
			"copyStyle": true
		},
		"background": {
			"type": "object",
			"default": {},
			"copyStyle": true
		},
		"backgroundHover": {
			"type": "object",
			"default": {},
			"copyStyle": true
		},
		"backgroundTransition": {
			"type": "object",
			"copyStyle": true,
			"default": {}
		},
		"border": {
			"type": "object",
			"copyStyle": true
		},
		"borderResponsive": {
			"type": "object",
			"migrate": {
				"attr": "border",
				"type": "border"
			},
			"copyStyle": true
		},
		"boxShadow": {
			"type": "object",
			"copyStyle": true
		},
		"borderHover": {
			"type": "object",
			"copyStyle": true
		},
		"borderHoverResponsive": {
			"type": "object",
			"migrate": {
				"attr": "borderHover",
				"type": "border"
			},
			"copyStyle": true
		},
		"boxShadowHover": {
			"type": "object",
			"copyStyle": true
		},
		"margin": {
			"type": "object",
			"copyStyle": true
		},
		"padding": {
			"type": "object",
			"copyStyle": true
		},
		"zIndex": {
			"type": "object",
			"copyStyle": true
		},
		"animation": {
			"type": "object",
			"default": {},
			"copyStyle": true
		},
		"hideDesktop": {
			"type": "boolean",
			"copyStyle": true
		},
		"hideTablet": {
			"type": "boolean",
			"copyStyle": true
		},
		"hideMobile": {
			"type": "boolean",
			"copyStyle": true
		},
		"positioningType": {
			"type": "object",
			"copyStyle": true
		},
		"positioningWidth": {
			"type": "object",
			"copyStyle": true
		},
		"positioningAlign": {
			"type": "object",
			"copyStyle": true
		},
		"positioningLocation": {
			"type": "string",
			"copyStyle": true
		},
		"positioningLeft": {
			"type": "object",
			"copyStyle": true
		},
		"positioningRight": {
			"type": "object",
			"copyStyle": true
		},
		"positioningTop": {
			"type": "object",
			"copyStyle": true
		},
		"positioningBottom": {
			"type": "object",
			"copyStyle": true
		},
		"transform": {
			"type": "object",
			"copyStyle": true
		},
		"mask": {
			"type": "object",
			"copyStyle": true
		},
		"condition": {
			"type": "object",
			"default": {}
		}
	},
	"usesContext": ["postId", "postType", "meta"],
	"supports": {
		"className": false,
		"anchor": true
	}
}
