@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 12.1 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.Waves = 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.Waves = 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: "waves", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M98.9598 346.3662C96.2254 354.5102 88.594 360 80 360C71.395 360 63.7552 354.496 61.0298 346.335L60.9214 346.0264C60.812 345.7188 60.629 345.2144 60.3728 344.5418C59.859 343.1932 59.0582 341.1878 57.9738 338.7478C55.7796 333.8110000000001 52.5506 327.3814 48.359 321.094C39.1644 307.302 29.3826 300 20 300C8.9543 300 0 291.0456 0 280C0 268.9544 8.9543 260 20 260C49.1304 260 68.8474 280.5468 80 296.502C91.1526 280.5468 110.8696 260 140 260C169.1304 260 188.8474 280.5470000000001 200 296.502C211.152 280.5470000000001 230.87 260 260 260C289.13 260 308.848 280.5470000000001 320 296.502C331.1520000000001 280.5470000000001 350.87 260 380 260C391.046 260 400 268.9544 400 280C400 291.0456 391.046 300 380 300C370.618 300 360.836 307.302 351.642 321.094C347.45 327.3814 344.22 333.8110000000001 342.026 338.7478C340.942 341.1878 340.1400000000001 343.1932 339.6280000000001 344.5418C339.37 345.2144 339.188 345.7188 339.0780000000001 346.0264L338.97 346.3352C336.246 354.4962 328.604 360 320 360C311.396 360 303.756 354.496 301.0300000000001 346.335L300.922 346.0264C300.812 345.7188 300.628 345.2144 300.372 344.5418C299.858 343.1932 299.058 341.1878 297.974 338.7478C295.78 333.8110000000001 292.55 327.3814 288.358 321.094C279.164 307.302 269.382 300 260 300C250.618 300 240.836 307.302 231.642 321.094C227.45 327.3814 224.22 333.8110000000001 222.026 338.7478C220.942 341.1878 220.142 343.1932 219.628 344.5418C219.372 345.2144 219.188 345.7188 219.078 346.0264L218.97 346.3352C216.246 354.4962 208.604 360 200 360C191.395 360 183.7552 354.496 181.0298 346.335L180.9214 346.0264C180.812 345.7188 180.629 345.2144 180.3728 344.5418C179.859 343.1932 179.0582 341.1878 177.9738 338.7478C175.7796 333.8110000000001 172.5506 327.3814 168.359 321.094C159.1644 307.302 149.3826 300 140 300C130.6174 300 120.8356 307.302 111.641 321.094C107.4494 327.3814 104.2204 333.8110000000001 102.0262 338.7478C100.9418 341.1878 100.141 343.1932 99.6272 344.5418C99.371 345.2144 99.188 345.7188 99.0786 346.0264L98.9666 346.3456L98.9598 346.3662zM98.9666 226.3456L98.9598 226.3662C96.2254 234.5102 88.594 240 80 240C71.395 240 63.7552 234.496 61.0298 226.335L60.9214 226.0264C60.812 225.7188 60.629 225.2144 60.3728 224.5418C59.859 223.1932 59.0582 221.1878 57.9738 218.7478C55.7796 213.811 52.5506 207.3814 48.359 201.094C39.1644 187.302 29.3826 180 20 180C8.9543 180 0 171.046 0 160C0 148.954 8.9543 140 20 140C49.1304 140 68.8474 160.546 80 176.502C91.1526 160.546 110.8696 140 140 140C169.1304 140 188.8474 160.546 200 176.502C211.152 160.546 230.87 140 260 140C289.13 140 308.848 160.546 320 176.502C331.1520000000001 160.546 350.87 140 380 140C391.046 140 400 148.954 400 160C400 171.046 391.046 180 380 180C370.618 180 360.836 187.302 351.642 201.094C347.45 207.3814 344.22 213.811 342.026 218.7478C340.942 221.1878 340.1400000000001 223.1932 339.6280000000001 224.5418C339.37 225.2144 339.188 225.7188 339.0780000000001 226.0264L338.97 226.3352C336.246 234.4962 328.604 240 320 240C311.396 240 303.756 234.496 301.0300000000001 226.335L300.922 226.0264C300.812 225.7188 300.628 225.2144 300.372 224.5418C299.858 223.1932 299.058 221.1878 297.974 218.7478C295.78 213.811 292.55 207.3814 288.358 201.094C279.164 187.302 269.382 180 260 180C250.618 180 240.836 187.302 231.642 201.094C227.45 207.3814 224.22 213.811 222.026 218.7478C220.942 221.1878 220.142 223.1932 219.628 224.5418C219.372 225.2144 219.188 225.7188 219.078 226.0264L218.97 226.3352C216.246 234.4962 208.604 240 200 240C191.395 240 183.7552 234.496 181.0298 226.335L180.9214 226.0264C180.812 225.7188 180.629 225.2144 180.3728 224.5418C179.859 223.1932 179.0582 221.1878 177.9738 218.7478C175.7796 213.811 172.5506 207.3814 168.359 201.094C159.1644 187.302 149.3826 180 140 180C130.6174 180 120.8356 187.302 111.641 201.094C107.4494 207.3814 104.2204 213.811 102.0262 218.7478C100.9418 221.1878 100.141 223.1932 99.6272 224.5418C99.371 225.2144 99.188 225.7188 99.0786 226.0264L98.9666 226.3456zM61.0378 346.3584C61.038 346.3594 61.0378 346.359 61.0376 346.3584L61.0378 346.3584zM98.9598 106.366L98.9666 106.346L99.0786 106.026C99.188 105.718 99.371 105.214 99.6272 104.542C100.141 103.194 100.9418 101.188 102.0262 98.748C104.2204 93.812 107.4494 87.382 111.641 81.094C120.8356 67.302 130.6174 60 140 60C149.3826 60 159.1644 67.302 168.359 81.094C172.5506 87.382 175.7796 93.812 177.9738 98.748C179.0582 101.188 179.859 103.194 180.3728 104.542C180.629 105.214 180.812 105.718 180.9214 106.026L181.0298 106.336C183.7552 114.496 191.395 120 200 120C208.604 120 216.246 114.496 218.97 106.336L219.078 106.026C219.188 105.718 219.372 105.214 219.628 104.542C220.142 103.194 220.942 101.188 222.026 98.748C224.22 93.812 227.45 87.382 231.642 81.094C240.836 67.302 250.618 60 260 60C269.382 60 279.164 67.302 288.358 81.094C292.55 87.382 295.78 93.812 297.974 98.748C299.058 101.188 299.858 103.194 300.372 104.542C300.628 105.214 300.812 105.718 300.922 106.026L301.0300000000001 106.336C303.756 114.496 311.396 120 320 120C328.604 120 336.246 114.496 338.97 106.336L339.0780000000001 106.026C339.188 105.718 339.37 105.214 339.6280000000001 104.542C340.1400000000001 103.194 340.942 101.188 342.026 98.748C344.22 93.812 347.45 87.382 351.642 81.094C360.836 67.302 370.618 60 380 60C391.046 60 400 51.046 400 40C400 28.954 391.046 20 380 20C350.87 20 331.1520000000001 40.546 320 56.502C308.848 40.546 289.13 20 260 20C230.87 20 211.152 40.546 200 56.502C188.8474 40.546 169.1304 20 140 20C110.8696 20 91.1526 40.546 80 56.502C68.8474 40.546 49.1304 20 20 20C8.9543 20 0 28.954 0 40C0 51.046 8.9543 60 20 60C29.3826 60 39.1644 67.302 48.359 81.094C52.5506 87.382 55.7796 93.812 57.9738 98.748C59.0582 101.188 59.859 103.194 60.3728 104.542C60.629 105.214 60.812 105.718 60.9214 106.026L61.0298 106.336C63.7552 114.496 71.395 120 80 120C88.594 120 96.2254 114.51 98.9598 106.366z" : "M60 300C67.5754 300 74.5008 295.7200000000001 77.8886 288.9442C79.9136 284.8942 85.7428 276.8086 93.4534 269.7988000000001C101.8352 262.179 107.8452 260 110 260C112.1548 260 118.1648 262.179 126.5466 269.7988000000001C134.2572 276.8086 140.0864 284.8942 142.1114 288.9442C145.4992 295.7200000000001 152.4246 300 160 300C167.5754 300 174.5006 295.7200000000001 177.8886 288.9442C179.9136 284.8942 185.7428 276.8086 193.4534 269.7988000000001C201.836 262.179 207.846 260 210 260C212.154 260 218.164 262.179 226.546 269.7988000000001C234.258 276.8086 240.086 284.8942 242.112 288.9442C245.5 295.7200000000001 252.424 300 260 300C267.576 300 274.5 295.7200000000001 277.888 288.9442C281.334 282.0542 285.4700000000001 273.9272 290.618 267.4940000000001C296.17 260.5524000000001 299.356 260 300 260C311.046 260 320 251.0456 320 240C320 228.9544 311.046 220 300 220C280.644 220 267.1620000000001 232.781 259.382 242.506C258.872 243.1434 258.372 243.7872 257.88 244.4356C256.44 242.988 254.962 241.5718 253.454 240.2012C243.502 231.1544 227.846 220 210 220C192.1548 220 176.4982 231.1544 166.5466 240.2012C164.289 242.2536 162.097 244.408 160 246.6172C157.903 244.408 155.711 242.2536 153.4534 240.2012C143.5018 231.1544 127.8452 220 110 220C92.1548 220 76.4982 231.1544 66.5466 240.2012C65.0388 241.5718 63.5604 242.988 62.12 244.4356C61.6282 243.7872 61.1272 243.1434 60.6174 242.506C52.8372 232.781 39.3564 220 20 220C8.9543 220 0 228.9544 0 240C0 251.0456 8.9543 260 20 260C20.6436 260 23.8294 260.5524000000001 29.3826 267.4940000000001C34.5292 273.9272 38.6664 282.0542 42.1114 288.9442C45.4992 295.7200000000001 52.4246 300 60 300zM60 200C67.5754 200 74.5008 195.72 77.8886 188.9442C79.9136 184.8942 85.7428 176.8086 93.4534 169.7988C101.8352 162.179 107.8452 160 110 160C112.1548 160 118.1648 162.179 126.5466 169.7988C134.2572 176.8086 140.0864 184.8942 142.1114 188.9442C145.4992 195.72 152.4246 200 160 200C167.5754 200 174.5006 195.72 177.8886 188.9442C179.9136 184.8942 185.7428 176.8086 193.4534 169.7988C201.836 162.179 207.846 160 210 160C212.154 160 218.164 162.179 226.546 169.7988C234.258 176.8086 240.086 184.8942 242.112 188.9442C245.5 195.72 252.424 200 260 200C267.576 200 274.5 195.72 277.888 188.9442C281.334 182.0542 285.4700000000001 173.9272 290.618 167.4938C296.17 160.5524 299.356 160 300 160C311.046 160 320 151.0456 320 140C320 128.9544 311.046 120 300 120C280.644 120 267.1620000000001 132.781 259.382 142.5062C258.872 143.1434 258.372 143.7872 257.88 144.4356C256.44 142.988 254.962 141.5718 253.454 140.2012C243.502 131.1544 227.846 120 210 120C192.1548 120 176.4982 131.1544 166.5466 140.2012C164.289 142.2536 162.097 144.408 160 146.6172C157.903 144.408 155.711 142.2536 153.4534 140.2012C143.5018 131.1544 127.8452 120 110 120C92.1548 120 76.4982 131.1544 66.5466 140.2012C65.0388 141.5718 63.5604 142.988 62.12 144.4356C61.6282 143.7872 61.1272 143.1434 60.6174 142.5062C52.8372 132.781 39.3564 120 20 120C8.9543 120 0 128.9544 0 140C0 151.0456 8.9543 160 20 160C20.6436 160 23.8294 160.5524 29.3826 167.4938C34.5292 173.9272 38.6664 182.0542 42.1114 188.9442C45.4992 195.72 52.4246 200 60 200zM77.8886 88.944C74.5008 95.72 67.5754 100 60 100C52.4246 100 45.4992 95.72 42.1114 88.944C38.6664 82.054 34.5292 73.928 29.3826 67.494C23.8294 60.552 20.6436 60 20 60C8.9543 60 0 51.046 0 40C0 28.954 8.9543 20 20 20C39.3564 20 52.8372 32.78 60.6174 42.506C61.1272 43.144 61.6282 43.788 62.12 44.436C63.5604 42.988 65.0388 41.572 66.5466 40.202C76.4982 31.154 92.1548 20 110 20C127.8452 20 143.5018 31.154 153.4534 40.202C155.711 42.254 157.903 44.408 160 46.618C162.097 44.408 164.289 42.254 166.5466 40.202C176.4982 31.154 192.1548 20 210 20C227.846 20 243.502 31.154 253.454 40.202C254.962 41.572 256.44 42.988 257.88 44.436C258.372 43.788 258.872 43.144 259.382 42.506C267.1620000000001 32.78 280.644 20 300 20C311.046 20 320 28.954 320 40C320 51.046 311.046 60 300 60C299.356 60 296.17 60.552 290.618 67.494C285.4700000000001 73.928 281.334 82.054 277.888 88.944C274.5 95.72 267.576 100 260 100C252.424 100 245.5 95.72 242.112 88.944C240.086 84.894 234.258 76.808 226.546 69.798C218.164 62.18 212.154 60 210 60C207.846 60 201.836 62.18 193.4534 69.798C185.7428 76.808 179.9136 84.894 177.8886 88.944C174.5006 95.72 167.5754 100 160 100C152.4246 100 145.4992 95.72 142.1114 88.944C140.0864 84.894 134.2572 76.808 126.5466 69.798C118.1648 62.18 112.1548 60 110 60C107.8452 60 101.8352 62.18 93.4534 69.798C85.7428 76.808 79.9136 84.894 77.8886 88.944z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Waves.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Waves.displayName = "Blueprint5.Icon.Waves";
exports.default = exports.Waves;
//# sourceMappingURL=waves.js.map
;