UNPKG

@blueprintjs/icons

Version:

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

35 lines 3.16 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.ThListAdd = 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.ThListAdd = 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: "th-list-add", ref: ref }, props), React.createElement("path", { d: isLarge ? "M320 400C308.956 400 300 391.04584 300 380V340H260C248.956 340 240 331.0458 240 320S248.956 300 260 300H300V260C300 248.9542 308.956 240 320 240S340 248.9542 340 260V300H380C391.044 300 400 308.9542 400 320S391.044 340 380 340H340V380C340 391.04584 331.044 400 320 400zM343.354 204.715C364.888 213.8236 380 235.147 380 260V40C380 28.954 371.044 20 360 20H20C8.95508 20 0 28.954 0 40V360C0 370 7.99804 380 20 380H260C226.866 380 200 353.1372 200 320C200 304.6328 205.776 290.6152 215.278 280H40V220H275.278C286.264 207.725 302.232 200 320 200H40V140H340V200H320C327.012 200 333.746 201.203 340 203.4144C340.528 203.6004 341.05 203.794 341.568 203.9944C342.168 204.2254 342.764 204.4656 343.354 204.715zM40 120V60H340V120H40z" : "M240 300C240 311.0457 248.954 320 260 320S280 311.0457 280 300V280H300C311.046 280 320 271.0456 320 260S311.046 240 300 240H280V220C280 208.9544 271.046 200 260 200S240 208.9544 240 220V240H220C208.954 240 200 248.9544 200 260S208.954 280 220 280H240V300zM160 260.0004C160 244.633 165.7772 230.6152 175.2782 220H40V180H215.278C226.264 167.725 242.23 160 260 160H40V120H280V160H260C287.076 160 309.964 177.9342 317.43 202.5714C318.2960000000001 202.8336 319.1520000000001 203.1148 320 203.4146V40C320 28 312 20 300 20H20C8 20 0 28 0 40V280C0 290 8 300 20 300H175.2776C165.777 289.385 160 275.3674 160 260.0004zM140 60H280V100H40V60H140z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.ThListAdd.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.ThListAdd.displayName = "Blueprint5.Icon.ThListAdd"; exports.default = exports.ThListAdd; //# sourceMappingURL=th-list-add.js.map