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
jetpack / _inc / blocks / tiled-gallery / block.json

block.json in Jetpack – WP Security, Backup, Speed, & Growth 16.3-a.1, at _inc/blocks/tiled-gallery/block.json

143 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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": [
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 }