@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 4.68 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.
*/
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const InboxSearch = 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: "inbox-search", ref: ref, ...props },
React.createElement("path", { d: isLarge ? "M142.726983 340C140.9398976 331.5487208 140 322.7846278 140 313.8C140 309.0767130000001 140.2597198 304.4144916 140.7656286 299.8267822000001L93 299.8267822000001L39.6 179.906728L100 179.906728C111 179.906728 120 170.912724 120 159.920054L120 139.933378L280 139.933378L280 159.920054C280 170.912724 289 179.906728 300 179.906728L321.524728 179.906728L344.315728 157.115728C354.811476 146.619982 368.86143 141 383.8 141C389.4343340000001 141 394.873776 141.839462 400 143.400058L400 59.986676C400 48.994004 391 40 380 40L20 40C9 40 1.3e-12 48.994004 1.3e-12 59.986676L1.3e-12 189.1006L61.6 327.6082612L61.8 328.0079946C64.8 335.0033312 71.8 340 80 340L142.726983 340zM207.6 313.4C207.6 281 233.8 254.8 266.2 254.8C298.6 254.8 324.8 281 324.8 313.4C324.8 345.8 298.6 372 266.2 372C233.8 372 207.6 345.8 207.6 313.4zM337 264.8L394.8 207.8C397.4000000000001 204.8 399.2000000000001 200.8 399.4 196.6C399.4 188 392.4000000000001 181 383.8 181C379.2000000000001 181 375.4 182.6 372.6 185.4L315.2 242.8C311.8 240.8 308.6 238.8 305 237C304.4000000000001 236.8 303.8 236.4 303.2 236.2C299.6 234.8 296.2 233.2 292.2 232C288.4 230.8 284.8 229.8 280.8 229.2C279.8 229 278.8 228.8 278 228.8C274 228.2 270.2 227.8 266 227.8C218.6 227.8 180 266.2 180 313.8C180 361.4 218.6 399.8 266 399.9999999999996C313.4 399.9999999999996 352 361.4 352 314C352 309.8 351.6 306 351 302C350.8 301 350.8 300.2 350.6 299.2C349.8 295.2 349 291.6 347.8 287.6C346.8 283.8 345.2000000000001 280.4 343.6 276.8C343.4000000000001 276.2 343 275.6 342.8 275C341.2 271.4 339.2000000000001 268.2 337 264.8z" : "M112.7705878 280C110.4407516 271.1896348 109.2 261.9382674 109.2 252.4C109.2 248.2067406 109.4397712 244.0690258 109.9063422 240L73.2 240L39 160L80 160C91 160 100 151 100 140L100 120L220 120L220 140C220 141.7634362 220.2313 143.4754722 220.665062 145.1072678C223.073024 145.2326756 225.415952 145.4740282 228.475624 145.8623638C231.548026 146.0104214 233.500944 146.44418 237.301426 147.3943C239.047232 147.7258194 240.592146 148.0412844 242.102028 148.4L243.091106 148.4L245.531256 149.2133836L270.852806 123.7787926C279.358166 114.361742 293.189408 108.4 307.8 108.4C312.003008 108.4 316.087866 108.893288 320 109.825288L320 60C320 49 311 40 300 40L20 40C9 40 -5e-13 49 -5e-13 60L-5e-13 170.8L41.6 267.8C44.6 275 51.8 280 60 280L112.7705878 280zM316.4 169.4C318.4 167 319.8 164 320 160.6C320 153.8 314.6 148.4 307.8 148.4C304.2000000000001 148.4 301.2 149.8 299.2000000000001 152L254.4 197C251.8 195.4 249.2 193.8 246.4 192.4C246 192.2 245.4 192 245 191.8C242.2 190.6 239.6 189.4 236.6 188.4L236.4 188.4C233.6 187.4 230.6 186.8 227.6 186.2C226.8 186 226 185.8 225.4 185.8C222.4 185.4 219.4 185 216.2 185C179.2 185 149.2 215.2 149.2 252.4C149.2 289.6 179.2 319.8 216.2 320.0000000000004C253.2 320.0000000000004 283.2 289.8 283.2 252.6C283.2 249.4 282.8 246.4 282.4 243.2C282.2 242.4 282.2 241.8 282 241C281.6 238 281 235.2 280 232.2L280 232C279 229 277.8 226.4 276.6 223.6C276.4 223.2 276.2 222.6 276 222.2C274.6 219.4 273.2 216.8 271.4 214.2L316.4 169.4zM216.2 208.2C240.6 208.2 260.4 228 260.4 252.6C260.4 277.2 240.6 297 216.2 297C191.8 297 172 277.2 172 252.6C172 228.2 191.8 208.2 216.2 208.2z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
InboxSearch.defaultProps = {
size: IconSize.STANDARD,
};
InboxSearch.displayName = `Blueprint5.Icon.InboxSearch`;
export default InboxSearch;
//# sourceMappingURL=inbox-search.js.map