UNPKG

@blueprintjs/icons

Version:

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

35 lines 2.99 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.FullStackedChart = 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.FullStackedChart = 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: "full-stacked-chart", ref: ref }, props), React.createElement("path", { d: isLarge ? "M300 80H340C351 80 360 89 360 100V200H280V100C280 89 289 80 300 80zM240 360C240 371 231 380 220 380H180C169 380 160 371 160 360V280H240V360zM360 280H280V220H360V280zM360 360C360 371 351 380 340 380H300C289 380 280 371 280 360V300H360V360zM240 260H160V160H240V260zM60 80H100C111 80 120 89 120 100V160H40V100C40 89 49 80 60 80zM180 80H220C231 80 240 89 240 100V140H160V100C160 89 169 80 180 80zM380 60H20C9 60 0 51 0 40C0 29 9 20 20 20H380C391 20 400 29 400 40C400 51 391 60 380 60zM120 360C120 371 111 380 100 380H60C49 380 40 371 40 360V300H120V360zM120 280H40V180H120V280z" : "M260 80H280C291 80 300 89 300 100V160H240V100C240 89 249 80 260 80zM200 280C200 291 191 300 180 300H160C149 300 140 291 140 280V220H200V280zM200 200H140V140H200V200zM300 280C300 291 291 300 280 300H260C249 300 240 291 240 280V240H300V280zM300 220H240V180H300V220zM100 220H40V160H100V220zM60 80H80C91 80 100 89 100 100V140H40V100C40 89 49 80 60 80zM300 60H40C29 60 20 51 20 40S29 20 40 20H300C311 20 320 29 320 40S311 60 300 60zM100 280C100 291 91 300 80 300H60C49 300 40 291 40 280V240H100V280zM160 80H180C191 80 200 89 200 100V120H140V100C140 89 149 80 160 80z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.FullStackedChart.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.FullStackedChart.displayName = "Blueprint5.Icon.FullStackedChart"; exports.default = exports.FullStackedChart; //# sourceMappingURL=full-stacked-chart.js.map