import { cn } from "../../classname.js";
import "./sticky.css";
const b = cn('editor-sticky');
export const stickyCn = {
    toolbar: ({ withSettings, stickyActive, isSticky }, mix) => {
        const mods = {
            part: withSettings ? 'left' : false,
            'sticky-active': stickyActive,
            sticky: isSticky,
        };
        return b(mods, mix);
    },
    settings: ({ withToolbar, stickyActive }, mix) => {
        const mods = {
            part: withToolbar ? 'right' : false,
            'sticky-active': stickyActive,
            clear: !withToolbar,
            sticky: true,
        };
        return b(mods, mix);
    },
};
//# sourceMappingURL=index.js.map
