UNPKG

@blueprintjs/icons

Version:

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

31 lines 3.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 FlowLinear = 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: "flow-linear", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M102.5074162 180.0503182L19.51906448 180.0503182C8.78357902 180.0503182 0 189.2708780000001 0 200C0 210.729122 8.78357902 219.853704 19.51906448 219.853704L102.482844 219.853704C111.3127152 254.4324544 142.6705474 280 180 280C217.329452 280 248.687284 254.4324544 257.517156 219.853704L333.0496080000001 219.853704L285.868188 266.2001672C282.354756 269.7115162 280.158902 274.4841906 280.158902 279.946289C280.158902 290.6754111200001 289.3473360000001 299.9642944336 300.082822 299.9642944336C305.54816 299.9642944336 310.525416 297.66424868 314.0388480000001 293.9578247L394.14428 213.6552462C397.6577120000001 210.1438972 400 205.4620986 400 200C400 194.5379014 397.852902 189.6610278 394.33947 186.1496788L314.0388480000001 106.0021252C310.525416 102.4907762 305.54816 100.0542498 300.082822 100.0542498C289.3473360000001 100.0542498 280.158902 109.1247542 280.158902 119.8538762C280.158902 125.3159748 282.305998 130.1928484 285.81943 133.7041974L333.244798 180.0503182L257.492584 180.0503182C248.62924 145.5202454 217.294906 120 180 120C142.7050934 120 111.3707594 145.5202454 102.5074162 180.0503182z" : "M83.1826106 139.9698042L19.5529698 139.9698042C8.79883638 139.9698042 0 149.357275 0 160.113582C0 170.8698888 8.79883638 179.917692 19.5529698 179.917692L83.1427902 179.917692C91.3799616 203.2645242 113.6905716 220 139.9212536 220C166.1519354 220 188.4625456 203.2645242 196.6997168 179.917692L256.293692 179.917692C238.3408 195.0344554 228.220948 203.770231 225.934134 206.1250186C222.503916 209.6572002 220.077924 214.7518006 220.077924 220.2277387C220.077924 230.98404562 229.161892 240 239.916026 240C245.390856 240 250.34669 237.83761662 253.866224 234.1218015C256.21258 231.64459142 276.301876 211.5384666 314.1341080000001 173.8034272C317.653644 170.2831812 320 165.58952 320 160.113582C320 154.637644 317.849172 149.7484134 314.329638 146.2281676L253.961108 85.6715072C250.441574 82.1512614 245.553332 80 240.0785 80C229.017022 80 220.077924 88.9472988 220.077924 99.7036056C220.077924 105.1795438 222.4146 110.5972976 225.934134 114.1175436L256.293692 139.9698042L196.6598964 139.9698042C188.3908292 116.6817314 166.1097828 100 139.9212536 100C113.7327244 100 91.451678 116.6817314 83.1826106 139.9698042z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); FlowLinear.defaultProps = { size: IconSize.STANDARD, }; FlowLinear.displayName = `Blueprint5.Icon.FlowLinear`; export default FlowLinear; //# sourceMappingURL=flow-linear.js.map