@atlaskit/editor-core 193.27.2 → 193.27.8

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.
Files changed (139) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/composable-editor/editor-internal.js +1 -1
  3. package/dist/cjs/composable-editor/editor.js +2 -0
  4. package/dist/cjs/editor.js +1 -1
  5. package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +1 -1
  6. package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +2 -0
  7. package/dist/cjs/ui/Addon/ClickAreaInline/index.js +2 -0
  8. package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +1 -1
  9. package/dist/cjs/ui/Addon/Dropdown/index.js +1 -1
  10. package/dist/cjs/ui/Addon/Dropdown/styles.js +2 -0
  11. package/dist/cjs/ui/Addon/DropdownItem/index.js +1 -0
  12. package/dist/cjs/ui/Addon/DropdownItem/styles.js +2 -0
  13. package/dist/cjs/ui/Addon/click-area-helper.js +2 -3
  14. package/dist/cjs/ui/Appearance/Chromeless.js +1 -1
  15. package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
  16. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -0
  17. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +2 -0
  18. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -0
  19. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  20. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  21. package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +2 -0
  22. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +1 -1
  23. package/dist/cjs/ui/AppearanceComponents/Mobile.js +2 -0
  24. package/dist/cjs/ui/ChromeCollapsed/index.js +1 -1
  25. package/dist/cjs/ui/ChromeCollapsed/styles.js +2 -0
  26. package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
  27. package/dist/cjs/ui/ContentStyles/code-block.js +1 -0
  28. package/dist/cjs/ui/ContentStyles/date.js +1 -1
  29. package/dist/cjs/ui/ContentStyles/expand.js +1 -1
  30. package/dist/cjs/ui/ContentStyles/extension.js +1 -1
  31. package/dist/cjs/ui/ContentStyles/index.js +2 -0
  32. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  33. package/dist/cjs/ui/ContentStyles/media.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/panel.js +1 -1
  35. package/dist/cjs/ui/ContentStyles/status.js +1 -1
  36. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
  37. package/dist/cjs/ui/ContextPanel/index.js +1 -1
  38. package/dist/cjs/ui/PluginSlot/index.js +1 -1
  39. package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -1
  40. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  41. package/dist/cjs/ui/ToolbarFeedback/index.js +1 -1
  42. package/dist/cjs/ui/ToolbarFeedback/styles.js +2 -0
  43. package/dist/cjs/ui/WithFlash/index.js +1 -1
  44. package/dist/cjs/version-wrapper.js +1 -1
  45. package/dist/es2019/composable-editor/editor-internal.js +2 -0
  46. package/dist/es2019/composable-editor/editor.js +2 -0
  47. package/dist/es2019/editor.js +2 -0
  48. package/dist/es2019/nodeviews/getInlineNodeViewProducer.styles.js +1 -0
  49. package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +2 -0
  50. package/dist/es2019/ui/Addon/ClickAreaInline/index.js +2 -0
  51. package/dist/es2019/ui/Addon/ClickAreaMobile/index.js +2 -0
  52. package/dist/es2019/ui/Addon/Dropdown/index.js +2 -0
  53. package/dist/es2019/ui/Addon/Dropdown/styles.js +1 -0
  54. package/dist/es2019/ui/Addon/DropdownItem/index.js +1 -0
  55. package/dist/es2019/ui/Addon/DropdownItem/styles.js +1 -0
  56. package/dist/es2019/ui/Addon/click-area-helper.js +2 -4
  57. package/dist/es2019/ui/Appearance/Chromeless.js +2 -0
  58. package/dist/es2019/ui/Appearance/Comment/Comment.js +2 -0
  59. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -0
  60. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
  61. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -0
  62. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  63. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  64. package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -0
  65. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +1 -0
  66. package/dist/es2019/ui/AppearanceComponents/Mobile.js +2 -0
  67. package/dist/es2019/ui/ChromeCollapsed/index.js +2 -0
  68. package/dist/es2019/ui/ChromeCollapsed/styles.js +1 -0
  69. package/dist/es2019/ui/ContentStyles/ai-panels.js +1 -0
  70. package/dist/es2019/ui/ContentStyles/code-block.js +1 -0
  71. package/dist/es2019/ui/ContentStyles/date.js +1 -0
  72. package/dist/es2019/ui/ContentStyles/expand.js +1 -0
  73. package/dist/es2019/ui/ContentStyles/extension.js +1 -0
  74. package/dist/es2019/ui/ContentStyles/index.js +4 -0
  75. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  76. package/dist/es2019/ui/ContentStyles/media.js +1 -0
  77. package/dist/es2019/ui/ContentStyles/panel.js +1 -0
  78. package/dist/es2019/ui/ContentStyles/status.js +1 -0
  79. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +1 -0
  80. package/dist/es2019/ui/ContextPanel/index.js +2 -0
  81. package/dist/es2019/ui/PluginSlot/index.js +2 -0
  82. package/dist/es2019/ui/Toolbar/ToolbarInner.js +2 -0
  83. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  84. package/dist/es2019/ui/ToolbarFeedback/index.js +2 -0
  85. package/dist/es2019/ui/ToolbarFeedback/styles.js +1 -0
  86. package/dist/es2019/ui/WithFlash/index.js +2 -0
  87. package/dist/es2019/version-wrapper.js +1 -1
  88. package/dist/esm/composable-editor/editor-internal.js +2 -0
  89. package/dist/esm/composable-editor/editor.js +2 -0
  90. package/dist/esm/editor.js +2 -0
  91. package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +1 -0
  92. package/dist/esm/ui/Addon/ClickAreaBlock/index.js +2 -0
  93. package/dist/esm/ui/Addon/ClickAreaInline/index.js +2 -0
  94. package/dist/esm/ui/Addon/ClickAreaMobile/index.js +2 -0
  95. package/dist/esm/ui/Addon/Dropdown/index.js +2 -0
  96. package/dist/esm/ui/Addon/Dropdown/styles.js +1 -0
  97. package/dist/esm/ui/Addon/DropdownItem/index.js +1 -0
  98. package/dist/esm/ui/Addon/DropdownItem/styles.js +1 -0
  99. package/dist/esm/ui/Addon/click-area-helper.js +2 -4
  100. package/dist/esm/ui/Appearance/Chromeless.js +2 -0
  101. package/dist/esm/ui/Appearance/Comment/Comment.js +2 -0
  102. package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -0
  103. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
  104. package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -0
  105. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  106. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  107. package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -0
  108. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +1 -0
  109. package/dist/esm/ui/AppearanceComponents/Mobile.js +2 -0
  110. package/dist/esm/ui/ChromeCollapsed/index.js +2 -0
  111. package/dist/esm/ui/ChromeCollapsed/styles.js +1 -0
  112. package/dist/esm/ui/ContentStyles/ai-panels.js +1 -0
  113. package/dist/esm/ui/ContentStyles/code-block.js +1 -0
  114. package/dist/esm/ui/ContentStyles/date.js +1 -0
  115. package/dist/esm/ui/ContentStyles/expand.js +1 -0
  116. package/dist/esm/ui/ContentStyles/extension.js +1 -0
  117. package/dist/esm/ui/ContentStyles/index.js +4 -0
  118. package/dist/esm/ui/ContentStyles/layout.js +1 -0
  119. package/dist/esm/ui/ContentStyles/media.js +1 -0
  120. package/dist/esm/ui/ContentStyles/panel.js +1 -0
  121. package/dist/esm/ui/ContentStyles/status.js +1 -0
  122. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -0
  123. package/dist/esm/ui/ContextPanel/index.js +2 -0
  124. package/dist/esm/ui/PluginSlot/index.js +2 -0
  125. package/dist/esm/ui/Toolbar/ToolbarInner.js +2 -0
  126. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  127. package/dist/esm/ui/ToolbarFeedback/index.js +2 -0
  128. package/dist/esm/ui/ToolbarFeedback/styles.js +1 -0
  129. package/dist/esm/ui/WithFlash/index.js +2 -0
  130. package/dist/esm/version-wrapper.js +1 -1
  131. package/dist/types/create-editor/create-preset.d.ts +10 -90
  132. package/dist/types/presets/default.d.ts +10 -90
  133. package/dist/types/presets/universal.d.ts +10 -90
  134. package/dist/types/presets/useUniversalPreset.d.ts +10 -90
  135. package/dist/types-ts4.5/create-editor/create-preset.d.ts +10 -90
  136. package/dist/types-ts4.5/presets/default.d.ts +10 -90
  137. package/dist/types-ts4.5/presets/universal.d.ts +10 -90
  138. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +10 -90
  139. package/package.json +13 -17
