PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / random-picker / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/random-picker/block.json

162 lines 3.8 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/random-picker",
4 "title": "Random Picker",
5 "description": "Enter a list of items and pick a random winner with an animated highlight effect.",
6 "category": "bkbg-interactive",
7 "icon": "randomize",
8 "keywords": [
9 "random",
10 "picker",
11 "lottery",
12 "raffle",
13 "chooser",
14 "wheel"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-random-picker-editor",
18 "style": "bkbg-random-picker-style",
19 "viewScript": "bkbg-random-picker-frontend",
20 "attributes": {
21 "title": {
22 "type": "string",
23 "default": "Random Picker"
24 },
25 "subtitle": {
26 "type": "string",
27 "default": "Enter your items, click Pick, and let luck decide!"
28 },
29 "showTitle": {
30 "type": "boolean",
31 "default": true
32 },
33 "showSubtitle": {
34 "type": "boolean",
35 "default": true
36 },
37 "defaultItems": {
38 "type": "string",
39 "default": "Alice\nBob\nCarol\nDave\nEve\nFrank"
40 },
41 "buttonLabel": {
42 "type": "string",
43 "default": "Pick Random!"
44 },
45 "allowRepick": {
46 "type": "boolean",
47 "default": true
48 },
49 "showHistory": {
50 "type": "boolean",
51 "default": true
52 },
53 "animSteps": {
54 "type": "number",
55 "default": 12
56 },
57 "animSpeedMs": {
58 "type": "number",
59 "default": 60
60 },
61 "inputMode": {
62 "type": "string",
63 "default": "lines"
64 },
65 "accentColor": {
66 "type": "string",
67 "default": "#6c3fb5"
68 },
69 "cardBg": {
70 "type": "string",
71 "default": "#ffffff"
72 },
73 "winnerBg": {
74 "type": "string",
75 "default": "#6c3fb5"
76 },
77 "winnerColor": {
78 "type": "string",
79 "default": "#ffffff"
80 },
81 "itemBg": {
82 "type": "string",
83 "default": "#f5f3ff"
84 },
85 "itemColor": {
86 "type": "string",
87 "default": "#374151"
88 },
89 "highlightBg": {
90 "type": "string",
91 "default": "#ede9fe"
92 },
93 "historyBg": {
94 "type": "string",
95 "default": "#f9fafb"
96 },
97 "historyColor": {
98 "type": "string",
99 "default": "#6b7280"
100 },
101 "buttonColor": {
102 "type": "string",
103 "default": "#ffffff"
104 },
105 "labelColor": {
106 "type": "string",
107 "default": "#374151"
108 },
109 "titleColor": {
110 "type": "string",
111 "default": "#1f2937"
112 },
113 "subtitleColor": {
114 "type": "string",
115 "default": "#6b7280"
116 },
117 "sectionBg": {
118 "type": "string",
119 "default": ""
120 },
121 "titleTypo": {
122 "type": "object",
123 "default": {}
124 },
125 "subtitleTypo": {
126 "type": "object",
127 "default": {}
128 },
129 "winnerTypo": {
130 "type": "object",
131 "default": {}
132 },
133 "cardRadius": {
134 "type": "number",
135 "default": 16
136 },
137 "itemRadius": {
138 "type": "number",
139 "default": 8
140 },
141 "maxWidth": {
142 "type": "number",
143 "default": 520
144 },
145 "paddingTop": {
146 "type": "number",
147 "default": 60
148 },
149 "paddingBottom": {
150 "type": "number",
151 "default": 60
152 }
153 },
154 "supports": {
155 "html": false,
156 "align": [
157 "wide",
158 "full"
159 ]
160 }
161 }
162