UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.82 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 DataCloud = 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: "data-cloud", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M380 180C380 168.954 335.228 160 280 160C224.772 160 180 168.954 180 180C180 191.046 224.772 200 280 200C335.228 200 380 191.046 380 180zM364.4720000000001 169.292L364.43 169.278C346.684 163.7 315.502 160 280 160C244.498 160 213.316 163.7 195.5708 169.278L195.5272 169.292C185.6946 172.388 180 176.06 180 180C180 183.94 185.6946 187.612 195.5272 190.708L195.5692 190.722C213.314 196.3 244.498 200 280 200C315.502 200 346.684 196.3 364.43 190.722L364.4720000000001 190.708C374.306 187.612 380 183.94 380 180C380 176.06 374.306 172.388 364.4720000000001 169.292zM354.634 146.246C364.03 148.126 372.906 150.568 380 153.814V100C380 96.06 374.306 92.388 364.4720000000001 89.292L364.43 89.278C346.684 83.7 315.502 80 280 80C244.498 80 213.316 83.7 195.5708 89.278L195.5272 89.292C185.6946 92.388 180 96.06 180 100V153.814C187.095 150.568 195.971 148.126 205.368 146.246C225.104 142.298 251.48 140 280 140C308.52 140 334.896 142.298 354.634 146.246zM180 73.814V20C180 8.954 224.772 0 280 0C335.228 0 380 8.954 380 20V73.814C372.906 70.568 364.03 68.126 354.634 66.246C334.896 62.298 308.52 60 280 60C251.48 60 225.104 62.298 205.368 66.246C195.971 68.126 187.095 70.568 180 73.814zM295.68 319.568C297.12 319.784 298.56 320 300 320C355.2000000000001 320 400 275.2 400 220C400 210.6194 398.706 201.5392 396.288 192.928C394.9240000000001 195.142 393.366 196.948 391.948 198.334C388.4000000000001 201.8002 384.242 204.186 380.6900000000001 205.8654C373.486 209.2726 364.336 211.813 354.634 213.7538C334.896 217.701 308.52 220 280 220C251.48 220 225.104 217.701 205.366 213.7538C195.6634 211.813 186.5144 209.2726 179.309 205.8654C175.7572 204.186 171.599 201.8002 168.0522 198.334C164.4722 194.834 160 188.654 160 180V120H80C35.8 120 0 155.8 0 200C0 237.4 25.6 268.4 60.2 277.2C60.2 277.7 60.15 278.15 60.1 278.6C60.05 279.05 60 279.5 60 280C60 346.2 113.8 400 180 400C232.4 400 276.6 366.2 292.8 319.2C293.76 319.28 294.7200000000001 319.424 295.68 319.568z" : "M240 240C239.4 240 238.6 240 238 239.8C228.8 285.6 188.4 320 140 320C84.8 320 40 275.2 40 220C40 217.8 40.2 215.6 40.4 213.4C16.6 202.2 0 178 0 150C0 111.4 31.4 80 70 80H140V140C140 154.1978 151.0262 161.9974 156.1102 165.0024C162.5328 168.7986 170.495 171.5238 178.5808 173.5452C195.06 177.665 216.766 180 240 180C263.234 180 284.94 177.665 301.42 173.5452C307.8160000000001 171.946 314.136 169.9064 319.676 167.2444C316.0180000000001 208.0464 281.758 240 240 240zM240 110C262.6620000000001 110 283.516 112.286 298.9940000000001 116.156C306.656 118.072 313.5660000000001 120.512 318.802 123.6064C319.188 123.8348 319.59 124.0812 320 124.3462V80C320 68.954 284.182 60 240 60C195.8172 60 160 68.954 160 80V124.3462C160.4108 124.0812 160.812 123.8348 161.1986 123.6064C166.4338 120.512 173.344 118.072 181.0062 116.156C196.4842 112.286 217.338 110 240 110zM318.802 63.606C319.188 63.834 319.59 64.082 320 64.346V20C320 8.954 284.182 0 240 0C195.8172 0 160 8.954 160 20V64.346C160.4108 64.082 160.812 63.834 161.1986 63.606C166.4338 60.512 173.344 58.072 181.0062 56.156C196.4842 52.286 217.338 50 240 50C262.6620000000001 50 283.516 52.286 298.9940000000001 56.156C306.656 58.072 313.5660000000001 60.512 318.802 63.606zM160 140C160 128.9544 195.8172 120 240 120C284.182 120 320 128.9544 320 140C320 151.0456 284.182 160 240 160C195.8172 160 160 151.0456 160 140z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); DataCloud.defaultProps = { size: IconSize.STANDARD, }; DataCloud.displayName = `Blueprint5.Icon.DataCloud`; export default DataCloud; //# sourceMappingURL=data-cloud.js.map