@@ -306,15 +306,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
306
306
  }, FeatureFlags>>];
307
307
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
308
308
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
309
- sharedState: {
310
- isMenuOpen: boolean;
311
- activeNode: {
312
- pos: number;
313
- anchorName: string;
314
- } | null;
315
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
316
- isDragging: boolean;
317
- } | undefined;
309
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
318
310
  commands: {
319
311
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
320
312
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -592,15 +584,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
592
584
  }, FeatureFlags>>];
593
585
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
594
586
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
595
- sharedState: {
596
- isMenuOpen: boolean;
597
- activeNode: {
598
- pos: number;
599
- anchorName: string;
600
- } | null;
601
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
602
- isDragging: boolean;
603
- } | undefined;
587
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
604
588
  commands: {
605
589
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
606
590
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1362,15 +1346,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1362
1346
  }, FeatureFlags>>];
1363
1347
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1364
1348
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1365
- sharedState: {
1366
- isMenuOpen: boolean;
1367
- activeNode: {
1368
- pos: number;
1369
- anchorName: string;
1370
- } | null;
1371
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1372
- isDragging: boolean;
1373
- } | undefined;
1349
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1374
1350
  commands: {
1375
1351
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1376
1352
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1930,15 +1906,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1930
1906
  }, FeatureFlags>>];
