@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 6.8 kB
JavaScript
/*
* 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.Geosearch = 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.Geosearch = 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: "geosearch", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M160 22.4C84.2 22.4 22.4 84.2000000000001 22.4 160C22.4 172.2 24 184.4 27 195.8C27.6 195.6 28.2 196 29 196H30.8V185C30.8 180.4 35 176.6 39.6 176.6C40.4 176.6 41.4 176.8 42 177L60 159.4C61.8 157.6 64.6 157.6 66.4 159.4C68.2 161.2 68.2 164 66.4 165.8L49.2 183.8C49.2 184.2 50.2 184.6 50.2 185.2000000000001V187.8000000000001C50.2 191.4 52.2 192.8000000000001 56 196.0000000000001H66.6C68.6 196.0000000000001 70.4 196.2000000000001 72 197.0000000000001C72.2 197.2000000000001 72.4 197.0000000000001 72.6 197.2000000000001C73 197.4000000000001 73.2 197.6000000000001 73.6 198.0000000000001C73.8 198.2000000000001 74 198.2000000000001 74 198.4L74.4 198.8L97 221.4C93.8 227.8 91 234.4 88.6 241.2H75.8V251.8C75.8 252 77 250.6 77 253.8H84.6C83.8 257 83 260.2 82.6 263.4H68.4C72.4 266.6 76.8 269.6 81.2 272.4C80.4 278.2 80 284 80 290C80 292.8 80.2 295.6 80.4 298.6C32.4 270.8 0 219.2 0 160C0 71.8 71.8 0 160 0C237.4000000000001 0 301.8 55.4 316.4 128.8L297 150.8C291.8 79.4 232.4 22.4 160 22.4zM117.6 95.8V102.8H120.6C126.4 102.8 130.4 107.4 130.4 113.4V127C130.4 127.1999999999999 130.6 127.1999999999999 130.4 127.4L94.2 164H78.8C73 164 69.4 159.1999999999999 69.4 153.4V113.4C69.4 107.6 73 102.8 78.8 102.8H85.4V62.4C85.4 56.8 91 52.1999999999999 96.6 52.1999999999999C102.2 52.1999999999999 107.8 56.8 107.8 62.4V86.8H107.6C113.4 86.8 117.6 90 117.6 95.8zM394.2000000000001 154.2L320.6 227.8C323.4000000000001 232.0000000000001 326 236.2 328.2 240.8C328.6 241.6 329 242.2 329.2000000000001 243.0000000000001C331.4 247.4000000000001 333.2 252.0000000000001 334.8000000000001 256.8000000000001C334.8000000000001 256.8000000000001 334.8000000000001 256.8000000000001 334.8000000000001 257C336.2000000000001 261.8000000000001 337.4000000000001 266.6 338.2000000000001 271.6C338.4000000000001 272.8 338.6000000000001 273.8000000000001 338.8000000000001 275C339.6 279.8 340 284.8 340 290C340 350.8 290.8 400 230 400C169.2 400 120 350.8 120 290C120 229.2 169.2 180 230 180C235.2 180 240.2 180.4 245.2 181.2C246.4 181.4 247.4 181.6 248.6 181.8C253.6 182.6 258.4 183.8 263.2 185.2C263.2 185.2 263.2 185.2 263.4 185.2C268.2 186.8 272.8 188.6 277.2 190.8C278 191.2 278.6 191.6 279.4 191.8C284 194 288.2 196.6 292.4 199.4L366 125.8C369.4 122.2 374.4 120 380 120C391 120 400 129 400 140C400 145.6 397.8 150.6 394.2000000000001 154.2zM230 210C185.8 210 150 245.8 150 290C150 334.2 185.8 370 230 370C274.2000000000001 370 310 334.2 310 290C310 245.8 274.2000000000001 210 230 210zM268.6 103.4V116.4C268.6 118.6 266 120.6 263.8 120.6C261.6 120.6 259 118.8 259 116.4V103.4C259 101.2 261.6 99.2 263.8 99.2C266 99.2000000000001 268.6 101.2 268.6 103.4zM220.4 90H237C242.8 90 246.2 94.2000000000001 246.2 100V137.2L250.8 141.6C244 140.6 237 140 230 140C222.8 140 216 140.6 209 141.6C209.6 140.6 210.2 139.6 210.6 138.4V100C210.8 94.2000000000001 214.6 90 220.4 90z" : "M176.4 72H189.6C194.2 72 196.8 75.4 196.8 80V109.6L200.6 113.2C195.2 112.6 189.6 112 184 112C178.4 112 172.8 112.6 167.2 113.4C167.6 112.6 168.2 111.8 168.6 110.8V80C168.6 75.4 171.6 72 176.4 72zM128 18C67.4 18 18 67.4 18 128C18 137.8 19.2 147.6 21.6 156.6C22.2 156.6 22.6 156.8 23.2 156.8H24.8V148C24.8 144.2 28.2 141.2 32 141.2C32.6 141.2 33.4 141.4 34 141.4L48.2 127.4C49.6 126 52 126 53.4 127.4C54.8 128.8 54.8 131.2 53.4 132.6L39.4 147C39.4 147.4 40 147.6 40 148V150.2C40 153.2 41.6 154.2 44.6 156.8H53C54.6 156.8 56 157 57.4 157.6C57.6 157.6 57.8 157.6 57.8 157.6C58.2 158 58.4 158 58.6 158.4C58.8 158.6 58.8 158.6 59 158.6L59.4 158.8L77.4 176.8C74.8 182 72.6 187.2 70.6 192.8H60.6V201.4C60.6 201.6 61.6 200.4 61.4 203H67.6C67 205.6 66.4 208.2 66 210.8H54.6C57.8 213.2 61.4 215.6 64.8 218C64.4 222.6 64 227.2 64 232C64 234.4 64.2 236.6 64.4 238.8C26 216.8 0 175.4 0 128C0 57.4 57.4 0 128 0C190 0 241.4 44.4 253.2 103L237.6 120.6C233.4 63.6 186 18 128 18zM94 76.6V82.2H96.4C101 82.2 104.2 86 104.2 90.6V101.4C104.2 101.4 104.4 101.6 104.2 101.6L75.4 131H63C58.4 131 55.4 127.2 55.4 122.6V90.6C55.4 86 58.2 82.2 63 82.2H68.2V50.0000000000001C68.2 45.4 72.6 41.8 77.2 41.8C81.8 41.8 86.2 45.4 86.2 50.0000000000001V69.4H86C90.8 69.4 94 72 94 76.6zM315.4 123.4L256.6 182.2C258.8 185.6 260.8 189 262.6 192.6C262.8 193.2 263.2 193.8 263.4 194.4C265 198 266.6 201.6 267.8 205.4C267.8 205.4 267.8 205.4 267.8 205.6C269 209.4 269.8 213.2 270.6 217.2C270.8 218.2 270.8 219 271 220C271.6 224 272 228 272 232.2C272 280.8 232.6 320.2 184 320.2C135.4 320 96 280.6 96 232S135.4 144 184 144C188.2 144 192.2 144.4 196.2 145C197 145 198 145.2 199 145.4C203 146 206.8 147 210.6 148.2C210.6 148.2 210.6 148.2 210.8 148.2C214.6 149.4 218.2 151 221.8 152.6C222.4 152.8 223 153.2 223.6 153.4C227.2 155.2 230.6 157.2 234 159.4L292.8 100.6C295.6 97.8 299.6 96 304.2 96C313 96 320.2 103.2 320.2 112C320 116.4 318.2 120.4 315.4 123.4zM184 168C148.6 168 120 196.6 120 232C120 267.4 148.6 296 184 296S248 267.4 248 232C248 196.6 219.4 168 184 168zM214.8 82.8V93.2C214.8 95 212.8 96.6 211 96.6C209.2 96.6 207.2 95.2 207.2 93.2V82.8C207.2 81 209.2 79.4 211 79.4C212.8 79.4 214.8 80.8 214.8 82.8z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Geosearch.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Geosearch.displayName = "Blueprint5.Icon.Geosearch";
exports.default = exports.Geosearch;
//# sourceMappingURL=geosearch.js.map
;