UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

35 lines 4.01 kB
"use strict"; /* * 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.ClipboardFile = 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.ClipboardFile = 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: "clipboard-file", ref: ref }, props), React.createElement("path", { d: isLarge ? "M140 220C140 231.0456 148.9544 240 160 240H291.716C297.0200000000001 240 302.108 237.8928 305.858 234.1422L334.142 205.8578C337.892 202.1072 340 197.02 340 191.716V20C340 8.954 331.046 0 320 0H160C148.9544 0 140 8.954 140 20V220zM190 180C184.4772 180 180 175.522 180 170C180 164.478 184.4772 160 190 160H290C295.522 160 300 164.478 300 170C300 175.522 295.522 180 290 180H190zM190 120C184.4772 120 180 115.522 180 110C180 104.478 184.4772 100 190 100H290C295.522 100 300 104.478 300 110C300 115.522 295.522 120 290 120H190zM190 60C184.4772 60 180 55.522 180 50C180 44.478 184.4772 40 190 40H290C295.522 40 300 44.478 300 50C300 55.522 295.522 60 290 60H190zM240 361.1428C240 371.8286 231 380.57142 220 380.57142H204.4C197.4 392.22858 184.8 400 170 400C155.2 400 142.4 392.22858 135.6 380.57142H120C109 380.57142 100 371.8286 100 361.1428V340H240V361.1428zM260 320H80.7844V360H60C48.9544 360 40 351.0456 40 340V60C40 48.954 48.9544 40 60 40H120V240C120 251.0456 128.9542 260 140 260H300V340C300 351.0456 291.046 360 280 360H260V320z" : "M231.716 200C237.02 200 242.108 197.8928 245.858 194.1422L274.142 165.8578C277.892 162.1072 280 157.02 280 151.7158V20C280 8.954 271.046 0 260 0H140C128.9544 0 120 8.954 120 20V180C120 191.0456 128.9544 200 140 200H231.716zM160 140C154.4772 140 150 135.5228 150 130C150 124.4772 154.4772 120 160 120H240C245.522 120 250 124.4772 250 130C250 135.5228 245.522 140 240 140H160zM160 100C154.4772 100 150 95.522 150 90C150 84.478 154.4772 80 160 80H240C245.522 80 250 84.478 250 90C250 95.522 245.522 100 240 100H160zM160 60C154.4772 60 150 55.522 150 50C150 44.478 154.4772 40 160 40H240C245.522 40 250 44.478 250 50C250 55.522 245.522 60 240 60H160zM161.8178 301.81818C171.8178 301.81818 179.9996 293.6364 179.9996 283.6364V270H99.9996V283.6364C99.9996 293.6364 108.1814 301.81818 118.1814 301.81818H114.1814C120.3632 312.72728 126.5464 320 140.001 320C153.4556 320 159.6358 312.72728 165.8178 301.81818H161.8178zM200 279.9956H221.818C231.818 279.9956 240 271.8138 240 261.8138V220H120C108.9544 220 100 211.0456 100 200V39.996H58.1818C48.1818 39.996 40 48.178 40 58.178V261.8138C40 271.8138 48.1818 279.9956 58.1818 279.9956H80V249.9956H200V279.9956z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.ClipboardFile.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.ClipboardFile.displayName = "Blueprint5.Icon.ClipboardFile"; exports.default = exports.ClipboardFile; //# sourceMappingURL=clipboard-file.js.map