UNPKG

@blueprintjs/icons

Version:

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

28 lines 3.19 kB
import { jsx as _jsx } from "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. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const DriveTime = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (_jsx(SVGIconContainer, { iconName: "drive-time", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M400.2000000000001 246C400.2000000000001 258.6 390.2000000000001 268.8 378.2 268.8H351.8L332.8 320.2C328.0000000000001 333 313.8 346.4 301 350.2C301 350.2 268 360 200 360S99.2 350.2 99.2 350.2C86.6 346.4 72.2 333 67.4 320.2L48.4 268.8H22C10 268.8 0 258.6 0 246S10 223.2 22 223.2H31.4L24.6 205C19.8 192.2 16 170.6 16 157V49.2C16 33.2 28.6 20.2 44 20.2S72 33.2 72 49.2V65.8H328.0000000000001V49.2C328.0000000000001 33.2 340.6 20.2 356 20.2S384 33.2 384 49.2V157C384 170.6 380.2 192.4 375.4 205L368.6 223.2000000000001H378C390.2 223.2000000000001 400.2 233.4000000000001 400.2 246.0000000000001M70.8 239.2L93.2 302.4000000000001C94.8 306.8 99.6 310.2000000000001 104 310.2000000000001H296C300.4 310.2000000000001 305.2 306.8 306.8 302.4000000000001L329.2000000000001 239.2C330.8 235 328.4000000000001 231.4 324 231.4H76C71.6 231.6 69.2 235 70.8 239.2M90 140.4C73.4 140.4 60 153.8 60 170.4S73.4 200.4 90 200.4S120 186.8 120 170.4C120 153.8 106.6 140.4 90 140.4M310 140.4C293.4 140.4 280 153.8 280 170.4S293.4 200.4 310 200.4S340 187 340 170.4S326.6 140.4 310 140.4" : "M302.4 224.8H281.4L266.2 267.2C262.4 277.8 251 288.8 240.8 292C240.8 292 214.4 300 160 300S79.2 292 79.2 292C69.2 288.8 57.8 277.8 54 267.2L38.6 224.8H17.6C8 224.8 0 216.4 0 206S8 187.2 17.6 187.2H25.2L20 180C19.4 166.2 20 151.2 20 140V40C20 26.8 27.6 20 40 20S60 26.8 60 40V60H260V40C260 26.8 267.6 20 280 20S300 26.8 300 40V140C300 151.2 299.8 167.4 300 180L294.8 187.4H302.4000000000001C312 187.4 320 195.8 320 206C320 216.4 312 224.8 302.4 224.8M100 120H60V160H100zM260 120H220V160H260zM260 200H60C56.4 200 58.8 216.4 60 220L74.6 252.6C75.8 256.2 76.4 260 80 260H240C243.6 260 244.2 256.2 245.4 252.6L260 220C261.2 216.4 263.6 200 260 200", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) })); }); DriveTime.displayName = `Blueprint6.Icon.DriveTime`; export default DriveTime; //# sourceMappingURL=drive-time.js.map