UNPKG

@blueprintjs/icons

Version:

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

35 lines 5.93 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.HeaderThree = 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.HeaderThree = 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: "header-three", ref: ref }, props), React.createElement("path", { d: isLarge ? "M40 180V80C40 68.954 31.0456 60 20 60C8.9543 60 0 68.954 0 80V180V220V340C0 351.0456 8.9543 360 20 360C31.0456 360 40 351.0456 40 340V220H180V340C180 351.0456 188.9542 360 200 360C211.046 360 220 351.0456 220 340V220V180V80C220 68.954 211.046 60 200 60C188.9542 60 180 68.954 180 80V180H40zM369.154 107.196C378.906 104.998 386.468 99.602 391.84 90.812C397.2140000000001 82.02 400 71.43 400 58.644C400 49.452 398.408 41.26 395.224 34.068C392.04 26.876 387.662 20.682 382.0900000000001 15.686C376.716 10.692 370.348 6.896 362.986 4.098C355.622 1.3 348.06 -0.098 339.9000000000001 -0.098C329.95 -0.098 321.394 1.5 314.03 4.698C306.666 7.894 300.498 12.49 295.522 18.284C290.548 24.078 286.766 31.27 284.18 39.462C281.592 47.854 280.2 57.046 280 67.036H307.6620000000001C307.264 55.446 309.85 45.6560000000001 315.224 37.864C320.796 30.072 328.756 26.276 339.702 26.276C349.054 26.276 356.8160000000001 29.272 362.986 35.266C369.154 41.26 372.338 49.652 372.338 60.642C372.338 68.0340000000001 370.9460000000001 74.028 368.358 78.424C365.772 82.82 362.388 86.216 358.208 88.414C354.03 90.612 349.254 92.01 344.0800000000001 92.61C338.906 93.21 333.5320000000001 93.408 327.96 93.21V116.586C332.338 116.386 336.916 116.586 341.492 117.584C346.07 118.584 350.05 120.182 353.632 122.38C357.2140000000001 124.578 360 127.774 362.19 131.77C364.3780000000001 135.766 365.374 140.762 365.374 146.556C365.374 154.748 362.986 161.34 358.01 166.336C353.0340000000001 171.33 346.6660000000001 173.728 338.906 173.728C334.13 173.728 329.95 172.53 326.368 170.332C322.786 168.134 319.8 165.138 317.412 161.34C315.024 157.544 313.432 153.348 312.238 148.754C311.2440000000001 144.158 310.646 139.362 310.846 134.368H283.1840000000001C283.384 143.7580000000001 284.976 152.35 287.762 160.342C290.548 168.334 294.328 175.326 299.104 181.122C303.88 187.116 309.652 191.71 316.418 194.908C323.184 198.304 330.9460000000001 199.902 339.502 199.902C346.07 199.902 352.636 198.904 359.004 196.706C365.374 194.508 371.144 191.31 376.318 187.116C381.492 182.92 385.6720000000001 177.724 388.656 171.132C391.642 164.738 393.234 157.146 393.234 148.754C393.234 139.164 391.442 130.572 387.462 123.3780000000001C383.482 116.186 377.512 110.792 369.154 107.594V107.196z" : "M20 280C8.8 280 0 271 0 260V60C0 49.2 9 40 20 40C31.2 40 40 49 40 60V140H120V60C120 49.2 129 40 140 40C151.2 40 160 49 160 60V260C160 270.8 151 280 140 280C128.8 280 120 271 120 260V180H40V260C40 270.8 31 280 20 280zM294.2000000000001 85.414C302.4 83.81 308.6 79.398 313.2 72.38C317.8 65.364 320 56.942 320 46.918C320 39.498 318.6 32.882 316 27.468C313.2 21.654 309.6 16.642 305 12.632C300.4 8.622 295 5.414 289 3.208C283 1.002 276.6 0 269.8 0C261.6 0 254.4 1.204 248.2 3.81C242 6.216 237 10.026 232.8 14.636C228.6 19.448 225.6 25.062 223.4 31.68C221.2 38.296 220.2 45.714 220 53.734H242.8C242.6 44.31 244.6 36.492 249.2 30.276C253.8 24.06 260.6 20.852 269.6 20.852C277.4 20.852 283.8 23.258 289 28.07C294.2000000000001 32.882 296.8 39.7 296.8 48.522C296.8 54.536 295.8 59.148 293.6 62.756C291.4 66.166 288.6 68.972 285 70.776C281.6 72.582 277.6 73.784 273.2 74.186C268.8 74.586 264.4000000000001 74.786 259.8 74.586V93.234C263.6 93.032 267.4 93.234 271.2 94.036C275 94.636 278.4 96.04 281.4 97.844C284.2000000000001 99.65 286.6 102.256 288.4 105.464C290.2 108.672 291.2 112.682 291.2 117.294C291.2 123.9098 289.2000000000001 129.1228 285 133.1328C281 137.1428 275.6 139.1478 269.2000000000001 139.1478C265 139.1478 261.6 138.3458 258.6 136.5414C255.6 134.7368 253.2 132.3308 251.2 129.3234C249.2 126.3158 247.8 122.9072 246.8 119.098C245.8 115.288 245.4 111.478 245.6 107.468H222.6C222.8 115.088 224.2 121.9048 226.4 128.3208C228.6 134.7368 231.8 140.3508 235.8 144.9624C239.6 149.574 244.6 153.3834 250.2 155.99C255.8 158.5964 262.2 160 269.4000000000001 160C275 160 280.4 159.198 285.8 157.3934C291.2 155.7894 296 153.183 300.2 149.7744C304.4000000000001 146.366 307.8 142.1554 310.4 136.9424C313 131.7294 314.2000000000001 125.7142 314.2000000000001 118.898C314.2000000000001 111.078 312.6 104.26 309.4000000000001 98.446C306.2 92.632 301 88.422 294.2000000000001 85.814V85.414z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.HeaderThree.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.HeaderThree.displayName = "Blueprint5.Icon.HeaderThree"; exports.default = exports.HeaderThree; //# sourceMappingURL=header-three.js.map