| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/testimonials", |
| 5 |
"title": "Testimonials", |
| 6 |
"category": "blockenberg", |
| 7 |
"icon": "testimonial", |
| 8 |
"description": "Customer testimonials with avatars, ratings, and beautiful layouts.", |
| 9 |
"keywords": ["testimonial", "reviews", "quote", "rating", "feedback"], |
| 10 |
"textdomain": "blockenberg", |
| 11 |
"editorScript": "bkbg-testimonials-editor", |
| 12 |
"editorStyle": "bkbg-testimonials-style", |
| 13 |
"style": "bkbg-testimonials-style", |
| 14 |
"viewScript": "bkbg-testimonials-frontend", |
| 15 |
"supports": { |
| 16 |
"html": false, |
| 17 |
"anchor": true, |
| 18 |
"className": true, |
| 19 |
"align": ["wide", "full"] |
| 20 |
}, |
| 21 |
"attributes": { |
| 22 |
"items": { |
| 23 |
"type": "array", |
| 24 |
"default": [ |
| 25 |
{ |
| 26 |
"quote": "This plugin saved us hours every week. The blocks look amazing and are super easy to customize.", |
| 27 |
"name": "Alex Johnson", |
| 28 |
"role": "Founder", |
| 29 |
"company": "Acme Inc.", |
| 30 |
"rating": 5, |
| 31 |
"avatar": { "id": 0, "url": "", "alt": "" } |
| 32 |
}, |
| 33 |
{ |
| 34 |
"quote": "Clean UI, great defaults, and the editor experience is really polished. Highly recommended.", |
| 35 |
"name": "Maria Garcia", |
| 36 |
"role": "Creative Director", |
| 37 |
"company": "Studio Norte", |
| 38 |
"rating": 5, |
| 39 |
"avatar": { "id": 0, "url": "", "alt": "" } |
| 40 |
}, |
| 41 |
{ |
| 42 |
"quote": "Finally a block set that feels native. The design controls are exactly what we needed.", |
| 43 |
"name": "Sam Lee", |
| 44 |
"role": "Lead Developer", |
| 45 |
"company": "Bright Labs", |
| 46 |
"rating": 4, |
| 47 |
"avatar": { "id": 0, "url": "", "alt": "" } |
| 48 |
} |
| 49 |
] |
| 50 |
}, |
| 51 |
|
| 52 |
"layoutStyle": { "type": "string", "default": "grid" }, |
| 53 |
"columns": { "type": "number", "default": 3 }, |
| 54 |
"gap": { "type": "number", "default": 24 }, |
| 55 |
|
| 56 |
"cardBg": { "type": "string", "default": "#ffffff" }, |
| 57 |
"cardBorderColor": { "type": "string", "default": "#e5e7eb" }, |
| 58 |
"cardBorderWidth": { "type": "number", "default": 1 }, |
| 59 |
"cardRadius": { "type": "number", "default": 16 }, |
| 60 |
"cardPadding": { "type": "number", "default": 24 }, |
| 61 |
"cardShadow": { "type": "boolean", "default": true }, |
| 62 |
|
| 63 |
"textAlign": { "type": "string", "default": "left" }, |
| 64 |
|
| 65 |
"showQuoteIcon": { "type": "boolean", "default": true }, |
| 66 |
"quoteIconColor": { "type": "string", "default": "#3b82f6" }, |
| 67 |
"quoteIconSize": { "type": "number", "default": 22 }, |
| 68 |
|
| 69 |
"quoteColor": { "type": "string", "default": "#111827" }, |
| 70 |
"quoteSize": { "type": "number", "default": 16 }, |
| 71 |
"quoteWeight": { "type": "number", "default": 500 }, |
| 72 |
|
| 73 |
"showName": { "type": "boolean", "default": true }, |
| 74 |
"nameColor": { "type": "string", "default": "#111827" }, |
| 75 |
"nameSize": { "type": "number", "default": 16 }, |
| 76 |
"nameWeight": { "type": "number", "default": 700 }, |
| 77 |
|
| 78 |
"showRole": { "type": "boolean", "default": true }, |
| 79 |
"roleColor": { "type": "string", "default": "#6b7280" }, |
| 80 |
"roleSize": { "type": "number", "default": 13 }, |
| 81 |
"roleWeight": { "type": "number", "default": 600 }, |
| 82 |
|
| 83 |
"showCompany": { "type": "boolean", "default": true }, |
| 84 |
"companyColor": { "type": "string", "default": "#6b7280" }, |
| 85 |
|
| 86 |
"showRating": { "type": "boolean", "default": true }, |
| 87 |
"ratingStars": { "type": "number", "default": 5 }, |
| 88 |
"ratingColor": { "type": "string", "default": "#f59e0b" }, |
| 89 |
"ratingSize": { "type": "number", "default": 16 }, |
| 90 |
|
| 91 |
"featuredIndex": { "type": "number", "default": -1 }, |
| 92 |
"featuredBorderColor": { "type": "string", "default": "#3b82f6" }, |
| 93 |
|
| 94 |
"showAvatar": { "type": "boolean", "default": true }, |
| 95 |
"avatarSize": { "type": "number", "default": 44 }, |
| 96 |
"avatarShape": { "type": "string", "default": "circle" }, |
| 97 |
|
| 98 |
"carouselPeek": { "type": "boolean", "default": true }, |
| 99 |
"carouselNav": { "type": "boolean", "default": true }, |
| 100 |
"carouselNavStyle": { "type": "string", "default": "top" }, |
| 101 |
"carouselIndicators": { "type": "string", "default": "none" }, |
| 102 |
"carouselIndicatorsPosition": { "type": "string", "default": "below" }, |
| 103 |
|
| 104 |
"carouselDotsStyle": { "type": "string", "default": "default" }, |
| 105 |
"carouselProgressStyle": { "type": "string", "default": "default" }, |
| 106 |
|
| 107 |
"carouselIndicatorSize": { "type": "number", "default": 8 }, |
| 108 |
"carouselIndicatorColor": { "type": "string", "default": "rgba(0,0,0,0.22)" }, |
| 109 |
"carouselIndicatorActiveColor": { "type": "string", "default": "rgba(0,0,0,0.65)" }, |
| 110 |
|
| 111 |
"carouselProgressHeight": { "type": "number", "default": 6 }, |
| 112 |
"carouselProgressBg": { "type": "string", "default": "rgba(0,0,0,0.12)" }, |
| 113 |
"carouselProgressFg": { "type": "string", "default": "rgba(0,0,0,0.55)" }, |
| 114 |
|
| 115 |
"carouselFractionColor": { "type": "string", "default": "rgba(0,0,0,0.65)" }, |
| 116 |
"carouselFractionSize": { "type": "number", "default": 13 }, |
| 117 |
|
| 118 |
"infiniteScroll": { "type": "boolean", "default": true }, |
| 119 |
"autoScroll": { "type": "boolean", "default": false }, |
| 120 |
"autoScrollSpeed": { "type": "number", "default": 40 }, |
| 121 |
"autoScrollPauseOnHover": { "type": "boolean", "default": true } |
| 122 |
} |
| 123 |
} |
| 124 |
|