PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.5
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.5
16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 All 507 releases
← All changes | _inc/blocks/cookie-consent/block.json +80 -68 12.5.2 → 16.3-a.5 View file →
@@ -1,69 +1,81 @@
1 1 {
2 - "$schema": "https://schemas.wp.org/trunk/block.json",
3 - "apiVersion": 3,
4 - "name": "jetpack/cookie-consent",
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.",
7 - "keywords": [ "cookie", "consent", "privacy", "GDPR", "EU" ],
8 - "version": "12.5.0",
9 - "textdomain": "jetpack",
10 - "category": "grow",
11 - "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>",
12 - "supports": {
13 - "align": [ "left", "right", "wide", "full" ],
14 - "alignWide": true,
15 - "anchor": false,
16 - "color": {
17 - "gradients": true,
18 - "link": true
19 - },
20 - "spacing": {
21 - "padding": true
22 - },
23 - "customClassName": true,
24 - "className": true,
25 - "html": false,
26 - "lock": false,
27 - "multiple": false,
28 - "reusable": false
29 - },
30 - "attributes": {
31 - "text": {
32 - "type": "string",
33 - "source": "html",
34 - "selector": "p",
35 - "default": "Privacy &amp; 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>."
36 - },
37 - "style": {
38 - "type": "object",
39 - "default": {
40 - "color": {
41 - "text": "var(--wp--preset--color--contrast)",
42 - "background": "var(--wp--preset--color--tertiary)",
43 - "link": "var(--wp--preset--color--contrast)"
44 - },
45 - "spacing": {
46 - "padding": {
47 - "top": "1em",
48 - "right": "1em",
49 - "bottom": "1em",
50 - "left": "1em"
51 - }
52 - }
53 - }
54 - },
55 - "align": {
56 - "type": "string",
57 - "default": "wide"
58 - },
59 - "consentExpiryDays": {
60 - "type": "integer",
61 - "default": 365
62 - },
63 - "showOverlay": {
64 - "type": "boolean",
65 - "default": false
66 - }
67 - },
68 - "editorScript": "file:../editor.js"
69 -}
2 + "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "apiVersion": 3,
4 + "name": "jetpack/cookie-consent",
5 + "title": "Cookie Consent",
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 + "keywords": [
8 + "cookie",
9 + "consent",
10 + "privacy",
11 + "GDPR",
12 + "EU"
13 + ],
14 + "version": "12.5.0",
15 + "textdomain": "jetpack",
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'/><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 + "supports": {
19 + "align": [
20 + "left",
21 + "right",
22 + "wide",
23 + "full"
24 + ],
25 + "alignWide": true,
26 + "anchor": false,
27 + "color": {
28 + "gradients": true,
29 + "link": true,
30 + "background": true
31 + },
32 + "spacing": {
33 + "padding": true
34 + },
35 + "customClassName": true,
36 + "className": true,
37 + "html": false,
38 + "lock": false,
39 + "multiple": false,
40 + "reusable": false
41 + },
42 + "attributes": {
43 + "text": {
44 + "type": "string",
45 + "source": "html",
46 + "selector": "p"
47 + },
48 + "style": {
49 + "type": "object",
50 + "default": {
51 + "color": {
52 + "text": "var(--wp--preset--color--contrast)",
53 + "background": "var(--wp--preset--color--tertiary)",
54 + "link": "var(--wp--preset--color--contrast)"
55 + },
56 + "spacing": {
57 + "padding": {
58 + "top": "1em",
59 + "right": "1em",
60 + "bottom": "1em",
61 + "left": "1em"
62 + }
63 + }
64 + }
65 + },
66 + "align": {
67 + "type": "string",
68 + "default": "wide"
69 + },
70 + "consentExpiryDays": {
71 + "type": "integer",
72 + "default": 365
73 + },
74 + "showOverlay": {
75 + "type": "boolean",
76 + "default": false
77 + }
78 + },
79 + "viewScript": "file:./view.js",
80 + "editorScript": "jetpack-blocks-editor"
81 +}