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 / notification-bar / block.json

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

116 lines 2.8 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/notification-bar",
5 "title": "Notification Bar",
6 "description": "Dismissible sticky announcement or promo bar — shown at the top or bottom of the page.",
7 "category": "bkbg-marketing",
8 "icon": "megaphone",
9 "keywords": [
10 "notification",
11 "bar",
12 "announcement",
13 "promo",
14 "banner",
15 "sticky",
16 "top bar"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-notification-bar-editor",
20 "editorStyle": "bkbg-notification-bar-style",
21 "style": "bkbg-notification-bar-style",
22 "viewScript": "bkbg-notification-bar-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": []
28 },
29 "attributes": {
30 "message": {
31 "type": "string",
32 "default": "🎉 Special offer! Save 20% today only."
33 },
34 "linkLabel": {
35 "type": "string",
36 "default": "Shop Now"
37 },
38 "linkUrl": {
39 "type": "string",
40 "default": ""
41 },
42 "linkTarget": {
43 "type": "string",
44 "default": "_self"
45 },
46 "position": {
47 "type": "string",
48 "default": "top"
49 },
50 "icon": {
51 "type": "string",
52 "default": "none"
53 },
54 "showClose": {
55 "type": "boolean",
56 "default": true
57 },
58 "cookieName": {
59 "type": "string",
60 "default": "bkbg_nb_dismissed"
61 },
62 "cookieDays": {
63 "type": "number",
64 "default": 1
65 },
66 "bgColor": {
67 "type": "string",
68 "default": "#2563eb"
69 },
70 "textColor": {
71 "type": "string",
72 "default": "#ffffff"
73 },
74 "linkColor": {
75 "type": "string",
76 "default": "#bfdbfe"
77 },
78 "closeBtnColor": {
79 "type": "string",
80 "default": "#93c5fd"
81 },
82 "fontSize": {
83 "type": "number",
84 "default": 14
85 },
86 "fontWeight": {
87 "type": "number",
88 "default": 500
89 },
90 "lineHeight": {
91 "type": "number",
92 "default": 1.4
93 },
94 "messageTypo": {
95 "type": "object",
96 "default": {}
97 },
98 "padding": {
99 "type": "number",
100 "default": 12
101 },
102 "animation": {
103 "type": "string",
104 "default": "slide"
105 },
106 "sticky": {
107 "type": "boolean",
108 "default": true
109 },
110 "showAfterDelay": {
111 "type": "number",
112 "default": 0
113 }
114 }
115 }
116