@atlaskit/editor-core 194.3.16 → 194.5.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 +39 -0
- package/dist/cjs/create-editor/create-plugins-list.js +1 -0
- package/dist/cjs/presets/universal.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/create-plugins-list.js +1 -0
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/create-plugins-list.js +1 -0
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +44 -11
- package/dist/types/presets/default.d.ts +32 -8
- package/dist/types/presets/universal.d.ts +44 -11
- package/dist/types/presets/useUniversalPreset.d.ts +44 -11
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +55 -11
- package/dist/types-ts4.5/presets/default.d.ts +40 -8
- package/dist/types-ts4.5/presets/universal.d.ts +55 -11
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +55 -11
- package/package.json +29 -30
|
@@ -1177,7 +1177,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1177
1177
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1178
1178
|
];
|
|
1179
1179
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1180
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1180
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1181
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1182
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1183
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1184
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1181
1185
|
];
|
|
1182
1186
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
1183
1187
|
actions: {
|
|
@@ -1614,7 +1618,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1614
1618
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1615
1619
|
];
|
|
1616
1620
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1617
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1621
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1622
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1623
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1624
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1625
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1618
1626
|
];
|
|
1619
1627
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
1620
1628
|
actions: {
|
|
@@ -2344,7 +2352,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2344
2352
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2345
2353
|
];
|
|
2346
2354
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2347
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2355
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2356
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2357
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2358
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2359
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2348
2360
|
];
|
|
2349
2361
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2350
2362
|
actions: {
|
|
@@ -2433,7 +2445,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2433
2445
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2434
2446
|
];
|
|
2435
2447
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2436
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2448
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2449
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2450
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2451
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2452
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2437
2453
|
];
|
|
2438
2454
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2439
2455
|
actions: {
|
|
@@ -2627,7 +2643,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2627
2643
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2628
2644
|
];
|
|
2629
2645
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2630
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2646
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2647
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2648
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2649
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2650
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2631
2651
|
];
|
|
2632
2652
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2633
2653
|
actions: {
|
|
@@ -2701,7 +2721,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2701
2721
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2702
2722
|
];
|
|
2703
2723
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2704
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2724
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2725
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2726
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2727
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2728
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2705
2729
|
];
|
|
2706
2730
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2707
2731
|
actions: {
|
|
@@ -3314,7 +3338,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3314
3338
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3315
3339
|
];
|
|
3316
3340
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3317
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3341
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3342
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3343
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3344
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3345
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3318
3346
|
];
|
|
3319
3347
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3320
3348
|
actions: {
|
|
@@ -4139,7 +4167,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4139
4167
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4140
4168
|
];
|
|
4141
4169
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4142
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4170
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
4171
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4172
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4173
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4174
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4143
4175
|
];
|
|
4144
4176
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
4145
4177
|
actions: {
|
|
@@ -4191,7 +4223,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4191
4223
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4192
4224
|
];
|
|
4193
4225
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4194
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4226
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
4227
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4228
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4229
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4230
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4195
4231
|
];
|
|
4196
4232
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
4197
4233
|
actions: {
|
|
@@ -4622,7 +4658,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4622
4658
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4623
4659
|
];
|
|
4624
4660
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4625
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4661
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
4662
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4663
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4664
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4665
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4626
4666
|
];
|
|
4627
4667
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
4628
4668
|
actions: {
|
|
@@ -4695,7 +4735,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4695
4735
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4696
4736
|
];
|
|
4697
4737
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4698
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4738
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
4739
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4740
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4741
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4742
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4699
4743
|
];
|
|
4700
4744
|
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
4701
4745
|
actions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "194.
|
|
3
|
+
"version": "194.5.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@atlaskit/activity-provider": "^2.4.0",
|
|
43
|
-
"@atlaskit/adf-schema": "^
|
|
43
|
+
"@atlaskit/adf-schema": "^40.3.0",
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^6.10.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
|
-
"@atlaskit/button": "^19.
|
|
48
|
-
"@atlaskit/editor-common": "^86.
|
|
49
|
-
"@atlaskit/editor-plugins": "^3.
|
|
50
|
-
"@atlaskit/editor-prosemirror": "
|
|
47
|
+
"@atlaskit/button": "^19.1.0",
|
|
48
|
+
"@atlaskit/editor-common": "^86.8.0",
|
|
49
|
+
"@atlaskit/editor-plugins": "^3.5.0",
|
|
50
|
+
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.6.0",
|
|
53
53
|
"@atlaskit/icon": "^22.7.0",
|
|
@@ -80,18 +80,18 @@
|
|
|
80
80
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@af/editor-examples-helpers": "0.0
|
|
83
|
+
"@af/editor-examples-helpers": "0.1.0",
|
|
84
84
|
"@af/editor-libra": "*",
|
|
85
85
|
"@af/visual-regression": "*",
|
|
86
|
-
"@atlaskit/adf-utils": "^19.
|
|
86
|
+
"@atlaskit/adf-utils": "^19.6.0",
|
|
87
87
|
"@atlaskit/analytics-listeners": "^8.10.0",
|
|
88
|
-
"@atlaskit/collab-provider": "9.
|
|
89
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
90
|
-
"@atlaskit/editor-plugin-annotation": "1.
|
|
91
|
-
"@atlaskit/editor-plugin-card": "^2.
|
|
92
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^2.
|
|
93
|
-
"@atlaskit/editor-plugin-list": "^3.
|
|
94
|
-
"@atlaskit/editor-plugin-paste": "^1.
|
|
88
|
+
"@atlaskit/collab-provider": "9.36.0",
|
|
89
|
+
"@atlaskit/editor-json-transformer": "^8.17.0",
|
|
90
|
+
"@atlaskit/editor-plugin-annotation": "1.18.0",
|
|
91
|
+
"@atlaskit/editor-plugin-card": "^2.8.0",
|
|
92
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
93
|
+
"@atlaskit/editor-plugin-list": "^3.7.0",
|
|
94
|
+
"@atlaskit/editor-plugin-paste": "^1.7.0",
|
|
95
95
|
"@atlaskit/editor-test-helpers": "*",
|
|
96
96
|
"@atlaskit/link-provider": "^1.13.0",
|
|
97
97
|
"@atlaskit/logo": "^14.1.0",
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
100
100
|
"@atlaskit/media-test-helpers": "^34.0.0",
|
|
101
101
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
102
|
-
"@atlaskit/primitives": "^11.
|
|
103
|
-
"@atlaskit/renderer": "^109.
|
|
104
|
-
"@atlaskit/smart-card": "^27.
|
|
105
|
-
"@atlaskit/synchrony-test-helpers": "^2.
|
|
102
|
+
"@atlaskit/primitives": "^11.1.0",
|
|
103
|
+
"@atlaskit/renderer": "^109.44.0",
|
|
104
|
+
"@atlaskit/smart-card": "^27.11.0",
|
|
105
|
+
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
106
106
|
"@atlaskit/toggle": "^13.2.0",
|
|
107
107
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
108
108
|
"@atlaskit/visual-regression": "*",
|
|
109
|
-
"@atlassian/adf-schema-json": "^1.
|
|
109
|
+
"@atlassian/adf-schema-json": "^1.18.0",
|
|
110
110
|
"@atlassian/feature-flags-test-utils": "*",
|
|
111
111
|
"@atlassian/search-provider": "2.4.97",
|
|
112
112
|
"@emotion/jest": "^11.8.0",
|
|
@@ -159,8 +159,7 @@
|
|
|
159
159
|
"referenceOnly": "true"
|
|
160
160
|
},
|
|
161
161
|
"platform.linking-platform.smart-links-in-live-pages": {
|
|
162
|
-
"type": "boolean"
|
|
163
|
-
"referenceOnly": "true"
|
|
162
|
+
"type": "boolean"
|
|
164
163
|
},
|
|
165
164
|
"platform.editor.live-pages-expand-divergence": {
|
|
166
165
|
"type": "boolean",
|
|
@@ -271,10 +270,6 @@
|
|
|
271
270
|
"type": "boolean",
|
|
272
271
|
"referenceOnly": "true"
|
|
273
272
|
},
|
|
274
|
-
"platform.editor.table.editor-num-col-style-changes": {
|
|
275
|
-
"type": "boolean",
|
|
276
|
-
"referenceOnly": "true"
|
|
277
|
-
},
|
|
278
273
|
"platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
|
|
279
274
|
"type": "boolean",
|
|
280
275
|
"referenceOnly": "true"
|
|
@@ -282,10 +277,6 @@
|
|
|
282
277
|
"platform.editor.core.increase-full-page-guttering": {
|
|
283
278
|
"type": "boolean"
|
|
284
279
|
},
|
|
285
|
-
"platform.editor.refactor-highlight-toolbar_mo0pj": {
|
|
286
|
-
"type": "boolean",
|
|
287
|
-
"referenceOnly": "true"
|
|
288
|
-
},
|
|
289
280
|
"platform.editor.no-telecursors-for-viewmode-users_hok8o": {
|
|
290
281
|
"type": "boolean",
|
|
291
282
|
"referenceOnly": "true"
|
|
@@ -341,6 +332,14 @@
|
|
|
341
332
|
},
|
|
342
333
|
"platform_editor_media_provider_from_plugin_config": {
|
|
343
334
|
"type": "boolean"
|
|
335
|
+
},
|
|
336
|
+
"platform_editor_migration_icon_and_typography": {
|
|
337
|
+
"type": "boolean",
|
|
338
|
+
"referenceOnly": true
|
|
339
|
+
},
|
|
340
|
+
"platform_editor_element_drag_and_drop_ed_24372": {
|
|
341
|
+
"type": "boolean",
|
|
342
|
+
"referenceOnly": true
|
|
344
343
|
}
|
|
345
344
|
},
|
|
346
345
|
"stricter": {
|