UNPKG

@blueprintjs/icons

Version:

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

35 lines 3.88 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.PhoneSearch = 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.PhoneSearch = 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: "phone-search", ref: ref }, props), React.createElement("path", { d: isLarge ? "M280 400H80C69 400 60 391 60 380V20C60 9 69 0 80 0H280C291 0 300 9 300 20V106.834C287.48 102.408 274.012 100 260 100V80H100V340H260C274.028 340 287.492 337.5932 300 333.1716V380C300 391 291 400 280 400zM180 20C169 20 160 29 160 40C160 51 169 60 180 60C191 60 200 51 200 40C200 29 191 20 180 20zM260 320C274.222 320 287.75 317.0308 300 311.6786C324.466 300.9888 343.8280000000001 280.7928 353.416 255.7618C357.67 244.6556 360 232.592 360 220C360 199.62 353.902 180.66 343.432 164.854L394.112 114.17C401.924 106.362 401.924 93.696 394.112 85.888C386.302 78.076 373.638 78.076 365.828 85.888L315.148 136.568C310.37 133.404 305.306 130.64 300 128.322C287.75 122.97 274.222 120 260 120C211.06 120 170.3306 155.156 161.6906 201.5918C160.5804 207.5586 160 213.711 160 220C160.4218 274.4882 205.18 320 260 320zM260 280C226.862 280 200 253.1348 200 220C200 186.866 226.862 160 260 160C275.368 160 289.384 165.778 300 175.278C312.274 186.266 320 202.2312 320 220C320 237.7688 312.274 253.7346 300 264.7214C289.384 274.2224 275.368 280 260 280z" : "M60 320H220C231 320 240 311 240 300V288.0446C225.006 295.6906 208.016 300 190 300C155.77 300 125.24 284.4432 105.0804 260H80V80H200V80.46C212.092 81.58 223.53 84.702 234.106 89.41L240 83.516V20C240 9 231 0 220 0H60C49 0 40 9 40 20V300C40 311 49 320 60 320zM120 40C120 29 129 20 140 20C151 20 160 29 160 40C160 51 151 60 140 60C129 60 120 51 120 40zM237.8 114C226.494 106.894 213.754 102.134 200 100.566C196.7224 100.192 193.387 100 190 100C140.2 100 100 140.2 100 190C100 218.3092 112.9904 243.5162 133.3502 260C148.8062 272.5136 168.5092 280 190 280C208.518 280 225.71 274.4412 240 264.8968C264.138 248.775 280 221.2814 280 190C280 172.4 274.8 156.2 266 142.2L314.2000000000001 94.2C317.8 90.6 320 85.6 320 80C320 69 311 60 300 60C294.4000000000001 60 289.4000000000001 62.2 286 65.8L237.8 114zM240 190C240 214.1896 222.822 234.3672 200 238.9998C196.769 239.6556 193.4246 240 190 240C162.3858 240 140 217.6142 140 190C140 162.3858 162.3858 140 190 140C193.4246 140 196.769 140.3442 200 141.0002C222.822 145.6328 240 165.8104 240 190z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.PhoneSearch.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.PhoneSearch.displayName = "Blueprint5.Icon.PhoneSearch"; exports.default = exports.PhoneSearch; //# sourceMappingURL=phone-search.js.map