{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "caliph/announcement-widget", "title": "Announcement Widget", "category": "widgets", "icon": "megaphone", "description": "A customizable announcement widget with badge, text, and icon.", "keywords": [ "announcement", "widget", "badge", "cta", "notification" ], "version": "1.0.0", "textdomain": "caliph", "attributes": { "badgeText": { "type": "string", "default": "NEW" }, "mainText": { "type": "string", "default": "The Financial Brighter Application" }, "badgeColor": { "type": "string", "default": "" }, "badgeTextColor": { "type": "string", "default": "" }, "textColor": { "type": "string", "default": "" }, "backgroundColor": { "type": "string", "default": "" }, "borderColor": { "type": "string", "default": "" }, "borderRadius": { "type": "number", "default": 10 }, "borderWidth": { "type": "number", "default": 1 }, "padding": { "type": "object", "default": { "top": "6px", "right": "6px", "bottom": "6px", "left": "6px" } }, "margin": { "type": "object", "default": { "top": "0px", "right": "0px", "bottom": "0px", "left": "0px" } }, "gap": { "type": "number", "default": 12 }, "showIcon": { "type": "boolean", "default": true }, "iconColor": { "type": "string", "default": "" }, "iconBackgroundColor": { "type": "string", "default": "" }, "align": { "type": "string", "default": "left" }, "fontSize": { "type": "number", "default": 14 }, "badgeFontSize": { "type": "number", "default": 12 }, "fontWeight": { "type": "string", "default": "500" }, "badgeFontWeight": { "type": "string", "default": "600" } }, "supports": { "html": true, "align": [ "wide", "full" ], "spacing": { "margin": true, "padding": true }, "color": { "text": true, "background": true }, "style": { "color": { "background": true, "text": true, "border": true } } }, "editorScript": "file:./index.js", "editorStyle": "file:./editor.scss", "style": "file:./style.scss" }