UNPKG

@blueprintjs/icons

Version:

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

30 lines 2.4 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"; /** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_16 = ["M2 8a6 6 0 0 1 6-6V0a8 8 0 1 0 6 13.292V14a1 1 0 1 0 2 0v-3a1 1 0 0 0-1-1h-3a1 1 0 1 0 0 2h.472A5.98 5.98 0 0 1 8 14a6 6 0 0 1-6-6m14-.07-2 .02a6 6 0 0 0-.218-1.557l1.928-.532a8 8 0 0 1 .29 2.07m-1.105-3.992-1.723 1.016a6 6 0 0 0-.965-1.233l1.4-1.427c.496.486.93 1.038 1.288 1.644m-2.956-2.901-.986 1.74a6 6 0 0 0-1.451-.588l.501-1.936a8 8 0 0 1 1.936.784m-4.384 4.13A1 1 0 0 0 6 6v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664z"]; /** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_20 = ["M10 2a8 8 0 1 0 6.245 13H15a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-1.999A9.99 9.99 0 0 1 10 20C4.477 20 0 15.523 0 10S4.477 0 10 0zm10.001 8-2 .003a8 8 0 0 0-.273-2.077l1.932-.515a10 10 0 0 1 .341 2.59M18.663 5l-1.732 1a8 8 0 0 0-1.273-1.655l1.414-1.415A10 10 0 0 1 18.662 5M15 1.339l-1 1.732a8 8 0 0 0-1.929-.801L12.59.338A10 10 0 0 1 15 1.34M7.507 6.13a1 1 0 0 1 1.008.014l5 3a1 1 0 0 1 0 1.714l-5 3A1 1 0 0 1 7 13V7a1 1 0 0 1 .507-.87"]; export const RunHistory = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const paths = isLarge ? PATHS_20 : PATHS_16; return (_jsx(SVGIconContainer, { iconName: "run-history", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) })); }); RunHistory.displayName = `Blueprint6.Icon.RunHistory`; export default RunHistory; //# sourceMappingURL=run-history.js.map