@tatamicks/core 0.3.0 → 0.3.2

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.
@@ -2037,7 +2037,7 @@ displayName: string;
2037
2037
  }>;
2038
2038
 
2039
2039
  export declare const NoteEditor: MemoExoticComponent< {
2040
- ({ schema, values, mode, pluginRegistry, onSchemaChange, onValuesChange, onSelectionChange, scale, className, }: NoteEditorProps): JSX.Element;
2040
+ ({ schema, values, mode, pluginRegistry, selectedBlockIds, onSchemaChange, onValuesChange, onSelectionChange, scale, className, }: NoteEditorProps): JSX.Element;
2041
2041
  displayName: string;
2042
2042
  }>;
2043
2043
 
@@ -2046,6 +2046,7 @@ export declare interface NoteEditorProps {
2046
2046
  values: Record<string, Value>;
2047
2047
  mode: NoteMode;
2048
2048
  pluginRegistry: Record<string, BlockPlugin>;
2049
+ selectedBlockIds?: string[];
2049
2050
  onSchemaChange?: OnSchemaChange;
2050
2051
  onValuesChange?: OnValuesChange;
2051
2052
  onSelectionChange?: (selectedBlockIds: string[]) => void;
@@ -2063,13 +2064,14 @@ export declare interface NoteEditProps {
2063
2064
  }
2064
2065
 
2065
2066
  export declare const NoteForm: MemoExoticComponent< {
2066
- ({ schema, pluginRegistry, onSchemaChange, onSelectionChange, scale, className, }: NoteFormProps): JSX.Element;
2067
+ ({ schema, pluginRegistry, selectedBlockIds: OuterSelectedBlockIds, onSchemaChange, onSelectionChange: onOuterSelectionChange, scale, className, }: NoteFormProps): JSX.Element;
2067
2068
  displayName: string;
2068
2069
  }>;
2069
2070
 
2070
2071
  export declare interface NoteFormProps {
2071
2072
  schema: FormSchema;
2072
2073
  pluginRegistry: Record<string, BlockPlugin>;
2074
+ selectedBlockIds?: string[];
2073
2075
  onSchemaChange?: OnSchemaChange;
2074
2076
  onSelectionChange?: (selectedBlockIds: string[]) => void;
2075
2077
  scale?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tatamicks/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "description": "A headless, extensible document editor for React with grid-based layout system",
6
6
  "keywords": [