{"id":376920,"date":"2026-10-26T10:46:54","date_gmt":"2026-10-26T10:46:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/elio-blocks\/"},"modified":"2026-10-27T14:12:37","modified_gmt":"2026-10-27T14:12:37","slug":"elio-blocks","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/elio-blocks\/","author":17250342,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.7","requires_php":"8.2","requires_plugins":null,"header_name":"Elio Blocks","header_author":"Alexandre Buffet","header_description":"Easily display the current weather and forecasts for any location on your site, with blocks that feel native.","assets_banners_color":"b59372","last_updated":"2026-10-27 14:12:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/alexandrebuffet.github.io\/elio-blocks\/","header_author_uri":"https:\/\/alexandrebuffet.fr","rating":0,"author_block_rating":0,"active_installs":0,"downloads":143,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.4.0":{"tag":"0.4.0","author":"alexandrebuffet","date":"2026-10-26 14:50:07","revision":3766723},"1.0.0":{"tag":"1.0.0","author":"alexandrebuffet","date":"2026-10-27 14:12:37","revision":3768761}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3766173,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3766173,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3766173,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3766173,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3768761,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/post.php?post=1000&action=edit\",\"login\":true,\"features\":{\"networking\":true},\"plugins\":[\"elio-blocks\"],\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"siteOptions\":{\"blogname\":\"My Site with Elio Blocks\"},\"steps\":[{\"step\":\"runPHP\",\"code\":\"<?php\\nrequire_once '\\\/wordpress\\\/wp-load.php';\\n$content = <<<'HTML'\\n<!-- wp:paragraph -->\\n<p>Here is the weather in Paris. Select the Weather block to change its location or units.<\\\/p>\\n<!-- \\\/wp:paragraph -->\\n\\n<!-- wp:elio\\\/weather-report {\\\"location\\\":{\\\"latitude\\\":48.8566,\\\"longitude\\\":2.3522,\\\"name\\\":\\\"Paris\\\"}} -->\\n<!-- wp:elio\\\/location {\\\"style\\\":{\\\"typography\\\":{\\\"textAlign\\\":\\\"center\\\"}}} \\\/-->\\n\\n<!-- wp:group {\\\"layout\\\":{\\\"type\\\":\\\"flex\\\",\\\"flexWrap\\\":\\\"nowrap\\\",\\\"justifyContent\\\":\\\"center\\\"}} -->\\n<div class=\\\"wp-block-group\\\"><!-- wp:elio\\\/condition-icon {\\\"isDecorative\\\":true,\\\"style\\\":{\\\"dimensions\\\":{\\\"width\\\":\\\"48px\\\"}}} \\\/-->\\n\\n<!-- wp:elio\\\/temperature {\\\"style\\\":{\\\"typography\\\":{\\\"fontStyle\\\":\\\"normal\\\",\\\"fontWeight\\\":\\\"600\\\",\\\"fontSize\\\":\\\"1.5em\\\"}}} \\\/--><\\\/div>\\n<!-- \\\/wp:group -->\\n\\n<!-- wp:elio\\\/condition-description {\\\"style\\\":{\\\"typography\\\":{\\\"textAlign\\\":\\\"center\\\"}}} \\\/-->\\n<!-- \\\/wp:elio\\\/weather-report -->\\nHTML;\\nwp_insert_post(\\n\\tarray(\\n\\t\\t'import_id'    => 1000,\\n\\t\\t'post_title'   => 'Elio Blocks Sample Post',\\n\\t\\t'post_status'  => 'publish',\\n\\t\\t'post_content' => wp_slash( $content ),\\n\\t)\\n);\\n\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"elio-blocks\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":{"elio\/wind-speed":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/wind-speed","version":"1.0.0","title":"Wind Speed","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7.25 3v16.25H8v1.5H5v-1.5h.75V3zm5.812 7.414L13 9.667zl2-.167 4-.333q.07-.006.137-.024.068-.019.13-.05.063-.03.12-.072t.103-.093q.047-.052.084-.111t.063-.125.038-.134.013-.138V5.833q0-.07-.013-.138-.013-.07-.038-.134-.026-.065-.063-.125-.037-.059-.084-.11t-.103-.094-.12-.072-.13-.05-.137-.024l-4-.333-2-.167-2-.167-2-.166q-.073-.007-.147.002-.073.008-.143.03-.07.023-.135.059t-.121.083-.103.106-.08.123-.054.137-.026.145q-.003.03-.003.062v5q0 .074.014.146.015.073.043.141t.07.13q.04.061.093.113.052.053.113.094.062.04.13.069.068.028.14.043T9 10.75q.031 0 .062-.003zm-.812-4.39v2.953l-2.5.208v-3.37l1.188.1zm6 2.453-2.5.208v-2.37l2.5.208zm-5.538 12.047q-1.015-1.04-1.295-2.48-.278-1.439.269-2.794.55-1.359 1.745-2.178 1.2-.822 2.646-.822t2.646.822q1.196.82 1.745 2.178.547 1.355.268 2.793-.28 1.44-1.294 2.48l-1.074-1.047q.702-.719.896-1.718.194-1.002-.187-1.946-.38-.94-1.202-1.502-.817-.56-1.798-.56t-1.799.56q-.822.563-1.201 1.502-.381.944-.187 1.946.194 1 .895 1.718zm2.804-3.922 1.424-1.6 1.12.996-1.423 1.6z\"\/><\/svg>","description":"Display the wind speed or wind gusts.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"displayType":{"type":"string","enum":["speed","gusts"]},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/cloud-cover":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/cloud-cover","version":"1.0.0","title":"Cloud Cover","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M17.236 7.236q-1.69-1.986-4.193-1.986-3.806 0-5.16 3.488-1.73.061-3.074 1.353Q3.25 11.59 3.25 13.746q0 4.585 4.402 4.998l.034.003 3.52.003 5.664-.003q3.88 0 3.88-4 0-2.554-2.087-3.569.057-2.199-1.427-3.942M9.128 9.723q.93-2.973 3.915-2.973 1.81 0 3.05 1.458 1.253 1.471 1.04 3.371l-.067.592.561.199q1.623.574 1.623 2.378 0 2.5-2.38 2.5l-5.664.002-3.448-.003q-3.008-.3-3.008-3.501 0-1.518 1.098-2.573 1.083-1.04 2.504-.926l.597.048z\"\/><\/svg>","description":"Display the cloud cover percentage.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/location":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/location","version":"1.0.0","title":"Location","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"m12.502 19.557-.507.457-.503-.462q-6.242-5.74-6.242-9.46 0-2.831 1.973-4.834Q9.201 3.25 12 3.25t4.777 2.008Q18.75 7.26 18.75 10.09q0 3.841-6.248 9.466m4.748-9.466q0-2.215-1.542-3.78Q14.171 4.75 12 4.75T8.292 6.31Q6.75 7.876 6.75 10.091q0 2.926 5.255 7.889 5.245-4.859 5.245-7.889M10 10a2 2 0 1 0 4 0 2 2 0 0 0-4 0\"\/><\/svg>","description":"Display the location name or coordinates.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"usesContext":["elio\/reportLocation"],"attributes":{"displayType":{"type":"string","default":"name","enum":["name","coordinates"]},"level":{"type":"number","default":2},"levelOptions":{"type":"array"}},"supports":{"html":false,"interactivity":{"clientNavigation":true},"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","render":"file:.\/render.php"},"elio\/humidity":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/humidity","version":"1.0.0","title":"Humidity","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M15.688 17.44q3.711-3.036 1.29-7.134l-.011-.017-.011-.017q-.695-1.044-2.19-3.027-1.64-2.174-2.233-2.773L12 3.934l-.533.538q-.592.598-2.233 2.775-1.495 1.982-2.19 3.025l-.011.017-.01.017Q4.6 14.405 8.312 17.44q3.688 3.017 7.375 0m.008-6.354q1.749 2.98-.958 5.193-2.737 2.24-5.476 0-2.706-2.214-.958-5.193.671-1.005 2.127-2.936.994-1.318 1.57-2.016.574.697 1.567 2.014 1.456 1.932 2.128 2.938\"\/><\/svg>","description":"Display the relative humidity.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/forecast-template":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/forecast-template","version":"1.0.0","title":"Forecast Template","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9.22 3.25v2.158h1.5V3.25zM5.196 6.244l.465.461.532.528L7.25 6.17l-.997-.99-.532-.528-1.057 1.065zm8.491-1.064-.464.46-.532.529 1.056 1.064.997-.989.532-.528L14.22 4.65zM6.054 16.122q0-2.854 2.751-3.12.245-.023.492-.004l.596.047.18-.57q.64-2.033 2.634-2.55h.001q.442-.115.902-.115.587 0 1.143.194l.709.246.493-1.416-.708-.247q-.796-.277-1.637-.277-.316 0-.627.039-.236-.449-.608-.818-.997-.989-2.405-.989t-2.404.99q-1 .99-1 2.394 0 1.137.657 2.004-2.669 1.066-2.669 4.192 0 4.241 4.099 4.622l.035.003H9.75v-1.5h-.992q-2.704-.269-2.704-3.125m5.416-7.357q-1.82.78-2.619 2.685-.121-.088-.229-.194-.555-.552-.555-1.33 0-.779.555-1.33.558-.554 1.348-.554t1.348.554q.082.08.152.169m-8.22 1.91h2.163v-1.5H3.25zm8.48 1.055q.48-.48 1.159-.48h6.222q.678 0 1.159.48.48.48.48 1.159v6.222q0 .68-.48 1.159-.48.48-1.16.48h-6.22q-.68 0-1.16-.48t-.48-1.159V12.89q0-.679.48-1.159m7.52 1.159V14h-6.5v-1.11q0-.057.04-.098.041-.04.099-.04h6.222q.057 0 .098.04.04.04.04.098m-6.5 6.222v-3.61H14v3.75h-1.111q-.058 0-.099-.042-.04-.04-.04-.098m2.75-3.61v3.75h3.61q.058 0 .099-.041.04-.041.04-.099v-3.61z\"\/><\/svg>","description":"Contains the blocks used to render each forecast item, like the date, condition icon, temperature, and more.","ancestor":["elio\/forecast"],"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastType","elio\/forecastCount"],"supports":{"reusable":false,"html":false,"interactivity":true,"layout":{"allowSwitching":false},"align":["wide","full"],"anchor":true,"color":{"background":true,"text":true,"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"spacing":{"margin":true,"padding":true,"blockGap":true,"__experimentalDefaultControls":{"blockGap":true,"padding":false,"margin":false}},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":"file:.\/style-index.css"},"elio\/precipitation":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/precipitation","version":"1.0.0","title":"Precipitation","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M4.992 19.75h4.924q1.736 0 1.736-1.687V4.938q0-1.688-1.736-1.688H4.863q-.66 0-1.131.455-.482.465-.482 1.128v13.23q.003.348.14.662.137.31.385.547.245.233.563.357.315.124.654.121m5.16-14H7.564v1.5h2.588v1H8.427v1.5h1.725v1H7.564v1.5h2.588v1H8.427v1.5h1.725v1H7.564v1.5h2.588v.813q0 .187-.236.187H4.98q-.05 0-.096-.018-.043-.017-.075-.047-.03-.028-.045-.063-.014-.032-.014-.06V4.834q0-.027.024-.05.034-.033.089-.033h5.053q.236 0 .236.188zm5.107 8.923c1.05.8 2.58.8 3.629 0 1.05-.8 1.316-2.171.631-3.25L17.076 8l-2.45 3.423c-.682 1.079-.416 2.449.633 3.25\"\/><\/svg>","description":"Display the precipitation amount.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/wind-direction":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/wind-direction","version":"1.0.0","title":"Wind Direction","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7.25 19.25V3h-1.5v16.25H5v1.5h3v-1.5zm5.812-8.836-4 .333q-.03.003-.062.003-.074 0-.146-.014-.073-.015-.141-.043t-.13-.07q-.061-.04-.113-.093-.053-.052-.094-.113-.04-.062-.069-.13-.028-.068-.043-.14T8.25 10V5q0-.031.003-.062.006-.074.026-.145t.054-.137.08-.123.103-.106.12-.083.136-.058q.07-.023.143-.031.074-.009.147-.002l2 .166 2 .167 2 .167 4 .333q.07.006.137.024.068.019.13.05.063.03.12.072t.103.093q.047.052.084.111t.063.125.038.134.013.138v3.334q0 .07-.013.138-.013.07-.038.134-.026.065-.063.125-.037.059-.084.11t-.103.094-.12.072-.13.05-.137.024l-4 .333zL13 9.667zm-.812-1.437V6.023l-1.312-.109-1.188-.099v3.37zm3.5-.292 2.5-.208V6.523l-2.5-.208zm.759 11.192L19 13l-6.878 2.476a.21.21 0 0 0 0 .382l2.969 1.02 1.036 3a.21.21 0 0 0 .304.089.2.2 0 0 0 .078-.09\"\/><\/svg>","description":"Display the wind direction as a cardinal point or in degrees.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"displayFormat":{"type":"string","default":"cardinal","enum":["cardinal","degrees"]},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/last-updated":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/last-updated","version":"1.0.0","title":"Last Updated","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9.22 5.408V3.25h1.5v2.158zM5.66 6.705l-.464-.46-.532-.529 1.057-1.065.532.529.997.989-1.057 1.064zm7.563-1.065.464-.46.533-.529 1.056 1.065-.532.528-.997.99-1.056-1.065zM6.054 16.122q0-2.854 2.751-3.12.245-.023.492-.004l.596.047.18-.57q.64-2.033 2.634-2.55h.001q.442-.115.902-.115.587 0 1.143.194l.709.246.493-1.416-.708-.247q-.796-.277-1.637-.277-.316 0-.627.039-.236-.449-.608-.818-.997-.989-2.405-.989t-2.404.99q-1 .99-1 2.394 0 1.137.657 2.004-2.669 1.066-2.669 4.192 0 4.241 4.099 4.622l.033.003.672.003h1.392v-1.5H9.364l-.604-.002q-2.706-.269-2.706-3.126m5.416-7.357q-1.82.78-2.619 2.685-.121-.088-.229-.194-.555-.552-.555-1.33 0-.779.555-1.33.558-.554 1.348-.554t1.348.554q.082.08.152.169m-6.057 1.91H3.25v-1.5h2.163zm6.087 1.068v2.605l-.23.554.23.096v.25h.6l.554.23.096-.23H15v-1.5h-1.38q.312-.32.718-.555.966-.559 2.072-.416t1.9.93q.412.409.66.934l.32.678 1.357-.641-.32-.678q-.362-.764-.96-1.358-1.154-1.144-2.764-1.352t-3.016.605q-.313.181-.587.396v-.548zm9 8.514v-2.604l.23-.555-.23-.096v-.25h-.6l-.555-.23-.096.23H17v1.5h1.38q-.311.32-.718.555-.966.559-2.072.416t-1.9-.93q-.366-.364-.605-.822l-.345-.666-1.331.692.345.665q.347.667.88 1.196 1.154 1.145 2.764 1.352 1.61.209 3.016-.605.313-.181.587-.396v.548z\"\/><\/svg>","description":"Display when the weather data was last updated.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"format":{"type":"string"},"showPrefix":{"type":"boolean","default":true},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/weather-report":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/weather-report","version":"1.0.0","title":"Weather","category":"widgets","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9.22 5.408V3.25h1.5v2.158zM5.66 6.705l-.464-.46-.532-.529 1.057-1.065.532.529.997.989-1.057 1.064zm7.563-1.065.997-.989 1.056 1.065-1.529 1.517-1.056-1.064zm-.848 1.891q.372.37.608.818.31-.039.627-.039 2.325 0 3.896 1.832 1.365 1.592 1.328 3.597 1.916.945 1.916 3.296 0 3.712-3.625 3.712l-5.207.003-3.23-.003-.035-.003q-4.099-.381-4.099-4.622 0-3.353 2.597-4.29-.584-.833-.584-1.906 0-1.404.999-2.395.996-.989 2.404-.989t2.405.99m-1.057 1.065q.082.08.152.169-1.82.78-2.619 2.685-.121-.088-.229-.194-.555-.552-.555-1.33 0-.779.555-1.33.558-.554 1.348-.554t1.348.554m-5.905 2.08H3.25v-1.5h2.163zm.641 5.446q0 2.857 2.705 3.125l3.16.003 5.205-.003q2.126 0 2.126-2.212 0-1.596-1.448-2.104l-.564-.199.068-.593q.192-1.702-.939-3.02-1.121-1.31-2.757-1.31-.46 0-.902.115-1.995.516-2.636 2.55l-.18.57-.595-.047q-.247-.02-.491.004-2.752.266-2.752 3.12\"\/><\/svg>","description":"Display the current weather and forecast for a location.","example":{"attributes":{"location":{"name":"Paris","latitude":48.8566,"longitude":2.3522}},"innerBlocks":[{"name":"elio\/location","attributes":{"style":{"typography":{"textAlign":"center"}}}},{"name":"core\/group","attributes":{"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}},"innerBlocks":[{"name":"elio\/condition-icon","attributes":{"isDecorative":true,"style":{"dimensions":{"width":"48px"}}}},{"name":"elio\/temperature","attributes":{"style":{"typography":{"fontStyle":"normal","fontWeight":"600","fontSize":"1.5em"}}}}]},{"name":"elio\/condition-description","attributes":{"style":{"typography":{"textAlign":"center"}}}}]},"attributes":{"location":{"type":"object"},"provider":{"type":"string"},"units":{"type":"string"},"iconCollection":{"type":"string"},"tagName":{"type":"string","default":"section","enum":["div","section","article"]}},"providesContext":{"elio\/reportLocation":"location","elio\/reportProvider":"provider","elio\/reportUnits":"units","elio\/reportIconCollection":"iconCollection"},"supports":{"html":false,"align":true,"anchor":true,"ariaLabel":true,"interactivity":true,"background":{"backgroundImage":true,"backgroundSize":true,"gradient":true,"__experimentalDefaultControls":{"backgroundImage":true,"gradient":true}},"color":{"background":true,"text":true,"gradients":true,"heading":true,"button":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"shadow":true,"spacing":{"padding":true,"margin":["top","bottom"],"blockGap":true,"__experimentalDefaultControls":{"blockGap":true,"padding":true}},"dimensions":{"minHeight":true,"minWidth":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true,"color":true,"width":true,"style":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"layout":{"allowSizingOnChildren":true},"allowedBlocks":true},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","viewScriptModule":"file:.\/view.js","render":"file:.\/render.php"},"elio\/hourly-temperature":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/hourly-temperature","version":"1.0.0","title":"Hourly Temperature","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10 12.948V5.78q0-1.044.728-1.785.733-.746 1.772-.746t1.772.746Q15 4.735 15 5.78v7.167q.963.7 1.428 1.843.55 1.35.178 2.76-.372 1.412-1.514 2.304-1.146.895-2.592.895t-2.592-.895q-1.142-.892-1.514-2.305-.371-1.41.178-2.759.465-1.143 1.428-1.843m3.5-4.131V5.78q0-.43-.298-.734-.292-.297-.702-.297t-.702.297q-.298.303-.298.734v3.036zm-2 1.5v3.035q0 .098-.025.193-.025.094-.074.18t-.118.154q-.069.07-.153.12-.81.476-1.169 1.358-.36.885-.116 1.811.243.924.986 1.505.74.577 1.669.577.93 0 1.669-.577.743-.58.986-1.505.244-.926-.116-1.811-.36-.882-1.169-1.358-.084-.05-.153-.12-.07-.07-.118-.155-.049-.085-.074-.18t-.025-.192v-3.035zm2.188 6.152q0 1.196-1.188 1.196t-1.187-1.196 1.187-1.195 1.188 1.195\"\/><\/svg>","description":"Display the temperature or feels like temperature of a forecast hour.","example":{"viewportWidth":350},"ancestor":["elio\/forecast-template"],"attributes":{"displayType":{"type":"string","default":"current","enum":["current","feels-like"]},"showUnit":{"type":"boolean","default":true},"unitFormat":{"type":"string"},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"fitText":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/datetime":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/datetime","version":"1.0.0","title":"Date & Time","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10.179 5.806V4.25h-1.5v1.556H7.5q-.94 0-1.6.685-.65.673-.65 1.62v9.333q0 .948.65 1.621.66.685 1.6.685h9q.94 0 1.6-.685.65-.673.65-1.62V8.11q0-.947-.65-1.62-.66-.685-1.6-.685h-1.179V4.25h-1.5v1.556zm0 1.5H16.5q.303 0 .52.226.23.237.23.58v2.36H6.75v-2.36q0-.343.23-.58.217-.226.52-.226zm7.071 4.666v5.472q0 .342-.23.58-.217.226-.52.226h-9q-.303 0-.52-.226-.23-.238-.23-.58v-5.472z\"\/><\/svg>","description":"Display the date or time of the current conditions or of a forecast item.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"displayType":{"type":"string","enum":["date","time"]},"format":{"type":"string"},"currentAsLabel":{"type":"boolean","default":false},"todayLabel":{"type":"string"},"nowLabel":{"type":"string"},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/forecast":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/forecast","version":"1.0.0","title":"Forecast","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9.22 5.408V3.25h1.5v2.158zM5.66 6.705l-.464-.46-.532-.529 1.057-1.065.532.529.997.989-1.057 1.064zm7.563-1.065.464-.46.533-.529 1.056 1.065-.532.528-.997.99-1.056-1.065zM6.054 16.122q0-2.854 2.751-3.12.245-.023.492-.004l.596.047.18-.57q.64-2.033 2.634-2.55h.001q.442-.115.902-.115.587 0 1.143.194l.709.246.493-1.416-.708-.247q-.796-.277-1.637-.277-.316 0-.627.039-.236-.449-.608-.818-.997-.989-2.405-.989t-2.404.99q-1 .99-1 2.394 0 1.137.657 2.004-2.669 1.066-2.669 4.192 0 4.241 4.099 4.622l.035.003H9.75v-1.5h-.992q-2.704-.269-2.704-3.125m5.416-7.357q-1.82.78-2.619 2.685-.121-.088-.229-.194-.555-.552-.555-1.33 0-.779.555-1.33.558-.554 1.348-.554t1.348.554q.082.08.152.169m-6.057 1.91H3.25v-1.5h2.163zm6.05.941q.366-.366.883-.366h2q.518 0 .884.366t.366.884v2q0 .518-.366.884t-.884.366h-2q-.517 0-.883-.366-.367-.366-.367-.884v-2q0-.518.367-.884m5.153 0q.367-.366.884-.366h2q.517 0 .884.366.366.367.366.884v2q0 .517-.366.884-.367.366-.884.366h-2q-.517 0-.884-.366-.366-.367-.366-.884v-2q0-.517.366-.884m-4.02 2.634v-1.5h1.5v1.5zm5.154 0h1.5v-1.5h-1.5zm-2.154 4h-4.5v-1.5h4.5zm5.154 0h-4.5v-1.5h4.5zm-5.154 2.5h-4.5v-1.5h4.5zm5.154 0h-4.5v-1.5h4.5z\"\/><\/svg>","description":"Display a daily or hourly forecast.","ancestor":["elio\/weather-report"],"attributes":{"type":{"type":"string","default":"daily","enum":["daily","hourly"]},"count":{"type":"number","default":7}},"providesContext":{"elio\/forecastType":"type","elio\/forecastCount":"count"},"supports":{"html":false,"interactivity":{"clientNavigation":true},"align":["wide","full"],"anchor":true,"background":{"backgroundImage":true,"backgroundSize":true,"gradient":true},"color":{"background":true,"text":true,"gradients":true,"heading":true,"button":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"shadow":true,"spacing":{"padding":true,"margin":["top","bottom"],"blockGap":true,"__experimentalDefaultControls":{"blockGap":true,"padding":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"layout":true},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php"},"elio\/pressure":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/pressure","version":"1.0.0","title":"Pressure","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M5.813 18.187q-1.23-1.23-1.897-2.838Q3.25 13.74 3.25 12t.666-3.348 1.897-2.84 2.839-1.896T12 3.25t3.349.666q1.607.666 2.838 1.897t1.897 2.838q.666 1.608.666 3.349 0 1.74-.666 3.348t-1.897 2.84-2.838 1.896T12 20.75t-3.348-.666-2.84-1.897m1.06-1.06q1.02 1.02 2.353 1.571 1.332.552 2.774.552t2.774-.552 2.353-1.571q1.02-1.02 1.571-2.352.552-1.333.552-2.775t-.552-2.774-1.571-2.353-2.353-1.571T12 4.75t-2.774.552-2.353 1.571-1.571 2.353T4.75 12t.552 2.774q.552 1.333 1.571 2.353m6.286-6.286q-.19-.189-.409-.303V6.972h-1.5v3.566q-.22.114-.409.303-.48.48-.48 1.159t.48 1.159q.19.189.409.303V15h1.5v-1.538q.22-.114.409-.303.48-.48.48-1.159t-.48-1.159M6.806 12q0-2.152 1.521-3.673l1.06 1.06Q8.307 10.47 8.307 12zm8.746.143q0-1.53-1.082-2.613l1.06-1.06q1.522 1.521 1.522 3.673zM12 11.86q-.057 0-.098.04-.04.042-.04.099t.04.098q.04.04.098.04.057 0 .098-.04.04-.04.04-.098 0-.057-.04-.098-.04-.04-.098-.04\"\/><\/svg>","description":"Display the atmospheric pressure.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/sun-event":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/sun-event","version":"1.0.0","title":"Sun Event","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M11.25 5.81 9.863 7.198l-1.06-1.06 2.666-2.667L12 4l.531-.53 2.667 2.666-1.061 1.061-1.386-1.386v4.022h-1.5zm-6.14 4.353 2.12 2.121 1.061-1.06L6.17 9.101zm12.727-1.054-2.121 2.122 1.06 1.06 2.122-2.121zm-9.512 6.887V17h1.5v-1.005q0-2.174 2.175-2.174t2.175 2.175V17h1.5v-1.005q0-3.674-3.675-3.674t-3.675 3.675M3 16.745h3v-1.5H3zm15 0h3v-1.5h-3zM3 19.25v1.5h18v-1.5z\"\/><\/svg>","description":"Display the sunrise or sunset time.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"displayType":{"type":"string","enum":["sunrise","sunset"],"default":"sunrise"},"format":{"type":"string"},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/uv-index":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/uv-index","version":"1.0.0","title":"UV Index","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M11.255 3v3h1.5V3zM5.109 6.163l2.122 2.121 1.06-1.06L6.17 5.101zm12.728-1.054-2.121 2.122 1.06 1.06 2.122-2.121zM8 11.995v.685h1.5v-.685q0-2.5 2.5-2.5t2.5 2.5v.685H16v-.685q0-4-4-4t-4 4m-5 .75h3v-1.5H3zm15 0h3v-1.5h-3zm-2.057 7.486 2.25-5.445-1.386-.572-1.548 3.746-1.508-3.74-1.391.56 2.194 5.445q.057.14.163.247.107.108.247.166.137.057.287.056.149 0 .287-.057t.243-.163.162-.243m-4.804-2.064V14.5h-1.5v3.667q0 .425-.301.726t-.727.301-.727-.3q-.3-.302-.3-.727V14.5h-1.5v3.667q0 1.047.74 1.787t1.787.74 1.787-.74.74-1.787\"\/><\/svg>","description":"Display the UV index.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/provider-attribution":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/provider-attribution","version":"1.0.0","title":"Provider Attribution","icon":"info-outline","category":"elio-weather","description":"Credit the provider of the weather data, as its license requires.","example":{"viewportWidth":350},"keywords":["credit","license","copyright"],"ancestor":["elio\/weather-report"],"usesContext":["elio\/reportProvider"],"blockHooks":{"elio\/weather-report":"lastChild"},"attributes":{"linkTarget":{"type":"string","default":"_self","enum":["_self","_blank"]},"style":{"type":"object","default":{"typography":{"fontSize":"0.75em","textAlign":"center"}}}},"supports":{"html":false,"interactivity":{"clientNavigation":true},"align":["wide","full"],"anchor":true,"color":{"background":true,"text":true,"link":true,"gradients":true,"__experimentalDefaultControls":{"text":true,"link":true}},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php"},"elio\/condition-icon":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/condition-icon","version":"1.0.0","title":"Condition Icon","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7.179 4v3.5H9.75L6.321 13V9.5H3.75zm7.807 0v1.422h1.5V4zm-2.798 1.778 1.005 1.006 1.061-1.06-1.006-1.006zm6.034-1.057-1.006 1.006 1.06 1.06 1.006-1.005zm-4.78 3.543q0 2.291 2.291 2.291t2.291-2.29-2.29-2.291-2.291 2.29m3.082 0q0 .791-.79.791-.791 0-.791-.79 0-.791.79-.791.791 0 .791.79m-5.057.75h1.422v-1.5h-1.422zm7.11 0H20v-1.5h-1.422zm-1.361 1.793 1.006 1.005 1.06-1.06-1.005-1.006zm-4.023-1.058-1.005 1.006 1.06 1.06 1.006-1.005zm1.793 1.362v1.422h1.5v-1.422zm3.135 4.11H14q-.074 0-.147.014-.072.015-.14.043t-.13.07q-.061.04-.114.092-.052.053-.093.114t-.07.13q-.028.068-.042.14t-.014.147.014.146.043.14q.028.07.069.13.041.062.093.114.053.052.114.093t.13.07q.068.028.14.042t.147.015h4.12q1.75 0 1.75-1.75t-1.75-1.75q-.722 0-1.234.51-.053.052-.094.113t-.07.13q-.028.068-.042.14t-.015.147.014.146.042.14q.028.07.07.13.04.062.092.114.053.053.114.094t.13.07q.068.028.14.043t.146.014.147-.014.14-.042.13-.07.114-.092q.073-.073.177-.073.25 0 .25.25t-.25.25m-8.115 5.528q2.21 0 2.21-2.194 0-1.273-.977-1.847-.06-.982-.77-1.776-.907-1.015-2.249-1.015-1.91 0-2.672 1.57-.796.101-1.434.685-.864.79-.864 1.937 0 2.421 2.42 2.637l.033.003 1.616.001zm.71-2.194q0 .694-.71.694l-2.686.001-1.547-.001q-1.023-.106-1.023-1.14 0-.486.376-.83.38-.347.876-.31l.586.046.184-.56q.34-1.038 1.448-1.038.67 0 1.131.515.457.511.38 1.164l-.07.604.576.194q.48.162.48.66m6.276-1.334-3 .03q-.149 0-.286.059t-.242.165-.16.245q-.056.138-.054.287 0 .074.015.147.016.072.045.14t.07.129.094.113q.053.051.115.092.062.04.13.068.069.027.141.041.073.014.147.013l3-.03q.243 0 .243.25t-.25.25q-.104 0-.177-.072-.052-.052-.114-.093-.061-.041-.13-.07-.068-.027-.14-.042-.073-.014-.146-.014-.074 0-.147.015-.072.014-.14.043t-.13.07-.113.093q-.106.105-.163.243-.056.138-.056.287 0 .15.057.287.058.138.163.243.512.51 1.236.51 1.75 0 1.75-1.75 0-.87-.436-1.308-.44-.441-1.322-.441\"\/><\/svg>","description":"Display an icon of the weather condition.","example":{"attributes":{"style":{"dimensions":{"width":"48px"}}},"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"isDecorative":{"type":"boolean","default":false},"strokeWidth":{"type":"number"},"iconCollection":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/reportIconCollection","elio\/forecastType","elio\/forecastCount","elio\/forecastItem"],"supports":{"align":["left","center","right"],"html":false,"anchor":true,"interactivity":true,"color":{"background":true,"text":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"background":true,"text":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"color":false,"radius":false,"style":false,"width":false}},"spacing":{"padding":true,"margin":true,"__experimentalSkipSerialization":["padding"],"__experimentalDefaultControls":{"margin":false,"padding":false}},"dimensions":{"width":true,"__experimentalSkipSerialization":["width"],"__experimentalDefaultControls":{"width":true}}},"selectors":{"root":".wp-block-elio-condition-icon svg","css":".wp-block-elio-condition-icon","spacing":{"margin":".wp-block-elio-condition-icon"}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","viewScriptModule":"file:.\/view.js","style":"file:.\/style-index.css"},"elio\/precipitation-probability":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/precipitation-probability","version":"1.0.0","title":"Precipitation Probability","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M11.25 3.278q-3.144.241-5.437 2.535Q3.25 8.376 3.25 12q0 .074.014.146.015.073.043.141t.07.13q.04.061.093.113.052.053.113.094.062.04.13.069.068.028.14.043T4 12.75h7.25v5.75q0 .31-.22.53t-.53.22-.53-.22-.22-.53h-1.5q0 .932.659 1.591t1.591.659 1.591-.659.659-1.591v-5.75H20q.074 0 .146-.014.073-.015.141-.043t.13-.07q.061-.04.113-.093.053-.052.094-.113.04-.062.069-.13.028-.068.043-.14T20.75 12q0-3.624-2.563-6.187-2.293-2.294-5.437-2.535V2.5h-1.5zM12 5.003q2.07 2.051 2.235 6.247h-4.47Q9.93 7.054 12 5.003m3.737 6.247q-.143-3.89-1.79-6.253 1.781.478 3.18 1.876 1.853 1.854 2.089 4.377zm-7.474 0H4.784q.236-2.523 2.09-4.377 1.398-1.398 3.178-1.876Q8.406 7.36 8.263 11.25\"\/><\/svg>","description":"Display the probability of precipitation.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/daily-temperature":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/daily-temperature","version":"1.0.0","title":"Daily Temperature","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M6.983 12.95V5.78q0-1.042.72-1.782.729-.749 1.764-.749 1.034 0 1.763.749.72.74.72 1.782v7.169q.954.7 1.415 1.844.543 1.347.176 2.755-.368 1.412-1.5 2.304-1.137.897-2.574.897t-2.575-.897q-1.132-.892-1.5-2.304-.367-1.408.176-2.755.46-1.143 1.415-1.844m3.467-1.461V5.78q0-.433-.295-.736-.287-.295-.688-.295-.402 0-.688.295-.296.303-.296.736v5.708zM15 8.594h4v1.5h-4zm-6.517 4.395v.363q0 .098-.025.192t-.073.18q-.048.084-.117.154-.068.07-.152.119-.801.475-1.156 1.357-.358.888-.116 1.816.24.925.977 1.505.73.575 1.646.575t1.646-.575q.735-.58.976-1.505.243-.928-.115-1.816-.356-.882-1.157-1.357-.084-.05-.152-.12t-.117-.154-.073-.179-.025-.192v-.363zm2.167 3.48q0 1.196-1.183 1.196t-1.184-1.196 1.184-1.195 1.183 1.195\"\/><\/svg>","description":"Display the minimum or maximum temperature, or feels like temperature, of a forecast day.","example":{"viewportWidth":350},"ancestor":["elio\/forecast-template"],"attributes":{"displayType":{"type":"string","default":"min","enum":["min","max","feels-like-min","feels-like-max"]},"showUnit":{"type":"boolean","default":true},"unitFormat":{"type":"string"},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"fitText":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"},"elio\/condition-description":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/condition-description","version":"1.0.0","title":"Condition Description","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7.429 4v3.5H10L6.571 13V9.5H4zm9.307 1.422V4h-1.5v1.422zm-2.232.301-1.006-1.005-1.06 1.06 1.005 1.006zm4.023 1.064 1.005-1.005-1.06-1.061-1.006 1.006zm-2.544 3.768q2.291 0 2.291-2.29t-2.29-2.291-2.291 2.29 2.29 2.291m0-3.081q.791 0 .791.79 0 .791-.79.791-.791 0-.791-.79 0-.791.79-.791m-2.844.04h-1.422v1.5h1.422zm7.111 0h-1.422v1.5h1.422zm-.718 3.238-1.005-1.006-1.06 1.06 1.005 1.006zm-6.034 1.064 1.006-1.006-1.06-1.06-1.006 1.005zm3.238.717v-1.422h-1.5v1.422zM20 14.25H4v1.5h16zm-7 4H4v1.5h9z\"\/><\/svg>","description":"Display the weather condition description.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits","elio\/forecastItem"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","viewScriptModule":"file:.\/view.js"},"elio\/temperature":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"elio\/temperature","version":"1.0.0","title":"Temperature","category":"elio-weather","icon":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10 12.948V5.78q0-1.044.728-1.785.733-.746 1.772-.746t1.772.746Q15 4.735 15 5.78v7.167q.963.7 1.428 1.843.55 1.35.178 2.76-.372 1.412-1.514 2.304-1.146.895-2.592.895t-2.592-.895q-1.142-.892-1.514-2.305-.371-1.41.178-2.759.465-1.143 1.428-1.843m3.5-4.131V5.78q0-.43-.298-.734-.292-.297-.702-.297t-.702.297q-.298.303-.298.734v3.036zm-2 1.5v3.035q0 .098-.025.193-.025.094-.074.18t-.118.154q-.069.07-.153.12-.81.476-1.169 1.358-.36.885-.116 1.811.243.924.986 1.505.74.577 1.669.577.93 0 1.669-.577.743-.58.986-1.505.244-.926-.116-1.811-.36-.882-1.169-1.358-.084-.05-.153-.12-.07-.07-.118-.155-.049-.085-.074-.18t-.025-.192v-3.035zm2.188 6.152q0 1.196-1.188 1.196t-1.187-1.196 1.187-1.195 1.188 1.195\"\/><\/svg>","description":"Display the current temperature or feels like temperature.","example":{"viewportWidth":350},"ancestor":["elio\/weather-report"],"attributes":{"displayType":{"type":"string","default":"current","enum":["current","feels-like"]},"unitFormat":{"type":"string"},"showUnit":{"type":"boolean","default":true},"showPrefix":{"type":"boolean","default":false},"prefix":{"type":"string"}},"usesContext":["elio\/reportLocation","elio\/reportProvider","elio\/reportUnits"],"supports":{"html":false,"interactivity":true,"align":["wide","full"],"anchor":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"background":true,"text":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"elio-blocks","editorScript":"file:.\/index.js","render":"file:.\/render.php","style":["elio-common-style"],"viewScriptModule":"file:.\/view.js"}},"tagged_versions":["0.4.0","1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3766723,"resolution":"1","location":"assets","locale":"","width":2560,"height":1600},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3766723,"resolution":"2","location":"assets","locale":"","width":2560,"height":1600},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3766723,"resolution":"3","location":"assets","locale":"","width":2560,"height":1600},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3766723,"resolution":"4","location":"assets","locale":"","width":2560,"height":1600},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3766723,"resolution":"5","location":"assets","locale":"","width":2560,"height":1600},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3768761,"resolution":"6","location":"assets","locale":"","width":2560,"height":1600},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3768761,"resolution":"7","location":"assets","locale":"","width":2560,"height":1600}},"screenshots":{"1":"The Weather block in the Block Editor, its location set in the block sidebar.","2":"A daily forecast on the front end, in the colors of the theme.","3":"Style the block with the design tools you already know: background, font, size.","4":"Start blank and choose a layout for the Weather block.","5":"Locations are suggested as you type.","6":"Three reports side by side, each laid out its own way.","7":"The General section of the settings page: units and data refresh."}},"plugin_section":[],"plugin_tags":[148857,4121,4900,2215,4899],"plugin_category":[49,59],"plugin_contributors":[244154],"plugin_business_model":[],"class_list":["post-376920","plugin","type-plugin","status-publish","hentry","plugin_tags-block-editor","plugin_tags-blocks","plugin_tags-forecast","plugin_tags-location","plugin_tags-weather","plugin_category-maps-and-location","plugin_category-utilities-and-tools","plugin_contributors-alexandrebuffet","plugin_committers-alexandrebuffet"],"banners":{"banner":"https:\/\/ps.w.org\/elio-blocks\/assets\/banner-772x250.png?rev=3766173","banner_2x":"https:\/\/ps.w.org\/elio-blocks\/assets\/banner-1544x500.png?rev=3766173","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/elio-blocks\/assets\/icon-128x128.png?rev=3766173","icon_2x":"https:\/\/ps.w.org\/elio-blocks\/assets\/icon-256x256.png?rev=3766173","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-1.png?rev=3766723","caption":"The Weather block in the Block Editor, its location set in the block sidebar."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-2.png?rev=3766723","caption":"A daily forecast on the front end, in the colors of the theme."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-3.png?rev=3766723","caption":"Style the block with the design tools you already know: background, font, size."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-4.png?rev=3766723","caption":"Start blank and choose a layout for the Weather block."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-5.png?rev=3766723","caption":"Locations are suggested as you type."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-6.png?rev=3768761","caption":"Three reports side by side, each laid out its own way."},{"src":"https:\/\/ps.w.org\/elio-blocks\/assets\/screenshot-7.png?rev=3768761","caption":"The General section of the settings page: units and data refresh."}],"raw_content":"<!--section=description-->\n<p>Elio Blocks brings the weather to the Block Editor the way WordPress would have built it: with blocks that look, feel and behave like the ones you already use every day.<\/p>\n\n<p>Insert the Weather block, start typing a city and pick it among the suggestions: the live forecast shows up right in the editor. Publish, and see if the sun shines! \u2600\ufe0f<\/p>\n\n<p>No coding required. No widgets, no shortcodes, no iframe either.<\/p>\n\n<p>Try it live on the <a href=\"https:\/\/alexandrebuffet.github.io\/elio-blocks\/\">Elio Blocks website<\/a>, and read the <a href=\"https:\/\/alexandrebuffet.github.io\/elio-blocks\/docs\/\">handbook<\/a> to go further: every block, and how to add a weather provider or an icon collection from your own code.<\/p>\n\n<h4>Feels native, because it is<\/h4>\n\n<ul>\n<li><strong>Blocks all the way down.<\/strong> The Weather block works like the Query Loop: it gets the forecast of its location and passes it on to everything nested inside. Temperature, humidity, wind, UV index, sunrise and sunset, condition icon, time of the last update and more are each a block of their own: add them, remove them, reorder them, nest them in rows, columns or groups, straight from the canvas or the List View.<\/li>\n<li><strong>A full set of weather icons.<\/strong> 92 icons cover every condition, by day and by night, with a line width and a color you set like any other block. Use another collection for the whole site, a single report or one icon, and on WordPress 7.1 find them in the Icon block too.<\/li>\n<li><strong>Forecast lists built like a Post Template.<\/strong> Lay out one hour or one day with the blocks of your choice: the Forecast Template repeats that row for each hour or day, the way the Post Template repeats a post.<\/li>\n<li><strong>Start from a layout.<\/strong> Pick one of the ready-made variations (Default, Minimal, Hourly Forecast, Daily Forecast), or start blank and build your own.<\/li>\n<li><strong>Every design tool you expect.<\/strong> Colors, typography, spacing, borders and layout come from the standard block supports, so they appear in the same panels as those of core blocks, follow your theme's presets, and can be set for the whole site in <code>theme.json<\/code> or the Styles of the Site Editor.<\/li>\n<li><strong>Your site's settings, respected.<\/strong> Dates and times use your site's language and date formats, in the timezone of the location. Units are metric or imperial, site-wide or per block.<\/li>\n<li><strong>What you see is what you get.<\/strong> The editor shows the real forecast of your location, styled as it will be on your site.<\/li>\n<li><strong>Open to developers.<\/strong> Other weather data providers and icon collections can be registered from PHP, with the same functions the plugin uses for its own.<\/li>\n<\/ul>\n\n<h4>Fast and up to date on the front end<\/h4>\n\n<p>Blocks are rendered on the server, so the weather is in the page from the first byte. Then the Interactivity API, the front-end framework of WordPress itself, keeps the data fresh in your visitors' browsers without reloading the page. No jQuery, no heavy scripts: condition icons are shared across the page and forecast data is cached on your server.<\/p>\n\n<p>Weather data and location search are provided by the Open-Meteo API. See the External services section below for what is sent to it and when.<\/p>\n\n<h4>Source code<\/h4>\n\n<p>The scripts and styles in the <code>build<\/code> folder of the plugin are compiled. Their human-readable sources (the <code>src<\/code> folder) and the configuration of the build tools are public on GitHub, where the plugin is developed: <a href=\"https:\/\/github.com\/alexandrebuffet\/elio-blocks\">https:\/\/github.com\/alexandrebuffet\/elio-blocks<\/a><\/p>\n\n<p>To build the plugin from its sources, with Node.js 22 and Composer:<\/p>\n\n<ol>\n<li><code>git clone https:\/\/github.com\/alexandrebuffet\/elio-blocks.git<\/code><\/li>\n<li><code>cd elio-blocks<\/code><\/li>\n<li><code>composer install<\/code><\/li>\n<li><code>npm install<\/code><\/li>\n<li><code>npm run build<\/code><\/li>\n<\/ol>\n\n<p>The build uses <code>@wordpress\/scripts<\/code> (webpack), the build tool of WordPress itself. See the README of the repository for every command.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin relies on <a href=\"https:\/\/open-meteo.com\/\">Open-Meteo<\/a>, an open-source weather API, to get weather data and to find locations by name. The blocks cannot display any weather without it. Open-Meteo requires no account and no API key for non-commercial use.<\/p>\n\n<p>All requests are sent by your WordPress server, through the plugin's REST API. Visitors' browsers never contact Open-Meteo directly, so their IP address is not sent to it. Each request carries your server's IP address and a user agent naming the plugin, its version, your site's URL and the WordPress version, as the default WordPress user agent does.<\/p>\n\n<h4>Open-Meteo Weather Forecast API<\/h4>\n\n<ul>\n<li><strong>Endpoint:<\/strong> <code>https:\/\/api.open-meteo.com\/v1\/forecast<\/code>, or <code>https:\/\/customer-api.open-meteo.com\/v1\/forecast<\/code> once the API key of an Open-Meteo subscription is set in the plugin settings.<\/li>\n<li><strong>Used for:<\/strong> the current conditions and the hourly and daily weather forecasts of the location chosen in a Weather block.<\/li>\n<li><strong>Data sent:<\/strong> the latitude and longitude of that location (rounded to 2 decimals), the unit system (metric or imperial), the list of requested weather variables, the number of forecast days and, with a subscription, its API key. No data about your visitors or your content is sent.<\/li>\n<li><strong>When:<\/strong> when a page containing a Weather block is displayed, when the block refreshes its data, in the visitor's browser or in the Block Editor while it is open, and when the block is edited in the Block Editor. Answers are cached in a transient, 30 minutes by default (see <strong>Elio<\/strong> in the admin menu), so Open-Meteo is only called again once the cached copy has expired, unless you turn the cache off.<\/li>\n<\/ul>\n\n<h4>Open-Meteo Geocoding API<\/h4>\n\n<ul>\n<li><strong>Endpoint:<\/strong> <code>https:\/\/geocoding-api.open-meteo.com\/v1\/search<\/code><\/li>\n<li><strong>Used for:<\/strong> finding a location by name in the Block Editor.<\/li>\n<li><strong>Data sent:<\/strong> the text typed in the location search field and the maximum number of results.<\/li>\n<li><strong>When:<\/strong> only when a user who can edit posts searches for a location in the Block Editor. Answers are cached in a transient like weather forecasts. It is never called on the front end.<\/li>\n<\/ul>\n\n<h4>Terms, privacy and licence<\/h4>\n\n<p>The free Open-Meteo API, which this plugin uses, is for non-commercial use only and has daily request limits. Commercial use requires a paid Open-Meteo subscription. Open-Meteo weather data is licensed under CC BY 4.0: credit Open-Meteo where its data is shown. The Provider Attribution block does it at the bottom of every Weather block, (\"Weather data by Open-Meteo, licensed under CC BY 4.0\", both names linked): keep it, or credit Open-Meteo elsewhere on the page if you remove it.<\/p>\n\n<ul>\n<li>Open-Meteo website: <a href=\"https:\/\/open-meteo.com\/\">https:\/\/open-meteo.com\/<\/a><\/li>\n<li>Terms of use: <a href=\"https:\/\/open-meteo.com\/en\/terms#terms\">https:\/\/open-meteo.com\/en\/terms#terms<\/a><\/li>\n<li>Privacy policy: <a href=\"https:\/\/open-meteo.com\/en\/terms#privacy\">https:\/\/open-meteo.com\/en\/terms#privacy<\/a><\/li>\n<li>Data licence: <a href=\"https:\/\/open-meteo.com\/en\/licence\">https:\/\/open-meteo.com\/en\/licence<\/a><\/li>\n<li>Pricing for commercial use: <a href=\"https:\/\/open-meteo.com\/en\/pricing\">https:\/\/open-meteo.com\/en\/pricing<\/a><\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<p>The Elio icon collection is a rework inspired by <a href=\"https:\/\/tabler.io\/icons\">Tabler Icons<\/a> (MIT License).<\/p>\n\n<!--section=installation-->\n<h4>Installation from within WordPress<\/h4>\n\n<ol>\n<li>Visit <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Search for <strong>Elio Blocks<\/strong>.<\/li>\n<li>Install and activate the Elio Blocks plugin.<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>elio-blocks<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Visit <strong>Plugins<\/strong>.<\/li>\n<li>Activate the Elio Blocks plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20free%3F\"><h3>Is it free?<\/h3><\/dt>\n<dd><p>Yes, this plugin is totally free to use. Let the sunshine in. \u2600\ufe0f<\/p><\/dd>\n<dt id=\"does%20it%20require%20a%20license%20or%20an%20api%20key%3F\"><h3>Does it require a license or an API key?<\/h3><\/dt>\n<dd><p>No, this plugin uses the Open-Meteo API, an open-source weather API that needs no account and no API key. Its free access is for non-commercial use only: see the External services section below. For commercial use, enter the API key of an Open-Meteo subscription in the Providers section of the plugin settings. \ud83d\ude0e<\/p><\/dd>\n<dt id=\"how%20does%20it%20work%3F\"><h3>How does it work?<\/h3><\/dt>\n<dd><p>The plugin adds its own REST API endpoints: one serves the weather forecast, another finds locations by name. In the Block Editor, a data store fetches the forecast and passes it to the Weather block and all its inner blocks through block context. On the front end, the blocks are rendered on the server, then the Interactivity API keeps the data up to date in the browser. \u26a1\ufe0f<\/p><\/dd>\n<dt id=\"where%20can%20i%20find%20the%20source%20code%3F\"><h3>Where can I find the source code?<\/h3><\/dt>\n<dd><p>On <a href=\"https:\/\/github.com\/alexandrebuffet\/elio-blocks\">GitHub<\/a>: see the Source code section of the description.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20weather%20service%20other%20than%20open-meteo%3F\"><h3>Can I use a weather service other than Open-Meteo?<\/h3><\/dt>\n<dd><p>Open-Meteo is the only one included for now. The plugin was built so that others can join: a developer can register a new weather data provider in PHP, exactly the way Open-Meteo is registered: the <a href=\"https:\/\/alexandrebuffet.github.io\/elio-blocks\/docs\/\">handbook<\/a> shows how. \u26c5\ufe0f<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20weather%20icons%3F\"><h3>Can I change the weather icons?<\/h3><\/dt>\n<dd><p>Yes. Pick the icon collection for the whole site in the plugin settings, or for a single Weather block or icon in its sidebar. Developers can also register a collection of their own. \ud83c\udf19<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20blocks%3F\"><h3>Can I customize the blocks?<\/h3><\/dt>\n<dd><p>Yes. Like core blocks, the Weather blocks come with the standard design tools, such as colors, spacing and typography, straight from the Block Editor. Beyond that, you can style them with <code>theme.json<\/code>, block style variations or plain CSS. Clear skies ahead. \ud83c\udf24\ufe0f<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20widgets%20or%20shortcodes%3F\"><h3>Does it work with widgets or shortcodes?<\/h3><\/dt>\n<dd><p>No, this plugin only provides blocks. It's your time to shine: move from widgets and shortcodes to the Block Editor! \u26c8\ufe0f<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20classic%20editor%3F\"><h3>Does it work with the Classic Editor?<\/h3><\/dt>\n<dd><p>No, this plugin is only compatible with the Block Editor. Don\u2019t let your website get clouded: make the switch to the Block Editor today! \ud83c\udf27\ufe0f<\/p><\/dd>\n<dt id=\"can%20i%20use%20it%20with%20page%20builders%3F\"><h3>Can I use it with page builders?<\/h3><\/dt>\n<dd><p>No, this plugin only works with the Block Editor. Don\u2019t wait for the weather to change: move on to the native Block Editor! \ud83c\udf08<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Public release.<\/li>\n<\/ul>","raw_excerpt":"Easily display the current weather and forecasts for any location on your site, with blocks that feel native.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/376920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=376920"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alexandrebuffet"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=376920"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=376920"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=376920"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=376920"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=376920"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=376920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}