PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / modal / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/modal/block.json

170 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/modal",
5 "title": "Modal Window",
6 "description": "A button or trigger that opens a customizable popup modal overlay.",
7 "category": "bkbg-effects",
8 "icon": "external",
9 "keywords": [
10 "modal",
11 "popup",
12 "dialog",
13 "overlay",
14 "lightbox"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-modal-editor",
18 "editorStyle": "bkbg-modal-style",
19 "style": "bkbg-modal-style",
20 "viewScript": "bkbg-modal-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "triggerType": {
32 "type": "string",
33 "default": "button"
34 },
35 "triggerLabel": {
36 "type": "string",
37 "default": "Open Popup"
38 },
39 "triggerBtnStyle": {
40 "type": "string",
41 "default": "primary"
42 },
43 "triggerBtnSize": {
44 "type": "string",
45 "default": "md"
46 },
47 "triggerBtnBg": {
48 "type": "string",
49 "default": "#2563eb"
50 },
51 "triggerBtnColor": {
52 "type": "string",
53 "default": "#ffffff"
54 },
55 "triggerBtnRadius": {
56 "type": "number",
57 "default": 8
58 },
59 "triggerAlignment": {
60 "type": "string",
61 "default": "left"
62 },
63 "modalTitle": {
64 "type": "string",
65 "default": "Modal Title"
66 },
67 "modalContent": {
68 "type": "string",
69 "source": "html",
70 "selector": ".bkbg-modal-body"
71 },
72 "modalSize": {
73 "type": "string",
74 "default": "md"
75 },
76 "animation": {
77 "type": "string",
78 "default": "zoom"
79 },
80 "closeOnOverlay": {
81 "type": "boolean",
82 "default": true
83 },
84 "closeOnEsc": {
85 "type": "boolean",
86 "default": true
87 },
88 "showCloseBtn": {
89 "type": "boolean",
90 "default": true
91 },
92 "showHeader": {
93 "type": "boolean",
94 "default": true
95 },
96 "triggerMode": {
97 "type": "string",
98 "default": "click"
99 },
100 "autoDelay": {
101 "type": "number",
102 "default": 3000
103 },
104 "overlayBg": {
105 "type": "string",
106 "default": "rgba(0,0,0,0.6)"
107 },
108 "overlayBlur": {
109 "type": "boolean",
110 "default": false
111 },
112 "modalBg": {
113 "type": "string",
114 "default": "#ffffff"
115 },
116 "modalRadius": {
117 "type": "number",
118 "default": 12
119 },
120 "modalPadding": {
121 "type": "number",
122 "default": 32
123 },
124 "titleSize": {
125 "type": "number",
126 "default": 22
127 },
128 "titleWeight": {
129 "type": "number",
130 "default": 700
131 },
132 "titleColor": {
133 "type": "string",
134 "default": "#111827"
135 },
136 "contentSize": {
137 "type": "number",
138 "default": 15
139 },
140 "contentColor": {
141 "type": "string",
142 "default": "#374151"
143 },
144 "contentLineHeight": {
145 "type": "number",
146 "default": 1.7
147 },
148 "closeBtnColor": {
149 "type": "string",
150 "default": "#6b7280"
151 },
152 "closeBtnHoverColor": {
153 "type": "string",
154 "default": "#111827"
155 },
156 "titleLineHeight": {
157 "type": "number",
158 "default": 1.3
159 },
160 "titleTypo": {
161 "type": "object",
162 "default": {}
163 },
164 "bodyTypo": {
165 "type": "object",
166 "default": {}
167 }
168 }
169 }
170