@atlaskit/editor-core 193.7.0 → 193.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.
@@ -4,7 +4,6 @@ interface PresetProps {
4
4
  props: EditorProps;
5
5
  }
6
6
  export default function useUniversalPreset({ props }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[
7
- import("@atlaskit/editor-common/types").MaybePluginName<"loom">,
8
7
  "codeBidiWarning",
9
8
  import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">,
10
9
  import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">,
@@ -80,56 +79,6 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
80
79
  import("@atlaskit/editor-common/types").MaybePluginName<"analytics">,
81
80
  "featureFlags"
82
81
  ], [
83
- import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"loom", {
84
- dependencies: [
85
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
86
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
87
- sharedState: {
88
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
89
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
90
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
91
- };
92
- dependencies: [
93
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
94
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
95
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
96
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
97
- ];
98
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
99
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
100
- import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"hyperlink", {
101
- pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
102
- dependencies: [
103
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
104
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
105
- sharedState: {
106
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
107
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
108
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
109
- };
110
- dependencies: [
111
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
112
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
113
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
114
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
115
- ];
116
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
117
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
118
- ];
119
- actions: {
120
- prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
121
- hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
122
- insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
123
- updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
124
- };
125
- commands: {
126
- showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
127
- };
128
- sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
129
- }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>
130
- ];
131
- sharedState: import("@atlaskit/editor-plugin-loom").LoomPluginState | undefined;
132
- }, undefined>>,
133
82
  import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"codeBidiWarning", {
134
83
  pluginConfiguration: {
135
84
  appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
@@ -816,7 +765,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
816
765
  actions: {
817
766
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
818
767
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
819
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
768
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
820
769
  };
821
770
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
822
771
  ];
@@ -960,7 +909,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
960
909
  actions: {
961
910
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
962
911
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
963
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
912
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
964
913
  };
965
914
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
966
915
  ];
@@ -1762,7 +1711,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1762
1711
  actions: {
1763
1712
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1764
1713
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1765
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1714
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1766
1715
  };
1767
1716
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
1768
1717
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
@@ -2261,7 +2210,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2261
2210
  actions: {
2262
2211
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2263
2212
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2264
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2213
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2265
2214
  };
2266
2215
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2267
2216
  ];
@@ -3079,7 +3028,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3079
3028
  actions: {
3080
3029
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3081
3030
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3082
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3031
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3083
3032
  };
3084
3033
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3085
3034
  ];
@@ -3167,7 +3116,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3167
3116
  actions: {
3168
3117
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3169
3118
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3170
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3119
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3171
3120
  };
3172
3121
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
3173
3122
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"grid", {
@@ -3946,7 +3895,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3946
3895
  actions: {
3947
3896
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3948
3897
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3949
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3898
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3950
3899
  };
3951
3900
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3952
3901
  ];
@@ -5043,7 +4992,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5043
4992
  actions: {
5044
4993
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5045
4994
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5046
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4995
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5047
4996
  };
5048
4997
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5049
4998
  ];
@@ -5187,7 +5136,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5187
5136
  actions: {
5188
5137
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5189
5138
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5190
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5139
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5191
5140
  };
5192
5141
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5193
5142
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.7.0",
3
+ "version": "193.8.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": "^35.7.0",
43
+ "@atlaskit/adf-schema": "^35.8.0",
44
44
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
45
45
  "@atlaskit/analytics-next": "^9.2.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
- "@atlaskit/button": "^17.7.0",
48
- "@atlaskit/editor-common": "^78.21.0",
47
+ "@atlaskit/button": "^17.8.0",
48
+ "@atlaskit/editor-common": "^78.23.0",
49
49
  "@atlaskit/editor-json-transformer": "^8.10.0",
50
- "@atlaskit/editor-plugins": "^1.9.0",
50
+ "@atlaskit/editor-plugins": "^2.0.0",
51
51
  "@atlaskit/editor-prosemirror": "3.0.0",
52
52
  "@atlaskit/editor-shared-styles": "^2.9.0",
53
53
  "@atlaskit/emoji": "^67.6.0",
@@ -87,15 +87,15 @@
87
87
  "@atlaskit/adf-utils": "^19.0.0",
88
88
  "@atlaskit/analytics-listeners": "^8.9.1",
89
89
  "@atlaskit/checkbox": "^13.1.0",
90
- "@atlaskit/collab-provider": "9.25.14",
90
+ "@atlaskit/collab-provider": "9.25.15",
91
91
  "@atlaskit/dropdown-menu": "^12.8.0",
