UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.73 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 BringData = 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: "bring-data", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M360 40C371.0456940000001 40 380 31.045694 380 20C380 8.954306 371.0456940000001 0 360 0L40 0C28.954305 0 20 8.954306 20 20C20 31.045694 28.954305 40 40 40L360 40zM199.9 339.9C210.9 339.9 219.9 330.908991 219.9 319.91998L219.9 319.91998L219.9 128.231668L245.7 154.005894C249.3 157.602298 254.3 159.8001 259.9 159.8001C270.9 159.8001 279.9 150.80909 279.9 139.82008C279.9 134.225674 277.7 129.23067 274.1 125.634266L274.1 125.634266L214.1 65.694206C210.5 62.097802 205.3 59.9 199.9 59.9C194.5 59.9 189.5 62.097802 185.7 65.694206L185.7 65.694206L125.7 125.634266C122.1 129.23067 119.9 134.225674 119.9 139.82008C119.9 150.80909 128.9 159.8001 139.9 159.8001C145.5 159.8001 150.5 157.602298 154.1 154.005894L154.1 154.005894L179.9 128.231668L179.9 319.7201798C179.9 330.7091908 188.9 339.9 199.9 339.9zM320 400C331.0456940000001 400 340 391.045695 340 380C340 368.954305 331.0456940000001 360 320 360C308.9543060000001 360 300 368.954305 300 380C300 391.045695 308.9543060000001 400 320 400zM260 400C271.045694 400 280 391.045695 280 380C280 368.954305 271.045694 360 260 360C248.954306 360 240 368.954305 240 380C240 391.045695 248.954306 400 260 400zM200 400C211.045694 400 220 391.045695 220 380C220 368.954305 211.045694 360 200 360C188.954305 360 180 368.954305 180 380C180 391.045695 188.954305 400 200 400zM140 400C151.045695 400 160 391.045695 160 380C160 368.954305 151.045695 360 140 360C128.954305 360 120 368.954305 120 380C120 391.045695 128.954305 400 140 400zM80 400C91.045695 400 100 391.045695 100 380C100 368.954305 91.045695 360 80 360C68.954305 360 60 368.954305 60 380C60 391.045695 68.954305 400 80 400z" : "M280 40C291.045694 40 300 31.045694 300 20C300 8.954306 291.045694 0 280 0L40 0C28.954305 0 20 8.954306 20 20C20 31.045694 28.954305 40 40 40L280 40zM159.9 259.9C170.9 259.9 179.9 250.908991 179.9 239.91998L179.9 239.91998L179.9 128.2316684L205.7 154.0058942C209.3 157.6022978 214.3 159.8001 219.9 159.8001C230.9 159.8001 239.9 150.809091 239.9 139.82008C239.9 134.2256744 237.7 129.2306694 234.1 125.6342658L234.1 125.6342658L174.1 65.694206C170.5 62.097802 165.3 59.9 159.9 59.9C154.5 59.9 149.5 62.097802 145.7 65.694206L145.7 65.694206L85.7 125.6342658C82.1 129.2306694 79.9 134.2256744 79.9 139.82008C79.9 150.809091 88.9 159.8001 99.9 159.8001C105.5 159.8001 110.5 157.6022978 114.1 154.0058942L114.1 154.0058942L139.9 128.2316684L139.9 239.7201798C139.9 250.7091908 148.9 259.9 159.9 259.9zM280 320C291.045694 320 300 311.045695 300 300C300 288.954305 291.045694 280 280 280C268.9543060000001 280 260 288.954305 260 300C260 311.045695 268.9543060000001 320 280 320zM220 320C231.045694 320 240 311.045695 240 300C240 288.954305 231.045694 280 220 280C208.954306 280 200 288.954305 200 300C200 311.045695 208.954306 320 220 320zM160 320C171.045695 320 180 311.045695 180 300C180 288.954305 171.045695 280 160 280C148.954305 280 140 288.954305 140 300C140 311.045695 148.954305 320 160 320zM100 320C111.045695 320 120 311.045695 120 300C120 288.954305 111.045695 280 100 280C88.954305 280 80 288.954305 80 300C80 311.045695 88.954305 320 100 320zM40 320C51.045695 320 60 311.045695 60 300C60 288.954305 51.045695 280 40 280C28.954305 280 20 288.954305 20 300C20 311.045695 28.954305 320 40 320z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); BringData.defaultProps = { size: IconSize.STANDARD, }; BringData.displayName = `Blueprint5.Icon.BringData`; export default BringData; //# sourceMappingURL=bring-data.js.map