UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.22 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 IssueClosed = 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: "issue-closed", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M307.27922 282.0101012C302.160774 282.0101012 297.042328 283.9627228 293.137084 287.8679656L250.7106780000001 330.2943726C242.900192 338.1048584 242.900192 350.768158 250.7106780000001 358.5786438C258.521164 366.3891296 271.184464 366.3891296 278.99495 358.5786438L278.99495 358.5786438L307.27922 330.2943726L363.847764 386.86291502L363.847764 386.86291502C371.658248 394.67340084 384.321548 394.67340084 392.132034 386.86291502L392.132034 386.86291502L392.132034 386.86291502C399.9425200000001 379.0524292 399.9425200000001 366.3891296 392.132034 358.5786438L321.4213560000001 287.8679656C317.516114 283.9627228 312.397666 282.0101012 307.27922 282.0101012zM235.601426 396.84072574C230.880192 394.20219462 226.43975 390.87625772 222.426406 386.86291502C214.667826 379.1043336 209.478252 369.7495758 206.857684 359.8556876C204.583744 359.9515742 202.297526 360 200 360C111.63444 360 40 288.36556 40 200C40 111.63444 111.63444 40 200 40C288.36556 40 360 111.63444 360 200C360 220.7456014 356.0517200000001 240.569033 348.865602 258.759854C349.147896 259.031369 349.42792 259.3059872 349.7056280000001 259.5836944L379.144286 289.022353C392.492754 262.212331 400 231.9828712 400 200C400 89.54305 310.45695 0 200 0C89.54305 0 0 89.54305 0 200C0 310.45695 89.54305 400 200 400C212.150668 400 224.048262 398.916457076 235.601426 396.84072574zM220 80L180 80L180 120L220 120L220 80zM220 140L180 140L180 320L220 320L220 140z" : "M185.920271 317.9111775C178.6172174 314.9825308 171.773562 310.5603586 165.8578644 304.64466094C158.6293194 297.416116 153.6307622 288.8020344000001 150.8621926 279.6572852C88.8570008 274.9885608 40 223.1998624 40 160C40 93.72583 93.72583 40 160 40C226.2741700000001 40 280 93.72583 280 160C280 170.0364326 278.76788 179.7850882 276.446648 189.1029568C277.31587 189.8766984 278.165742 190.678368 278.99495 191.507576L308.114322 220.6269482C315.776066 201.9286014 320 181.4575772 320 160C320 71.63444 248.36556 0 160 0C71.63444 0 0 71.63444 0 160C0 248.36556 71.63444 320 160 320C168.8252026 320 177.4835236 319.285495176 185.920271 317.9111775zM236.568542 213.9339828C231.4500960000001 213.9339828 226.33165 215.8866042 222.426406 219.7918472L194.1421356 248.0761184C186.3316498 255.8866042 186.3316498 268.5499038 194.1421356 276.3603896C201.952622 284.1708756 214.615922 284.1708756 222.426406 276.3603896L236.568542 262.218254L271.923882 297.5735932C279.734368 305.38407896 292.397666 305.38407896 300.2081520000001 297.5735932C308.018638 289.7631072 308.018638 277.0998078 300.2081520000001 269.2893218L250.7106780000001 219.7918472C246.805436 215.8866042 241.686988 213.9339828 236.568542 213.9339828zM180 80L140 80L140 120L180 120L180 80zM180 140L140 140L140 240L180 240L180 140z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); IssueClosed.defaultProps = { size: IconSize.STANDARD, }; IssueClosed.displayName = `Blueprint5.Icon.IssueClosed`; export default IssueClosed; //# sourceMappingURL=issue-closed.js.map