PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-beta
Jetpack – WP Security, Backup, Speed, & Growth v16.3-beta
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/tiled-gallery/block.json +142 -163 12.5.2 → 16.3-beta View file →
@@ -1,164 +1,143 @@
1 1 {
2 - "$schema": "https://schemas.wp.org/trunk/block.json",
3 - "apiVersion": 3,
4 - "name": "jetpack/tiled-gallery",
5 - "title": "Tiled Gallery",
6 - "description": "Display multiple images in an elegantly organized tiled layout.",
7 - "keywords": [ "columns", "images", "photos", "pictures", "square", "circle", "mosaic" ],
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='M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z'/></svg>",
12 - "supports": {
13 - "align": [ "center", "wide", "full" ],
14 - "color": {
15 - "gradients": true,
16 - "text": false
17 - },
18 - "customClassName": false,
19 - "html": false,
20 - "spacing": {
21 - "margin": true,
22 - "padding": true
23 - },
24 - "__experimentalHideChildBlockControls": true
25 - },
26 - "providesContext": {
27 - "imageCrop": "imageCrop"
28 - },
29 - "styles": [
30 - { "name": "rectangular", "label": "Tiled mosaic", "isDefault": true },
31 - { "name": "circle", "label": "Circles" },
32 - { "name": "square", "label": "Square tiles" },
33 - { "name": "columns", "label": "Tiled columns" }
34 - ],
35 - "attributes": {
36 - "align": {
37 - "type": "string",
38 - "default": "center"
39 - },
40 - "className": {
41 - "type": "string",
42 - "default": "is-style-rectangular"
43 - },
44 - "columns": {
45 - "type": "number"
46 - },
47 - "columnWidths": {
48 - "type": "array",
49 - "default": []
50 - },
51 - "ids": {
52 - "type": "array",
53 - "default": []
54 - },
55 - "imageFilter": {
56 - "type": "string"
57 - },
58 - "images": {
59 - "type": "array",
60 - "default": [],
61 - "source": "query",
62 - "selector": ".tiled-gallery__item",
63 - "query": {
64 - "alt": {
65 - "attribute": "alt",
66 - "default": "",
67 - "selector": "img",
68 - "source": "attribute"
69 - },
70 - "height": {
71 - "attribute": "data-height",
72 - "type": "number",
73 - "selector": "img",
74 - "source": "attribute"
75 - },
76 - "id": {
77 - "attribute": "data-id",
78 - "selector": "img",
79 - "source": "attribute"
80 - },
81 - "link": {
82 - "attribute": "data-link",
83 - "selector": "img",
84 - "source": "attribute"
85 - },
86 - "url": {
87 - "attribute": "data-url",
88 - "selector": "img",
89 - "source": "attribute"
90 - },
91 - "width": {
92 - "attribute": "data-width",
93 - "selector": "img",
94 - "source": "attribute",
95 - "type": "number"
96 - }
97 - }
98 - },
99 - "imageCrop": {
100 - "type": "boolean",
101 - "default": true
102 - },
103 - "linkTo": {
104 - "default": "none",
105 - "type": "string"
106 - },
107 - "roundedCorners": {
108 - "type": "integer",
109 - "default": 0
110 - }
111 - },
112 - "example": {
113 - "attributes": {
114 - "align": "center",
115 - "className": "is-style-rectangular",
116 - "images": [
117 - {
118 - "alt": "",
119 - "link": "",
120 - "url": "tiledGalleryExample1",
121 - "width": 160,
122 - "height": 95
123 - },
124 - {
125 - "alt": "",
126 - "link": "",
127 - "url": "tiledGalleryExample2",
128 - "width": 160,
129 - "height": 107
130 - },
131 - {
132 - "alt": "",
133 - "link": "",
134 - "url": "tiledGalleryExample3",
135 - "width": 304,
136 - "height": 203
137 - },
138 - {
139 - "alt": "",
140 - "link": "",
141 - "url": "tiledGalleryExample4",
142 - "width": 312,
143 - "height": 207
144 - },
145 - {
146 - "alt": "",
147 - "link": "",
148 - "url": "tiledGalleryExample5",
149 - "width": 152,
150 - "height": 101
151 - },
152 - {
153 - "alt": "",
154 - "link": "",
155 - "url": "tiledGalleryExample6",
156 - "width": 152,
157 - "height": 105
158 - }
159 - ],
160 - "linkTo": "none"
161 - }
162 - },
163 - "editorScript": "file:../editor.js"
164 -}
2 + "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "apiVersion": 3,
4 + "name": "jetpack/tiled-gallery",
5 + "title": "Tiled Gallery",
6 + "description": "Display multiple images in an elegantly organized tiled layout.",
7 + "keywords": [
8 + "columns",
9 + "images",
10 + "photos",
11 + "pictures",
12 + "square",
13 + "circle",
14 + "mosaic"
15 + ],
16 + "version": "12.5.0",
17 + "textdomain": "jetpack",
18 + "category": "media",
19 + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z'/></svg>",
20 + "supports": {
21 + "align": [
22 + "center",
23 + "wide",
24 + "full"
25 + ],
26 + "color": {
27 + "gradients": true,
28 + "text": false
29 + },
30 + "customClassName": false,
31 + "html": false,
32 + "spacing": {
33 + "margin": true,
34 + "padding": true
35 + },
36 + "__experimentalHideChildBlockControls": true
37 + },
38 + "providesContext": {
39 + "imageCrop": "imageCrop"
40 + },
41 + "styles": [
42 + {
43 + "name": "rectangular",
44 + "label": "Tiled mosaic",
45 + "isDefault": true
46 + },
47 + {
48 + "name": "circle",
49 + "label": "Circles"
50 + },
51 + {
52 + "name": "square",
53 + "label": "Square tiles"
54 + },
55 + {
56 + "name": "columns",
57 + "label": "Tiled columns"
58 + }
59 + ],
60 + "attributes": {
61 + "align": {
62 + "type": "string",
63 + "default": "center"
64 + },
65 + "className": {
66 + "type": "string",
67 + "default": "is-style-rectangular"
68 + },
69 + "columns": {
70 + "type": "number"
71 + },
72 + "columnWidths": {
73 + "type": "array",
74 + "default": []
75 + },
76 + "ids": {
77 + "type": "array",
78 + "default": []
79 + },
80 + "imageFilter": {
81 + "type": "string"
82 + },
83 + "images": {
84 + "type": "array",
85 + "default": [],
86 + "source": "query",
87 + "selector": ".tiled-gallery__item",
88 + "query": {
89 + "alt": {
90 + "attribute": "alt",
91 + "default": "",
92 + "selector": "img",
93 + "source": "attribute"
94 + },
95 + "height": {
96 + "attribute": "data-height",
97 + "type": "number",
98 + "selector": "img",
99 + "source": "attribute"
100 + },
101 + "id": {
102 + "attribute": "data-id",
103 + "selector": "img",
104 + "source": "attribute"
105 + },
106 + "link": {
107 + "attribute": "data-link",
108 + "selector": "img",
109 + "source": "attribute"
110 + },
111 + "customLink": {
112 + "attribute": "href",
113 + "selector": "a",
114 + "source": "attribute"
115 + },
116 + "url": {
117 + "attribute": "data-url",
118 + "selector": "img",
119 + "source": "attribute"
120 + },
121 + "width": {
122 + "attribute": "data-width",
123 + "selector": "img",
124 + "source": "attribute",
125 + "type": "number"
126 + }
127 + }
128 + },
129 + "imageCrop": {
130 + "type": "boolean",
131 + "default": true
132 + },
133 + "linkTo": {
134 + "default": "none",
135 + "type": "string"
136 + },
137 + "roundedCorners": {
138 + "type": "integer",
139 + "default": 0
140 + }
141 + },
142 + "editorScript": "jetpack-blocks-editor"
143 +}