@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 6.04 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/*
* 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 GitRebase = 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 (_jsx(SVGIconContainer, { iconName: "git-rebase", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M60 380C93.137 380 120 353.1372 120 320C120 293.8854 103.2904 271.7402 80 263.496V140C80 123.084 84.2144 114.068 89.1406 109.14C94.067 104.214 103.0828 100 120 100H211.718L185.8594 125.86C178.049 133.67 178.0494 146.33 185.8594 154.14C193.6698 161.952 206.33 161.952 214.14 154.14L274.14 94.14L275.43 92.714C276.26 91.71 276.974 90.644 277.578 89.532C278.462 87.904 279.112 86.182 279.512 84.414L279.804 82.754C279.886 82.158 279.952 81.558 279.98 80.958V79.042C279.966 78.742 279.91 78.444 279.882 78.144C279.688 76.056 279.19 73.988 278.34 72.032C277.7100000000001 70.582 276.8880000000001 69.206 275.898 67.91C275.768 67.738 275.646 67.552 275.508 67.382L274.14 65.86L214.14 5.86C206.332 -1.948 193.6692 -1.948 185.8594 5.86C178.0494 13.668 178.051 26.33 185.8594 34.14L211.718 60H120C96.9174 60 75.933 65.786 60.8594 80.86C45.7858 95.934 40 116.918 40 140V263.496C16.70968 271.7402 0 293.8854 0 320C0.0000438092 353.1372 26.863 380 60 380zM185.8594 394.14062C193.6698 401.951106 206.33 401.951106 214.14 394.14062C221.952 386.33004 221.952 373.6696 214.14 365.8594L188.2812 340H280C303.082 340 324.068 334.2142 339.14 319.1406C354.214 304.067 360 283.0828 360 260V136.524C383.294 128.282 400 106.118 400 80C400 46.864 373.1380000000001 20 340 20C306.862 20 280 46.864 280 80C280 106.118 296.706 128.282 320 136.524V260C320 276.9172 315.786 285.933 310.86 290.8594C305.932 295.7856 296.918 300 280 300H188.2812L214.14 274.1406C221.95 266.3298 221.952 253.6692 214.14 245.8594C206.332 238.0518 193.6692 238.0518 185.8594 245.8594L125.8594 305.8594L124.4922 307.3828C124.3542 307.552 124.2332 307.7376 124.1016 307.9102000000001C122.6632 309.7964 121.595 311.867 120.918 314.043C120.5136 315.339 120.2516 316.6678 120.1172 318.0078C120.083 318.3528 120.0358 318.6968 120.0196 319.043V320.957C120.0478 321.558 120.1132 322.157 120.1954 322.754L120.4882 324.414C120.6602 325.1758 120.91 325.9188000000001 121.1718 326.6602000000001C121.9316 328.8156 123.0486 330.872 124.5704 332.7148L125.8594 334.1406L185.8594 394.14062zM340 100C328.954 100 320 91.046 320 80C320 68.954 328.954 60 340 60C351.046 60 360 68.954 360 80C360 91.046 351.046 100 340 100zM60 340C48.9544 340 40 331.0458 40 320C40 308.9544 48.9544 300 60 300C71.0456 300 80 308.9544 80 320C80 331.0458 71.0456 340 60 340z" : "M60 300C93.137 300 120 273.1372 120 240C119.9994 213.8858 103.2902 191.7398 80 183.496V120C80.0006 109.81 83.172 105.906 85.3124 104.122C88.0954 101.804 92.9744 100 100 100H131.7188L115.8594 115.86C108.0494 123.6688 108.0508 136.3298 115.8594 144.1406C123.6698 151.951 136.3302 151.951 144.1406 144.1406L194.1406 94.14L195.4296 92.714C196.2598 91.71 196.9748 90.644 197.5782 89.532C198.4618 87.904 199.113 86.182 199.5118 84.414L199.8046 82.754C199.886 82.164 199.952 81.57 199.9804 80.976V79.042C199.964 78.696 199.8976 78.354 199.8632 78.008C199.6412 75.798 199.0816 73.614 198.125 71.562C197.6062 70.448 196.9662 69.382 196.2304 68.36C195.9962 68.034 195.764 67.696 195.5078 67.382L194.1406 65.86L144.1406 15.86C136.3308 8.054 123.6688 8.054 115.8594 15.86C108.0498 23.668 108.0516 36.33 115.8594 44.14L131.7188 60H100C87.0292 60 71.905 63.198 59.6876 73.378C46.83 84.094 40.0008 100.192 40 120V183.496C16.70984 191.7398 0.000610794 213.8858 0 240C0 273.1372 26.863 300 60 300zM175.8594 304.14062C183.6698 311.9511 196.3308 311.9511 204.14 304.14062C211.95 296.33 211.952 283.6694 204.14 275.8594L188.2812 260H220C232.972 260 248.094 256.8022 260.312 246.621C273.17 235.905 280 219.8084 280 200V136.5234C303.294 128.2812 320 106.118 320 80C320 46.864 293.1380000000001 20 260 20C226.862 20 200 46.864 200 80C200 106.118 216.706 128.2812 240 136.5234V200C240 210.1894 236.828 214.0948 234.688 215.879C231.906 218.1968 227.028 220 220 220H188.2812L204.14 204.1406C211.95 196.3298 211.952 183.6688 204.14 175.8594C196.3316 168.0528 183.669 168.0528 175.8594 175.8594L125.8594 225.8594C123.1156 228.6032 121.3424 231.9492 120.5274 235.4688C120.3326 236.3066 120.2028 237.1554 120.1172 238.0078C120.0828 238.3528 120.036 238.6968 120.0196 239.043V240.9766C120.048 241.571 120.114 242.1634 120.1954 242.754L120.4882 244.414C120.657 245.1618 120.897 245.893 121.1524 246.621C121.9136 248.7962 123.0342 250.8768 124.5704 252.7344L125.8594 254.1406L175.8594 304.14062zM260 100C248.954 100 240 91.046 240 80C240 68.954 248.954 60 260 60C271.046 60 280 68.954 280 80C280 91.046 271.046 100 260 100zM60 260C48.9544 260 40 251.0458 40 240C40.0008 228.955 48.9548 220 60 220C71.0452 220 79.9992 228.955 80 240C80 251.0458 71.0456 260 60 260z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
GitRebase.defaultProps = {
size: IconSize.STANDARD,
};
GitRebase.displayName = `Blueprint6.Icon.GitRebase`;
export default GitRebase;
//# sourceMappingURL=git-rebase.js.map