UNPKG

@blueprintjs/icons

Version:

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

31 lines 4 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 ThVirtualAdd = 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: "th-virtual-add", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M300 380C300 391.0457 308.954 400 320 400S340 391.0457 340 380V340H380C391.046 340 400 331.0456000000001 400 320S391.046 300 380 300H340V260C340 248.9544 331.046 240 320 240S300 248.9544 300 260V300H260C248.954 300 240 308.9544 240 320S248.954 340 260 340H300V380zM20 380H260C226.866 380 200 353.137 200 320C200 304.6328 205.776 290.615 215.278 280H40V60H340V203.4144C363.3 211.6514 380 233.876 380 260V40C380 28.954 371.044 20 360 20H20C8.95508 20 0 28.954 0 40V360C0 370 7.99804 380 20 380zM60 240C60 251.0458 68.955 260 80 260H180C191.045 260 200 251.0458 200 240S191.045 220 180 220H128.2862L234.14 114.144C241.9540000000001 106.334 241.9540000000001 93.67 234.14 85.86C226.3280000000001 78.048 213.666 78.048 205.854 85.86L100 191.714V140C100 128.954 91.045 120 80 120S60 128.954 60 140V240z" : "M240 300C240 304.14218 241.26 307.99024 243.416 311.18226C247.01 316.50228 253.096 320 260 320C271.046 320 280 311.0457 280 300V280H300C303.676 280 307.122 279.0078 310.082 277.2766000000001C312.68 275.7572 314.904 273.6688000000001 316.584 271.1822C318.74 267.9902 320 264.1422 320 260C320 255.6076 318.584 251.5458 316.1840000000001 248.2464C314.4340000000001 245.8416 312.1620000000001 243.8416 309.5320000000001 242.4138C306.698 240.8744 303.452 240 300 240H280V220C280 215.8578 278.74 212.0098 276.584 208.8178C274.9340000000001 206.3744 272.7560000000001 204.3154 270.216 202.8032C267.226 201.0226 263.7320000000001 200 260 200C257.238 200 254.608 200.5596 252.216 201.5716C248.87 202.987 245.988 205.287 243.866 208.1786C241.436 211.49 240 215.5774 240 220V240H220C216.55 240 213.304 240.8736 210.47 242.4118C207.636 243.9514 205.214 246.1566 203.416 248.8178C201.26 252.0098 200 255.8578 200 260C200 264.543 201.514 268.7322 204.066 272.09C206.168 274.8556 208.974 277.0572 212.216 278.4284C214.608 279.4404 217.238 280 220 280H240V300zM280 163.4144C297.896 169.74 311.894 184.3154 317.432 202.5714C318.2960000000001 202.8336 319.1500000000001 203.1146 320 203.4146V40C320 28 312.002 20 300 20H20C8.95508 20 0 28.954 0 40V280C0 290 7.99804 300 20 300H175.2784C165.7764 289.385 160 275.3674 160 260.0004C160 244.6332 165.7764 230.6152 175.2784 220H40V60H280V163.4144zM147.212 85.59L100 132.7466V120C100 108.954 91.045 100 80 100S60 108.954 60 120V180C60 191.0458 68.955 200 80 200H140C151.045 200 160 191.0458 160 180S151.045 160 140 160H127.1044L174.4042 112.752C181.8702 105.292 181.8652 93.076 174.3848 85.608C166.9092 78.138 154.6778 78.1299999999999 147.212 85.59z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); ThVirtualAdd.defaultProps = { size: IconSize.STANDARD, }; ThVirtualAdd.displayName = `Blueprint5.Icon.ThVirtualAdd`; export default ThVirtualAdd; //# sourceMappingURL=th-virtual-add.js.map