| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/horizontal-timeline", |
| 5 |
"title": "Horizontal Timeline", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "minus", |
| 8 |
"description": "Horizontal scrolling timeline with draggable track, alternating items above/below the line, animated entry, and rich styling options.", |
| 9 |
"keywords": [ |
| 10 |
"timeline", |
| 11 |
"horizontal", |
| 12 |
"history", |
| 13 |
"events", |
| 14 |
"milestones", |
| 15 |
"scroll", |
| 16 |
"draggable" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-horizontal-timeline-editor", |
| 20 |
"style": "bkbg-horizontal-timeline-style", |
| 21 |
"viewScript": "bkbg-horizontal-timeline-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"anchor": true, |
| 25 |
"className": true, |
| 26 |
"align": [ |
| 27 |
"wide", |
| 28 |
"full" |
| 29 |
] |
| 30 |
}, |
| 31 |
"attributes": { |
| 32 |
"items": { |
| 33 |
"type": "array", |
| 34 |
"default": [ |
| 35 |
{ |
| 36 |
"date": "2010", |
| 37 |
"title": "Company Founded", |
| 38 |
"description": "Started in a small garage with three employees and a big vision.", |
| 39 |
"icon": "🚀", |
| 40 |
"iconType": "custom-char", |
| 41 |
"iconDashicon": "", |
| 42 |
"iconImageUrl": "", |
| 43 |
"imageUrl": "" |
| 44 |
}, |
| 45 |
{ |
| 46 |
"date": "2013", |
| 47 |
"title": "First Funding Round", |
| 48 |
"description": "$2M seed funding secured, allowing rapid team expansion.", |
| 49 |
"icon": "💰", |
| 50 |
"iconType": "custom-char", |
| 51 |
"iconDashicon": "", |
| 52 |
"iconImageUrl": "", |
| 53 |
"imageUrl": "" |
| 54 |
}, |
| 55 |
{ |
| 56 |
"date": "2015", |
| 57 |
"title": "Product Launch", |
| 58 |
"description": "Our flagship product launches to overwhelming customer demand.", |
| 59 |
"icon": "🎯", |
| 60 |
"iconType": "custom-char", |
| 61 |
"iconDashicon": "", |
| 62 |
"iconImageUrl": "", |
| 63 |
"imageUrl": "" |
| 64 |
}, |
| 65 |
{ |
| 66 |
"date": "2018", |
| 67 |
"title": "Global Expansion", |
| 68 |
"description": "Opened offices in 5 new countries across three continents.", |
| 69 |
"icon": "🌍", |
| 70 |
"iconType": "custom-char", |
| 71 |
"iconDashicon": "", |
| 72 |
"iconImageUrl": "", |
| 73 |
"imageUrl": "" |
| 74 |
}, |
| 75 |
{ |
| 76 |
"date": "2021", |
| 77 |
"title": "Series C Funding", |
| 78 |
"description": "Raised $50M to accelerate product development and growth.", |
| 79 |
"icon": "📈", |
| 80 |
"iconType": "custom-char", |
| 81 |
"iconDashicon": "", |
| 82 |
"iconImageUrl": "", |
| 83 |
"imageUrl": "" |
| 84 |
}, |
| 85 |
{ |
| 86 |
"date": "2024", |
| 87 |
"title": "Industry Leader", |
| 88 |
"description": "Recognized as the #1 platform in our category globally.", |
| 89 |
"icon": "🏆", |
| 90 |
"iconType": "custom-char", |
| 91 |
"iconDashicon": "", |
| 92 |
"iconImageUrl": "", |
| 93 |
"imageUrl": "" |
| 94 |
} |
| 95 |
] |
| 96 |
}, |
| 97 |
"layout": { |
| 98 |
"type": "string", |
| 99 |
"default": "alternating" |
| 100 |
}, |
| 101 |
"linePosition": { |
| 102 |
"type": "string", |
| 103 |
"default": "center" |
| 104 |
}, |
| 105 |
"itemWidth": { |
| 106 |
"type": "number", |
| 107 |
"default": 220 |
| 108 |
}, |
| 109 |
"itemGap": { |
| 110 |
"type": "number", |
| 111 |
"default": 40 |
| 112 |
}, |
| 113 |
"showIcons": { |
| 114 |
"type": "boolean", |
| 115 |
"default": true |
| 116 |
}, |
| 117 |
"showDates": { |
| 118 |
"type": "boolean", |
| 119 |
"default": true |
| 120 |
}, |
| 121 |
"showConnectorDot": { |
| 122 |
"type": "boolean", |
| 123 |
"default": true |
| 124 |
}, |
| 125 |
"dotSize": { |
| 126 |
"type": "number", |
| 127 |
"default": 16 |
| 128 |
}, |
| 129 |
"animateOnScroll": { |
| 130 |
"type": "boolean", |
| 131 |
"default": true |
| 132 |
}, |
| 133 |
"draggable": { |
| 134 |
"type": "boolean", |
| 135 |
"default": true |
| 136 |
}, |
| 137 |
"showArrows": { |
| 138 |
"type": "boolean", |
| 139 |
"default": true |
| 140 |
}, |
| 141 |
"centerActive": { |
| 142 |
"type": "boolean", |
| 143 |
"default": false |
| 144 |
}, |
| 145 |
"lineThickness": { |
| 146 |
"type": "number", |
| 147 |
"default": 3 |
| 148 |
}, |
| 149 |
"containerHeight": { |
| 150 |
"type": "number", |
| 151 |
"default": 420 |
| 152 |
}, |
| 153 |
"cardRadius": { |
| 154 |
"type": "number", |
| 155 |
"default": 16 |
| 156 |
}, |
| 157 |
"cardPadding": { |
| 158 |
"type": "number", |
| 159 |
"default": 20 |
| 160 |
}, |
| 161 |
"sectionBg": { |
| 162 |
"type": "string", |
| 163 |
"default": "#f8fafc" |
| 164 |
}, |
| 165 |
"lineColor": { |
| 166 |
"type": "string", |
| 167 |
"default": "#6366f1" |
| 168 |
}, |
| 169 |
"dotColor": { |
| 170 |
"type": "string", |
| 171 |
"default": "#6366f1" |
| 172 |
}, |
| 173 |
"dotBorderColor": { |
| 174 |
"type": "string", |
| 175 |
"default": "#ffffff" |
| 176 |
}, |
| 177 |
"cardBg": { |
| 178 |
"type": "string", |
| 179 |
"default": "#ffffff" |
| 180 |
}, |
| 181 |
"cardShadow": { |
| 182 |
"type": "boolean", |
| 183 |
"default": true |
| 184 |
}, |
| 185 |
"cardBorderColor": { |
| 186 |
"type": "string", |
| 187 |
"default": "#e2e8f0" |
| 188 |
}, |
| 189 |
"dateColor": { |
| 190 |
"type": "string", |
| 191 |
"default": "#6366f1" |
| 192 |
}, |
| 193 |
"titleColor": { |
| 194 |
"type": "string", |
| 195 |
"default": "#1e293b" |
| 196 |
}, |
| 197 |
"descColor": { |
| 198 |
"type": "string", |
| 199 |
"default": "#64748b" |
| 200 |
}, |
| 201 |
"arrowBg": { |
| 202 |
"type": "string", |
| 203 |
"default": "#6366f1" |
| 204 |
}, |
| 205 |
"arrowColor": { |
| 206 |
"type": "string", |
| 207 |
"default": "#ffffff" |
| 208 |
}, |
| 209 |
"iconSize": { |
| 210 |
"type": "number", |
| 211 |
"default": 28 |
| 212 |
}, |
| 213 |
"titleFontSize": { |
| 214 |
"type": "number", |
| 215 |
"default": 13 |
| 216 |
}, |
| 217 |
"titleFontWeight": { |
| 218 |
"type": "string", |
| 219 |
"default": "600" |
| 220 |
}, |
| 221 |
"titleLineHeight": { |
| 222 |
"type": "number", |
| 223 |
"default": 1.3 |
| 224 |
}, |
| 225 |
"descFontSize": { |
| 226 |
"type": "number", |
| 227 |
"default": 11 |
| 228 |
}, |
| 229 |
"descLineHeight": { |
| 230 |
"type": "number", |
| 231 |
"default": 1.5 |
| 232 |
}, |
| 233 |
"dateFontSize": { |
| 234 |
"type": "number", |
| 235 |
"default": 11 |
| 236 |
}, |
| 237 |
"titleTypo": { |
| 238 |
"type": "object", |
| 239 |
"default": {} |
| 240 |
}, |
| 241 |
"descTypo": { |
| 242 |
"type": "object", |
| 243 |
"default": {} |
| 244 |
}, |
| 245 |
"dateTypo": { |
| 246 |
"type": "object", |
| 247 |
"default": {} |
| 248 |
} |
| 249 |
} |
| 250 |
} |
| 251 |
|