PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.2
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.2
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 / button-group / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.2, at build/button-group/block.json

188 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "b-blocks/button-group",
4 "title": "Button Group",
5 "description": "Display Dual Button.",
6 "category": "bBlocks",
7 "keywords": [
8 "buttons",
9 "multiple buttons",
10 "group of buttons"
11 ],
12 "textdomain": "b-blocks",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "width": {
19 "type": "string",
20 "default": "0px"
21 },
22 "layout": {
23 "type": "string",
24 "default": "row"
25 },
26 "alignment": {
27 "type": "object",
28 "default": {
29 "desktop": {
30 "vertical": "center",
31 "horizontal": "center"
32 },
33 "tablet": {
34 "vertical": "",
35 "horizontal": ""
36 },
37 "mobile": {
38 "vertical": "",
39 "horizontal": ""
40 }
41 }
42 },
43 "gap": {
44 "type": "object",
45 "default": {
46 "desktop": "",
47 "tablet": "",
48 "mobile": ""
49 }
50 },
51 "btnAlign": {
52 "type": "string",
53 "default": "center"
54 },
55 "btnType": {
56 "type": "string",
57 "default": "fill"
58 },
59 "btnTypo": {
60 "type": "object",
61 "default": {
62 "fontSize": {
63 "desktop": "16px"
64 }
65 }
66 },
67 "btnPadding": {
68 "type": "object",
69 "default": {
70 "vertical": "12px",
71 "horizontal": "30px"
72 }
73 },
74 "btnOne": {
75 "type": "string",
76 "selector": "a.btnOne",
77 "default": "First Button"
78 },
79 "btnOneLink": {
80 "type": "string",
81 "default": "#"
82 },
83 "btnOneBorder": {
84 "type": "object",
85 "default": {
86 "radius": "50px"
87 }
88 },
89 "btnOneColors": {
90 "type": "object",
91 "default": {
92 "color": "#fff",
93 "bg": "#146EF5"
94 }
95 },
96 "btnOneHovColors": {
97 "type": "object",
98 "default": {
99 "color": "#fff",
100 "bg": "#070127"
101 }
102 },
103 "btnTwo": {
104 "type": "string",
105 "selector": "a.btnTwo",
106 "default": "Second Button"
107 },
108 "btnTwoLink": {
109 "type": "string",
110 "default": "#"
111 },
112 "btnTwoBorder": {
113 "type": "object",
114 "default": {
115 "radius": "50px"
116 }
117 },
118 "btnTwoColors": {
119 "type": "object",
120 "default": {
121 "color": "#fff",
122 "bg": "#FF7A00"
123 }
124 },
125 "btnTwoHovColors": {
126 "type": "object",
127 "default": {
128 "color": "#fff",
129 "bg": "#070127"
130 }
131 },
132 "isSep": {
133 "type": "boolean",
134 "default": true
135 },
136 "sepType": {
137 "type": "string",
138 "default": "icon"
139 },
140 "sepText": {
141 "type": "string",
142 "default": "or"
143 },
144 "sepTextTypo": {
145 "type": "object",
146 "default": {
147 "fontSize": {
148 "desktop": "15px"
149 }
150 }
151 },
152 "sepTextColor": {
153 "type": "string",
154 "default": "#333"
155 },
156 "sepIcon": {
157 "type": "object",
158 "default": {
159 "class": "fa fa-arrows-alt-h",
160 "fontSize": 20,
161 "color": "#333"
162 }
163 },
164 "sepBGColor": {
165 "type": "string",
166 "default": "#fff"
167 }
168 },
169 "supports": {
170 "align": [
171 "wide",
172 "full"
173 ],
174 "html": false
175 },
176 "example": {
177 "attributes": {
178 "preview": true
179 }
180 },
181 "editorScript": "file:../index.js",
182 "style": [
183 "file:./view.css",
184 "fontAwesome"
185 ],
186 "render": "file:./render.php",
187 "viewScript": "file:./view.js"
188 }