@atlaskit/editor-plugin-emoji 19.1.5 → 20.0.0
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,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 20.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 19.1.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c1111df7c2aef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1111df7c2aef) -
|
|
14
|
+
Add light and dark hover previews for selected slash-command media, Whiteboard, and Profile
|
|
15
|
+
Picture items when `platform_editor_slash_command` is enabled.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 19.1.6
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 19.1.5
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -13,6 +13,10 @@ var _menuItem = require("@atlaskit/editor-common/quick-insert/menu-item");
|
|
|
13
13
|
var _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
|
|
14
14
|
var _actions = require("../../pm-plugins/actions");
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
|
+
var previewImageUrls = {
|
|
17
|
+
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4jp3h212r4t8s51s7pv58v63gq23lbff.png',
|
|
18
|
+
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/j6cr4usu4q8iqwlf00157vf6724k1ki7.png'
|
|
19
|
+
};
|
|
16
20
|
var EmojiQuickInsertMenuItem = exports.EmojiQuickInsertMenuItem = function EmojiQuickInsertMenuItem() {
|
|
17
21
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
18
22
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -25,6 +29,7 @@ var EmojiQuickInsertMenuItem = exports.EmojiQuickInsertMenuItem = function Emoji
|
|
|
25
29
|
label: ""
|
|
26
30
|
}),
|
|
27
31
|
onSelect: onSelect,
|
|
32
|
+
previewImageUrls: previewImageUrls,
|
|
28
33
|
shortcut: ":",
|
|
29
34
|
title: formatMessage(_messages.toolbarInsertBlockMessages.emoji)
|
|
30
35
|
});
|
|
@@ -4,6 +4,10 @@ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/
|
|
|
4
4
|
import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
|
|
5
5
|
import EmojiIcon from '@atlaskit/icon/core/emoji';
|
|
6
6
|
import { setInlineEmojiPopupOpen } from '../../pm-plugins/actions';
|
|
7
|
+
const previewImageUrls = {
|
|
8
|
+
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4jp3h212r4t8s51s7pv58v63gq23lbff.png',
|
|
9
|
+
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/j6cr4usu4q8iqwlf00157vf6724k1ki7.png'
|
|
10
|
+
};
|
|
7
11
|
export const EmojiQuickInsertMenuItem = () => {
|
|
8
12
|
const {
|
|
9
13
|
formatMessage
|
|
@@ -16,6 +20,7 @@ export const EmojiQuickInsertMenuItem = () => {
|
|
|
16
20
|
label: ""
|
|
17
21
|
}),
|
|
18
22
|
onSelect: onSelect,
|
|
23
|
+
previewImageUrls: previewImageUrls,
|
|
19
24
|
shortcut: ":",
|
|
20
25
|
title: formatMessage(messages.emoji)
|
|
21
26
|
});
|
|
@@ -4,6 +4,10 @@ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/
|
|
|
4
4
|
import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
|
|
5
5
|
import EmojiIcon from '@atlaskit/icon/core/emoji';
|
|
6
6
|
import { setInlineEmojiPopupOpen } from '../../pm-plugins/actions';
|
|
7
|
+
var previewImageUrls = {
|
|
8
|
+
dark: 'https://dam-cdn.atl.orangelogic.com/AssetLink/4jp3h212r4t8s51s7pv58v63gq23lbff.png',
|
|
9
|
+
light: 'https://dam-cdn.atl.orangelogic.com/AssetLink/j6cr4usu4q8iqwlf00157vf6724k1ki7.png'
|
|
10
|
+
};
|
|
7
11
|
export var EmojiQuickInsertMenuItem = function EmojiQuickInsertMenuItem() {
|
|
8
12
|
var _useIntl = useIntl(),
|
|
9
13
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -16,6 +20,7 @@ export var EmojiQuickInsertMenuItem = function EmojiQuickInsertMenuItem() {
|
|
|
16
20
|
label: ""
|
|
17
21
|
}),
|
|
18
22
|
onSelect: onSelect,
|
|
23
|
+
previewImageUrls: previewImageUrls,
|
|
19
24
|
shortcut: ":",
|
|
20
25
|
title: formatMessage(messages.emoji)
|
|
21
26
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,25 +24,25 @@
|
|
|
24
24
|
"@atlaskit/adf-schema": "^57.5.0",
|
|
25
25
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
26
26
|
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
28
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
29
|
-
"@atlaskit/editor-plugin-base": "^
|
|
30
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
31
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
32
|
-
"@atlaskit/editor-plugin-metrics": "^
|
|
33
|
-
"@atlaskit/editor-plugin-type-ahead": "^
|
|
34
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
35
|
-
"@atlaskit/editor-prosemirror": "^
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^19.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-annotation": "^19.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-base": "^20.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-connectivity": "^19.0.0",
|
|
31
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^21.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-metrics": "^20.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-type-ahead": "^20.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^13.0.0",
|
|
35
|
+
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
36
36
|
"@atlaskit/editor-shared-styles": "^4.3.0",
|
|
37
37
|
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
38
38
|
"@atlaskit/emoji": "^72.4.0",
|
|
39
39
|
"@atlaskit/icon": "^37.7.0",
|
|
40
|
-
"@atlaskit/node-data-provider": "^
|
|
40
|
+
"@atlaskit/node-data-provider": "^20.0.0",
|
|
41
41
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
43
43
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^199.0.0",
|
|
45
|
+
"@atlaskit/tokens": "^18.2.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"bind-event-listener": "^3.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-loadable": "^5.1.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^
|
|
53
|
+
"@atlaskit/editor-common": "^123.0.0",
|
|
54
54
|
"react": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
56
56
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|