| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/rich-columns", |
| 5 |
"title": "Rich Columns", |
| 6 |
"category": "bkbg-layout", |
| 7 |
"icon": "columns", |
| 8 |
"description": "Multi-column layout with icons, headings, rich text, and optional links — ideal for features, benefits, or service descriptions.", |
| 9 |
"keywords": [ |
| 10 |
"columns", |
| 11 |
"features", |
| 12 |
"benefits", |
| 13 |
"grid", |
| 14 |
"icon", |
| 15 |
"services" |
| 16 |
], |
| 17 |
"editorScript": "bkbg-rich-columns-editor", |
| 18 |
"style": "bkbg-rich-columns-style", |
| 19 |
"viewScript": "bkbg-rich-columns-frontend", |
| 20 |
"supports": { |
| 21 |
"html": false, |
| 22 |
"align": [ |
| 23 |
"wide", |
| 24 |
"full" |
| 25 |
] |
| 26 |
}, |
| 27 |
"attributes": { |
| 28 |
"columns": { |
| 29 |
"type": "array", |
| 30 |
"default": [ |
| 31 |
{ |
| 32 |
"icon": "⚡", |
| 33 |
"iconType": "emoji", |
| 34 |
"iconPickerType": "custom-char", |
| 35 |
"iconDashicon": "", |
| 36 |
"iconImageUrl": "", |
| 37 |
"heading": "Lightning Fast", |
| 38 |
"content": "<p>Set up in minutes with a streamlined onboarding that gets you to value without friction or technical overhead.</p>", |
| 39 |
"linkLabel": "Learn more", |
| 40 |
"linkUrl": "", |
| 41 |
"linkNewTab": false, |
| 42 |
"bgColor": "", |
| 43 |
"accentColor": "" |
| 44 |
}, |
| 45 |
{ |
| 46 |
"icon": "🔒", |
| 47 |
"iconType": "emoji", |
| 48 |
"iconPickerType": "custom-char", |
| 49 |
"iconDashicon": "", |
| 50 |
"iconImageUrl": "", |
| 51 |
"heading": "Secure by Default", |
| 52 |
"content": "<p>Enterprise-grade security and end-to-end encryption keep your data safe without additional configuration.</p>", |
| 53 |
"linkLabel": "Learn more", |
| 54 |
"linkUrl": "", |
| 55 |
"linkNewTab": false, |
| 56 |
"bgColor": "", |
| 57 |
"accentColor": "" |
| 58 |
}, |
| 59 |
{ |
| 60 |
"icon": "📈", |
| 61 |
"iconType": "emoji", |
| 62 |
"iconPickerType": "custom-char", |
| 63 |
"iconDashicon": "", |
| 64 |
"iconImageUrl": "", |
| 65 |
"heading": "Scales With You", |
| 66 |
"content": "<p>From solo creator to large team, the platform grows with your needs — no migration headaches, ever.</p>", |
| 67 |
"linkLabel": "Learn more", |
| 68 |
"linkUrl": "", |
| 69 |
"linkNewTab": false, |
| 70 |
"bgColor": "", |
| 71 |
"accentColor": "" |
| 72 |
} |
| 73 |
] |
| 74 |
}, |
| 75 |
"columnCount": { |
| 76 |
"type": "number", |
| 77 |
"default": 3 |
| 78 |
}, |
| 79 |
"layout": { |
| 80 |
"type": "string", |
| 81 |
"default": "cards" |
| 82 |
}, |
| 83 |
"gap": { |
| 84 |
"type": "number", |
| 85 |
"default": 24 |
| 86 |
}, |
| 87 |
"containerPadding": { |
| 88 |
"type": "number", |
| 89 |
"default": 0 |
| 90 |
}, |
| 91 |
"maxWidth": { |
| 92 |
"type": "number", |
| 93 |
"default": 1100 |
| 94 |
}, |
| 95 |
"cardRadius": { |
| 96 |
"type": "number", |
| 97 |
"default": 14 |
| 98 |
}, |
| 99 |
"cardPadding": { |
| 100 |
"type": "number", |
| 101 |
"default": 28 |
| 102 |
}, |
| 103 |
"iconSize": { |
| 104 |
"type": "number", |
| 105 |
"default": 28 |
| 106 |
}, |
| 107 |
"iconBgSize": { |
| 108 |
"type": "number", |
| 109 |
"default": 56 |
| 110 |
}, |
| 111 |
"iconBgRadius": { |
| 112 |
"type": "number", |
| 113 |
"default": 14 |
| 114 |
}, |
| 115 |
"showIcon": { |
| 116 |
"type": "boolean", |
| 117 |
"default": true |
| 118 |
}, |
| 119 |
"showLink": { |
| 120 |
"type": "boolean", |
| 121 |
"default": true |
| 122 |
}, |
| 123 |
"showDivider": { |
| 124 |
"type": "boolean", |
| 125 |
"default": false |
| 126 |
}, |
| 127 |
"headingTag": { |
| 128 |
"type": "string", |
| 129 |
"default": "h3" |
| 130 |
}, |
| 131 |
"headingSize": { |
| 132 |
"type": "number", |
| 133 |
"default": 19 |
| 134 |
}, |
| 135 |
"bodySize": { |
| 136 |
"type": "number", |
| 137 |
"default": 15 |
| 138 |
}, |
| 139 |
"containerBg": { |
| 140 |
"type": "string", |
| 141 |
"default": "" |
| 142 |
}, |
| 143 |
"cardBg": { |
| 144 |
"type": "string", |
| 145 |
"default": "#ffffff" |
| 146 |
}, |
| 147 |
"cardBorder": { |
| 148 |
"type": "string", |
| 149 |
"default": "#e5e7eb" |
| 150 |
}, |
| 151 |
"headingColor": { |
| 152 |
"type": "string", |
| 153 |
"default": "#111827" |
| 154 |
}, |
| 155 |
"textColor": { |
| 156 |
"type": "string", |
| 157 |
"default": "#374151" |
| 158 |
}, |
| 159 |
"linkColor": { |
| 160 |
"type": "string", |
| 161 |
"default": "#6366f1" |
| 162 |
}, |
| 163 |
"iconBg": { |
| 164 |
"type": "string", |
| 165 |
"default": "#ede9fe" |
| 166 |
}, |
| 167 |
"iconColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "#6366f1" |
| 170 |
}, |
| 171 |
"dividerColor": { |
| 172 |
"type": "string", |
| 173 |
"default": "#e5e7eb" |
| 174 |
}, |
| 175 |
"headingTypo": { |
| 176 |
"type": "object", |
| 177 |
"default": {} |
| 178 |
}, |
| 179 |
"bodyTypo": { |
| 180 |
"type": "object", |
| 181 |
"default": {} |
| 182 |
} |
| 183 |
} |
| 184 |
} |
| 185 |
|