@atlaskit/reactions 36.7.26 → 37.0.1
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 +22 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionPicker.js +1 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionPicker.js +1 -2
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionPicker.js +1 -2
- package/package.json +5 -3
- package/{reaction → reaction-types}/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 37.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 37.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`a5edf0fe16236`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a5edf0fe16236) -
|
|
14
|
+
Rename @atlaskit/reactions/reaction to @atlaskit/reactions/reaction-types to avoid
|
|
15
|
+
case-insensitive collisions with Reaction. Update imports to reaction-types; exported types and
|
|
16
|
+
values are unchanged.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`50afcae9f3b5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50afcae9f3b5f) -
|
|
21
|
+
Clean up experiment `a11y-fixes-week3-may-2026` and internationalize accessible labels for
|
|
22
|
+
expanding follow-ups, expanding sources, and removing definition sources.
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 36.7.26
|
|
4
26
|
|
|
5
27
|
### 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 = "
|
|
14
|
+
var packageVersion = "37.0.0";
|
|
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
|
|
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 = "
|
|
5
|
+
const packageVersion = "37.0.0";
|
|
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
|
|
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 = "
|
|
8
|
+
var packageVersion = "37.0.0";
|
|
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
|
|
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": "
|
|
3
|
+
"version": "37.0.1",
|
|
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": "^
|
|
61
|
+
"@atlaskit/tmp-editor-statsig": "^244.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.
|
|
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",
|