UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.53 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.PhoneCall = 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.PhoneCall = 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-call", ref: ref }, props), React.createElement("path", { d: isLarge ? "M396.898 89.798C395.3 91.398 312.784 139.798 309.988 141.198C307.19 142.598 304.592 143.198 301.996 143.198C298.2 143.198 293.604 140.598 287.81 135.198C282.216 129.798 264.4340000000001 105.398 259.24 99.998C254.044 94.598 249.65 91.998 246.252 91.998C244.654 91.998 242.456 92.398 239.86 93.398C237.262 94.398 210.888 107.998 155.9454 156.398C101.0018 204.7972 93.8092 236.3968 93.4096 245.1966C93.4096 248.5966 96.007 252.9966 101.4014 258.1964C106.9956 263.1964 112.7898 268.3964 119.1832 272.9962000000001C125.5766 277.7962 131.3706 282.9962000000001 136.7652 288.596C142.1596 294.1960000000001 144.7568 298.9958000000001 144.7568 302.7958C144.7568 305.3958 144.1576 308.1958 142.759 310.7958C141.3604 313.5956 91.4116 396.19456 89.6136 397.99452C85.8174 401.59448 71.2324 399.99450118 63.84 395.99456C4.10136 363.5950000000001 -0.893518 319.9956 0.1054556 302.7958C1.10443 284.996 12.29294 191.198 103.9988 104.198C217.882 -4 297 0.2 302.1960000000001 0.2C319.578 0.2 372.5220000000001 9.8 395.1 64C398.296 71.6 401.294 85.398 396.898 89.798zM220 360C208 360 200 368 200 380.00002C200 392.00002 208 400.00001678518 220 400.0000157361C320 400.00000699382 400 320 400 220C400 208 392 200 380 200C368 200 360 208 360 220C360 298 298 360 220 360zM220 280C208 280 200 288 200 300C200 312 208 320 220 320C276 320 320 276 320 220C320 208 312 200 300 200C288 200 280 208 280 220C280 254 254 280 220 280z" : "M318.32 71.802C317.118 73 250.864 111.792 248.662 112.792C246.46 113.792 244.258 114.392 242.256 114.392C239.254 114.392 235.45 112.192 230.846 107.992C226.242 103.594 212.03 84.198 207.828 80C203.624 75.6 200.22 73.6 197.4182 73.6C196.0172 73.6 194.4158 74 192.4142 74.8C190.4124 75.6 169.1946 86.398 125.1576 125.1888C81.1206 163.7798 75.3158 189.1738 75.1156 196.1722C75.1156 198.9714 77.3174 202.3706 81.521 206.5698C85.9246 210.7688 90.5286 214.7678 95.5328 218.567C100.537 222.366 105.341 226.565 109.5444 230.964C113.9482 235.563 115.9498 239.362 115.9498 242.3614C115.9498 244.5608 115.3494 246.5604 114.3486 248.7598C113.3476 250.7594 73.314 316.9439 71.9128 318.3435820000001C68.9104 321.342882 57.1004 319.9432084 51.0954 316.74396C3.25522 290.75 -0.547978 255.9582 0.0525274 242.1614C0.8532 227.9648000000001 9.86076 152.9822 83.3224 83.198C174.5992 -3.382 238.052 0.018 242.256 0.018C256.068 0.018 298.704 7.616 316.718 51.006C319.32 57.404 321.722 68.402 318.32 71.802zM260 180C260 168 252 160 240 160C228 160 220 168 220 180C220 202 202 220 180 220C168 220 160 228 160 240C160 252 168 260 180 260C224 260 260 224 260 180zM320 180C320 168 312 160 300 160C288 160 280 168 280 180C280 236 236 280 180 280C168 280 160 288 160 300.00002C160 312.00002 168 320.00001328826 180 320.00001223918C258 320.00000542022 320 258 320 180z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.PhoneCall.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.PhoneCall.displayName = "Blueprint5.Icon.PhoneCall"; exports.default = exports.PhoneCall; //# sourceMappingURL=phone-call.js.map