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 / button / block.json

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

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