@atlaskit/reactions 36.3.13 → 36.3.14

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,14 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 36.3.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`37306b987a271`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/37306b987a271) -
8
+ Remove the tef_fix_a11y_add_reaction_button_language_support feature flag and always localize the
9
+ add reaction accessible label.
10
+ - Updated dependencies
11
+
3
12
  ## 36.3.13
4
13
 
5
14
  ### Patch Changes
@@ -11,7 +11,7 @@ var _createAndFireEvents = _interopRequireDefault(require("@atlaskit/analytics-n
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 = "36.3.12";
14
+ var packageVersion = "36.3.13";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -102,7 +102,7 @@ var Trigger = exports.Trigger = /*#__PURE__*/_react.default.forwardRef(function
102
102
  _react.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: (0, _fg.fg)('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
105
+ label: formatMessage(i18n.addReaction),
106
106
  "aria-hidden": true,
107
107
  size: emojiPickerSize === 'small' ? 'small' : 'medium'
108
108
  }), showAddReactionText && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
@@ -2,7 +2,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
3
3
  import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
4
4
  const packageName = "@atlaskit/reactions";
5
- const packageVersion = "36.3.12";
5
+ const packageVersion = "36.3.13";
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: fg('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
91
+ label: formatMessage(i18n.addReaction),
92
92
  "aria-hidden": true,
93
93
  size: emojiPickerSize === 'small' ? 'small' : 'medium'
94
94
  }), showAddReactionText && /*#__PURE__*/React.createElement(Box, {
@@ -5,7 +5,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
6
6
  import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
7
7
  var packageName = "@atlaskit/reactions";
8
- var packageVersion = "36.3.12";
8
+ var packageVersion = "36.3.13";
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: fg('tef_fix_a11y_add_reaction_button_language_support') ? formatMessage(i18n.addReaction) : 'Add reaction',
98
+ label: formatMessage(i18n.addReaction),
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": "36.3.13",
3
+ "version": "36.3.14",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/analytics-namespaced-context": "^8.2.0",
39
39
  "@atlaskit/analytics-next": "^12.5.0",
40
40
  "@atlaskit/avatar": "^28.0.0",
41
- "@atlaskit/button": "^25.3.0",
41
+ "@atlaskit/button": "^25.4.0",
42
42
  "@atlaskit/css": "^1.1.0",
43
43
  "@atlaskit/emoji": "^72.4.0",
44
44
  "@atlaskit/feature-gate-js-client": "^6.0.0",
@@ -138,9 +138,6 @@
138
138
  "platform_reactions_a11y_group_added_reactions": {
139
139
  "type": "boolean"
140
140
  },
141
- "tef_fix_a11y_add_reaction_button_language_support": {
142
- "type": "boolean"
143
- },
144
141
  "platform_teamoji_26_refresh_emoji_picker_user_id": {
145
142
  "type": "boolean"
146
143
  },