UNPKG

@blueprintjs/icons

Version:

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

35 lines 5.72 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.FloatingPoint = 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.FloatingPoint = 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: "floating-point", ref: ref }, props), React.createElement("path", { d: isLarge ? "M20 267.0338C26.8572 267.0338 33.5238 267.6022000000001 40 268.7388C46.4762 269.8756 52.2858 271.7702000000001 57.4286 274.4228C62.762 277.0752 67.238 280.4854000000001 70.8572 284.6536C74.6666 288.8218 77.1428 293.9372 78.2858 300H104.8572V101.066H69.1428V241.4564H20V267.0338zM299.3 299.7498C313.05 299.7498 324.2340000000001 296.5586 332.85 290.176C341.65 283.976 348.4340000000001 275.9522 353.2 266.105C358.15 256.4402 361.4500000000001 245.7722 363.1 234.1014C364.9340000000001 222.4306 365.85 211.1246 365.85 200.1832C365.85 189.242 364.9340000000001 177.936 363.1 166.264C361.4500000000001 154.594 358.15 143.836 353.2 133.988C348.4340000000001 124.322 341.65 116.3 332.85 109.916C324.2340000000001 103.716 313.05 100.616 299.3 100.616C285.55 100.616 274.276 103.716 265.476 109.916C256.858 116.3 250.076 124.322 245.126 133.988C240.358 143.836 237.058 154.594 235.226 166.264C233.576 177.936 232.75 189.242 232.75 200.1832C232.75 211.1246 233.576 222.4306 235.226 234.1014C237.058 245.7722 240.358 256.4402 245.126 266.105C250.076 275.9522 256.858 283.976 265.476 290.176C274.276 296.5586 285.55 299.7498 299.3 299.7498zM299.3 126.602C306.084 126.602 311.766 128.518 316.35 132.346C320.9340000000001 136.358 324.5080000000001 141.646 327.076 148.212C329.826 154.958 331.75 162.8 332.85 171.736C333.9500000000001 180.672 334.5 190.154 334.5 200.1832C334.5 210.2128 333.9500000000001 219.6042 332.85 228.3572C331.75 237.2926 329.826 245.134 327.076 251.8812C324.5080000000001 258.6284 320.9340000000001 263.9168 316.35 267.7462000000001C311.766 271.7580000000001 306.084 273.764 299.3 273.764C292.334 273.764 286.558 271.7580000000001 281.976 267.7462000000001C277.576 263.9168 274 258.6284 271.25 251.8812C268.6840000000001 245.134 266.85 237.2926 265.75 228.3572C264.65 219.6042 264.1 210.2128 264.1 200.1832C264.1 190.154 264.65 180.672 265.75 171.736C266.85 162.8 268.6840000000001 154.958 271.25 148.212C274 141.646 277.576 136.358 281.976 132.346C286.558 128.518 292.334 126.602 299.3 126.602zM197.2142 138.366H157.5V100H197.2142V138.366z" : "M20 213.4858C25.4858 213.4858 30.819 213.9428 36 214.8572C41.181 215.7714 45.8286 217.2952 49.9428 219.4286C54.2096 221.5618 57.7904 224.3048 60.6858 227.6572C63.7334 231.0096 65.7142 235.1238 66.6286 240H87.8858V80H59.3142V192.9142H20V213.4858zM243.44 239.7998C254.44 239.7998 263.386 237.2332 270.28 232.0998C277.32 227.1132 282.746 220.6598 286.56 212.7398C290.52 204.9664 293.16 196.3864 294.48 186.9998C295.9460000000001 177.6132 296.68 168.5198 296.68 159.7198C296.68 150.9198 295.9460000000001 141.8264 294.48 132.4398C293.16 123.0532 290.52 114.4 286.56 106.48C282.746 98.706 277.32 92.254 270.28 87.12C263.386 82.134 254.44 79.64 243.44 79.64C232.44 79.64 223.42 82.134 216.38 87.12C209.486 92.254 204.06 98.706 200.1 106.48C196.2868 114.4 193.6468 123.0532 192.18 132.4398C190.86 141.8264 190.2 150.9198 190.2 159.7198C190.2 168.5198 190.86 177.6132 192.18 186.9998C193.6468 196.3864 196.2868 204.9664 200.1 212.7398C204.06 220.6598 209.486 227.1132 216.38 232.0998C223.42 237.2332 232.44 239.7998 243.44 239.7998zM243.44 100.54C248.866 100.54 253.414 102.08 257.08 105.16C260.746 108.386 263.606 112.64 265.66 117.92C267.86 123.3464 269.4000000000001 129.6532 270.28 136.8398C271.16 144.0264 271.6 151.6532 271.6 159.7198C271.6 167.7864 271.16 175.3398 270.28 182.3798C269.4000000000001 189.5664 267.86 195.8732 265.66 201.2998C263.606 206.7264 260.746 210.9798 257.08 214.0598C253.414 217.2864 248.866 218.8998 243.44 218.8998C237.866 218.8998 233.246 217.2864 229.58 214.0598C226.06 210.9798 223.2 206.7264 221 201.2998C218.946 195.8732 217.48 189.5664 216.6 182.3798C215.72 175.3398 215.28 167.7864 215.28 159.7198C215.28 151.6532 215.72 144.0264 216.6 136.8398C217.48 129.6532 218.946 123.3464 221 117.92C223.2 112.64 226.06 108.386 229.58 105.16C233.246 102.08 237.866 100.54 243.44 100.54zM161.7714 110H130V79.142H161.7714V110z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.FloatingPoint.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.FloatingPoint.displayName = "Blueprint5.Icon.FloatingPoint"; exports.default = exports.FloatingPoint; //# sourceMappingURL=floating-point.js.map