@atlaskit/editor-core 195.6.2 → 195.8.0
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 +25 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/cjs/ui/ContextPanel/deprecated.js +283 -0
- package/dist/cjs/ui/ContextPanel/index.js +26 -133
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +6 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/es2019/ui/ContextPanel/deprecated.js +258 -0
- package/dist/es2019/ui/ContextPanel/index.js +24 -133
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/esm/ui/ContextPanel/deprecated.js +277 -0
- package/dist/esm/ui/ContextPanel/index.js +24 -132
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/presets/default.d.ts +68 -0
- package/dist/types/presets/universal.d.ts +83 -1
- package/dist/types/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -1
- package/dist/types/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types/ui/ContextPanel/index.d.ts +5 -9
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types-ts4.5/index.d.ts +6 -1
- package/dist/types-ts4.5/presets/default.d.ts +68 -0
- package/dist/types-ts4.5/presets/universal.d.ts +83 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +5 -1
- package/dist/types-ts4.5/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +7 -9
- package/package.json +7 -12
|
@@ -225,6 +225,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
225
225
|
actions: {
|
|
226
226
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
227
227
|
};
|
|
228
|
+
sharedState: {
|
|
229
|
+
contents: import("react").ReactNode[] | undefined;
|
|
230
|
+
} | undefined;
|
|
228
231
|
}, undefined>>,
|
|
229
232
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
230
233
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -262,6 +265,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
262
265
|
actions: {
|
|
263
266
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
264
267
|
};
|
|
268
|
+
sharedState: {
|
|
269
|
+
contents: import("react").ReactNode[] | undefined;
|
|
270
|
+
} | undefined;
|
|
265
271
|
}, undefined>>,
|
|
266
272
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
267
273
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -491,6 +497,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
491
497
|
actions: {
|
|
492
498
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
493
499
|
};
|
|
500
|
+
sharedState: {
|
|
501
|
+
contents: import("react").ReactNode[] | undefined;
|
|
502
|
+
} | undefined;
|
|
494
503
|
}, undefined>>,
|
|
495
504
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
496
505
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -528,6 +537,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
528
537
|
actions: {
|
|
529
538
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
530
539
|
};
|
|
540
|
+
sharedState: {
|
|
541
|
+
contents: import("react").ReactNode[] | undefined;
|
|
542
|
+
} | undefined;
|
|
531
543
|
}, undefined>>,
|
|
532
544
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
533
545
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -810,6 +822,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
810
822
|
actions: {
|
|
811
823
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
812
824
|
};
|
|
825
|
+
sharedState: {
|
|
826
|
+
contents: import("react").ReactNode[] | undefined;
|
|
827
|
+
} | undefined;
|
|
813
828
|
}, undefined>>,
|
|
814
829
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
815
830
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1017,6 +1032,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1017
1032
|
actions: {
|
|
1018
1033
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1019
1034
|
announceMentionsInsertion: (mentionIds: {
|
|
1035
|
+
type: "added" | "deleted";
|
|
1020
1036
|
localId: string;
|
|
1021
1037
|
id: string;
|
|
1022
1038
|
}[]) => void;
|
|
@@ -1513,6 +1529,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1513
1529
|
actions: {
|
|
1514
1530
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1515
1531
|
};
|
|
1532
|
+
sharedState: {
|
|
1533
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1534
|
+
} | undefined;
|
|
1516
1535
|
}, undefined>>,
|
|
1517
1536
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1518
1537
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -1550,6 +1569,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1550
1569
|
actions: {
|
|
1551
1570
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1552
1571
|
};
|
|
1572
|
+
sharedState: {
|
|
1573
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1574
|
+
} | undefined;
|
|
1553
1575
|
}, undefined>>,
|
|
1554
1576
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1555
1577
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1949,6 +1971,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1949
1971
|
actions: {
|
|
1950
1972
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1951
1973
|
};
|
|
1974
|
+
sharedState: {
|
|
1975
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1976
|
+
} | undefined;
|
|
1952
1977
|
}, undefined>>,
|
|
1953
1978
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1954
1979
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1975,6 +2000,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1975
2000
|
actions: {
|
|
1976
2001
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1977
2002
|
};
|
|
2003
|
+
sharedState: {
|
|
2004
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2005
|
+
} | undefined;
|
|
1978
2006
|
}, undefined> | undefined,
|
|
1979
2007
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
1980
2008
|
pluginConfiguration: import("@atlaskit/editor-plugin-panel").PanelPluginOptions | undefined;
|
|
@@ -2152,6 +2180,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2152
2180
|
actions: {
|
|
2153
2181
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2154
2182
|
};
|
|
2183
|
+
sharedState: {
|
|
2184
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2185
|
+
} | undefined;
|
|
2155
2186
|
}, undefined>>,
|
|
2156
2187
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2157
2188
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -2189,6 +2220,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2189
2220
|
actions: {
|
|
2190
2221
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2191
2222
|
};
|
|
2223
|
+
sharedState: {
|
|
2224
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2225
|
+
} | undefined;
|
|
2192
2226
|
}, undefined>>,
|
|
2193
2227
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2194
2228
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -2900,6 +2934,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2900
2934
|
actions: {
|
|
2901
2935
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2902
2936
|
announceMentionsInsertion: (mentionIds: {
|
|
2937
|
+
type: "added" | "deleted";
|
|
2903
2938
|
localId: string;
|
|
2904
2939
|
id: string;
|
|
2905
2940
|
}[]) => void;
|
|
@@ -3032,6 +3067,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3032
3067
|
actions: {
|
|
3033
3068
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3034
3069
|
};
|
|
3070
|
+
sharedState: {
|
|
3071
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3072
|
+
} | undefined;
|
|
3035
3073
|
}, undefined>>,
|
|
3036
3074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3037
3075
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3069,6 +3107,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3069
3107
|
actions: {
|
|
3070
3108
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3071
3109
|
};
|
|
3110
|
+
sharedState: {
|
|
3111
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3112
|
+
} | undefined;
|
|
3072
3113
|
}, undefined>>,
|
|
3073
3114
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3074
3115
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -3406,6 +3447,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3406
3447
|
actions: {
|
|
3407
3448
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3408
3449
|
};
|
|
3450
|
+
sharedState: {
|
|
3451
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3452
|
+
} | undefined;
|
|
3409
3453
|
}, undefined>>,
|
|
3410
3454
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3411
3455
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3443,6 +3487,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3443
3487
|
actions: {
|
|
3444
3488
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3445
3489
|
};
|
|
3490
|
+
sharedState: {
|
|
3491
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3492
|
+
} | undefined;
|
|
3446
3493
|
}, undefined>>,
|
|
3447
3494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3448
3495
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4147,6 +4194,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4147
4194
|
actions: {
|
|
4148
4195
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4149
4196
|
};
|
|
4197
|
+
sharedState: {
|
|
4198
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4199
|
+
} | undefined;
|
|
4150
4200
|
}, undefined>>,
|
|
4151
4201
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4152
4202
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -4184,6 +4234,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4184
4234
|
actions: {
|
|
4185
4235
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4186
4236
|
};
|
|
4237
|
+
sharedState: {
|
|
4238
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4239
|
+
} | undefined;
|
|
4187
4240
|
}, undefined>>,
|
|
4188
4241
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4189
4242
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4416,6 +4469,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4416
4469
|
actions: {
|
|
4417
4470
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4418
4471
|
};
|
|
4472
|
+
sharedState: {
|
|
4473
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4474
|
+
} | undefined;
|
|
4419
4475
|
}, undefined>>,
|
|
4420
4476
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4421
4477
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -4453,6 +4509,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4453
4509
|
actions: {
|
|
4454
4510
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4455
4511
|
};
|
|
4512
|
+
sharedState: {
|
|
4513
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4514
|
+
} | undefined;
|
|
4456
4515
|
}, undefined>>,
|
|
4457
4516
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4458
4517
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4968,6 +5027,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4968
5027
|
actions: {
|
|
4969
5028
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4970
5029
|
};
|
|
5030
|
+
sharedState: {
|
|
5031
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5032
|
+
} | undefined;
|
|
4971
5033
|
}, undefined>>,
|
|
4972
5034
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4973
5035
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5005,6 +5067,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5005
5067
|
actions: {
|
|
5006
5068
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5007
5069
|
};
|
|
5070
|
+
sharedState: {
|
|
5071
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5072
|
+
} | undefined;
|
|
5008
5073
|
}, undefined>>,
|
|
5009
5074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5010
5075
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5507,6 +5572,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5507
5572
|
actions: {
|
|
5508
5573
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5509
5574
|
};
|
|
5575
|
+
sharedState: {
|
|
5576
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5577
|
+
} | undefined;
|
|
5510
5578
|
}, undefined>>,
|
|
5511
5579
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5512
5580
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5544,6 +5612,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5544
5612
|
actions: {
|
|
5545
5613
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5546
5614
|
};
|
|
5615
|
+
sharedState: {
|
|
5616
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5617
|
+
} | undefined;
|
|
5547
5618
|
}, undefined>>,
|
|
5548
5619
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5549
5620
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5773,6 +5844,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5773
5844
|
actions: {
|
|
5774
5845
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5775
5846
|
};
|
|
5847
|
+
sharedState: {
|
|
5848
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5849
|
+
} | undefined;
|
|
5776
5850
|
}, undefined>>,
|
|
5777
5851
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5778
5852
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5810,6 +5884,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5810
5884
|
actions: {
|
|
5811
5885
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5812
5886
|
};
|
|
5887
|
+
sharedState: {
|
|
5888
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5889
|
+
} | undefined;
|
|
5813
5890
|
}, undefined>>,
|
|
5814
5891
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5815
5892
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6092,6 +6169,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6092
6169
|
actions: {
|
|
6093
6170
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
6094
6171
|
};
|
|
6172
|
+
sharedState: {
|
|
6173
|
+
contents: import("react").ReactNode[] | undefined;
|
|
6174
|
+
} | undefined;
|
|
6095
6175
|
}, undefined>>,
|
|
6096
6176
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
6097
6177
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6299,6 +6379,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6299
6379
|
actions: {
|
|
6300
6380
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
6301
6381
|
announceMentionsInsertion: (mentionIds: {
|
|
6382
|
+
type: "added" | "deleted";
|
|
6302
6383
|
localId: string;
|
|
6303
6384
|
id: string;
|
|
6304
6385
|
}[]) => void;
|
|
@@ -6,7 +6,12 @@ export { default as WithHelpTrigger } from './ui/WithHelpTrigger';
|
|
|
6
6
|
export { default as CollapsedEditor } from './ui/CollapsedEditor';
|
|
7
7
|
export { default as ToolbarHelp } from './ui/ToolbarHelp';
|
|
8
8
|
export { default as ToolbarFeedback } from './ui/ToolbarFeedback';
|
|
9
|
-
export {
|
|
9
|
+
export {
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated
|
|
12
|
+
* DO NOT USE THIS WILL BE REMOVED SOON. This was intended for internal usage only
|
|
13
|
+
*/
|
|
14
|
+
default as ContextPanel, } from './ui/ContextPanel/deprecated';
|
|
10
15
|
export { EmojiResource } from '@atlaskit/emoji/resource';
|
|
11
16
|
export { MentionResource } from '@atlaskit/mention/resource';
|
|
12
17
|
export type { MentionProvider, PresenceProvider } from '@atlaskit/mention/resource';
|
|
@@ -134,6 +134,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
134
134
|
actions: {
|
|
135
135
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
136
136
|
};
|
|
137
|
+
sharedState: {
|
|
138
|
+
contents: import("react").ReactNode[] | undefined;
|
|
139
|
+
} | undefined;
|
|
137
140
|
}, undefined>>,
|
|
138
141
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
139
142
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -171,6 +174,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
171
174
|
actions: {
|
|
172
175
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
173
176
|
};
|
|
177
|
+
sharedState: {
|
|
178
|
+
contents: import("react").ReactNode[] | undefined;
|
|
179
|
+
} | undefined;
|
|
174
180
|
}, undefined>>,
|
|
175
181
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
176
182
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -403,6 +409,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
403
409
|
actions: {
|
|
404
410
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
405
411
|
};
|
|
412
|
+
sharedState: {
|
|
413
|
+
contents: import("react").ReactNode[] | undefined;
|
|
414
|
+
} | undefined;
|
|
406
415
|
}, undefined>>,
|
|
407
416
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
408
417
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -440,6 +449,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
440
449
|
actions: {
|
|
441
450
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
442
451
|
};
|
|
452
|
+
sharedState: {
|
|
453
|
+
contents: import("react").ReactNode[] | undefined;
|
|
454
|
+
} | undefined;
|
|
443
455
|
}, undefined>>,
|
|
444
456
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
445
457
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -955,6 +967,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
955
967
|
actions: {
|
|
956
968
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
957
969
|
};
|
|
970
|
+
sharedState: {
|
|
971
|
+
contents: import("react").ReactNode[] | undefined;
|
|
972
|
+
} | undefined;
|
|
958
973
|
}, undefined>>,
|
|
959
974
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
960
975
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -992,6 +1007,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
992
1007
|
actions: {
|
|
993
1008
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
994
1009
|
};
|
|
1010
|
+
sharedState: {
|
|
1011
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1012
|
+
} | undefined;
|
|
995
1013
|
}, undefined>>,
|
|
996
1014
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
997
1015
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -1494,6 +1512,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1494
1512
|
actions: {
|
|
1495
1513
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1496
1514
|
};
|
|
1515
|
+
sharedState: {
|
|
1516
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1517
|
+
} | undefined;
|
|
1497
1518
|
}, undefined>>,
|
|
1498
1519
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1499
1520
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -1531,6 +1552,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1531
1552
|
actions: {
|
|
1532
1553
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1533
1554
|
};
|
|
1555
|
+
sharedState: {
|
|
1556
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1557
|
+
} | undefined;
|
|
1534
1558
|
}, undefined>>,
|
|
1535
1559
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1536
1560
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -1760,6 +1784,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1760
1784
|
actions: {
|
|
1761
1785
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1762
1786
|
};
|
|
1787
|
+
sharedState: {
|
|
1788
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1789
|
+
} | undefined;
|
|
1763
1790
|
}, undefined>>,
|
|
1764
1791
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1765
1792
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -1797,6 +1824,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1797
1824
|
actions: {
|
|
1798
1825
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1799
1826
|
};
|
|
1827
|
+
sharedState: {
|
|
1828
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1829
|
+
} | undefined;
|
|
1800
1830
|
}, undefined>>,
|
|
1801
1831
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1802
1832
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -2079,6 +2109,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2079
2109
|
actions: {
|
|
2080
2110
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2081
2111
|
};
|
|
2112
|
+
sharedState: {
|
|
2113
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2114
|
+
} | undefined;
|
|
2082
2115
|
}, undefined>>,
|
|
2083
2116
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2084
2117
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -2286,6 +2319,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2286
2319
|
actions: {
|
|
2287
2320
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2288
2321
|
announceMentionsInsertion: (mentionIds: {
|
|
2322
|
+
type: "added" | "deleted";
|
|
2289
2323
|
localId: string;
|
|
2290
2324
|
id: string;
|
|
2291
2325
|
}[]) => void;
|
|
@@ -2407,6 +2441,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2407
2441
|
actions: {
|
|
2408
2442
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2409
2443
|
};
|
|
2444
|
+
sharedState: {
|
|
2445
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2446
|
+
} | undefined;
|
|
2410
2447
|
}, undefined>>,
|
|
2411
2448
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2412
2449
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -2444,6 +2481,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2444
2481
|
actions: {
|
|
2445
2482
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2446
2483
|
};
|
|
2484
|
+
sharedState: {
|
|
2485
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2486
|
+
} | undefined;
|
|
2447
2487
|
}, undefined>>,
|
|
2448
2488
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2449
2489
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -2676,6 +2716,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2676
2716
|
actions: {
|
|
2677
2717
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2678
2718
|
};
|
|
2719
|
+
sharedState: {
|
|
2720
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2721
|
+
} | undefined;
|
|
2679
2722
|
}, undefined>>,
|
|
2680
2723
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2681
2724
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -2713,6 +2756,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2713
2756
|
actions: {
|
|
2714
2757
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2715
2758
|
};
|
|
2759
|
+
sharedState: {
|
|
2760
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2761
|
+
} | undefined;
|
|
2716
2762
|
}, undefined>>,
|
|
2717
2763
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2718
2764
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -3228,6 +3274,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3228
3274
|
actions: {
|
|
3229
3275
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3230
3276
|
};
|
|
3277
|
+
sharedState: {
|
|
3278
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3279
|
+
} | undefined;
|
|
3231
3280
|
}, undefined>>,
|
|
3232
3281
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3233
3282
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3265,6 +3314,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3265
3314
|
actions: {
|
|
3266
3315
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3267
3316
|
};
|
|
3317
|
+
sharedState: {
|
|
3318
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3319
|
+
} | undefined;
|
|
3268
3320
|
}, undefined>>,
|
|
3269
3321
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3270
3322
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -3767,6 +3819,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3767
3819
|
actions: {
|
|
3768
3820
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3769
3821
|
};
|
|
3822
|
+
sharedState: {
|
|
3823
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3824
|
+
} | undefined;
|
|
3770
3825
|
}, undefined>>,
|
|
3771
3826
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3772
3827
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3804,6 +3859,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3804
3859
|
actions: {
|
|
3805
3860
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3806
3861
|
};
|
|
3862
|
+
sharedState: {
|
|
3863
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3864
|
+
} | undefined;
|
|
3807
3865
|
}, undefined>>,
|
|
3808
3866
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3809
3867
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -4033,6 +4091,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4033
4091
|
actions: {
|
|
4034
4092
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4035
4093
|
};
|
|
4094
|
+
sharedState: {
|
|
4095
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4096
|
+
} | undefined;
|
|
4036
4097
|
}, undefined>>,
|
|
4037
4098
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4038
4099
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -4070,6 +4131,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4070
4131
|
actions: {
|
|
4071
4132
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4072
4133
|
};
|
|
4134
|
+
sharedState: {
|
|
4135
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4136
|
+
} | undefined;
|
|
4073
4137
|
}, undefined>>,
|
|
4074
4138
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4075
4139
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -4352,6 +4416,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4352
4416
|
actions: {
|
|
4353
4417
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4354
4418
|
};
|
|
4419
|
+
sharedState: {
|
|
4420
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4421
|
+
} | undefined;
|
|
4355
4422
|
}, undefined>>,
|
|
4356
4423
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4357
4424
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
@@ -4559,6 +4626,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4559
4626
|
actions: {
|
|
4560
4627
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
4561
4628
|
announceMentionsInsertion: (mentionIds: {
|
|
4629
|
+
type: "added" | "deleted";
|
|
4562
4630
|
localId: string;
|
|
4563
4631
|
id: string;
|
|
4564
4632
|
}[]) => void;
|