PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / before-after-grid / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/before-after-grid/block.json

152 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/before-after-grid",
5 "title": "Before / After Grid",
6 "category": "bkbg-media",
7 "description": "A grid of interactive before/after image comparison sliders — show multiple transformations, makeovers, or design iterations in one layout.",
8 "keywords": [
9 "before after",
10 "comparison",
11 "slider",
12 "gallery",
13 "transformation",
14 "reveal"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-before-after-grid-editor",
18 "editorStyle": "bkbg-before-after-grid-style",
19 "style": "bkbg-before-after-grid-style",
20 "viewScript": "bkbg-before-after-grid-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "pairs": {
32 "type": "array",
33 "default": [
34 {
35 "beforeUrl": "https://images.unsplash.com/photo-1484503793037-5c9644d6a955?w=800&q=70",
36 "beforeId": 0,
37 "beforeAlt": "Before",
38 "beforeLabel": "Before",
39 "afterUrl": "https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800&q=70",
40 "afterId": 0,
41 "afterAlt": "After",
42 "afterLabel": "After",
43 "caption": "Kitchen renovation"
44 },
45 {
46 "beforeUrl": "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&q=70",
47 "beforeId": 0,
48 "beforeAlt": "Before",
49 "beforeLabel": "Before",
50 "afterUrl": "https://images.unsplash.com/photo-1501854140801-50d01698950b?w=800&q=70",
51 "afterId": 0,
52 "afterAlt": "After",
53 "afterLabel": "After",
54 "caption": "Landscape treatment"
55 }
56 ]
57 },
58 "columns": {
59 "type": "number",
60 "default": 2
61 },
62 "gap": {
63 "type": "number",
64 "default": 20
65 },
66 "borderRadius": {
67 "type": "number",
68 "default": 12
69 },
70 "aspect": {
71 "type": "string",
72 "default": "4/3"
73 },
74 "startPosition": {
75 "type": "number",
76 "default": 50
77 },
78 "orientation": {
79 "type": "string",
80 "default": "horizontal"
81 },
82 "showLabels": {
83 "type": "boolean",
84 "default": true
85 },
86 "labelPosition": {
87 "type": "string",
88 "default": "inner-edge"
89 },
90 "showCaptions": {
91 "type": "boolean",
92 "default": true
93 },
94 "handleStyle": {
95 "type": "string",
96 "default": "circle-arrows"
97 },
98 "handleSize": {
99 "type": "number",
100 "default": 44
101 },
102 "lineWidth": {
103 "type": "number",
104 "default": 2
105 },
106 "labelSize": {
107 "type": "number",
108 "default": 12
109 },
110 "captionSize": {
111 "type": "number",
112 "default": 13
113 },
114 "labelTypo": {
115 "type": "object",
116 "default": {}
117 },
118 "captionTypo": {
119 "type": "object",
120 "default": {}
121 },
122 "handleBg": {
123 "type": "string",
124 "default": "#ffffff"
125 },
126 "handleColor": {
127 "type": "string",
128 "default": "#374151"
129 },
130 "lineColor": {
131 "type": "string",
132 "default": "#ffffff"
133 },
134 "labelBg": {
135 "type": "string",
136 "default": "rgba(0,0,0,0.55)"
137 },
138 "labelColor": {
139 "type": "string",
140 "default": "#ffffff"
141 },
142 "captionBg": {
143 "type": "string",
144 "default": "#f8fafc"
145 },
146 "captionColor": {
147 "type": "string",
148 "default": "#374151"
149 }
150 }
151 }
152