@atlaskit/reactions 36.7.26 → 37.0.0

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,21 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 37.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`a5edf0fe16236`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a5edf0fe16236) -
8
+ Rename @atlaskit/reactions/reaction to @atlaskit/reactions/reaction-types to avoid
9
+ case-insensitive collisions with Reaction. Update imports to reaction-types; exported types and
10
+ values are unchanged.
11
+
12
+ ### Patch Changes
13
+
14
+ - [`50afcae9f3b5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50afcae9f3b5f) -
15
+ Clean up experiment `a11y-fixes-week3-may-2026` and internationalize accessible labels for
16
+ expanding follow-ups, expanding sources, and removing definition sources.
17
+ - Updated dependencies
18
+
3
19
  ## 36.7.26
4
20
 
5
21
  ### 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.7.25";
14
+ var packageVersion = "36.7.26";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -22,7 +22,6 @@ var _reference = require("@atlaskit/popper/reference");
22
22
  var _portal = _interopRequireDefault(require("@atlaskit/portal/portal"));
23
23
  var _box = require("@atlaskit/primitives/compiled/box");
24
24
  var _constants = require("@atlaskit/theme/constants");
25
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
26
25
  var _useCloseManager = require("../hooks/useCloseManager");
27
26
  var _useDelayedState3 = require("../hooks/useDelayedState");
28
27
  var _useFocusTrap = require("../hooks/useFocusTrap");
@@ -339,7 +338,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
339
338
  ariaAttributes: _objectSpread({
340
339
  'aria-expanded': isPopupTrayOpen,
341
340
  'aria-controls': PICKER_CONTROL_ID
342
- }, isPopupTrayOpen && (0, _expValEquals.expValEquals)('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
341
+ }, isPopupTrayOpen ? {
343
342
  'aria-owns': PICKER_CONTROL_ID
344
343
  } : {}),
345
344
  ref: function ref(node) {
@@ -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.7.25";
5
+ const packageVersion = "36.7.26";
6
6
  /**
7
7
  * TODO: move to utility package?
8
8
  * A random sampling function
@@ -13,7 +13,6 @@ import Portal from '@atlaskit/portal/portal';
13
13
  import { Box } from '@atlaskit/primitives/compiled/box';
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-atlaskit-theme
15
15
  import { layers } from '@atlaskit/theme/constants';
16
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
16
  import { useCloseManagerV2 } from '../hooks/useCloseManager';
18
17
  import { useDelayedState } from '../hooks/useDelayedState';
19
18
  import { useFocusTrap } from '../hooks/useFocusTrap';
@@ -297,7 +296,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
297
296
  ariaAttributes: {
298
297
  'aria-expanded': isPopupTrayOpen,
299
298
  'aria-controls': PICKER_CONTROL_ID,
300
- ...(isPopupTrayOpen && expValEquals('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
299
+ ...(isPopupTrayOpen ? {
301
300
  'aria-owns': PICKER_CONTROL_ID
302
301
  } : {})
303
302
  },
@@ -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.7.25";
8
+ var packageVersion = "36.7.26";
9
9
  /**
10
10
  * TODO: move to utility package?
11
11
  * A random sampling function
@@ -17,7 +17,6 @@ import Portal from '@atlaskit/portal/portal';
17
17
  import { Box } from '@atlaskit/primitives/compiled/box';
18
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-atlaskit-theme
19
19
  import { layers } from '@atlaskit/theme/constants';
20
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
21
20
  import { useCloseManagerV2 } from '../hooks/useCloseManager';
22
21
  import { useDelayedState } from '../hooks/useDelayedState';
23
22
  import { useFocusTrap } from '../hooks/useFocusTrap';
@@ -331,7 +330,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
331
330
  ariaAttributes: _objectSpread({
332
331
  'aria-expanded': isPopupTrayOpen,
333
332
  'aria-controls': PICKER_CONTROL_ID
334
- }, isPopupTrayOpen && expValEquals('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
333
+ }, isPopupTrayOpen ? {
335
334
  'aria-owns': PICKER_CONTROL_ID
336
335
  } : {}),
337
336
  ref: function ref(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "36.7.26",
3
+ "version": "37.0.0",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/spinner": "^20.4.0",
59
59
  "@atlaskit/tabs": "^21.3.0",
60
60
  "@atlaskit/theme": "^28.2.0",
61
- "@atlaskit/tmp-editor-statsig": "^242.0.0",
61
+ "@atlaskit/tmp-editor-statsig": "^243.0.0",
62
62
  "@atlaskit/tokens": "^20.6.0",
63
63
  "@atlaskit/tooltip": "^24.4.0",
64
64
  "@atlaskit/ufo": "^2.0.0",
@@ -74,12 +74,14 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@af/visual-regression": "workspace:^",
77
+ "@atlaskit/docs": "^12.3.0",
77
78
  "@atlaskit/editor-test-helpers": "workspace:^",
79
+ "@atlaskit/section-message": "^10.2.0",
78
80
  "@atlaskit/util-data-test": "^19.1.0",
79
81
  "@atlassian/a11y-jest-testing": "^0.17.0",
80
82
  "@atlassian/experiment-test-utils": "^0.2.0",
81
83
  "@atlassian/feature-flags-test-utils": "^1.3.0",
82
- "@atlassian/ufo": "^1.0.0",
84
+ "@atlassian/ufo": "^1.1.0",
83
85
  "@atlassian/workbench": "workspace:*",
84
86
  "@testing-library/dom": "^10.1.0",
85
87
  "@testing-library/jest-dom": "^6.4.5",
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@atlaskit/reactions/reaction",
2
+ "name": "@atlaskit/reactions/reaction-types",
3
3
  "main": "../dist/cjs/types/reaction.js",
4
4
  "module": "../dist/esm/types/reaction.js",
5
5
  "module:es2019": "../dist/es2019/types/reaction.js",