PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / trunk
bBlocks – Essential Gutenberg Blocks & Patterns Collection vtrunk
2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 106 releases
b-blocks / build / toggle-content / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection trunk, at build/toggle-content/block.json

193 lines 4.1 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": "b-blocks/toggle-content",
5 "title": "Toggle Content",
6 "category": "bBlocks",
7 "description": "A clean toggle switch lets users click to switch between two content sections below the heading.",
8 "keywords": [
9 "toggle content",
10 "toggle switch",
11 "toggle content switch",
12 "toggle content switcher",
13 "toggle content switcher block",
14 "toggle"
15 ],
16 "textdomain": "b-blocks",
17 "attributes": {
18 "align": {
19 "type": "string",
20 "default": ""
21 },
22 "toggle": {
23 "type": "object",
24 "default": {
25 "contentType": "primary",
26 "switchType": "rounded"
27 }
28 },
29 "label": {
30 "type": "object",
31 "default": {
32 "left": "First",
33 "right": "Second"
34 }
35 },
36 "styles": {
37 "type": "object",
38 "default": {
39 "header": {
40 "desktop": {
41 "padding": {
42 "top": "",
43 "right": "",
44 "bottom": "",
45 "left": ""
46 },
47 "headingGap": "10px"
48 },
49 "tablet": {
50 "padding": {
51 "top": "",
52 "right": "",
53 "bottom": "",
54 "left": ""
55 },
56 "headingGap": ""
57 },
58 "mobile": {
59 "padding": {
60 "top": "",
61 "right": "",
62 "bottom": "",
63 "left": ""
64 },
65 "headingGap": ""
66 },
67 "normal": {
68 "bg": "",
69 "border": {},
70 "desktop": {
71 "radius": {
72 "top": "",
73 "right": "",
74 "bottom": "",
75 "left": ""
76 }
77 },
78 "tablet": {
79 "radius": {
80 "top": "",
81 "right": "",
82 "bottom": "",
83 "left": ""
84 }
85 },
86 "mobile": {
87 "radius": {
88 "top": "",
89 "right": "",
90 "bottom": "",
91 "left": ""
92 }
93 }
94 },
95 "hover": {
96 "bg": "",
97 "border": {},
98 "desktop": {
99 "radius": {
100 "top": "",
101 "right": "",
102 "bottom": "",
103 "left": ""
104 }
105 },
106 "tablet": {
107 "radius": {
108 "top": "",
109 "right": "",
110 "bottom": "",
111 "left": ""
112 }
113 },
114 "mobile": {
115 "radius": {
116 "top": "",
117 "right": "",
118 "bottom": "",
119 "left": ""
120 }
121 },
122 "transition": 0.3
123 }
124 },
125 "toggle": {
126 "direction": "row",
127 "width": "",
128 "height": "",
129 "desktop": {
130 "align": "center"
131 },
132 "tablet": {
133 "align": ""
134 },
135 "mobile": {
136 "align": ""
137 },
138 "active": {
139 "color": {},
140 "bg": {}
141 },
142 "inactive": {
143 "color": {},
144 "bg": {}
145 }
146 },
147 "label": {
148 "gap": "",
149 "typo": {
150 "fontSize": {
151 "desktop": "",
152 "tablet": "",
153 "mobile": ""
154 }
155 },
156 "active": {
157 "first": {
158 "color": ""
159 },
160 "second": {
161 "color": ""
162 }
163 },
164 "inactive": {
165 "first": {
166 "color": ""
167 },
168 "second": {
169 "color": ""
170 }
171 }
172 }
173 }
174 }
175 },
176 "supports": {
177 "align": [
178 "wide",
179 "full"
180 ],
181 "html": false
182 },
183 "example": {
184 "attributes": {}
185 },
186 "editorScript": [
187 "file:../index.js",
188 "aos"
189 ],
190 "style": "file:./view.css",
191 "render": "file:./render.php",
192 "viewScript": "file:./view.js"
193 }