@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 7.53 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/*
* 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.
*/
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const VariableLayer = React.forwardRef((props, ref) => {
const isLarge = props.size >= IconSize.LARGE;
const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
const style = { transformOrigin: "center" };
return (_jsx(SVGIconContainer, { iconName: "variable-layer", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M142.5976 359.5898000000001C124.8 346.5906 110.1926 331.3976 98.5938 314.1992C80.7948 287.6002 66.195 255.4002 55.1954 217.4024C43.9954 179.402 38.3984 143.596 38.3984 110.196C38.3988 88.998 43.2094 66.004 53.0078 41.406L49.8046 30.39C16.60468 76.19 0 121.998 0 167.598C0.00001358838 193.796 5.60308 219.7924 16.60156 245.3906C29.8016 275.5906 49.2046 302.2054 74.8046 325.6054000000001C94.4034 343.4028 118.2038 358.2014000000001 145.8008 370L142.5976 359.5898000000001zM189.1992 282.4024C201 263.4024 209.204 242.3898 214.004 219.5898C226.004 237.9898 235.206 250.9984 241.406 258.3984000000001C249.602 268.3936 256.398 274.7924000000001 261.796 277.793C267.1960000000001 280.793 273.004 282.207 279.004 282.207C285.802 282.2062 291.01 280.2056 294.61 276.4062C298.2100000000001 272.6062 300 267.596 300 260.996C300 254.7988 298.206 249.7954 294.61 245.996C291.01 242.196 286.396 240.1954 280.996 240.1954C276.998 240.1958 272.6 241.003 267.4020000000001 242.4024C262.4020000000001 243.8024 258.796 244.5898 256.796 244.5898C251.598 244.589 246.592 242.5884 241.992 238.789C235.394 233.586 227.598 222.383 218.204 205.3906C225.164 180.308 231.206 161.618 236.27 149.356L195.293 126.582L195.1368 126.524C191.5008 134.778 187.2248 146.706 182.4024 162.208C168.0042 143.21 156.5982 129.406 148.3984 120.606C140.2018 111.81 133.4068 106 128.0078 103.398C122.6094 100.8 116.8034 99.396 110.6054 99.394C104.2054 99.394 99.1906 101.396 95.3906 105.196C91.5934 109.194 89.8052 113.998 89.8046 120.196C89.8046 126.592 91.7996 131.992 95.996 136.192C100.196 140.392 105.4016 142.598 111.6016 142.598C115.0012 142.598 118.8084 141.59 123.0078 139.59C129.2028 136.592 133.6076 135 136.4062 135C140.0038 135 143.1978 135.608 145.996 137.208C149.5952 139.006 154.402 143.192 160 149.59C163.6 153.59 169.7992 162.004 179.1992 174.804C167.4032 220.1888 158.0056 247.1848 151.4062 256.1914C147.2062 261.9914 141.7906 264.8046 135.3906 264.8046C131.9934 264.804 127.9974 264.397 123.2032 263.3984000000001L124.3946 270.6054000000001L189.1992 282.4024zM350.196 370C383.396 324.2 400 278.3882 400 232.9882C399.998 206.5932 394.396 180.4 383.398 154.804C381.492 150.408 379.426 146.088 377.2460000000001 141.836L338.5540000000001 163.34C342.516 174.618 346.07 186.252 349.2000000000001 198.204C357.598 231.0004 361.796 261.5974 361.796 290.1954C361.796 311.395 357.0060000000001 334.3996 347.208 359.1992L350.196 370zM205 91.098L295 41.098C297 40.098 298 40.098 300 40.098C302 40.098 303 40.098 305 41.098L395 91.098C398 93.098 400 96.098 400 100.098C400 104.098 398 107.098 395 109.098L305 159.098C303 160.098 302 160.098 300 160.098C298 160.098 297 160.098 295 159.098L205 109.098C202 107.098 200 104.098 200 100.098C200 96.098 202 93.098 205 91.098zM390 70.098C388 70.098 387 70.098 385 69.098L300 21.098L215 69.098C213 70.098 212 70.098 210 70.098C204 70.098 200 66.098 200 60.098C200 56.098 202 53.098 205 51.098L295 1.098C297 0.098 298 0.098 300 0.098C302 0.098 303 0.098 305 1.098L395 51.098C398 53.098 400 56.098 400 60.098C400 66.098 396 70.098 390 70.098z" : "M114.004 291.9922000000001C99.8064 282.1938 88.2076 270.5998 78.8086 257.4024C64.6086 237.2024 53.004 212.3984 44.004 183.3984C35.0048 154.201 30.6062 127.0044 30.6054 101.406C30.6054 85.208 34.6042 67.606 42.4024 48.808L39.8046 40.39C13.20706 75.388 0.00235684 110.394 0 145.3906C0 165.3904 4.39862 185.2002 13.39844 205C23.7984 228 39.4046 248.396 59.8046 265.996C75.6046 279.7958 94.402 291.0002 116.6016 300L114.004 291.9922000000001zM210.8 240C216.398 239.9998 220.398 238.603 223.398 235.6054C226.396 232.807 227.792 228.8046 227.792 223.8086C227.792 219.2088 226.398 215.4022 223.398 212.4024C220.598 209.4024 216.998 208.0078 212.598 208.0078C209.598 208.008 205.796 208.4096 201.796 209.6094C197.6024 210.608 194.803 211.1906 193.2032 211.1914C189.204 211.1914 185.2056 209.7956 181.4062 206.7968C176.2062 202.7968 170.0024 194.1914 162.4024 181.1914C168.368 160.3124 173.5522 145.2964 177.832 135.9766L158.3204 127.5782C153.3656 125.496 149.1634 122.1434 146.0156 117.968L145.996 118.008C142.7968 124.4082 138.7928 134.4088 134.3946 148.2032C122.7988 133.6084 113.8064 123.0066 107.207 116.406C100.607 109.806 95.2008 105.398 90.8008 103.398C86.4008 101.398 81.7968 100.39 76.7968 100.39C71.5998 100.392 67.6086 101.806 64.6094 104.804C61.6112 107.802 60.002 111.596 60 116.192C60 120.9914 61.6046 125.1984 64.8046 128.3984C68.0044 131.5974 72.2078 133.2032 77.207 133.2032C79.8038 133.2016 82.797 132.3934 86.1914 130.996C90.9892 128.5972 94.5966 127.4034 96.7968 127.4024C99.7968 127.4024 102.4094 127.9992 104.6094 129.1992C107.6072 130.6008 111.2058 133.7992 115.8008 138.5938C118.6 141.5928 123.7948 147.9978 131.1914 157.793C121.5936 192.5848 114.2038 213.3902 109.004 220.1954C105.604 224.5954 101.3914 226.7968 96.1914 226.7968C93.5942 226.796 90.1992 226.4036 86.4062 225.6054L87.4024 230.996L139.1992 239.8046C148.5978 225.407 155.1932 209.404 158.5938 192.207C168.3932 206.206 175.6056 216.1972 180.6054 221.7968C187.2022 229.393 192.793 234.4002 196.9922 236.6016C201.392 238.8016 206 240 210.8 240zM256.796 300C283.396 265 296.602 229.9906 296.602 195.3906C296.6 177.6924 293.202 160.147 286.4460000000001 142.754L252.832 157.1876C254.002 160.9518 255.15 164.7464 256.192 168.5938C262.792 193.5938 266.192 217.0086 266.192 238.8086C266.19 255.206 262.194 272.6048 254.394 291.6016L256.796 300zM165.5002 91.1L235.5 61.1C236.9 60.4 238.4 60 240 60C241.6 60 243.1 60.4 244.5 61.1L314.5 91.1C317.7 92.7 320 96.1 320 100C320 104.1 317.5 107.7 313.9 109.2L244 139.2C242.7 139.7 241.4 140 240 140C238.6 140 237.3 139.7 236.1 139.2L166.2002 109.2C162.5002 107.7 160.0002 104.1 160.0002 100C160.0002 96.1 162.3002 92.7 165.5002 91.1zM310 70C308.4 70 306.9000000000001 69.6 305.5 68.9L240 40L174.5 68.9C173.1 69.6 171.6 70 170 70C164.5 70 160 65.5 160 60C160 56.1 162.3 52.7 165.5 51.1L235.5 21.1C236.9 20.4 238.4 20 240 20C241.6 20 243.1 20.4 244.5 21.1L314.5 51.1C317.7 52.7 320 56.1 320 60C320 65.5 315.5 70 310 70z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
VariableLayer.defaultProps = {
size: IconSize.STANDARD,
};
VariableLayer.displayName = `Blueprint6.Icon.VariableLayer`;
export default VariableLayer;
//# sourceMappingURL=variable-layer.js.map