UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

31 lines 3.18 kB
/* * Copyright 2024 Palantir Technologies, Inc. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const WrenchTime = React.forwardRef((props, ref) => { const isLarge = props.size >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (React.createElement(SVGIconContainer, { iconName: "wrench-time", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M20 310C20 348.6 51.4 380 90 380S160 348.6 160 310S128.6 240 90 240S20 271.4 20 310zM80 350V305.8L111.2 274.6C113.2 272.8 115.8 271.8 118.4 271.8C120.8 271.8 123.4 272.8 125.4 274.6C129.2 278.6 129.2 284.8 125.4 288.8L100 314.2V350C100 355.6 95.6 360 90 360S80 355.6 80 350zM270.002 80C253.58 80 237.998 83.598 224.002 90.052L165.124 31.174C150.226 16.276 126.0714 16.276 111.1734 31.174C96.2754 46.072 96.2756 70.226 111.1736 85.124L170.052 144.002C163.6008 157.998 160.0024 173.578 160.0024 190C160.0024 250.7514 209.252 300 270.002 300C289.476 300 307.7680000000001 294.9394 323.636 286.0616L248.788 211.2142C237.072 199.498 237.072 180.504 248.788 168.788C260.504 157.072 279.498 157.072 291.214 168.788L366.062 243.6358C374.942 227.7684000000001 380.002 209.4752 380.002 190C380.002 129.2480000000001 330.754 80.0000000000001 270.002 80.0000000000001z" : "M0 250C0 288.6 31.4 320 70 320S140 288.6 140 250S108.6 180 70 180S0 211.4 0 250zM60 290V245.8L91.2 214.6C93.2 212.8 95.8 211.8 98.4 211.8C100.8 211.8 103.4 212.8 105.4 214.6C109.2 218.6 109.2 224.8 105.4 228.8L80 254.2V290C80 295.6 75.6 300 70 300S60 295.6 60 290zM191.6926 68.532L132.0992 8.938C120.1808 -2.98 100.8572 -2.98 88.9388 8.938C77.0204 20.858 77.0204 40.18 88.9388 52.1L148.5324 111.692C132.846 145.0576 138.7886 186.0678 166.3604 213.6396C194.0696 241.3488 235.3520000000001 247.2128 268.8060000000001 231.2314L208.786 171.2126C197.071 159.497 197.071 140.502 208.786 128.7862C220.5020000000001 117.07 239.4980000000001 117.07 251.214 128.7862L311.2320000000001 188.8048C327.2120000000001 155.351 321.348 114.0700000000001 293.64 86.36C266.068 58.788 225.058 52.8460000000001 191.6926 68.532z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); WrenchTime.defaultProps = { size: IconSize.STANDARD, }; WrenchTime.displayName = `Blueprint5.Icon.WrenchTime`; export default WrenchTime; //# sourceMappingURL=wrench-time.js.map