UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.73 kB
/* * 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 TagRefresh = 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 (React.createElement(SVGIconContainer, { iconName: "tag-refresh", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M265.8 254.2C269.4 257.8 274.4 260 280 260C291 260 300 251 300 240C300 234.4 297.8 229.4 294.2000000000001 225.8L288.2 220H320C331 220 340 229 340 240S349 260 360 260S380 251 380 240C380 206.8 353.2 180 320 180H288.2L294.2000000000001 174.2C297.8 170.6 300 165.6 300 160C300 149 291 140 280 140C274.4000000000001 140 269.4000000000001 142.2 265.8 145.8L225.8 185.8C222.2 189.4 220 194.4 220 200C220 205.6 222.2 210.6 225.8 214.2L265.8 254.2zM334.2000000000001 265.8C330.6 262.2000000000001 325.6 260 320 260C309 260 300 269 300 280C300 285.6 302.2 290.6 305.8 294.2L311.8 300H280C269 300 260 291 260 280S251 260 240 260S220 269 220 280C220 313.2 246.8 340 280 340H311.8L305.8 345.8C302.2 349.4 300 354.4 300 360C300 371 309 380 320 380C325.6 380 330.6 377.8 334.2000000000001 374.2L374.2000000000001 334.2C377.8 330.6 380 325.6 380 320C380 314.4 377.8 309.4 374.2000000000001 305.8L334.2000000000001 265.8zM217.87 330.4522C206.692 316.6962 200 299.1428 200 280C200 262.9184 210.78 248.293 225.888 242.5726L211.658 228.3422C204.35 221.0342 200 210.9646 200 200C200 189.036 204.35 178.966 211.658 171.658L251.658 131.658C258.966 124.35 269.036 120 280 120C302.046 120 320 137.954 320 160C334.552 160 348.184 163.868 359.93 170.632C359.6420000000001 160.79 355.7420000000001 151.034 348.23 143.524L256.476 51.77C240.856 36.148 215.53 36.148 199.9082 51.77L51.7158 199.962A39.9994 39.9994 0 0 0 40 228.2462V320C40 342.0914 57.9086 360 80 360H171.7538A39.9994 39.9994 0 0 0 200.038 348.2842L217.87 330.4522zM79.8702 290.2272C79.8702 273.7124 93.258 260.3246000000001 109.7728 260.3246000000001S139.6754 273.7124 139.6754 290.2272S126.2876 320.1298 109.7728 320.1298S79.8702 306.742 79.8702 290.2272z" : "M205.8 194.2C209.4 197.8 214.4 200 220 200C231 200 240 191 240 180C240 174.4 237.8 169.4 234.2 165.8L228.2 160H260C271 160 280 169 280 180S289 200 300 200S320 191 320 180C320 146.8 293.2 120 260 120H228.2L234.2 114.2C237.8 110.6 240 105.6 240 100C240 89 231 80 220 80C214.4 80 209.4 82.2 205.8 85.8L165.8 125.8C162.2 129.4 160 134.4 160 140C160 145.6 162.2 150.6 165.8 154.2L205.8 194.2zM274.2 205.8C270.6 202.2 265.6 200 260 200C249 200 240 209 240 220C240 225.6 242.2 230.6 245.8 234.2L251.8 240H220C209 240 200 231 200 220S191 200 180 200S160 209 160 220C160 253.2 186.8 280 220 280H251.8L245.8 285.8C242.2 289.4 240 294.4 240 300C240 311 249 320 260 320C265.6 320 270.6 317.8 274.2000000000001 314.2L314.2000000000001 274.2C317.8 270.6 320 265.6 320 260C320 254.4 317.8 249.4 314.2000000000001 245.8L274.2000000000001 205.8zM157.768 270.3262C146.6518 256.5892 140 239.0844 140 220C140 202.9184 150.779 188.293 165.8884 182.5726L151.6578 168.3422C144.35 161.0342 140 150.9646 140 140C140 129.0354 144.35 118.966 151.6578 111.658L191.6578 71.658C198.9658 64.35 209.036 60 220 60C221.722 60 223.418 60.11 225.082 60.322L176.5378 11.778C160.9168 -3.844 135.5902 -3.844 119.9692 11.778L11.7158 120.0308A40 40 0 0 0 0 148.315V240C0 262.0914 17.9086 280 40 280H131.685A40 40 0 0 0 157.768 270.3262zM39.8516 210.2596C39.8516 193.7524 53.2334 180.3708 69.7404 180.3708C86.2476 180.3708 99.6292 193.7524 99.6292 210.2596C99.6292 226.7666 86.2476 240.1484 69.7404 240.1484C53.2334 240.1484 39.8516 226.7666 39.8516 210.2596z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); TagRefresh.defaultProps = { size: IconSize.STANDARD, }; TagRefresh.displayName = `Blueprint5.Icon.TagRefresh`; export default TagRefresh; //# sourceMappingURL=tag-refresh.js.map