UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.66 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.ThumbsDown = 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.ThumbsDown = 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: "thumbs-down", ref: ref }, props), React.createElement("path", { d: isLarge ? "M371 268.8C364.8000000000001 269 358.0000000000001 269.4 350.6 270C351.2000000000001 270 351.8 270.2 352.4000000000001 270.2C370 272.6 386 282.8 387.6 297.6C389.2000000000001 312.6 376.0000000000001 322.6 358.4000000000001 324.2C352 324.8 345.4000000000001 325.2 338.6000000000001 325.8C350.4000000000001 329.6 359.6000000000001 336.6 360.4000000000001 349.8C361.4000000000001 364.8 340.6000000000001 376.2 323.0000000000001 378C316.2000000000001 378.6 310.2000000000001 379 304.8000000000001 379.4L304.8000000000001 379.4C304.0000000000001 379.4 303.4000000000001 379.4 302.6 379.4C297.0000000000001 379.8 291.8000000000001 379.8 287.2000000000001 379.8C208.8 381.4 141.4 367.8 100 341.2V186.8C153.4 153.6 219 94.6 205.2 45.1999999999999C201 29.9999999999999 213 18.1999999999999 229.8 19.9999999999999C250 22.1999999999999 264 43.5999999999999 264.8 65.6C265.8 91.3999999999999 261 117.4 252.4000000000001 140.4C251.4 146.8 252.6 153.4 261.8 154C274 154.7999999999999 289.6 155.6 301.6 156C308.0000000000001 156 314.4000000000001 156.1999999999999 320.4000000000001 156.5999999999999C320.6000000000001 156.5999999999999 320.6000000000001 156.5999999999999 320.6000000000001 156.5999999999999H320.6000000000001C331.0000000000001 157.1999999999999 340.6000000000001 158 349.0000000000001 158.9999999999999C366.6 161.1999999999999 382.8000000000001 170.9999999999999 384.8000000000001 185.9999999999999C386.8000000000001 200.9999999999999 373.8 210.9999999999999 356 212.9999999999999C354.6 213.1999999999999 353.4000000000001 213.3999999999999 352 213.3999999999999C356.2000000000001 213.7999999999999 360.4000000000001 214.1999999999999 364.2000000000001 214.5999999999999C381.8 216.7999999999999 398.0000000000001 226.5999999999999 400 241.5999999999999C401.8 256.6 388.8 267.8 371 268.8zM60 340H0V180H60C71 180 80 189 80 200V320C80 331 71 340 60 340z" : "M40 280H0V140H40C51 140 60 149 60 160V260C60 271 51 280 40 280zM319.8 192.4C321.4 204 311 212.8 296.8 213.4C291.8 213.6 286.4 214 280.6 214.4C281 214.4 281.6 214.6 282 214.6C296 216.6 308.8 224.4 310.2 236C311.4 247.6 301 255.4 286.8 256.8C281.8 257.2 276.4 257.6 271 258C280.4000000000001 261 287.8 266.4 288.4 276.6C289.2 288.2 272.6 297.2 258.4 298.4C253 298.8 248.2 299.2 243.8 299.4L243.8 299.4C243.2 299.4 242.6 299.4 242 299.4C237.4 299.8 233.4 299.8 229.6 300C167 301 113.2 290.6 80 269.8V149.8C122.8 124 175.2 78 164.2 39.6C160.6 27.8 170.4 18.6 183.8 20C200 21.8 211.2 38.2 211.8 55.6C212.6 75.6 208.8 95.8 201.8 113.8C201 118.8 202 123.8 209.2 124.4C219 125 231.4 125.6 241 126C246.2 126 251.2 126.2 256 126.4C256 126.4 256.2 126.4 256.2 126.4H256.2C264.4 126.8 272.2 127.4 278.8 128.2C292.8 130 305.8 137.6 307.4 149.2C309 160.8 298.6 168.6 284.3999999999999 170.2C283.3999999999999 170.4 282.2 170.4 281.2 170.6C284.5999999999999 170.8 287.8 171.2 291 171.6C305.4 173.2 318.4 180.8 319.8 192.4z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.ThumbsDown.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.ThumbsDown.displayName = "Blueprint5.Icon.ThumbsDown"; exports.default = exports.ThumbsDown; //# sourceMappingURL=thumbs-down.js.map