@atlaskit/reactions 35.4.5 → 35.5.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 +17 -0
- package/compass.yml +3 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionPicker.js +2 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionPicker.js +2 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionPicker.js +2 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 35.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 35.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`c37e285a66ad2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c37e285a66ad2) -
|
|
14
|
+
[ux] batch migrate from a11y feature gates to experiment
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 35.4.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -24,6 +24,9 @@ customFields:
|
|
|
24
24
|
- name: Department
|
|
25
25
|
type: text
|
|
26
26
|
value: Eng - Editor Collaboration Platform
|
|
27
|
+
- name: Trusted Reviewer Teams
|
|
28
|
+
type: text
|
|
29
|
+
value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
|
|
27
30
|
- name: Technical Owner
|
|
28
31
|
type: user
|
|
29
32
|
value: ari:cloud:identity::user/712020:d2fbbbd7-fd7c-4d3a-9f0a-7a97b6b26e40 # Michael Kimpton
|
|
@@ -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.
|
|
14
|
+
var packageVersion = "35.5.0";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -27,6 +27,7 @@ var _Selector = require("./Selector");
|
|
|
27
27
|
var _Trigger = require("./Trigger");
|
|
28
28
|
var _RepositionOnUpdate = require("./RepositionOnUpdate");
|
|
29
29
|
var _portal = _interopRequireDefault(require("@atlaskit/portal"));
|
|
30
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
30
31
|
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); }
|
|
31
32
|
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; }
|
|
32
33
|
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; }
|
|
@@ -300,7 +301,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
300
301
|
ariaAttributes: _objectSpread({
|
|
301
302
|
'aria-expanded': isPopupTrayOpen,
|
|
302
303
|
'aria-controls': PICKER_CONTROL_ID
|
|
303
|
-
}, isPopupTrayOpen && (0,
|
|
304
|
+
}, isPopupTrayOpen && (0, _expValEquals.expValEquals)('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
|
|
304
305
|
'aria-owns': PICKER_CONTROL_ID
|
|
305
306
|
} : {}),
|
|
306
307
|
ref: function ref(node) {
|
|
@@ -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.
|
|
5
|
+
const packageVersion = "35.5.0";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -17,6 +17,7 @@ import { Selector } from './Selector';
|
|
|
17
17
|
import { Trigger } from './Trigger';
|
|
18
18
|
import { RepositionOnUpdate } from './RepositionOnUpdate';
|
|
19
19
|
import Portal from '@atlaskit/portal';
|
|
20
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
21
|
const pickerStyle = null;
|
|
21
22
|
const popupWrapperStyle = null;
|
|
22
23
|
const popupStyle = null;
|
|
@@ -257,7 +258,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
257
258
|
ariaAttributes: {
|
|
258
259
|
'aria-expanded': isPopupTrayOpen,
|
|
259
260
|
'aria-controls': PICKER_CONTROL_ID,
|
|
260
|
-
...(isPopupTrayOpen &&
|
|
261
|
+
...(isPopupTrayOpen && expValEquals('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
|
|
261
262
|
'aria-owns': PICKER_CONTROL_ID
|
|
262
263
|
} : {})
|
|
263
264
|
},
|
|
@@ -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.
|
|
8
|
+
var packageVersion = "35.5.0";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -21,6 +21,7 @@ import { Selector } from './Selector';
|
|
|
21
21
|
import { Trigger } from './Trigger';
|
|
22
22
|
import { RepositionOnUpdate } from './RepositionOnUpdate';
|
|
23
23
|
import Portal from '@atlaskit/portal';
|
|
24
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
24
25
|
var pickerStyle = null;
|
|
25
26
|
var popupWrapperStyle = null;
|
|
26
27
|
var popupStyle = null;
|
|
@@ -291,7 +292,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
291
292
|
ariaAttributes: _objectSpread({
|
|
292
293
|
'aria-expanded': isPopupTrayOpen,
|
|
293
294
|
'aria-controls': PICKER_CONTROL_ID
|
|
294
|
-
}, isPopupTrayOpen &&
|
|
295
|
+
}, isPopupTrayOpen && expValEquals('a11y-fixes-week3-may-2026', 'isEnabled', true) ? {
|
|
295
296
|
'aria-owns': PICKER_CONTROL_ID
|
|
296
297
|
} : {}),
|
|
297
298
|
ref: function ref(node) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.5.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@atlaskit/afm-i18n-platform-elements-reactions": "2.168.0",
|
|
34
34
|
"@atlaskit/analytics-gas-types": "^6.0.0",
|
|
35
35
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
36
|
-
"@atlaskit/analytics-next": "^12.
|
|
36
|
+
"@atlaskit/analytics-next": "^12.2.0",
|
|
37
37
|
"@atlaskit/avatar": "^26.1.0",
|
|
38
38
|
"@atlaskit/button": "^24.3.0",
|
|
39
39
|
"@atlaskit/css": "^1.0.0",
|
|
40
|
-
"@atlaskit/emoji": "^71.
|
|
40
|
+
"@atlaskit/emoji": "^71.7.0",
|
|
41
41
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
42
42
|
"@atlaskit/heading": "^6.1.0",
|
|
43
|
-
"@atlaskit/icon": "^36.
|
|
43
|
+
"@atlaskit/icon": "^36.2.0",
|
|
44
44
|
"@atlaskit/link": "^4.1.0",
|
|
45
45
|
"@atlaskit/modal-dialog": "^16.1.0",
|
|
46
46
|
"@atlaskit/motion": "^7.2.0",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@atlaskit/spinner": "^20.1.0",
|
|
55
55
|
"@atlaskit/tabs": "^20.1.0",
|
|
56
56
|
"@atlaskit/theme": "^26.1.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
58
|
-
"@atlaskit/tokens": "^15.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^121.0.0",
|
|
58
|
+
"@atlaskit/tokens": "^15.4.0",
|
|
59
59
|
"@atlaskit/tooltip": "^23.1.0",
|
|
60
60
|
"@atlaskit/ufo": "^1.0.0",
|
|
61
61
|
"@atlaskit/util-service-support": "^7.1.0",
|
|
@@ -131,9 +131,6 @@
|
|
|
131
131
|
"platform_suppression_removal_fix_reactions": {
|
|
132
132
|
"type": "boolean"
|
|
133
133
|
},
|
|
134
|
-
"a11y-fix-reaction-picker-aria-owns": {
|
|
135
|
-
"type": "boolean"
|
|
136
|
-
},
|
|
137
134
|
"platform_reactions_view_more_styling_fix": {
|
|
138
135
|
"type": "boolean"
|
|
139
136
|
},
|