@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 3.31 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/*
* 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 CubeCutout = 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 (_jsx(SVGIconContainer, { iconName: "cube-cutout", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M375 399.999389648C388.808 399.999389648 400 388.8065000000001 400 374.9994V25C400 11.192 388.808 0 375 0H25C11.19288 0 0 11.192 0 25V374.9994C0 388.8065000000001 11.19288 399.999388944 25 399.999389648H375zM210 200V60L309.278 107.934C318.768 112.236 325 122.65 325 134.228V267.4554C324.998 267.5346 324.976 267.6204 324.976 267.6996000000001C287.136 245.1396 247.958 222.3582 210 200zM75 265.7952V132.544C75.0036 121.824 80.3538 112.022 88.8184 107.226L190 60V200L75.122 267.6264C75.0874 267.0206 75.0008 266.4082 75 265.7952zM210.034 335.9124C203.65 339.523 196.2006 339.8656 189.5752 336.8646L90.7226 292.0648C89.3378 291.4374000000001 88.0284 290.6666 86.792 289.7944L200 219.9994C222.016 232.9678 294.668 278.6958 314.454 290.5268C313.422 291.356 312.336 292.1192 311.182 292.7728L210.034 335.9124z" : "M300 320C311.046 320 320 311.0457 320 300V20C320 8.954 311.046 0 300 0H20C8.9543 0 0 8.954 0 20V300C0 311.0457 8.9543 319.9999994362761 20 320H300zM211.406 185.371C199.519 178.3574 187.9254 171.5182 179.3164 166.4454C175.5836 164.2458 172.3976 162.3888 170 160.9766V51.27L247.422 86.348C255.014 89.788 260 98.12 260 107.382V213.9648C260 214.0282 259.98 214.0968 259.98 214.1602C250.248 208.358 230.394 196.5738 211.406 185.371zM60 212.6368V106.036C60.0028 97.46 64.283 89.618 71.0546 85.782L150 52.148V160.9766L60.0976 214.1016C60.0698 213.617 60.0006 213.127 60 212.6368zM168.0274 268.7304C162.9204 271.6188 156.9606 271.8930000000001 151.6602 269.4922000000001L72.5782 233.6524C71.4704 233.1504 70.4228 232.5338 69.4336 231.836L160 178.2812C162.3802 179.6834 165.5004 181.535 169.1602 183.6914C177.7666 188.7628 189.3484 195.5872 201.23 202.5976C221.682 214.664 242.904 227.2444 251.562 232.4218C250.736 233.0852 249.868 233.6958 248.946 234.2188L168.0274 268.7304z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
CubeCutout.defaultProps = {
size: IconSize.STANDARD,
};
CubeCutout.displayName = `Blueprint6.Icon.CubeCutout`;
export default CubeCutout;
//# sourceMappingURL=cube-cutout.js.map