UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.54 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.ServerInstall = 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.ServerInstall = 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: "server-install", ref: ref }, props), React.createElement("path", { d: isLarge ? "M345.8 314.0958C349.4 317.6922 354.4 319.89 360 319.89C371 319.89 380 310.899 380 299.9100000000001C380 294.3156 377.8 289.3206 374.2000000000001 285.7242L314.2000000000001 225.7842C310.6 222.1878000000001 305.4000000000001 219.99 300 219.99C294.6 219.99 289.6 222.1878000000001 285.8 225.7842L225.8 285.7242C222.2 289.3206 220 294.3156 220 299.9100000000001C220 310.8992 229 319.8902000000001 240 319.8902000000001C245.6 319.8902000000001 250.6 317.6922 254.2 314.0958000000001L280 288.3216V380.0082C280 391.0498 288.948 399.9944 299.99 400C311.04 400.0054 320 391.0576 320 380.008V288.3216L345.8 314.0958zM265.348 400C261.9460000000001 394.12 260 387.2928 260 380.008V334.6104000000001C254.08 337.9976 247.234 339.89 240 339.89C217.974 339.89 200 321.9636 200 299.91C200 288.9446 204.354 278.8778 211.664 271.575L271.856 211.444L272.052 211.2582C279.238 204.4584 289.05 199.99 300 199.99V125C300 111.192 288.808 100 275 100H125C111.1928 100 100 111.192 100 125V375C100 388.8072 111.1928 400 125 400H265.348zM80 185.482L7.8556 133.112C-1.48 125.974 -2.6736 112.828 5.2364 104.262L95.259 6.768C99.232 2.464 104.9478 0 110.9528 0H289.048C295.052 0 300.7680000000001 2.464 304.742 6.768L394.7640000000001 104.262C402.6740000000001 112.828 401.48 125.974 392.1440000000001 133.112L320 185.482V125C320 100.148 299.852 80 275 80H125C100.1472 80 80 100.148 80 125V185.482z" : "M285.8 234.0858C289.4 237.6822 294.4 239.88 300 239.88C311 239.88 320 230.889 320 219.9C320 214.3056 317.8 209.3106 314.2000000000001 205.7142L254.2 145.7742C250.6 142.1778000000001 245.4000000000001 139.9800000000001 240 139.9800000000001C234.6 139.9800000000001 229.6 142.1778000000001 225.8 145.7742L165.8 205.7142C162.2 209.3106 160 214.3056 160 219.9C160 230.889 169 239.88 180 239.88C185.6 239.88 190.6 237.6822 194.2 234.0858L220 208.3116V299.998C220 311.04 228.948 319.9844 239.99 319.99C251.04 319.9954 260 311.0476 260 299.998V208.3116L285.8 234.0858zM151.665 191.565L211.856 131.434L212.052 131.2482C219.238 124.4484 229.05 119.98 240 119.98V100C240 88.954 231.046 80 220 80H100C88.9544 80 80 88.954 80 100V300C80 311.0458 88.9544 320 100 320H205.354C201.948 314.1178 200 307.2868 200 299.998V254.6004C194.0796 257.9876 187.2338 259.88 180 259.88C157.9732 259.88 140 241.9536 140 219.9C140 208.9346 144.3548 198.8678 151.665 191.565zM260 125.2848C263.0420000000001 127.0178 265.854 129.1458 268.336 131.625L274.1260000000001 137.4096L311.074 112.83C321.242 106.066 323.028 91.874 314.8540000000001 82.808L246.14 6.62C242.338 2.406 236.924 0 231.242 0H88.7574C83.0758 0 77.661 2.406 73.8602 6.62L5.1462 82.808C-3.0286 91.874 -1.2418 106.066 8.9262 112.83L60 146.807V100C60 77.908 77.9086 60 100 60H220C242.092 60 260 77.908 260 100V125.2848z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.ServerInstall.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.ServerInstall.displayName = "Blueprint5.Icon.ServerInstall"; exports.default = exports.ServerInstall; //# sourceMappingURL=server-install.js.map