UNPKG

@blueprintjs/icons

Version:

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

31 lines 5.01 kB
/* * 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 CargoShip = 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: "cargo-ship", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M250 375H330C341.046 375 350 366.0456 350 355V300H250V375zM55.0002 300C52.2388 300 50.0002 297.7614 50.0002 295V175H17.66254C9.88958 175 5.08846 166.52 9.08762 159.856L42.5224 104.13C45.9314 98.448 50.1988 93.46 55.1028 89.292C45.9634 88.166 35.9438 87.5 25.0002 87.5C18.09666 87.5 12.50022 81.904 12.50022 75C12.50022 68.096 18.09666 62.5 25.0002 62.5C76.666 62.5 110.3582 76.086 129.0324 85.414C142.7808 76.096 166.6568 62.5 200 62.5C233.01 62.5 256.74 75.826 270.552 85.134L270.66 85.076C275.544 82.458 282.674 79.076 292.046 75.728C310.812 69.026 338.48 62.5 375 62.5C381.904 62.5 387.5 68.096 387.5 75C387.5 81.904 381.904 87.5 375 87.5C368.624 87.5 362.56 87.716 356.81 88.108C364.764 94.456 371.14 102.85 375.088 112.716L394.516 161.286C397.142 167.854 392.3040000000001 175 385.23 175H100.0002V295C100.0002 297.7614 97.7616 300 95.0002 300H55.0002zM124.0974 61.018C128.2904 63.264 133.395 62.936 137.2656 60.172C148.6396 52.048 169.194 37.5 200 37.5C230.806 37.5 251.36 52.048 262.734 60.172C267.064 63.264 272.874 63.276 277.216 60.208L277.366 60.106C277.532 59.994 278.266 59.526 278.266 59.526C279.132 58.984 280.532 58.148 282.466 57.112C286.33 55.042 292.326 52.174 300.454 49.272C316.69 43.474 341.52 37.5 375 37.5C381.904 37.5 387.5 31.904 387.5 25C387.5 18.096 381.904 12.5 375 12.5C338.48 12.5 310.812 19.026 292.046 25.728C282.674 29.076 275.544 32.458 270.66 35.076L270.552 35.134C256.74 25.826 233.01 12.5 200 12.5C166.6568 12.5 142.7808 26.096 129.0324 35.414C110.3582 26.086 76.666 12.5 25.0002 12.5C18.09666 12.5 12.50022 18.096 12.50022 25C12.50022 31.904 18.09666 37.5 25.0002 37.5C78.2168 37.5 109.5892 53.246 124.0974 61.018zM350 275H250V200H330C341.046 200 350 208.9542 350 220V275zM125.0002 355C125.0002 366.0456 133.9546 375 145.0002 375H225V300H125.0002V355zM225 275H125.0002V220C125.0002 208.9544 133.9546 200 145.0002 200H225V275z" : "M200 300H260C271.046 300 280 291.0456 280 280V240H200V300zM45 240C42.2386 240 40 237.7614 40 235V140H17.66224C9.8893 140 5.08816 131.5202 9.0873 124.855L30.5222 89.13C34.6614 82.232 40.0662 76.356 46.3398 71.726C38.4294 70.65 29.665 70 20 70C14.47716 70 10 65.522 10 60C10 54.478 14.47716 50 20 50C61.3326 50 88.2864 60.868 103.2258 68.332C114.2246 60.878 133.3252 50 160 50C186.4074 50 205.392 60.66 216.44 68.106L216.528 68.06C220.436 65.966 226.138 63.26 233.636 60.582C248.648 55.222 270.784 50 300 50C305.522 50 310 54.478 310 60C310 65.522 305.522 70 300 70C293.486 70 287.382 70.282 281.688 70.778C291.096 77.334 298.636 86.59 303.086 97.716L314.514 126.286C317.142 132.8548 312.304 140 305.23 140H80V235C80 237.7614 77.7614 240 75 240H45zM99.2778 48.814C102.6322 50.612 106.7158 50.35 109.8124 48.138C118.9116 41.638 135.355 30 160 30C184.645 30 201.088 41.638 210.188 48.138C213.652 50.612 218.3 50.62 221.772 48.166L221.892 48.084C222.026 47.996 222.612 47.62 222.612 47.62C223.306 47.188 224.426 46.518 225.972 45.69C229.064 44.034 233.862 41.74 240.364 39.418C253.352 34.778 273.216 30 300 30C305.522 30 310 25.522 310 20C310 14.478 305.522 10 300 10C270.784 10 248.648 15.222 233.636 20.582C226.138 23.26 220.436 25.966 216.528 28.06L216.44 28.106C205.392 20.66 186.4074 10 160 10C133.3252 10 114.2246 20.878 103.2258 28.332C88.2864 20.868 61.3326 10 20 10C14.47716 10 10 14.478 10 20C10 25.522 14.47716 30 20 30C62.5732 30 87.6712 42.596 99.2778 48.814zM280 220H200V160H260C271.046 160 280 168.9544 280 180V220zM100 280C100 291.0456 108.9544 300 120 300H180V240H100V280zM180 220H100V180C100 168.9544 108.9544 160 120 160H180V220z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); CargoShip.defaultProps = { size: IconSize.STANDARD, }; CargoShip.displayName = `Blueprint5.Icon.CargoShip`; export default CargoShip; //# sourceMappingURL=cargo-ship.js.map