@atlaskit/editor-plugin-loom 2.2.8 → 2.2.9

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.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.2.8
4
10
 
5
11
  ### Patch Changes
@@ -245,12 +245,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
245
245
  isMenuOpen: boolean;
246
246
  activeNode: {
247
247
  pos: number;
248
+ anchorName: string;
248
249
  } | null;
249
250
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
250
251
  isDragging: boolean;
251
252
  } | undefined;
252
253
  commands: {
253
254
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
255
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
256
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
254
257
  };
255
258
  }, undefined>>];
256
259
  actions: {
@@ -519,12 +522,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
519
522
  isMenuOpen: boolean;
520
523
  activeNode: {
521
524
  pos: number;
525
+ anchorName: string;
522
526
  } | null;
523
527
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
524
528
  isDragging: boolean;
525
529
  } | undefined;
526
530
  commands: {
527
531
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
532
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
533
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
528
534
  };
529
535
  }, undefined>>];
530
536
  actions: {
@@ -792,12 +798,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
792
798
  isMenuOpen: boolean;
793
799
  activeNode: {
794
800
  pos: number;
801
+ anchorName: string;
795
802
  } | null;
796
803
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
797
804
  isDragging: boolean;
798
805
  } | undefined;
799
806
  commands: {
800
807
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
808
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
809
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
801
810
  };
802
811
  }, undefined>>];
803
812
  actions: {
@@ -1066,12 +1075,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
1066
1075
  isMenuOpen: boolean;
1067
1076
  activeNode: {
1068
1077
  pos: number;
1078
+ anchorName: string;
1069
1079
  } | null;
1070
1080
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1071
1081
  isDragging: boolean;
1072
1082
  } | undefined;
1073
1083
  commands: {
1074
1084
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1085
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1086
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1075
1087
  };
1076
1088
  }, undefined>>];
1077
1089
  actions: {
@@ -301,12 +301,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
301
301
  isMenuOpen: boolean;
302
302
  activeNode: {
303
303
  pos: number;
304
+ anchorName: string;
304
305
  } | null;
305
306
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
306
307
  isDragging: boolean;
307
308
  } | undefined;
308
309
  commands: {
309
310
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
311
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
312
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
310
313
  };
311
314
  }, undefined>>
312
315
  ];
@@ -634,12 +637,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
634
637
  isMenuOpen: boolean;
635
638
  activeNode: {
636
639
  pos: number;
640
+ anchorName: string;
637
641
  } | null;
638
642
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
639
643
  isDragging: boolean;
640
644
  } | undefined;
641
645
  commands: {
642
646
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
647
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
648
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
643
649
  };
644
650
  }, undefined>>
645
651
  ];
@@ -967,12 +973,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
967
973
  isMenuOpen: boolean;
968
974
  activeNode: {
969
975
  pos: number;
976
+ anchorName: string;
970
977
  } | null;
971
978
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
972
979
  isDragging: boolean;
973
980
  } | undefined;
974
981
  commands: {
975
982
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
983
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
984
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
976
985
  };
977
986
  }, undefined>>
978
987
  ];
@@ -1300,12 +1309,15 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
1300
1309
  isMenuOpen: boolean;
1301
1310
  activeNode: {
1302
1311
  pos: number;
1312
+ anchorName: string;
1303
1313
  } | null;
1304
1314
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1305
1315
  isDragging: boolean;
1306
1316
  } | undefined;
1307
1317
  commands: {
1308
1318
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1319
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1320
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1309
1321
  };
1310
1322
  }, undefined>>
1311
1323
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,11 +36,11 @@
36
36
  ".": "./src/index.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/editor-common": "^82.0.0",
39
+ "@atlaskit/editor-common": "^82.1.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
41
41
  "@atlaskit/editor-plugin-hyperlink": "^2.0.0",
42
42
  "@atlaskit/editor-prosemirror": "4.0.1",
43
- "@atlaskit/logo": "^13.17.0",
43
+ "@atlaskit/logo": "^14.0.0",
44
44
  "@atlaskit/platform-feature-flags": "0.2.5",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@loomhq/record-sdk": "^2.36.18",