@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 5.93 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.ForwardTen = 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.ForwardTen = 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: "forward-ten", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M195.0718 0C170.7562 0 147.9806 4.62 126.7452 13.86C105.5096 23.1 87.0298 35.582 71.3058 51.306C55.5818 67.03 43.0998 85.51 33.8598 106.746C24.62 127.98 20 150.756 20 175.072C20 199.388 24.62 222.1628 33.8598 243.3984C43.0998 264.634 55.5818 283.1136 71.3058 298.8378C87.0298 314.5618 105.5096 327.0438 126.7452 336.2836C147.9806 345.5236 170.7562 350.1434 195.0718 350.1434H197.9896L181.455 366.678C177.5646 370.5684 175.7004 375.1074 175.8624 380.2947C176.0246 385.48202 177.8888 390.02092 181.455 393.9114C185.3456 397.80188 189.9654 399.8281704 195.3148 399.9902738C200.664 400.1523772 205.284 398.288188 209.174 394.3977L259.264 344.3078C263.156 340.4172 265.1 335.8784 265.1 330.6910000000001C265.1 325.5038 263.156 320.9648 259.264 317.0744L209.174 266.9844C205.284 263.094 200.664 261.2298 195.3148 261.3918C189.9654 261.554 185.3456 263.5802 181.455 267.4708C177.8888 271.3612 176.0246 275.9 175.8624 281.0874C175.7004 286.2746 177.5646 290.8136 181.455 294.704L197.9896 311.2386H195.0718C157.1396 311.2386 124.962 298.0272 98.5392 271.6044C72.1162 245.1814 58.9048 213.004 58.9048 175.072C58.9048 137.14 72.1162 104.962 98.5392 78.54C124.962 52.116 157.1396 38.904 195.0718 38.904C233.004 38.904 265.182 52.116 291.604 78.54C318.028 104.962 331.2380000000001 137.14 331.2380000000001 175.072C331.2380000000001 180.584 333.1020000000001 185.204 336.832 188.932C340.56 192.66 345.18 194.524 350.6900000000001 194.524C356.202 194.524 360.822 192.66 364.55 188.932C368.2800000000001 185.204 370.144 180.584 370.144 175.072C370.144 150.756 365.524 127.98 356.284 106.746C347.044 85.51 334.562 67.03 318.838 51.306C303.114 35.582 284.634 23.1 263.398 13.86C242.162 4.62 219.388 0 195.0718 0zM230 210V150H250V210H230zM220 240C208.954 240 200 231.0456 200 220V140C200 128.954 208.954 120 220 120H260C271.046 120 280 128.954 280 140V220C280 231.0456 271.046 240 260 240H220zM180 220C180 231.0456 171.0456 240 160 240H135C126.7158 240 120 233.2842 120 225C120 216.7158 126.7158 210 135 210H150V135C150 126.716 156.7158 120 165 120C173.2842 120 180 126.716 180 135V220z" : "M160.0432 0C140.6104 0 122.3942 3.704 105.3944 11.114C88.3946 18.524 73.588 28.586 60.9744 41.3C48.3608 54.014 38.3784 68.924 31.0268 86.03C23.6756 103.136 20 121.4838 20 141.0708C20 160.658 23.6756 178.9842 31.0268 196.0494C38.3784 213.1144 48.3954 228.004 61.0784 240.7182C73.7614 253.4322 88.5932 263.4940000000001 105.5736 270.9038C122.5536 278.3136 140.7652 282.0184 160.2082 282.0184H162.42L153.0122 291.5012C149.7852 294.7538 148.1638 298.6418 148.1478 303.1653C148.1318 307.68872 149.6838 311.57666 152.804 314.82908C156.0308 318.221722 159.9494 319.9449242 164.56 319.998677194C169.1706 320.052678 173.0894 318.45333 176.3164 315.2006600000001L214.91 276.2996C218.832 272.296 220.792 267.6252 220.792 262.2872C220.792 256.949 218.832 252.3036 214.91 248.351L176.3164 209.45C173.0894 206.1972 169.1706 204.5978 164.56 204.6516C159.9494 204.7056 156.0308 206.3588 152.804 209.6112C149.6838 212.864 148.0972 216.717 148.0438 221.1702C147.9902 225.6238 149.577 229.4768 152.804 232.7292L162.6284 242.6322H160.2082C132.1496 242.6322 108.2796 232.7822 88.598 213.0824C68.9164 193.3828 59.0756 169.3926 59.0756 141.1122C59.0756 112.832 68.8676 88.808 88.4518 69.038C108.0358 49.27 131.8852 39.386 160 39.386C188.1148 39.386 211.964 49.236 231.548 68.936C251.132 88.634 260.9240000000001 112.624 260.9240000000001 140.9044C260.9240000000001 146.3756 262.824 151.0254 266.622 154.854C270.42 158.683 275.034 160.5974 280.462 160.5974C285.89 160.5974 290.504 158.683 294.302 154.854C298.1 151.0254 300 146.3756 300 140.9044C300 121.486 296.324 103.21 288.9720000000001 86.074C281.622 68.94 271.64 54.014 259.026 41.3C246.412 28.586 231.62 18.524 214.648 11.114C197.6774 3.704 179.4756 0 160.0432 0zM200 160H180V100H200V160zM180 180C168.9544 180 160 171.0456 160 160V100C160 88.954 168.9544 80 180 80H200C211.046 80 220 88.954 220 100V160C220 171.0456 211.046 180 200 180H180zM110 180C104.4772 180 100 175.5228 100 170C100 164.4772 104.4772 160 110 160H120V90C120 84.478 124.4772 80 130 80C135.5228 80 140 84.478 140 90V160C140 171.0456 131.0456 180 120 180H110z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.ForwardTen.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.ForwardTen.displayName = "Blueprint5.Icon.ForwardTen";
exports.default = exports.ForwardTen;
//# sourceMappingURL=forward-ten.js.map
;