@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 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 _messages = require("../messages");
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(_messages.messages.emojiNodeLabel), " ").concat(emojiShortName));
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 '../messages';
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 '../messages';
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.0",
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.3.0",
25
- "@atlaskit/editor-common": "^77.1.0",
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.8.0",
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",
@@ -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
- });
@@ -1,8 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export const messages = defineMessages({
3
- emojiNodeLabel: {
4
- id: 'fabric.emoji.label',
5
- defaultMessage: 'Emoji',
6
- description: 'Label to indicate emoji node to Screen reader users'
7
- }
8
- });
@@ -1,8 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export var messages = defineMessages({
3
- emojiNodeLabel: {
4
- id: 'fabric.emoji.label',
5
- defaultMessage: 'Emoji',
6
- description: 'Label to indicate emoji node to Screen reader users'
7
- }
8
- });
@@ -1,7 +0,0 @@
1
- export declare const messages: {
2
- emojiNodeLabel: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };
@@ -1,7 +0,0 @@
1
- export declare const messages: {
2
- emojiNodeLabel: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };