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 = ["m6.89.56 4 8c.06.13.11.28.11.44 0 .55-.45 1-1 1-.39 0-.72-.23-.89-.55H9.1L8.38 8H3.62L2.9 9.44h-.01c-.17.33-.5.56-.89.56-.55 0-1-.45-1-1 0-.16.05-.31.12-.44L3.1 4.58 4 2.76 5.11.56C5.28.23 5.61 0 6 0s.72.23.89.56M14 9c-.28 0-.53.11-.71.29L9 13.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0 0 14 9M6 3.24 4.62 6h2.76z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["m8.89.56 5 10c.06.13.11.28.11.44 0 .55-.45 1-1 1-.39 0-.72-.23-.89-.55L10.88 9H5.12l-1.23 2.44c-.17.33-.5.56-.89.56-.55 0-1-.45-1-1 0-.16.05-.31.12-.44l2.35-4.73.9-1.81L7.11.56C7.28.23 7.61 0 8 0s.72.23.89.56M6.12 7h3.76L8 3.24zm11.17 4.29a1.004 1.004 0 1 1 1.42 1.42l-7 7c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-3-3a1.003 1.003 0 1 1 1.42-1.42l2.29 2.3z"];
export const SpellCheckIcon = React.forwardRef((props, ref) => {
    const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
    const paths = isLarge ? PATHS_20 : PATHS_16;
    return (_jsx(SVGIconContainer, { iconName: "spell-check", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) }));
});
SpellCheckIcon.displayName = `Blueprint6.Icon.SpellCheckIcon`;
/**
 * @deprecated Use {@link SpellCheckIcon} instead.
 */
export const SpellCheck = SpellCheckIcon;
export default SpellCheckIcon;
//# sourceMappingURL=spell-check.js.map