UNPKG

@blueprintjs/icons

Version:

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

35 lines 4.97 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.DataSync = 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.DataSync = 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: "data-sync", ref: ref }, props), React.createElement("path", { d: isLarge ? "M20 318V210C20 184.132 82.8988 162.83 163.576 160.26L171.6578 168.342C178.9658 175.65 189.0354 180 200 180C210.964 180 221.034 175.65 228.342 168.342L233.788 162.896C235.93 163.134 238.048 163.386 240.146 163.654C240.89 172.906 244.5 181.786 251.358 188.642C259.1140000000001 196.398 269.456 200 280 200C296.3040000000001 200 311.724 196.056 325.3520000000001 189.074C334.756 195.44 340 202.53 340 210V318C310.2 295.4 249.8 280 180 280C110.4 280 50 295.4 20 318zM20 178C44.7878 159.326 90.3298 145.568 144.6674 141.352L131.6578 128.342C124.35 121.034 120 110.964 120 100C120 77.954 137.9544 60 160 60C160.673 60 161.3426 60.016 162.0084 60.048C165.0256 45.268 171.3248 31.652 180.1058 20H180C91.6 20 20 42.4 20 70V178zM180 300C268.4 300 340 322.4 340 350C340 377.6 268.4 400 180 400C91.6 400 20 377.6 20 350C20 322.4 91.8 300 180 300zM280 180C324 180 360 144 360 100V88.2L365.8 94C369.4 97.8 374.4 100 380 100C391 100 400 91 400 80C400 74.4 397.8 69.4 394.2000000000001 65.8L354.2000000000001 25.8C350.6 22.2 345.6 20 340 20C334.4 20 329.4 22.2 325.8 25.8L285.8 65.8C282.2 69.4 280 74.4 280 80C280 91 289 100 300 100C305.6 100 310.6 97.8 314.2000000000001 94.2000000000001L320 88.2V100C320 122 302 140 280 140C268 140 260 148 260 160C260 172 268 180 280 180zM160 80C165.6 80 170.6 82.2 174.2 85.8L180 91.8V80C180 36 216 0 260 0C272 0 280 8 280 20C280 32 272 40 260 40C238 40 220 58 220 80V91.8L225.8 86C229.4 82.2 234.4 80 240 80C251 80 260 89 260 100C260 105.6 257.8 110.6 254.2 114.2000000000001L214.2 154.2C210.6 157.8 205.6 160 200 160C194.4 160 189.4 157.8 185.8 154.2L145.8 114.2000000000001C142.2 110.6 140 105.6 140 100C140 89 149 80 160 80z" : "M140 240C206.2 240 260 258 260 280C260 302 206.2 320 140 320C73.6 320 20 302 20 280C20 258 73.6 240 140 240zM20 249.6V160C20 149.0138 33.4162 139.0252 55.093 131.7774L91.6578 168.3422C98.9658 175.65 109.0354 180 120 180C130.9646 180 141.0342 175.65 148.3422 168.3422L160.1296 156.5546C160.043 157.6986 160 158.848 160 160C160 170.545 163.6022 180.8866 171.3578 188.6422C179.1134 196.3978 189.455 200 200 200C222.472 200 243.264 192.5074 260 179.8944V249.6C235.6 232 191.2 220 140 220C88.8 220 44.4 232 20 249.6zM20 129.6C26.5304 124.8894 34.4934 120.5802 43.6358 116.794C41.2866 111.662 40 105.964 40 100C40 77.954 57.9544 60 80 60C80.673 60 81.3426 60.016 82.0084 60.048C86.918 35.998 100.5174 15.03 119.3582 0.594C62.9698 3.872 20 20.338 20 40V129.6zM280 100C280 144 244 180 200 180C188 180 180 172 180 160C180 148 188 140 200 140C222 140 240 122 240 100V88.2L234.2 94.2C230.6 97.8 225.6 100 220 100C209 100 200 91 200 80C200 74.4 202.2 69.4 205.8 65.8L245.8 25.8C249.4 22.2 254.4 20 260 20C265.6 20 270.6 22.2 274.2000000000001 25.8L314.2000000000001 65.8C317.8 69.4 320 74.4 320 80C320 91 311 100 300 100C294.4000000000001 100 289.4000000000001 97.8 285.8 94L280 88.2V100zM94.2 85.8C90.6 82.2 85.6 80 80 80C69 80 60 89 60 100C60 105.6 62.2 110.6 65.8 114.2L105.8 154.2C109.4 157.8 114.4 160 120 160C125.6 160 130.6 157.8 134.2 154.2L174.2 114.2C177.8 110.6 180 105.6 180 100C180 89 171 80 160 80C154.4 80 149.4 82.2 145.8 86L140 91.8V80C140 58 158 40 180 40C192 40 200 32 200 20C200 8 192 0 180 0C136 0 100 36 100 80V91.8L94.2 85.8z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style }))); }); exports.DataSync.defaultProps = { size: iconTypes_1.IconSize.STANDARD, }; exports.DataSync.displayName = "Blueprint5.Icon.DataSync"; exports.default = exports.DataSync; //# sourceMappingURL=data-sync.js.map