@atlaskit/editor-core 197.8.2 → 197.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,25 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 197.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#141244](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/141244)
8
+ [`972ec7421443c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/972ec7421443c) -
9
+ [ED-24939] Add dependency, @atlaskit/editor-plugin-quick-insert, to fix tsconfig issue
10
+ - [#141244](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/141244)
11
+ [`df87e6ab23533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/df87e6ab23533) -
12
+ Remove references to webdriver tooling in editor packages
13
+ - Updated dependencies
14
+
15
+ ## 197.8.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [#142267](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/142267)
20
+ [`9ed8707898875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9ed8707898875) -
21
+ [ux] ED-24996 Delay appearance of line prompt quickinsert button
22
+
3
23
  ## 197.8.2
4
24
 
5
25
  ### Patch Changes
@@ -37,6 +37,9 @@
37
37
  {
38
38
  "path": "../../editor-json-transformer/afm-cc/tsconfig.json"
39
39
  },
40
+ {
41
+ "path": "../../editor-plugin-quick-insert/afm-cc/tsconfig.json"
42
+ },
40
43
  {
41
44
  "path": "../../editor-plugins/afm-cc/tsconfig.json"
42
45
  },
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "197.8.2";
8
+ var version = exports.version = "197.8.4";
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "197.8.2";
2
+ export const version = "197.8.4";
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "197.8.2";
2
+ export var version = "197.8.4";
@@ -285,6 +285,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
285
285
  };
286
286
  commands: {
287
287
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
288
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
288
289
  };
289
290
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
290
291
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -629,6 +630,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
629
630
  };
630
631
  commands: {
631
632
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
633
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
632
634
  };
633
635
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
634
636
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -1614,6 +1616,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1614
1616
  };
1615
1617
  commands: {
1616
1618
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1619
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1617
1620
  };
1618
1621
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1619
1622
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2341,6 +2344,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2341
2344
  };
2342
2345
  commands: {
2343
2346
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2347
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2344
2348
  };
2345
2349
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2346
2350
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2617,6 +2621,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2617
2621
  };
2618
2622
  commands: {
2619
2623
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2624
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2620
2625
  };
2621
2626
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2622
2627
  pluginConfiguration: boolean;
@@ -3204,6 +3209,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3204
3209
  };
3205
3210
  commands: {
3206
3211
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3212
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3207
3213
  };
3208
3214
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3209
3215
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -3642,6 +3648,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3642
3648
  };
3643
3649
  commands: {
3644
3650
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3651
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3645
3652
  };
3646
3653
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3647
3654
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4380,6 +4387,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4380
4387
  };
4381
4388
  commands: {
4382
4389
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4390
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4383
4391
  };
4384
4392
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4385
4393
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4726,6 +4734,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4726
4734
  };
4727
4735
  commands: {
4728
4736
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4737
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4729
4738
  };
4730
4739
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4731
4740
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5033,6 +5042,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5033
5042
  };
5034
5043
  commands: {
5035
5044
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5045
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5036
5046
  };
5037
5047
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5038
5048
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -5309,6 +5319,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5309
5319
  };
5310
5320
  commands: {
5311
5321
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5322
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5312
5323
  };
5313
5324
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5314
5325
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5880,6 +5891,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5880
5891
  };
5881
5892
  commands: {
5882
5893
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5894
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5883
5895
  };
5884
5896
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5885
5897
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -6224,6 +6236,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6224
6236
  };
6225
6237
  commands: {
6226
6238
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6239
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6227
6240
  };
6228
6241
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6229
6242
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -261,6 +261,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
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
  }, QuickInsertPluginOptions | undefined>>];
266
267
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -607,6 +608,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
607
608
  };
608
609
  commands: {
609
610
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
611
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
610
612
  };
611
613
  }, QuickInsertPluginOptions | undefined>>];
612
614
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -914,6 +916,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
914
916
  };
915
917
  commands: {
916
918
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
919
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
917
920
  };
918
921
  }, QuickInsertPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
919
922
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -1190,6 +1193,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1190
1193
  };
1191
1194
  commands: {
1192
1195
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1196
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1193
1197
  };
1194
1198
  }, QuickInsertPluginOptions | undefined>>];
1195
1199
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -1761,6 +1765,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1761
1765
  };
1762
1766
  commands: {
1763
1767
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1768
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1764
1769
  };
1765
1770
  }, QuickInsertPluginOptions | undefined>>];
1766
1771
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2105,6 +2110,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2105
2110
  };
2106
2111
  commands: {
2107
2112
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2113
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2108
2114
  };
2109
2115
  }, QuickInsertPluginOptions | undefined>>];
2110
2116
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2751,6 +2757,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2751
2757
  };
2752
2758
  commands: {
2753
2759
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2760
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2754
2761
  };
2755
2762
  }, QuickInsertPluginOptions | undefined>>];
2756
2763
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -3097,6 +3104,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3097
3104
  };
3098
3105
  commands: {
3099
3106
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3107
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3100
3108
  };
3101
3109
  }, QuickInsertPluginOptions | undefined>>];
3102
3110
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -3404,6 +3412,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3404
3412
  };
3405
3413
  commands: {
3406
3414
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3415
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3407
3416
  };
3408
3417
  }, QuickInsertPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3409
3418
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -3680,6 +3689,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3680
3689
  };
3681
3690
  commands: {
3682
3691
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3692
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3683
3693
  };
3684
3694
  }, QuickInsertPluginOptions | undefined>>];
3685
3695
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4251,6 +4261,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4251
4261
  };
4252
4262
  commands: {
4253
4263
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4264
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4254
4265
  };
4255
4266
  }, QuickInsertPluginOptions | undefined>>];
4256
4267
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4595,6 +4606,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4595
4606
  };
4596
4607
  commands: {
4597
4608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4609
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4598
4610
  };
4599
4611
  }, QuickInsertPluginOptions | undefined>>];
4600
4612
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -336,6 +336,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
336
336
  };
337
337
  commands: {
338
338
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
339
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
339
340
  };
340
341
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
341
342
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -680,6 +681,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
680
681
  };
681
682
  commands: {
682
683
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
684
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
683
685
  };
684
686
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
685
687
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -1665,6 +1667,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1665
1667
  };
1666
1668
  commands: {
1667
1669
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1670
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1668
1671
  };
1669
1672
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1670
1673
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2392,6 +2395,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2392
2395
  };
2393
2396
  commands: {
2394
2397
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2398
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2395
2399
  };
2396
2400
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2397
2401
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2668,6 +2672,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2668
2672
  };
2669
2673
  commands: {
2670
2674
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2675
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2671
2676
  };
2672
2677
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2673
2678
  pluginConfiguration: boolean;
@@ -3255,6 +3260,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3255
3260
  };
3256
3261
  commands: {
3257
3262
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3263
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3258
3264
  };
3259
3265
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3260
3266
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -3693,6 +3699,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3693
3699
  };
3694
3700
  commands: {
3695
3701
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3702
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3696
3703
  };
3697
3704
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3698
3705
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4431,6 +4438,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4431
4438
  };
4432
4439
  commands: {
4433
4440
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4441
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4434
4442
  };
4435
4443
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4436
4444
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4777,6 +4785,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4777
4785
  };
4778
4786
  commands: {
4779
4787
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4788
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4780
4789
  };
4781
4790
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4782
4791
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5084,6 +5093,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5084
5093
  };
5085
5094
  commands: {
5086
5095
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5096
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5087
5097
  };
5088
5098
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5089
5099
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -5360,6 +5370,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5360
5370
  };
5361
5371
  commands: {
5362
5372
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5373
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5363
5374
  };
5364
5375
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5365
5376
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5931,6 +5942,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5931
5942
  };
5932
5943
  commands: {
5933
5944
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5945
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5934
5946
  };
5935
5947
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5936
5948
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -6275,6 +6287,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6275
6287
  };
6276
6288
  commands: {
6277
6289
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6290
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6278
6291
  };
6279
6292
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6280
6293
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -285,6 +285,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
285
285
  };
286
286
  commands: {
287
287
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
288
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
288
289
  };
289
290
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
290
291
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -629,6 +630,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
629
630
  };
630
631
  commands: {
631
632
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
633
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
632
634
  };
633
635
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
634
636
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -1614,6 +1616,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1614
1616
  };
1615
1617
  commands: {
1616
1618
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1619
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1617
1620
  };
1618
1621
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1619
1622
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2341,6 +2344,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2341
2344
  };
2342
2345
  commands: {
2343
2346
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2347
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2344
2348
  };
2345
2349
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2346
2350
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -2617,6 +2621,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2617
2621
  };
2618
2622
  commands: {
2619
2623
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2624
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2620
2625
  };
2621
2626
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2622
2627
  pluginConfiguration: boolean;
@@ -3204,6 +3209,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3204
3209
  };
3205
3210
  commands: {
3206
3211
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3212
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3207
3213
  };
3208
3214
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3209
3215
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -3642,6 +3648,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3642
3648
  };
3643
3649
  commands: {
3644
3650
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3651
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3645
3652
  };
3646
3653
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3647
3654
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4380,6 +4387,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4380
4387
  };
4381
4388
  commands: {
4382
4389
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4390
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4383
4391
  };
4384
4392
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4385
4393
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -4726,6 +4734,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4726
4734
  };
4727
4735
  commands: {
4728
4736
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4737
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4729
4738
  };
4730
4739
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4731
4740
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5033,6 +5042,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5033
5042
  };
5034
5043
  commands: {
5035
5044
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5045
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5036
5046
  };
5037
5047
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5038
5048
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -5309,6 +5319,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5309
5319
  };
5310
5320
  commands: {
5311
5321
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5322
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5312
5323
  };
5313
5324
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5314
5325
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -5880,6 +5891,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5880
5891
  };
5881
5892
  commands: {
5882
5893
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5894
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5883
5895
  };
5884
5896
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5885
5897
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -6224,6 +6236,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6224
6236
  };
6225
6237
  commands: {
6226
6238
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6239
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6227
6240
  };
6228
6241
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6229
6242
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is a temporary hack to allow the editor to have references to the QuickInsertPlugin type.
3
+ *
4
+ * There is bug in tsconfig references generation, where it only adds references to the immediate dependencies of the project.
5
+ * and not transitive dependencies. Typescript doesnt look into transitive dependencies tp update cached declarations of a package.
6
+ *
7
+ * Typecheck team is working on a fix for this issue.
8
+ **/
9
+ import { type QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
10
+ export type tmpQuickInsertPlugin = QuickInsertPlugin;
@@ -427,6 +427,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
427
427
  };
428
428
  commands: {
429
429
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
430
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
430
431
  };
431
432
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
432
433
  ];
@@ -843,6 +844,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
843
844
  };
844
845
  commands: {
845
846
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
847
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
846
848
  };
847
849
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
848
850
  ];
@@ -2026,6 +2028,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2026
2028
  };
2027
2029
  commands: {
2028
2030
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2031
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2029
2032
  };
2030
2033
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2031
2034
  ];
@@ -2900,6 +2903,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2900
2903
  };
2901
2904
  commands: {
2902
2905
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2906
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2903
2907
  };
2904
2908
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2905
2909
  ];
@@ -3227,6 +3231,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3227
3231
  };
3228
3232
  commands: {
3229
3233
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3234
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3230
3235
  };
3231
3236
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3232
3237
  ];
@@ -3940,6 +3945,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3940
3945
  };
3941
3946
  commands: {
3942
3947
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3948
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3943
3949
  };
3944
3950
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3945
3951
  ];
@@ -4470,6 +4476,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4470
4476
  };
4471
4477
  commands: {
4472
4478
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4479
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4473
4480
  };
4474
4481
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
4475
4482
  ];
@@ -5370,6 +5377,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5370
5377
  };
5371
5378
  commands: {
5372
5379
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5380
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5373
5381
  };
5374
5382
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5375
5383
  ];
@@ -5789,6 +5797,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5789
5797
  };
5790
5798
  commands: {
5791
5799
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5800
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5792
5801
  };
5793
5802
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5794
5803
  ];
@@ -6154,6 +6163,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6154
6163
  };
6155
6164
  commands: {
6156
6165
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6166
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6157
6167
  };
6158
6168
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>,
6159
6169
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -6491,6 +6501,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6491
6501
  };
6492
6502
  commands: {
6493
6503
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6504
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6494
6505
  };
6495
6506
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
6496
6507
  ];
@@ -7178,6 +7189,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7178
7189
  };
7179
7190
  commands: {
7180
7191
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7192
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7181
7193
  };
7182
7194
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7183
7195
  ];
@@ -7594,6 +7606,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7594
7606
  };
7595
7607
  commands: {
7596
7608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7609
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7597
7610
  };
7598
7611
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7599
7612
  ];
@@ -339,6 +339,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
339
339
  };
340
340
  commands: {
341
341
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
342
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
342
343
  };
343
344
  }, QuickInsertPluginOptions | undefined>>
344
345
  ];
@@ -758,6 +759,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
758
759
  };
759
760
  commands: {
760
761
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
762
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
761
763
  };
762
764
  }, QuickInsertPluginOptions | undefined>>
763
765
  ];
@@ -1123,6 +1125,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1123
1125
  };
1124
1126
  commands: {
1125
1127
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1128
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1126
1129
  };
1127
1130
  }, QuickInsertPluginOptions | undefined>,
1128
1131
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -1460,6 +1463,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1460
1463
  };
1461
1464
  commands: {
1462
1465
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
1466
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
1463
1467
  };
1464
1468
  }, QuickInsertPluginOptions | undefined>>
1465
1469
  ];
@@ -2147,6 +2151,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2147
2151
  };
2148
2152
  commands: {
2149
2153
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2154
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2150
2155
  };
2151
2156
  }, QuickInsertPluginOptions | undefined>>
2152
2157
  ];
@@ -2563,6 +2568,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2563
2568
  };
2564
2569
  commands: {
2565
2570
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2571
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2566
2572
  };
2567
2573
  }, QuickInsertPluginOptions | undefined>>
2568
2574
  ];
@@ -3371,6 +3377,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3371
3377
  };
3372
3378
  commands: {
3373
3379
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3380
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3374
3381
  };
3375
3382
  }, QuickInsertPluginOptions | undefined>>
3376
3383
  ];
@@ -3790,6 +3797,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3790
3797
  };
3791
3798
  commands: {
3792
3799
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3800
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3793
3801
  };
3794
3802
  }, QuickInsertPluginOptions | undefined>>
3795
3803
  ];
@@ -4155,6 +4163,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4155
4163
  };
4156
4164
  commands: {
4157
4165
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4166
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4158
4167
  };
4159
4168
  }, QuickInsertPluginOptions | undefined>,
4160
4169
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -4492,6 +4501,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4492
4501
  };
4493
4502
  commands: {
4494
4503
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4504
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4495
4505
  };
4496
4506
  }, QuickInsertPluginOptions | undefined>>
4497
4507
  ];
@@ -5179,6 +5189,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5179
5189
  };
5180
5190
  commands: {
5181
5191
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5192
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5182
5193
  };
5183
5194
  }, QuickInsertPluginOptions | undefined>>
5184
5195
  ];
@@ -5595,6 +5606,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5595
5606
  };
5596
5607
  commands: {
5597
5608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5609
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5598
5610
  };
5599
5611
  }, QuickInsertPluginOptions | undefined>>
5600
5612
  ];
@@ -478,6 +478,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
478
478
  };
479
479
  commands: {
480
480
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
481
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
481
482
  };
482
483
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
483
484
  ];
@@ -894,6 +895,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
894
895
  };
895
896
  commands: {
896
897
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
898
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
897
899
  };
898
900
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
899
901
  ];
@@ -2077,6 +2079,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2077
2079
  };
2078
2080
  commands: {
2079
2081
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2082
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2080
2083
  };
2081
2084
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2082
2085
  ];
@@ -2951,6 +2954,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2951
2954
  };
2952
2955
  commands: {
2953
2956
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2957
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2954
2958
  };
2955
2959
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2956
2960
  ];
@@ -3278,6 +3282,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3278
3282
  };
3279
3283
  commands: {
3280
3284
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3285
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3281
3286
  };
3282
3287
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3283
3288
  ];
@@ -3991,6 +3996,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3991
3996
  };
3992
3997
  commands: {
3993
3998
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3999
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3994
4000
  };
3995
4001
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3996
4002
  ];
@@ -4521,6 +4527,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4521
4527
  };
4522
4528
  commands: {
4523
4529
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4530
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4524
4531
  };
4525
4532
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
4526
4533
  ];
@@ -5421,6 +5428,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5421
5428
  };
5422
5429
  commands: {
5423
5430
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5431
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5424
5432
  };
5425
5433
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5426
5434
  ];
@@ -5840,6 +5848,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5840
5848
  };
5841
5849
  commands: {
5842
5850
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5851
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5843
5852
  };
5844
5853
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5845
5854
  ];
@@ -6205,6 +6214,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6205
6214
  };
6206
6215
  commands: {
6207
6216
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6217
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6208
6218
  };
6209
6219
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>,
6210
6220
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -6542,6 +6552,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6542
6552
  };
6543
6553
  commands: {
6544
6554
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6555
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6545
6556
  };
6546
6557
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
6547
6558
  ];
@@ -7229,6 +7240,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7229
7240
  };
7230
7241
  commands: {
7231
7242
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7243
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7232
7244
  };
7233
7245
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7234
7246
  ];
@@ -7645,6 +7657,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7645
7657
  };
7646
7658
  commands: {
7647
7659
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7660
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7648
7661
  };
7649
7662
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7650
7663
  ];
@@ -427,6 +427,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
427
427
  };
428
428
  commands: {
429
429
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
430
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
430
431
  };
431
432
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
432
433
  ];
@@ -843,6 +844,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
843
844
  };
844
845
  commands: {
845
846
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
847
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
846
848
  };
847
849
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
848
850
  ];
@@ -2026,6 +2028,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2026
2028
  };
2027
2029
  commands: {
2028
2030
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2031
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2029
2032
  };
2030
2033
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2031
2034
  ];
@@ -2900,6 +2903,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2900
2903
  };
2901
2904
  commands: {
2902
2905
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
2906
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
2903
2907
  };
2904
2908
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
2905
2909
  ];
@@ -3227,6 +3231,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3227
3231
  };
3228
3232
  commands: {
3229
3233
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3234
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3230
3235
  };
3231
3236
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3232
3237
  ];
@@ -3940,6 +3945,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3940
3945
  };
3941
3946
  commands: {
3942
3947
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
3948
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
3943
3949
  };
3944
3950
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
3945
3951
  ];
@@ -4470,6 +4476,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4470
4476
  };
4471
4477
  commands: {
4472
4478
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
4479
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
4473
4480
  };
4474
4481
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
4475
4482
  ];
@@ -5370,6 +5377,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5370
5377
  };
5371
5378
  commands: {
5372
5379
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5380
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5373
5381
  };
5374
5382
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5375
5383
  ];
@@ -5789,6 +5797,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5789
5797
  };
5790
5798
  commands: {
5791
5799
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
5800
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
5792
5801
  };
5793
5802
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
5794
5803
  ];
@@ -6154,6 +6163,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6154
6163
  };
6155
6164
  commands: {
6156
6165
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6166
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6157
6167
  };
6158
6168
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>,
6159
6169
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -6491,6 +6501,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6491
6501
  };
6492
6502
  commands: {
6493
6503
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
6504
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
6494
6505
  };
6495
6506
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
6496
6507
  ];
@@ -7178,6 +7189,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7178
7189
  };
7179
7190
  commands: {
7180
7191
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7192
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7181
7193
  };
7182
7194
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7183
7195
  ];
@@ -7594,6 +7606,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7594
7606
  };
7595
7607
  commands: {
7596
7608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
7609
+ addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
7597
7610
  };
7598
7611
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>
7599
7612
  ];
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is a temporary hack to allow the editor to have references to the QuickInsertPlugin type.
3
+ *
4
+ * There is bug in tsconfig references generation, where it only adds references to the immediate dependencies of the project.
5
+ * and not transitive dependencies. Typescript doesnt look into transitive dependencies tp update cached declarations of a package.
6
+ *
7
+ * Typecheck team is working on a fix for this issue.
8
+ **/
9
+ import { type QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
10
+ export type tmpQuickInsertPlugin = QuickInsertPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "197.8.2",
3
+ "version": "197.8.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,6 +45,7 @@
45
45
  "@atlaskit/button": "^20.1.0",
46
46
  "@atlaskit/editor-common": "^89.3.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.18.0",
48
+ "@atlaskit/editor-plugin-quick-insert": "1.4.0",
48
49
  "@atlaskit/editor-plugins": "^5.3.0",
49
50
  "@atlaskit/editor-prosemirror": "6.0.0",
50
51
  "@atlaskit/editor-shared-styles": "^2.13.0",
@@ -105,7 +106,7 @@
105
106
  "@atlaskit/visual-regression": "*",
106
107
  "@atlassian/adf-schema-json": "^1.22.0",
107
108
  "@atlassian/feature-flags-test-utils": "*",
108
- "@atlassian/search-provider": "2.4.134",
109
+ "@atlassian/search-provider": "2.4.135",
109
110
  "@emotion/jest": "^11.8.0",
110
111
  "@storybook/addon-knobs": "^5.3.18",
111
112
  "@testing-library/react": "^12.1.5",
@@ -277,6 +278,10 @@
277
278
  "platform_editor_action_decisions_ssr_fix": {
278
279
  "type": "boolean",
279
280
  "referenceOnly": true
281
+ },
282
+ "platform_editor_empty_line_prompt_delay": {
283
+ "type": "boolean",
284
+ "referenceOnly": true
280
285
  }
281
286
  },
282
287
  "stricter": {