| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/social-proof-popup", |
| 5 |
"title": "Social Proof Popup", |
| 6 |
"category": "bkbg-marketing", |
| 7 |
"icon": "heart", |
| 8 |
"description": "Floating FOMO notification popups that cycle through social proof entries like purchases, signups, and reviews.", |
| 9 |
"keywords": [ |
| 10 |
"social proof", |
| 11 |
"fomo", |
| 12 |
"notification", |
| 13 |
"popup", |
| 14 |
"toast", |
| 15 |
"purchase", |
| 16 |
"signup", |
| 17 |
"conversion" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-social-proof-popup-editor", |
| 21 |
"editorStyle": "bkbg-social-proof-popup-style", |
| 22 |
"style": "bkbg-social-proof-popup-style", |
| 23 |
"viewScript": "bkbg-social-proof-popup-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"entries": { |
| 31 |
"type": "array", |
| 32 |
"default": [ |
| 33 |
{ |
| 34 |
"emoji": "🛍️", |
| 35 |
"name": "Sarah M.", |
| 36 |
"location": "London, UK", |
| 37 |
"action": "just purchased the Pro Plan", |
| 38 |
"timeAgo": "2 minutes ago" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"emoji": "⭐", |
| 42 |
"name": "James K.", |
| 43 |
"location": "New York, US", |
| 44 |
"action": "left a 5-star review", |
| 45 |
"timeAgo": "8 minutes ago" |
| 46 |
}, |
| 47 |
{ |
| 48 |
"emoji": "🚀", |
| 49 |
"name": "Priya R.", |
| 50 |
"location": "Mumbai, India", |
| 51 |
"action": "just signed up for the free trial", |
| 52 |
"timeAgo": "12 minutes ago" |
| 53 |
}, |
| 54 |
{ |
| 55 |
"emoji": "💬", |
| 56 |
"name": "Marco L.", |
| 57 |
"location": "Milan, Italy", |
| 58 |
"action": "shared this with their team", |
| 59 |
"timeAgo": "15 minutes ago" |
| 60 |
}, |
| 61 |
{ |
| 62 |
"emoji": "🎉", |
| 63 |
"name": "Emma T.", |
| 64 |
"location": "Toronto, Canada", |
| 65 |
"action": "just upgraded to Business", |
| 66 |
"timeAgo": "23 minutes ago" |
| 67 |
} |
| 68 |
] |
| 69 |
}, |
| 70 |
"position": { |
| 71 |
"type": "string", |
| 72 |
"default": "bottom-left" |
| 73 |
}, |
| 74 |
"displayTime": { |
| 75 |
"type": "number", |
| 76 |
"default": 4000 |
| 77 |
}, |
| 78 |
"pauseBetween": { |
| 79 |
"type": "number", |
| 80 |
"default": 3000 |
| 81 |
}, |
| 82 |
"animationType": { |
| 83 |
"type": "string", |
| 84 |
"default": "slide" |
| 85 |
}, |
| 86 |
"showAvatar": { |
| 87 |
"type": "boolean", |
| 88 |
"default": true |
| 89 |
}, |
| 90 |
"showTime": { |
| 91 |
"type": "boolean", |
| 92 |
"default": true |
| 93 |
}, |
| 94 |
"showClose": { |
| 95 |
"type": "boolean", |
| 96 |
"default": true |
| 97 |
}, |
| 98 |
"loop": { |
| 99 |
"type": "boolean", |
| 100 |
"default": true |
| 101 |
}, |
| 102 |
"startDelay": { |
| 103 |
"type": "number", |
| 104 |
"default": 2000 |
| 105 |
}, |
| 106 |
"borderRadius": { |
| 107 |
"type": "number", |
| 108 |
"default": 12 |
| 109 |
}, |
| 110 |
"shadow": { |
| 111 |
"type": "boolean", |
| 112 |
"default": true |
| 113 |
}, |
| 114 |
"maxWidth": { |
| 115 |
"type": "number", |
| 116 |
"default": 300 |
| 117 |
}, |
| 118 |
"bgColor": { |
| 119 |
"type": "string", |
| 120 |
"default": "#ffffff" |
| 121 |
}, |
| 122 |
"textColor": { |
| 123 |
"type": "string", |
| 124 |
"default": "#1e293b" |
| 125 |
}, |
| 126 |
"nameColor": { |
| 127 |
"type": "string", |
| 128 |
"default": "#0f172a" |
| 129 |
}, |
| 130 |
"actionColor": { |
| 131 |
"type": "string", |
| 132 |
"default": "#475569" |
| 133 |
}, |
| 134 |
"timeColor": { |
| 135 |
"type": "string", |
| 136 |
"default": "#94a3b8" |
| 137 |
}, |
| 138 |
"borderColor": { |
| 139 |
"type": "string", |
| 140 |
"default": "#e2e8f0" |
| 141 |
}, |
| 142 |
"avatarBg": { |
| 143 |
"type": "string", |
| 144 |
"default": "#f0f9ff" |
| 145 |
}, |
| 146 |
"closeBtnColor": { |
| 147 |
"type": "string", |
| 148 |
"default": "#94a3b8" |
| 149 |
}, |
| 150 |
"nameTypo": { |
| 151 |
"type": "object", |
| 152 |
"default": {} |
| 153 |
}, |
| 154 |
"actionTypo": { |
| 155 |
"type": "object", |
| 156 |
"default": {} |
| 157 |
} |
| 158 |
} |
| 159 |
} |
| 160 |
|