| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/interactive-steps", |
| 5 |
"title": "Interactive Steps", |
| 6 |
"category": "bkbg-interactive", |
| 7 |
"description": "Step-by-step wizard or process block with clickable numbered steps that reveal different content panels.", |
| 8 |
"keywords": [ |
| 9 |
"steps", |
| 10 |
"wizard", |
| 11 |
"process", |
| 12 |
"interactive", |
| 13 |
"progress", |
| 14 |
"tabs" |
| 15 |
], |
| 16 |
"textdomain": "blockenberg", |
| 17 |
"editorScript": "bkbg-interactive-steps-editor", |
| 18 |
"style": "bkbg-interactive-steps-style", |
| 19 |
"viewScript": "bkbg-interactive-steps-frontend", |
| 20 |
"supports": { |
| 21 |
"html": false, |
| 22 |
"anchor": true, |
| 23 |
"className": true, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"steps": { |
| 31 |
"type": "array", |
| 32 |
"default": [ |
| 33 |
{ |
| 34 |
"title": "Discovery", |
| 35 |
"icon": "🔍", |
| 36 |
"iconType": "custom-char", |
| 37 |
"iconDashicon": "", |
| 38 |
"iconImageUrl": "", |
| 39 |
"heading": "Understand the Problem", |
| 40 |
"body": "We start by diving deep into your business goals and challenges to define a clear scope." |
| 41 |
}, |
| 42 |
{ |
| 43 |
"title": "Design", |
| 44 |
"icon": "🎨", |
| 45 |
"iconType": "custom-char", |
| 46 |
"iconDashicon": "", |
| 47 |
"iconImageUrl": "", |
| 48 |
"heading": "Craft the Solution", |
| 49 |
"body": "Our designers create wireframes and prototypes, iterating until the experience feels just right." |
| 50 |
}, |
| 51 |
{ |
| 52 |
"title": "Develop", |
| 53 |
"icon": "💻", |
| 54 |
"iconType": "custom-char", |
| 55 |
"iconDashicon": "", |
| 56 |
"iconImageUrl": "", |
| 57 |
"heading": "Build with Precision", |
| 58 |
"body": "Engineers turn the designs into production-ready code with clean architecture and tests." |
| 59 |
}, |
| 60 |
{ |
| 61 |
"title": "Launch", |
| 62 |
"icon": "🚀", |
| 63 |
"iconType": "custom-char", |
| 64 |
"iconDashicon": "", |
| 65 |
"iconImageUrl": "", |
| 66 |
"heading": "Go Live with Confidence", |
| 67 |
"body": "We deploy your product and monitor performance, ensuring a smooth launch day." |
| 68 |
} |
| 69 |
] |
| 70 |
}, |
| 71 |
"layout": { |
| 72 |
"type": "string", |
| 73 |
"default": "horizontal" |
| 74 |
}, |
| 75 |
"stepLayout": { |
| 76 |
"type": "string", |
| 77 |
"default": "number-icon" |
| 78 |
}, |
| 79 |
"showConnector": { |
| 80 |
"type": "boolean", |
| 81 |
"default": true |
| 82 |
}, |
| 83 |
"animateContent": { |
| 84 |
"type": "boolean", |
| 85 |
"default": true |
| 86 |
}, |
| 87 |
"initialStep": { |
| 88 |
"type": "number", |
| 89 |
"default": 0 |
| 90 |
}, |
| 91 |
"stepSize": { |
| 92 |
"type": "number", |
| 93 |
"default": 52 |
| 94 |
}, |
| 95 |
"stepFontSize": { |
| 96 |
"type": "number", |
| 97 |
"default": 14 |
| 98 |
}, |
| 99 |
"headingSize": { |
| 100 |
"type": "number", |
| 101 |
"default": 22 |
| 102 |
}, |
| 103 |
"headingTypo": { |
| 104 |
"type": "object", |
| 105 |
"default": {} |
| 106 |
}, |
| 107 |
"bodySize": { |
| 108 |
"type": "number", |
| 109 |
"default": 16 |
| 110 |
}, |
| 111 |
"bodyTypo": { |
| 112 |
"type": "object", |
| 113 |
"default": {} |
| 114 |
}, |
| 115 |
"connectorHeight": { |
| 116 |
"type": "number", |
| 117 |
"default": 3 |
| 118 |
}, |
| 119 |
"contentRadius": { |
| 120 |
"type": "number", |
| 121 |
"default": 16 |
| 122 |
}, |
| 123 |
"contentPadding": { |
| 124 |
"type": "number", |
| 125 |
"default": 32 |
| 126 |
}, |
| 127 |
"activeBg": { |
| 128 |
"type": "string", |
| 129 |
"default": "#6366f1" |
| 130 |
}, |
| 131 |
"activeColor": { |
| 132 |
"type": "string", |
| 133 |
"default": "#ffffff" |
| 134 |
}, |
| 135 |
"inactiveBg": { |
| 136 |
"type": "string", |
| 137 |
"default": "#e5e7eb" |
| 138 |
}, |
| 139 |
"inactiveColor": { |
| 140 |
"type": "string", |
| 141 |
"default": "#64748b" |
| 142 |
}, |
| 143 |
"doneBg": { |
| 144 |
"type": "string", |
| 145 |
"default": "#10b981" |
| 146 |
}, |
| 147 |
"doneColor": { |
| 148 |
"type": "string", |
| 149 |
"default": "#ffffff" |
| 150 |
}, |
| 151 |
"connectorColor": { |
| 152 |
"type": "string", |
| 153 |
"default": "#e5e7eb" |
| 154 |
}, |
| 155 |
"connectorDone": { |
| 156 |
"type": "string", |
| 157 |
"default": "#10b981" |
| 158 |
}, |
| 159 |
"contentBg": { |
| 160 |
"type": "string", |
| 161 |
"default": "#f8fafc" |
| 162 |
}, |
| 163 |
"contentBorder": { |
| 164 |
"type": "string", |
| 165 |
"default": "#e5e7eb" |
| 166 |
}, |
| 167 |
"headingColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "#0f172a" |
| 170 |
}, |
| 171 |
"bodyColor": { |
| 172 |
"type": "string", |
| 173 |
"default": "#475569" |
| 174 |
}, |
| 175 |
"labelColor": { |
| 176 |
"type": "string", |
| 177 |
"default": "#0f172a" |
| 178 |
}, |
| 179 |
"sectionBg": { |
| 180 |
"type": "string", |
| 181 |
"default": "transparent" |
| 182 |
} |
| 183 |
} |
| 184 |
} |
| 185 |
|