@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 3.31 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.Sweep = 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.Sweep = 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: "sweep", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M245 400C231.192 400 220 388.80712 220 375V180H145C131.1928 180 120 168.808 120 155V125C120 123.31 119.9758 121.644 119.9286 120H120H379.928H380V125V155C380 168.808 368.808 180 355 180H280V375C280 388.80712 268.808 400 255 400H245zM90 340C84.4772 340 80 344.4772 80 350C80 355.5228 84.4772 360 90 360L170 360C175.5228 360 180 355.5228 180 350C180 344.4772 175.5228 340 170 340L90 340zM50 280C44.4772 280 40 284.4772000000001 40 290C40 295.5228 44.4772 300 50 300L170 300C175.5228 300 180 295.5228 180 290C180 284.4772000000001 175.5228 280 170 280L50 280zM90 220C84.4772 220 80 224.4772 80 230C80 235.5228 84.4772 240 90 240H170C175.5228 240 180 235.5228 180 230C180 224.4772 175.5228 220 170 220H90zM60 20C71.0052 20 109.1408 43.254 118.1036 100H378.748C375.386 62.108 363.608 0 325 0H300V40L240 0H200V40L140 0H60V20z" : "M200 320C188.9542 320 180 311.0457 180 300V140H120C108.9544 140 100 131.0458 100 120V100H300V120C300 131.0458 291.046 140 280 140H220V300C220 311.0457 211.046 320 200 320zM70 260C64.4772 260 60 264.4772 60 270C60 275.5228 64.4772 280 70 280L130 280C135.5228 280 140 275.5228 140 270C140 264.4772 135.5228 260 130 260L70 260zM30 220C24.4772 220 20 224.4772 20 230C20 235.5228 24.4772 240 30 240H130C135.5228 240 140 235.5228 140 230C140 224.4772 135.5228 220 130 220L30 220zM70 180C64.4772 180 60 184.4772 60 190C60 195.5228 64.4772 200 70 200H130C135.5228 200 140 195.5228 140 190C140 184.4772 135.5228 180 130 180H70zM60 20C68.7938 20 93.054 35.466 98.7784 80H299.526C297.924 49.686 290.886 0 260 0H240V20L200 0H160V20L120 0H60V20z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Sweep.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Sweep.displayName = "Blueprint5.Icon.Sweep";
exports.default = exports.Sweep;
//# sourceMappingURL=sweep.js.map
;