UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.17 kB
/* * 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. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const DataSearch = React.forwardRef((props, ref) => { const isLarge = props.size >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (React.createElement(SVGIconContainer, { iconName: "data-search", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M40 210V318C70 295.4 130.4 280 200 280C269.8 280 330.2000000000001 295.4 360 318V210C360 208.933 359.892 207.8736 359.682 206.823C338.152 238.8776 301.56 260 260 260C201.718 260 153.1406 218.4538 142.2714 163.354C82.4208 170.592 40 188.756 40 210zM140.014 141.88C140.0248 142.584 140.0416 143.286 140.0646 143.984C96.7026 149.954 60.9434 162.222 40 178V70C40 42.4 111.6 20 200 20C213.934 20 227.452 20.556 240.338 21.602C190.6132 29.796 151.2164 68.552 142.028 117.934C140.6946 125.1 140 132.478 140 140V140.154L140.014 141.88zM360 350C360 322.4 288.4 300 200 300C111.8 300 40 322.4 40 350C40 377.6 111.6 400 200 400C288.4 400 360 377.6 360 350zM315.148 56.568L365.828 5.888C373.638 -1.924 386.302 -1.924 394.112 5.888C401.924 13.696 401.924 26.362 394.112 34.17L343.432 84.854C353.902 100.66 360 119.62 360 140C360 145.772 359.51 151.43 358.572 156.938C357.4600000000001 163.448 355.7200000000001 169.746 353.416 175.762C339.026 213.3252 302.628 240 260 240C205.298 240 160.8532 196.08 160.0122 141.572L160 140C160 133.71 160.5804 127.558 161.6906 121.592C170.3306 75.156 211.06 40 260 40C280.382 40 299.338 46.098 315.148 56.568zM260 80C293.1380000000001 80 320 106.866 320 140C320 173.134 293.1380000000001 200 260 200C226.862 200 200 173.134 200 140C200 106.866 226.862 80 260 80z" : "M140 240C206.2 240 260 258 260 280C260 302 206.2 320 140 320C73.6 320 20 302 20 280C20 258 73.6 240 140 240zM20 249.6V160C20 142.6562 53.4366 127.7986 100.0256 122.2862C101.2408 176.4588 145.5356 220 200 220C222.512 220 243.286 212.561 260 200.0072V249.6C235.6 232 191.2 220 140 220C88.8 220 44.4 232 20 249.6zM20 129.6C38.0352 116.592 66.997 106.642 101.5552 102.336C109.897 55.532 150.799 20 200 20C212.884 20 225.226 22.446 236.564 26.902L243.5900000000001 19.846C222.742 7.998 184.126 0 140 0C73.8 0 20 18 20 40V129.6zM240.688 51.106L285.8 5.798C289.4000000000001 2.198 294.4000000000001 -0.002 300 -0.002C311 -0.002 320 8.998 320 19.998C320 25.598 317.8 30.598 314.2000000000001 34.198L268.892 79.308C275.95 91.23 280 105.142 280 120C280 140.289 272.4480000000001 158.8138 260 172.9164C245.342 189.5248 223.894 200 200 200C156.003 200 120.3012 164.4832 120.002 120.5566C120.0006 120.3712 120 120.1856 120 120C120 113.266 120.832 106.726 122.3988 100.478C131.112 65.732 162.551 40 200 40C214.856 40 228.768 44.05 240.688 51.106zM164.8144 100.958C171.584 88.476 184.802 80 200 80C221.536 80 239.096 97.018 239.966 118.34C239.988 118.89 240 119.444 240 120C240 125.8008 238.766 131.3132 236.544 136.2886C230.306 150.2616 216.29 160 200 160C178.0942 160 160.3018 142.3918 160.0038 120.557C160.0014 120.3716 160 120.186 160 120C160 113.106 161.7438 106.62 164.8144 100.958z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); DataSearch.defaultProps = { size: IconSize.STANDARD, }; DataSearch.displayName = `Blueprint5.Icon.DataSearch`; export default DataSearch; //# sourceMappingURL=data-search.js.map