UNPKG

@blueprintjs/icons

Version:

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

35 lines 5.78 kB
"use strict"; /* * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ManyToMany = void 0; var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var iconTypes_1 = require("../../iconTypes"); var svgIconContainer_1 = require("../../svgIconContainer"); exports.ManyToMany = React.forwardRef(function (props, ref) { var isLarge = props.size >= iconTypes_1.IconSize.LARGE; var pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD; var translation = "".concat(-1 * pixelGridSize / 0.05 / 2); var style = { transformOrigin: "center" }; return (React.createElement(svgIconContainer_1.SVGIconContainer, tslib_1.__assign({ iconName: "many-to-many", ref: ref }, props), React.createElement("path", { d: isLarge ? "M340 280C351.046 280 360 288.9544 360 300C360 311.0456 351.046 320 340 320C328.954 320 320 311.0456 320 300C320 288.9544 328.954 280 340 280zM340 240C315.752 240 294.864 254.383 285.402 275.0826C281.388 273.729 277.248 272.0028 273.064 269.8016C255.388 260.4976 234.668 241.4436 220.968 200C234.668 158.556 255.388 139.502 273.064 130.198C277.248 127.998 281.388 126.272 285.402 124.918C294.864 145.618 315.752 160 340 160C373.1380000000001 160 400 133.138 400 100C400 66.862 373.1380000000001 40 340 40C312.318 40 289.016 58.746 282.092 84.234C273.436 86.4260000000001 264.028 89.752 254.436 94.802C234.77 105.152 215.484 122.088 200 148.9C184.5162 122.088 165.2294 105.152 145.565 94.802C135.9722 89.752 126.5642 86.4260000000001 117.9072 84.234C110.984 58.746 87.681 40 60 40C26.863 40 0 66.862 0 100C0 133.138 26.863 160 60 160C84.2472 160 105.135 145.618 114.5974 124.918C118.6128 126.272 122.7528 127.998 126.935 130.198C144.6126 139.502 165.3324 158.556 179.033 200C165.3322 241.4436 144.6126 260.4976 126.935 269.8016C122.7528 272.0028 118.6128 273.729 114.5974 275.0826C105.1352 254.383 84.2472 240 60 240C26.863 240 0 266.863 0 300C0 333.137 26.863 360 60 360C87.681 360 110.9838 341.2548 117.9072 315.766C126.5642 313.574 135.9722 310.2472 145.565 305.1984C165.2294 294.8486 184.5162 277.9120000000001 200 251.1006C215.484 277.9120000000001 234.77 294.8486 254.436 305.1984C264.028 310.2472 273.436 313.5738 282.092 315.766C289.016 341.2548 312.318 360 340 360C373.1380000000001 360 400 333.137 400 300C400 266.863 373.1380000000001 240 340 240zM80 300C80 311.0456 71.0456 320 60 320C48.9544 320 40 311.0456 40 300C40 288.9544 48.9544 280 60 280C71.0456 280 80 288.9544 80 300zM320 100C320 88.954 328.954 80 340 80C351.046 80 360 88.954 360 100C360 111.046 351.046 120 340 120C328.954 120 320 111.046 320 100zM60 120C71.0456 120 80 111.046 80 100C80 88.954 71.0456 80 60 80C48.9544 80 40 88.954 40 100C40 111.046 48.9544 120 60 120z" : "M60 260C48.9544 260 40 251.0456 40 240C40 228.9544 48.9544 220 60 220C71.0456 220 80 228.9544 80 240C80 251.0456 71.0456 260 60 260zM120 240C120 239.0612 119.9784 238.1274 119.9358 237.1992C125.0488 235.5792 130.7036 233.022 136.58 228.9856C144.7084 223.4022 152.5844 215.4734 160 204.4992C167.4156 215.4734 175.2916 223.4022 183.42 228.9856C189.2964 233.022 194.9512 235.5792 200.064 237.1992C200.022 238.1276 200 239.0612 200 240C200 273.137 226.862 300 260 300C293.1380000000001 300 320 273.137 320 240C320 206.863 293.1380000000001 180 260 180C242.328 180 226.442 187.6396 215.462 199.796C212.772 199.4506 209.716 198.52 206.068 196.0144C200.232 192.0064 191.0236 182.5694 181.5252 160C191.0236 137.4306 200.232 127.9936 206.068 123.9856C209.716 121.48 212.772 120.5494 215.462 120.204C226.442 132.3604 242.328 140 260 140C293.1380000000001 140 320 113.138 320 80C320 46.862 293.1380000000001 20 260 20C226.862 20 200 46.862 200 80C200 80.938 200.022 81.872 200.064 82.8C194.9512 84.42 189.2964 86.978 183.42 91.014C175.2916 96.598 167.4156 104.526 160 115.5C152.5844 104.526 144.7084 96.598 136.58 91.014C130.7036 86.978 125.0488 84.42 119.9358 82.8C119.9784 81.872 120 80.938 120 80C120 46.862 93.137 20 60 20C26.863 20 0 46.862 0 80C0 113.138 26.863 140 60 140C77.6714 140 93.5584 132.3604 104.5388 120.204C107.2284 120.5494 110.2848 121.48 113.9324 123.9856C119.7676 127.9936 128.9764 137.4306 138.4748 160C128.9764 182.5694 119.7676 192.0064 113.9324 196.0144C110.2848 198.52 107.2284 199.4506 104.5388 199.796C93.5584 187.6396 77.6714 180 60 180C26.863 180 0 206.863 0 240C0 273.137 26.863 300 60 300C93.137 300 120 273.137 120 240zM240 240C240 251.0456 248.954 260 260 260C271.046 260 280 251.0456 280 240C280 228.9544 271.046 220 260 220C248.954 220 240 228.9544 240 240zM60 100C48.9544 100 40 91.046 40 80C40 68.954 48.9544 60 60 60C71.0456 60 80 68.954 80 80C80 91.046 71.0456 100 60 100zM240 80C240 91.046 248.954 100 260 100C271.046 100 280 91.046 280 80C280 68.954 271.046 60 260 60C248.954 60 240 68.954 240 80z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.ManyToMany.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.ManyToMany.displayName = "Blueprint5.Icon.ManyToMany"; exports.default = exports.ManyToMany; //# sourceMappingURL=many-to-many.js.map