UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.15 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.IssueNew = 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.IssueNew = 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: "issue-new", ref: ref }, props), React.createElement("path", { d: isLarge ? "M263.331658 389.7651483800001C262.15757 386.3986238400001 261.275004 382.89542718 260.7142 379.2858008C245.915146 376.986566 232.905076 369.2788102 223.768152 358.246695C216.013146 359.401592 208.076456 360 200 360C111.63444 360 40 288.36556 40 200C40 111.63444 111.63444 40 200 40C288.36556 40 360 111.63444 360 200C360 208.0764558 359.401592 216.0131458 358.246694 223.768151C369.27881 232.9050762 376.986566 245.915146 379.2858 260.7141992C382.895428 261.275004 386.398624 262.157571 389.765148 263.3316578C396.4043000000001 243.4290932 400 222.134457 400 200C400 89.54305 310.45695 0 200 0C89.54305 0 0 89.54305 0 200C0 310.45695 89.54305 400 200 400C222.134456 400 243.429094 396.4042993 263.331658 389.7651483800001zM220 80L180 80L180 120L220 120L220 80zM220 140L180 140L180 320L220 320L220 140zM340 340L370 340C381.0456940000001 340 390 331.045695 390 320C390 308.954305 381.0456940000001 300 370 300L340 300L340 270C340 258.954305 331.0456940000001 250 320 250C308.9543060000001 250 300 258.954305 300 270L300 300L270 300C258.9543060000001 300 250 308.954305 250 320C250 331.045695 258.9543060000001 340 270 340L300 340L300 370C300 381.045695 308.9543060000001 390 320 390C331.0456940000001 390 340 381.045695 340 370L340 340z" : "M211.353824 311.58069588C211.16338 310.78072724 210.992216 309.97337186 210.84085 309.15914996C194.0910468 306.04531654 180.2470734 294.5528376 173.8379702 279.210753C169.2975554 279.7320842 164.6800652 280 160 280C93.72583 280 40 226.27417 40 160C40 93.72583 93.72583 40 160 40C226.2741700000001 40 280 93.72583 280 160C280 164.6485708 279.735678 169.2354058 279.221244 173.7462954C294.572066 180.1666064 306.059938 194.0399368 309.1644780000001 210.8418408C309.976894 210.9929628 310.782472 211.1637964 311.580696 211.3538244C317.039832 195.2347348 320 177.9630596 320 160C320 71.63444 248.36556 0 160 0C71.63444 0 0 71.63444 0 160C0 248.36556 71.63444 320 160 320C177.9630596 320 195.2347348 317.03983156 211.353824 311.58069588zM180 80L140 80L140 120L180 120L180 80zM180 140L140 140L140 240L180 240L180 140zM200 260C200 271 209 280 220 280L240 280L240 300C240 311 249 320 260 320C271 320 280 311 280 300L280 280L300 280C311 280 320 271 320 260C320 249 311 240 300 240L280 240L280 219.903193C280 208.903193 271 199.903193 260 199.903193C249 199.903193 240 208.903193 240 219.903193L240 240L220 240C209 240 200 249 200 260z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.IssueNew.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.IssueNew.displayName = "Blueprint5.Icon.IssueNew"; exports.default = exports.IssueNew; //# sourceMappingURL=issue-new.js.map