/* * 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 type { SVGIconProps } from "../../svgIconProps"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; /** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `` from core. */ const PATHS_16 = ["M6.006 3.101A6.98 6.98 0 0 0 4 8c0 1.866.736 3.611 2.002 4.9Q5.515 13 5 13a5 5 0 1 1 1.006-9.899M10 8a5 5 0 0 0-1.999-4l-.083.063A4.99 4.99 0 0 0 6 8c0 1.636.785 3.088 2.001 4A5 5 0 0 0 10 8M7.889 5.485l.11-.13.073.083C8.663 6.145 9 7.044 9 8l-.007.238a4 4 0 0 1-.92 2.324L8 10.643l-.072-.08A3.98 3.98 0 0 1 7 8c0-.935.322-1.815.889-2.515M12 8c0 1.865-.736 3.61-2 4.9q.485.1 1 .1a5 5 0 1 0-1-9.9A7 7 0 0 1 12 8"] as readonly string[]; /** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `` from core. */ const PATHS_20 = ["M6 10c0 2.162.858 4.124 2.251 5.563a6 6 0 1 1 0-11.127A7.97 7.97 0 0 0 6 10m6 0a6 6 0 0 1-2 4.472A6 6 0 0 1 8 10c0-1.777.773-3.374 2-4.472q.23.205.438.435A5.98 5.98 0 0 1 12 10m-.251 5.563a6 6 0 1 0 0-11.127A7.97 7.97 0 0 1 14 10a7.97 7.97 0 0 1-2.251 5.563m-1.833-8.45A5 5 0 0 0 9 10c0 1.011.301 1.973.844 2.781l.156.22c.593-.79.943-1.739.994-2.748L11 10c0-1.01-.3-1.972-.844-2.781L10.001 7z"] as readonly string[]; export const OuterJoin: React.FC = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const paths = isLarge ? PATHS_20 : PATHS_16; return ( {paths.map((d, i) => ( ))} ); }); OuterJoin.displayName = `Blueprint6.Icon.OuterJoin`; export default OuterJoin;