@atlaskit/editor-plugin-emoji 1.1.0 → 1.1.2
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 +13 -0
- package/dist/cjs/nodeviews/emoji.js +2 -2
- package/dist/es2019/nodeviews/emoji.js +1 -1
- package/dist/esm/nodeviews/emoji.js +1 -1
- package/package.json +4 -4
- package/dist/cjs/messages.js +0 -14
- package/dist/es2019/messages.js +0 -8
- package/dist/esm/messages.js +0 -8
- package/dist/types/messages.d.ts +0 -7
- package/dist/types-ts4.5/messages.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136) [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) - Move all plugin translations to editor-common
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 1.1.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152) [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) - Updating adf-schema version to 35.5.1
|
|
15
|
+
|
|
3
16
|
## 1.1.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.EmojiNodeView = EmojiNodeView;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
|
-
var
|
|
10
|
+
var _emoji = require("@atlaskit/editor-common/emoji");
|
|
11
11
|
var _Emoji = _interopRequireDefault(require("../ui/Emoji"));
|
|
12
12
|
var EmojiAssistiveTextComponent = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
13
13
|
var emojiShortName = _ref.emojiShortName;
|
|
@@ -16,7 +16,7 @@ var EmojiAssistiveTextComponent = /*#__PURE__*/_react.default.memo(function (_re
|
|
|
16
16
|
style: {
|
|
17
17
|
fontSize: 0
|
|
18
18
|
}
|
|
19
|
-
}, "".concat(intl.formatMessage(
|
|
19
|
+
}, "".concat(intl.formatMessage(_emoji.messages.emojiNodeLabel), " ").concat(emojiShortName));
|
|
20
20
|
});
|
|
21
21
|
function EmojiNodeView(props) {
|
|
22
22
|
var _props$node$attrs = props.node.attrs,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import { messages } from '
|
|
3
|
+
import { messages } from '@atlaskit/editor-common/emoji';
|
|
4
4
|
import Emoji from '../ui/Emoji';
|
|
5
5
|
const EmojiAssistiveTextComponent = /*#__PURE__*/React.memo(({
|
|
6
6
|
emojiShortName
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import { messages } from '
|
|
3
|
+
import { messages } from '@atlaskit/editor-common/emoji';
|
|
4
4
|
import Emoji from '../ui/Emoji';
|
|
5
5
|
var EmojiAssistiveTextComponent = /*#__PURE__*/React.memo(function (_ref) {
|
|
6
6
|
var emojiShortName = _ref.emojiShortName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"runReact18": false
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^35.
|
|
25
|
-
"@atlaskit/editor-common": "^77.
|
|
24
|
+
"@atlaskit/adf-schema": "^35.5.1",
|
|
25
|
+
"@atlaskit/editor-common": "^77.3.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
27
27
|
"@atlaskit/editor-plugin-type-ahead": "^0.9.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/editor-plugin-composition": "^0.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
42
42
|
"@atlaskit/ssr": "*",
|
|
43
|
-
"@atlaskit/util-data-test": "^17.
|
|
43
|
+
"@atlaskit/util-data-test": "^17.9.0",
|
|
44
44
|
"@atlaskit/visual-regression": "*",
|
|
45
45
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
46
46
|
"@testing-library/react": "^12.1.5",
|
package/dist/cjs/messages.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.messages = void 0;
|
|
7
|
-
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
-
emojiNodeLabel: {
|
|
10
|
-
id: 'fabric.emoji.label',
|
|
11
|
-
defaultMessage: 'Emoji',
|
|
12
|
-
description: 'Label to indicate emoji node to Screen reader users'
|
|
13
|
-
}
|
|
14
|
-
});
|
package/dist/es2019/messages.js
DELETED
package/dist/esm/messages.js
DELETED
package/dist/types/messages.d.ts
DELETED