PluginProbe
Gutenify – Visual Site Builder Blocks & Starter Templates / 1.6.5
Gutenify – Visual Site Builder Blocks & Starter Templates v1.6.5
1.9.0 1.8.0 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 All 74 releases
gutenify / core / dist / blocks / popup / block.json

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

149 lines 3.0 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/popup",
5 "title": "Popup",
6 "description": "Display a button that opens a popup with custom content.",
7 "category": "gutenify",
8 "version": "1",
9 "attributes": {
10 "blockClientId": {
11 "type": "string",
12 "default": ""
13 },
14 "closeOnBgClick": {
15 "type": "boolean",
16 "default": true
17 },
18 "showCloseBtn": {
19 "type": "boolean",
20 "default": true
21 },
22 "popupAnimation": {
23 "type": "string",
24 "default": "mfp-fade"
25 },
26 "buttonText": {
27 "type": "string",
28 "default": "Open Popup"
29 },
30 "buttonBackgroundColor": {
31 "type": "string"
32 },
33 "buttonTextColor": {
34 "type": "string"
35 },
36 "closeButtonColor": {
37 "type": "string"
38 },
39 "customWidth": {
40 "type": "number",
41 "default": 800
42 },
43 "contentBackgroundColor": {
44 "type": "string"
45 },
46 "contentTextColor": {
47 "type": "string"
48 },
49 "buttonHoverBackgroundColor": {
50 "type": "string"
51 },
52 "buttonHoverTextColor": {
53 "type": "string"
54 },
55 "buttonBorderColor": {
56 "type": "string"
57 },
58 "buttonHoverBorderColor": {
59 "type": "string"
60 },
61 "iconName": {
62 "type": "string",
63 "default": ""
64 },
65 "iconPosition": {
66 "type": "string",
67 "default": "left"
68 },
69 "iconSize": {
70 "type": "number",
71 "default": 20
72 },
73 "buttonGradient": {
74 "type": "string"
75 },
76 "buttonHoverGradient": {
77 "type": "string"
78 },
79 "buttonBorderWidth": {
80 "type": "number",
81 "default": 0
82 },
83 "buttonBorderRadius": {
84 "type": "number",
85 "default": 0
86 },
87 "buttonBorderStyle": {
88 "type": "string",
89 "default": "solid"
90 },
91 "enablePulse": {
92 "type": "boolean",
93 "default": false
94 },
95 "pulseColor": {
96 "type": "string"
97 },
98 "pulseDuration": {
99 "type": "number",
100 "default": 2
101 },
102 "pulseSize": {
103 "type": "number",
104 "default": 10
105 },
106 "buttonPadding": {
107 "type": "object",
108 "default": {
109 "top": "10px",
110 "right": "20px",
111 "bottom": "10px",
112 "left": "20px"
113 }
114 }
115 },
116 "supports": {
117 "html": false,
118 "anchor": true,
119 "spacing": {
120 "padding": true,
121 "margin": false
122 },
123 "color": {
124 "background": true,
125 "text": true,
126 "gradients": true
127 },
128 "__experimentalBorder": {
129 "radius": true,
130 "color": true,
131 "width": true,
132 "style": true
133 },
134 "align": [
135 "wide",
136 "full"
137 ]
138 },
139 "editorScript": [
140 "file:./index.js"
141 ],
142 "style": [
143 "file:./style-index.css"
144 ],
145 "viewScript": [
146 "file:./view.js"
147 ],
148 "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#2196f3'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2v-4h4v-2h-4V7h-2v4H7v2h5z'/></svg>"
149 }