@atlaskit/reactions 35.12.10 → 35.12.12

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,20 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 35.12.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 35.12.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`c93de6bde10fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c93de6bde10fd) -
14
+ Cleanup feature gate `platform_ceps-5921-a11y-fix-reactions`. The reaction picker panel now always
15
+ uses non-modal dialog semantics for assistive technology.
16
+ - Updated dependencies
17
+
3
18
  ## 35.12.10
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.12.10";
14
+ var packageVersion = "35.12.11";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -382,11 +382,6 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
382
382
  setPopupRef = _useState12[1];
383
383
  var _useIntl = (0, _reactIntl.useIntl)(),
384
384
  formatMessage = _useIntl.formatMessage;
385
- /**
386
- * Expose the reaction picker panel as a non-modal dialog to assistive technology.
387
- * When disabled, fall back to the previous `role="group"` semantics.
388
- */
389
- var isDialogRoleEnabled = (0, _platformFeatureFlags.fg)('platform_ceps-5921-a11y-fix-reactions');
390
385
  /**
391
386
  * add focus lock to popup
392
387
  */
@@ -414,8 +409,7 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
414
409
  style = _ref3.style,
415
410
  update = _ref3.update;
416
411
  return /*#__PURE__*/_react.default.createElement("div", {
417
- role: isDialogRoleEnabled ? 'dialog' : 'group',
418
- "aria-modal": isDialogRoleEnabled ? false : undefined,
412
+ role: "dialog",
419
413
  "aria-label": formatMessage(_i18n.messages.popperWrapperLabel),
420
414
  id: PICKER_CONTROL_ID,
421
415
  "data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
@@ -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.12.10";
5
+ const packageVersion = "35.12.11";
6
6
  /**
7
7
  * TODO: move to utility package?
8
8
  * A random sampling function
@@ -338,11 +338,6 @@ export const PopperWrapper = props => {
338
338
  const {
339
339
  formatMessage
340
340
  } = useIntl();
341
- /**
342
- * Expose the reaction picker panel as a non-modal dialog to assistive technology.
343
- * When disabled, fall back to the previous `role="group"` semantics.
344
- */
345
- const isDialogRoleEnabled = fg('platform_ceps-5921-a11y-fix-reactions');
346
341
  /**
347
342
  * add focus lock to popup
348
343
  */
@@ -369,8 +364,7 @@ export const PopperWrapper = props => {
369
364
  update
370
365
  }) => {
371
366
  return /*#__PURE__*/React.createElement("div", {
372
- role: isDialogRoleEnabled ? 'dialog' : 'group',
373
- "aria-modal": isDialogRoleEnabled ? false : undefined,
367
+ role: "dialog",
374
368
  "aria-label": formatMessage(messages.popperWrapperLabel),
375
369
  id: PICKER_CONTROL_ID,
376
370
  "data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
@@ -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.12.10";
8
+ var packageVersion = "35.12.11";
9
9
  /**
10
10
  * TODO: move to utility package?
11
11
  * A random sampling function
@@ -373,11 +373,6 @@ export var PopperWrapper = function PopperWrapper(props) {
373
373
  setPopupRef = _useState12[1];
374
374
  var _useIntl = useIntl(),
375
375
  formatMessage = _useIntl.formatMessage;
376
- /**
377
- * Expose the reaction picker panel as a non-modal dialog to assistive technology.
378
- * When disabled, fall back to the previous `role="group"` semantics.
379
- */
380
- var isDialogRoleEnabled = fg('platform_ceps-5921-a11y-fix-reactions');
381
376
  /**
382
377
  * add focus lock to popup
383
378
  */
@@ -405,8 +400,7 @@ export var PopperWrapper = function PopperWrapper(props) {
405
400
  style = _ref3.style,
406
401
  update = _ref3.update;
407
402
  return /*#__PURE__*/React.createElement("div", {
408
- role: isDialogRoleEnabled ? 'dialog' : 'group',
409
- "aria-modal": isDialogRoleEnabled ? false : undefined,
403
+ role: "dialog",
410
404
  "aria-label": formatMessage(messages.popperWrapperLabel),
411
405
  id: PICKER_CONTROL_ID,
412
406
  "data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "35.12.10",
3
+ "version": "35.12.12",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/avatar": "^27.0.0",
38
38
  "@atlaskit/button": "^25.0.0",
39
39
  "@atlaskit/css": "^1.0.0",
40
- "@atlaskit/emoji": "^71.17.0",
40
+ "@atlaskit/emoji": "^72.0.0",
41
41
  "@atlaskit/feature-gate-js-client": "^6.0.0",
42
42
  "@atlaskit/heading": "^7.0.0",
43
43
  "@atlaskit/icon": "^37.3.0",
44
44
  "@atlaskit/link": "^5.0.0",
45
45
  "@atlaskit/modal-dialog": "^16.3.0",
46
- "@atlaskit/motion": "^8.0.0",
46
+ "@atlaskit/motion": "^8.1.0",
47
47
  "@atlaskit/platform-feature-experiments": "^0.3.0",
48
48
  "@atlaskit/platform-feature-flags": "^2.1.0",
49
49
  "@atlaskit/popper": "^9.1.0",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/spinner": "^20.1.0",
56
56
  "@atlaskit/tabs": "^21.0.0",
57
57
  "@atlaskit/theme": "^28.0.0",
58
- "@atlaskit/tmp-editor-statsig": "^147.1.0",
58
+ "@atlaskit/tmp-editor-statsig": "^148.0.0",
59
59
  "@atlaskit/tokens": "^16.7.0",
60
60
  "@atlaskit/tooltip": "^24.0.0",
61
61
  "@atlaskit/ufo": "^1.0.0",
@@ -133,9 +133,6 @@
133
133
  "platform_suppression_removal_fix_reactions": {
134
134
  "type": "boolean"
135
135
  },
136
- "platform_ceps-5921-a11y-fix-reactions": {
137
- "type": "boolean"
138
- },
139
136
  "a11y_reactions_reading_order": {
140
137
  "type": "boolean"
141
138
  },