UNPKG

@blueprintjs/icons

Version:

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

31 lines 3.52 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 Excavator = 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: "excavator", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M383.216 203.9222C381.346 213.2708 373.1380000000001 220 363.604 220H320V300C320 311.0456 311.046 320 300 320H230C223.704 320 217.776 317.036 214 312L195.2168 280L162.7512 224.688C160.9494 221.6184 159.9994 218.1234 159.9994 214.564V160C159.9994 148.954 168.9538 140 179.9994 140H375.6040000000001C388.2240000000001 140 397.69 151.546 395.216 163.922L383.216 203.9222zM200 220L235.2 280H280V220H200zM85 390.00004C73.895 395.55258 56.735 389.11658 53.1674 377.2244L0 200C0 161.206 19.04042 148.1 50.0212 141.766C56.263 140.492 62.6614 142.662 67.1664 147.166L120 200H40L80 340.113L180 300L187.433 311.1494C194.106 321.1588 190.534 334.733 179.7742 340.113L85 390.00004zM60 60C60 93.138 86.863 120 120 120H340C373.1380000000001 120 400 93.138 400 60C400 26.862 373.1380000000001 0 340 0H120C86.863 0 60 26.862 60 60zM100 60C100 71.046 108.9544 80 120 80H340C351.046 80 360 71.046 360 60C360 48.954 351.046 40 340 40H120C108.9544 40 100 48.954 100 60z" : "M284.386 200.0002C293.564 200.0002 301.562 193.7542 303.788 184.8508L313.788 144.8508C316.944 132.2278 307.398 120 294.386 120H160.0012C148.9556 120 140.0012 128.9544 140.0012 140V213.9446C140.0012 217.893 141.17 221.7532 143.3602 225.0386L174.064 271.094C177.7732 276.658 184.0178 280 190.705 280H240.002C251.046 280 260.002 271.0458 260.002 260V200.0002H284.386zM206.6 240.0002L180 200.0002L220.002 200.0002V240L206.6 240.0002zM34.443 297.7716C37.3824 309.52952 50.0208 315.99168 61.2736 311.49052L119.8186 288.0726C130.6826 283.727 135.5122 271.0242 130.2794 260.5588L120 240.0002L60 260L40 160.0002H100L55.2588 117.804C50.1742 113.008 42.9092 111.096 36.3044 113.38C15.6341 120.5336 0.910752 131.521 0.0413692 157.5296C-0.01326182 159.1638 0.201246 160.8024 0.59786 162.3888L5.00062 180L34.443 297.7716zM60 50C60 77.614 82.3858 100 110 100H270C297.614 100 320 77.614 320 50C320 22.386 297.614 0 270 0H110C82.3858 0 60 22.386 60 50zM100 50C100 55.522 104.4772 60 110 60H270C275.522 60 280 55.522 280 50C280 44.478 275.522 40 270 40H110C104.4772 40 100 44.478 100 50z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); Excavator.defaultProps = { size: IconSize.STANDARD, }; Excavator.displayName = `Blueprint5.Icon.Excavator`; export default Excavator; //# sourceMappingURL=excavator.js.map