UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.13 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 BranchUnlocked = 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 (_jsx(SVGIconContainer, { iconName: "branch-unlocked", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M300 360C266.8 360 240 333.2 240 300C240 274 256.8 252 280 243.6V220C280 198 262 180 240 180H160C145.4 180 131.8 175.8 120 169V283.6C143.2 292 160 314 160 340C160 373.2 133.2 400 100 400C66.8 400 40 373.2 40 340C40 314 56.8 292 80 283.6V116.2C56.8 108 40 86 40 60C40 26.8 66.8 0 100 0C133.2 0 160 26.8 160 60C160 85 144.6 106 123 115C129 129.6 143.2 140 160 140H240C284.2000000000001 140 320 175.8 320 220V243.6C343.2 252 360 274 360 300C360 333.2 333.2 360 300 360zM100 360C111 360 120 351 120 340C120 329 111 320 100 320C89 320 80 329 80 340C80 351 89 360 100 360zM100 40C89 40 80 49 80 60C80 71 89 80 100 80C111 80 120 71 120 60C120 49 111 40 100 40zM300 280C289 280 280 289 280 300C280 311 289 320 300 320C311 320 320 311 320 300C320 289 311 280 300 280zM350 80C355.522 80 360 75.522 360 70V10C360 4.478 355.522 0 350 0H250C244.478 0 240 4.478 240 10V70C240 75.522 244.478 80 250 80H320V100C320 112.714 324.87 122.99 332.7340000000001 129.98C340.4140000000001 136.804 350.372 140 360 140C369.6280000000001 140 379.586 136.804 387.266 129.98C395.13 122.99 400 112.714 400 100C400 94.478 395.522 90 390 90C384.478 90 380 94.478 380 100C380 107.282 377.3680000000001 112.01 373.9840000000001 115.02C370.4140000000001 118.192 365.37 120 360 120C354.63 120 349.586 118.192 346.016 115.02C342.632 112.01 340 107.282 340 100V80H350z" : "M220 300C186.8 300 160 273.2 160 240C160 215 175.2 193.6 197 184.6C190.8 170.2 176.6 160 160 160H120C105.4 160 91.8 156 80 149V203.6C103.2 212 120 234 120 260C120 293.2 93.2 320 60 320C26.8 320 0 293.2 0 260C0 234 16.8 212 40 203.6V116.2C16.8 108.2 0 86 0 60C0 26.8 26.8 0 60 0C93.2 0 120 26.8 120 60C120 80.8 109.4 99 93.6 109.8C100.6 116 109.8 120 120 120H160C198.4 120 230.4 147 238.2 183C262.4 190.8 280 213.2 280 240C280 273.2 253.2 300 220 300zM60 280C71 280 80 271 80 260C80 249 71 240 60 240C49 240 40 249 40 260C40 271 49 280 60 280zM60 40C49 40 40 49 40 60C40 71 49 80 60 80C71 80 80 71 80 60C80 49 71 40 60 40zM220 220C209 220 200 229 200 240C200 251 209 260 220 260C231 260 240 251 240 240C240 229 231 220 220 220zM270 60C275.522 60 280 55.522 280 50V10C280 4.478 275.522 0 270 0H170C164.4772 0 160 4.478 160 10V50C160 55.522 164.4772 60 170 60H240V80C240 92.714 244.87 102.99 252.734 109.98C260.414 116.804 270.372 120 280 120C289.6280000000001 120 299.586 116.804 307.266 109.98C315.13 102.99 320 92.714 320 80C320 74.478 315.522 70 310 70C304.478 70 300 74.478 300 80C300 87.282 297.368 92.01 293.984 95.02C290.414 98.192 285.37 100 280 100C274.63 100 269.586 98.192 266.016 95.02C262.632 92.01 260 87.282 260 80V60H270z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) })); }); BranchUnlocked.defaultProps = { size: IconSize.STANDARD, }; BranchUnlocked.displayName = `Blueprint6.Icon.BranchUnlocked`; export default BranchUnlocked; //# sourceMappingURL=branch-unlocked.js.map