@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 4.13 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 RefreshOff = 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: "refresh-off", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M120 140C131.0458 140 140 131.046 140 120C140 108.954 131.0458 100 120 100H85.996C112.0684 73.6 155.6518 60 200 60C223.48 60 246.338 65.92 266.622 76.894L295.82 47.696C267.338 29.776 234.186 20 200 20C151.2264 20 96.3604 34.3439999999999 60 69.434V40C60 28.954 51.0456 20 40 20C28.9544 20 20 28.954 20 40V120C20 131.046 28.9544 140 40 140H120zM360 220C371.046 220 380 211.0456 380 200C380 165.862 370.254 132.752 352.382 104.296L323.164 133.496C334.1 153.75 340 176.566 340 200C340 211.0456 348.954 220 360 220zM76.875 266.6406C65.8972 246.3566 60 223.4818 60 200C60 188.954 51.0456 180 40 180C28.9544 180 20 188.954 20 200C20 234.1886 29.7554 267.3564 47.6758 295.8398L76.875 266.6406zM360 380C371.046 380 380 371.0456 380 360V280C380 268.9544 371.046 260 360 260H280C268.954 260 260 268.9544 260 280C260 291.0456 268.954 300 280 300H314.004C287.932 326.4008 244.348 340 200 340C176.5388 340 153.6886 334.1038 133.418 323.1446L104.1992 352.3632C132.6726 370.2654 165.8296 380 200 380C248.774 380 303.64 365.657 340 330.5664V360C340 371.0456 348.954 380 360 380zM40 380C45.5988 380 50.5994 377.8024 54.1992 374.004L374.2000000000001 54.2C377.8 50.6 380 45.6 380 40C380 29 371 20 360 20C354.402 20 349.4 22.198 345.8 25.996L25.8008 345.8008C22.2008 349.4008 20 354.4 20 360C20 371 29 380 40 380z" : "M100 120C111.0458 120 120 111.046 120 100C120 88.954 111.0458 80 100 80H88.2812C105.9628 66.684 131.66 60 160 60C172.9118 60 185.2322 62.498 196.5624 66.954L226.66 36.856C206.84 26.104 184.1328 20 160 20C125.6174 20 87.6182 28.318 60 51.348V40C60 28.954 51.0456 20 40 20C28.9544 20 20 28.954 20 40V100C20 111.046 28.9542 120 40 120H100zM280 180C291.046 180 300 171.0456 300 160C300 135.9202 293.91 113.266 283.204 93.476L253.106 123.5546C257.53 134.8516 260 147.1344 260 160C260 171.0456 268.954 180 280 180zM66.9336 196.582C62.4754 185.249 60 172.9158 60 160C60 148.9544 51.0456 140 40 140C28.9544 140 20 148.9544 20 160C20 184.1356 26.0822 206.8582 36.836 226.6796L66.9336 196.582zM280 300C291.046 300 300 291.0456 300 280V220C300 208.9544 291.046 200 280 200H220C208.954 200 200 208.9544 200 220C200 231.0456 208.954 240 220 240H231.718C214.038 253.3168 188.34 260 160 260C147.1086 260 134.792 257.5478 123.4766 253.1054L93.379 283.1836C113.1876 293.9194 135.8862 300 160 300C194.3826 300 232.382 291.6814 260 268.6524V280C260 291.0456 268.954 300 280 300zM40 300C29 300 20 291 20 280C20 274.4 22.2008 269.4008 25.8008 265.8008L265.8 25.996C269.4000000000001 22.198 274.402 20 280 20C291 20 300 29 300 40C300 45.6 297.8 50.6 294.2000000000001 54.2L54.1992 294.004C50.5994 297.8024 45.5988 300 40 300z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
RefreshOff.defaultProps = {
size: IconSize.STANDARD,
};
RefreshOff.displayName = `Blueprint6.Icon.RefreshOff`;
export default RefreshOff;
//# sourceMappingURL=refresh-off.js.map