UNPKG

@frontify/fondue

Version:
44 lines (43 loc) 1.14 kB
import { createPluginFactory as o } from "@udecode/plate-core"; import { createIndentPlugin as r } from "@udecode/plate-indent"; import { Plugin as i } from "../Plugin.es.js"; import { CheckboxListButton as n } from "./CheckboxListButton/index.es.js"; import { CheckboxListElement as m } from "./CheckboxListElement.es.js"; import { CHECKBOX_DIV_CLASSES as f, CHECKBOX_SPAN_CLASSES as k, CheckboxListElementNode as P } from "./CheckboxListElement.es.js"; import { ELEMENT_CHECK_ITEM as t, CHECKBOX_LIST_PLUGIN as s } from "./id.es.js"; const C = o({ key: t, isElement: !0 }); class S extends i { constructor(e) { super(s, { button: n, markupElement: new m(), ...e }); } plugins() { return [ C(), r({ inject: { props: { validTypes: [t] } } }) ]; } } export { f as CHECKBOX_DIV_CLASSES, s as CHECKBOX_LIST_PLUGIN, k as CHECKBOX_SPAN_CLASSES, m as CheckboxListElement, P as CheckboxListElementNode, S as CheckboxListPlugin, t as ELEMENT_CHECK_ITEM, C as createCheckboxListPlugin }; //# sourceMappingURL=index.es.js.map