@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
32 lines • 4.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InboxSearch = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
/*
* 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.
*/
const React = tslib_1.__importStar(require("react"));
const iconTypes_1 = require("../../iconTypes");
const svgIconContainer_1 = require("../../svgIconContainer");
exports.InboxSearch = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? iconTypes_1.IconSize.STANDARD) >= iconTypes_1.IconSize.LARGE;
const pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
const style = { transformOrigin: "center" };
return ((0, jsx_runtime_1.jsx)(svgIconContainer_1.SVGIconContainer, { iconName: "inbox-search", ref: ref, ...props, children: (0, jsx_runtime_1.jsx)("path", { d: isLarge ? "M142.72 340A126 126 0 0 1 140.76 299.82H93L39.6 179.9H100C111 179.9 120 170.9 120 159.92V139.92H280V159.92C280 170.92 289 179.92 300 179.92H321.52L344.3200000000001 157.12A55.4 55.4 0 0 1 383.8 141Q392.2800000000001 141.04 400 143.3999999999999V60C400 49 391 40 380 40H20C9 40 0 49 0 60V189.1L61.6 327.6L61.8 328C64.8 335 71.8 340 80 340zM207.6 313.4C207.6 281 233.8 254.8 266.2 254.8S324.8000000000001 281 324.8000000000001 313.4S298.6 372 266.2000000000001 372S207.6000000000001 345.8 207.6000000000001 313.4M337 264.8L394.8000000000001 207.8C397.4000000000001 204.8 399.2000000000001 200.8 399.4000000000001 196.6C399.4000000000001 188 392.4000000000001 181 383.8 181C379.2000000000001 181 375.4 182.6 372.6 185.4L315.2000000000001 242.8000000000001C311.8 240.8000000000001 308.6 238.8 305.0000000000001 237.0000000000001C304.4000000000001 236.8000000000001 303.8 236.4000000000001 303.2000000000001 236.2000000000001C299.6 234.8000000000001 296.2000000000001 233.2000000000001 292.2000000000001 232.0000000000001C288.4000000000001 230.8 284.8000000000001 229.8000000000001 280.8 229.2C279.8 229.0000000000001 278.8 228.8 278 228.8C274 228.2000000000001 270.2 227.8 266 227.8A86 86 0 0 0 180 313.8C180 361.4 218.6 399.8 266 400C313.4000000000001 400 352 361.4 352 314C352 309.8 351.6 306 351 302C350.8 301 350.8 300.2000000000001 350.6 299.2000000000001C349.8000000000001 295.2000000000001 349.0000000000001 291.6 347.8 287.6C346.8 283.8 345.2000000000001 280.4 343.6 276.8C343.4 276.2000000000001 343 275.6 342.8 275C341.2000000000001 271.4000000000001 339.2000000000001 268.2000000000001 337 264.8" : "M112.78 280A108 108 0 0 1 109.9 240H73.2L39 160H80C91 160 100 151 100 140V120H220V140Q220 142.66 220.66 145.1C223.06 145.24 225.42 145.48 228.46 145.86C231.54 146.02 233.5 146.46 237.3 147.4A100 100 0 0 1 242.1 148.4H243.1L245.54 149.2L270.86 123.78C279.36 114.38 293.18 108.4 307.8 108.4Q314.12 108.42 320 109.82V60C320 49 311 40 300 40H20C9 40 0 49 0 60V170.8L41.6 267.8C44.6 275 51.8 280 60 280zM316.4 169.4C318.4 167 319.8 164 320 160.6C320 153.8 314.6 148.4 307.8 148.4A11.4 11.4 0 0 0 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.4H236.4C233.6 187.4 230.6 186.8 227.6 186.2C226.8000000000001 186 226 185.8 225.4000000000001 185.8C222.4 185.4 219.4 185 216.2 185C179.2 185 149.2 215.2 149.2 252.4S179.2 319.8 216.2 320C253.2 320 283.2 289.8 283.2 252.6C283.2 249.4 282.8 246.4 282.4000000000001 243.2C282.2000000000001 242.4 282.2000000000001 241.8 282 241C281.6 238 281 235.2 280.0000000000001 232.2V232C279 229 277.8000000000001 226.4 276.6 223.6C276.4000000000001 223.2 276.2000000000001 222.6 276.0000000000001 222.2C274.6 219.4 273.2000000000001 216.8 271.4000000000001 214.2zM216.2 208.2C240.6 208.2 260.4 228 260.4 252.6S240.6 297 216.2 297S172 277.2 172 252.6C172 228.2 191.8 208.2 216.2 208.2", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
exports.InboxSearch.displayName = `Blueprint6.Icon.InboxSearch`;
exports.default = exports.InboxSearch;
//# sourceMappingURL=inbox-search.js.map