@atlaskit/editor-slack-transformer 3.7.2 → 3.7.3

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,76 @@
1
1
  # @atlaskit/editor-slack-transformer
2
2
 
3
+ ## 3.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#146378](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/146378)
8
+ [`134a849673ebd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/134a849673ebd) -
9
+ This change removes the following public API from the @atlaskit/editor-core entry-point.
10
+
11
+ ### WHY?
12
+
13
+ We are making the editor-core package smaller to reduce bundle size and make it easier to scale as
14
+ its functionality grows.
15
+
16
+ The long term goal is that the core editor is lightweight and its feature set is enriched by the
17
+ powerful plugin system developed (and used via the `ComposableEditor`).
18
+
19
+ This change is made to reduce how the core editor is coupled to its functionality by removing
20
+ exports that can be imported from other packages and cleanup up props that are unused internally.
21
+
22
+ ### WHAT/HOW?
23
+
24
+ The following lists the exports removed as well as where they can now be found if required.
25
+
26
+ Exports removed:
27
+
28
+ - ToolbarFeedback (removed)
29
+ - EmojiResource (moved to -> @atlaskit/emoji/resource)
30
+ - MentionResource (moved to -> @atlaskit/mention/resource)
31
+ - MentionProvider (moved to -> @atlaskit/mention/resource)
32
+ - PresenceProvider (moved to -> @atlaskit/mention/resource)
33
+ - TeamMentionProvider (moved to -> @atlaskit/mention/team-resource)
34
+ - AnnotationUpdateEmitter (moved to -> @atlaskit/editor-common/annotation)
35
+ - UpdateEvent (moved to -> @atlaskit/editor-common/annotation)
36
+ - AnnotationProviders (moved to -> @atlaskit/editor-plugins/annotation)
37
+ - InlineCommentAnnotationProvider (moved to -> @atlaskit/editor-plugins/annotation)
38
+ - InlineCommentCreateComponentProps (moved to -> @atlaskit/editor-plugins/annotation)
39
+ - InlineCommentViewComponentProps (moved to -> @atlaskit/editor-plugins/annotation)
40
+ - AnnotationInfo (moved to -> @atlaskit/editor-plugins/annotation)
41
+ - AnnotationState (moved to -> @atlaskit/editor-plugins/annotation)
42
+ - AnnotationTypeProvider (moved to -> @atlaskit/editor-plugins/annotation)
43
+ - InlineCommentState (moved to -> @atlaskit/editor-plugins/annotation)
44
+ - TypeAheadItem (moved to -> @atlaskit/editor-common/provider-factory)
45
+ - INPUT_METHOD (moved to -> @atlaskit/editor-common/analytics)
46
+ - ACTION (moved to -> @atlaskit/editor-common/analytics)
47
+ - ACTION_SUBJECT (moved to -> @atlaskit/editor-common/analytics)
48
+ - ACTION_SUBJECT_ID (moved to -> @atlaskit/editor-common/analytics)
49
+ - EVENT_TYPE (moved to -> @atlaskit/editor-common/analytics)
50
+ - MacroProvider (moved to -> @atlaskit/editor-common/provider-factory) (except proforma-dc)
51
+ - MacroAttributes (moved to -> @atlaskit/editor-common/provider-factory) (except proforma-dc)
52
+ - ExtensionType (moved to -> @atlaskit/editor-common/provider-factory)
53
+ - CardProvider (moved to -> @atlaskit/editor-common/provider-factory)
54
+ - MediaProvider (moved to -> @atlaskit/editor-common/provider-factory)
55
+ - MediaOptions (moved to -> @atlaskit/editor-plugins/media/types)
56
+ - QuickInsertItem (moved to -> @atlaskit/editor-common/provider-factory)
57
+ - QuickInsertProvider (moved to -> @atlaskit/editor-common/provider-factory)
58
+
59
+ The following lists the editor props removed. Generally these are not used by the editor at all
60
+ and can be safely removed without any change in functionality
61
+
62
+ EditorProps removed:
63
+
64
+ - trackValidTransactions (unused internally, please remove)
65
+ - hideAvatarGroup (unused internally, please remove)
66
+ - placeholder (unused internally for `ComposableEditor` - please pass to the `placeholderPlugin`
67
+ options)
68
+ - placeholderBracketHint (unused internally for `ComposableEditor` - please pass to the
69
+ `placeholderPlugin` options)
70
+ - allowJiraIssue (unused internally, please remove)
71
+ - allowNewInsertionBehaviour (unused internally, please remove)
72
+ - UNSAFE_allowBorderMark (use `allowBorderMark` instead)
73
+
3
74
  ## 3.7.2
4
75
 
5
76
  ### Patch Changes
@@ -11,8 +11,8 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
11
11
  import type { ActivityProvider } from '@atlaskit/activity';
12
12
  // eslint-disable-next-line no-restricted-imports -- Legacy package outside of AFM lacks entry points
13
13
  import { MockActivityResource } from '@atlaskit/activity/dist/es5/support';
14
- import type { MentionProvider } from '@atlaskit/editor-core';
15
- import { MentionResource } from '@atlaskit/editor-core';
14
+ import type { MentionProvider } from '@atlaskit/mention/resource';
15
+ import { MentionResource } from '@atlaskit/mention/resource';
16
16
  import type { EmojiProvider } from '@atlaskit/emoji';
17
17
  import { getEmojiResource } from '@atlaskit/util-data-test/get-emoji-resource';
18
18
  import { mentionResourceProvider } from '@atlaskit/util-data-test/mention-story-data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-slack-transformer",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "Editor Slack transformer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,11 +38,12 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@atlaskit/activity": "^1.0.1",
41
- "@atlaskit/editor-core": "^197.5.0",
42
- "@atlaskit/editor-test-helpers": "^18.33.0",
43
- "@atlaskit/emoji": "^67.7.0",
41
+ "@atlaskit/editor-core": "^198.0.0",
42
+ "@atlaskit/editor-test-helpers": "^19.0.0",
43
+ "@atlaskit/emoji": "^67.8.0",
44
+ "@atlaskit/mention": "^23.3.0",
44
45
  "@atlaskit/theme": "^13.0.0",
45
- "@atlaskit/tokens": "^1.59.0",
46
+ "@atlaskit/tokens": "^2.0.0",
46
47
  "@atlaskit/util-data-test": "^17.9.0",
47
48
  "@emotion/react": "^11.7.1",
48
49
  "typescript": "~5.4.2"