@atlaskit/reactions 35.13.3 → 35.13.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 +15 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Trigger.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Trigger.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Trigger.js +1 -1
- package/package.json +24 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 35.13.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 35.13.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`2fe4e7cff5cb8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2fe4e7cff5cb8) -
|
|
14
|
+
Localize the "Add reaction" icon's accessible label so assistive technologies use the selected
|
|
15
|
+
language. Gated behind the `tef_fix_a11y_add_reaction_button_language_support` feature gate.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 35.13.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "35.13.
|
|
14
|
+
var packageVersion = "35.13.4";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -102,7 +102,7 @@ var Trigger = exports.Trigger = /*#__PURE__*/_react2.default.forwardRef(function
|
|
|
102
102
|
_react2.default.createElement(_emojiAdd.default, {
|
|
103
103
|
testId: "emoji-add-icon",
|
|
104
104
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
105
|
-
label:
|
|
105
|
+
label: (0, _platformFeatureFlags.fg)('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
|
|
106
106
|
"aria-hidden": true,
|
|
107
107
|
size: emojiPickerSize === 'small' ? 'small' : 'medium'
|
|
108
108
|
}), showAddReactionText && /*#__PURE__*/_react2.default.createElement(_compiled.Box, {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "35.13.
|
|
5
|
+
const packageVersion = "35.13.4";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -88,7 +88,7 @@ export const Trigger = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
88
88
|
React.createElement(EmojiAddIcon, {
|
|
89
89
|
testId: "emoji-add-icon",
|
|
90
90
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
91
|
-
label:
|
|
91
|
+
label: fg('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
|
|
92
92
|
"aria-hidden": true,
|
|
93
93
|
size: emojiPickerSize === 'small' ? 'small' : 'medium'
|
|
94
94
|
}), showAddReactionText && /*#__PURE__*/React.createElement(Box, {
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
6
6
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "35.13.
|
|
8
|
+
var packageVersion = "35.13.4";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -95,7 +95,7 @@ export var Trigger = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
95
95
|
React.createElement(EmojiAddIcon, {
|
|
96
96
|
testId: "emoji-add-icon",
|
|
97
97
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
98
|
-
label:
|
|
98
|
+
label: fg('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
|
|
99
99
|
"aria-hidden": true,
|
|
100
100
|
size: emojiPickerSize === 'small' ? 'small' : 'medium'
|
|
101
101
|
}), showAddReactionText && /*#__PURE__*/React.createElement(Box, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "35.13.
|
|
3
|
+
"version": "35.13.5",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,30 +34,30 @@
|
|
|
34
34
|
"@atlaskit/analytics-gas-types": "^6.0.0",
|
|
35
35
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
37
|
-
"@atlaskit/avatar": "^27.
|
|
38
|
-
"@atlaskit/button": "^25.
|
|
37
|
+
"@atlaskit/avatar": "^27.2.0",
|
|
38
|
+
"@atlaskit/button": "^25.2.0",
|
|
39
39
|
"@atlaskit/css": "^1.0.0",
|
|
40
|
-
"@atlaskit/emoji": "^72.
|
|
40
|
+
"@atlaskit/emoji": "^72.1.0",
|
|
41
41
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
42
|
-
"@atlaskit/heading": "^7.
|
|
43
|
-
"@atlaskit/icon": "^37.
|
|
44
|
-
"@atlaskit/link": "^5.
|
|
45
|
-
"@atlaskit/modal-dialog": "^16.
|
|
46
|
-
"@atlaskit/motion": "^8.
|
|
42
|
+
"@atlaskit/heading": "^7.1.0",
|
|
43
|
+
"@atlaskit/icon": "^37.5.0",
|
|
44
|
+
"@atlaskit/link": "^5.1.0",
|
|
45
|
+
"@atlaskit/modal-dialog": "^16.5.0",
|
|
46
|
+
"@atlaskit/motion": "^8.4.0",
|
|
47
47
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
49
|
-
"@atlaskit/popper": "^9.
|
|
50
|
-
"@atlaskit/popup": "^6.
|
|
51
|
-
"@atlaskit/portal": "^6.
|
|
52
|
-
"@atlaskit/primitives": "^22.
|
|
49
|
+
"@atlaskit/popper": "^9.3.0",
|
|
50
|
+
"@atlaskit/popup": "^6.2.0",
|
|
51
|
+
"@atlaskit/portal": "^6.3.0",
|
|
52
|
+
"@atlaskit/primitives": "^22.4.0",
|
|
53
53
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
54
|
-
"@atlaskit/react-ufo": "^7.
|
|
55
|
-
"@atlaskit/spinner": "^20.
|
|
56
|
-
"@atlaskit/tabs": "^21.
|
|
57
|
-
"@atlaskit/theme": "^28.
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
-
"@atlaskit/tokens": "^16.
|
|
60
|
-
"@atlaskit/tooltip": "^24.
|
|
54
|
+
"@atlaskit/react-ufo": "^7.7.0",
|
|
55
|
+
"@atlaskit/spinner": "^20.3.0",
|
|
56
|
+
"@atlaskit/tabs": "^21.1.0",
|
|
57
|
+
"@atlaskit/theme": "^28.1.0",
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^158.0.0",
|
|
59
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
60
|
+
"@atlaskit/tooltip": "^24.2.0",
|
|
61
61
|
"@atlaskit/ufo": "^1.0.0",
|
|
62
62
|
"@atlaskit/util-service-support": "^7.2.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@af/visual-regression": "workspace:^",
|
|
74
74
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
75
75
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
76
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
76
|
+
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
77
77
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
78
78
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
79
79
|
"@testing-library/dom": "^10.1.0",
|
|
@@ -138,6 +138,9 @@
|
|
|
138
138
|
},
|
|
139
139
|
"platform_reactions_a11y_group_added_reactions": {
|
|
140
140
|
"type": "boolean"
|
|
141
|
+
},
|
|
142
|
+
"tef_fix_a11y_add_reaction_button_language_support": {
|
|
143
|
+
"type": "boolean"
|
|
141
144
|
}
|
|
142
145
|
},
|
|
143
146
|
"platform-experiments": {
|