@atlaskit/editor-plugin-emoji 9.0.28 → 9.0.30

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,20 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 9.0.30
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.29
10
+
11
+ ### Patch Changes
12
+
13
+ - [`f4951e15e9432`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f4951e15e9432) -
14
+ Removed `platform_editor_emoji_tooltips_on_hover` experiment. Emoji tooltips (title attribute) are
15
+ now always enabled permanently.
16
+ - Updated dependencies
17
+
3
18
  ## 9.0.28
4
19
 
5
20
  ### Patch Changes
@@ -239,9 +239,7 @@ var EmojiNodeView = exports.EmojiNodeView = /*#__PURE__*/function () {
239
239
  // Add wrapper for the emoji
240
240
  var containerElement = document.createElement('span');
241
241
  containerElement.setAttribute('role', 'img');
242
- if ((0, _expValEquals.expValEquals)('platform_editor_emoji_tooltips_on_hover', 'isEnabled', true)) {
243
- containerElement.setAttribute('title', description.shortName);
244
- }
242
+ containerElement.setAttribute('title', description.shortName);
245
243
  containerElement.classList.add(_emoji.EmojiSharedCssClassName.EMOJI_CONTAINER);
246
244
  containerElement.setAttribute('data-testid', "".concat(emojiType, "-emoji-").concat(description.shortName));
247
245
  containerElement.setAttribute('data-emoji-type', emojiType);
@@ -205,9 +205,7 @@ export class EmojiNodeView {
205
205
  // Add wrapper for the emoji
206
206
  const containerElement = document.createElement('span');
207
207
  containerElement.setAttribute('role', 'img');
208
- if (expValEquals('platform_editor_emoji_tooltips_on_hover', 'isEnabled', true)) {
209
- containerElement.setAttribute('title', description.shortName);
210
- }
208
+ containerElement.setAttribute('title', description.shortName);
211
209
  containerElement.classList.add(EmojiSharedCssClassName.EMOJI_CONTAINER);
212
210
  containerElement.setAttribute('data-testid', `${emojiType}-emoji-${description.shortName}`);
213
211
  containerElement.setAttribute('data-emoji-type', emojiType);
@@ -231,9 +231,7 @@ export var EmojiNodeView = /*#__PURE__*/function () {
231
231
  // Add wrapper for the emoji
232
232
  var containerElement = document.createElement('span');
233
233
  containerElement.setAttribute('role', 'img');
234
- if (expValEquals('platform_editor_emoji_tooltips_on_hover', 'isEnabled', true)) {
235
- containerElement.setAttribute('title', description.shortName);
236
- }
234
+ containerElement.setAttribute('title', description.shortName);
237
235
  containerElement.classList.add(EmojiSharedCssClassName.EMOJI_CONTAINER);
238
236
  containerElement.setAttribute('data-testid', "".concat(emojiType, "-emoji-").concat(description.shortName));
239
237
  containerElement.setAttribute('data-emoji-type', emojiType);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "9.0.28",
3
+ "version": "9.0.30",
4
4
  "description": "Emoji plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,8 +36,8 @@
36
36
  "@atlaskit/node-data-provider": "^9.0.0",
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
38
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
39
- "@atlaskit/tmp-editor-statsig": "^58.0.0",
40
- "@atlaskit/tokens": "^12.0.0",
39
+ "@atlaskit/tmp-editor-statsig": "^60.2.0",
40
+ "@atlaskit/tokens": "^13.0.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
43
43
  "lodash": "^4.17.21",
@@ -45,7 +45,7 @@
45
45
  "react-loadable": "^5.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^112.19.0",
48
+ "@atlaskit/editor-common": "^112.20.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0"
51
51
  },