| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "b-blocks/star-rating", |
| 4 |
"title": "Star Rating", |
| 5 |
"description": "Gutenberg editing with easy-to-use, responsive star-rating more.", |
| 6 |
"category": "bBlocks", |
| 7 |
"keywords": [ |
| 8 |
"star-rating", |
| 9 |
"Rating", |
| 10 |
"Gutenberg" |
| 11 |
], |
| 12 |
"textdomain": "star-rating", |
| 13 |
"attributes": { |
| 14 |
"align": { |
| 15 |
"type": "string", |
| 16 |
"default": "" |
| 17 |
}, |
| 18 |
"ratingScale": { |
| 19 |
"type": "number", |
| 20 |
"default": 5 |
| 21 |
}, |
| 22 |
"rating": { |
| 23 |
"type": "number", |
| 24 |
"default": 4.3 |
| 25 |
}, |
| 26 |
"iconStyle": { |
| 27 |
"type": "string", |
| 28 |
"default": "solid" |
| 29 |
}, |
| 30 |
"iconColor": { |
| 31 |
"type": "string", |
| 32 |
"default": "#f0ad4e" |
| 33 |
}, |
| 34 |
"prefix": { |
| 35 |
"type": "string", |
| 36 |
"default": "" |
| 37 |
}, |
| 38 |
"gap": { |
| 39 |
"type": "string", |
| 40 |
"default": "0px" |
| 41 |
}, |
| 42 |
"alignment": { |
| 43 |
"type": "string", |
| 44 |
"default": "center" |
| 45 |
}, |
| 46 |
"margin": { |
| 47 |
"type": "object", |
| 48 |
"default": { |
| 49 |
"top": "", |
| 50 |
"right": "", |
| 51 |
"bottom": "", |
| 52 |
"left": "" |
| 53 |
} |
| 54 |
}, |
| 55 |
"textTypo": { |
| 56 |
"type": "object", |
| 57 |
"default": { |
| 58 |
"fontSize": { |
| 59 |
"desktop": "16px" |
| 60 |
} |
| 61 |
} |
| 62 |
}, |
| 63 |
"textColor": { |
| 64 |
"type": "string", |
| 65 |
"default": "#7a7a7a" |
| 66 |
}, |
| 67 |
"textShadow": { |
| 68 |
"type": "array", |
| 69 |
"default": [] |
| 70 |
}, |
| 71 |
"iconSize": { |
| 72 |
"type": "string", |
| 73 |
"default": "20px" |
| 74 |
}, |
| 75 |
"unmarkedColor": { |
| 76 |
"type": "string", |
| 77 |
"default": "#ccd6df" |
| 78 |
} |
| 79 |
}, |
| 80 |
"supports": { |
| 81 |
"align": [ |
| 82 |
"wide", |
| 83 |
"full" |
| 84 |
], |
| 85 |
"html": false |
| 86 |
}, |
| 87 |
"example": { |
| 88 |
"attributes": { |
| 89 |
"preview": true |
| 90 |
} |
| 91 |
}, |
| 92 |
"editorScript": "file:../index.js", |
| 93 |
"style": "file:./view.css", |
| 94 |
"render": "file:./render.php", |
| 95 |
"viewScript": "file:./view.js" |
| 96 |
} |