UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.15 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.Cubes = 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.Cubes = 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: "cubes", ref: ref }, props), React.createElement("path", { d: isLarge ? "M194.1416 271.85L292.016 317.7044C299.356 321.1434 307.9100000000001 320.6966 314.858 316.5112000000001L388.094 272.396C395.478 267.948 400 259.9152000000001 400 251.2444V150.494C400 140.908 394.484 132.19 385.858 128.15L287.9840000000001 82.296C280.644 78.856 272.09 79.304 265.1420000000001 83.4879999999999L191.9054 127.604C184.5214 132.052 180 140.084 180 148.756V249.5052C180 259.0924 185.5168 267.8092 194.1416 271.85zM16.2484 358.0422L98.467 397.2152C107.216 401.3838 117.4896 400.8448 125.7512 395.7838L186.3898 358.6380000000001C194.8472 353.4572 200 344.2726 200 334.3788V296.6808L185.6566 289.9608C169.9454 282.6002 160 266.786 160 249.5052V218.258L136.1984 232.8384C122.1632 241.436 104.7216 242.3494 89.8644 235.2706000000001L34.1998 208.7492L13.6102 221.362C5.153 226.5428 0 235.7274 0 245.6212V332.3516C0 343.3192 6.32 353.3118 16.2484 358.0422zM160 194.804V148.756C160 133.122 168.151 118.564 181.5856 110.472L200 99.38V67.648C200 56.68 193.68 46.688 183.7516 41.958L101.533 2.784C92.784 -1.384 82.5104 -0.8440000000001 74.2488 4.216L13.6102 41.362C5.153 46.542 0 55.728 0 65.622V152.352C0 163.32 6.32 173.312 16.2484 178.042L98.467 217.2152C107.216 221.3838 117.4896 220.8448 125.7512 215.7838L160 194.804z" : "M79.5644 317.5294C86.901 321.2850000000001 95.6404 320.728 102.4654 316.0698L149.8218 283.7482C156.1806 279.4082 160 272.1018000000001 160 264.2776V250.9194L145.0206 244.8114C129.735 238.5784 120 223.6486 120 207.3616V188.3164L113.74 192.589C100.8862 201.362 84.3272 202.4354 70.4512 195.3326L20.0346 169.5248L10.1782 176.2518C3.8194 180.5918 0 187.8982 0 195.7224V262.339C0 271.2024 4.8914 279.3052 12.6352 283.269L79.5644 317.5294zM152.5722 226.2918L231.662 258.5418C236.966 260.7046000000001 242.924 260.452 248.034 257.8476L308.944 226.8004C315.7200000000001 223.3468 320 216.287 320 208.5646V112.638C320 104.302 315.02 96.804 307.428 93.708L228.338 61.458C223.034 59.296 217.076 59.548 211.966 62.152L151.0558 93.2C144.28 96.654 140 103.712 140 111.436V207.3616C140 215.6986 144.979 223.1956 152.5722 226.2918zM120 164.102V111.436C120 96.34 128.3676 82.316 141.9734 75.38L160 66.192V57.662C160 48.798 155.1086 40.694 147.365 36.73L80.4356 2.47C73.099 -1.284 64.3596 -0.728 57.5346 3.93L10.1782 36.252C3.8194 40.592 0 47.898 0 55.722V122.339C0 131.2024 4.8914 139.3052 12.6352 143.269L79.5644 177.5294C86.901 181.285 95.6404 180.728 102.4654 176.0698L120 164.102z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.Cubes.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.Cubes.displayName = "Blueprint5.Icon.Cubes"; exports.default = exports.Cubes; //# sourceMappingURL=cubes.js.map