UNPKG

@blueprintjs/icons

Version:

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

31 lines 11.3 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 ArrayNumeric = 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: "array-numeric", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M380 400C390.2567160000001 400 398.710144 392.2791962 399.865446 382.3324225L400 380L400 20C400 9.743284 392.279196 1.289856 382.332422 0.134554L380 0L300 0C288.9543060000001 0 280 8.954306 280 20C280 30.256716 287.720804 38.710144 297.667578 39.865446L300 40L360 40L360 360L300 360C289.743284 360 281.289856 367.7208038 280.1345540000001 377.6675774000001L280 380C280 390.25671678 287.720804 398.7101432140001 297.667578 399.8654453736L300 400L380 400zM100 400C111.045695 400 120 391.045695 120 380C120 369.7432832 112.2791962 361.2898568 102.3324226 360.1345546L100 360L40 360L40 40L100 40C110.2567168 40 118.7101432 32.279196 119.8654454 22.332422L120 20C120 9.743284 112.2791962 1.289856 102.3324226 0.134554L100 0L20 0C9.74328322 0 1.289856786 7.720804 0.1345546266 17.667578L0 20L0 380C0 390.25671678 7.7208038 398.7101432140001 17.6675775 399.8654453734L20 400L100 400zM279.9 278.2C286.3 278.2 291.9666660000001 277.2666666 296.9000000000001 275.4C301.833334 273.5333334 306 270.9333334 309.4000000000001 267.6C312.8 264.2666666 315.4 260.3 317.2 255.7C319 251.1 319.9 246.0666666 319.9 240.6C319.9 234.8666666 318.633334 229.5666666 316.1 224.7C313.566666 219.8333334 309.766666 215.7333334 304.7 212.4L304.7 212.4L304.7 212L306.722222 211.0111112C308.085186 210.225926 309.477778 209.1888888 310.9 207.9C313.033334 205.9666666 314.9666660000001 203.6 316.7000000000001 200.8C318.433334 198 319.866666 194.766666 321 191.1C322.1333340000001 187.433334 322.7000000000001 183.4 322.7000000000001 179C322.7000000000001 172.733334 321.633334 167.066666 319.5 162C317.366666 156.933334 314.4000000000001 152.6 310.6 149C306.8 145.4 302.3 142.633334 297.1 140.7C291.9000000000001 138.766666 286.233334 137.8 280.1 137.8C269.433334 137.8 260.3 140.333334 252.7 145.4C245.1 150.466666 240.233334 157.666666 238.1 167C237.833334 168.333334 238.366666 169.2 239.7 169.6L239.7 169.6L257.1 173.6L257.925 173.6625C258.675 173.5875 259.2000000000001 173.1 259.5 172.2C260.966666 168.2 263.366666 164.8 266.7000000000001 162C270.033334 159.2 274.5 157.8 280.1 157.8C286.5 157.8 291.433334 159.7 294.9 163.5C298.366666 167.3 300.1 172.133334 300.1 178C300.1 184.933334 298.1 190.366666 294.1 194.3C290.1 198.233334 284.7 200.2 277.9 200.2L277.9 200.2L272.1 200.2L271.225 200.325C270.475 200.575 270.1 201.2 270.1 202.2L270.1 202.2L270.1 218L270.225 218.875C270.475 219.625 271.1 220 272.1 220L272.1 220L277.5 220L280.4 220.15C285.066666 220.65 288.9 222.4 291.9000000000001 225.4C295.5 229 297.3 233.8 297.3 239.8C297.3 245.2666666 295.7 249.7 292.5 253.1C289.3 256.5 284.833334 258.2 279.1 258.2C274.033334 258.2 270.033334 256.9333334000001 267.1 254.4C264.166666 251.8666666 262.1 248.4666666 260.9 244.2C260.5 243 259.7 242.5333334 258.5 242.8L258.5 242.8L241.5 246.8L240.65 247.1C239.95 247.5 239.7 248.2 239.9 249.2C240.7 253.3333334 242.2 257.1666666 244.4 260.7C246.6 264.2333334 249.4 267.3 252.8 269.9C256.2 272.5 260.2 274.5333334 264.8 276C269.4000000000001 277.4666666 274.433334 278.2 279.9 278.2zM120.1 276L120.975 275.875C121.725 275.625 122.1 275 122.1 274L122.1 274L122.1 142L121.975 141.125C121.725 140.375 121.1 140 120.1 140L120.1 140L101.7 140L100.825 140.125C100.075 140.375 99.7 141 99.7 142L99.7 142L99.7 249.2L99.3 249.2L78.5 234.6L77.708 234.2C76.7693334 233.88 76.3 234.4133334 76.3 235.8L76.3 235.8L76.3 256.2L76.4555556 257.2222222000001C76.662963 257.874074 77.0777778 258.4666666 77.7 259L77.7 259L99.5 274.8L100.5222222 275.4666666C101.262963 275.8222222 102.1222222 276 103.1 276L103.1 276L120.1 276zM186.9 278.2C193.3 278.2 198.9666666 277.2 203.9 275.2C208.833334 273.2 213 270.5 216.4 267.1C219.8 263.7 222.4 259.7000000000001 224.2 255.1C226 250.5 226.9 245.5333334 226.9 240.2C226.9 234.0666666 225.766666 228.4333334 223.5 223.3C221.233334 218.1666666 218.1 213.2 214.1 208.4L214.1 208.4L174.5 160.4L174.5 160L224.9 160L225.775 159.875C226.525 159.625 226.9 159 226.9 158L226.9 158L226.9 142L226.775 141.125C226.525 140.375 225.9 140 224.9 140L224.9 140L148.5 140L147.625 140.125C146.875 140.375 146.5 141 146.5 142L146.5 142L146.5 157L146.6111112 158C146.7592592 158.622222 147.0555556 159.155556 147.5 159.6L147.5 159.6L195.5 219.4L197.9888888 222.7333334C199.5296296 224.9555556 200.833334 227.1777778 201.9 229.4C203.5 232.7333334 204.3 236.3333334 204.3 240.2C204.3 245.2666666 202.733334 249.5333334 199.6 253C196.4666666 256.4666666 192.0333334 258.2 186.3 258.2C180.8333334 258.2 176.5666666 256.6666666 173.5 253.6C170.4333334 250.5333334 168.5666666 246.4 167.9 241.2C167.6333334 239.8666666 166.9 239.3333334 165.7 239.6L165.7 239.6L148.1 243.2L147.25 243.5C146.55 243.9 146.3 244.6 146.5 245.6C146.9 249.6 148.0333334 253.5333334 149.9 257.4C151.7666666 261.2666666 154.3666666 264.7666666 157.7 267.9C161.0333334 271.0333334 165.1333334 273.5333334 170 275.4C174.8666666 277.2666666 180.5 278.2 186.9 278.2z" : "M300 320C310.256716 320 318.710144 312.2791962 319.865446 302.3324225L320 300L320 20C320 9.743284 312.279196 1.289856 302.332422 0.134554L300 0L240 0C228.954306 0 220 8.954306 220 20C220 30.256716 227.720804 38.710144 237.667578 39.865446L240 40L280 40L280 280L240 280C229.743284 280 221.289856 287.7208038 220.134554 297.6675774000001L220 300C220 310.25671678 227.720804 318.7101432140001 237.667578 319.8654453734L240 320L300 320zM80 320C91.045695 320 100 311.045695 100 300C100 289.7432832 92.2791962 281.2898568 82.3324226 280.1345546L80 280L40 280L40 40L80 40C90.2567168 40 98.7101432 32.279196 99.8654454 22.332422L100 20C100 9.743284 92.2791962 1.289856 82.3324226 0.134554L80 0L20 0C9.74328322 0 1.289856786 7.720804 0.1345546266 17.667578L0 20L0 300C0 310.25671678 7.7208038 318.7101432140001 17.6675775 319.8654453734L20 320L80 320zM218.08 220C223.2 220 227.733334 219.2533334 231.68 217.76C235.626666 216.2666666 238.96 214.1866666 241.68 211.52C244.4 208.8533334 246.48 205.68 247.92 202C249.36 198.32 250.08 194.2933334 250.08 189.92C250.08 185.3333334 249.066666 181.0933334 247.04 177.2C245.013334 173.3066666 241.973334 170.0266666 237.92 167.36L237.92 167.36L237.92 167.04L239.537778 166.2488888C240.628148 165.6207408 241.742222 164.7911112 242.88 163.76C244.586666 162.2133334 246.133334 160.32 247.52 158.08C248.906666 155.84 250.053334 153.2533334 250.96 150.32C251.866666 147.3866666 252.32 144.16 252.32 140.64C252.32 135.6266666 251.466666 131.0933334 249.76 127.04C248.053334 122.9866666 245.68 119.52 242.64 116.64C239.6 113.76 236 111.546666 231.84 110C227.68 108.453334 223.146666 107.68 218.24 107.68C209.706666 107.68 202.4 109.706666 196.32 113.76C190.24 117.813334 186.3466666 123.5733334 184.64 131.04C184.4266666 132.1066666 184.8533334 132.8 185.92 133.12L185.92 133.12L199.84 136.32L200.5 136.37C201.1 136.31 201.52 135.92 201.76 135.2C202.933334 132 204.853334 129.28 207.52 127.04C210.186666 124.8 213.76 123.68 218.24 123.68C223.36 123.68 227.306666 125.2 230.08 128.24C232.853334 131.28 234.24 135.1466666 234.24 139.84C234.24 145.3866666 232.64 149.7333334 229.44 152.88C226.24 156.0266666 221.92 157.6 216.48 157.6L216.48 157.6L211.84 157.6L211.14 157.7C210.54 157.9 210.24 158.4 210.24 159.2L210.24 159.2L210.24 171.84L210.34 172.54C210.54 173.14 211.04 173.44 211.84 173.44L211.84 173.44L216.16 173.44L218.9248 173.6128C222.4576 174.0736 225.376 175.456 227.68 177.76C230.56 180.64 232 184.48 232 189.28C232 193.6533334 230.72 197.2 228.16 199.92C225.6 202.64 222.026666 204 217.44 204C213.386666 204 210.186666 202.9866666 207.84 200.96C205.493334 198.9333334 203.84 196.2133334 202.88 192.8C202.56 191.84 201.92 191.4666666 200.96 191.68L200.96 191.68L187.36 194.88L186.68 195.12C186.12 195.44 185.92 196 186.08 196.8C186.72 200.1066666 187.92 203.1733334 189.68 206C191.44 208.8266666 193.68 211.28 196.4 213.36C199.12 215.44 202.32 217.0666666 206 218.24C209.68 219.4133334 213.706666 220 218.08 220zM95.04 218.24L95.74 218.14C96.34 217.94 96.64 217.44 96.64 216.64L96.64 216.64L96.64 111.04L96.54 110.34C96.34 109.74 95.84 109.44 95.04 109.44L95.04 109.44L80.32 109.44L79.62 109.54C79.02 109.74 78.72 110.24 78.72 111.04L78.72 111.04L78.72 196.8L78.4 196.8L61.76 185.12L61.1264 184.8C60.3754666 184.544 60 184.9706666 60 186.08L60 186.08L60 202.4L60.1244444 203.2177778C60.2903704 203.7392592 60.6222222 204.2133334 61.12 204.64L61.12 204.64L78.56 217.28L79.3777778 217.8133334C79.9703704 218.0977778 80.6577778 218.24 81.44 218.24L81.44 218.24L95.04 218.24zM146.88 220C152 220 156.5333334 219.2 160.48 217.6C164.4266666 216 167.76 213.84 170.48 211.12C173.2 208.4 175.28 205.2 176.72 201.52C178.16 197.84 178.88 193.8666666 178.88 189.6C178.88 184.6933334 177.9733334 180.1866666 176.16 176.08C174.3466666 171.9733334 171.84 168 168.64 164.16L168.64 164.16L136.96 125.76L136.96 125.44L177.28 125.44L177.98 125.34C178.58 125.14 178.88 124.64 178.88 123.84L178.88 123.84L178.88 111.04L178.78 110.34C178.58 109.74 178.08 109.44 177.28 109.44L177.28 109.44L116.16 109.44L115.46 109.54C114.86 109.74 114.56 110.24 114.56 111.04L114.56 111.04L114.56 123.04L114.6488888 123.84C114.7674074 124.3377778 115.0044444 124.7644444 115.36 125.12L115.36 125.12L153.76 172.96L155.7511112 175.6266666C156.9837038 177.4044444 158.0266666 179.1822222 158.88 180.96C160.16 183.6266666 160.8 186.5066666 160.8 189.6C160.8 193.6533334 159.5466666 197.0666666 157.04 199.84C154.5333334 202.6133334 150.9866666 204 146.4 204C142.0266666 204 138.6133334 202.7733334 136.16 200.32C133.7066666 197.8666666 132.2133334 194.56 131.68 190.4C131.4666666 189.3333334 130.88 188.9066666 129.92 189.12L129.92 189.12L115.84 192L115.16 192.24C114.6 192.56 114.4 193.12 114.56 193.92C114.88 197.12 115.7866666 200.2666666 117.28 203.36C118.7733334 206.4533334 120.8533334 209.2533334 123.52 211.76C126.1866666 214.2666666 129.4666666 216.2666666 133.36 217.76C137.2533334 219.2533334 141.76 220 146.88 220z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); ArrayNumeric.defaultProps = { size: IconSize.STANDARD, }; ArrayNumeric.displayName = `Blueprint5.Icon.ArrayNumeric`; export default ArrayNumeric; //# sourceMappingURL=array-numeric.js.map