@atlaskit/editor-plugin-emoji 16.0.15 → 17.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 +15 -0
- package/dist/cjs/emojiPlugin.js +2 -2
- package/dist/es2019/emojiPlugin.js +2 -2
- package/dist/esm/emojiPlugin.js +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 17.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 16.0.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`b4c4cd8f205e4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b4c4cd8f205e4) -
|
|
14
|
+
Clean up experiment `platform_editor_prevent_toolbar_layout_shifts` and keep the enabled toolbar
|
|
15
|
+
layout behavior.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 16.0.15
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/emojiPlugin.js
CHANGED
|
@@ -487,7 +487,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
487
487
|
key: emojiPluginKey,
|
|
488
488
|
state: {
|
|
489
489
|
init: function init() {
|
|
490
|
-
if (options !== null && options !== void 0 && options.emojiProvider
|
|
490
|
+
if (options !== null && options !== void 0 && options.emojiProvider) {
|
|
491
491
|
return {
|
|
492
492
|
emojiProviderPromise: options.emojiProvider
|
|
493
493
|
};
|
|
@@ -506,7 +506,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
506
506
|
case _actions.ACTIONS.SET_PROVIDER:
|
|
507
507
|
newPluginState = _objectSpread(_objectSpread({}, pluginState), {}, {
|
|
508
508
|
emojiProvider: params.provider,
|
|
509
|
-
emojiProviderPromise:
|
|
509
|
+
emojiProviderPromise: Promise.resolve(params.provider)
|
|
510
510
|
});
|
|
511
511
|
pmPluginFactoryParams.dispatch(emojiPluginKey, newPluginState);
|
|
512
512
|
return newPluginState;
|
|
@@ -442,7 +442,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
442
442
|
key: emojiPluginKey,
|
|
443
443
|
state: {
|
|
444
444
|
init() {
|
|
445
|
-
if (options !== null && options !== void 0 && options.emojiProvider
|
|
445
|
+
if (options !== null && options !== void 0 && options.emojiProvider) {
|
|
446
446
|
return {
|
|
447
447
|
emojiProviderPromise: options.emojiProvider
|
|
448
448
|
};
|
|
@@ -463,7 +463,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
463
463
|
newPluginState = {
|
|
464
464
|
...pluginState,
|
|
465
465
|
emojiProvider: params.provider,
|
|
466
|
-
emojiProviderPromise:
|
|
466
|
+
emojiProviderPromise: Promise.resolve(params.provider)
|
|
467
467
|
};
|
|
468
468
|
pmPluginFactoryParams.dispatch(emojiPluginKey, newPluginState);
|
|
469
469
|
return newPluginState;
|
package/dist/esm/emojiPlugin.js
CHANGED
|
@@ -476,7 +476,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
476
476
|
key: emojiPluginKey,
|
|
477
477
|
state: {
|
|
478
478
|
init: function init() {
|
|
479
|
-
if (options !== null && options !== void 0 && options.emojiProvider
|
|
479
|
+
if (options !== null && options !== void 0 && options.emojiProvider) {
|
|
480
480
|
return {
|
|
481
481
|
emojiProviderPromise: options.emojiProvider
|
|
482
482
|
};
|
|
@@ -495,7 +495,7 @@ function createEmojiPlugin(pmPluginFactoryParams, options, api) {
|
|
|
495
495
|
case ACTIONS.SET_PROVIDER:
|
|
496
496
|
newPluginState = _objectSpread(_objectSpread({}, pluginState), {}, {
|
|
497
497
|
emojiProvider: params.provider,
|
|
498
|
-
emojiProviderPromise:
|
|
498
|
+
emojiProviderPromise: Promise.resolve(params.provider)
|
|
499
499
|
});
|
|
500
500
|
pmPluginFactoryParams.dispatch(emojiPluginKey, newPluginState);
|
|
501
501
|
return newPluginState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,27 +21,27 @@
|
|
|
21
21
|
"singleton": true
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^57.
|
|
24
|
+
"@atlaskit/adf-schema": "^57.1.0",
|
|
25
25
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
26
26
|
"@atlaskit/editor-json-transformer": "^9.6.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": "^
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^16.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-annotation": "^16.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-base": "^17.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-connectivity": "^16.0.0",
|
|
31
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-metrics": "^17.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-type-ahead": "^17.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
36
36
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
37
37
|
"@atlaskit/editor-ui-control-model": "^2.8.0",
|
|
38
38
|
"@atlaskit/emoji": "^72.1.0",
|
|
39
39
|
"@atlaskit/icon": "^37.5.0",
|
|
40
|
-
"@atlaskit/node-data-provider": "^
|
|
40
|
+
"@atlaskit/node-data-provider": "^17.0.0",
|
|
41
41
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
43
43
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^160.0.0",
|
|
45
45
|
"@atlaskit/tokens": "^16.8.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-loadable": "^5.1.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^
|
|
53
|
+
"@atlaskit/editor-common": "^120.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"
|