@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 5.3 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconVolume = (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", { d: "M19.4853 3.51459C19.1924 3.2217 18.7175 3.2217 18.4246 3.51459C18.1317 3.80749 18.1317 4.28236 18.4246 4.57525C19.3996 5.55027 20.1731 6.70778 20.7007 7.9817C21.2284 9.25562 21.5 10.621 21.5 11.9999C21.5 13.3788 21.2284 14.7441 20.7007 16.018C20.1731 17.292 19.3996 18.4495 18.4246 19.4245C18.1317 19.7174 18.1317 20.1923 18.4246 20.4852C18.7175 20.778 19.1924 20.778 19.4853 20.4852C20.5996 19.3709 21.4835 18.048 22.0866 16.5921C22.6896 15.1362 23 13.5757 23 11.9999C23 10.424 22.6896 8.86358 22.0866 7.40767C21.4835 5.95176 20.5996 4.62889 19.4853 3.51459Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.29289 20.2928L5 15.9999H3C1.89543 15.9999 1 15.1044 1 13.9999V9.99987C1 8.8953 1.89543 7.99987 3 7.99987H5L9.29289 3.70698C9.92286 3.07702 11 3.52318 11 4.41409V19.5857C11 20.4766 9.92286 20.9227 9.29289 20.2928ZM5.62132 14.4999H3C2.72386 14.4999 2.5 14.276 2.5 13.9999V9.99987C2.5 9.72373 2.72386 9.49987 3 9.49987H5.62132L9.5 5.6212V18.3786L5.62132 14.4999Z" }), _jsx("path", { d: "M15.9497 5.98947C16.2426 5.69657 16.7175 5.69657 17.0104 5.98947C17.7997 6.77876 18.4258 7.7158 18.853 8.74706C19.2801 9.77833 19.5 10.8836 19.5 11.9999C19.5 13.1161 19.2801 14.2214 18.853 15.2527C18.4258 16.284 17.7997 17.221 17.0104 18.0103C16.7175 18.3032 16.2426 18.3032 15.9497 18.0103C15.6569 17.7174 15.6569 17.2425 15.9497 16.9496C16.5998 16.2996 17.1154 15.5279 17.4672 14.6787C17.8189 13.8294 18 12.9191 18 11.9999C18 11.0806 17.8189 10.1704 17.4672 9.32109C17.1154 8.47181 16.5998 7.70014 15.9497 7.05013C15.6569 6.75723 15.6569 6.28236 15.9497 5.98947Z" }), _jsx("path", { d: "M14.5355 8.46434C14.2426 8.17145 13.7678 8.17145 13.4749 8.46434C13.182 8.75723 13.182 9.23211 13.4749 9.525C13.7999 9.85001 14.0577 10.2358 14.2336 10.6605C14.4095 11.0851 14.5 11.5402 14.5 11.9999C14.5 12.4595 14.4095 12.9146 14.2336 13.3393C14.0577 13.7639 13.7999 14.1497 13.4749 14.4747C13.182 14.7676 13.182 15.2425 13.4749 15.5354C13.7678 15.8283 14.2426 15.8283 14.5355 15.5354C14.9998 15.0711 15.3681 14.5199 15.6194 13.9133C15.8707 13.3067 16 12.6565 16 11.9999C16 11.3433 15.8707 10.6931 15.6194 10.0865C15.3681 9.47983 14.9998 8.92863 14.5355 8.46434Z" })] }));
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", { d: "M16.0711 2.92916C15.8758 2.7339 15.5592 2.7339 15.364 2.92916C15.1687 3.12442 15.1687 3.44101 15.364 3.63627C16.1997 4.472 16.8626 5.46415 17.3149 6.55608C17.7672 7.64801 18 8.81833 18 10.0002C18 11.1821 17.7672 12.3525 17.3149 13.4444C16.8626 14.5363 16.1997 15.5285 15.364 16.3642C15.1687 16.5595 15.1687 16.876 15.364 17.0713C15.5592 17.2666 15.8758 17.2666 16.0711 17.0713C16.9997 16.1427 17.7362 15.0403 18.2388 13.8271C18.7413 12.6138 19 11.3134 19 10.0002C19 8.68701 18.7413 7.38665 18.2388 6.1734C17.7362 4.96014 16.9997 3.85775 16.0711 2.92916Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 3.50023C9 3.298 8.87818 3.11568 8.69134 3.03829C8.5045 2.9609 8.28945 3.00368 8.14645 3.14668L4.29289 7.00023H3C1.89543 7.00023 1 7.89566 1 9.00023V11.0002C1 12.1048 1.89543 13.0002 3 13.0002H4.29289L8.14645 16.8538C8.28945 16.9968 8.5045 17.0396 8.69134 16.9622C8.87818 16.8848 9 16.7025 9 16.5002V3.50023ZM4.85355 7.85378L8 4.70734V15.2931L4.85355 12.1467C4.75979 12.0529 4.63261 12.0002 4.5 12.0002H3C2.44772 12.0002 2 11.5525 2 11.0002V9.00023C2 8.44795 2.44772 8.00023 3 8.00023H4.5C4.63261 8.00023 4.75979 7.94755 4.85355 7.85378Z" }), _jsx("path", { d: "M11.8284 7.1718C11.6332 6.97654 11.3166 6.97654 11.1213 7.1718C10.9261 7.36706 10.9261 7.68365 11.1213 7.87891C11.3999 8.15749 11.6209 8.4882 11.7716 8.85218C11.9224 9.21616 12 9.60626 12 10.0002C12 10.3942 11.9224 10.7843 11.7716 11.1483C11.6209 11.5123 11.3999 11.843 11.1213 12.1216C10.9261 12.3168 10.9261 12.6334 11.1213 12.8287C11.3166 13.0239 11.6332 13.0239 11.8284 12.8287C12.1999 12.4572 12.4945 12.0163 12.6955 11.531C12.8965 11.0457 13 10.5255 13 10.0002C13 9.47494 12.8965 8.9548 12.6955 8.4695C12.4945 7.98419 12.1999 7.54324 11.8284 7.1718Z" }), _jsx("path", { d: "M13.2426 5.05048C13.4379 4.85522 13.7545 4.85522 13.9497 5.05048C14.5998 5.70049 15.1154 6.47217 15.4672 7.32145C15.8189 8.17072 16 9.08098 16 10.0002C16 10.9195 15.8189 11.8297 15.4672 12.679C15.1154 13.5283 14.5998 14.3 13.9497 14.95C13.7545 15.1452 13.4379 15.1452 13.2426 14.95C13.0474 14.7547 13.0474 14.4381 13.2426 14.2429C13.7998 13.6857 14.2417 13.0243 14.5433 12.2963C14.8448 11.5684 15 10.7882 15 10.0002C15 9.2123 14.8448 8.43208 14.5433 7.70413C14.2417 6.97618 13.7998 6.31474 13.2426 5.75759C13.0474 5.56233 13.0474 5.24574 13.2426 5.05048Z" })] }));
}
};
IconVolume.iconName = "volume";
export default IconVolume;