@threadlabs/looma 0.29.9 → 0.29.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A generated component's root as the DOM sees it. HTML Next's generated Vanilla element types
3
+ * accept only the component's own events, which makes them unassignable to `Node`; widening keeps
4
+ * the roots usable as children and with native events until the generated types include the
5
+ * native event map.
6
+ */
7
+ export declare const element: (root: HTMLElement) => HTMLElement;
@@ -0,0 +1,8 @@
1
+ import type { NodeViewRenderer } from "@tiptap/core";
2
+ /**
3
+ * Composes a section's disclosure and its saved settings from Looma's components.
4
+ * @lifecycle ProseMirror owns the content DOM in Disclosure's slot and the view's element; the
5
+ * components disconnect once ProseMirror removes it, and destroying the view stops following the
6
+ * editor and its reveal requests.
7
+ */
8
+ export declare const expandNodeView: NodeViewRenderer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.29.9",
3
+ "version": "0.29.10",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",