import { cn } from "../../../../classname.js";
import { nodeTypeFactory } from "../../../../utils/schema.js";
export var CheckboxNode;
(function (CheckboxNode) {
    CheckboxNode["Checkbox"] = "checkbox";
    CheckboxNode["Input"] = "checkbox_input";
    CheckboxNode["Label"] = "checkbox_label";
})(CheckboxNode || (CheckboxNode = {}));
export const CheckboxAttr = {
    Class: 'class',
    Type: 'type',
    Id: 'id',
    Checked: 'checked',
    For: 'for',
    Line: 'data-line',
    Tight: 'data-tight',
};
export const idPrefix = 'yfm-editor-checkbox';
// TODO [MAJOR]: remove custom classname
export const b = cn('checkbox');
export const checkboxType = nodeTypeFactory(CheckboxNode.Checkbox);
export const checkboxLabelType = nodeTypeFactory(CheckboxNode.Label);
export const checkboxInputType = nodeTypeFactory(CheckboxNode.Input);
export const CHECKBOX_OPEN_TOKEN = 'checkbox_open';
export const CHECKBOX_CLOSE_TOKEN = 'checkbox_close';
//# sourceMappingURL=const.js.map
