import { jsx as _jsx } from "react/jsx-runtime";
import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Bold, Eraser, Italic, Link2, List, ListOrdered, Minus, Strikethrough, Subscript, Superscript, Underline, } from "lucide-react";
const ICON_CLASS = "text-neutral-grey-100 h-4 w-4";
const ICON_STROKE_WIDTH = 1.75;
export function getRichTextMarkIcon(markId) {
    switch (markId) {
        case "bold":
            return _jsx(Bold, { className: ICON_CLASS, strokeWidth: 1 });
        case "italic":
            return _jsx(Italic, { className: ICON_CLASS, strokeWidth: 1 });
        case "underline":
            return _jsx(Underline, { className: ICON_CLASS, strokeWidth: 1 });
        case "strikethrough":
            return _jsx(Strikethrough, { className: ICON_CLASS, strokeWidth: 1 });
        case "subscript":
            return _jsx(Subscript, { className: ICON_CLASS, strokeWidth: 1 });
        case "superscript":
            return _jsx(Superscript, { className: ICON_CLASS, strokeWidth: 1 });
        default:
            return undefined;
    }
}
export function getRichTextListIcon(listId) {
    return listId === "ordered-list" ? (_jsx(ListOrdered, { className: ICON_CLASS, strokeWidth: 1 })) : (_jsx(List, { className: ICON_CLASS, strokeWidth: 1 }));
}
export function getRichTextAlignmentIcon(alignmentId) {
    switch (alignmentId) {
        case "left":
            return _jsx(AlignLeft, { className: ICON_CLASS, strokeWidth: 1 });
        case "center":
            return _jsx(AlignCenter, { className: ICON_CLASS, strokeWidth: 1 });
        case "right":
            return _jsx(AlignRight, { className: ICON_CLASS, strokeWidth: 1 });
        case "justify":
            return _jsx(AlignJustify, { className: ICON_CLASS, strokeWidth: 1 });
        default:
            return undefined;
    }
}
export function getRichTextLinkIcon() {
    return _jsx(Link2, { className: ICON_CLASS, strokeWidth: 1 });
}
export function getRichTextStripFormattingIcon() {
    return _jsx(Eraser, { className: ICON_CLASS, strokeWidth: 1 });
}
export function getRichTextHorizontalRuleIcon() {
    return _jsx(Minus, { className: ICON_CLASS, strokeWidth: 1 });
}
//# sourceMappingURL=richTextToolbarIcons.js.map