PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / trunk
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites vtrunk
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / build / block / dynamic-button / block.json

block.json in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites trunk, at build/block/dynamic-button/block.json

197 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": "blockspare/blockspare-dynamic-buttons",
5 "title": "Dynamic Button",
6 "category": "blockspare",
7 "description": "Add a dynamic button powered by post meta and custom fields.",
8 "supports": {
9 "align": [
10 "wide",
11 "full",
12 "center"
13 ]
14 },
15 "attributes": {
16 "sectionAlignment": {
17 "type": "string",
18 "default": "center"
19 },
20 "uniqueClass": {
21 "type": "string",
22 "default": ""
23 },
24 "animation": {
25 "type": "string",
26 "default": ""
27 },
28 "buttonText": {
29 "type": "string",
30 "default": "Get Started"
31 },
32 "buttonUrl": {
33 "type": "string",
34 "default": ""
35 },
36 "buttonBackgroundColor": {
37 "type": "string",
38 "default": "#141618"
39 },
40 "buttonTextColor": {
41 "type": "string",
42 "default": "#fff"
43 },
44 "buttonSize": {
45 "type": "string",
46 "default": "blockspare-button-size-small"
47 },
48 "buttonShape": {
49 "type": "string",
50 "default": "blockspare-button-shape-rounded"
51 },
52 "buttonTarget": {
53 "type": "boolean",
54 "default": false
55 },
56 "buttonStyle": {
57 "type": "string",
58 "default": "none"
59 },
60 "borderColor": {
61 "type": "string",
62 "default": "#141618"
63 },
64 "borderBtnTextColor": {
65 "type": "string",
66 "default": "#404040"
67 },
68 "enableGradient": {
69 "type": "boolean",
70 "default": false
71 },
72 "backgroundColor1": {
73 "type": "string",
74 "default": "#141618"
75 },
76 "backgroundColor2": {
77 "type": "string",
78 "default": "#ce242c"
79 },
80 "gradientAngle": {
81 "type": "number",
82 "default": -90
83 },
84 "colorLocation1": {
85 "type": "number",
86 "default": 30
87 },
88 "colorLocation2": {
89 "type": "number",
90 "default": 70
91 },
92 "btnBorderWidth": {
93 "type": "number",
94 "default": 2
95 },
96 "btnFontWeight": {
97 "type": "string",
98 "default": "normal"
99 },
100 "buttonHoverEffect": {
101 "type": "string",
102 "default": ""
103 },
104 "buttonFontSize": {
105 "type": "number",
106 "default": 16
107 },
108 "buttonFontFamily": {
109 "type": "string",
110 "default": "Default"
111 },
112 "buttonFontWeight": {
113 "type": "string",
114 "default": ""
115 },
116 "buttonFontSubset": {
117 "type": "string"
118 },
119 "buttonFontSizeType": {
120 "type": "string",
121 "default": "px"
122 },
123 "buttonFontSizeMobile": {
124 "type": "number",
125 "default": 14
126 },
127 "buttonFontSizeTablet": {
128 "type": "number",
129 "default": 14
130 },
131 "buttonLoadGoogleFonts": {
132 "type": "boolean",
133 "default": false
134 },
135 "enableButtonIcon": {
136 "type": "boolean",
137 "default": false
138 },
139 "buttonIconPosition": {
140 "type": "string",
141 "default": "btn-icon-left"
142 },
143 "buttonIcon": {
144 "type": "string",
145 "default": "fas fa-rocket"
146 },
147 "buttonIconColor": {
148 "type": "string",
149 "default": "#fff"
150 },
151 "borderbuttonIconColor": {
152 "type": "string",
153 "default": "#404040"
154 },
155 "paddingTop": {
156 "type": "number",
157 "default": 12
158 },
159 "paddingRight": {
160 "type": "number",
161 "default": 22
162 },
163 "paddingBottom": {
164 "type": "number",
165 "default": 12
166 },
167 "paddingLeft": {
168 "type": "number",
169 "default": 22
170 },
171 "marginTop": {
172 "type": "number",
173 "default": 30
174 },
175 "marginBottom": {
176 "type": "number",
177 "default": 30
178 },
179 "marginLeft": {
180 "type": "number",
181 "default": 0
182 },
183 "marginRight": {
184 "type": "number",
185 "default": 0
186 },
187 "btnText": {
188 "type": "string",
189 "default": ""
190 },
191 "btnUrl": {
192 "type": "string",
193 "default": ""
194 }
195 },
196 "editorScript": "file:./index.js"
197 }