| @@ -1,12 +1,19 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "apiVersion": 3, |
| 3 | 3 | "name": "blockenberg/stats-counter", |
| 4 | 4 | "title": "Stats Counter", |
| 5 | - "category": "blockenberg", | |
| 5 | + "category": "bkbg-business", | |
| 6 | 6 | "icon": "performance", |
| 7 | 7 | "description": "Display animated number counters with icons, labels, and rich customization.", |
| 8 | - "keywords": ["stats", "counter", "number", "statistics", "achievement", "fact"], | |
| 8 | + "keywords": [ | |
| 9 | + "stats", | |
| 10 | + "counter", | |
| 11 | + "number", | |
| 12 | + "statistics", | |
| 13 | + "achievement", | |
| 14 | + "fact" | |
| 15 | + ], | |
| 9 | 16 | "textdomain": "blockenberg", |
| 10 | 17 | "editorScript": "bkbg-stats-counter-editor", |
| 11 | 18 | "editorStyle": "bkbg-stats-counter-style", |
| 12 | 19 | "style": "bkbg-stats-counter-style", |
| @@ -12,18 +19,57 @@ | ||
| 12 | 19 | "style": "bkbg-stats-counter-style", |
| 13 | 20 | "viewScript": "bkbg-stats-counter-frontend", |
| 14 | 21 | "supports": { |
| 15 | 22 | "html": false, |
| 16 | - "align": ["wide", "full"] | |
| 23 | + "align": [ | |
| 24 | + "wide", | |
| 25 | + "full" | |
| 26 | + ] | |
| 17 | 27 | }, |
| 18 | 28 | "attributes": { |
| 19 | 29 | "items": { |
| 20 | 30 | "type": "array", |
| 21 | 31 | "default": [ |
| 22 | - { "number": 1500, "suffix": "+", "prefix": "", "label": "Happy Clients", "icon": "groups", "color": "#3b82f6", "numberColor": "", "labelColor": "" }, | |
| 23 | - { "number": 99, "suffix": "%", "prefix": "", "label": "Success Rate", "icon": "yes-alt", "color": "#10b981", "numberColor": "", "labelColor": "" }, | |
| 24 | - { "number": 50, "suffix": "+", "prefix": "", "label": "Team Members", "icon": "admin-users", "color": "#f59e0b", "numberColor": "", "labelColor": "" }, | |
| 25 | - { "number": 10, "suffix": "", "prefix": "", "label": "Years Experience", "icon": "awards", "color": "#8b5cf6", "numberColor": "", "labelColor": "" } | |
| 32 | + { | |
| 33 | + "number": 1500, | |
| 34 | + "suffix": "+", | |
| 35 | + "prefix": "", | |
| 36 | + "label": "Happy Clients", | |
| 37 | + "icon": "groups", | |
| 38 | + "color": "#3b82f6", | |
| 39 | + "numberColor": "", | |
| 40 | + "labelColor": "" | |
| 41 | + }, | |
| 42 | + { | |
| 43 | + "number": 99, | |
| 44 | + "suffix": "%", | |
| 45 | + "prefix": "", | |
| 46 | + "label": "Success Rate", | |
| 47 | + "icon": "yes-alt", | |
| 48 | + "color": "#10b981", | |
| 49 | + "numberColor": "", | |
| 50 | + "labelColor": "" | |
| 51 | + }, | |
| 52 | + { | |
| 53 | + "number": 50, | |
| 54 | + "suffix": "+", | |
| 55 | + "prefix": "", | |
| 56 | + "label": "Team Members", | |
| 57 | + "icon": "admin-users", | |
| 58 | + "color": "#f59e0b", | |
| 59 | + "numberColor": "", | |
| 60 | + "labelColor": "" | |
| 61 | + }, | |
| 62 | + { | |
| 63 | + "number": 10, | |
| 64 | + "suffix": "", | |
| 65 | + "prefix": "", | |
| 66 | + "label": "Years Experience", | |
| 67 | + "icon": "awards", | |
| 68 | + "color": "#8b5cf6", | |
| 69 | + "numberColor": "", | |
| 70 | + "labelColor": "" | |
| 71 | + } | |
| 26 | 72 | ] |
| 27 | 73 | }, |
| 28 | 74 | "layoutStyle": { |
| 29 | 75 | "type": "string", |
| @@ -80,8 +126,12 @@ | ||
| 80 | 126 | "numberSize": { |
| 81 | 127 | "type": "number", |
| 82 | 128 | "default": 48 |
| 83 | 129 | }, |
| 130 | + "numberLineHeight": { | |
| 131 | + "type": "number", | |
| 132 | + "default": 1 | |
| 133 | + }, | |
| 84 | 134 | "numberWeight": { |
| 85 | 135 | "type": "number", |
| 86 | 136 | "default": 700 |
| 87 | 137 | }, |
| @@ -88,12 +138,24 @@ | ||
| 88 | 138 | "numberColor": { |
| 89 | 139 | "type": "string", |
| 90 | 140 | "default": "#1f2937" |
| 91 | 141 | }, |
| 142 | + "labelLineHeight": { | |
| 143 | + "type": "number", | |
| 144 | + "default": 1.3 | |
| 145 | + }, | |
| 92 | 146 | "labelSize": { |
| 93 | 147 | "type": "number", |
| 94 | 148 | "default": 16 |
| 95 | 149 | }, |
| 150 | + "titleFontWeight": { | |
| 151 | + "type": "string", | |
| 152 | + "default": "700" | |
| 153 | + }, | |
| 154 | + "titleLineHeight": { | |
| 155 | + "type": "number", | |
| 156 | + "default": 1.2 | |
| 157 | + }, | |
| 96 | 158 | "labelWeight": { |
| 97 | 159 | "type": "number", |
| 98 | 160 | "default": 400 |
| 99 | 161 | }, |
| @@ -167,7 +229,19 @@ | ||
| 167 | 229 | }, |
| 168 | 230 | "separator": { |
| 169 | 231 | "type": "string", |
| 170 | 232 | "default": "," |
| 171 | - } | |
| 233 | + }, | |
| 234 | + "titleTypo": { | |
| 235 | + "type": "object", | |
| 236 | + "default": {} | |
| 237 | + }, | |
| 238 | + "numberTypo": { | |
| 239 | + "type": "object", | |
| 240 | + "default": {} | |
| 241 | + }, | |
| 242 | + "labelTypo": { | |
| 243 | + "type": "object", | |
| 244 | + "default": {} | |
| 245 | + } | |
| 172 | 246 | } |
| 173 | 247 | } |