PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
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 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | _inc/blocks/slideshow/block.json +114 -96 12.5.2 → 16.3-a.1 View file →
@@ -1,97 +1,115 @@
1 1 {
2 - "$schema": "https://schemas.wp.org/trunk/block.json",
3 - "apiVersion": 3,
4 - "name": "jetpack/slideshow",
5 - "title": "Slideshow",
6 - "description": "Display multiple images in sequential order.",
7 - "keywords": [ "story", "image", "video", "gallery" ],
8 - "version": "12.5.0",
9 - "textdomain": "jetpack",
10 - "category": "media",
11 - "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21' fill='none' stroke='currentColor' strokeWidth='1.5'/><rect x='3.75' y='3.75' width='13.5' height='13.5' rx='0.875' fill='none' stroke='currentColor' strokeWidth='1.5'/><path d='M9 14L12 11L9 8' fill='none' stroke='currentColor' strokeWidth='1.5' /></svg>",
12 - "supports": {
13 - "html": false,
14 - "align": [ "center", "wide", "full" ]
15 - },
16 - "attributes": {
17 - "align": {
18 - "default": "center",
19 - "type": "string"
20 - },
21 - "autoplay": {
22 - "type": "boolean",
23 - "default": false
24 - },
25 - "delay": {
26 - "type": "number",
27 - "default": 3
28 - },
29 - "ids": {
30 - "default": [],
31 - "type": "array"
32 - },
33 - "images": {
34 - "type": "array",
35 - "default": [],
36 - "source": "query",
37 - "selector": ".swiper-slide",
38 - "query": {
39 - "alt": {
40 - "source": "attribute",
41 - "selector": "img",
42 - "attribute": "alt",
43 - "default": ""
44 - },
45 - "caption": {
46 - "type": "string",
47 - "source": "html",
48 - "selector": "figcaption"
49 - },
50 - "id": {
51 - "source": "attribute",
52 - "selector": "img",
53 - "attribute": "data-id"
54 - },
55 - "url": {
56 - "source": "attribute",
57 - "selector": "img",
58 - "attribute": "src"
59 - }
60 - }
61 - },
62 - "effect": {
63 - "type": "string",
64 - "default": "slide"
65 - },
66 - "sizeSlug": {
67 - "type": "string"
68 - }
69 - },
70 - "example": {
71 - "align": "center",
72 - "autoplay": true,
73 - "ids": [ 22, 23 ],
74 - "images": [
75 - {
76 - "alt": "",
77 - "caption": "",
78 - "id": 22,
79 - "url": "./slideshowExample1.png"
80 - },
81 - {
82 - "alt": "",
83 - "caption": "",
84 - "id": 23,
85 - "url": "./slideshowExample2.png"
86 - },
87 - {
88 - "alt": "",
89 - "caption": "",
90 - "id": 23,
91 - "url": "./slideshowExample3.png"
92 - }
93 - ],
94 - "effect": "slide"
95 - },
96 - "editorScript": "file:../editor.js"
97 -}
2 + "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "apiVersion": 3,
4 + "name": "jetpack/slideshow",
5 + "title": "Slideshow",
6 + "description": "Display multiple images in sequential order.",
7 + "keywords": [
8 + "story",
9 + "image",
10 + "video",
11 + "gallery"
12 + ],
13 + "version": "12.5.0",
14 + "textdomain": "jetpack",
15 + "category": "media",
16 + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m19,21.5H6v-1h13c.83,0,1.5-.67,1.5-1.5v-11h1v11c0,1.38-1.12,2.5-2.5,2.5Z'/><path d='m16.38,3.25H4.62c-.75,0-1.37.62-1.37,1.37v11.76c0,.75.62,1.37,1.37,1.37h11.76c.75,0,1.37-.62,1.37-1.37V4.62c0-.75-.62-1.37-1.37-1.37Zm.37,13.13c0,.2-.17.37-.37.37H4.62c-.2,0-.37-.17-.37-.37V4.62c0-.2.17-.37.37-.37h11.76c.2,0,.37.17.37.37v11.76Z'/><path d='M9.39 7.51 12.73 11.04 9.31 14.32 8.61 13.6 11.34 10.99 8.67 8.2 9.39 7.51z'/></svg>",
17 + "supports": {
18 + "html": false,
19 + "align": [
20 + "center",
21 + "wide",
22 + "full"
23 + ]
24 + },
25 + "attributes": {
26 + "align": {
27 + "default": "center",
28 + "type": "string"
29 + },
30 + "autoplay": {
31 + "type": "boolean",
32 + "default": false
33 + },
34 + "delay": {
35 + "type": "number",
36 + "default": 3
37 + },
38 + "ids": {
39 + "default": [],
40 + "type": "array"
41 + },
42 + "images": {
43 + "type": "array",
44 + "default": [],
45 + "source": "query",
46 + "selector": ".swiper-slide",
47 + "query": {
48 + "alt": {
49 + "source": "attribute",
50 + "selector": "img",
51 + "attribute": "alt",
52 + "default": ""
53 + },
54 + "caption": {
55 + "type": "string",
56 + "source": "html",
57 + "selector": "figcaption"
58 + },
59 + "id": {
60 + "source": "attribute",
61 + "selector": "img",
62 + "attribute": "data-id"
63 + },
64 + "url": {
65 + "source": "attribute",
66 + "selector": "img",
67 + "attribute": "src"
68 + },
69 + "aspectRatio": {
70 + "source": "attribute",
71 + "selector": "img",
72 + "attribute": "data-aspect-ratio"
73 + }
74 + }
75 + },
76 + "effect": {
77 + "type": "string",
78 + "default": "slide"
79 + },
80 + "sizeSlug": {
81 + "type": "string"
82 + }
83 + },
84 + "example": {
85 + "align": "center",
86 + "autoplay": true,
87 + "ids": [
88 + 22,
89 + 23,
90 + 24
91 + ],
92 + "images": [
93 + {
94 + "alt": "",
95 + "caption": "",
96 + "id": 22,
97 + "url": "./slideshowExample1.png"
98 + },
99 + {
100 + "alt": "",
101 + "caption": "",
102 + "id": 23,
103 + "url": "./slideshowExample2.png"
104 + },
105 + {
106 + "alt": "",
107 + "caption": "",
108 + "id": 24,
109 + "url": "./slideshowExample3.png"
110 + }
111 + ],
112 + "effect": "slide"
113 + },
114 + "editorScript": "jetpack-blocks-editor"
115 +}