@atlaskit/emoji 73.6.3 → 73.6.5
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 +18 -0
- package/dist/cjs/components/common/EmojiErrorMessage.js +4 -1
- package/dist/cjs/components/i18n.js +1 -1
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/es2019/components/common/EmojiErrorMessage.js +4 -1
- package/dist/es2019/components/i18n.js +1 -1
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/esm/components/common/EmojiErrorMessage.js +4 -1
- package/dist/esm/components/i18n.js +1 -1
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 73.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 73.6.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`3c8339e0b216d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3c8339e0b216d) -
|
|
14
|
+
Remove last reference to `platform_teamoji_26_refresh_emoji_picker_user_id` feature gate for
|
|
15
|
+
archival
|
|
16
|
+
- [`3c674a49fb3fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3c674a49fb3fc) -
|
|
17
|
+
Use the internationalised error label for the emoji error message icon, behind the
|
|
18
|
+
`platform_ally_emoji_fixes_various` feature gate.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 73.6.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -13,6 +13,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
13
13
|
var _reactIntl = require("react-intl");
|
|
14
14
|
var _errorMessage = require("@atlaskit/form/error-message");
|
|
15
15
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
16
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
17
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
17
18
|
var _i18n = require("../i18n");
|
|
18
19
|
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); }
|
|
@@ -45,7 +46,9 @@ var EmojiErrorMessage = function EmojiErrorMessage(props) {
|
|
|
45
46
|
testId: emojiErrorIconTestId
|
|
46
47
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
47
48
|
"data-testid": emojiErrorMessageTestId
|
|
48
|
-
}, /*#__PURE__*/React.createElement(_errorMessage.ErrorMessage,
|
|
49
|
+
}, /*#__PURE__*/React.createElement(_errorMessage.ErrorMessage, {
|
|
50
|
+
iconLabel: (0, _fg.fg)('platform_ally_emoji_fixes_various') ? formatMessage(_i18n.messages.error) : undefined
|
|
51
|
+
}, message));
|
|
49
52
|
return visualContent;
|
|
50
53
|
};
|
|
51
54
|
var _default = exports.default = EmojiErrorMessage;
|
|
@@ -344,6 +344,6 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
344
344
|
error: {
|
|
345
345
|
id: 'fabric.emoji.emojipicker.error',
|
|
346
346
|
defaultMessage: 'Error!',
|
|
347
|
-
description: "Aria label for error icon,
|
|
347
|
+
description: "Aria label for error icon, appeared in emoji uploader screens and delete emoji screens of emoji picker"
|
|
348
348
|
}
|
|
349
349
|
});
|
|
@@ -17,7 +17,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
17
17
|
actionSubjectId: actionSubjectId,
|
|
18
18
|
attributes: _objectSpread({
|
|
19
19
|
packageName: "@atlaskit/emoji",
|
|
20
|
-
packageVersion: "73.6.
|
|
20
|
+
packageVersion: "73.6.4"
|
|
21
21
|
}, attributes)
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -5,6 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ErrorMessage } from '@atlaskit/form/error-message';
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
9
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
10
|
import { messages } from '../i18n';
|
|
10
11
|
const errorMessageStyles = {
|
|
@@ -39,7 +40,9 @@ const EmojiErrorMessage = props => {
|
|
|
39
40
|
testId: emojiErrorIconTestId
|
|
40
41
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
41
42
|
"data-testid": emojiErrorMessageTestId
|
|
42
|
-
}, /*#__PURE__*/React.createElement(ErrorMessage,
|
|
43
|
+
}, /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
44
|
+
iconLabel: fg('platform_ally_emoji_fixes_various') ? formatMessage(messages.error) : undefined
|
|
45
|
+
}, message));
|
|
43
46
|
return visualContent;
|
|
44
47
|
};
|
|
45
48
|
export default EmojiErrorMessage;
|
|
@@ -338,6 +338,6 @@ export const messages = defineMessages({
|
|
|
338
338
|
error: {
|
|
339
339
|
id: 'fabric.emoji.emojipicker.error',
|
|
340
340
|
defaultMessage: 'Error!',
|
|
341
|
-
description: `Aria label for error icon,
|
|
341
|
+
description: `Aria label for error icon, appeared in emoji uploader screens and delete emoji screens of emoji picker`
|
|
342
342
|
}
|
|
343
343
|
});
|
|
@@ -5,6 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ErrorMessage } from '@atlaskit/form/error-message';
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
9
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
10
|
import { messages } from '../i18n';
|
|
10
11
|
var errorMessageStyles = {
|
|
@@ -36,7 +37,9 @@ var EmojiErrorMessage = function EmojiErrorMessage(props) {
|
|
|
36
37
|
testId: emojiErrorIconTestId
|
|
37
38
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
38
39
|
"data-testid": emojiErrorMessageTestId
|
|
39
|
-
}, /*#__PURE__*/React.createElement(ErrorMessage,
|
|
40
|
+
}, /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
41
|
+
iconLabel: fg('platform_ally_emoji_fixes_various') ? formatMessage(messages.error) : undefined
|
|
42
|
+
}, message));
|
|
40
43
|
return visualContent;
|
|
41
44
|
};
|
|
42
45
|
export default EmojiErrorMessage;
|
|
@@ -338,6 +338,6 @@ export var messages = defineMessages({
|
|
|
338
338
|
error: {
|
|
339
339
|
id: 'fabric.emoji.emojipicker.error',
|
|
340
340
|
defaultMessage: 'Error!',
|
|
341
|
-
description: "Aria label for error icon,
|
|
341
|
+
description: "Aria label for error icon, appeared in emoji uploader screens and delete emoji screens of emoji picker"
|
|
342
342
|
}
|
|
343
343
|
});
|
|
@@ -10,7 +10,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
10
10
|
actionSubjectId: actionSubjectId,
|
|
11
11
|
attributes: _objectSpread({
|
|
12
12
|
packageName: "@atlaskit/emoji",
|
|
13
|
-
packageVersion: "73.6.
|
|
13
|
+
packageVersion: "73.6.4"
|
|
14
14
|
}, attributes)
|
|
15
15
|
};
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "73.6.
|
|
3
|
+
"version": "73.6.5",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/spinner": "^20.4.0",
|
|
55
55
|
"@atlaskit/textfield": "^10.3.0",
|
|
56
56
|
"@atlaskit/theme": "^28.2.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^261.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.11.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
60
60
|
"@atlaskit/ufo": "^2.0.0",
|