@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 4.08 kB
JavaScript
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 BranchLocked = 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-locked", 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 280zM340 80H350C355.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 80H260V100C260 112.714 264.87 122.99 272.734 129.98C280.414 136.804 290.372 140 300 140C309.6280000000001 140 319.586 136.804 327.266 129.98C335.13 122.99 340 112.714 340 100V80zM320 100C320 107.282 317.368 112.01 313.984 115.02C310.414 118.192 305.37 120 300 120C294.63 120 289.586 118.192 286.016 115.02C282.632 112.01 280 107.282 280 100V80H320V100z" : "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 59.996C275.522 59.996 280 55.52 280 49.996V9.996C279.998 4.476 275.522 -0.004 270 -0.004H170C164.4784 -0.004 160.002 4.476 160 9.996V49.996C160 55.52 164.4772 59.996 170 59.996H180V79.996C180 92.71 184.8712 102.986 192.7344 109.976C200.414 116.8 210.372 119.996 220 119.996C229.628 119.996 239.586 116.8 247.266 109.976C255.128 102.986 260 92.71 260 79.996V59.996H270zM240 59.996V79.996C240 87.278 237.366 92.006 233.984 95.016C230.414 98.19 225.37 99.996 220 99.996C214.63 99.996 209.586 98.19 206.016 95.016C202.634 92.006 200 87.278 200 79.996V59.996H240z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
BranchLocked.defaultProps = {
size: IconSize.STANDARD,
};
BranchLocked.displayName = `Blueprint6.Icon.BranchLocked`;
export default BranchLocked;
//# sourceMappingURL=branch-locked.js.map