@atlaskit/editor-plugins 8.5.26 → 8.5.28
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 +15 -0
- package/dist/types/annotation/index.d.ts +1 -1
- package/dist/types/interaction/index.d.ts +1 -1
- package/dist/types-ts4.5/annotation/index.d.ts +1 -1
- package/dist/types-ts4.5/interaction/index.d.ts +1 -1
- package/package.json +8 -8
- package/scripts/update-editor-plugins.ts +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugins
|
|
2
2
|
|
|
3
|
+
## 8.5.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#159390](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159390)
|
|
8
|
+
[`cc1d530fb6ed2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cc1d530fb6ed2) -
|
|
9
|
+
[ux] [ED-28074] Fix media selection state and remove css-based targeting
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 8.5.27
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 8.5.26
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { annotationPlugin } from '@atlaskit/editor-plugin-annotation';
|
|
2
|
-
export type { AnnotationPlugin, AnnotationPluginOptions, AnnotationInfo, AnnotationProviders, AnnotationState, AnnotationTypeProvider, InlineCommentAnnotationProvider, InlineCommentCompoundExperience, InlineCommentCreateComponentProps, InlineCommentInputMethod, InlineCommentState, InlineCommentViewComponentProps, SelectInlineCommentCompoundExperience, SelectInlineCommentCompoundExperienceEntryPoint, SimpleSelectInlineCommentCompoundExperience, StartAttributes, TargetType, InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from '@atlaskit/editor-plugin-annotation';
|
|
2
|
+
export type { AnnotationPlugin, AnnotationPluginOptions, AnnotationInfo, AnnotationProviders, AnnotationState, AnnotationTypeProvider, InlineCommentAnnotationProvider, InlineCommentCompoundExperience, InlineCommentCreateComponentProps, InlineCommentInputMethod, InlineCommentState, InlineCommentViewComponentProps, SelectAbortReasons, SelectParentAbortReasons, SelectInlineCommentCompoundExperience, SelectInlineCommentCompoundExperienceEntryPoint, SimpleSelectInlineCommentCompoundExperience, StartAttributes, TargetType, InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from '@atlaskit/editor-plugin-annotation';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { interactionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
2
|
-
export type { InteractionPlugin, InteractionState } from '@atlaskit/editor-plugin-interaction';
|
|
2
|
+
export type { InteractionPlugin, SharedInteractionState, InteractionState, } from '@atlaskit/editor-plugin-interaction';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { annotationPlugin } from '@atlaskit/editor-plugin-annotation';
|
|
2
|
-
export type { AnnotationPlugin, AnnotationPluginOptions, AnnotationInfo, AnnotationProviders, AnnotationState, AnnotationTypeProvider, InlineCommentAnnotationProvider, InlineCommentCompoundExperience, InlineCommentCreateComponentProps, InlineCommentInputMethod, InlineCommentState, InlineCommentViewComponentProps, SelectInlineCommentCompoundExperience, SelectInlineCommentCompoundExperienceEntryPoint, SimpleSelectInlineCommentCompoundExperience, StartAttributes, TargetType, InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from '@atlaskit/editor-plugin-annotation';
|
|
2
|
+
export type { AnnotationPlugin, AnnotationPluginOptions, AnnotationInfo, AnnotationProviders, AnnotationState, AnnotationTypeProvider, InlineCommentAnnotationProvider, InlineCommentCompoundExperience, InlineCommentCreateComponentProps, InlineCommentInputMethod, InlineCommentState, InlineCommentViewComponentProps, SelectAbortReasons, SelectParentAbortReasons, SelectInlineCommentCompoundExperience, SelectInlineCommentCompoundExperienceEntryPoint, SimpleSelectInlineCommentCompoundExperience, StartAttributes, TargetType, InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from '@atlaskit/editor-plugin-annotation';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { interactionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
2
|
-
export type { InteractionPlugin, InteractionState } from '@atlaskit/editor-plugin-interaction';
|
|
2
|
+
export type { InteractionPlugin, SharedInteractionState, InteractionState, } from '@atlaskit/editor-plugin-interaction';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugins",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.28",
|
|
4
4
|
"description": "A convenience facade package that exposes all @atlaskit/editor-plugin-* plugins so that users can add this package without having to manually add all their plugins",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@atlaskit/editor-plugin-batch-attribute-updates": "2.1.5",
|
|
142
142
|
"@atlaskit/editor-plugin-before-primary-toolbar": "2.0.6",
|
|
143
143
|
"@atlaskit/editor-plugin-better-type-history": "2.1.5",
|
|
144
|
-
"@atlaskit/editor-plugin-block-controls": "3.
|
|
144
|
+
"@atlaskit/editor-plugin-block-controls": "3.15.0",
|
|
145
145
|
"@atlaskit/editor-plugin-block-type": "5.1.19",
|
|
146
146
|
"@atlaskit/editor-plugin-border": "2.1.5",
|
|
147
147
|
"@atlaskit/editor-plugin-breakout": "2.3.0",
|
|
@@ -184,12 +184,12 @@
|
|
|
184
184
|
"@atlaskit/editor-plugin-image-upload": "2.0.5",
|
|
185
185
|
"@atlaskit/editor-plugin-indentation": "2.1.5",
|
|
186
186
|
"@atlaskit/editor-plugin-insert-block": "3.2.8",
|
|
187
|
-
"@atlaskit/editor-plugin-interaction": "1.1.
|
|
187
|
+
"@atlaskit/editor-plugin-interaction": "1.1.1",
|
|
188
188
|
"@atlaskit/editor-plugin-layout": "2.7.4",
|
|
189
189
|
"@atlaskit/editor-plugin-list": "4.2.4",
|
|
190
190
|
"@atlaskit/editor-plugin-loom": "4.1.3",
|
|
191
191
|
"@atlaskit/editor-plugin-max-content-size": "2.0.5",
|
|
192
|
-
"@atlaskit/editor-plugin-media": "3.0.
|
|
192
|
+
"@atlaskit/editor-plugin-media": "3.0.7",
|
|
193
193
|
"@atlaskit/editor-plugin-media-insert": "6.3.4",
|
|
194
194
|
"@atlaskit/editor-plugin-mentions": "4.7.0",
|
|
195
195
|
"@atlaskit/editor-plugin-metrics": "3.4.7",
|
|
@@ -206,20 +206,20 @@
|
|
|
206
206
|
"@atlaskit/editor-plugin-selection": "2.2.4",
|
|
207
207
|
"@atlaskit/editor-plugin-selection-extension": "2.2.6",
|
|
208
208
|
"@atlaskit/editor-plugin-selection-marker": "2.4.0",
|
|
209
|
-
"@atlaskit/editor-plugin-selection-toolbar": "3.6.
|
|
209
|
+
"@atlaskit/editor-plugin-selection-toolbar": "3.6.6",
|
|
210
210
|
"@atlaskit/editor-plugin-status": "3.1.17",
|
|
211
211
|
"@atlaskit/editor-plugin-submit-editor": "2.0.5",
|
|
212
|
-
"@atlaskit/editor-plugin-table": "10.10.
|
|
212
|
+
"@atlaskit/editor-plugin-table": "10.10.6",
|
|
213
213
|
"@atlaskit/editor-plugin-tasks-and-decisions": "5.1.8",
|
|
214
214
|
"@atlaskit/editor-plugin-text-color": "2.3.4",
|
|
215
215
|
"@atlaskit/editor-plugin-text-formatting": "2.2.8",
|
|
216
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "3.2.
|
|
216
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "3.2.6",
|
|
217
217
|
"@atlaskit/editor-plugin-type-ahead": "2.7.6",
|
|
218
218
|
"@atlaskit/editor-plugin-ufo": "2.0.6",
|
|
219
219
|
"@atlaskit/editor-plugin-undo-redo": "2.0.15",
|
|
220
220
|
"@atlaskit/editor-plugin-unsupported-content": "2.1.5",
|
|
221
221
|
"@atlaskit/editor-plugin-user-intent": "0.1.2",
|
|
222
|
-
"@atlaskit/editor-plugin-user-preferences": "0.1.
|
|
222
|
+
"@atlaskit/editor-plugin-user-preferences": "0.1.1",
|
|
223
223
|
"@atlaskit/editor-plugin-width": "3.0.5",
|
|
224
224
|
"@babel/runtime": "^7.0.0"
|
|
225
225
|
},
|
|
@@ -221,6 +221,16 @@ function removeNonEditorPluginDeps(currentDeps: Record<string, string>): Record<
|
|
|
221
221
|
return filteredDeps;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
function mapToWorkspaceVersions(workspaceDeps: Record<string, string>): Record<string, string> {
|
|
225
|
+
const updatedDeps: Record<string, string> = {};
|
|
226
|
+
|
|
227
|
+
Object.keys(workspaceDeps).forEach((key) => {
|
|
228
|
+
updatedDeps[key] = 'workspace:*'; // Use workspace version for editor plugins
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
return updatedDeps;
|
|
232
|
+
}
|
|
233
|
+
|
|
224
234
|
// Function to remove Atlaskit editor plugin dependencies
|
|
225
235
|
function removeEditorPluginDeps(currentDeps: Record<string, string>): Record<string, string> {
|
|
226
236
|
const filteredDeps: Record<string, string> = {};
|
|
@@ -436,10 +446,8 @@ async function run() {
|
|
|
436
446
|
}
|
|
437
447
|
|
|
438
448
|
const currentEditorPluginDeps = removeNonEditorPluginDeps(currentDeps);
|
|
439
|
-
const newEditorPluginsDepsWithOldVersions =
|
|
440
|
-
currentEditorPluginDeps,
|
|
441
|
-
newEditorPluginsDeps,
|
|
442
|
-
argv['force-versions'],
|
|
449
|
+
const newEditorPluginsDepsWithOldVersions = mapToWorkspaceVersions(
|
|
450
|
+
preferOlderVersions(currentEditorPluginDeps, newEditorPluginsDeps, argv['force-versions']),
|
|
443
451
|
);
|
|
444
452
|
const diff = generateDependenciesDiff(
|
|
445
453
|
currentEditorPluginDeps,
|