UNPKG

@blueprintjs/icons

Version:

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

30 lines 2.29 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"; /** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_16 = ["M15 14h-1.35l-3.34-7.51 2.46-.95 1.45 3.21c.09.2.36.3.6.23q.15-.045.24-.15c.05-.08 1.23-1.56.87-4.2-.11-.79-.52-4.62-3.26-4.62-.93 0-1.68.62-1.67 1.37q0 .21.09.42l.87 1.92L.64 8.07v.01A.98.98 0 0 0 0 9c0 .55.45 1 1 1 .13 0 .25-.03.36-.07v.01l1.04-.4L3.67 14H2c-.55 0-1 .45-1 1s.45 1 1 1h13c.55 0 1-.45 1-1s-.45-1-1-1M4.27 8.81 7.14 7.7 5.2 12.08zM6.54 14 9 8.46 11.46 14z"]; /** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_20 = ["M19 17.99h-1.36l-4.35-9.57 2.91-.86 1.66 4.1c.11.27.43.4.72.31.12-.04.22-.11.28-.2.06-.11 1.47-2.08 1.05-5.6C19.79 5.12 19.3 0 16.01 0 14.89.01 13.99.83 14 1.84c0 .19.04.38.1.56l1.34 3.31L.72 10.03v.02c-.41.12-.72.49-.72.94 0 .55.45 1 1 1 .1 0 .19-.03.28-.06v.02l2-.59 1.47 6.63H3c-.55 0-1 .45-1 1s.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1M5.2 10.8l3.95-1.16-2.83 6.22zm2.35 7.19 3.95-8.68 3.95 8.68z"]; export const OilField = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const paths = isLarge ? PATHS_20 : PATHS_16; return (_jsx(SVGIconContainer, { iconName: "oil-field", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) })); }); OilField.displayName = `Blueprint6.Icon.OilField`; export default OilField; //# sourceMappingURL=oil-field.js.map