| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/hash-generator", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Hash Generator", |
| 7 |
"category": "bkbg-dev", |
| 8 |
"icon": "lock", |
| 9 |
"description": "Generate MD5, SHA-1, SHA-256 and SHA-512 cryptographic hashes from any text input. Useful for developers, security professionals and data integrity checks.", |
| 10 |
"keywords": [ |
| 11 |
"hash", |
| 12 |
"md5", |
| 13 |
"sha256", |
| 14 |
"sha1", |
| 15 |
"sha512", |
| 16 |
"crypto", |
| 17 |
"checksum", |
| 18 |
"generator", |
| 19 |
"developer", |
| 20 |
"security" |
| 21 |
], |
| 22 |
"textdomain": "blockenberg", |
| 23 |
"editorScript": "bkbg-hash-generator-editor", |
| 24 |
"style": "bkbg-hash-generator-style", |
| 25 |
"viewScript": "bkbg-hash-generator-frontend", |
| 26 |
"supports": { |
| 27 |
"html": false, |
| 28 |
"anchor": true, |
| 29 |
"className": true, |
| 30 |
"align": [ |
| 31 |
"wide", |
| 32 |
"full" |
| 33 |
] |
| 34 |
}, |
| 35 |
"attributes": { |
| 36 |
"title": { |
| 37 |
"type": "string", |
| 38 |
"default": "Hash Generator" |
| 39 |
}, |
| 40 |
"subtitle": { |
| 41 |
"type": "string", |
| 42 |
"default": "Generate cryptographic hashes from any text instantly" |
| 43 |
}, |
| 44 |
"defaultAlgorithm": { |
| 45 |
"type": "string", |
| 46 |
"default": "SHA-256" |
| 47 |
}, |
| 48 |
"defaultInput": { |
| 49 |
"type": "string", |
| 50 |
"default": "" |
| 51 |
}, |
| 52 |
"showMD5": { |
| 53 |
"type": "boolean", |
| 54 |
"default": true |
| 55 |
}, |
| 56 |
"showSHA1": { |
| 57 |
"type": "boolean", |
| 58 |
"default": true |
| 59 |
}, |
| 60 |
"showSHA256": { |
| 61 |
"type": "boolean", |
| 62 |
"default": true |
| 63 |
}, |
| 64 |
"showSHA512": { |
| 65 |
"type": "boolean", |
| 66 |
"default": false |
| 67 |
}, |
| 68 |
"showCompare": { |
| 69 |
"type": "boolean", |
| 70 |
"default": true |
| 71 |
}, |
| 72 |
"autoHash": { |
| 73 |
"type": "boolean", |
| 74 |
"default": true |
| 75 |
}, |
| 76 |
"accentColor": { |
| 77 |
"type": "string", |
| 78 |
"default": "#6366f1" |
| 79 |
}, |
| 80 |
"sectionBg": { |
| 81 |
"type": "string", |
| 82 |
"default": "#f5f3ff" |
| 83 |
}, |
| 84 |
"cardBg": { |
| 85 |
"type": "string", |
| 86 |
"default": "#ffffff" |
| 87 |
}, |
| 88 |
"inputBg": { |
| 89 |
"type": "string", |
| 90 |
"default": "#f9fafb" |
| 91 |
}, |
| 92 |
"hashBg": { |
| 93 |
"type": "string", |
| 94 |
"default": "#1e1b4b" |
| 95 |
}, |
| 96 |
"hashColor": { |
| 97 |
"type": "string", |
| 98 |
"default": "#a5b4fc" |
| 99 |
}, |
| 100 |
"titleColor": { |
| 101 |
"type": "string", |
| 102 |
"default": "#111827" |
| 103 |
}, |
| 104 |
"subtitleColor": { |
| 105 |
"type": "string", |
| 106 |
"default": "#6b7280" |
| 107 |
}, |
| 108 |
"labelColor": { |
| 109 |
"type": "string", |
| 110 |
"default": "#374151" |
| 111 |
}, |
| 112 |
"titleFontSize": { |
| 113 |
"type": "integer", |
| 114 |
"default": 26 |
| 115 |
}, |
| 116 |
"titleFontWeight": { |
| 117 |
"type": "string", |
| 118 |
"default": "700" |
| 119 |
}, |
| 120 |
"titleLineHeight": { |
| 121 |
"type": "number", |
| 122 |
"default": 1.2 |
| 123 |
}, |
| 124 |
"subtitleFontSize": { |
| 125 |
"type": "integer", |
| 126 |
"default": 14 |
| 127 |
}, |
| 128 |
"subtitleFontWeight": { |
| 129 |
"type": "string", |
| 130 |
"default": "400" |
| 131 |
}, |
| 132 |
"subtitleLineHeight": { |
| 133 |
"type": "number", |
| 134 |
"default": 1.5 |
| 135 |
}, |
| 136 |
"contentMaxWidth": { |
| 137 |
"type": "integer", |
| 138 |
"default": 700 |
| 139 |
}, |
| 140 |
"typoTitle": { |
| 141 |
"type": "object", |
| 142 |
"default": {} |
| 143 |
}, |
| 144 |
"typoSubtitle": { |
| 145 |
"type": "object", |
| 146 |
"default": {} |
| 147 |
} |
| 148 |
} |
| 149 |
} |
| 150 |
|