lumiverse-spindle-types 0.6.29 → 0.6.31

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.
@@ -34,6 +34,13 @@ export interface SpindleLoomBlockEditorOptions {
34
34
  onChange?: (value: SpindleLoomBlockEditorValue) => void;
35
35
  /** Reports validated in-progress edits, or `null` when the native draft is discarded. */
36
36
  onDraftChange?: (value: SpindleLoomBlockEditorValue | null) => void;
37
+ /**
38
+ * Block opened in the native editor. Omit to let the host own selection;
39
+ * pass `null` to explicitly show the block list.
40
+ */
41
+ selectedBlockId?: string | null;
42
+ /** Reports block navigation initiated by the native editor. */
43
+ onSelectedBlockChange?: (blockId: string | null) => void;
37
44
  readOnly?: boolean;
38
45
  compact?: boolean;
39
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.6.29",
3
+ "version": "0.6.31",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "keywords": [