PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / star-rating / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/star-rating/block.json

129 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/star-rating",
5 "title": "Star Rating",
6 "category": "bkbg-blog",
7 "icon": "star-filled",
8 "description": "Static visual star rating (1–5 stars) with optional label and numeric score. CSS-only, perfect inside testimonial cards.",
9 "keywords": [
10 "star",
11 "rating",
12 "review",
13 "testimonial",
14 "score"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-star-rating-editor",
18 "editorStyle": "bkbg-star-rating-style",
19 "style": "bkbg-star-rating-style",
20 "viewScript": "bkbg-star-rating-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true
25 },
26 "attributes": {
27 "blockId": {
28 "type": "string",
29 "default": ""
30 },
31 "rating": {
32 "type": "number",
33 "default": 4
34 },
35 "maxStars": {
36 "type": "number",
37 "default": 5
38 },
39 "starShape": {
40 "type": "string",
41 "default": "star"
42 },
43 "starSize": {
44 "type": "number",
45 "default": 28
46 },
47 "starGap": {
48 "type": "number",
49 "default": 3
50 },
51 "textAlign": {
52 "type": "string",
53 "default": "left"
54 },
55 "showLabel": {
56 "type": "boolean",
57 "default": true
58 },
59 "label": {
60 "type": "string",
61 "default": "Excellent product!"
62 },
63 "labelPosition": {
64 "type": "string",
65 "default": "below"
66 },
67 "labelSize": {
68 "type": "number",
69 "default": 14
70 },
71 "labelWeight": {
72 "type": "number",
73 "default": 400
74 },
75 "labelColor": {
76 "type": "string",
77 "default": "#6b7280"
78 },
79 "labelLH": {
80 "type": "number",
81 "default": 1.5
82 },
83 "labelSpacing": {
84 "type": "number",
85 "default": 8
86 },
87 "showNumeric": {
88 "type": "boolean",
89 "default": false
90 },
91 "numericTemplate": {
92 "type": "string",
93 "default": "{rating} out of {max}"
94 },
95 "numericSize": {
96 "type": "number",
97 "default": 13
98 },
99 "numericWeight": {
100 "type": "number",
101 "default": 600
102 },
103 "numericColor": {
104 "type": "string",
105 "default": "#1e293b"
106 },
107 "numericSpacing": {
108 "type": "number",
109 "default": 6
110 },
111 "filledColor": {
112 "type": "string",
113 "default": "#f59e0b"
114 },
115 "emptyColor": {
116 "type": "string",
117 "default": "#e2e8f0"
118 },
119 "labelTypo": {
120 "type": "object",
121 "default": {}
122 },
123 "numericTypo": {
124 "type": "object",
125 "default": {}
126 }
127 }
128 }
129