UNPKG

@blueprintjs/icons

Version:

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

31 lines 4 kB
/* * 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 DataLineage = 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: "data-lineage", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M21.052632 400C9.425586 400 0 390.57441578 0 378.9473684L0 315.7894736C0 304.1624264 9.425586 294.7368422 21.052632 294.7368422L86.564802 294.7349946C93.76105 252.145896 122.419682 216.7835934 161.119494 199.989142C122.413254 183.210612 93.75153 147.841942 86.561218 105.243726L21.052632 105.263158C9.425586 105.263158 0 95.837572 0 84.210526L0 21.052632C0 9.425586 9.425586 0 21.052632 0L169.760088 0C181.387136 0 190.81272 9.425586 190.81272 21.052632L190.81272 84.210526C190.81272 95.837572 181.387136 105.263158 169.760088 105.263158L108.128402 105.267116C117.951928 153.312308 160.730214 189.473684 212.0141344 189.473684L212.0141344 147.368422C212.0141344 135.741374 221.4397186 126.31579 233.0667658 126.31579L378.9473684 126.31579C390.5744157800001 126.31579 400 135.741374 400 147.368422L400 252.631579C400 264.2586264000001 390.5744157800001 273.6842106000001 378.9473684 273.6842106000001L233.0667658 273.6842106000001C221.4397186 273.6842106000001 212.0141344 264.2586264000001 212.0141344 252.631579L212.0141344 210.5263158C160.737694 210.5263158 117.964404 246.6771452 108.132702 294.7118652000001L169.760088 294.7368422C181.387136 294.7368422 190.81272 304.1624264 190.81272 315.7894736L190.81272 378.9473684C190.81272 390.57441578 181.387136 400 169.760088 400L21.052632 400z" : "M21.333334 320C9.55126 320 0 310.4487413400001 0 298.6666666L0 256C0 244.2179254 9.55126 234.6666666 21.333334 234.6666666L66.136364 234.6536424C72.828874 201.705044 94.708948 174.272886 124.1505044 159.983244C94.70256 145.7182198 72.819382 118.282052 66.13201 85.324742L21.333334 85.333334C9.55126 85.333334 0 75.782074 0 64L0 21.333334C0 9.55126 9.55126 0 21.333334 0L128 0C139.7820746 0 149.3333334 9.55126 149.3333334 21.333334L149.3333334 64C149.3333334 75.782074 139.7820746 85.333334 128 85.333334L88.019566 85.325018C97.149476 120.8121102 128.532693 147.367252 166.4076728 149.2289L170.6666666 149.3333334L170.6666666 128C170.6666666 116.217926 180.2179254 106.666666 192 106.666666L298.6666666 106.666666C310.4487413400001 106.666666 320 116.217926 320 128L320 192C320 203.7820746 310.4487413400001 213.3333334 298.6666666 213.3333334L192 213.3333334C180.2179254 213.3333334 170.6666666 203.7820746 170.6666666 192L170.6666666 170.6666666C130.910608 170.6666666 97.504448 197.8538188 88.025888 234.6504248L128 234.6666666C139.7820746 234.6666666 149.3333334 244.2179254 149.3333334 256L149.3333334 298.6666666C149.3333334 310.4487413400001 139.7820746 320 128 320L21.333334 320z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); DataLineage.defaultProps = { size: IconSize.STANDARD, }; DataLineage.displayName = `Blueprint5.Icon.DataLineage`; export default DataLineage; //# sourceMappingURL=data-lineage.js.map