PluginProbe
Gutenify – Visual Site Builder Blocks & Starter Templates / trunk
Gutenify – Visual Site Builder Blocks & Starter Templates vtrunk
1.7.0 1.6.6 1.6.5 1.6.4 trunk 0.0.1 0.0.2 0.0.3 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 All 72 releases
gutenify / core / dist / blocks / icon / block.json

block.json in Gutenify – Visual Site Builder Blocks & Starter Templates trunk, at core/dist/blocks/icon/block.json

113 lines 2.5 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": "gutenify/icon",
5 "category": "gutenify",
6 "title": "Icon",
7 "version": "2",
8 "description": "Gutenify Icon",
9 "keywords": [
10 "gutenify",
11 "Icon"
12 ],
13 "attributes": {
14 "blockClientId": {
15 "type": "string",
16 "default": ""
17 },
18 "blockAdvanceOptions": {
19 "type": "object",
20 "default": {}
21 },
22 "contentJustification": {
23 "type": "string",
24 "default": "center"
25 },
26 "url": {
27 "type": "string"
28 },
29 "linkTarget": {
30 "type": "string"
31 },
32 "rel": {
33 "type": "string"
34 },
35 "source": {
36 "type": "string",
37 "default": "icon"
38 },
39 "iconName": {
40 "type": "string",
41 "default": "fas fa-star"
42 },
43 "size": {
44 "type": "number",
45 "default": 40
46 },
47 "iconImage": {
48 "type": "object"
49 },
50 "imageSize": {
51 "type": "string",
52 "default": "thumbnail"
53 },
54 "customSize": {
55 "type": "boolean",
56 "default": true
57 },
58 "borderRadius": {
59 "anyOf": [
60 {
61 "type": "string"
62 },
63 {
64 "type": "object"
65 }
66 ]
67 },
68 "borderWidth": {
69 "anyOf": [
70 {
71 "type": "number",
72 "default": 1
73 },
74 {
75 "type": "object",
76 "default": {}
77 }
78 ]
79 },
80 "padding": {
81 "type": "number",
82 "default": 0
83 },
84 "backgroundColor": {
85 "type": "string",
86 "default": ""
87 },
88 "backgroundGradient": {
89 "type": "string",
90 "default": ""
91 },
92 "hoverBackgroundColor": {
93 "type": "string",
94 "default": ""
95 },
96 "hoverBackgroundGradient": {
97 "type": "string",
98 "default": ""
99 }
100 },
101 "supports": {
102 "html": false,
103 "customClassName": true,
104 "inserter": false
105 },
106 "editorScript": [
107 "file:./index.js"
108 ],
109 "style": [
110 "file:./style-index.css"
111 ],
112 "icon": "<svg id='a7f22ee9-1614-475a-8b5a-2a4b05234844' data-name='Layer 2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0Zm0,23A11,11,0,1,1,23,12,11,11,0,0,1,12,23Z' fill='#2196f3' /><path d='M17.61,10.12l-3.14-.45A.67.67,0,0,1,14,9.31l-1.4-2.84a.65.65,0,0,0-1.16,0L10,9.31a.67.67,0,0,1-.49.36l-3.14.45A.64.64,0,0,0,6,11.22l2.27,2.22a.64.64,0,0,1,.18.57L8,17.14a.64.64,0,0,0,.93.67l2.81-1.47a.64.64,0,0,1,.6,0l2.81,1.47a.64.64,0,0,0,.93-.67L15.51,14a.64.64,0,0,1,.18-.57L18,11.22A.64.64,0,0,0,17.61,10.12Z' fill='#2196f3' /></svg>"
113 }