@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.9 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.AimpointsTarget = 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.AimpointsTarget = 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: "aimpoints-target", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M45.9164 156.742C32.4324 153.006 20.2204 146.21 10.07474 137.15C3.53794 156.914 0 178.044 0 200C0 310.457 89.543 400 200 400C221.956 400 243.086 396.46206 262.85 389.92526C253.79 379.7794 246.994 367.5674 243.258 354.0836C229.5 357.9386 214.99 360 200 360C111.6344 360 40 288.3656 40 200C40 185.01 42.0614 170.5 45.9164 156.742zM360 200C360 214.9902 357.938 229.499 354.084 243.2584C367.568 246.9938 379.7800000000001 253.789 389.9260000000001 262.8494C396.462 243.0852 400 221.9558 400 200C400 89.544 310.456 0 200 0C178.0442 0 156.9148 3.538 137.1506 10.074C146.211 20.22 153.0062 32.432 156.7416 45.916C170.501 42.062 185.0096 40 200 40C288.366 40 360 111.634 360 200zM380 330C380 302.3858 357.6140000000001 280 330 280C302.386 280 280 302.3858 280 330C280 357.6142 302.386 380 330 380C357.6140000000001 380 380 357.6142 380 330zM120 70C120 42.386 97.6142 20 70 20C42.3858 20 20 42.386 20 70C20 97.614 42.3858 120 70 120C97.6142 120 120 97.614 120 70zM200 320C188.955 320 180 311.0462 180 300V240C180 228.9538 188.955 220 200 220C211.044 220 220 228.9538 220 240V300C220 311.0462 211.044 320 200 320zM220 200C220 211.0462 228.956 220 240 220H300C311.044 220 320 211.0462 320 200C320 188.954 311.044 180 300 180H240C228.956 180 220 188.954 220 200zM80 200C80 211.0462 88.955 220 100 220H160C171.045 220 180 211.0462 180 200C180 188.954 171.045 180 160 180H100C88.955 180 80 188.954 80 200zM180 160C180 171.046 188.955 180 200 180C211.044 180 220 171.046 220 160V100C220 88.954 211.044 80 200 80C188.955 80 180 88.954 180 100V160z" : "M42.0176 137.971C28.082 134.77 15.53596 127.9292 5.43386 118.502C1.889708 131.737 0 145.6478 0 160C0 248.3656 71.6344 320 160 320C174.3522 320 188.263 318.110292 201.498 314.56614C192.0708 304.46404 185.23 291.918 182.029 277.9824C174.888 279.3074000000001 167.525 280 160 280C93.7258 280 40 226.2742 40 160C40 152.475 40.6926 145.112 42.0176 137.971zM280 160C280 167.525 279.308 174.888 277.9820000000001 182.029C291.918 185.23 304.464 192.0708 314.5660000000001 201.4972C318.11 188.263 320 174.3522 320 160C320 71.634 248.366 0 160 0C145.6478 0 131.737 1.89 118.5028 5.434C127.9292 15.536 134.77 28.082 137.971 42.018C145.112 40.692 152.475 40 160 40C226.274 40 280 93.726 280 160zM160 260C148.955 260 140 251.0462 140 240V200C140 188.9538 148.955 180 160 180C171.045 180 180 188.9538 180 200V240C180 251.0462 171.045 260 160 260zM180 160C180 171.0462 188.955 180 200 180H240C251.044 180 260 171.0462 260 160C260 148.9538 251.044 140 240 140H200C188.955 140 180 148.9538 180 160zM60 160C60 171.0462 68.955 180 80 180H120C131.045 180 140 171.0462 140 160C140 148.9538 131.045 140 120 140H80C68.955 140 60 148.9538 60 160zM140 120C140 131.0462 148.955 140 160 140C171.045 140 180 131.0462 180 120V80C180 68.954 171.045 60 160 60C148.955 60 140 68.954 140 80V120zM100 60C100 37.908 82.0914 20 60 20C37.9086 20 20 37.908 20 60C20 82.092 37.9086 100 60 100C82.0914 100 100 82.092 100 60zM260 220C282.092 220 300 237.9086 300 260C300 282.0914 282.092 300 260 300C237.908 300 220 282.0914 220 260C220 237.9086 237.908 220 260 220z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.AimpointsTarget.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.AimpointsTarget.displayName = "Blueprint5.Icon.AimpointsTarget";
exports.default = exports.AimpointsTarget;
//# sourceMappingURL=aimpoints-target.js.map
;