PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.7
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.7
2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 All 107 releases
b-blocks / build / alert / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.7, at build/alert/block.json

105 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "b-blocks/alert",
4 "title": "Alert",
5 "description": "Provide contextual feedback messages.",
6 "category": "bBlocks",
7 "keywords": [
8 "alert message",
9 "alert block",
10 "custom alert"
11 ],
12 "textdomain": "b-blocks",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "type": {
19 "type": "string",
20 "default": "general"
21 },
22 "width": {
23 "type": "string",
24 "default": "100%"
25 },
26 "alignment": {
27 "type": "string",
28 "default": "center"
29 },
30 "textAlign": {
31 "type": "string",
32 "default": "center"
33 },
34 "message": {
35 "type": "string",
36 "default": "You have an alert message!",
37 "selector": ".bBlocksAlert .alert .alertMessage"
38 },
39 "icon": {
40 "type": "object",
41 "default": {
42 "class": "fa-solid fa-bell"
43 }
44 },
45 "isDismiss": {
46 "type": "boolean",
47 "default": true
48 },
49 "typography": {
50 "type": "object",
51 "default": {
52 "fontSize": {
53 "desktop": "25px",
54 "tablet": "22px",
55 "mobile": "20px"
56 }
57 }
58 },
59 "colors": {
60 "type": "object",
61 "default": {
62 "color": "#333",
63 "bg": "#fff"
64 }
65 },
66 "padding": {
67 "type": "object",
68 "default": {
69 "vertical": "15px",
70 "horizontal": "30px"
71 }
72 },
73 "border": {
74 "type": "object",
75 "default": {
76 "width": "2px",
77 "color": "#333",
78 "radius": "8px"
79 }
80 },
81 "shadow": {
82 "type": "object",
83 "default": {}
84 }
85 },
86 "supports": {
87 "align": [
88 "wide",
89 "full"
90 ],
91 "html": false
92 },
93 "example": {
94 "attributes": {
95 "preview": true
96 }
97 },
98 "editorScript": "file:../index.js",
99 "style": [
100 "file:./view.css",
101 "fontAwesome"
102 ],
103 "render": "file:./render.php",
104 "viewScript": "file:./view.js"
105 }