UNPKG

@blueprintjs/icons

Version:

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

28 lines 5.42 kB
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 Subscript = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (_jsx(SVGIconContainer, { iconName: "subscript", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M4.48 267.4A20 20 0 1 0 35.74 292.36L100 212L164.26 292.3400000000001A20 20 0 1 0 195.52 267.4L125.6 180L195.5 92.62A20 20 0 1 0 164.24 67.66L100 147.98L35.74 67.66A20 20 0 1 0 4.48 92.6L74.4 180zM320.48 40.8C323.68 44.6 327.2800000000001 48.4 331.68 51.8C335.88 55.4 340.6600000000001 59 345.86 62.4C350.86 66 355.86 69.6 360.84 73.6C365.84 77.6 370.64 81.8 375.44 86.2C380.02 90.6 384.22 95.6 388.02 101C391.62 106.4 394.62 112.2000000000001 396.8200000000001 118.6S400 132 400 140C400 146.4 399 153 397.2 160S392.2 173.6 387.8 179.4A50 50 0 0 1 370.42 194.2C363.2200000000001 198.2 354.24 200 343.4600000000001 200C333.6600000000001 200 324.86 198 317.48 194.2C310.0800000000001 190.6 303.6800000000001 185.4 298.5000000000001 178.6C293.3000000000001 172 289.5000000000001 164 286.9000000000001 154.6000000000001C284.3 145.4 282.9000000000001 135.4000000000001 282.9000000000001 124.6H311.5000000000001C311.7000000000001 131.6 312.3000000000001 138.0000000000001 313.3000000000001 144.0000000000001S316.1000000000001 155.2000000000001 318.3000000000001 159.6000000000001S323.4800000000001 167.4000000000001 327.2800000000001 170S335.8800000000001 173.8 341.4600000000001 173.8Q350.7600000000001 173.8 356.4600000000001 170.2000000000001C360.2400000000001 167.8000000000001 363.2400000000001 165 365.4400000000001 161.6S369.0400000000001 154.4 369.8400000000001 150.4Q371.0400000000001 144.4 371.0400000000001 139C370.8400000000001 131.4 369.04 124.6 365.8400000000001 118.6C362.8400000000001 112.6 358.44 107.2000000000001 353.2400000000001 102C348.04 97 342.4400000000001 92.2000000000001 336.2600000000001 87.8C330.0600000000001 83.4 324.0600000000001 78.8 318.4800000000001 74.2000000000001C306.4800000000001 65.2000000000001 297.3000000000001 54.6 290.3200000000001 42.6C283.3200000000001 30.4000000000001 279.9200000000001 16.2 279.7200000000001 1e-13H399.4000000000001V28.6000000000001H313.8800000000001C315.0800000000002 32.8000000000001 317.2800000000002 37.0000000000001 320.4800000000001 40.8000000000001" : "M124 232A20 20 0 0 0 156 208L105 140L156 72A20 20 0 0 0 124 48L80 106.66L36 48A20 20 0 0 0 4 72L55 140L4 208A20 20 0 0 0 36 232L80 173.34zM263.08 41.12L263.4 41.4C267 44.2 270.6 46.9999999999999 274.8 49.8L287.4000000000001 58.8C291.6 61.9999999999999 295.6 65.4 299.6 68.9999999999999S307 76.6 310 80.8S315.6 89.7999999999999 317.4 94.7999999999999S320 105.6 320 111.7999999999999C320 116.7999999999999 319.2000000000001 121.9999999999999 317.6 127.5999999999999C316.2 133.3999999999999 313.6 138.5999999999999 309.8 143.3999999999999A44 44 0 0 1 295.2 155.3999999999999C289.4000000000001 158.3999999999999 282 159.9999999999999 273 159.9999999999999C265 159.9999999999999 257.8 158.3999999999999 251.6 155.3999999999999C245.4 152.1999999999999 240 147.9999999999999 235.8 142.9999999999999C231.4 137.5999999999999 228.2 131.1999999999999 226 123.7999999999999S222.8 108.3999999999999 222.8 99.7999999999999H246.6C246.8 105.1999999999999 247.2 110.3999999999999 248.2 115.1999999999999C249 119.9999999999999 250.4 124.1999999999999 252.4 127.5999999999999C254.2 131.1999999999999 256.8 133.9999999999999 260 135.9999999999999S267 138.9999999999999 271.8 138.9999999999999C277 138.9999999999999 281.2 137.9999999999999 284.4000000000001 136.1999999999999C287.4000000000001 134.3999999999999 290 131.9999999999999 291.8 129.1999999999999Q294.5 124.9999999999999 295.4 120.1999999999999C296 116.9999999999999 296.4 113.9999999999999 296.4 111.1999999999999C296.2 104.9999999999999 294.8 99.5999999999999 292 94.7999999999999C289.2 90.1999999999999 285.6 85.7999999999999 281.4 81.7999999999999C277 77.5999999999999 272.2 73.9999999999999 267.2 70.3999999999999Q259.4 64.9999999999999 252.2 59.5999999999999C242.2 52.3999999999999 234.4 43.9999999999999 228.8 34.1999999999999S220.2 13 220 0H319.8V22.8H248.8C249.8000000000001 26.2 251.6 29.4 254.2 32.6C256.7200000000001 35.5 259.8 38.22 263.0800000000001 41.12", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) })); }); Subscript.displayName = `Blueprint6.Icon.Subscript`; export default Subscript; //# sourceMappingURL=subscript.js.map