File: /var/www/html/sample/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/block.json
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/cookie-consent",
"title": "Cookie Consent",
"description": "Displays a customizable cookie consent banner. To display this block on all pages of your site, please add it inside a Template Part that is present on all your templates, like a Header or a Footer.",
"keywords": [ "cookie", "consent", "privacy", "GDPR", "EU" ],
"version": "12.5.0",
"textdomain": "jetpack",
"category": "grow",
"icon": "<svg viewBox='0 0 25 25' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path stroke='currentColor' fill='white' strokeLinecap='round' strokeLinejoin='round' strokeWidth='2' d='M4.419 12c0-6.4 5.358-8 8.037-8h1.005v4h3.014v3h4.019v1c0 6.4-5.024 8-8.038 8-3.014 0-8.037-1.6-8.037-8zm5.023-4h.001m-2.01 4h0m5.023 1h.001m-2.01 3h0m6.028-1h0'/></svg>",
"supports": {
"align": [ "left", "right", "wide", "full" ],
"alignWide": true,
"anchor": false,
"color": {
"gradients": true,
"link": true
},
"spacing": {
"padding": true
},
"customClassName": true,
"className": true,
"html": false,
"lock": false,
"multiple": false,
"reusable": false
},
"attributes": {
"text": {
"type": "string",
"source": "html",
"selector": "p",
"default": "Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: <a href=\"https://automattic.com/cookies/\">Cookie Policy</a>."
},
"style": {
"type": "object",
"default": {
"color": {
"text": "var(--wp--preset--color--contrast)",
"background": "var(--wp--preset--color--tertiary)",
"link": "var(--wp--preset--color--contrast)"
},
"spacing": {
"padding": {
"top": "1em",
"right": "1em",
"bottom": "1em",
"left": "1em"
}
}
}
},
"align": {
"type": "string",
"default": "wide"
},
"consentExpiryDays": {
"type": "integer",
"default": 365
},
"showOverlay": {
"type": "boolean",
"default": false
}
},
"editorScript": "file:../editor.js"
}