UNPKG

@blueprintjs/icons

Version:

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

35 lines 6.58 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.User = 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.User = 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: "user", ref: ref }, props), React.createElement("path", { d: isLarge ? "M200 400C89.6 400 0 310.4 0 200C0 193.4 0.4 187 1 180.6C1.2 178.2 1.6 176 2 173.6C2.6 169.6 3 165.6 3.8 161.8C4.4 159 5 156.2 5.8 153.4C6.6 150.2 7.4 147 8.2 143.8C9.2 140.6 10.2 137.6 11.2 134.6C12.2 132 13 129.2 14.2 126.6C15.4 123.4 16.8 120.1999999999999 18.4 117C19.4 114.8 20.4 112.6 21.6 110.4C23.4 106.9999999999999 25 103.6 27 100.4C28 98.6 29 96.9999999999999 30 95.4C32.2 91.8 34.4 88.4 36.8 84.9999999999999C37.6 83.8 38.4 82.8 39.2 81.6C63 49.1999999999999 96.2 24.4 134.8 10.9999999999999C135.4 10.7999999999999 136 10.6 136.6 10.3999999999999C145.8 7.4 155.2 4.9999999999999 165 3.1999999999999C166.6 2.9999999999999 168.4 2.5999999999999 170 2.4C179.8 1 189.8 0 200 0S220.2 1 230 2.4C231.6 2.6 233.4 2.8 235 3.2C244.8 5 254.2 7.4 263.4 10.4C264 10.6 264.6 10.8 265.2 11C303.8 24.4 337 49.2 360.8 81.6C361.6 82.6 362.4 83.6 363.2 84.8C365.6 88.2 367.8 91.8 370 95.4C371 97 372 98.6 373 100.4C375 103.8 376.8 107.2 378.4 110.6C379.4 112.8 380.4 114.8 381.3999999999999 117C382.8 120.2 384.2 123.4 385.6 126.8C386.6 129.4 387.6 132 388.4 134.6C389.4 137.6 390.6 140.8 391.3999999999999 143.8C392.4 147 392.9999999999999 150.2000000000001 393.8 153.4C394.4 156.2000000000001 395.2 159 395.8 161.8000000000001C396.6 165.6 397 169.6000000000001 397.6 173.6C398 176 398.4 178.2000000000001 398.6 180.6C399.6 187 400 193.4 400 200C400 310.4 310.4 400 200 400zM200 40L200 40C150.4 40 106.2 62.4 77 97.8C93.8 106.6 114.2 114.2000000000001 130.4 121.6C159.4 134.6 156.4 142.6 157.4 153.4C157.6 154.8 157.6 156.2 157.6 157.6C147.4 166.6 139 179.2 133.6 193.6L133.4 193.8C133.4 194 133.2 194.2 133.2 194.4C132 197.6 131 200.8 130.2 204C123.6 205.4 119.6 212.8 118 219.8C116.4 222.6 113.4 229.4 114 237.2C115 247.4 119.2 252 123.8 253.8C123.8 254.4 123.8 254.8 123.8 255.4C123.8 268 125 286.4 127.2 298.4C127.6 301.8 128.4 305 129.4 308.4C133.6 323 142.6 336.4 154.6 345.6C167 355 184.6 360 200.2 360C215.8 360 233.2 355 245.6 345.4C257.6 336.2 266.6 323 270.8 308.2C271.8 305 272.4 301.6 273 298.2C275.2 286.2000000000001 276.4 268 276.4 255.2C276.4 254.6 276.4 254 276.4 253.4C280.8 251.4 284.8 246.8 285.6 237C286.4 229.2 283.2 222.4 281.6 219.6C280.2 212.8 276.2 205.4 269.6 204C268.8 200.8 267.8 197.4 266.6 194.4C266.6 194.2 266.2 193.4 266.2 193.4C261 179.2 252.8 166.8 242.8 157.8C242.8 156.2 243 154.6 243 153.2C244.0000000000001 142.4 240 134.4 269.2000000000001 121.4C285.4000000000001 114.2000000000001 306 106.6 322.8 97.6C293.6 62.4 249.4 40 200 40z" : "M159.8 320.2C71.4 320.2 -0.2 248.6 -0.2 160.2C-0.2 155 0 149.8 0.6 144.6C0.8 142.8 1.2 141 1.4 139C1.8 136 2.2 132.8 2.8 129.6C3.2 127.4 3.8 125.2 4.4 122.8C5 120.2 5.6 117.6 6.4 115.2C7.2 112.8 8 110.2 8.8 107.8C9.6 105.6 10.4 103.6 11.2 101.4C12.2 98.8 13.4 96.2 14.6 93.6C15.4 91.8 16.2 90.2 17.2 88.4C18.6 85.6 20 83 21.6 80.4C22.4 79 23.2 77.8 24 76.4C25.8 73.6 27.6 70.8 29.4 68C30 67.2 30.8 66.2 31.4 65.4C50.4 39.6 77 19.6 108 9C108.6 8.8 109 8.6 109.4 8.4C116.8 6 124.4 4 132.2 2.6C133.6 2.4 134.8 2.2 136.2 2C144 0.8 152 1e-13 160.2 1e-13S176.4 0.8 184.2 2C185.6 2.2 186.8 2.4 188.2 2.6C196 4 203.6 5.8 211 8.4C211.6 8.6 212 8.8 212.4 9C243.4 19.8 270 39.6 289 65.4C289.6 66.2 290.2 67 290.8 68C292.8 70.8 294.6 73.6 296.4 76.4C297.2 77.8 298 79 298.8 80.4C300.4 83 301.8 85.8 303.2 88.6C304 90.2 304.8 92 305.6 93.8C306.8 96.4 307.8 99 309 101.6C309.8 103.6 310.6 105.8 311.3999999999999 108C312.2 110.4 313 112.8 313.7999999999999 115.4C314.5999999999999 118 315.2 120.4 315.7999999999999 123C316.3999999999999 125.2 317 127.4 317.3999999999999 129.8C317.9999999999999 133 318.3999999999999 136 318.7999999999999 139.2C318.9999999999999 141 319.3999999999999 142.8 319.5999999999999 144.8C319.9999999999999 150 320.3999999999999 155 320.3999999999999 160.4C319.8 248.6 248.2 320.2 159.8 320.2zM159.8 32.2L159.8 32.2C120.2 32.2 84.8 50.2 61.4 78.4C74.8 85.6 91.2 91.6 104.2 97.4C127.4 107.8 125 114.2 125.8 122.8C126 124 126 125 126 126.2C117.8 133.4 111.2 143.4 106.8 155L106.8 155.2C106.8 155.4 106.6 155.6 106.6 155.6C105.6 158.2 104.8 160.8 104.2 163.4C98.6 164.4 95.4 170.4 94.2 176C93 178.2 90.6 183.6 91.2 189.8C92 198 95.2 201.6 98.8 203.2C98.8 203.6 98.8 204 98.8 204.4C98.8 214.6 99.8 229.2 101.6 238.8C102 241.4 102.6 244 103.4 246.6C106.8 258.4 114 269 123.6 276.4C133.4 284 147.4 288.2 160 288.2C172.4 288.2 186.4 284.2 196.4 276.4C206 269 213.2 258.4 216.6 246.6C217.4 244 218 241.4 218.4 238.6C220.2 229 221.2 214.4 221.2 204.2C221.2 203.8 221.2 203.2 221.2 202.8C224.8 201.2 227.8 197.6 228.6 189.6C229.2 183.4 226.6 178 225.4 175.8C224.2 170.4 221.2 164.4 215.8 163.4C215.2 160.8 214.4 158.2 213.4 155.8C213.4 155.6 213.2 155 213.2 155C209 143.6 202.4 133.8 194.4 126.6C194.4 125.4 194.6 124 194.6 122.8C195.4 114.2 192.2 107.8 215.6 97.4C228.6 91.6 245.0000000000001 85.4 258.4000000000001 78.4C234.8 50.2 199.4 32.2 159.8 32.2z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.User.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.User.displayName = "Blueprint5.Icon.User"; exports.default = exports.User; //# sourceMappingURL=user.js.map