@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 8.04 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.RangeRing = 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.RangeRing = 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: "range-ring", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M200 400C191.1646 400 182.4534 399.425848 173.9034 398.31058C162.9506 396.88186 155.2296 386.84458 156.6584 375.8916C158.087 364.9388 168.1244 357.2178 179.0772 358.6466C185.9162 359.5386 192.8992 360 200 360C207.1 360 214.084 359.5386 220.922 358.6466C231.876 357.2178 241.912 364.9388 243.342 375.8916C244.77 386.84458 237.05 396.88186 226.096 398.31058C217.546 399.425848 208.836 400 200 400zM102.6054 326.9536C111.3638 333.684 113.0076 346.24 106.2772 354.9984C99.5468 363.7568 86.9906 365.4008 78.2324 358.6702C64.3844 348.0288 51.9712 335.6156 41.3298 321.7676C34.5992 313.0094000000001 36.2432 300.4532000000001 45.0016 293.7228C53.76 286.9924 66.316 288.6362 73.0464 297.3946C81.5696 308.4858 91.5142 318.4304 102.6054 326.9536zM321.7680000000001 358.6702C313.01 365.4008 300.454 363.7568 293.722 354.9984C286.992 346.24 288.636 333.684 297.394 326.9536C308.486 318.4304 318.43 308.4858 326.954 297.3946C333.6840000000001 288.6362 346.24 286.9924 354.998 293.7228C363.756 300.4532000000001 365.4 313.0094000000001 358.67 321.7676C348.028 335.6156 335.616 348.0288 321.7680000000001 358.6702zM41.3534 220.9228C42.7822 231.8756 35.0612 241.913 24.1084 243.3416C13.15542 244.7704 3.11814 237.0494 1.68942 226.0966C0.574152 217.5466 0 208.8354 0 200C0 191.164 0.574152 182.454 1.68942 173.904C3.11814 162.95 13.15542 155.23 24.1084 156.658C35.0612 158.088 42.7822 168.124 41.3534 179.078C40.4614 185.916 40 192.9 40 200C40 207.1008 40.4614 214.0838 41.3534 220.9228zM398.3100000000001 226.0966C396.882 237.0494 386.844 244.7704 375.892 243.3416C364.938 241.913 357.218 231.8756 358.646 220.9228C359.538 214.0838 360 207.1008 360 200C360 192.9 359.538 185.916 358.646 179.078C357.218 168.124 364.938 158.088 375.892 156.658C386.844 155.23 396.882 162.95 398.3100000000001 173.904C399.426 182.454 400 191.164 400 200C400 208.8354 399.426 217.5466 398.3100000000001 226.0966zM73.0464 102.606C66.316 111.364 53.76 113.008 45.0016 106.278C36.2432 99.546 34.5992 86.99 41.3298 78.232C51.9712 64.384 64.3844 51.972 78.2324 41.33C86.9906 34.6 99.5468 36.244 106.2772 45.002C113.0076 53.76 111.3638 66.316 102.6054 73.046C91.5142 81.57 81.5696 91.514 73.0464 102.606zM358.67 78.232C365.4 86.99 363.756 99.546 354.998 106.278C346.24 113.008 333.6840000000001 111.364 326.954 102.606C318.43 91.514 308.486 81.57 297.394 73.046C288.636 66.316 286.992 53.76 293.722 45.002C300.454 36.244 313.01 34.6 321.7680000000001 41.33C335.616 51.972 348.028 64.384 358.67 78.232zM179.0772 41.354C168.1244 42.782 158.087 35.062 156.6584 24.108C155.2296 13.1560000000001 162.9506 3.118 173.9034 1.6899999999999C182.4534 0.574 191.1646 0 200 0C208.836 0 217.546 0.574 226.096 1.6899999999999C237.05 3.118 244.77 13.1560000000001 243.342 24.108C241.912 35.062 231.876 42.782 220.922 41.354C214.084 40.462 207.1 40 200 40C192.8992 40 185.9162 40.462 179.0772 41.354zM200 260C233.138 260 260 233.137 260 200C260 166.862 233.138 140 200 140C166.863 140 140 166.862 140 200C140 233.137 166.863 260 200 260zM300 200C300 255.2284 255.228 300 200 300C144.7716 300 100 255.2284 100 200C100 144.772 144.7716 100 200 100C255.228 100 300 144.772 300 200z" : "M160 320C152.9354 320 145.9678 319.540902 139.1278 318.64867C128.1748 317.21996 120.454 307.18268 121.8828 296.2298C123.3114 285.2768 133.3488 277.556 144.3016 278.9846C149.4306 279.6538 154.6698 280 160 280C165.3302 280 170.5694 279.6538 175.6984 278.9846C186.6512 277.556 196.6886 285.2768 198.1172 296.2298C199.546 307.18268 191.8252 317.21996 180.8722 318.6486740000001C174.0322 319.540902 167.0646 320 160 320zM86.9568 255.2176C95.7152 261.948 97.359 274.5042000000001 90.6286 283.2624C83.8982 292.0208 71.342 293.6648 62.5836 286.9344C51.5068 278.4222 41.5778 268.4932 33.0656 257.4164C26.3352 248.658 27.9792 236.1018 36.7376 229.3714C45.4958 222.641 58.052 224.2848 64.7824 233.0432C71.1762 241.3634 78.6366 248.8238 86.9568 255.2176zM257.416 286.9344C248.658 293.6648 236.102 292.0208 229.372 283.2624C222.64 274.5042000000001 224.284 261.948 233.044 255.2176C241.364 248.8238 248.824 241.3634 255.218 233.0432C261.948 224.2848 274.504 222.641 283.262 229.3714C292.0200000000001 236.1018 293.664 248.658 286.9340000000001 257.4164C278.422 268.4932 268.494 278.4222 257.416 286.9344zM318.648 180.8722C317.2200000000001 191.8252 307.182 199.546 296.23 198.1172C285.276 196.6886 277.5560000000001 186.6512 278.984 175.6984C279.654 170.5694 280 165.3302 280 160C280 154.6698 279.654 149.4306 278.984 144.3016C277.5560000000001 133.3488 285.276 123.3114 296.23 121.8828C307.182 120.454 317.2200000000001 128.1748 318.648 139.1278C319.54 145.9678 320 152.9354 320 160C320 167.0646 319.54 174.0322 318.648 180.8722zM41.0154 175.6984C42.444 186.6512 34.7232 196.6886 23.7702 198.1172C12.81732 199.546 2.78004 191.825 1.351326 180.8722C0.459098 174.0322 0 167.0646 0 160C0 152.9354 0.459098 145.9678 1.35133 139.1278C2.78004 128.1748 12.81732 120.454 23.7702 121.8828C34.7232 123.3114 42.444 133.3488 41.0154 144.3016C40.3462 149.4306 40 154.6698 40 160C40 165.3302 40.3462 170.5694 41.0154 175.6984zM64.7824 86.956C58.052 95.716 45.4958 97.36 36.7376 90.628C27.9792 83.898 26.3352 71.342 33.0656 62.584C41.5778 51.506 51.5068 41.578 62.5836 33.066C71.342 26.336 83.8982 27.98 90.6286 36.738C97.359 45.496 95.7152 58.052 86.9568 64.782C78.6366 71.176 71.1762 78.636 64.7824 86.956zM286.9340000000001 62.584C293.664 71.342 292.0200000000001 83.898 283.262 90.628C274.504 97.36 261.948 95.716 255.218 86.956C248.824 78.636 241.364 71.176 233.044 64.782C224.284 58.052 222.64 45.496 229.372 36.738C236.102 27.98 248.658 26.336 257.416 33.066C268.494 41.578 278.422 51.506 286.9340000000001 62.584zM180.8722 1.352C191.8252 2.78 199.546 12.818 198.1172 23.77C196.6886 34.724 186.6512 42.444 175.6984 41.016C170.5694 40.346 165.3302 40 160 40C154.6698 40 149.4306 40.346 144.3016 41.016C133.3488 42.444 123.3114 34.724 121.8828 23.77C120.454 12.818 128.175 2.78 139.1278 1.352C145.9678 0.46 152.9354 0 160 0C167.0646 0 174.0322 0.46 180.8722 1.352zM160 200C182.0914 200 200 182.0914 200 160C200 137.9086 182.0914 120 160 120C137.9086 120 120 137.9086 120 160C120 182.0914 137.9086 200 160 200zM240 160C240 204.1828 204.182 240 160 240C115.8172 240 80 204.1828 80 160C80 115.818 115.8172 80 160 80C204.182 80 240 115.818 240 160z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.RangeRing.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.RangeRing.displayName = "Blueprint5.Icon.RangeRing";
exports.default = exports.RangeRing;
//# sourceMappingURL=range-ring.js.map
;