UNPKG

@blueprintjs/icons

Version:

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

31 lines 6.54 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 Backlink = 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: "backlink", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M367.7420080000001 4.194092L365.857862 5.8578640000001L279.999998 91.7000000000001L279.999998 40C279.999998 28.954306 271.0456920000001 20 259.999998 20C248.954302 20 239.999998 28.954306 239.999998 40L240.055756 141.50477L240.055756 141.50477L240.4048 144.014516L240.4048 144.014516L240.99476 146.24285L240.99476 146.24285L241.873464 148.46443L241.873464 148.46443L242.919906 150.414176L242.919906 150.414176L244.258552 152.340446L244.258552 152.340446L245.858216 154.142816L245.858216 154.142816C246.565744 154.850016 247.313486 155.49374 248.093866 156.073308L250.318756 157.506576L250.318756 157.506576L252.573278 158.57549L252.573278 158.57549L254.680138 159.283098L254.680138 159.283098L257.667576 159.865446L257.667576 159.865446L259.999998 160L359.999998 160C371.0456920000001 160 379.999998 151.045696 379.999998 140C379.999998 128.954306 371.0456920000001 120 359.999998 120L308.299998 120L394.142134 34.1421359999999C401.95262 26.33165 401.95262 13.66835 394.142134 5.8578640000001C386.932454 -1.351814 375.5878340000001 -1.906406 367.7420080000001 4.194092zM140.716662 217.284882L51.7157288 128.284272L49.3790738 125.739976C36.1380284 110.024228 36.9169134 86.514544 51.7157288 71.715728C66.514544 56.916914 90.0242272 56.138028 105.7399758 69.379074L108.2842712 71.715728L197.2902504 160.696548C204.054786 135.339858 198.1542358 107.307152 179.588597 86.618918L176.5685424 83.431458L136.5685424 43.431458C105.3265992 12.189514 54.6734008 12.189514 23.4314576 43.431458C-6.76908772 73.632002 -7.77577256 121.971288 20.411403 153.381082L23.4314576 156.568542L63.4314576 196.568542C84.369871 217.506956 114.0272526 224.4124026 140.716662 217.284882zM274.142136 294.1421356C281.351814 286.9324564 281.906406 275.5878352 275.805908 267.7420112L274.142136 265.8578644L134.1421356 125.857864C126.3316498 118.047378 113.6683502 118.047378 105.8578644 125.857864C98.6481852 133.067544 98.0935944 144.412164 104.1940922 152.257988L105.8578644 154.142136L245.857864 294.1421356C253.66835 301.9526214 266.33165 301.9526214 274.142136 294.1421356zM356.568542 376.5685424C386.769088 346.3679972 387.775772 298.0287126 359.588598 266.6189182L356.568542 263.4314576000001L316.5685420000001 223.4314576C295.635388 202.4983036 265.987646 195.591068 239.303452 202.7097496L328.284272 291.7157288L330.620926 294.2600242C343.861972 309.9757728 343.083086 333.485456 328.284272 348.2842712C313.485456 363.0830866 289.975772 363.8619716 274.2600240000001 350.6209262L271.715728 348.2842712L182.715118 259.283338C175.9420936 284.6453164 181.8408552 312.6873770000001 200.411402 333.3810818L203.431458 336.5685424L243.431458 376.5685424C274.6734 407.81048584 325.3266 407.81048584 356.568542 376.5685424z" : "M280 120C291.045696 120 300 111.045696 300 100C300 88.954306 291.045696 80 280 80L268.3 80L314.142136 34.142136C321.952622 26.33165 321.952622 13.66835 314.142136 5.857864C306.932456 -1.351814 295.5878360000001 -1.906406 287.742012 4.194092L285.857864 5.857864L240 51.7L240 40C240 28.954306 231.045696 20 220 20C208.954306 20 200 28.954306 200 40L200.055758 101.50477L200.305626 103.49415L200.548454 104.670282L201.197892 106.83333L201.873468 108.46443L202.91991 110.414176L204.258554 112.340446L205.858218 114.142816C206.565746 114.850016 207.313488 115.49374 208.093868 116.073308L210.318758 117.506576L213.166992 118.802282L214.68014 119.283098L216.506916 119.694566L218.814968 119.965078L280 120zM120.716662 197.284882L51.7157288 128.2842712L49.3790738 125.7399758C36.1380284 110.024228 36.9169134 86.514544 51.7157288 71.715728C66.514544 56.916914 90.0242272 56.138028 105.7399758 69.379074L108.2842712 71.715728L177.2902504 140.6965488C184.054787 115.339858 178.1542358 87.307152 159.588597 66.618918L156.5685424 63.431458L136.5685424 43.431458C105.3265992 12.189514 54.6734008 12.189514 23.4314576 43.431458C-6.76908772 73.632002 -7.77577256 121.9712874 20.411403 153.3810818L23.4314576 156.5685424L43.4314576 176.5685424C64.369871 197.506956 94.0272526 204.4124026 120.716662 197.284882zM214.142136 234.1421356C221.351814 226.9324564 221.906406 215.5878352 215.805908 207.7420112L214.142136 205.8578644L114.1421356 105.857864C106.3316498 98.047378 93.6683502 98.047378 85.8578644 105.857864C78.6481852 113.067544 78.0935944 124.4121648 84.1940922 132.2579888L85.8578644 134.1421356L185.8578644 234.1421356C193.6683502 241.9526214 206.33165 241.9526214 214.142136 234.1421356zM276.5685420000001 296.5685424C306.769088 266.3679972 307.775772 218.0287126 279.588598 186.6189182L276.5685420000001 183.4314576L256.5685420000001 163.4314576C235.635388 142.4983036 205.987646 135.5910676 179.3034512 142.7097496L248.284272 211.7157288L250.620926 214.2600242C263.8619720000001 229.9757728 263.083086 253.485456 248.284272 268.2842712C233.485456 283.0830866 209.975772 283.8619716 194.2600242 270.6209262L191.7157288 268.2842712L122.715118 199.283338C115.9420936 224.6453164 121.8408552 252.687377 140.411403 273.3810818L143.4314576 276.5685424L163.4314576 296.5685424C194.6734008 327.81048584 245.3266 327.81048584 276.5685420000001 296.5685424z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); Backlink.defaultProps = { size: IconSize.STANDARD, }; Backlink.displayName = `Blueprint5.Icon.Backlink`; export default Backlink; //# sourceMappingURL=backlink.js.map