UNPKG

@blueprintjs/icons

Version:

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

35 lines 7.06 kB
"use strict"; /* * 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.Pistol = 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.Pistol = 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: "pistol", ref: ref }, props), React.createElement("path", { d: isLarge ? "M61.924 209.557C68.7908 195.824 55.3522 171.938 39.9548 144.57C24.1106 116.408 6.19222 84.56 6.19222 56.294C6.19222 51.792 10.96364 47.788 14.92204 45.24C18.2224 43.116 22.1538 42.362 26.0784 42.362H97.9518C108.8342 42.362 117.656 51.184 117.656 62.066C117.656 67.292 119.732 72.304 123.4272 75.9980000000001L126.6628 79.234C129.817 82.388 131.589 86.666 131.589 91.126C131.589 95.588 133.3608 99.866 136.515 103.02L138.5554 105.06C143.016 109.52 145.522 115.57 145.522 121.878V125.96C145.522 133.654 151.76 139.892 159.4548 139.892H229.12C244.51 139.892 256.986 152.368 256.986 167.758V195.624C256.986 211.0138 269.462 223.4898 284.852 223.4898H340.584H368.45C383.8400000000001 223.4898 396.316 235.966 396.316 251.3558V273.7098C396.316 275.355 396.98 276.9304 398.158 278.0788C399.336 279.2272 400 280.8036 400 282.4488V292.3092C400 294.2684 399.3520000000001 296.1736 398.158 297.7264C396.964 299.2792 396.316 301.1834 396.316 303.1426V307.0876C396.316 314.7826 390.0780000000001 321.0206 382.382 321.0206H375.4160000000001C371.568 321.0206 368.45 324.1396 368.45 327.9872000000001C368.45 331.8346 365.3300000000001 334.9536 361.4820000000001 334.9536H358.598C355.984 334.9536 353.478 333.9156 351.63 332.068L347.55 327.9872000000001C343.09 323.5266000000001 337.04 321.0206 330.732 321.0206H67.6952C64 321.0206 60.4562 322.4886 57.8432 325.1016C52.4024 330.5426 43.5804 330.5426 38.1394 325.1016C35.5264 322.4886 31.9826 321.0206 28.2874 321.0206H20.1254C12.43044 321.0206 6.19244 314.7826 6.19244 307.0876V257.934C6.19244 253.608 5.1414 249.3642 3.55954 245.3378C0.340952 237.1454 -3.56102 223.4898 6.19222 223.4898C8.43708 223.4898 11.15262 223.6336 14.1696 223.7932C29.8782 224.6242 53.7588 225.8874 61.924 209.557zM153.347 153.826H217.578C224.968 153.826 232.056 156.76 237.282 161.986L241.014 165.718C242.32 167.024 243.054 168.796 243.054 170.644V184.082C243.054 191.472 240.118 198.56 234.892 203.7858L231.162 207.5166C229.854 208.823 228.082 209.557 226.236 209.557H194.2882C190.4408 209.557 187.3218 206.438 187.3218 202.5904V197.734C187.3218 196.358 187.7288 195.014 188.4918 193.868L195.8662 182.808C200.09 176.472 192.5414 168.922 186.2054 173.146L175.1438 180.522C173.9994 181.284 172.6548 181.692 171.2794 181.692H162.5102C160.8234 181.692 159.4558 183.058 159.4558 184.746C159.4558 188.348 154.3118 188.98 153.4382 185.486L147.4204 161.416C146.4566 157.56 149.3726 153.826 153.347 153.826zM45.2754 275C43.1858 275 41.2342 273.9556 40.0752 272.2168L35.9084 265.9668C33.1394 261.8134 36.117 256.25 41.1088 256.25H363.586C365.676 256.25 367.626 257.2944 368.786 259.0332L372.952 265.2832C375.7220000000001 269.4366 372.7440000000001 275 367.752 275H45.2754z" : "M49.5392 167.6456C55.0326 156.6588 44.2818 137.5496 31.964 115.656C19.2884 93.126 4.95378 67.648 4.95378 45.036C4.95378 41.434 8.7709 38.23 11.93762 36.192C14.57792 34.494 17.7231 33.89 20.8628 33.89H78.3614C87.0672 33.89 94.1248 40.946 94.1248 49.652C94.1248 53.834 95.7856 57.842 98.7418 60.798L101.3304 63.388C103.8536 65.91 105.2712 69.332 105.2712 72.902C105.2712 76.47 106.6888 79.892 109.212 82.416L110.8444 84.048C114.4128 87.616 116.4176 92.456 116.4176 97.502V100.768C116.4176 106.924 121.408 111.914 127.564 111.914H183.2958C195.6078 111.914 205.588 121.8946 205.588 134.2064V156.4992C205.588 168.8112 215.57 178.792 227.882 178.792H272.466H294.76C307.072 178.792 317.052 188.7728 317.052 201.0848V218.968C317.052 220.284 317.584 221.5444 318.526 222.4632C319.468 223.3818 320 224.643 320 225.959V233.8474C320 235.4148 319.482 236.939 318.526 238.1812C317.57 239.4234 317.052 240.9468 317.052 242.5142V245.6702C317.052 251.8262 312.062 256.8166 305.906 256.8166H300.332C297.254 256.8166 294.76 259.3118 294.76 262.3898C294.76 265.4678 292.264 267.963 289.1860000000001 267.963H286.878C284.788 267.963 282.782 267.1326 281.3040000000001 265.6544L278.04 262.3898C274.472 258.8214 269.632 256.8166 264.586 256.8166H54.1562C51.2 256.8166 48.365 257.991 46.2746 260.0812C41.9218 264.4342 34.8644 264.4342 30.5116 260.0812C28.4212 257.991 25.586 256.8166 22.6298 256.8166H16.10034C9.94436 256.8166 4.95396 251.8262 4.95396 245.6702V206.3472C4.95396 202.8864 4.11312 199.4914 2.84762 196.2702C0.272764 189.7164 -2.84882 178.792 4.95378 178.792C6.74966 178.792 8.9221 178.9068 11.33568 179.0346C23.9026 179.6994 43.007 180.71 49.5392 167.6456zM122.6776 123.06H174.0626C179.975 123.06 185.6452 125.4086 189.8258 129.5894L192.8106 132.574C193.8556 133.6192 194.4428 135.0368 194.4428 136.5148V147.2652C194.4428 153.1776 192.0942 158.8478 187.9134 163.0284L184.9288 166.0132C183.8836 167.0582 182.466 167.6454 180.988 167.6454H155.4306C152.3526 167.6454 149.8574 165.1502 149.8574 162.0722V158.1866C149.8574 157.0862 150.183 156.0106 150.7934 155.095L156.6928 146.2458C160.072 141.177 154.033 135.138 148.9642 138.5172L140.115 144.4168C139.1996 145.027 138.1238 145.3528 137.0236 145.3528H130.0082C128.6586 145.3528 127.5646 146.4468 127.5646 147.7962C127.5646 150.6778 123.4494 151.1844 122.7504 148.389L117.9364 129.1324C117.1652 126.0478 119.4982 123.06 122.6776 123.06zM36.2202 220C34.5484 220 32.9874 219.1644 32.06 217.7734L28.7266 212.7734C26.5114 209.4508 28.8934 205 32.887 205H290.868C292.54 205 294.102 205.8356 295.028 207.2266L298.362 212.2266C300.578 215.5492 298.1960000000001 220 294.202 220H36.2202z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.Pistol.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.Pistol.displayName = "Blueprint5.Icon.Pistol"; exports.default = exports.Pistol; //# sourceMappingURL=pistol.js.map