@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.34 kB
JavaScript
/*
* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Buggy = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var iconTypes_1 = require("../../iconTypes");
var svgIconContainer_1 = require("../../svgIconContainer");
exports.Buggy = React.forwardRef(function (props, ref) {
var isLarge = props.size >= iconTypes_1.IconSize.LARGE;
var pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
var translation = "".concat(-1 * pixelGridSize / 0.05 / 2);
var style = { transformOrigin: "center" };
return (React.createElement(svgIconContainer_1.SVGIconContainer, tslib_1.__assign({ iconName: "buggy", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M316.712 379.7268000000001C325.372 381.17018 333.962 376.7962 337.8880000000001 368.9432L387.514 269.693L387.904 269.7768C390.858 270.4094 393.938 269.674 396.286 267.7754C398.636 265.8768 400 263.0186 400 259.9986V169.998C400 164.476 395.522 159.998 390 159.998H311.408C301.376 159.998 292.01 154.986 286.4460000000001 146.64L258.32 104.452C256.466 101.67 253.344 99.998 250 99.998H160C157.3478 99.998 154.8042 101.052 152.929 102.928L104.6446 151.212C99.0186 156.838 91.388 159.998 83.4314 159.998H10C4.47716 159.998 0 164.476 0 169.998V229.9986C0 235.5216 4.47716 239.9986 10 239.9986H26.4592L61.4304 327.4266C64.0256 333.9148 69.8192 338.578 76.712 339.7268000000001L316.712 379.7268000000001zM322.5 310.2778L347.12 261.0372L291.97 249.2194L322.5 310.2778zM290.002 334.7232L258.8060000000001 272.3344L253.756 285.0888L237.254 325.932L290.002 334.7232zM94.3896 302.1212L196.8346 319.1954L216.592 270.2976L234.574 224.8862L204.648 179.998H154.1422L97.071 237.0698C95.1958 238.9452 92.6522 239.9986 90 239.9986H69.5406L94.3896 302.1212zM60 19.998C93.137 19.998 120 46.862 120 79.998C120 113.136 93.137 139.998 60 139.998C26.863 139.998 0 113.136 0 79.998C0 46.862 26.863 19.998 60 19.998zM340 19.998C373.1380000000001 19.998 400 46.862 400 79.998C400 113.136 373.1380000000001 139.998 340 139.998C306.862 139.998 280 113.136 280 79.998C280 46.862 306.862 19.998 340 19.998z" : "M278.57 307.42704C275.23 315.7762 266.728 320.8699460000001 257.79 319.8769104L77.791 299.877C71.5872 299.1876 66.0612 295.6414 62.8498 290.2892L8.61942 199.9054C3.7502 199.2326 0.000610352 195.0542 0.000610352 190V130C0.000610352 124.477 4.47776 120 10.00062 120H65.9694C72.7816 120 79.3908 117.682 84.7102 113.426L123.7536 82.192C125.5268 80.772 127.7298 80 130.0006 80H200C203.148 80 206.112 81.482 208 84L226 108C231.666 115.554 240.558 120 250 120H310C315.524 120 320 124.477 320 130V210C320 213.0566 318.602 215.9456 316.206 217.8422C315.478 218.417 314.684 218.8816 313.848 219.2304L278.57 307.42704zM247.21 278.12L247.082 278.4408L183.7658 271.4058L206.188 209.7472L247.21 278.12zM256.54 254.796L223.57 199.847L273.774 211.7128L256.54 254.796zM192.0584 190.0774L163.311 269.133L92.0532 261.2154L55.3238 200H70.0006C72.7862 200 75.4456 198.838 77.3382 196.794L124.3692 146.0004H162.6482L191.6796 189.5474C191.8004 189.7286 191.9268 189.9054 192.0584 190.0774zM50 0C77.6142 0 100 22.386 100 50C100 77.614 77.6142 100 50 100C22.3858 100 0 77.614 0 50C0 22.386 22.3858 0 50 0zM270 0C297.614 0 320 22.386 320 50C320 77.614 297.614 100 270 100C242.386 100 220 77.614 220 50C220 22.386 242.386 0 270 0z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Buggy.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Buggy.displayName = "Blueprint5.Icon.Buggy";
exports.default = exports.Buggy;
//# sourceMappingURL=buggy.js.map
;