92
- "@atlaskit/editor-plugin-annotation": "1.5.2",
93
- "@atlaskit/editor-plugin-card": "^1.3.0",
92
+ "@atlaskit/editor-plugin-annotation": "1.5.4",
93
+ "@atlaskit/editor-plugin-card": "^1.4.0",
94
94
  "@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
95
95
  "@atlaskit/editor-plugin-list": "^3.1.5",
96
96
  "@atlaskit/editor-plugin-paste": "^1.0.0",
97
97
  "@atlaskit/editor-test-helpers": "*",
98
- "@atlaskit/flag": "^15.2.0",
98
+ "@atlaskit/flag": "^15.3.0",
99
99
  "@atlaskit/link-provider": "^1.9.0",
100
100
  "@atlaskit/link-test-helpers": "^7.0.0",
101
101
  "@atlaskit/logo": "^13.15.0",
@@ -103,10 +103,10 @@
103
103
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
104
104
  "@atlaskit/media-test-helpers": "^33.0.27",
105
105
  "@atlaskit/modal-dialog": "^12.10.0",
106
- "@atlaskit/primitives": "^5.1.0",
107
- "@atlaskit/renderer": "^109.11.0",
106
+ "@atlaskit/primitives": "^5.3.0",
107
+ "@atlaskit/renderer": "^109.13.0",
108
108
  "@atlaskit/select": "^17.3.0",
109
- "@atlaskit/smart-card": "^26.50.0",
109
+ "@atlaskit/smart-card": "^26.51.0",
110
110
  "@atlaskit/synchrony-test-helpers": "^2.3.0",
111
111
  "@atlaskit/util-data-test": "^17.9.0",
112
112
  "@atlaskit/visual-regression": "*",
@@ -114,7 +114,7 @@
114
114
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
115
115
  "@atlassian/feature-flags-test-utils": "^0.2.0",
116
116
  "@atlassian/link-picker-plugins": "^24.0.0",
117
- "@atlassian/search-provider": "2.4.43",
117
+ "@atlassian/search-provider": "2.4.46",
118
118
  "@atlassian/ufo": "^0.2.0",
119
119
  "@emotion/jest": "^11.8.0",
120
120
  "@storybook/addon-knobs": "^5.3.18",
@@ -161,6 +161,10 @@
161
161
  },
162
162
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
163
163
  "platform-feature-flags": {
164
+ "platform.linking-platform.prevent-suspicious-linkification": {
165
+ "type": "boolean",
166
+ "referenceOnly": "true"
167
+ },
164
168
  "platform.corex.password-protected-pdf_ht8re": {
165
169
  "type": "boolean",
166
170
  "referenceOnly": "true"
@@ -229,9 +233,6 @@
229
233
  "type": "boolean",
230
234
  "referenceOnly": "true"
231
235
  },
232
- "platform.editor.loom-integration": {
233
- "type": "boolean"
234
- },
235
236
  "platform.editor.enable-selection-toolbar_ucdwd": {
236
237
  "type": "boolean"
237
238
  },
@@ -275,6 +276,38 @@
275
276
  "platform.editor.table.use-shared-state-hook": {
276
277
  "type": "boolean",
277
278
  "referenceOnly": true
279
+ },
280
+ "platform.editor.table.column-controls-styles-updated": {
281
+ "type": "boolean",
282
+ "referenceOnly": "true"
283
+ },
284
+ "platform.editor.table.shift-arrowup-fix": {
285
+ "type": "boolean",
286
+ "referenceOnly": "true"
287
+ },
288
+ "platform.editor.table.analytics-plugin-moved-event": {
289
+ "type": "boolean",
290
+ "referenceOnly": "true"
291
+ },
292
+ "platform.editor.a11y.table-selection_9uv33": {
293
+ "type": "boolean",
294
+ "referenceOnly": "true"
295
+ },
296
+ "platform.editor.table.in-danger-hover-merged-cells-fix": {
297
+ "type": "boolean",
298
+ "referenceOnly": "true"
299
+ },
300
+ "platform.editor.a11y-column-resizing_emcvz": {
301
+ "type": "boolean",
302
+ "referenceOnly": "true"
303
+ },
304
+ "platform.editor.transform-slice-for-nested-expand": {
305
+ "type": "boolean",
306
+ "referenceOnly": "true"
307
+ },
308
+ "platform.editor.table.copy-paste-in-bodied-extension": {
309
+ "type": "boolean",
310
+ "referenceOnly": "true"
278
311
  }
279
312
  },
280
313
  "stricter": {