1931
1907
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1932
1908
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1933
- sharedState: {
1934
- isMenuOpen: boolean;
1935
- activeNode: {
1936
- pos: number;
1937
- anchorName: string;
1938
- } | null;
1939
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1940
- isDragging: boolean;
1941
- } | undefined;
1909
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1942
1910
  commands: {
1943
1911
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1944
1912
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -2724,15 +2692,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2724
2692
  }, FeatureFlags>>];
2725
2693
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2726
2694
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2727
- sharedState: {
2728
- isMenuOpen: boolean;
2729
- activeNode: {
2730
- pos: number;
2731
- anchorName: string;
2732
- } | null;
2733
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2734
- isDragging: boolean;
2735
- } | undefined;
2695
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2736
2696
  commands: {
2737
2697
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2738
2698
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3366,15 +3326,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3366
3326
  }, FeatureFlags>>];
3367
3327
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3368
3328
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3369
- sharedState: {
3370
- isMenuOpen: boolean;
3371
- activeNode: {
3372
- pos: number;
3373
- anchorName: string;
3374
- } | null;
3375
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3376
- isDragging: boolean;
3377
- } | undefined;
3329
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3378
3330
  commands: {
3379
3331
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3380
3332
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3656,15 +3608,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3656
3608
  }, FeatureFlags>>];
3657
3609
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3658
3610
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3659
- sharedState: {
3660
- isMenuOpen: boolean;
3661
- activeNode: {
3662
- pos: number;
3663
- anchorName: string;
3664
- } | null;
3665
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3666
- isDragging: boolean;
3667
- } | undefined;
3611
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3668
3612
  commands: {
3669
3613
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3670
3614
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4164,15 +4108,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4164
4108
  }, FeatureFlags>>];
4165
4109
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4166
4110
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4167
- sharedState: {
4168
- isMenuOpen: boolean;
4169
- activeNode: {
4170
- pos: number;
4171
- anchorName: string;
4172
- } | null;
4173
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4174
- isDragging: boolean;
4175
- } | undefined;
4111
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4176
4112
  commands: {
4177
4113
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4178
4114
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4698,15 +4634,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4698
4634
  }, FeatureFlags>>];
4699
4635
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4700
4636
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4701
- sharedState: {
4702
- isMenuOpen: boolean;
4703
- activeNode: {
4704
- pos: number;
4705
- anchorName: string;
4706
- } | null;
4707
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4708
- isDragging: boolean;
4709
- } | undefined;
4637
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4710
4638
  commands: {
4711
4639
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4712
4640
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4984,15 +4912,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4984
4912
  }, FeatureFlags>>];
