@atlaskit/reactions 33.8.26 → 33.8.28

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
+ ## 33.8.28
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 33.8.27
10
+
11
+ ### Patch Changes
12
+
13
+ - [`62b18e01c52fa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/62b18e01c52fa) -
14
+ Remove feature flag platform-a11y-remove-autofocus-prop and hard-code autoFocus={true} on Modal in
15
+ ReactionsDialog
16
+ - Updated dependencies
17
+
3
18
  ## 33.8.26
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 = "33.8.25";
14
+ var packageVersion = "33.8.27";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -15,7 +15,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
15
15
  var _tabs = _interopRequireDefault(require("@atlaskit/tabs"));
16
16
  var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
18
  var _constants = require("../shared/constants");
20
19
  var _ReactionsList = require("./ReactionsList");
21
20
  var _ReactionsDialogHeader = require("./ReactionsDialogHeader");
@@ -96,8 +95,7 @@ var ReactionsDialog = exports.ReactionsDialog = function ReactionsDialog(_ref) {
96
95
  return /*#__PURE__*/React.createElement(_modalDialog.default, {
97
96
  onClose: handleCloseReactionsDialog,
98
97
  height: 600,
99
- testId: RENDER_MODAL_TESTID,
100
- autoFocus: (0, _platformFeatureFlags.fg)('platform-a11y-remove-autofocus-prop') ? true : false
98
+ testId: RENDER_MODAL_TESTID
101
99
  }, /*#__PURE__*/React.createElement(_tabs.default, {
102
100
  id: "reactions-dialog-tabs",
103
101
  onChange: onTabChange,
@@ -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 = "33.8.25";
5
+ const packageVersion = "33.8.27";
6
6
  /**
7
7
  * TODO: move to utility package?
8
8
  * A random sampling function
@@ -6,7 +6,6 @@ import { useEffect, useState, useCallback, useMemo } from 'react';
6
6
  import Tabs from '@atlaskit/tabs';
7
7
  import Modal, { ModalBody } from '@atlaskit/modal-dialog';
8
8
  import { Box } from '@atlaskit/primitives/compiled';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { NUMBER_OF_REACTIONS_TO_DISPLAY } from '../shared/constants';
11
10
  import { ReactionsList } from './ReactionsList';
12
11
  import { ReactionsDialogHeader } from './ReactionsDialogHeader';
@@ -71,8 +70,7 @@ export const ReactionsDialog = ({
71
70
  return /*#__PURE__*/React.createElement(Modal, {
72
71
  onClose: handleCloseReactionsDialog,
73
72
  height: 600,
74
- testId: RENDER_MODAL_TESTID,
75
- autoFocus: fg('platform-a11y-remove-autofocus-prop') ? true : false
73
+ testId: RENDER_MODAL_TESTID
76
74
  }, /*#__PURE__*/React.createElement(Tabs, {
77
75
  id: "reactions-dialog-tabs",
78
76
  onChange: onTabChange,
@@ -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 = "33.8.25";
8
+ var packageVersion = "33.8.27";
9
9
  /**
10
10
  * TODO: move to utility package?
11
11
  * A random sampling function
@@ -7,7 +7,6 @@ import { useEffect, useState, useCallback, useMemo } from 'react';
7
7
  import Tabs from '@atlaskit/tabs';
8
8
  import Modal, { ModalBody } from '@atlaskit/modal-dialog';
9
9
  import { Box } from '@atlaskit/primitives/compiled';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { NUMBER_OF_REACTIONS_TO_DISPLAY } from '../shared/constants';
12
11
  import { ReactionsList } from './ReactionsList';
13
12
  import { ReactionsDialogHeader } from './ReactionsDialogHeader';
@@ -87,8 +86,7 @@ export var ReactionsDialog = function ReactionsDialog(_ref) {
87
86
  return /*#__PURE__*/React.createElement(Modal, {
88
87
  onClose: handleCloseReactionsDialog,
89
88
  height: 600,
90
- testId: RENDER_MODAL_TESTID,
91
- autoFocus: fg('platform-a11y-remove-autofocus-prop') ? true : false
89
+ testId: RENDER_MODAL_TESTID
92
90
  }, /*#__PURE__*/React.createElement(Tabs, {
93
91
  id: "reactions-dialog-tabs",
94
92
  onChange: onTabChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "33.8.26",
3
+ "version": "33.8.28",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,26 +35,26 @@
35
35
  "@atlaskit/analytics-gas-types": "^5.1.0",
36
36
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
37
37
  "@atlaskit/analytics-next": "^11.2.0",
38
- "@atlaskit/avatar": "^25.10.0",
38
+ "@atlaskit/avatar": "^25.11.0",
39
39
  "@atlaskit/button": "^23.10.0",
40
40
  "@atlaskit/css": "^0.19.0",
41
41
  "@atlaskit/emoji": "^69.10.0",
42
42
  "@atlaskit/heading": "^5.3.0",
43
- "@atlaskit/icon": "^33.1.0",
43
+ "@atlaskit/icon": "^34.0.0",
44
44
  "@atlaskit/link": "^3.3.0",
45
- "@atlaskit/modal-dialog": "^14.13.0",
46
- "@atlaskit/motion": "^5.4.0",
45
+ "@atlaskit/modal-dialog": "^14.14.0",
46
+ "@atlaskit/motion": "^5.5.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/popper": "^7.1.0",
49
- "@atlaskit/popup": "^4.14.0",
50
- "@atlaskit/portal": "^5.2.0",
49
+ "@atlaskit/popup": "^4.16.0",
50
+ "@atlaskit/portal": "^5.3.0",
51
51
  "@atlaskit/primitives": "^18.1.0",
52
- "@atlaskit/react-ufo": "^5.6.0",
52
+ "@atlaskit/react-ufo": "^5.10.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/tabs": "^19.0.0",
55
55
  "@atlaskit/theme": "^22.0.0",
56
56
  "@atlaskit/tokens": "^11.4.0",
57
- "@atlaskit/tooltip": "^21.0.0",
57
+ "@atlaskit/tooltip": "^21.1.0",
58
58
  "@atlaskit/ufo": "^0.4.0",
59
59
  "@atlaskit/util-service-support": "^6.3.0",
60
60
  "@babel/runtime": "^7.0.0",
@@ -71,7 +71,7 @@
71
71
  "@atlaskit/editor-test-helpers": "workspace:^",
72
72
  "@atlaskit/elements-test-helpers": "workspace:^",
73
73
  "@atlaskit/util-data-test": "^18.5.0",
74
- "@atlassian/a11y-jest-testing": "^0.10.0",
74
+ "@atlassian/a11y-jest-testing": "^0.11.0",
75
75
  "@atlassian/feature-flags-test-utils": "^1.0.0",
76
76
  "@testing-library/dom": "^10.1.0",
77
77
  "@testing-library/jest-dom": "^6.4.5",
@@ -120,9 +120,6 @@
120
120
  "platform_optimistic_reaction_emoji": {
121
121
  "type": "boolean"
122
122
  },
123
- "platform-a11y-remove-autofocus-prop": {
124
- "type": "boolean"
125
- },
126
123
  "jfp_a11y_team_comment_actions_semantic": {
127
124
  "type": "boolean"
128
125
  },