@atlaskit/editor-slack-transformer 3.3.1 → 3.3.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 +12 -0
- package/example-helpers/ToolsDrawer.tsx +9 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-slack-transformer
|
|
2
2
|
|
|
3
|
+
## 3.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 3.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency
|
|
14
|
+
|
|
3
15
|
## 3.3.1
|
|
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
|
|
10
|
-
import {
|
|
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: '
|
|
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.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Editor Slack transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"runReact18": false
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/editor-prosemirror": "
|
|
35
|
+
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@atlaskit/activity": "^1.0.1",
|
|
43
|
-
"@atlaskit/editor-core": "^
|
|
44
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
43
|
+
"@atlaskit/editor-core": "^192.4.0",
|
|
44
|
+
"@atlaskit/editor-test-helpers": "^18.18.0",
|
|
45
45
|
"@atlaskit/emoji": "^67.6.0",
|
|
46
46
|
"@atlaskit/theme": "^12.6.0",
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
48
|
-
"@atlaskit/util-data-test": "^17.
|
|
47
|
+
"@atlaskit/tokens": "^1.38.0",
|
|
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",
|
|
51
51
|
"typescript": "~4.9.5"
|