UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.44 kB
/* * 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. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const HeaderTwo = React.forwardRef((props, ref) => { const isLarge = props.size >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (React.createElement(SVGIconContainer, { iconName: "header-two", 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 80V180H40zM320.664 40.8C323.854 44.6 327.442 48.4 331.828 51.8C336.014 55.4 340.798 59 345.98 62.4L345.982 62.402C350.9640000000001 66 355.948 69.6 360.9300000000001 73.6C365.914 77.6 370.698 81.8 375.4820000000001 86.2C380.066 90.6 384.252 95.6 388.04 101C391.628 106.4 394.618 112.2 396.81 118.6C399.004 125 400 132 400 140C400 146.4 399.004 153 397.21 160C395.4160000000001 167 392.226 173.6 387.84 179.4C383.456 185.4 377.6740000000001 190.4 370.498 194.2C363.322 198.2 354.3520000000001 200 343.588 200C333.82 200 325.05 198 317.674 194.2C310.298 190.6 303.92 185.4 298.738 178.6C293.554 172 289.7680000000001 164 287.176 154.6C284.584 145.4 283.19 135.4 283.19 124.6H311.694C311.894 131.6 312.492 138 313.488 144C314.486 150 316.28 155.2 318.472 159.6C320.664 164 323.654 167.4 327.442 170C331.23 172.6 336.014 173.8 341.594 173.8C347.774 173.8 352.758 172.6 356.5440000000001 170.2C360.332 167.8 363.322 165 365.514 161.6C367.7080000000001 158.2 369.1020000000001 154.4 369.9000000000001 150.4C370.698 146.4 371.096 142.6 371.096 139C370.896 131.4 369.1020000000001 124.6 365.914 118.6C362.924 112.6 358.538 107.2 353.356 102C348.1720000000001 97 342.592 92.2 336.412 87.8C330.2320000000001 83.4 324.252 78.8 318.6720000000001 74.2000000000001C306.71 65.2000000000001 297.5420000000001 54.6 290.564 42.6C283.588 30.4 280.2 16.2 280 0H399.402V28.6H314.086C315.282 32.8 317.476 37 320.664 40.8z" : "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 280zM263.082 41.118L263.4 41.4C267 44.2 270.6 47 274.8 49.8L287.4 58.8C291.6 62 295.6 65.4 299.6 69C303.6 72.6 307 76.6 310 80.8C313 85 315.6 89.8 317.4 94.8C319.2000000000001 99.8 320 105.6 320 111.8C320 116.8 319.2000000000001 122 317.6 127.6C316.2 133.4 313.6 138.6 309.8 143.4C306.2 148.2 301.2 152.2 295.2 155.4C289.4000000000001 158.4 282 160 273 160C265 160 257.8 158.4 251.6 155.4C245.4 152.2 240 148 235.8 143C231.4 137.6 228.2 131.2 226 123.8C223.8 116.4 222.8 108.4 222.8 99.8H246.6C246.8 105.2 247.2 110.4 248.2 115.2C249 120 250.4 124.2 252.4 127.6C254.2 131.2 256.8 134 260 136C263.2 138 267 139 271.8 139C277 139 281.2 138 284.4000000000001 136.2C287.4 134.4 290 132 291.8 129.2C293.6 126.4 294.8 123.4 295.4 120.2C296 117 296.4 114 296.4 111.2C296.2 105 294.8 99.6 292 94.8C289.2000000000001 90.2 285.6 85.8 281.4 81.8C277 77.6 272.2 74 267.2 70.4C262 66.8 257 63.2 252.2 59.6C242.2 52.4 234.4 44 228.8 34.2C223.2 24.4 220.2 13 220 0H319.8V22.8H248.8C249.8 26.2 251.6 29.4 254.2 32.6C256.718 35.506 259.8 38.224 263.082 41.118z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); HeaderTwo.defaultProps = { size: IconSize.STANDARD, }; HeaderTwo.displayName = `Blueprint5.Icon.HeaderTwo`; export default HeaderTwo; //# sourceMappingURL=header-two.js.map