@atlaskit/emoji 71.11.2 → 71.11.3
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 +9 -0
- package/dist/cjs/components/common/Emoji.js +2 -3
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/common/Emoji.js +2 -3
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/common/Emoji.js +2 -3
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 71.11.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`22bc749d89dc9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22bc749d89dc9) -
|
|
8
|
+
Clean up platform_change_emoji_button_label FG and avoid unsupported ARIA attributes on editor
|
|
9
|
+
emoji nodes Stabilize renderer integration tests for smart cards, heading anchors, and table
|
|
10
|
+
triple-click selection
|
|
11
|
+
|
|
3
12
|
## 71.11.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -30,7 +30,6 @@ var _ufoExperiences = require("../../util/analytics/ufoExperiences");
|
|
|
30
30
|
var _DeletableEmojiTooltipContent = require("./DeletableEmojiTooltipContent");
|
|
31
31
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
32
32
|
var _browserApis = require("@atlaskit/browser-apis");
|
|
33
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
34
33
|
var _i18n = require("../i18n");
|
|
35
34
|
var _isSsr = require("../../util/is-ssr");
|
|
36
35
|
var _renderUnicodeEmojiToImagePath = require("../../util/renderUnicodeEmojiToImagePath");
|
|
@@ -452,9 +451,9 @@ var EmojiNodeWrapper = exports.EmojiNodeWrapper = /*#__PURE__*/(0, _react.forwar
|
|
|
452
451
|
renderUnicodeEmojiAsImage = props.renderUnicodeEmojiAsImage,
|
|
453
452
|
other = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
454
453
|
var intl = (0, _react.useContext)(_reactIntl.IntlContext);
|
|
455
|
-
var ariaLabel =
|
|
454
|
+
var ariaLabel = editorEmoji ? undefined : intl ? intl.formatMessage(_i18n.messages.changeEmojiShortnameButtonLabel, {
|
|
456
455
|
shortName: (_emoji$name = emoji.name) !== null && _emoji$name !== void 0 ? _emoji$name : emoji.shortName
|
|
457
|
-
}) :
|
|
456
|
+
}) : emoji.shortName;
|
|
458
457
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({
|
|
459
458
|
role: editorEmoji ? undefined : shouldBeInteractive ? 'button' : ariaLabel ? 'img' : 'presentation',
|
|
460
459
|
"aria-label": ariaLabel,
|
|
@@ -20,7 +20,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
20
20
|
actionSubjectId: actionSubjectId,
|
|
21
21
|
attributes: _objectSpread({
|
|
22
22
|
packageName: "@atlaskit/emoji",
|
|
23
|
-
packageVersion: "71.11.
|
|
23
|
+
packageVersion: "71.11.2"
|
|
24
24
|
}, attributes)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -19,7 +19,6 @@ import { hasUfoMarked } from '../../util/analytics/ufoExperiences';
|
|
|
19
19
|
import { DeletableEmojiTooltipContent, DeletableEmojiTooltipContentForScreenReader } from './DeletableEmojiTooltipContent';
|
|
20
20
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
21
21
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
22
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
23
22
|
import { messages } from '../i18n';
|
|
24
23
|
import { isSSR } from '../../util/is-ssr';
|
|
25
24
|
import { renderUnicodeEmojiToImagePath } from '../../util/renderUnicodeEmojiToImagePath';
|
|
@@ -445,9 +444,9 @@ export const EmojiNodeWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
445
444
|
...other
|
|
446
445
|
} = props;
|
|
447
446
|
const intl = useContext(IntlContext);
|
|
448
|
-
const ariaLabel =
|
|
447
|
+
const ariaLabel = editorEmoji ? undefined : intl ? intl.formatMessage(messages.changeEmojiShortnameButtonLabel, {
|
|
449
448
|
shortName: (_emoji$name = emoji.name) !== null && _emoji$name !== void 0 ? _emoji$name : emoji.shortName
|
|
450
|
-
}) :
|
|
449
|
+
}) : emoji.shortName;
|
|
451
450
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
452
451
|
role: editorEmoji ? undefined : shouldBeInteractive ? 'button' : ariaLabel ? 'img' : 'presentation',
|
|
453
452
|
"aria-label": ariaLabel,
|
|
@@ -25,7 +25,6 @@ import { hasUfoMarked } from '../../util/analytics/ufoExperiences';
|
|
|
25
25
|
import { DeletableEmojiTooltipContent, DeletableEmojiTooltipContentForScreenReader } from './DeletableEmojiTooltipContent';
|
|
26
26
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
27
27
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
28
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
29
28
|
import { messages } from '../i18n';
|
|
30
29
|
import { isSSR } from '../../util/is-ssr';
|
|
31
30
|
import { renderUnicodeEmojiToImagePath } from '../../util/renderUnicodeEmojiToImagePath';
|
|
@@ -443,9 +442,9 @@ export var EmojiNodeWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
443
442
|
renderUnicodeEmojiAsImage = props.renderUnicodeEmojiAsImage,
|
|
444
443
|
other = _objectWithoutProperties(props, _excluded);
|
|
445
444
|
var intl = useContext(IntlContext);
|
|
446
|
-
var ariaLabel =
|
|
445
|
+
var ariaLabel = editorEmoji ? undefined : intl ? intl.formatMessage(messages.changeEmojiShortnameButtonLabel, {
|
|
447
446
|
shortName: (_emoji$name = emoji.name) !== null && _emoji$name !== void 0 ? _emoji$name : emoji.shortName
|
|
448
|
-
}) :
|
|
447
|
+
}) : emoji.shortName;
|
|
449
448
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
450
449
|
role: editorEmoji ? undefined : shouldBeInteractive ? 'button' : ariaLabel ? 'img' : 'presentation',
|
|
451
450
|
"aria-label": ariaLabel,
|
|
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
14
14
|
actionSubjectId: actionSubjectId,
|
|
15
15
|
attributes: _objectSpread({
|
|
16
16
|
packageName: "@atlaskit/emoji",
|
|
17
|
-
packageVersion: "71.11.
|
|
17
|
+
packageVersion: "71.11.2"
|
|
18
18
|
}, attributes)
|
|
19
19
|
};
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "71.11.
|
|
3
|
+
"version": "71.11.3",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/spinner": "^20.1.0",
|
|
51
51
|
"@atlaskit/textfield": "^9.1.0",
|
|
52
52
|
"@atlaskit/theme": "^26.1.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^132.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^132.1.0",
|
|
54
54
|
"@atlaskit/tokens": "^16.2.0",
|
|
55
55
|
"@atlaskit/tooltip": "^23.1.0",
|
|
56
56
|
"@atlaskit/ufo": "^1.0.0",
|
|
@@ -128,9 +128,6 @@
|
|
|
128
128
|
"platform_suppression_removal_fix_reactions": {
|
|
129
129
|
"type": "boolean"
|
|
130
130
|
},
|
|
131
|
-
"platform_change_emoji_button_label": {
|
|
132
|
-
"type": "boolean"
|
|
133
|
-
},
|
|
134
131
|
"platform_emoji_grid_presentation": {
|
|
135
132
|
"type": "boolean"
|
|
136
133
|
},
|