| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "blockenberg/word-cloud", |
| 4 |
"title": "Word Cloud", |
| 5 |
"category": "bkbg-charts", |
| 6 |
"icon": "tag", |
| 7 |
"description": "A visual word cloud where each word is sized by its weight — ideal for topics, skills, tags, or concepts.", |
| 8 |
"keywords": [ |
| 9 |
"word", |
| 10 |
"cloud", |
| 11 |
"tag", |
| 12 |
"keyword", |
| 13 |
"weight", |
| 14 |
"bubble", |
| 15 |
"text" |
| 16 |
], |
| 17 |
"textdomain": "blockenberg", |
| 18 |
"editorScript": "bkbg-word-cloud-editor", |
| 19 |
"editorStyle": "bkbg-word-cloud-style", |
| 20 |
"style": "bkbg-word-cloud-style", |
| 21 |
"viewScript": "bkbg-word-cloud-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"words": { |
| 31 |
"type": "array", |
| 32 |
"default": [ |
| 33 |
{ |
| 34 |
"text": "Design", |
| 35 |
"weight": 9, |
| 36 |
"url": "", |
| 37 |
"colorOverride": "" |
| 38 |
}, |
| 39 |
{ |
| 40 |
"text": "Development", |
| 41 |
"weight": 8, |
| 42 |
"url": "", |
| 43 |
"colorOverride": "" |
| 44 |
}, |
| 45 |
{ |
| 46 |
"text": "UX", |
| 47 |
"weight": 7, |
| 48 |
"url": "", |
| 49 |
"colorOverride": "" |
| 50 |
}, |
| 51 |
{ |
| 52 |
"text": "Branding", |
| 53 |
"weight": 6, |
| 54 |
"url": "", |
| 55 |
"colorOverride": "" |
| 56 |
}, |
| 57 |
{ |
| 58 |
"text": "Strategy", |
| 59 |
"weight": 6, |
| 60 |
"url": "", |
| 61 |
"colorOverride": "" |
| 62 |
}, |
| 63 |
{ |
| 64 |
"text": "React", |
| 65 |
"weight": 5, |
| 66 |
"url": "", |
| 67 |
"colorOverride": "" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"text": "WordPress", |
| 71 |
"weight": 5, |
| 72 |
"url": "", |
| 73 |
"colorOverride": "" |
| 74 |
}, |
| 75 |
{ |
| 76 |
"text": "SEO", |
| 77 |
"weight": 4, |
| 78 |
"url": "", |
| 79 |
"colorOverride": "" |
| 80 |
}, |
| 81 |
{ |
| 82 |
"text": "Marketing", |
| 83 |
"weight": 4, |
| 84 |
"url": "", |
| 85 |
"colorOverride": "" |
| 86 |
}, |
| 87 |
{ |
| 88 |
"text": "Analytics", |
| 89 |
"weight": 3, |
| 90 |
"url": "", |
| 91 |
"colorOverride": "" |
| 92 |
}, |
| 93 |
{ |
| 94 |
"text": "Content", |
| 95 |
"weight": 3, |
| 96 |
"url": "", |
| 97 |
"colorOverride": "" |
| 98 |
}, |
| 99 |
{ |
| 100 |
"text": "JavaScript", |
| 101 |
"weight": 7, |
| 102 |
"url": "", |
| 103 |
"colorOverride": "" |
| 104 |
}, |
| 105 |
{ |
| 106 |
"text": "CSS", |
| 107 |
"weight": 5, |
| 108 |
"url": "", |
| 109 |
"colorOverride": "" |
| 110 |
}, |
| 111 |
{ |
| 112 |
"text": "PHP", |
| 113 |
"weight": 4, |
| 114 |
"url": "", |
| 115 |
"colorOverride": "" |
| 116 |
}, |
| 117 |
{ |
| 118 |
"text": "Typography", |
| 119 |
"weight": 3, |
| 120 |
"url": "", |
| 121 |
"colorOverride": "" |
| 122 |
}, |
| 123 |
{ |
| 124 |
"text": "Performance", |
| 125 |
"weight": 2, |
| 126 |
"url": "", |
| 127 |
"colorOverride": "" |
| 128 |
} |
| 129 |
] |
| 130 |
}, |
| 131 |
"minFontSize": { |
| 132 |
"type": "number", |
| 133 |
"default": 13 |
| 134 |
}, |
| 135 |
"maxFontSize": { |
| 136 |
"type": "number", |
| 137 |
"default": 52 |
| 138 |
}, |
| 139 |
"colorMode": { |
| 140 |
"type": "string", |
| 141 |
"default": "palette" |
| 142 |
}, |
| 143 |
"palette": { |
| 144 |
"type": "string", |
| 145 |
"default": "#6c3fb5,#3b82f6,#10b981,#f59e0b,#ef4444,#ec4899,#8b5cf6,#0ea5e9" |
| 146 |
}, |
| 147 |
"singleColor": { |
| 148 |
"type": "string", |
| 149 |
"default": "#6c3fb5" |
| 150 |
}, |
| 151 |
"textAlign": { |
| 152 |
"type": "string", |
| 153 |
"default": "center" |
| 154 |
}, |
| 155 |
"gap": { |
| 156 |
"type": "number", |
| 157 |
"default": 12 |
| 158 |
}, |
| 159 |
"paddingV": { |
| 160 |
"type": "number", |
| 161 |
"default": 40 |
| 162 |
}, |
| 163 |
"paddingH": { |
| 164 |
"type": "number", |
| 165 |
"default": 24 |
| 166 |
}, |
| 167 |
"bgColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "transparent" |
| 170 |
}, |
| 171 |
"hoverEffect": { |
| 172 |
"type": "string", |
| 173 |
"default": "scale" |
| 174 |
}, |
| 175 |
"showWordBg": { |
| 176 |
"type": "boolean", |
| 177 |
"default": false |
| 178 |
}, |
| 179 |
"wordBgOpacity": { |
| 180 |
"type": "number", |
| 181 |
"default": 12 |
| 182 |
}, |
| 183 |
"wordBorderRadius": { |
| 184 |
"type": "number", |
| 185 |
"default": 6 |
| 186 |
}, |
| 187 |
"wordPaddingV": { |
| 188 |
"type": "number", |
| 189 |
"default": 4 |
| 190 |
}, |
| 191 |
"wordPaddingH": { |
| 192 |
"type": "number", |
| 193 |
"default": 10 |
| 194 |
}, |
| 195 |
"fontWeight": { |
| 196 |
"type": "number", |
| 197 |
"default": 700 |
| 198 |
}, |
| 199 |
"letterSpacing": { |
| 200 |
"type": "number", |
| 201 |
"default": 0 |
| 202 |
}, |
| 203 |
"lineHeight": { |
| 204 |
"type": "number", |
| 205 |
"default": 1.4 |
| 206 |
}, |
| 207 |
"sortOrder": { |
| 208 |
"type": "string", |
| 209 |
"default": "random" |
| 210 |
}, |
| 211 |
"shuffleSeed": { |
| 212 |
"type": "number", |
| 213 |
"default": 42 |
| 214 |
}, |
| 215 |
"cloudTypo": { |
| 216 |
"type": "object", |
| 217 |
"default": {} |
| 218 |
} |
| 219 |
} |
| 220 |
} |
| 221 |
|