@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 6.8 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.Endnote = 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.Endnote = 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: "endnote", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M338.856 368.5714C332.75 367.4286 326.464 366.8572 320 366.8572V341.1428H366.3300000000001V200H400V400H374.95C373.872 393.90476 371.538 388.7619000000001 367.9460000000001 384.57142C364.534 380.38094 360.314 376.9524 355.286 374.2858C350.438 371.6190000000001 344.9600000000001 369.7142 338.856 368.5714zM256.666 0C248.506 0 240.226 1.932 231.826 5.794C230.618 6.4 229.5060000000001 6.944 228.464 7.454C222.454 10.39 218.722 12.2140000000001 212.386 18.588V4.346H170.985V260H212.386V194.094L211.306 164.402C218.746 170.92 226.786 176.23 235.426 180.334C244.306 184.438 253.306 186.49 262.426 186.49C273.466 186.49 283.306 184.318 291.9460000000001 179.972C300.586 175.868 307.906 169.832 313.906 161.866C319.906 154.142 324.466 144.726 327.584 133.622C330.706 122.516 332.266 110.084 332.266 96.324C332.266 81.114 330.106 67.474 325.784 55.404C321.706 43.574 316.1860000000001 33.556 309.226 25.348C302.266 17.14 294.226 10.864 285.106 6.518C275.986 2.172 266.5060000000001 0 256.666 0zM248.026 34.402C259.786 34.402 269.626 39.47 277.546 49.61C285.466 59.99 289.426 75.3199999999999 289.426 95.598C289.426 113.464 286.4260000000001 127.344 280.426 137.242C274.426 147.14 264.706 152.09 251.266 152.09C238.786 152.09 225.826 145.45 212.386 132.172V49.248C218.626 43.696 224.746 39.832 230.746 37.66C236.986 35.488 242.746 34.402 248.026 34.402zM52.2 0.004C36.6 0.004 24 4.712 14.4 14.126C4.8 23.782 0 36.456 0 52.148C0 61.564 1.920002 69.8919999999999 5.76 77.134C9.84 84.618 16.08 91.016 24.48 96.326C33.12 101.638 43.92 106.104 56.88 109.726C70.08 113.346 85.8 116.122 104.04 118.054C103.8 122.64 103.08 126.986 101.88 131.09C100.92 135.436 99.12 139.178 96.48 142.316C94.08 145.696 90.84 148.23 86.76 149.92C82.68 151.852 77.64 152.818 71.64 152.818C63 152.818 54.48 151.128 46.08 147.748C37.92 144.368 29.88 140.264 21.96 135.436L6.84 163.318C16.68 169.596 27.72 175.028 39.96 179.614C52.2 184.2 65.4 186.494 79.56 186.494C101.64 186.494 118.08 179.856 128.88 166.578C139.92 153.542 145.44 134.59 145.44 109.726V4.35H104.04V21.77C96.12 15.0119999999999 90.48 11.47 81.36 6.884C72.48 2.298 62.76 0.004 52.2 0.004zM65.52 32.594C72.72 32.594 79.2 34.2840000000001 84.96 37.664C90.96 41.044 97.32 45.872 104.04 52.148V91.982C92.04 90.534 81.96 88.602 73.8 86.188C65.64 83.774 59.04 80.998 54 77.86C48.96 74.962 45.36 71.582 43.2 67.72C41.04 63.8580000000001 39.96 59.754 39.96 55.408C39.96 47.442 42.36 41.648 47.16 38.026C51.96 34.404 58.08 32.594 65.52 32.594zM0 400H400V0H0V400z" : "M11.8812 12.116C19.802 4.038 30.198 0 43.0694 0C51.7822 0 59.802 1.968 67.1288 5.902C74.6534 9.838 79.307 12.5 85.8416 18.298V3.728H120V94.136C120 115.47 115.4456 131.7282 106.3366 142.9126C97.4258 154.3042 83.8614 160 65.6436 160C53.9604 160 43.0694 158.0324 32.9704 154.097C22.8712 150.1618 13.76238 145.5016 5.64358 140.1166L18.11882 116.194C24.6534 120.3366 31.2872 123.8576 38.0198 126.7572C44.9506 129.657 51.9802 131.1068 59.109 131.1068C64.0594 131.1068 68.2178 130.2784 71.5842 128.6214C74.9504 127.1716 77.6238 124.9968 79.604 122.0972C81.7822 119.404 83.2674 116.194 84.0594 112.466C85.0496 108.944 85.6436 105.216 85.8416 101.282C70.792 99.624 57.8218 97.242 46.9306 94.136C36.2376 91.03 27.3268 87.198 20.198 82.64C13.26734 78.084 8.11882 72.596 4.75248 66.174C1.584168 59.962 7.06172e-7 52.816 0 44.738C-0.000001176954 31.276 3.96042 20.402 11.8812 12.116zM70.099 32.31C65.3466 29.41 60 27.962 54.0594 27.962C47.9208 27.962 42.8714 29.514 38.911 32.622C34.9506 35.728 32.9704 40.7 32.9704 47.534C32.9704 51.262 33.8614 54.784 35.6436 58.098C37.4258 61.41 40.396 64.31 44.5544 66.796C48.7128 69.488 54.1584 71.87 60.891 73.942C67.6238 76.012 75.9406 77.67 85.8416 78.912V44.738C80.297 39.352 75.0496 35.21 70.099 32.31zM192.8126 4.902C200.104 1.634 207.292 0 214.376 0C222.916 0 231.146 1.838 239.062 5.516C246.98 9.192 253.9580000000001 14.504 260 21.448C266.042 28.394 270.834 36.872 274.376 46.88C278.124 57.094 280 68.636 280 81.504C280 93.148 278.646 103.668 275.938 113.064C273.23 122.4608 269.27 130.4274 264.062 136.964C258.854 143.705 252.5 148.8116 245 152.2842C237.5 155.9612 228.9580000000001 157.7996 219.376 157.7996C211.458 157.7996 203.646 156.0632 195.9376 152.5906C188.4376 149.118 182.3958 144.6242 175.9376 139.1088V220H140V3.678H175.9376V16.096C181.9464 10.204 185.25 8.592 191.3856 5.6L192.8126 4.902zM232.5 41.978C225.626 33.398 217.084 29.11 206.876 29.11C202.292 29.11 197.2916 30.028 191.875 31.866C188.2026 33.164 184.4784 36.78 180.7024 40.448C179.1232 41.982 177.5348 43.526 175.9376 44.91V110C187.6042 121.2348 198.8542 128.691 209.688 128.691C221.354 128.691 229.792 124.5034 235 116.128C240.2080000000001 107.754 242.812 96.008 242.812 80.892C242.812 63.732 239.376 50.762 232.5 41.978zM274.142 294.8572C269.562 293.9428 264.848 293.4858 260 293.4858V272.9142L294.748 272.9142V160H320L320 319.999998357508L301.212 320C300.404 315.1238 298.654 311.00952 295.96 307.6571400000001C293.4 304.30476 290.236 301.56192 286.464 299.4286C282.8280000000001 297.2952 278.7200000000001 295.7714 274.142 294.8572z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Endnote.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Endnote.displayName = "Blueprint5.Icon.Endnote";
exports.default = exports.Endnote;
//# sourceMappingURL=endnote.js.map
;