@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 4.2 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.
*/
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const RunHistory = 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: "run-history", ref: ref, ...props },
React.createElement("path", { d: isLarge ? "M200 360C111.6344 360 40 288.3656 40 200C40 111.634 111.6344 40 200 40C250.528 40 295.586 63.422 324.908 100H300C288.954 100 280 108.954 280 120C280 131.046 288.954 140 300 140H380C391.046 140 400 131.046 400 120V40C400 28.954 391.046 20 380 20C368.954 20 360 28.954 360 40V79.98C323.51 31.414 265.424 0 200 0C89.543 0 0 89.544 0 200C0 310.457 89.543 400 200 400V360zM400.0220000000001 199.986L360.0220000000001 199.938C360.014 206.8346 359.5600000000001 213.826 358.63 220.884C357.702 227.942 356.3300000000001 234.8126 354.554 241.476L393.204 251.7828C395.424 243.4522 397.134 234.8828 398.288 226.105C399.444 217.3274 400.012 208.6078 400.0220000000001 199.986zM373.25 300.0268L338.6160000000001 280.0130000000001C331.582 292.1848 323.002 303.2998 313.166 313.1224L341.43 341.4268C353.712 329.1626 364.442 315.2672 373.25 300.0268zM300.004 373.2146L279.978 338.5878C267.944 345.5470000000001 254.988 350.9584 241.41 354.6024L251.778 393.2353C268.778 388.6727200000001 284.978 381.90364 300.004 373.2146zM150.146 277.404C156.4162 280.9542 164.1112 280.857 170.29 277.1498000000001L270.29 217.1498C276.314 213.5354 280 207.0252 280 200C280 192.974 276.314 186.464 270.29 182.85L170.29 122.85C164.1112 119.142 156.4162 119.046 150.146 122.596C143.8758 126.146 140 132.794 140 140V260C140 267.2054 143.8758 273.8538 150.146 277.404z" : "M40 160C40 226.2742 93.7258 280 160 280V320C71.6344 320 0 248.3656 0 160C0 71.634 71.6344 0 160 0C203.588 0 243.138 17.458 271.976 45.716C274.752 48.436 277.428 51.256 280 54.17V40C280 28.954 288.954 20 300 20C311.046 20 320 28.954 320 40V100C320 111.046 311.046 120 300 120H240C228.954 120 220 111.046 220 100C220 88.954 228.954 80 240 80H249.442C247.684 78.036 245.864 76.128 243.98 74.284C222.316 53.056 192.703 40 160 40C93.7258 40 40 93.726 40 160zM320.008 161.389L280.01 160.9922C279.958 166.1638 279.572 171.4082 278.828 176.7044C278.084 182.0004 277.0080000000001 187.148 275.632 192.1336L314.19 202.7772C316.026 196.1284 317.452 189.285 318.438 182.2712C319.424 175.2574 319.94 168.286 320.008 161.389zM297.892 241.2316L263.434 220.9162C258.082 229.9936 251.576 238.2732 244.132 245.5782L272.148 274.1282C282.058 264.403 290.74 253.3618 297.892 241.2316zM238.786 299.2682L219.064 264.468C209.99 269.6104000000001 200.238 273.5832 190.0366 276.2256L200.068 314.9475C213.7 311.4162800000001 226.706 306.1143 238.786 299.2682zM151.094 216.641C144.9568 220.7324 137.066 221.1138 130.5628 217.6334C124.0596 214.153 120 207.3758 120 200V120C120 112.624 124.0596 105.846 130.5628 102.366C137.066 98.886 144.9568 99.268 151.094 103.358L211.094 143.359C216.658 147.0682 220 153.313 220 160C220 166.687 216.658 172.9316 211.094 176.641L151.094 216.641z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
RunHistory.defaultProps = {
size: IconSize.STANDARD,
};
RunHistory.displayName = `Blueprint5.Icon.RunHistory`;
export default RunHistory;
//# sourceMappingURL=run-history.js.map