UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 4.56 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconWeather = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 8C13.2135 8 15.5372 9.66326 16.5107 12.0254C19.0323 12.2812 21 14.411 21 17C21 19.7614 18.7614 22 16 22H6.5C4.01472 22 2 19.9853 2 17.5C2 15.9198 2.81482 14.5304 4.04688 13.7275C4.42891 10.5019 7.17159 8 10.5 8ZM10.5 9.5C8.02128 9.5 5.96274 11.3053 5.56934 13.6729L5.53613 13.9043L5.4541 14.6006L4.86621 14.9844C4.04065 15.5223 3.5 16.4485 3.5 17.5C3.5 19.1569 4.84315 20.5 6.5 20.5H16C17.933 20.5 19.5 18.933 19.5 17C19.5 15.1885 18.1227 13.6965 16.3594 13.5176L15.4658 13.4268L15.124 12.5967C14.3737 10.7763 12.5843 9.5 10.5 9.5Z" }), _jsx("path", { d: "M14.75 5C17.0972 5 19 6.90279 19 9.25C19 9.59727 18.9566 9.93345 18.8789 10.2539C18.7813 10.6564 18.3761 10.9032 17.9736 10.8057C17.5712 10.708 17.3243 10.3029 17.4219 9.90039C17.4728 9.69032 17.5 9.47279 17.5 9.25C17.5 7.73122 16.2688 6.5 14.75 6.5C14.2873 6.5 13.8536 6.61412 13.4727 6.81445C13.1061 7.00723 12.6519 6.8664 12.459 6.5C12.2662 6.13349 12.407 5.67923 12.7734 5.48633C13.3645 5.17543 14.0381 5 14.75 5Z" }), _jsx("path", { d: "M22.25 8.5C22.6642 8.5 23 8.83579 23 9.25C23 9.66421 22.6642 10 22.25 10H21.25C20.8358 10 20.5 9.66421 20.5 9.25C20.5 8.83579 20.8358 8.5 21.25 8.5H22.25Z" }), _jsx("path", { d: "M19.5234 3.41602C19.8163 3.12361 20.2912 3.12333 20.584 3.41602C20.8769 3.70891 20.8769 4.18465 20.584 4.47754L19.877 5.18457C19.5841 5.47746 19.1083 5.47746 18.8154 5.18457C18.5227 4.89182 18.523 4.41693 18.8154 4.12402L19.5234 3.41602Z" }), _jsx("path", { d: "M8.91602 3.41602C9.2088 3.1233 9.68366 3.12349 9.97656 3.41602L10.6836 4.12305C10.9765 4.41594 10.9765 4.89168 10.6836 5.18457C10.3907 5.47702 9.9158 5.47725 9.62305 5.18457L8.91602 4.47656C8.62347 4.18364 8.62324 3.70879 8.91602 3.41602Z" }), _jsx("path", { d: "M14.75 1C15.1642 1 15.5 1.33579 15.5 1.75V2.75C15.5 3.16421 15.1642 3.5 14.75 3.5C14.3358 3.5 14 3.16421 14 2.75V1.75C14 1.33579 14.3358 1 14.75 1Z" })] })); default: return (_jsxs("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 7C11.0677 7 12.8424 8.25502 13.6035 10.0449C15.5263 10.3359 17 11.996 17 14C17 16.2091 15.2091 18 13 18H5.5C3.567 18 2 16.433 2 14.5C2 13.0855 2.83928 11.8674 4.04688 11.3154C4.38064 8.87792 6.47082 7 9 7ZM9 8C7.04083 8 5.40914 9.40942 5.06641 11.2695L5.03809 11.4512L4.96289 11.9961L4.46289 12.2246C3.5979 12.6199 3 13.4914 3 14.5C3 15.8807 4.11929 17 5.5 17H13C14.6569 17 16 15.6569 16 14C16 12.4978 14.8952 11.2513 13.4541 11.0332L12.9014 10.9502L12.6836 10.4365C12.0739 9.00266 10.6526 8 9 8Z" }), _jsx("path", { d: "M12.5 4C14.433 4 16 5.567 16 7.5C16 8.10498 15.8454 8.67446 15.5752 9.1709C15.4432 9.41341 15.139 9.5031 14.8965 9.37109C14.654 9.23906 14.5643 8.93491 14.6963 8.69238C14.8894 8.33764 15 7.93232 15 7.5C15 6.11929 13.8807 5 12.5 5C11.8149 5 11.1942 5.27486 10.7422 5.72168L10.5586 5.92383C10.3844 6.13798 10.0697 6.17028 9.85547 5.99609C9.64131 5.82186 9.60901 5.50718 9.7832 5.29297L9.90723 5.14844C10.547 4.44351 11.4721 4 12.5 4Z" }), _jsx("path", { d: "M18.5 7C18.7761 7 19 7.22386 19 7.5C19 7.77614 18.7761 8 18.5 8H17.5C17.2239 8 17 7.77614 17 7.5C17 7.22386 17.2239 7 17.5 7H18.5Z" }), _jsx("path", { d: "M7.90332 2.90332C8.09844 2.70829 8.41508 2.70853 8.61035 2.90332L9.31738 3.61133C9.51264 3.80659 9.51264 4.1231 9.31738 4.31836C9.12209 4.51322 8.80548 4.51349 8.61035 4.31836L7.90332 3.61133C7.70806 3.41607 7.70806 3.09858 7.90332 2.90332Z" }), _jsx("path", { d: "M16.3887 2.9043C16.5839 2.70903 16.9014 2.70903 17.0967 2.9043C17.2915 3.09957 17.2917 3.41621 17.0967 3.61133L16.3887 4.31836C16.1934 4.51328 15.8768 4.51351 15.6816 4.31836C15.4865 4.12321 15.4867 3.80661 15.6816 3.61133L16.3887 2.9043Z" }), _jsx("path", { d: "M12.5 1C12.7761 1 13 1.22386 13 1.5V2.5C13 2.77614 12.7761 3 12.5 3C12.2239 3 12 2.77614 12 2.5V1.5C12 1.22386 12.2239 1 12.5 1Z" })] })); } }; IconWeather.iconName = "weather"; export default IconWeather;