UNPKG

@blueprintjs/icons

Version:

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

31 lines 6.74 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 SortNumerical = 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: "sort-numerical", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M180 100.2C174.4 100.2 169.4 98 165.8 94.4H165.8L140 68.4V180.2000000000001C140 191.2000000000001 131 200.2000000000001 120 200.2000000000001C109 200.2000000000001 100 191.2000000000001 100 180.2000000000001V68.4L74.2 94.2000000000001C70.6 98 65.6 100.2 60 100.2C49 100.2 40 91.2 40 80.2C40 74.6 42.2 69.6 45.8 66L105.8 6V6C109.4 2.4 114.4 0.2 120 0.2C125.6 0.2 130.6 2.4 134.2 6V6L194.2 66C197.8 69.6 200 74.6 200 80.2000000000001C200.2 91.2 191.2 100.2 180 100.2zM357.6 95.6C356 104 353.2 111.4 349.2 118C345.2 124.6 339.8 130 333.2 134C326.6 138 318 140 307.6 140C300.4 140 294 138.8 288.2 136.2C282.4 133.6 277.4 130.2 273.2 125.8C268.9999999999999 121.4 265.8 116.2 263.3999999999999 110.2000000000001C261.2 104.2000000000001 260 97.8000000000001 260 90.8C260 85.4 260.7999999999999 80 262.6 74.8000000000001C264.2 69.6 267 64.8000000000001 270.6 60.8000000000001C274.3999999999999 56.6 279.2 53.2 284.8 50.8000000000001C290.4 48.4 296 47 301.8 47C308.4 47 314.2 48.2 319.2 50.4000000000001C324.2 52.8000000000001 328.5999999999999 56.6 332.4 62L332.8 61.6C332.5999999999999 57.8 332 53.6000000000001 331.2 49.0000000000001C330.4 44.2000000000001 329 39.8000000000001 327 35.6C325 31.4 322.4 28.0000000000001 319.2 25C316 22.2 311.8 20.6 306.8 20.6C302 20.6 298 22.2 294.8 25.6C291.6 29.0000000000001 289.4 32.8 288.6 37.4H262.4C263.2 31.6 264.8 26.2 267.2 21.6C269.5999999999999 17 272.8 13.0000000000001 276.8 9.8000000000001C280.6 6.6 285.2 4.2 290.2 2.6C295.2 1.0000000000001 300.6 0.2 306.6 0.2C316.4 0.2 324.5999999999999 2.2 331.2 6.4C338 10.6 343.4 16 347.6 22.8C351.8 29.6 355 37 357 45.4C359 53.8 360 61.9999999999999 360 70.4C360 79 359.2000000000001 87.4 357.6 95.6zM329.2000000000001 83C328.2 80 327 77.4 325.2000000000001 75C323.4000000000001 72.6 321.2000000000001 70.8 318.4000000000001 69.6S312.4000000000001 67.6 308.6 67.6C305.2000000000001 67.6 302 68.4 299.4000000000001 69.8C296.8 71.2 294.6 73.2 292.8 75.6C291.2 78 289.8 80.6 289 83.6C288.2000000000001 86.6 287.8 89.8 287.8 93C287.8 96 288.2 99 289.2000000000001 101.9999999999999C290.2000000000001 104.9999999999999 291.4 107.6 293.2 109.8C295 112.1999999999999 297.2 114 299.8 115.4C302.4000000000001 116.8 305.2 117.6 308.6 117.6C312 117.6 315.2 116.8 318 115.4C320.8 114 323 111.9999999999999 324.8000000000001 109.8C326.6 107.4 328.0000000000001 104.8 329.0000000000001 101.8C330.0000000000001 98.8 330.4000000000001 95.8 330.4000000000001 92.6C330.6 89.2000000000001 330 86 329.2000000000001 83zM306.4 180H340V400H315C314 393.2 311.6 387.6 308.2 383C304.8 378.4 300.4 374.6 295.6 371.6C290.6 368.6 285.2 366.6 279 365.4C273 364.2 266.6 363.6 260.2 363.6V335.4H306.4V180z" : "M120 80.2C114.4 80.2 109.4 78 105.8 74.4L100 68.4V140.2C100 151.2 91 160.2 80 160.2C69 160.2 60 151.2 60 140.2V68.4L54.2 74.2C50.6 77.8 45.6 80.2 40 80.2C29 80.2 20 71.2 20 60.2C20 54.6 22.2 49.6 25.8 46L25.8 46L65.8 6L65.8 6C69.4 2.4 74.4 0.2 80 0.2C85.6 0.2 90.6 2.4 94.2 6L134.2 46C137.8 49.6 140 54.6 140 60.2C140 71.2 131 80.2 120 80.2zM278.2 81.8C277 89 274.8 95.4 271.6 101C268.4 106.6 264.2000000000001 111.2 258.8 114.8C253.4 118.2 246.6 120 238.2 120C232.6 120 227.4000000000001 118.8 222.6 116.6C218 114.4 214 111.4 210.6 107.6C207.2 103.8 204.6 99.4 202.8 94.2C201 89 200 83.6 200 77.6C200 73 200.6 68.4 202 63.8C203.4 59.2000000000001 205.4 55.2 208.4 51.8C211.6 48.2 215.2 45.2 219.8 43.2C224.2 41.0000000000001 228.8 40.0000000000001 233.4 40.0000000000001C238.6 40.0000000000001 243.4 41.0000000000001 247.4 43.0000000000001S255 48.2 258 53.0000000000001L258.4 52.6C258.2 49.4 257.8 45.8000000000001 257 41.8000000000001C256.4 37.8000000000001 255.2 33.8000000000001 253.6 30.4000000000001C252 26.8000000000001 250 23.8000000000001 247.4 21.4000000000001C244.8 19.0000000000001 241.6 17.6000000000001 237.4 17.6000000000001C233.6 17.6000000000001 230.4 19.0000000000001 227.8 21.8000000000001C225.2 24.6000000000001 223.5999999999999 28.0000000000001 222.8 31.8000000000001H202C202.6 26.8000000000001 204 22.2000000000001 205.8 18.2000000000001C207.8 14.2000000000001 210.2 10.8000000000001 213.4 8.2000000000001C216.6 5.4000000000001 220 3.4000000000001 224.2 2.0000000000001S232.6 1e-13 237.2 1e-13C245.0000000000001 1e-13 251.6 1.8000000000001 257 5.4000000000001C262.4000000000001 9.0000000000001 266.8 13.6000000000001 270.2000000000001 19.4000000000001C273.6 25.2 276 31.6000000000001 277.6 38.8000000000001C279.2000000000001 46.0000000000001 280 53.2000000000001 280 60.2000000000001C280 67.4 279.4000000000001 74.6 278.2 81.8zM255.4 71C254.6 68.4 253.6 66.2 252.2 64.2C250.8 62.2000000000001 249 60.6 246.8 59.4C244.6 58.2 242 57.6 239 57.6C236.2 57.6 233.8 58.2 231.6 59.4C229.4 60.6 227.8 62.4 226.4 64.4C225 66.4 224 68.8 223.4 71.4C222.8 74 222.4 76.6 222.4 79.4C222.4 82 222.8 84.6 223.4 87.2C224.2 89.8 225.2 92 226.6 94C228 96 229.8 97.6 231.8 98.8C233.8 100 236.2 100.6 238.8 100.6C241.6 100.6 244 100 246.2 98.8C248.4 97.6 250.2 96 251.8 94C253.2 92 254.4 89.6 255.2 87C256 84.4 256.4 81.8 256.4 79.2C256.4 76.2 256 73.6 255.4 71zM224.2 160.4H260V320H231.6C230.6 314 228.4 308.8 225.4 304.8C222.2 300.6 218.4 297.4 213.8 294.8C209.2 292.2 204 290.6 198.2 289.6C192.2 288.6 186.2 288.2 180 288.4V264H224.2V160.4z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); SortNumerical.defaultProps = { size: IconSize.STANDARD, }; SortNumerical.displayName = `Blueprint5.Icon.SortNumerical`; export default SortNumerical; //# sourceMappingURL=sort-numerical.js.map