UNPKG

@blueprintjs/icons

Version:

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

35 lines 3.92 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.Sensor = 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.Sensor = 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: "sensor", ref: ref }, props), React.createElement("path", { d: isLarge ? "M360.0000000000001 40.0000000000001L40.0000000000001 40.0000000000001L40.0000000000001 80.0000000000001L360.0000000000001 80.0000000000001L360.0000000000001 40.0000000000001zM320 80L80 80L122.4374 115.364C126.0316 118.36 130.5622 120 135.241 120L264.758 120C269.438 120 273.968 118.36 277.562 115.364L320 80zM180 160A20 20 0 0 1 220 160A20 20 0 0 1 180 160M273.702 199.202C281.698 206.7996 282.098 219.3962 274.502 227.394C231.32 272.7818 164.347 268.9828 125.3632 227.194C117.7662 219.1962 118.366 206.3996 126.3628 199.002C134.3594 191.404 147.1542 192.004 154.551 200.0014C178.3412 225.5944 218.724 227.7938 245.314 199.802C253.11 192.004 265.706 191.604 273.702 199.202zM64.093 271.9314C58.0956 263.9336 58.0956 249.9374 68.0914 243.939C76.0882 237.9406 90.0824 237.9406 96.0798 247.9378C122.0692 281.9288 158.0542 299.9238000000001 200.036 299.9238000000001C240.02 299.9238000000001 282.004 279.9292 303.9940000000001 247.9378C309.992 237.9406 321.986 235.941 331.982 243.939C337.98 247.9378 339.98 253.9362 339.98 259.9346000000001C339.98 263.9336 337.98 267.9324000000001 335.98 271.9314C305.994 313.9202 254.014 339.9132 200.036 339.9132C144.06 341.7126 98.079 315.9196 64.093 271.9314z" : "M300.0000000000001 20.0000000000001L20 20.0000000000001L20 60.0000000000001L300.0000000000001 60.0000000000001L300.0000000000001 20.0000000000001zM260 60L60 60L94.1422 94.142C97.8928 97.892 102.98 100 108.2842 100H211.716C217.02 100 222.108 97.892 225.858 94.142L260 60zM103.978 196.9246C97.379 188.1288 99.1788 175.5346 107.9772 168.9378C116.7758 162.3408 129.3736 164.14 135.9726 172.9358C142.3716 181.5318 175.166 183.5308 184.5644 172.1362C191.5632 163.7402 204.162 162.5408 212.76 169.5374C221.158 176.5342 222.358 189.1282 215.36 197.7242C188.7636 229.5094 125.3744 225.5112 103.978 196.9246zM46.05 234.4474C38.0512 226.6512 38.0512 214.057 45.65 206.2606C53.2488 198.4644 66.0466 198.0646 74.0452 205.661C120.8374 251.4396 199.2242 251.4396 246.016 205.661C253.814 197.8646 266.612 198.0646 274.212 206.0608C281.81 214.057 281.81 226.6512 273.812 234.2476C211.622 295.219 108.4394 295.219 46.05 234.4474zM140 140A20 20 0 0 1 180 140A20 20 0 0 1 140 140", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.Sensor.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.Sensor.displayName = "Blueprint5.Icon.Sensor"; exports.default = exports.Sensor; //# sourceMappingURL=sensor.js.map