| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/glossary", |
| 5 |
"title": "Glossary", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "book-alt", |
| 8 |
"description": "A\u2013Z alphabetical glossary / dictionary with a clickable alphabet navigation bar, terms grouped by first letter, and expandable or always-visible definitions.", |
| 9 |
"keywords": [ |
| 10 |
"glossary", |
| 11 |
"dictionary", |
| 12 |
"terms", |
| 13 |
"definitions", |
| 14 |
"a-z", |
| 15 |
"faq", |
| 16 |
"reference", |
| 17 |
"index" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-glossary-editor", |
| 21 |
"style": "bkbg-glossary-style", |
| 22 |
"viewScript": "bkbg-glossary-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"title": { |
| 34 |
"type": "string", |
| 35 |
"default": "Glossary" |
| 36 |
}, |
| 37 |
"showTitle": { |
| 38 |
"type": "boolean", |
| 39 |
"default": true |
| 40 |
}, |
| 41 |
"subtitle": { |
| 42 |
"type": "string", |
| 43 |
"default": "A reference guide to key terms and definitions." |
| 44 |
}, |
| 45 |
"showSubtitle": { |
| 46 |
"type": "boolean", |
| 47 |
"default": true |
| 48 |
}, |
| 49 |
"terms": { |
| 50 |
"type": "array", |
| 51 |
"default": [ |
| 52 |
{ |
| 53 |
"id": "t1", |
| 54 |
"term": "API", |
| 55 |
"definition": "Application Programming Interface \u2014 a set of rules that allows different software programs to communicate with each other." |
| 56 |
}, |
| 57 |
{ |
| 58 |
"id": "t2", |
| 59 |
"term": "Algorithm", |
| 60 |
"definition": "A step-by-step procedure or formula for solving a problem or accomplishing a task." |
| 61 |
}, |
| 62 |
{ |
| 63 |
"id": "t3", |
| 64 |
"term": "Bandwidth", |
| 65 |
"definition": "The maximum rate of data transfer across a given path, typically measured in bits per second." |
| 66 |
}, |
| 67 |
{ |
| 68 |
"id": "t4", |
| 69 |
"term": "Cache", |
| 70 |
"definition": "A hardware or software component that stores data so that future requests for that data can be served faster." |
| 71 |
}, |
| 72 |
{ |
| 73 |
"id": "t5", |
| 74 |
"term": "DNS", |
| 75 |
"definition": "Domain Name System \u2014 the system that translates human-readable domain names into IP addresses." |
| 76 |
}, |
| 77 |
{ |
| 78 |
"id": "t6", |
| 79 |
"term": "Encryption", |
| 80 |
"definition": "The process of encoding data so that only authorised parties can access it." |
| 81 |
}, |
| 82 |
{ |
| 83 |
"id": "t7", |
| 84 |
"term": "Framework", |
| 85 |
"definition": "A reusable set of libraries or tools that provides a foundation for software development." |
| 86 |
}, |
| 87 |
{ |
| 88 |
"id": "t8", |
| 89 |
"term": "Latency", |
| 90 |
"definition": "The delay before a transfer of data begins following an instruction for its transfer." |
| 91 |
}, |
| 92 |
{ |
| 93 |
"id": "t9", |
| 94 |
"term": "Open Source", |
| 95 |
"definition": "Software whose source code is available for anyone to view, modify, and distribute." |
| 96 |
}, |
| 97 |
{ |
| 98 |
"id": "t10", |
| 99 |
"term": "Protocol", |
| 100 |
"definition": "A set of rules governing the format of data sent over a network." |
| 101 |
}, |
| 102 |
{ |
| 103 |
"id": "t11", |
| 104 |
"term": "Scalability", |
| 105 |
"definition": "The ability of a system to handle increased load by adding resources." |
| 106 |
}, |
| 107 |
{ |
| 108 |
"id": "t12", |
| 109 |
"term": "Uptime", |
| 110 |
"definition": "The percentage of time that a server or service is operational and available to users." |
| 111 |
} |
| 112 |
] |
| 113 |
}, |
| 114 |
"showAlphaNav": { |
| 115 |
"type": "boolean", |
| 116 |
"default": true |
| 117 |
}, |
| 118 |
"expandable": { |
| 119 |
"type": "boolean", |
| 120 |
"default": false |
| 121 |
}, |
| 122 |
"showSearch": { |
| 123 |
"type": "boolean", |
| 124 |
"default": true |
| 125 |
}, |
| 126 |
"groupByLetter": { |
| 127 |
"type": "boolean", |
| 128 |
"default": true |
| 129 |
}, |
| 130 |
"showLetterHead": { |
| 131 |
"type": "boolean", |
| 132 |
"default": true |
| 133 |
}, |
| 134 |
"columns": { |
| 135 |
"type": "number", |
| 136 |
"default": 1 |
| 137 |
}, |
| 138 |
"accentColor": { |
| 139 |
"type": "string", |
| 140 |
"default": "#6c3fb5" |
| 141 |
}, |
| 142 |
"titleColor": { |
| 143 |
"type": "string", |
| 144 |
"default": "#1e1b4b" |
| 145 |
}, |
| 146 |
"subtitleColor": { |
| 147 |
"type": "string", |
| 148 |
"default": "#6b7280" |
| 149 |
}, |
| 150 |
"termColor": { |
| 151 |
"type": "string", |
| 152 |
"default": "#1e1b4b" |
| 153 |
}, |
| 154 |
"defColor": { |
| 155 |
"type": "string", |
| 156 |
"default": "#374151" |
| 157 |
}, |
| 158 |
"letterHeadColor": { |
| 159 |
"type": "string", |
| 160 |
"default": "#6c3fb5" |
| 161 |
}, |
| 162 |
"letterHeadBg": { |
| 163 |
"type": "string", |
| 164 |
"default": "#f5f3ff" |
| 165 |
}, |
| 166 |
"navBg": { |
| 167 |
"type": "string", |
| 168 |
"default": "#f3f4f6" |
| 169 |
}, |
| 170 |
"navActiveColor": { |
| 171 |
"type": "string", |
| 172 |
"default": "#ffffff" |
| 173 |
}, |
| 174 |
"searchBorder": { |
| 175 |
"type": "string", |
| 176 |
"default": "#d1d5db" |
| 177 |
}, |
| 178 |
"itemBorder": { |
| 179 |
"type": "string", |
| 180 |
"default": "#e5e7eb" |
| 181 |
}, |
| 182 |
"bgColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "" |
| 185 |
}, |
| 186 |
"titleSize": { |
| 187 |
"type": "number", |
| 188 |
"default": 32 |
| 189 |
}, |
| 190 |
"termSize": { |
| 191 |
"type": "number", |
| 192 |
"default": 16 |
| 193 |
}, |
| 194 |
"defSize": { |
| 195 |
"type": "number", |
| 196 |
"default": 14 |
| 197 |
}, |
| 198 |
"cardRadius": { |
| 199 |
"type": "number", |
| 200 |
"default": 10 |
| 201 |
}, |
| 202 |
"paddingTop": { |
| 203 |
"type": "number", |
| 204 |
"default": 60 |
| 205 |
}, |
| 206 |
"paddingBottom": { |
| 207 |
"type": "number", |
| 208 |
"default": 60 |
| 209 |
}, |
| 210 |
"titleFontWeight": { |
| 211 |
"type": "string", |
| 212 |
"default": "700" |
| 213 |
}, |
| 214 |
"termFontWeight": { |
| 215 |
"type": "string", |
| 216 |
"default": "700" |
| 217 |
}, |
| 218 |
"defLineHeight": { |
| 219 |
"type": "number", |
| 220 |
"default": 1.6 |
| 221 |
}, |
| 222 |
"typoTitle": { |
| 223 |
"type": "object", |
| 224 |
"default": {} |
| 225 |
}, |
| 226 |
"typoTerm": { |
| 227 |
"type": "object", |
| 228 |
"default": {} |
| 229 |
}, |
| 230 |
"typoDef": { |
| 231 |
"type": "object", |
| 232 |
"default": {} |
| 233 |
}, |
| 234 |
"typoLetterHead": { |
| 235 |
"type": "object", |
| 236 |
"default": {} |
| 237 |
} |
| 238 |
} |
| 239 |
} |
| 240 |
|