| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "bbp-core/forum-overview", |
| 5 |
"version": "0.1.0", |
| 6 |
"title": "Forumax Forum Overview", |
| 7 |
"category": "forumax", |
| 8 |
"icon": "chart-bar", |
| 9 |
"description": "Displays forum statistics including total forums, topics, replies, and members with animated counters.", |
| 10 |
"attributes": { |
| 11 |
"layout": { |
| 12 |
"type": "string", |
| 13 |
"default": "grid" |
| 14 |
}, |
| 15 |
"columns": { |
| 16 |
"type": "number", |
| 17 |
"default": 4 |
| 18 |
}, |
| 19 |
"show_forums": { |
| 20 |
"type": "boolean", |
| 21 |
"default": true |
| 22 |
}, |
| 23 |
"show_topics": { |
| 24 |
"type": "boolean", |
| 25 |
"default": true |
| 26 |
}, |
| 27 |
"show_replies": { |
| 28 |
"type": "boolean", |
| 29 |
"default": true |
| 30 |
}, |
| 31 |
"show_members": { |
| 32 |
"type": "boolean", |
| 33 |
"default": true |
| 34 |
}, |
| 35 |
"show_active_members": { |
| 36 |
"type": "boolean", |
| 37 |
"default": false |
| 38 |
}, |
| 39 |
"show_icons": { |
| 40 |
"type": "boolean", |
| 41 |
"default": true |
| 42 |
}, |
| 43 |
"enable_animation": { |
| 44 |
"type": "boolean", |
| 45 |
"default": true |
| 46 |
}, |
| 47 |
"label_forums": { |
| 48 |
"type": "string", |
| 49 |
"default": "Forums" |
| 50 |
}, |
| 51 |
"label_topics": { |
| 52 |
"type": "string", |
| 53 |
"default": "Topics" |
| 54 |
}, |
| 55 |
"label_replies": { |
| 56 |
"type": "string", |
| 57 |
"default": "Replies" |
| 58 |
}, |
| 59 |
"label_members": { |
| 60 |
"type": "string", |
| 61 |
"default": "Members" |
| 62 |
}, |
| 63 |
"label_active_members": { |
| 64 |
"type": "string", |
| 65 |
"default": "Active Members" |
| 66 |
}, |
| 67 |
"count_color": { |
| 68 |
"type": "string" |
| 69 |
}, |
| 70 |
"label_color": { |
| 71 |
"type": "string" |
| 72 |
}, |
| 73 |
"icon_color": { |
| 74 |
"type": "string" |
| 75 |
}, |
| 76 |
"card_bg_color": { |
| 77 |
"type": "string" |
| 78 |
}, |
| 79 |
"card_border_color": { |
| 80 |
"type": "string" |
| 81 |
}, |
| 82 |
"card_hover_bg_color": { |
| 83 |
"type": "string" |
| 84 |
}, |
| 85 |
"count_font_size": { |
| 86 |
"type": "number", |
| 87 |
"default": 0 |
| 88 |
}, |
| 89 |
"label_font_size": { |
| 90 |
"type": "number", |
| 91 |
"default": 0 |
| 92 |
}, |
| 93 |
"icon_size": { |
| 94 |
"type": "number", |
| 95 |
"default": 0 |
| 96 |
}, |
| 97 |
"card_gap": { |
| 98 |
"type": "number", |
| 99 |
"default": 0 |
| 100 |
}, |
| 101 |
"card_padding": { |
| 102 |
"type": "number", |
| 103 |
"default": 0 |
| 104 |
}, |
| 105 |
"card_border_radius": { |
| 106 |
"type": "number", |
| 107 |
"default": 0 |
| 108 |
}, |
| 109 |
"mobile_columns": { |
| 110 |
"type": "number", |
| 111 |
"default": 2 |
| 112 |
} |
| 113 |
}, |
| 114 |
"supports": { |
| 115 |
"html": false |
| 116 |
}, |
| 117 |
"textdomain": "bbp-core", |
| 118 |
"editorScript": "file:./index.js", |
| 119 |
"editorStyle": "file:./index.css", |
| 120 |
"style": "file:./style-index.css" |
| 121 |
} |