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 / spin-wheel / block.json

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

163 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "blockenberg/spin-wheel",
4 "title": "Spin Wheel",
5 "description": "An animated fortune-wheel random picker. Enter items, spin the wheel, and let it decide!",
6 "category": "bkbg-interactive",
7 "icon": "randomize",
8 "keywords": [
9 "spin",
10 "wheel",
11 "fortune",
12 "random",
13 "picker",
14 "lottery",
15 "raffle"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-spin-wheel-editor",
19 "style": "bkbg-spin-wheel-style",
20 "viewScript": "bkbg-spin-wheel-frontend",
21 "attributes": {
22 "title": {
23 "type": "string",
24 "default": "Spin the Wheel!"
25 },
26 "subtitle": {
27 "type": "string",
28 "default": "Enter your items and spin to pick a random winner."
29 },
30 "showTitle": {
31 "type": "boolean",
32 "default": true
33 },
34 "showSubtitle": {
35 "type": "boolean",
36 "default": true
37 },
38 "defaultItems": {
39 "type": "string",
40 "default": "Alice\nBob\nCarol\nDave\nEve\nFrank\nGrace\nHenry"
41 },
42 "buttonLabel": {
43 "type": "string",
44 "default": "Spin!"
45 },
46 "showWinnerBox": {
47 "type": "boolean",
48 "default": true
49 },
50 "showHistory": {
51 "type": "boolean",
52 "default": true
53 },
54 "spinDuration": {
55 "type": "number",
56 "default": 4
57 },
58 "wheelSize": {
59 "type": "number",
60 "default": 340
61 },
62 "colors": {
63 "type": "string",
64 "default": "#6c3fb5,#10b981,#f59e0b,#3b82f6,#ef4444,#8b5cf6,#06b6d4,#f97316"
65 },
66 "textColor": {
67 "type": "string",
68 "default": "#ffffff"
69 },
70 "pointerColor": {
71 "type": "string",
72 "default": "#1f2937"
73 },
74 "centerColor": {
75 "type": "string",
76 "default": "#ffffff"
77 },
78 "cardBg": {
79 "type": "string",
80 "default": "#ffffff"
81 },
82 "winnerBg": {
83 "type": "string",
84 "default": "#6c3fb5"
85 },
86 "winnerColor": {
87 "type": "string",
88 "default": "#ffffff"
89 },
90 "historyBg": {
91 "type": "string",
92 "default": "#f9fafb"
93 },
94 "historyColor": {
95 "type": "string",
96 "default": "#6b7280"
97 },
98 "btnBg": {
99 "type": "string",
100 "default": "#6c3fb5"
101 },
102 "btnColor": {
103 "type": "string",
104 "default": "#ffffff"
105 },
106 "labelColor": {
107 "type": "string",
108 "default": "#374151"
109 },
110 "titleColor": {
111 "type": "string",
112 "default": "#1f2937"
113 },
114 "subtitleColor": {
115 "type": "string",
116 "default": "#6b7280"
117 },
118 "sectionBg": {
119 "type": "string",
120 "default": ""
121 },
122 "titleTypo": {
123 "type": "object",
124 "default": {}
125 },
126 "subtitleTypo": {
127 "type": "object",
128 "default": {}
129 },
130 "winnerTypo": {
131 "type": "object",
132 "default": {}
133 },
134 "cardRadius": {
135 "type": "number",
136 "default": 20
137 },
138 "btnRadius": {
139 "type": "number",
140 "default": 100
141 },
142 "maxWidth": {
143 "type": "number",
144 "default": 520
145 },
146 "paddingTop": {
147 "type": "number",
148 "default": 60
149 },
150 "paddingBottom": {
151 "type": "number",
152 "default": 60
153 }
154 },
155 "supports": {
156 "html": false,
157 "align": [
158 "wide",
159 "full"
160 ]
161 }
162 }
163