UNPKG

@blueprintjs/icons

Version:

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

35 lines 6.97 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.SortNumericalDesc = 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.SortNumericalDesc = 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: "sort-numerical-desc", ref: ref }, props), React.createElement("path", { d: isLarge ? "M180 100C174.4 100 169.4 97.8 165.8 94.2000000000001L140 68.2V179.8C140 190.8 131 199.8 120 199.8C109 199.8 100 190.8 100 179.8V68.2L74.2 94H74.2C70.6 97.6 65.6 100 60 100C49 100 40 91 40 80C40 74.4 42.2 69.4 45.8 65.8L105.8 5.8C109.4 2.2 114.4 0 120 0C125.6 0 130.6 2.2 134.2 5.8V5.8L194.2 65.8V65.8C197.8 69.4 200 74.4 200 80C200 91 191 100 180 100zM314 126.6C311.6 123 308.6 120.2 305.2 118C301.8 115.8 297.8 114.2000000000001 293.6 113.4C289.2 112.6 284.8 112.2 280.2 112.4V91H313.4V0H340V139.8H318.8C318 134.6 316.4 130.2 314 126.6zM377 332.6C374.8000000000001 346.2 371.2000000000001 357.8 366 367.8C360.8 377.8 353.6 385.6 344.4 391.4C335 397.2 323.4000000000001 400 309.2000000000001 400C298.4 400 288.6 398.2 280 394.6C271.4 391 264.2000000000001 385.8 258.2 379.4C252.2 372.8 247.8 365.2 244.8 356.4C241.6 347.6 240 338 240 327.8C240 317 241.6 307 244.6 298.4C247.6 289.6 252 282.2 257.6 276C263.2 269.8 269.8 265 277.6 261.6C285.4000000000001 258.2 294 256.4 303.6 256.4C312.8000000000001 256.4 321.2000000000001 258.6 328.8 263C336.4 267.4 342.4000000000001 273.6 346.8 281.8L347.4000000000001 281.2C346.8 274.2 346 266.4 345 258C344 249.6 342 241.8 339.2000000000001 234.4C336.4 227 332.2 220.8 327 216C321.8 211 314.6 208.6 305.8 208.6C297.2000000000001 208.6 290.4000000000001 211.2 285.2000000000001 216.6C280.2000000000001 222 277.2000000000001 229 276.4000000000001 237.6H243.6C244.0000000000001 229.0000000000001 245.8 221 249.4 214C252.8 207 257.2000000000001 200.8 262.8 195.8C268.2 190.8 274.6 186.8000000000001 281.6 184C288.6 181.2 296.2 179.8 304.2000000000001 179.8C318.4000000000001 179.8 330.2000000000001 183.2 340 189.8C349.6 196.4 357.4000000000001 205 363.4000000000001 215.6C369.4000000000001 226.2 373.6000000000001 238.0000000000001 376.2000000000001 250.8C378.8 263.6 380.0000000000001 276.4000000000001 380.0000000000001 289.2000000000001C380.2000000000001 304.6 379 319 377 332.6zM342 311.2C340.4000000000001 305.8 338.2 301.2 335.2000000000001 297C332.2000000000001 292.8 328.4000000000001 289.6 323.8 287.2C319.2000000000001 284.8 313.8 283.6 307.8 283.6C301.8 283.6 296.6 284.8 292.2000000000001 287.4C287.8 290 284.2000000000001 293.2 281.2 297.2C278.4 301.2000000000001 276.2 306 274.8 311.2000000000001C273.4 316.6 272.6 322.2 272.6 328C272.6 333.6 273.4 339 274.8 344.4C276.2 349.6 278.4 354.2 281.2 358.4C284 362.4 287.8 365.6 292.2000000000001 368C296.6 370.4 301.8 371.4 307.8 371.4C314 371.4 319.2000000000001 370.2 323.8 367.8C328.4000000000001 365.4 332.2000000000001 362.2 335.2000000000001 358.2C338.2 354.2 340.4000000000001 349.6 342 344.4C343.6 339.2 344.2000000000001 333.8 344.2000000000001 328C344.2000000000001 322.2 343.4000000000001 316.6 342 311.2z" : "M120 80.2C114.4 80.2 109.4 78 105.8 74.4L100 68.4V140.2C100 151.2 91 160.2 80 160.2S60 151.2 60 140.2V68.4L54.2 74.2C50.4 78 45.6 80.2 40 80.2C29 80.2 20 71.2 20 60.2C20 54.6 22.2 49.6 25.8 46L65.8 6C69.4 2.4 74.4 0.2 80 0.2S90.6 2.4 94.2 6V6L134.2 46V46C137.6 49.6 140 54.6 140 60.2C140 71.2 131 80.2 120 80.2zM277.2 269.2C275.4 278.8 272 287.2 267.2 294.8C262.4 302.4 256 308.4 248 313C240 317.6 229.8 320 217.2 320C208.6 320 200.8 318.6 193.8 315.6C186.8 312.6 180.8 308.6 175.8 303.6C170.8 298.6 167 292.6 164.2 285.8C161.4 279 160.2000000000001 271.6 160.2000000000001 263.6C160.2000000000001 257.4 161.2000000000001 251.4 163.2000000000001 245.4C165.2000000000001 239.4 168.4 234 172.8000000000001 229.4C177.4000000000001 224.6 183.2000000000001 220.8 189.8000000000001 217.8C196.4 215 203.4 213.6 210.4 213.6C218.4 213.6 225.4000000000001 215 231.4000000000001 217.6C237.4000000000001 220.2 242.8000000000001 224.6 247.2000000000001 230.8L247.6000000000001 230.4C247.2000000000001 226.2 246.6 221.4 245.6000000000001 215.8C244.6000000000001 210.4 243.0000000000001 205.2 240.6000000000001 200.6C238.2000000000001 195.8 235.2000000000001 191.8 231.2000000000001 188.6C227.4000000000001 185.4 222.4000000000001 183.6 216.2000000000001 183.6C210.4000000000001 183.6 205.6000000000001 185.6 201.8000000000001 189.4C198 193 195.6 197.4 194.4 202.6H163C164 195.8 165.8 189.8 168.8 184.6C171.8 179.4 175.6 174.8 180.2 171.2C184.8 167.6 190.2 164.8 196.2 163C202.4 161 208.8 160 215.8 160C227.4 160 237.4 162.4 245.4 167.2C253.4 172 260 178.2 265.2 185.8C270.4 193.6 274 202.2 276.4 211.6C278.8 221.2 280 230.8 280 240.4C280 250 279 259.6 277.2 269.2zM243 254.8C242 251.4 240.2 248.4 238.2 245.6C236 243 233.4 240.8 230 239.4C226.8 237.8 222.8 237 218.4 237C214.2 237 210.6 237.8 207.4 239.6C204.2 241.2 201.6 243.4 199.6 246.2C197.2 249 195.8 252 194.8 255.4C193.8 258.8 193.2 262.4 193.2 266.2C193.2 269.8 193.8 273.2 194.8 276.6C196 279.8 197.6 282.8 199.8 285.4C202 288 204.6 290.2 207.8 291.8C211 293.4 214.4 294.2 218.2 294.2C222.4 294.2 226.2 293.4 229.4 291.8C232.6 290.2 235.4000000000001 288 237.6 285.4C239.8 282.6 241.6 279.6 242.8 276.2C244.0000000000001 272.8 244.6 269.2 244.6 265.8C244.6 261.8 244 258.2 243 254.8zM233.8 108.6C231.4 105.6 228.6 103 225 101.2C221.6 99.4 217.6 98 213.4 97.2C209 96.4 204.6 96.2 200 96.2V77.8H233V0.2H259.6V120H238.4C237.8 115.4 236.2 111.6 233.8 108.6z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.SortNumericalDesc.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.SortNumericalDesc.displayName = "Blueprint5.Icon.SortNumericalDesc"; exports.default = exports.SortNumericalDesc; //# sourceMappingURL=sort-numerical-desc.js.map