@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.33 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.SubtractRightJoin = 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.SubtractRightJoin = 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: "subtract-right-join", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M400 200C400 266.2742 346.274 320 280 320C264.076 320 248.878 316.8986 234.9940000000001 311.2502C262.854 282.457 280 243.2308 280 200C280 156.77 262.854 117.542 234.976 88.732C248.878 83.102 264.076 80 280 80C346.274 80 400 133.726 400 200zM165.022 311.2684C151.1196 316.8992 135.922 320 120 320C53.7258 320 0 266.2742 0 200C0 133.726 53.7258 80 120 80C135.922 80 151.1196 83.1 165.0066 88.75C137.1452 117.542 120 156.77 120 200C120 243.2308 137.1452 282.457 165.022 311.2684zM274.432 299.848C276.278 299.9492 278.136 300 280 300C335.228 300 380 255.2284 380 200C380 144.772 335.228 100 280 100L274.4340000000001 100.152L270 100.52L272.562 104.43C290.28 132.654 300 165.574 300 200L299.886 206.436C298.754 238.5198 289.174 269.1064 272.57 295.5622L270 299.5L274.432 299.848zM240 200.5558C240 165.016 224.55 133.084 200 111.112C175.45 133.084 160 165.016 160 200.5558C160 236.0958 175.45 268.0272 200 290C203.068 287.2534 205.996 284.3512 208.768 281.3058C228.172 259.988 240 231.6532000000001 240 200.5558zM200.02 260.5566L198.327 258.2854C186.547 241.6606 180 221.6464 180 200.5566C180 180.332 186.0232 161.106 196.8886 144.926L200 140.536C211.854 156.32 218.864 175.314 219.874 195.49L220 200.5566C220 220.773 213.982 239.996 203.122 256.184L200.02 260.5566z" : "M120.112 257.9768000000001C94.557 231.8448 80 197.0942 80 160C80 122.6888 94.7292 87.778 120.031 62.006C113.5592 60.69 106.8602 60 100 60C44.7716 60 0 104.772 0 160C0 215.2284 44.7716 260 100 260C106.8888 260 113.615 259.3034 120.112 257.9768000000001zM320 160C320 215.2284 275.228 260 220 260C213.142 260 206.446 259.3098 199.994 257.993C225.278 232.2096 240 197.3018 240 160C240 122.708 225.286 87.808 199.9962 62.002C206.46 60.688 213.15 60 220 60C275.228 60 320 104.772 320 160zM260 160C260 187.3892 253.032 213.8948 240.02 237.46L243.106 236.6128C276.024 226.699 300 196.1496 300 160L299.9020000000001 156.0072C298.212 121.6158 274.804 92.934 243.106 83.388L240 82.54L243.234 88.64C254.148 110.54 260 134.8986 260 160zM160.024 240C184.2992 221.7548 200 192.7162 200 160.0108C200 127.3052 184.2992 98.266 160.024 80.022C135.7094 98.25 120 127.296 120 160.0108C120 191.985 135.0066 220.4546 158.3608 238.7602L160.024 240zM159.98 212.9108L157.7796 210.3124C146.438 196.3102 140 178.7028 140 160.0108C140 140.8796 146.7464 122.8984 158.5688 108.768L160 107.15L161.4476 108.768C172.2748 121.7296 178.8414 137.9184 179.8606 155.2556L180 160.0108C180 179.1328 173.259 197.1136 161.4476 211.2532L159.98 212.9108z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.SubtractRightJoin.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.SubtractRightJoin.displayName = "Blueprint5.Icon.SubtractRightJoin";
exports.default = exports.SubtractRightJoin;
//# sourceMappingURL=subtract-right-join.js.map
;