UNPKG

@blueprintjs/icons

Version:

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

31 lines 6.76 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 ArrayFloatingPoint = 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-floating-point", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M399.832 377.9156C398.388 390.349 387.82 400 375 400H300C290.586 400 280 392.8209 280 380C280 367.1792 290 360 300.458 360H360.458L360 40H300C290 40 280 32.8199999999999 280 20C280 6.192 290 0 300 0H375L377.9160000000001 0.168C390.35 1.612 400 12.1800000000001 400 25V375L399.832 377.9156zM120 380C120 393.80712 110 400 100 400H25L22.0844 399.8318068C9.651 398.38768 0 387.8209 0 375V25L0.1681932 22.0839999999999C1.61232 9.65 12.1791 0 25 0H100C110 0 120 7.1800000000001 120 20C120 32.8199999999999 110 40 100 40H40V360H100C110 360 120 367.1792 120 380zM108.678 253.508C104.2494 252.7264 99.6904 252.3358 95.0012 252.3358V234.7514H128.607V138.232H153.0296V275H134.8592C134.0776 270.8318000000001 132.3842 267.315 129.7792 264.4494C127.3044 261.5838 124.2434 259.2392 120.5962 257.4156C117.0794 255.592 113.1066 254.2896 108.678 253.508zM286.542 268.2716C280.6500000000001 272.6596 273.002 274.8536000000001 263.598 274.8536000000001C254.196 274.8536000000001 246.486 272.6596 240.468 268.2716C234.576 264.009 229.938 258.4928 226.552 251.7228C223.292 245.0782 221.036 237.744 219.782 229.7204C218.654 221.6966 218.09 213.9236 218.09 206.4014C218.09 198.88 218.654 191.106 219.782 183.082C221.036 175.058 223.292 167.662 226.552 160.892C229.938 154.248 234.576 148.732 240.468 144.344C246.486 140.08 254.196 137.9500000000001 263.598 137.9500000000001C273.002 137.9500000000001 280.6500000000001 140.08 286.542 144.344C292.56 148.732 297.198 154.248 300.458 160.892C303.842 167.662 306.1 175.058 307.228 183.082C308.482 191.106 309.108 198.88 309.108 206.4014C309.108 213.9236 308.482 221.6966 307.228 229.7204C306.1 237.744 303.842 245.0782 300.458 251.7228C297.198 258.4928 292.56 264.009 286.542 268.2716zM275.258 159.764C272.124 157.132 268.238 155.814 263.598 155.814C258.834 155.814 254.886 157.132 251.752 159.764C248.742 162.522 246.298 166.158 244.418 170.672C242.662 175.31 241.408 180.7 240.656 186.844C239.904 192.986 239.528 199.506 239.528 206.4014C239.528 213.2968 239.904 219.7534 240.656 225.7712C241.408 231.9142 242.662 237.3052 244.418 241.9438C246.298 246.5826 248.742 250.2182 251.752 252.851C254.886 255.6092 258.834 256.9882 263.598 256.9882C268.238 256.9882 272.124 255.6092 275.258 252.851C278.392 250.2182 280.838 246.5826 282.592 241.9438C284.474 237.3052 285.79 231.9142 286.542 225.7712C287.294 219.7534 287.67 213.2968 287.67 206.4014C287.67 199.506 287.294 192.986 286.542 186.844C285.79 180.7 284.474 175.31 282.592 170.672C280.838 166.158 278.392 162.522 275.258 159.764zM177.0618 163.868H204.22V137.49H177.0618V163.868z" : "M319.866 302.33242C318.71 312.2792 310.2560000000001 320 300 320H240L237.668 319.8654454C227.72 318.710144 220 310.25672 220 300L220.134 297.6676C221.29 287.7208 229.744 280 240 280H280V40H240L237.668 39.866C227.72 38.71 220 30.256 220 20C220 8.954 228.954 0 240 0H300L302.332 0.134C312.2800000000001 1.29 320 9.744 320 20V300L319.866 302.33242zM100 300C100 311.0457 91.0456 320 80 320H20L17.66758 319.8654454C7.7208 318.710144 0 310.25672 0 300V20L0.1345546 17.668C1.289856 7.72 9.74328 0 20 0H80L82.3324 0.134C92.2792 1.29 100 9.744 100 20L99.8654 22.332C98.7102 32.28 90.2568 40 80 40H40V280H80L82.3324 280.1346C92.2792 281.2898 100 289.7432 100 300zM86.9424 202.8064C83.3994 202.1812 79.7524 201.8686 76.001 201.8686V187.801H102.8856V110.586H122.4238V220H107.8872C107.262 216.6654 105.9074 213.852 103.8234 211.5596C101.8434 209.267 99.3948 207.3914 96.477 205.9326C93.6636 204.4736 90.4852 203.4316 86.9424 202.8064zM229.234 214.6172C224.52 218.1276 218.402 219.8828 210.88 219.8828C203.356 219.8828 197.1888 218.1276 192.3746 214.6172C187.6606 211.2072 183.9496 206.7942 181.2416 201.3782C178.634 196.0626 176.8286 190.1952 175.8256 183.7762C174.923 177.3572 174.4716 171.139 174.4716 165.1212C174.4716 159.1034 174.923 152.885 175.8256 146.4662C176.8286 140.0472 178.634 134.1296 181.2416 128.7138C183.9496 123.398 187.6606 118.986 192.3746 115.474C197.1888 112.064 203.356 110.36 210.88 110.36C218.402 110.36 224.52 112.064 229.234 115.474C234.048 118.986 237.758 123.398 240.366 128.7138C243.074 134.1296 244.88 140.0472 245.782 146.4662C246.786 152.885 247.286 159.1034 247.286 165.1212C247.286 171.139 246.786 177.3572 245.782 183.7762C244.88 190.1952 243.074 196.0626 240.366 201.3782C237.758 206.7942 234.048 211.2072 229.234 214.6172zM220.206 127.811C217.7 125.7048 214.59 124.6518 210.88 124.6518C207.068 124.6518 203.908 125.7048 201.402 127.811C198.994 130.0176 197.0384 132.9262 195.5338 136.5368C194.1298 140.2478 193.1268 144.5604 192.525 149.475C191.9232 154.3894 191.6224 159.6048 191.6224 165.1212C191.6224 170.6374 191.9232 175.8028 192.525 180.617C193.1268 185.5314 194.1298 189.8442 195.5338 193.5552C197.0384 197.266 198.994 200.1746 201.402 202.2808C203.908 204.4874 207.068 205.5906 210.88 205.5906C214.59 205.5906 217.7 204.4874 220.206 202.2808C222.714 200.1746 224.67 197.266 226.074 193.5552C227.578 189.8442 228.632 185.5314 229.234 180.617C229.836 175.8028 230.136 170.6374 230.136 165.1212C230.136 159.6048 229.836 154.3894 229.234 149.475C228.632 144.5604 227.578 140.2478 226.074 136.5368C224.67 132.9262 222.714 130.0176 220.206 127.811zM141.6494 131.0938H163.3758V109.992H141.6494V131.0938z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); ArrayFloatingPoint.defaultProps = { size: IconSize.STANDARD, }; ArrayFloatingPoint.displayName = `Blueprint5.Icon.ArrayFloatingPoint`; export default ArrayFloatingPoint; //# sourceMappingURL=array-floating-point.js.map