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 / weather-widget / block.json

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

166 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/weather-widget",
5 "title": "Weather Widget",
6 "category": "bkbg-interactive",
7 "icon": "cloud",
8 "description": "Live weather display with current conditions, temperature, humidity, wind speed and a 5-day forecast. Powered by OpenWeatherMap free API.",
9 "keywords": [
10 "weather",
11 "forecast",
12 "temperature",
13 "climate",
14 "widget",
15 "openweathermap",
16 "live"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-weather-widget-editor",
20 "style": "bkbg-weather-widget-style",
21 "viewScript": "bkbg-weather-widget-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "apiKey": {
33 "type": "string",
34 "default": ""
35 },
36 "city": {
37 "type": "string",
38 "default": "London"
39 },
40 "units": {
41 "type": "string",
42 "default": "metric"
43 },
44 "lang": {
45 "type": "string",
46 "default": "en"
47 },
48 "showForecast": {
49 "type": "boolean",
50 "default": true
51 },
52 "forecastDays": {
53 "type": "number",
54 "default": 5
55 },
56 "showHumidity": {
57 "type": "boolean",
58 "default": true
59 },
60 "showWind": {
61 "type": "boolean",
62 "default": true
63 },
64 "showFeelsLike": {
65 "type": "boolean",
66 "default": true
67 },
68 "showPressure": {
69 "type": "boolean",
70 "default": false
71 },
72 "showVisibility": {
73 "type": "boolean",
74 "default": false
75 },
76 "showUVIndex": {
77 "type": "boolean",
78 "default": false
79 },
80 "autoLocation": {
81 "type": "boolean",
82 "default": false
83 },
84 "refreshInterval": {
85 "type": "number",
86 "default": 10
87 },
88 "backgroundStyle": {
89 "type": "string",
90 "default": "gradient"
91 },
92 "customBg": {
93 "type": "string",
94 "default": "#1e3a5f"
95 },
96 "cardBg": {
97 "type": "string",
98 "default": "rgba(255,255,255,0.12)"
99 },
100 "textColor": {
101 "type": "string",
102 "default": "#ffffff"
103 },
104 "accentColor": {
105 "type": "string",
106 "default": "#60a5fa"
107 },
108 "forecastBg": {
109 "type": "string",
110 "default": "rgba(255,255,255,0.08)"
111 },
112 "borderRadius": {
113 "type": "number",
114 "default": 24
115 },
116 "cardRadius": {
117 "type": "number",
118 "default": 16
119 },
120 "padding": {
121 "type": "number",
122 "default": 32
123 },
124 "maxWidth": {
125 "type": "number",
126 "default": 480
127 },
128 "showBackground": {
129 "type": "boolean",
130 "default": true
131 },
132 "showAnimatedIcon": {
133 "type": "boolean",
134 "default": true
135 },
136 "layout": {
137 "type": "string",
138 "default": "card"
139 },
140 "tempFontSize": {
141 "type": "number",
142 "default": 48
143 },
144 "locationFontSize": {
145 "type": "number",
146 "default": 14
147 },
148 "metaFontSize": {
149 "type": "number",
150 "default": 11
151 },
152 "tempTypo": {
153 "type": "object",
154 "default": {}
155 },
156 "cityTypo": {
157 "type": "object",
158 "default": {}
159 },
160 "metaTypo": {
161 "type": "object",
162 "default": {}
163 }
164 }
165 }
166