4985
4913
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4986
4914
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4987
- sharedState: {
4988
- isMenuOpen: boolean;
4989
- activeNode: {
4990
- pos: number;
4991
- anchorName: string;
4992
- } | null;
4993
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4994
- isDragging: boolean;
4995
- } | undefined;
4915
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4996
4916
  commands: {
4997
4917
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4998
4918
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -292,15 +292,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
292
292
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
293
293
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
294
294
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
295
- sharedState: {
296
- isMenuOpen: boolean;
297
- activeNode: {
298
- pos: number;
299
- anchorName: string;
300
- } | null;
301
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
302
- isDragging: boolean;
303
- } | undefined;
295
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
304
296
  commands: {
305
297
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
306
298
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -578,15 +570,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
578
570
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
579
571
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
580
572
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
581
- sharedState: {
582
- isMenuOpen: boolean;
583
- activeNode: {
584
- pos: number;
585
- anchorName: string;
586
- } | null;
587
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
588
- isDragging: boolean;
589
- } | undefined;
573
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
590
574
  commands: {
591
575
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
592
576
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1348,15 +1332,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1348
1332
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1349
1333
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1350
1334
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1351
- sharedState: {
1352
- isMenuOpen: boolean;
1353
- activeNode: {
1354
- pos: number;
1355
- anchorName: string;
1356
- } | null;
1357
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1358
- isDragging: boolean;
1359
- } | undefined;
1335
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1360
1336
  commands: {
1361
1337
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1362
1338
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1916,15 +1892,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1916
1892
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1917
1893
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1918
1894
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1919
- sharedState: {
1920
- isMenuOpen: boolean;
1921
- activeNode: {
1922
- pos: number;
1923
- anchorName: string;
1924
- } | null;
1925
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1926
- isDragging: boolean;
1927
- } | undefined;
1895
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1928
1896
  commands: {
1929
1897
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1930
1898
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -2710,15 +2678,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2710
2678
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2711
2679
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2712
2680
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2713
- sharedState: {
2714
- isMenuOpen: boolean;
2715
- activeNode: {
2716
- pos: number;
2717
- anchorName: string;
2718
- } | null;
2719
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2720
- isDragging: boolean;
2721
- } | undefined;
2681
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2722
2682
  commands: {
2723
2683
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2724
2684
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3352,15 +3312,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3352
3312
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3353
3313
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3354
3314
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3355
- sharedState: {
3356
- isMenuOpen: boolean;
3357
- activeNode: {
3358
- pos: number;
3359
- anchorName: string;
3360
- } | null;
3361
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3362
- isDragging: boolean;
3363
- } | undefined;
3315
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3364
3316
  commands: {
3365
3317
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3366
3318
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3642,15 +3594,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3642
3594
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3643
3595
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3644
3596
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3645
- sharedState: {
3646
- isMenuOpen: boolean;
3647
- activeNode: {
3648
- pos: number;
3649
- anchorName: string;
3650
- } | null;
3651
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3652
- isDragging: boolean;
3653
- } | undefined;
3597
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3654
3598
  commands: {
3655
3599
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3656
3600
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4150,15 +4094,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4150
4094
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4151
4095
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4152
4096
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4153
- sharedState: {
4154
- isMenuOpen: boolean;
4155
- activeNode: {
4156
- pos: number;
4157
- anchorName: string;
4158
- } | null;
4159
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4160
- isDragging: boolean;
4161
- } | undefined;
4097
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4162
4098
  commands: {
4163
4099
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4164
4100
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4684,15 +4620,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4684
4620
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4685
4621
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4686
4622
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4687
- sharedState: {
4688
- isMenuOpen: boolean;
4689
- activeNode: {
4690
- pos: number;
4691
- anchorName: string;
4692
- } | null;
4693
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4694
- isDragging: boolean;
4695
- } | undefined;
4623
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4696
4624
  commands: {
4697
4625
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4698
4626
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4970,15 +4898,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4970
4898
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4971
4899
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4972
4900
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4973
- sharedState: {
4974
- isMenuOpen: boolean;
4975
- activeNode: {
4976
- pos: number;
4977
- anchorName: string;
4978
- } | null;
4979
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4980
- isDragging: boolean;
4981
- } | undefined;
4901
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4982
4902
  commands: {
4983
4903
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4984
4904
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -432,15 +432,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
432
432
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
433
433
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
434
434
  ];
435
- sharedState: {
436
- isMenuOpen: boolean;
437
- activeNode: {
438
- pos: number;
439
- anchorName: string;
440
- } | null;
441
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
442
- isDragging: boolean;
443
- } | undefined;
435
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
444
436
  commands: {
445
437
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
446
438
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -780,15 +772,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
780
772
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
781
773
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
782
774
  ];
783
- sharedState: {
784
- isMenuOpen: boolean;
785
- activeNode: {
786
- pos: number;
787
- anchorName: string;
788
- } | null;
789
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
790
- isDragging: boolean;
791
- } | undefined;
775
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
792
776
  commands: {
793
777
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
794
778
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1710,15 +1694,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1710
1694
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1711
1695
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1712
1696
  ];
1713
- sharedState: {
1714
- isMenuOpen: boolean;
1715
- activeNode: {
1716
- pos: number;
1717
- anchorName: string;
1718
- } | null;
1719
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1720
- isDragging: boolean;
1721
- } | undefined;
1697
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1722
1698
  commands: {
1723
1699
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1724
1700
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -2397,15 +2373,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2397
2373
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2398
2374
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2399
2375
  ];
2400
- sharedState: {
2401
- isMenuOpen: boolean;
2402
- activeNode: {
2403
- pos: number;
2404
- anchorName: string;
2405
- } | null;
2406
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2407
- isDragging: boolean;
2408
- } | undefined;
2376
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2409
2377
  commands: {
2410
2378
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2411
2379
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3351,15 +3319,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3351
3319
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3352
3320
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3353
3321
  ];
3354
- sharedState: {
3355
- isMenuOpen: boolean;
3356
- activeNode: {
3357
- pos: number;
3358
- anchorName: string;
3359
- } | null;
3360
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3361
- isDragging: boolean;
3362
- } | undefined;
3322
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3363
3323
  commands: {
3364
3324
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3365
3325
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4133,15 +4093,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4133
4093
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4134
4094
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4135
4095
  ];
4136
- sharedState: {
4137
- isMenuOpen: boolean;
4138
- activeNode: {
4139
- pos: number;
4140
- anchorName: string;
4141
- } | null;
4142
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4143
- isDragging: boolean;
4144
- } | undefined;
4096
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4145
4097
  commands: {
4146
4098
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4147
4099
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4487,15 +4439,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4487
4439
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4488
4440
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4489
4441
  ];
4490
- sharedState: {
4491
- isMenuOpen: boolean;
4492
- activeNode: {
4493
- pos: number;
4494
- anchorName: string;
4495
- } | null;
4496
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4497
- isDragging: boolean;
4498
- } | undefined;
4442
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4499
4443
  commands: {
4500
4444
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4501
4445
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -5098,15 +5042,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5098
5042
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5099
5043
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5100
5044
  ];
5101
- sharedState: {
5102
- isMenuOpen: boolean;
5103
- activeNode: {
5104
- pos: number;
5105
- anchorName: string;
5106
- } | null;
5107
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
5108
- isDragging: boolean;
5109
- } | undefined;
5045
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5110
5046
  commands: {
5111
5047
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
5112
5048
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -5740,15 +5676,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5740
5676
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5741
5677
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5742
5678
  ];
5743
- sharedState: {
5744
- isMenuOpen: boolean;
5745
- activeNode: {
5746
- pos: number;
5747
- anchorName: string;
5748
- } | null;
5749
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
5750
- isDragging: boolean;
5751
- } | undefined;
5679
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5752
5680
  commands: {
5753
5681
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
5754
5682
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -6088,15 +6016,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
6088
6016
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6089
6017
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
6090
6018
  ];
6091
- sharedState: {
6092
- isMenuOpen: boolean;
6093
- activeNode: {
6094
- pos: number;
6095
- anchorName: string;
6096
- } | null;
6097
- decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
6098
- isDragging: boolean;
6099
- } | undefined;
6019
+ sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6100
6020
  commands: {
6101
6021
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
6102
6022
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;