@atlaskit/editor-slack-transformer 3.3.2 → 3.3.4

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,17 @@
1
1
  # @atlaskit/editor-slack-transformer
2
2
 
3
+ ## 3.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947) [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) - Migrate @atlaskit/editor-core to use declarative entry points
8
+
9
+ ## 3.3.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#77984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77984) [`eb7139b3ec21`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb7139b3ec21) - Replace hardcoded values with spacing tokens
14
+
3
15
  ## 3.3.2
4
16
 
5
17
  ### Patch Changes
@@ -2,14 +2,16 @@
2
2
  import React, { useState } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
 
5
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
5
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
 
7
- import { ActivityProvider } from '@atlaskit/activity';
7
+ import type { ActivityProvider } from '@atlaskit/activity';
8
8
  import { MockActivityResource } from '@atlaskit/activity/dist/es5/support';
9
- import { MentionProvider, MentionResource } from '@atlaskit/editor-core';
10
- import { EmojiProvider } from '@atlaskit/emoji';
9
+ import type { MentionProvider } from '@atlaskit/editor-core';
10
+ import { MentionResource } from '@atlaskit/editor-core';
11
+ import type { EmojiProvider } from '@atlaskit/emoji';
11
12
  import { getEmojiResource } from '@atlaskit/util-data-test/get-emoji-resource';
12
13
  import { mentionResourceProvider } from '@atlaskit/util-data-test/mention-story-data';
14
+ import { token } from '@atlaskit/tokens';
13
15
 
14
16
  import { SlackTransformer } from '../src';
15
17
 
@@ -100,7 +102,9 @@ export default function ToolsDrawer({ renderEditor }: Props) {
100
102
 
101
103
  return (
102
104
  <div css={content}>
103
- <div style={{ padding: '5px 0' }}>️️️Slack Editor</div>
105
+ <div style={{ padding: `${token('space.075', '6px')} 0` }}>
106
+ ️️️Slack Editor
107
+ </div>
104
108
  {reloadEditor
105
109
  ? ''
106
110
  : renderEditor({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-slack-transformer",
3
- "version": "3.3.2",
3
+ "version": "3.3.4",
4
4
  "description": "Editor Slack transformer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@atlaskit/activity": "^1.0.1",
43
- "@atlaskit/editor-core": "^191.7.0",
44
- "@atlaskit/editor-test-helpers": "^18.18.0",
43
+ "@atlaskit/editor-core": "^193.0.0",
44
+ "@atlaskit/editor-test-helpers": "^18.19.0",
45
45
  "@atlaskit/emoji": "^67.6.0",
46
46
  "@atlaskit/theme": "^12.6.0",
47
- "@atlaskit/tokens": "^1.35.0",
47
+ "@atlaskit/tokens": "^1.39.0",
48
48
  "@atlaskit/util-data-test": "^17.9.0",
49
49
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
50
50
  "@emotion/react": "^11.7.1",
@@ -54,4 +54,4 @@
54
54
  "af:exports": {
55
55
  ".": "./src/index.ts"
56
56
  }
57
- }
57
+ }