| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/image-overlap-text", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Image Overlap Text", |
| 7 |
"category": "bkbg-media", |
| 8 |
"icon": "format-image", |
| 9 |
"description": "Creative editorial layout where a large image bleeds into an adjacent text column with decorative accents.", |
| 10 |
"keywords": [ |
| 11 |
"image", |
| 12 |
"overlap", |
| 13 |
"editorial", |
| 14 |
"hero", |
| 15 |
"text", |
| 16 |
"split" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-image-overlap-text-editor", |
| 20 |
"style": "bkbg-image-overlap-text-style", |
| 21 |
"viewScript": "bkbg-image-overlap-text-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"imageUrl": { |
| 31 |
"type": "string", |
| 32 |
"default": "" |
| 33 |
}, |
| 34 |
"imageId": { |
| 35 |
"type": "integer", |
| 36 |
"default": 0 |
| 37 |
}, |
| 38 |
"imageAlt": { |
| 39 |
"type": "string", |
| 40 |
"default": "" |
| 41 |
}, |
| 42 |
"overlapSide": { |
| 43 |
"type": "string", |
| 44 |
"default": "left" |
| 45 |
}, |
| 46 |
"eyebrow": { |
| 47 |
"type": "string", |
| 48 |
"default": "Featured" |
| 49 |
}, |
| 50 |
"showEyebrow": { |
| 51 |
"type": "boolean", |
| 52 |
"default": true |
| 53 |
}, |
| 54 |
"heading": { |
| 55 |
"type": "string", |
| 56 |
"default": "A headline that commands attention" |
| 57 |
}, |
| 58 |
"subtext": { |
| 59 |
"type": "string", |
| 60 |
"default": "Supporting text that gives context and encourages the reader to keep going." |
| 61 |
}, |
| 62 |
"bodyText": { |
| 63 |
"type": "string", |
| 64 |
"default": "" |
| 65 |
}, |
| 66 |
"ctaEnabled": { |
| 67 |
"type": "boolean", |
| 68 |
"default": true |
| 69 |
}, |
| 70 |
"ctaLabel": { |
| 71 |
"type": "string", |
| 72 |
"default": "Learn more →" |
| 73 |
}, |
| 74 |
"ctaUrl": { |
| 75 |
"type": "string", |
| 76 |
"default": "#" |
| 77 |
}, |
| 78 |
"ctaIsExternal": { |
| 79 |
"type": "boolean", |
| 80 |
"default": false |
| 81 |
}, |
| 82 |
"decorative": { |
| 83 |
"type": "string", |
| 84 |
"default": "dots" |
| 85 |
}, |
| 86 |
"imageRadius": { |
| 87 |
"type": "integer", |
| 88 |
"default": 0 |
| 89 |
}, |
| 90 |
"overlapAmount": { |
| 91 |
"type": "integer", |
| 92 |
"default": 48 |
| 93 |
}, |
| 94 |
"bgColor": { |
| 95 |
"type": "string", |
| 96 |
"default": "#ffffff" |
| 97 |
}, |
| 98 |
"panelBg": { |
| 99 |
"type": "string", |
| 100 |
"default": "#f9fafb" |
| 101 |
}, |
| 102 |
"eyebrowColor": { |
| 103 |
"type": "string", |
| 104 |
"default": "#7c3aed" |
| 105 |
}, |
| 106 |
"headingColor": { |
| 107 |
"type": "string", |
| 108 |
"default": "#111827" |
| 109 |
}, |
| 110 |
"subtextColor": { |
| 111 |
"type": "string", |
| 112 |
"default": "#6b7280" |
| 113 |
}, |
| 114 |
"bodyColor": { |
| 115 |
"type": "string", |
| 116 |
"default": "#374151" |
| 117 |
}, |
| 118 |
"ctaBg": { |
| 119 |
"type": "string", |
| 120 |
"default": "#7c3aed" |
| 121 |
}, |
| 122 |
"ctaColor": { |
| 123 |
"type": "string", |
| 124 |
"default": "#ffffff" |
| 125 |
}, |
| 126 |
"accentColor": { |
| 127 |
"type": "string", |
| 128 |
"default": "#7c3aed" |
| 129 |
}, |
| 130 |
"dotColor": { |
| 131 |
"type": "string", |
| 132 |
"default": "#e5e7eb" |
| 133 |
}, |
| 134 |
"headingSize": { |
| 135 |
"type": "integer", |
| 136 |
"default": 36 |
| 137 |
}, |
| 138 |
"subtextSize": { |
| 139 |
"type": "integer", |
| 140 |
"default": 18 |
| 141 |
}, |
| 142 |
"bodySize": { |
| 143 |
"type": "integer", |
| 144 |
"default": 16 |
| 145 |
}, |
| 146 |
"eyebrowTypo": { |
| 147 |
"type": "object", |
| 148 |
"default": {} |
| 149 |
}, |
| 150 |
"headingTypo": { |
| 151 |
"type": "object", |
| 152 |
"default": {} |
| 153 |
}, |
| 154 |
"subtextTypo": { |
| 155 |
"type": "object", |
| 156 |
"default": {} |
| 157 |
}, |
| 158 |
"bodyTypo": { |
| 159 |
"type": "object", |
| 160 |
"default": {} |
| 161 |
}, |
| 162 |
"maxWidth": { |
| 163 |
"type": "integer", |
| 164 |
"default": 1100 |
| 165 |
}, |
| 166 |
"paddingTop": { |
| 167 |
"type": "integer", |
| 168 |
"default": 64 |
| 169 |
}, |
| 170 |
"paddingBottom": { |
| 171 |
"type": "integer", |
| 172 |
"default": 64 |
| 173 |
} |
| 174 |
} |
| 175 |
} |
| 176 |
|