@atlaskit/editor-plugin-loom 2.8.3 → 2.8.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 2.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.8.3
4
10
 
5
11
  ### Patch Changes
@@ -261,6 +261,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
261
261
  };
262
262
  commands: {
263
263
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
264
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
264
265
  };
265
266
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
266
267
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -270,7 +271,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
270
271
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
271
272
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
272
273
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
273
- setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
274
+ setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
274
275
  };
275
276
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
276
277
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -657,6 +658,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
657
658
  };
658
659
  commands: {
659
660
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
661
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
660
662
  };
661
663
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
662
664
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -666,7 +668,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
666
668
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
667
669
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
668
670
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
669
- setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
671
+ setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
670
672
  };
671
673
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
672
674
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -319,6 +319,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
319
319
  };
320
320
  commands: {
321
321
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
322
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
322
323
  };
323
324
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
324
325
  ];
@@ -329,7 +330,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
329
330
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
330
331
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
331
332
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
332
- setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
333
+ setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
333
334
  };
334
335
  }, undefined>>,
335
336
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -794,6 +795,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
794
795
  };
795
796
  commands: {
796
797
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
798
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
797
799
  };
798
800
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
799
801
  ];
@@ -804,7 +806,7 @@ declare const _default: import("react").FC<import("react-intl-next").WithIntlPro
804
806
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
805
807
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
806
808
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
807
- setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
809
+ setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
808
810
  };
809
811
  }, undefined>>,
810
812
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/editor-common": "^89.0.0",
37
+ "@atlaskit/editor-common": "^90.0.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
39
39
  "@atlaskit/editor-plugin-hyperlink": "^2.9.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
63
63
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
64
64
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
65
- "@atlaskit/editor-plugin-floating-toolbar": "^1.12.0",
65
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.13.0",
66
66
  "@atlaskit/editor-plugin-grid": "^1.2.0",
67
67
  "@testing-library/react": "^12.1.5",
68
68
  "@testing-library/user-event": "^14.4.3",