UNPKG

@blueprintjs/icons

Version:

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

35 lines 6.07 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.KnownVehicle = 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.KnownVehicle = 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: "known-vehicle", ref: ref }, props), React.createElement("path", { d: isLarge ? "M380 320C374.4775400000001 320 369.4775400000001 317.76123 365.858154 314.141846L280 228.283692L234.141846 274.141846C230.52246 277.76123 225.52246 280 220 280C208.953858 280 200 271.044922 200 260C200 254.476318 202.23877 249.476318 205.858154 245.858154L265.858154 185.856934C269.47754 182.23877 274.47754 180 280 180S290.52246 182.23877 294.141846 185.856934L394.141846 285.858154C397.76123 289.476318 400 294.476318 400 300C400 311.044922 391.0461420000001 320 380 320zM339.030762 174.177246C339.265136 172.749024 340 171.506348 340 170.004882C340 153.436278 326.568604 140.003662 310 140.003662C305.509034 140.003662 301.343994 141.134034 297.519532 142.902832C291.94336 141.190186 286.137696 140 280 140C263.431396 140 248.431396 146.715088 237.573242 157.573242L177.573242 217.573242L177.72583 217.72583C171.54541 223.973388 166.679688 231.540528 163.671874 240.007324H80V260.0085440000001L100 320.009764H300L303.789062 308.641356L329.9499500000001 334.802244C323.2287580000001 341.927488 314.7729480000001 347.9663060000001 306.639404 350.24658C306.639404 350.24658 271.851806 359.998778 200 359.998778S93.360596 350.246582 93.360596 350.246582C79.94751 346.486816 64.880372 332.963868 59.874268 320.194092L59.802246 320.009766H60C60 320.009766 50 290.0073240000001 40 260.008546H20C8.953858 260.008546 0 251.053468 0 240.007326C0 228.962404 8.953858 220.006106 20 220.006106H26.66626C24.194336 212.587894 22.198486 206.604006 21.064454 203.201906C20.379638 201.143798 20 200.006104 20 200.006104V50.001222C20 33.432618 33.431396 20 50 20C66.567382 20 80 33.432618 80 50.00122V60.00122H320V50.00122C320 33.432618 333.432618 20 350 20C366.568604 20 380 33.432618 380 50.00122V200.006104L376.2146 211.362306L339.030762 174.177246zM90 140.003662C73.431396 140.003662 60 153.43628 60 170.004882S73.431396 200.006102 90 200.006102C106.567382 200.006102 120 186.573484 120 170.004882S106.567382 140.003662 90 140.003662z" : "M300 260.00122C294.47754 260.00122 289.47754 257.76245 285.858154 254.143066L240 208.284912L214.141846 234.143066C210.52246 237.762452 205.52246 240.00122 200 240.00122C188.953858 240.00122 180 231.047362 180 220.00122C180 214.47876 182.23877 209.47876 185.858154 205.858154L225.858154 165.858154C229.47754 162.23999 234.47754 160.00122 240 160.00122S250.52246 162.23999 254.141846 165.858154L314.141846 225.858154C317.76123 229.47876 320 234.47876 320 240.00122C320 251.047364 311.0461420000001 260.00122 300 260.00122zM282.426758 137.574462L282.27417 137.72705C276.027832 131.54663 268.461914 126.682128 259.996338 123.6730940000001V120.0048820000001H240.037842C240.024414 120.0048820000001 240.013428 120.0012200000001 240 120.0012200000001C239.987792 120.0012200000001 239.975586 120.0048820000001 239.963378 120.0048820000001H219.997558V123.675538C211.52954 126.685792 203.99292 131.573488 197.767334 137.767334L197.573242 137.574462L157.573242 177.574462L157.79419 177.79541C151.57959 183.995362 146.688232 191.520996 143.671876 200.007324H60.002442C56.481934 200.007324 58.790284 216.488036 60.002442 220.007324L74.584962 252.617188C75.803224 256.1413580000001 76.483156 260.008546 80.001222 260.008546H155.578614C166.560058 272.1960440000001 182.303466 280.00122 200 280.00122C215.358886 280.00122 229.21997 274.135742 239.746094 264.599608L256.625976 281.47949C251.851806 286.369626 246.136474 290.323484 240.737304 291.967772C240.737304 291.967772 214.399414 299.999998 160.00122 299.999998C105.600586 300 79.261474 291.967774 79.261474 291.967774C69.105224 288.8696300000001 57.700194 277.735596 53.90747 267.216798L38.64624 224.87793H17.598876C7.921142 224.87793 0 216.428222 0 206.101074C0 195.771484 7.921142 187.320556 17.598876 187.320556H25.10742L20.00366 180.006102C19.32495 166.30615 20.00366 151.275634 20.00366 140.004882V40.00244C20.00366 26.857908 27.685544 20.00122 40.00244 20.00122C52.326658 20.00122 60.00244 26.85791 60.00244 40.00244V60.00244H259.9963360000001V40.00244C259.9963360000001 26.857908 267.6757800000001 20.00122 279.9963360000001 20.00122C292.3156720000001 20.00122 299.995116 26.85791 299.995116 40.00244V140.004882C299.995116 144.420166 299.9633780000001 149.67041 299.9353020000001 155.084228L282.426758 137.574462zM100.00122 120.004882H60.00244V160.006102H100.00122V120.004882z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.KnownVehicle.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.KnownVehicle.displayName = "Blueprint5.Icon.KnownVehicle"; exports.default = exports.KnownVehicle; //# sourceMappingURL=known-vehicle.js.map