PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
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 / off-canvas / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/off-canvas/block.json

133 lines 3.2 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": "blockenberg/off-canvas",
5 "title": "Off-Canvas Drawer",
6 "category": "bkbg-layout",
7 "icon": "slides",
8 "description": "Slide-out side panel (drawer) triggered by a button.",
9 "keywords": [
10 "drawer",
11 "sidebar",
12 "offcanvas",
13 "modal",
14 "panel"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-off-canvas-editor",
18 "editorStyle": "bkbg-off-canvas-style",
19 "style": "bkbg-off-canvas-style",
20 "viewScript": "bkbg-off-canvas-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true
25 },
26 "attributes": {
27 "triggerLabel": {
28 "type": "string",
29 "default": "Open Menu"
30 },
31 "triggerIcon": {
32 "type": "string",
33 "default": "menu"
34 },
35 "showIcon": {
36 "type": "boolean",
37 "default": true
38 },
39 "drawerTitle": {
40 "type": "string",
41 "default": "Drawer Title"
42 },
43 "showDrawerTitle": {
44 "type": "boolean",
45 "default": true
46 },
47 "content": {
48 "type": "string",
49 "default": "Your content goes here. Add links, text, images or any HTML."
50 },
51 "position": {
52 "type": "string",
53 "default": "right"
54 },
55 "width": {
56 "type": "number",
57 "default": 320
58 },
59 "overlayEnabled": {
60 "type": "boolean",
61 "default": true
62 },
63 "closeOnOverlay": {
64 "type": "boolean",
65 "default": true
66 },
67 "closeOnEscape": {
68 "type": "boolean",
69 "default": true
70 },
71 "animationSpeed": {
72 "type": "number",
73 "default": 300
74 },
75 "triggerBg": {
76 "type": "string",
77 "default": "#6c3fb5"
78 },
79 "triggerColor": {
80 "type": "string",
81 "default": "#ffffff"
82 },
83 "triggerRadius": {
84 "type": "number",
85 "default": 8
86 },
87 "triggerPadding": {
88 "type": "number",
89 "default": 12
90 },
91 "drawerBg": {
92 "type": "string",
93 "default": "#ffffff"
94 },
95 "drawerBorder": {
96 "type": "string",
97 "default": "#e5e7eb"
98 },
99 "titleColor": {
100 "type": "string",
101 "default": "#1f2937"
102 },
103 "contentColor": {
104 "type": "string",
105 "default": "#374151"
106 },
107 "overlayColor": {
108 "type": "string",
109 "default": "#000000"
110 },
111 "overlayOpacity": {
112 "type": "number",
113 "default": 40
114 },
115 "closeIconColor": {
116 "type": "string",
117 "default": "#6b7280"
118 },
119 "triggerTypo": {
120 "type": "object",
121 "default": {}
122 },
123 "titleTypo": {
124 "type": "object",
125 "default": {}
126 },
127 "contentTypo": {
128 "type": "object",
129 "default": {}
130 }
131 }
132 }
133