UNPKG

@blueprintjs/icons

Version:

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

35 lines 5.96 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.SportsStadium = 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.SportsStadium = 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: "sports-stadium", ref: ref }, props), React.createElement("path", { d: isLarge ? "M160 390C160 395.52246 164.4772 400 170 400C178.6592 400 180 394.6289 180 394.6289C186.7698 403.67188 196.3778 399.526368 206.796 395.0293C217.756 390.29296 229.612 385.17578 240 394.6289V344.7412C229.59 336.455 217.514 340.7422000000001 206.368 344.7022C196.1184 348.3398000000001 186.6556 351.6992 180 344.7412V299.6044C186.578 299.8682 193.2502 300 200 300C228.444 300 255.502 297.627 280 293.3448V370C280 375.5224 284.478 380 290 380C298.66 380 300 374.629 300 374.629C306.77 383.67188 316.378 379.5264 326.796 375.0292C337.756 370.293 349.612 365.1758 360 374.629V324.7412C349.5900000000001 316.455 337.514 320.7422000000001 326.368 324.7022C316.118 328.3398 306.656 331.6992 300 324.7412V289.2968C359.7800000000001 275.4638 400 249.6142 400 220C400 207.378 392.692 195.44 379.678 184.824C374.066 226.7578 295.768 260 200 260C104.2324 260 25.933 226.7578 20.3218 184.824C7.30728 195.44 0 207.378 0 220C0 238.0566 14.95452 254.7168 40.1796 268.1054000000001C40.0618 268.7208 40 269.3506 40 270V370C40 375.5224 44.477 380 50 380C58.6592 380 60 374.629 60 374.629C66.7698 383.67188 76.3778 379.5264 86.7952 375.0292C97.7558 370.293 109.6118 365.1758 120 374.629V324.7412C109.5898 316.455 97.514 320.7422000000001 86.3688 324.7022C76.1186 328.3398 66.6558 331.6992 60 324.7412V277.1338C87.009 287.7246 121.4962 295.2734000000001 160 298.3984000000001V390zM357.36 170.62C359.304 174.18 360 177.314 360 180C360 184.536 358.014 190.366 351.366 197.354C344.622 204.4384 333.916 211.7334 319.156 218.291C289.688 231.3916 247.578 240 200 240C152.4228 240 110.3116 231.3916 80.8436 218.291C66.0842 211.7334 55.3784 204.4384 48.6332 197.354C41.986 190.366 40 184.536 40 180C40 177.314 40.695 174.18 42.6392 170.62C79.2556 151.972 136.1316 140 200 140C263.868 140 320.744 151.972 357.36 170.62zM200 120C257.122 120 309.756 129.228 348.85 144.864C369.374 153.074 387.13 167.112 400 180V60C400 33.134 341.142 7.646 260 0V20C260 53.134 233.138 80 200 80C166.8628 80 140 53.134 140 20V0C58.8578 7.646 0 33.134 0 60V180C14.39492 165.798 32.5152 152.318 51.1508 144.864C90.2436 129.228 142.8784 120 200 120z" : "M120 310C120 315.52284 124.4772 320 130 320C132.3996 320 134.6016 319.154856 136.325 317.746C143.089 322.21074 153.0342 319.1973 163.6486 315.98112C176.218 312.17258 189.7256 308.07974 199.9998 315.78408V263.402C189.787 257.0958 178.304 260.8446 167.643 264.3252C156.87 267.8424 146.936 271.0856 140 263.4022V239.5358C146.5518 239.8422 153.2268 240 160 240C181.218 240 201.472 238.4512 220 235.6386V310C220 315.52284 224.478 320 230 320C232.4 320 234.602 319.154856 236.324 317.746C243.09 322.21074 253.034 319.1973 263.648 315.98112C276.218 312.17258 289.726 308.07974 300 315.78408V263.402C289.786 257.0958 278.3040000000001 260.8446 267.644 264.3252C256.87 267.8424 246.936 271.0856 240 263.4022V231.973C287.824 221.5988 320 202.2084 320 180C320 168.9582 312.046 158.613 298.17 149.7262C287.326 178.238 229.592 200 160 200C90.4072 200 32.6742 178.238 21.83 149.7262C7.95378 158.613 0 168.9582 0 180C0 190.558 7.272 200.479 20.0402 209.0972C20.0136 209.3946 20 209.6958 20 210V310C20 315.52284 24.4772 320 30 320C32.3996 320 34.6016 319.154856 36.325 317.746C43.089 322.21074 53.0342 319.1973 63.6486 315.98112C76.218 312.17258 89.7256 308.07974 99.9998 315.78408V263.402C89.787 257.0958 78.304 260.8446 67.643 264.3252C56.87 267.8424 46.936 271.0856 40 263.4022V219.6874C60.8442 228.5434 88.551 235.0744000000001 120 238.1098V310zM279.992 140.309C279.904 141.9236 279.074 144.9388 274.764 149.306C270.076 154.0554 262.302 159.2498 251.116 164.0436C228.818 173.6004 196.6162 180 160 180C123.3838 180 91.183 173.6004 68.8834 164.0436C57.698 159.2498 49.924 154.0554 45.2368 149.306C40.9266 144.9388 40.0966 141.9236 40.0086 140.309C69.3262 127.8548 112.217 120 160 120C207.784 120 250.674 127.8548 279.992 140.309zM280.16 118.848C248.434 106.95 205.946 100 160 100C114.0538 100 71.5666 106.95 39.8404 118.848C24.3942 124.6396 10.50068 131.2118 0 140.309V60C0 32.042 50.991 6.66 120 0V20C120 42.092 137.9086 60 160 60C182.0914 60 200 42.092 200 20V0C269.01 6.66 320 32.042 320 60V140.309C309.5 131.2118 295.606 124.6396 280.16 118.848z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.SportsStadium.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.SportsStadium.displayName = "Blueprint5.Icon.SportsStadium"; exports.default = exports.SportsStadium; //# sourceMappingURL=sports-stadium.js.map