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: ICON_STROKE_WIDTH });
        case "italic":
            return _jsx(Italic, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH });
        case "underline":
            return (_jsx(Underline, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "strikethrough":
            return (_jsx(Strikethrough, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "subscript":
            return (_jsx(Subscript, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "superscript":
            return (_jsx(Superscript, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        default:
            return undefined;
    }
}
export function getRichTextListIcon(listId) {
    return listId === "ordered-list" ? (_jsx(ListOrdered, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH })) : (_jsx(List, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
}
export function getRichTextAlignmentIcon(alignmentId) {
    switch (alignmentId) {
        case "left":
            return (_jsx(AlignLeft, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "center":
            return (_jsx(AlignCenter, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "right":
            return (_jsx(AlignRight, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        case "justify":
            return (_jsx(AlignJustify, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH }));
        default:
            return undefined;
    }
}
export function getRichTextLinkIcon() {
    return _jsx(Link2, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH });
}
export function getRichTextStripFormattingIcon() {
    return _jsx(Eraser, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH });
}
export function getRichTextHorizontalRuleIcon() {
    return _jsx(Minus, { className: ICON_CLASS, strokeWidth: ICON_STROKE_WIDTH });
}
//# sourceMappingURL=richTextToolbarIcons.js.map