| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | 3 | "apiVersion": 3, |
| 4 | 4 | "name": "jetpack/cookie-consent", |
| 5 | 5 | "title": "Cookie Consent", |
| 6 | - "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.", | |
| 6 | + "description": "Display 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.", | |
| 7 | 7 | "keywords": [ |
| 8 | 8 | "cookie", |
| 9 | 9 | "consent", |
| 10 | 10 | "privacy", |
| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | ], |
| 14 | 14 | "version": "12.5.0", |
| 15 | 15 | "textdomain": "jetpack", |
| 16 | 16 | "category": "grow", |
| 17 | - "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m20.27,11.03c-.02-.31-.05-.62-.11-.92h-3.88v-2.91h-2.87v-3.79c-.32-.06-.64-.1-.97-.12-.15,0-.29,0-.44,0C7.42,3.28,3.71,7,3.71,11.57s3.71,8.3,8.29,8.3,8.29-3.72,8.29-8.3c0-.18,0-.36-.02-.54Zm-8.23,7.79c-4,0-7.24-3.25-7.24-7.25s3.24-7.24,7.24-7.24c.14,0,.27,0,.4.02v3.81h2.9v2.87h3.91c.02.18.03.36.03.54,0,4-3.24,7.25-7.24,7.25Z'/></svg>", | |
| 17 | + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m20.27,11.03c-.02-.31-.05-.62-.11-.92h-3.88v-2.91h-2.87v-3.79c-.32-.06-.64-.1-.97-.12-.15,0-.29,0-.44,0C7.42,3.28,3.71,7,3.71,11.57s3.71,8.3,8.29,8.3,8.29-3.72,8.29-8.3c0-.18,0-.36-.02-.54Zm-8.23,7.79c-4,0-7.24-3.25-7.24-7.25s3.24-7.24,7.24-7.24c.14,0,.27,0,.4.02v3.81h2.9v2.87h3.91c.02.18.03.36.03.54,0,4-3.24,7.25-7.24,7.25Z'/><path d='M 8, 8 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0'/><path d='M 12, 11.5 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0'/><path d='M 13, 16 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0'/><path d='M 8, 14 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0'/></svg>", | |
| 18 | 18 | "supports": { |
| 19 | 19 | "align": [ |
| 20 | 20 | "left", |
| 21 | 21 | "right", |
| @@ -25,9 +25,10 @@ | ||
| 25 | 25 | "alignWide": true, |
| 26 | 26 | "anchor": false, |
| 27 | 27 | "color": { |
| 28 | 28 | "gradients": true, |
| 29 | - "link": true | |
| 29 | + "link": true, | |
| 30 | + "background": true | |
| 30 | 31 | }, |
| 31 | 32 | "spacing": { |
| 32 | 33 | "padding": true |
| 33 | 34 | }, |
| @@ -41,10 +42,9 @@ | ||
| 41 | 42 | "attributes": { |
| 42 | 43 | "text": { |
| 43 | 44 | "type": "string", |
| 44 | 45 | "source": "html", |
| 45 | - "selector": "p", | |
| 46 | - "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>." | |
| 46 | + "selector": "p" | |
| 47 | 47 | }, |
| 48 | 48 | "style": { |
| 49 | 49 | "type": "object", |
| 50 | 50 | "default": { |
| @@ -75,9 +75,7 @@ | ||
| 75 | 75 | "type": "boolean", |
| 76 | 76 | "default": false |
| 77 | 77 | } |
| 78 | 78 | }, |
| 79 | - "editorScript": "file:../editor.js", | |
| 80 | - "editorStyle": "file:../editor.css", | |
| 81 | 79 | "viewScript": "file:./view.js", |
| 82 | - "style": "file:./view.css" | |
| 80 | + "editorScript": "jetpack-blocks-editor" | |
| 83 | 81 | } |