@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.42 kB
JavaScript
/*
* 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.TableSync = 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.TableSync = 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: "table-sync", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M380 380H20C8 380 0 370 0 360V40C0 30 8 20 20 20H179.982C171.2512 31.628 164.9964 45.22 161.9986 60H160V80C152.721 80 145.888 81.958 140 85.374V60H40V120H120C120 127.236 121.894 134.0800000000001 125.2822 140H40V200H140V156.684L160 176.684V200H240V176.684L242.572 174.112C245.856 182.782 252.07 190.028 260 194.626V200H360V160.024C372.56 143.308 380 122.526 380 100C387.2800000000001 100 394.112 98.042 400 94.626V360C400 370 390 380 380 380zM140 220H40V280H140V220zM240 220H160V280H240V220zM360 220H260V280H360V220zM360 68.2V100C360 144.2 324.2000000000001 180 280 180C269 180 260 171 260 160C260 149 269 140 280 140C302 140 320 122 320 100V68.2L314.2000000000001 74.2000000000001C310.6 77.8 305.6 80 300 80C289 80 280 71 280 60C280 54.4 282.2 49.4 285.8 45.8L325.8 5.8C329.4 2.2 334.4 0 340 0C345.6 0 350.6 2.2 354.2000000000001 5.8L394.2000000000001 45.8C397.8 49.4 400 54.4 400 60C400 71 391 80 380 80C374.4 80 369.4 77.8 365.8 74L360 68.2zM180 111.8V80C180 35.8 215.8 0 260 0C271 0 280 9 280 20C280 31 271 40 260 40C238 40 220 58 220 80V111.8L225.8 105.8C229.4 102.2 234.4 100 240 100C251 100 260 109 260 120C260 125.6 257.8 130.6 254.2 134.2000000000001L214.2 174.2C210.6 177.8 205.6 180 200 180C194.4 180 189.4 177.8 185.8 174.2L145.8 134.2000000000001C142.2 130.6 140 125.6 140 120C140 109 149 100 160 100C165.6 100 170.6 102.2 174.2 106L180 111.8z" : "M300 320H20C8 320 0 310 0 300V60C0 48 8 40 20 40H102.511C100.8716 46.39 100 53.092 100 60C85.2334 60 72.3024 68.056 65.373 80H40V120H65.2822C67.0288 123.0512 69.1722 125.8564 71.6578 128.3422L83.3158 140H40V180H120C120 180 131.6006 180 140 180H200C200 180 211.486 180 220 180H280V152.9662C292.452 138.8664 300 120.3296 300 100C307.2800000000001 100 314.112 98.042 320 94.626V300C320 310 312 320 300 320zM120 200H40V240H120V200zM200 200H140V240H200V200zM280 200H220V240H280V200zM194.2 114.2L154.2 154.2C150.6 157.8 145.6 160 140 160C134.4 160 129.4 157.8 125.8 154.2L85.8 114.2C82.2 110.6 80 105.6 80 100C80 89 89 80 100 80C105.6 80 110.6 82.2 114.2 85.8L120 91.8V60C120 26.8 146.8 0 180 0C191 0 200 9 200 20C200 31 191 40 180 40C169 40 160 49 160 60V91.8L165.8 85.8C169.4 82.2 174.4 80 180 80C191 80 200 89 200 100C200 105.6 197.8 110.6 194.2 114.2zM205.8 45.8L245.8 5.8C249.4 2.2 254.4 0 260 0C265.6 0 270.6 2.2 274.2000000000001 5.8L314.2000000000001 45.8C317.8 49.4 320 54.4 320 60C320 71 311 80 300 80C294.4000000000001 80 289.4000000000001 77.8 285.8 74.2L280 68.2V100C280 133.2 253.2 160 220 160C209 160 200 151 200 140C200 129 209 120 220 120C231 120 240 111 240 100V68.2L234.2 74.2C230.6 77.8 225.6 80 220 80C209 80 200 71 200 60C200 54.4 202.2 49.4 205.8 45.8z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.TableSync.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.TableSync.displayName = "Blueprint5.Icon.TableSync";
exports.default = exports.TableSync;
//# sourceMappingURL=table-sync.js.map
;