UNPKG

@blueprintjs/icons

Version:

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

35 lines 5.34 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.Intelligence = 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.Intelligence = 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: "intelligence", ref: ref }, props), React.createElement("path", { d: isLarge ? "M200 220C189 220 180 211 180 200C180 189 189 180 200 180C211 180 220 189 220 200C220 211 210.8 220 200 220zM299.842 200.5V201.375C299.592 203.125 298.844 204.625 297.718 205.875C291.346 214.25 283.722 221.625 275.976 228.375C259.356 243 240.362 255.25 219.492 260.125C207.372 263 195.1256 263.125 183.1294 260.625C171.8828 258.375 161.2612 253.875 151.2642 248.25C135.6442 239.375 121.2736 227.25 108.7776 213.625C106.5282 211.125 104.279 208.5 102.1546 205.75C99.4054 202.125 99.4054 197.75 102.1546 194.126C108.5276 185.75 116.1502 178.376 123.8978 171.626C140.5176 157 159.5116 144.75 180.3802 139.876C192.5014 137 204.748 136.876 216.994 139.376C228.116 141.626 238.736 146.126 248.858 151.75C264.478 160.626 278.85 172.75 291.2200000000001 186.376C293.4700000000001 188.876 295.844 191.5 297.968 194.25C299.094 195.5 299.842 197.126 300.092 198.75V200C299.842 200.25 299.842 200.375 299.842 200.5zM200 160C177.8666 160 160 177.866 160 200C160 222.1334 177.8666 240 200 240C222.134 240 240 222.1334 240 200C240 177.866 222.134 160 200 160zM140 380C140 391.0457 131.0456 400 120 400H20C8.9543 400 0 391.0457 0 380V280C0 268.9544 8.9543 260 20 260C31.0456 260 40 268.9544 40 280V360H120C131.0456 360 140 368.9544 140 380zM260 380C260 391.0457 268.954 400 280 400H380C391.046 400 400 391.0457 400 380V280C400 268.9544 391.046 260 380 260C368.954 260 360 268.9544 360 280V360H280C268.954 360 260 368.9544 260 380zM260 20C260 8.954 268.954 0 280 0H380C391.046 0 400 8.954 400 20V120C400 131.046 391.046 140 380 140C368.954 140 360 131.046 360 120V40H280C268.954 40 260 31.046 260 20zM140 20C140 8.954 131.0456 0 120 0H20C8.9543 0 0 8.954 0 20V120C0 131.046 8.9543 140 20 140C31.0456 140 40 131.046 40 120V40H120C131.0456 40 140 31.046 140 20z" : "M160 180C149 180 140 171 140 160C140 149 149 140 160 140C171 140 180 149 180 160C180 171 170.8 180 160 180zM259.75 160.4808V161.3222C259.5 163.005 258.75 164.4472 257.626 165.6492C251.252 173.7024 243.63 180.7942 235.882 187.2848C219.262 201.3478 200.268 213.1272 179.4002 217.8148C167.279 220.5794 155.0328 220.6996 143.0366 218.2956C131.79 216.1322 121.1684 211.805 111.1716 206.3962C95.5514 197.8622 81.1808 186.203 68.6848 173.1016C66.4354 170.6976 64.1862 168.1734 62.0618 165.529C59.3128 162.0434 59.3128 157.8364 62.0618 154.3508C68.4348 146.2976 76.0574 139.2058 83.805 132.7152C100.4248 118.652 119.419 106.872 140.2874 102.186C152.4086 99.42 164.6548 99.3 176.901 101.704C188.0224 103.868 198.6442 108.194 208.766 113.604C224.386 122.1378 238.756 133.797 251.128 146.8984C253.378 149.3024 255.752 151.8266 257.8760000000001 154.471C259 155.6728 259.75 157.2354 260 158.798V160C259.75 160.2404 259.75 160.3606 259.75 160.4808zM160 120C137.8666 120 120 137.8666 120 160C120 182.1334 137.8666 200 160 200C182.1334 200 200 182.1334 200 160C200 137.8666 182.1334 120 160 120zM140 300C140 311.0457 131.0456 320 120 320H20C8.9543 320 0 311.0457 0 300V200C0 188.9544 8.9543 180 20 180C31.0456 180 40 188.9544 40 200V280H120C131.0456 280 140 288.9544 140 300zM180 300C180 311.0457 188.9542 320 200 320H300C311.046 320 320 311.0457 320 300V200C320 188.9544 311.046 180 300 180C288.954 180 280 188.9544 280 200V280H200C188.9542 280 180 288.9544 180 300zM180 20C180 8.954 188.9542 0 200 0H300C311.046 0 320 8.954 320 20V120C320 131.0456 311.046 140 300 140C288.954 140 280 131.0456 280 120V40H200C188.9542 40 180 31.046 180 20zM140 20C140 8.954 131.0456 0 120 0H20C8.9543 0 0 8.954 0 20V120C0 131.0456 8.9543 140 20 140C31.0456 140 40 131.0456 40 120V40H120C131.0456 40 140 31.046 140 20z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.Intelligence.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.Intelligence.displayName = "Blueprint5.Icon.Intelligence"; exports.default = exports.Intelligence; //# sourceMappingURL=intelligence.js.map