UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.04 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.MergeColumns = 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.MergeColumns = 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: "merge-columns", ref: ref }, props), React.createElement("path", { d: isLarge ? "M134.2 274.2C130.6 277.8 125.6 280 120 280C109 280 100 271 100 260C100 254.4 102.2 249.4 105.8 245.8L131.8 220H40V360H140V316.4C148.4 313.4 156 308.6 162.2 302.4L162.4 302.6L180 284.8V380C180 391 171 400 160 400H20C9 400 0 391 0 380V20C0 9 9 0 20 0H160C171 0 180 9 180 20V115.2L162.4 97.6L162.2 97.8C156 91.6 148.4 86.6 140 83.6V40H40V180H131.8L106 154.2C102.2 150.6 100 145.6 100 140C100 129 109 120 120 120C125.6 120 130.6 122.2 134.2 125.8L194.2 185.8C197.8 189.4 200 194.4 200 200C200 205.6 197.8 210.6 194.2 214.2L134.2 274.2zM380 400H240C229 400 220 391 220 380V284.8L237.6 302.4L237.8 302.2C244.0000000000001 308.4 251.6 313.2 260 316.2000000000001V360H360V220H268.2L294 245.8C297.8 249.4 300 254.4 300 260C300 271 291 280 280 280C274.4000000000001 280 269.4000000000001 277.8 265.8 274.2L205.8 214.2C202.2 210.6 200 205.6 200 200C200 194.4 202.2 189.4 205.8 185.8L265.8 125.8C269.4000000000001 122.2 274.4000000000001 120 280 120C291 120 300 129 300 140C300 145.6 297.8 150.6 294.2000000000001 154.2L268.2 180H360V40H260V83.6C251.6 86.6 244 91.4 237.8 97.6L237.6 97.4L220 115.2V20C220 9 229 0 240 0H380C391 0 400 9 400 20V380C400 391 391 400 380 400z" : "M114.2 214.2C110.6 217.8 105.6 220 100 220C89 220 80 211 80 200C80 194.4 82.2 189.4 85.8 185.8L91.8 180H40V280H100V249.8C110.4 248.6 119.8 244 126.8 236.8L126.8 236.8L140 223.6V300C140 311 131 320 120 320H20C9 320 0 311 0 300V20C0 9 9 0 20 0H120C131 0 140 9 140 20V96.4L126.8 83.2L126.8 83.2C119.8 76.2 110.4 71.4 100 70.2V40H40V140H91.8L85.8 134.2C82.2 130.6 80 125.6 80 120C80 109 89 100 100 100C105.6 100 110.6 102.2 114.2 105.8L154.2 145.8C157.8 149.4 160 154.4 160 160C160 165.6 157.8 170.6 154.2 174.2L114.2 214.2zM300 320H200C189 320 180 311 180 300V223.6L193.2 236.8L193.2 236.8C200.2 243.8 209.6 248.6 220 249.8V280H280V180H228.2L234 185.8C237.8 189.4 240 194.4 240 200C240 211 231 220 220 220C214.4 220 209.4 217.8 205.8 214.2L165.8 174.2C162.2 170.6 160 165.6 160 160C160 154.4 162.2 149.4 165.8 145.8L205.8 105.8C209.4 102.2 214.4 100 220 100C231 100 240 109 240 120C240 125.6 237.8 130.6 234.2 134.2L228.2 140H280V40H220V70.2C209.6 71.4 200.2 76 193.2 83.2L193.2 83.2L180 96.4V20C180 9 189 0 200 0H300C311 0 320 9 320 20V300C320 311 311 320 300 320z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.MergeColumns.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.MergeColumns.displayName = "Blueprint5.Icon.MergeColumns"; exports.default = exports.MergeColumns; //# sourceMappingURL=merge-columns.js.map