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

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

184 lines 5.1 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-toast",
5 "title": "Notification Toast",
6 "category": "bkbg-effects",
7 "description": "Animated social-proof toast notifications that cycle in the corner of the screen — 'Sarah just signed up', 'Tom upgraded to Pro', etc.",
8 "keywords": [
9 "toast",
10 "notification",
11 "social proof",
12 "popup",
13 "fomo",
14 "alert"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-notification-toast-editor",
18 "editorStyle": "bkbg-notification-toast-style",
19 "style": "bkbg-notification-toast-style",
20 "viewScript": "bkbg-notification-toast-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true
25 },
26 "attributes": {
27 "notifications": {
28 "type": "array",
29 "default": [
30 {
31 "icon": "🎉",
32 "iconType": "custom-char",
33 "iconDashicon": "",
34 "iconImageUrl": "",
35 "name": "Sarah M.",
36 "text": "just signed up for the Pro plan",
37 "timeAgo": "2 min ago",
38 "avatarBg": "#6366f1"
39 },
40 {
41 "icon": "",
42 "iconType": "custom-char",
43 "iconDashicon": "",
44 "iconImageUrl": "",
45 "name": "Tom K.",
46 "text": "left a 5-star review",
47 "timeAgo": "5 min ago",
48 "avatarBg": "#10b981"
49 },
50 {
51 "icon": "🛒",
52 "iconType": "custom-char",
53 "iconDashicon": "",
54 "iconImageUrl": "",
55 "name": "Priya L.",
56 "text": "just purchased the Starter bundle",
57 "timeAgo": "8 min ago",
58 "avatarBg": "#f59e0b"
59 },
60 {
61 "icon": "🚀",
62 "iconType": "custom-char",
63 "iconDashicon": "",
64 "iconImageUrl": "",
65 "name": "David R.",
66 "text": "upgraded their account to Business",
67 "timeAgo": "11 min ago",
68 "avatarBg": "#ef4444"
69 },
70 {
71 "icon": "💬",
72 "iconType": "custom-char",
73 "iconDashicon": "",
74 "iconImageUrl": "",
75 "name": "Mia W.",
76 "text": "shared this page with their team",
77 "timeAgo": "14 min ago",
78 "avatarBg": "#8b5cf6"
79 }
80 ]
81 },
82 "position": {
83 "type": "string",
84 "default": "bottom-left"
85 },
86 "interval": {
87 "type": "number",
88 "default": 4
89 },
90 "displayDuration": {
91 "type": "number",
92 "default": 3
93 },
94 "animateType": {
95 "type": "string",
96 "default": "slide"
97 },
98 "showOnce": {
99 "type": "boolean",
100 "default": false
101 },
102 "loop": {
103 "type": "boolean",
104 "default": true
105 },
106 "showAvatar": {
107 "type": "boolean",
108 "default": true
109 },
110 "showTimeAgo": {
111 "type": "boolean",
112 "default": true
113 },
114 "showIcon": {
115 "type": "boolean",
116 "default": true
117 },
118 "toastStyle": {
119 "type": "string",
120 "default": "shadow"
121 },
122 "maxWidth": {
123 "type": "number",
124 "default": 320
125 },
126 "borderRadius": {
127 "type": "number",
128 "default": 12
129 },
130 "avatarSize": {
131 "type": "number",
132 "default": 40
133 },
134 "iconSize": {
135 "type": "number",
136 "default": 20
137 },
138 "nameSize": {
139 "type": "number",
140 "default": 13
141 },
142 "textSize": {
143 "type": "number",
144 "default": 12
145 },
146 "timeSize": {
147 "type": "number",
148 "default": 11
149 },
150 "nameTypo": {
151 "type": "object",
152 "default": {}
153 },
154 "textTypo": {
155 "type": "object",
156 "default": {}
157 },
158 "toastBg": {
159 "type": "string",
160 "default": "#ffffff"
161 },
162 "toastBorder": {
163 "type": "string",
164 "default": "#e5e7eb"
165 },
166 "toastShadow": {
167 "type": "boolean",
168 "default": true
169 },
170 "nameColor": {
171 "type": "string",
172 "default": "#111827"
173 },
174 "textColor": {
175 "type": "string",
176 "default": "#6b7280"
177 },
178 "timeColor": {
179 "type": "string",
180 "default": "#9ca3af"
181 }
182 }
183 }
184